Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


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



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Flash Forum
View previous topic :: View next topic  
Author Message
med23



Joined: 01 Feb 2007
Posts: 4

PostPosted: Fri Dec 14, 2007 9:02 pm    Post subject: Button in SWF to control main(root) SWF??? Reply with quote

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!!!
Back to top
View user's profile Send private message
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 590
Location: UK

PostPosted: Sat Dec 15, 2007 2:07 am    Post subject: Re: Button in SWF to control main(root) SWF??? Reply with quote

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

Flabby Rabbit
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Flash Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap