that1guy
11-17-2009, 08:04 PM
I created a library item in the flash IDE. It's class name is StartScreen. In the flash IDE, I added a child which is a SimpleButton which I gave the instance name "playButton". I have an .as file called StartScreen.as. The code in StartScreen needs to reference playButton. I need to compile my final swf with flex.
Question: How do I access the playButton?
This seems like it should be simple: library item linked to class -> access child of library item in class. If I'm going about this totally wrong, how do I go about it totally right? What do I have to do?
Question: How do I access the playButton?
This seems like it should be simple: library item linked to class -> access child of library item in class. If I'm going about this totally wrong, how do I go about it totally right? What do I have to do?