Action Script 3 - Play Symbol Children
This script is an example of how to play a symbol within a symbol
The AA symbol contains the AB symbol
The AB symbol contains the AC symbol
//Stop clip playing
stop();
//Create Listener
AA.addEventListener(MouseEvent.CLICK, C_AA);
//Mouseover button mode
AA.buttonMode = true;
//Create function
function C_AA(event:MouseEvent):void {
//Play AA Symbol
AA.play();
//Play AB Symbol which is a child of AA
AA.AB.play();
//Play AC Symbol which is a child of AB which is a child of AA
AA.AB.AC.play(); }
Original Post Aug 27th 2012
No comments:
Post a Comment