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.
Adding image linked in Flash library
Posted by thornyeternity in ActionScript 3 Snippets on 02. Apr, 2009 | 0 Comments
Add an image linked in the library to the stage with AS3 code – fixing the 2 parameters required error.
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.
Internal ActionScript 3 Preloader
Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | 0 Comments
AS3 Preloader within the movie itself – can be useful; or not.


