-
I'm bulding an interface with two screens, one on the left and one on the right. The primary .swf loads an .swf into the left screen, which contains a button list. Each button on the left screen brings up a movie on the right screen.
My question:
How do I make the .swf which is loaded into the left screen load another .swf into the right screen? Can an .swf in a subdirectory call files from higher or parallel directories?
Thank you!
-
you can use two things that i can think of.
_parent.mc.doSomething();
and
_root.mc.doSomething();
_parent refers to the movie just above the one makeing tha call. You can even use:
_parent._parent.mc.doSomething();
if you want to go back 2 directories.
_root goes all the way back to the main timeline. From there use parth as normal.
Hope this helps, frank
http://www.geckoarts.com
-
more info
I've been working in such kind of interface
but need to know if you are working with two separated explorer windows or you only divide the flash movie
-
i was assuming its a divided movie. If your using frames, the code above isn't what you need
-
fpanko, I apologize for not thanking you sooner. I just saw your reply today, and your suggestion worked perfectly, of course. so thank you very much.
alex42, i'm loading two swf files into a single swf file. so it would appear in one browser window.
-
sure. no problem
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
|