-
noob question: communication between swf's
Hi,
I have a swf, which should open another swf.
I was instructed to use:
_btn.onPress = function() {
getURL(_root.popout, "");
}
Should I stick this in a frame action? and instance my button to '_btn'.
What do I do with the 'popout' part and the ""?
thanks,
Xav
-
call your button my_btn then on a frame action use:
my_btn.onPress = function(){loadMovie("myswf.swf", 10);}
the bit between the "" is the path to the external swf, so in this case the other swf is called myswf.swf and is in the same directory as the swf calling it. The 10 is the level its being loaded onto.
hope that helps!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|