Old 22-12-2006, 09:57   #1 (permalink)
pagey
.
 
pagey's Avatar
 
Join Date: Aug 2006
Location: .
Posts: 1,757
Flash problem

Hi there,


I'm trying to design a website in flash, and appear to have got myself into a bit of a pickle.

I'll try and explain as best I can - Its a five page website. I have 5 rollover buttons on the left which will move slightly to the right when clicked upon. These buttons have been produced inside their own movie clip.

Now, obviously, when each button is pressed, I want the main content on the page to change. My problem is, I haven't put the content inside the Buttons movie clip. They are just (well i've only done 1 so far) separate movie clips placed on Scene 1.

So, when I test the whole movie, if I click on a particular button, it moves to the right like it should, but the main content doesn't change. How can I fix this?

I guess what I need to do is load the tween on the button, and the main content movie clips at the same time.

Not sure if you're able to figure out what I've done, but any help would be appreciated.

Cheers
  Reply With Quote
Old 22-12-2006, 21:52   #2 (permalink)
d3mcfadden
Senior Member
 
d3mcfadden's Avatar
 
Join Date: Apr 2005
Location: -
Posts: 695
Send a message via AIM to d3mcfadden
going about it all wrong mate.. set up each of your pages on separate frames in your timeline. Create a layer for you buttons that spans all frames in the timeline so they show up on every page. Then when a button is clicked simply:
Code:
_root.gotoAndStop('whatever frame you need to show');
  Reply With Quote
Old 22-12-2006, 21:56   #3 (permalink)
pagey
.
 
pagey's Avatar
 
Join Date: Aug 2006
Location: .
Posts: 1,757
Thanks for that.

I just hope I'm able to rescue this mess instead of starting again!

Will I be able to added a tween to the buttons if they are on one layer?
  Reply With Quote
Old 22-12-2006, 22:42   #4 (permalink)
d3mcfadden
Senior Member
 
d3mcfadden's Avatar
 
Join Date: Apr 2005
Location: -
Posts: 695
Send a message via AIM to d3mcfadden
No problem.. yes you can tween to your hearts content.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive
vBulletin © 2000-2009 Jelsoft Enterprises Limited.
Search Engine Optimization by vBSEO 3.0.0 RC8