Hi I have a main document/fla, and ive created a game class, instantiated it in the document/fla file and it runs now i want to put a button inside that game class that can tell the root document/fla to jump to a certain frame. How would i go about this?
Thanks
Your game class could dispatch an event (GameEvent.SUPER_ACTION). Then in your fla :
or if the game’s button is public :
Here is an AS3 event flow example : http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e53.html