Html tags in Xml for Flash (AS2)

Posted by thornyeternity in Flash on 14. Apr, 2009 | 0 Comments

Formatting xml with html tags with ActionScript 2.

StageListeners – Fluid Layout (fill class as basis to position items)

Posted by thornyeternity in ActionScript 3 Snippets on 06. Apr, 2009 | 0 Comments

Full class to use for creating liquid layouts (AS3).

Allow Domain – Security in Flash

Posted by thornyeternity in ActionScript 3 Snippets on 06. Apr, 2009 | 0 Comments

Allowing additional domain.

Scrolling Content in a Mask – 2 versions

Posted by thornyeternity in ActionScript 3 Snippets on 06. Apr, 2009 | 0 Comments

Two ways of doing scrolling content is AS3 using Timer. Not text scrolling.

MovieClip as button using labels to go to frame automatically.

Posted by thornyeternity in ActionScript 3 Snippets on 02. Apr, 2009 | 0 Comments

How to do auto-frame change for movie clips using labels in AS3. And how to use same function for all events you could want.

Dynamic property to keep unique track of sprite

Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | 0 Comments

Stop using hidden text fields (and such) to store values. Add dynamic properties at run-time. Its easy!

Preloader values – reversing and resizing

Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | 0 Comments

Two quick formulas to reverse properties of objects while preloading (eg. big to small)

Loading images dynamically (and smoothing them).

Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | 0 Comments

Setting up loader, listeners and preloader to load images; get the loaded content property information; 2 methods to smooth bitmaps that are loaded.

Re-use Loader & Removing content

Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | 0 Comments

Re-using the same loader to prevent chaotic nesting when loading flash movies into other swf files. Deleting the existing content so its no longer there (quickly – listeners not removed will still be an issue).

AS3 Keyboard Keycode for move arrows

Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | 0 Comments

Tracing Up, Down, Left & Right arrow keys easily with ActionScript 3.