Posts Tagged ‘tutorial’

Actionscript 3 Resources

Thursday, July 26th, 2007

Trevor McCauley aka Senocular has been very active since the public got their eyes on Actionscript 3, in helping the community get up to scratch with whats new and whats changed in the new language, firstly by providing, probably one of the most useful posts i have seen across any of the major Flash Forums since the good old days of Were-Here, with an Actionscript 3 Tip of the Day thread, containing a collection of over 100 posts containing Actionscript 3 tips and tricks.

Secondly, a very accurate/comprehensive tutorial that will get people started using Actionscript 3 in Adobe Flash CS3.

That’s a whole lot of writing!

BitmapData.loadBitmap gone in AS3

Tuesday, February 21st, 2006

When playing with the BitmapData API in Flash 8, it was often necessary to work with an image embedded in the library. To achieve this you could assign a 'Linkage Identifier' to the image in the library and then use BitmapData.loadBitmap to retrieve a BitmapData instance pre-populated with the specified image from the library:

Actionscript:
  1. import flash.display.BitmapData;
  2. myBmp = BitmapData.loadBitmap('theLinkageId');

Naturally things have changed somewhat in Actionscript 3. There are no longer Linkage Identifiers and there is no longer attachMovie. Everything is created using the new operator.

So, how do you go about embedding an image inside a Flash Movie in Actionscript 3 you might ask? and then how do you get a BitmapData object for that embedded Image? Well im going to show you because these questions seem to be coming up alot of late.

(more...)

Communicating between Actionscript and JSFL

Tuesday, July 19th, 2005

When creating Commands or Timeline Effects using the extensibility layer, it is sometimes necessary to provide some kind of user interface to allow the user to customise the functionality. JSFL has a little friend who's sole purpose is to provide an easy markup language for describing Dialog Boxes. His name is XML2UI.

(more...)