all groups > flash actionscript > september 2005 >
You're in the

flash actionscript

group:

Need Help actionscripting between 2 seperate .swf's


Need Help actionscripting between 2 seperate .swf's gma216gma
9/17/2005 11:48:39 PM
flash actionscript:
I have 2 .swf's. The first is named "A.swf" and on this swf there is a button.
When i click on that button i would like it to "gotoandplay(50)" on the second
swf named "B.swf".
Any help would be much appreciated.
Thanks
Re: Need Help actionscripting between 2 seperate .swf's ygonow
9/19/2005 11:27:13 AM
Each swf is running it's own level. Suppose A.swf is running in _level1 and
B.swf is running in _level2.
From A.swf : _level2.gotoAndPlay(50);

You can actually access any movieclip nest in an swf:
_level2.top_mc.middle_mc.bottom_mc.gotAndPlay(50);

AddThis Social Bookmark Button