Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Other Topics > Art & Graphic Design > Sorry mods, posted this in the wrong section-please delete

Sorry mods, posted this in the wrong section-please delete
Thread Tools
Junior Member
Join Date: Oct 2003
Status: Offline
Reply With Quote
Feb 15, 2005, 07:52 PM
 
I have been using flash for 4 months now so i understand quite a bit about it but
I am having a problem getting buttons in my external .swf movies to load their appropriate content.
In my main timeline of my root movie i have 4 buttons on the stage. One of these buttons loads in a new external swf onto the stage. To do this I use this actionscript to call the movie:


ActionScript:

_root.buttonmc.button1.onRelease=function() {
if(nextMovie!="content4.swf"){
nextMovie="content4.swf";
_level1.gotoAndPlay("outro");
}
}



This works perfect and loads in the content4. swf movie and unloads whatever movie was previously on the stage. In the content4 movie I have another ten or so buttons which will load at the top of the page. when one of these buttons is clicked i want another movie to load directly underneath all these buttons. i want to keep all these buttons on the stage as these movies are illustrations i have done and i want each illustration to load and the user be able to navigate through them with the buttons still above them. i have created each illustration as a separate swf file as i want to do nice transitions between them. the actionscript that i use to control these buttons is basically the same as the script from my main menu i place it the first keyframe in the content4.swf


ActionScript:

_parent.hellotheremc.madbutton.onRelease=function( ) {
if(nextMovie!="content150.swf"){
nextMovie="content150.swf";
_level1.gotoAndPlay("outro");
}
}



The content 4 movie loads in and the buttons appear but none of these buttons will work. any ideas what i am doing wrong. I can't figure it out. I am using MX2004
thanks in advance
(Last edited by anticon; Feb 15, 2005 at 07:59 PM. )
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:28 AM.
All contents of these forums © 1995-2009 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.4 © 2000-2009, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2