PDA

View Full Version : communicate between two swfs


ketan
06-29-2005, 11:08 AM
Hi,

I loaded one.swf and two.swf in parent.swf through LoadMovieNum.

By using differnt buttons within one.swf I want something to happen (not simultaneously) in

1) root level in parent.swf

2) two.swf

Can you suggest please?

ketan

acolyte
06-29-2005, 12:35 PM
Hello Ketan thats easy

@ the loadMovieNum Func you specify a level where the loaded movie resists

loadMovieNum("two.swf",2);

so reference it like :

_level2.box1.gotoAndPlay(2);


also you can check the phats by using the debugger tool / shortcut / >strg+shift+enter<

enjoy :cool:

oldnewbie
06-29-2005, 02:33 PM
_level0 to target the parent timeline.