It's really long to type in all the nesting objects in actionscript and it makes it difficult to rename objects.
Within Flash if I don't use external actionscript files, I can type in gunmovie.play(); and it works. Where gunmovie is the instance name of a MovieClip.
In an external actionscript file I have implemented the class MegaWeapon, but within its code I would have to know the entire object path to access things within the flash UI. Example:
// works
_root.menu.level1.toppanel.megaweapon.gunmovie.play();
// doesn't work
this.gunmovie.play();
// works, but not in external actionscript files
gunmovie.play();
In objective C there is: IBOutlet. I really hope Flash 9 has something similar. Absolute paths is not good.
I don't have my work computer beside me, so code is from memory.
Any simple way to access nested element?