Archive for September, 2005

Video: H5 Showreel

Tuesday, September 27th, 2005 by Carsten Schneider

Some of it you might know already, nevertheless:

H5 Showreel

Flash: Comment your classes!

Tuesday, September 27th, 2005 by Thomas

Nothing new, but always a good read:

How to Write Doc Comments (Syntax reference)

Javadoc-style comments in AS2 classes can be used to generate HTML files with the API specification of your project, by using tools like VisDoc, who also have a documentation on writing doc comments

Flash: Create background pattern in Flash 8

Tuesday, September 27th, 2005 by Luis

Quick example of how to create a tiled bitmap in Flash 8 using MovieClip.beginBitmapFill method instead of using duplicated movieclips.

SWF sample:

[flash]http://www.blog.lessrain.com/wp-content/upload/tilebackground2.swf,400,200[/flash]

Actionscript:
  1. import flash.display.BitmapData;
  2. var pattern:BitmapData = BitmapData.loadBitmap("img_105");
  3. function createTiles():Void {
  4.    
  5.         with (_level0) {
  6.            
  7.                 beginBitmapFill(pattern);
  8.                 moveTo(0, 0);
  9.                 lineTo(Stage.width, 0);
  10.                 lineTo(Stage.width, Stage.height);
  11.                 lineTo(0, Stage.height);
  12.                 lineTo(0, 0);
  13.                 endFill();
  14.         }
  15.        
  16. }
  17.  
  18. createTiles();


Related Entries:

Advert: Less Rain Summer Sale

Friday, September 23rd, 2005 by Carsten Schneider

Now that we have your attention, I think we can reveal the true motivation behind this blog and turn it into a commercially successful and viable operation by aggressively marketing Less Rain products.

First up, the Less Rain Super Centre, with our 'Say No To Bad Weather'-Campaign T-Shirts. Go to lessrain.co.uk and click on 'Less Mart'.

More of the same at the Vandal Squad Shop. Well, exactly the same, really, we just like repeating ourselves. Go to vandalsquad.com and click on 'gear'.

Lastly, some pixel fonts looking great in Flash. Check out Pony and Pony Wood at T26.com.