|
|
|
#1 |
|
Junior Member
Join Date: Jun 2007
Posts: 4
|
playing a symbol through a different symbol?
hey, I have a symbol which contains a button which plays the next frame in the symbol. I'm wondering if I can also make it play the next frame in ANOTHER symbol.
thanks! |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jun 2007
Posts: 4
|
also, is there a proper way to give the command to play the next frame in the symbol? I just write
on(release){ gotoAndPlay("[symbol name]", [number of next frame]); } but I noticed that it works the same even if I don't write the correct symbol name in... I'm just substituting symbol name where scene usually is. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2002
Posts: 2,556
|
You can control movie clip symbols with actionscript. So if you had a movie clip symbol with a name of "myClip" and you wanted it go to frame 5, your button would say:
Code:
on(release){
myClip.gotoAndPlay(5);
}
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|