It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming Flash Forum

Button in SWF to control main(root) SWF???

Moderator: Phate

Button in SWF to control main(root) SWF???

Postby med23 on Fri Dec 14, 2007 9:02 pm

Hi Everyone.

Here is the problem. This is done in Flash 8.

I have a main SWF that has a movieclip on the stage that I have given an instance name to.

This movieclip is the site's navigation bar. Within this movieclip there are buttons. Also, there are markers on different frames that the buttons will make the timeline go to on(release). Upon entering those markered frames, the actionscript on those frames loads another SWF into the main SWF's stage.

So, my question is regarding controlling the main SWF's movieclip (which contains the navigation) with a button that is in the other loaded SWF.

Here is the link so you can see what I'm talking about. www.sq2d.com/codygatesite/

On the "About" section, the text button "See our portfolio companies >" at the bottom should go into the main SWF, then into the navigation movieclip, and jump to the appropriate markered frame. Below is the actionscript that I was applying to the button.


on (release) {
_root.navigation.gotoAndPlay ("portfolio");
}


THANKS SO MUCH!!!
med23
 
Posts: 4
Joined: Thu Feb 01, 2007 1:14 am

Postby flabbyrabbit on Sat Dec 15, 2007 2:07 am

So you want to know how to control a SWF from a separate SWF that is loaded inside the first one??

Flabby Rabbit
User avatar
flabbyrabbit
500+ Club
 
Posts: 703
Joined: Thu Jan 25, 2007 2:10 pm
Location: Midlands, England


Who is online

Users browsing this forum: No registered users and 0 guests