-
Communication Between SWF's
Hey there,
I've hit a block and need a bit of knowledge...
I've got 2 sfw's on a page, I need to unload or goto and play to have it unload on keyframe inside it on sfw #2. When I choose a menuitem in #1 I should be able to do this right?
I've tried various method’s and no luck yet...
I thought that a simple
on(release)
Unload("http://site.com/#2.sw");
But no
Tried levels to but not in same movie so didn't figure this to work.any tips i'm probably missing obvious things but tries a bunch and no luck!
Help would be great!!!
Thanks for any i get!
mmeye
-
you probably are going to want to have one movie that is say ur navigation and when u click a button it will load an external swf and when you click a second btn the old movie unloads and the new loads. that is the only way i can think to do it.
i hope this is helpful
Q13
-
Flash maniac
hi
what i think you need is this:
on sending end:
(where a button is pushed and code is being sent to another external swf)
buttonName.onRelease=function() {
outgoing_lc=new LocalConnection();
outgoing_lc.send("connect_name","methodToExecute", "param1"[,"param2"]);
delete outgoing_lc;
}
on receiving end:
(where the code should be sent to after a button in an external swf is pressed)
varname= new LocalConnection();
varname.connect("connect_name");
varname.methodToExecute=function (param1[,param2]) {
your actionscript goes here....
}
sorry that i have no time at the moment to get in depth, but you can find lots of info about this either here in flashkit or on the macromedia site.
hope that helps!
kat
back to flashing...woohoo!
-
Thanks...........ó¿ó
I'll check this out!
I knew there was a way to send script across external's but forgot
the function...
Thanks for the help!
have fun
mmeye
mmeye.com
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
|