Monthly Archives: September 2007

Event Broadcaster – passing events from one object to another

let’s imagine this scenario: we instantiate a certain number of instances of object A on the stage (_root) .. and we want each object to be receive a different value, and have that object do something with it a real … Continue reading

Posted in Actionscript 2.0, Code Snippets | 1 Comment

how to access an object on stage from a child class

I am not sure that this is the best or only way of doing it.. but here’s what I found so far what used to be _root.mcName in AS2 is gone… and now the while concept of root is also … Continue reading

Posted in Actionscript 3.0, Code Snippets | Leave a comment

adding Library elements dynamically to the stage

One of the biggest changes to Actiosncript 3.0 for me (which took me forever to figure out) is the method to add an object from the library by its identifier, in case that identifier was ordered. take this screenshot for … Continue reading

Posted in Actionscript 3.0, Code Snippets | Leave a comment

Fuse 2.0 animation

to use the Fuse classes in a custom Actionscript class, here’s how it works: import com.mosesSupposes.fuse.*; class customClass{ // constructor function customClass(){ // this has to be called in the // constructor function or the // onLoad function to register … Continue reading

Posted in Actionscript 2.0, Code Snippets | 1 Comment