Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different actions for different buttons-depending on location of movie 1

Status
Not open for further replies.

deecee

Technical User
Aug 25, 2001
1,678
US
I hope I can explain this well...Here we go :-D..Lets say i have 9 buttons (we'll call them buttons 1-9 :)) (BTW this is a site navigation question i suppose...its got nothing to do with a movie sequence Iguess??)...back to my question..so when the user clicks on any of the buttons i want the whole set of buttons to move down and then a sub-menu pops up...then if the user wants to click on the submenu..i want the items of the submenu to point to the frames of another movie which is going to hold the pictures of the products they are pointing to....then no matter what other of teh 8 buttons teh user clicks on i want that sub menu to fade and the new sub menu to pop up in its place...how do i do this without having 8 instances for each button where depending on which frame they are on then the button would send them to a new frame. I hope this question makes sense LOL
 
actually heres the link to the site

at the end where u see fabrics product what not thats the navbar im talking about that i wnat to know how to handle

thnx :-D
 
preloader looks familiar ;-)

....having a look

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
yeah thanks i still cant get teh bar to load up tho...but the preloader is awesome bro B-)
 
great thanks a lot man i appreciate your help B-)
 
no probs Deecee

There is a minor prob with it, if you hit the same 'main' button twice. So I'll post the fix in a tick.

dave

ps: registering with Tek-tips gives you the option to turn off banners etc, as well as keeping the forum numbers 'up'.
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
sure i will register but also im not seeing how i can possibly integrate a subtween into the picture already...i dont understand how u did it completly (i have no programming knowledge whatsoever) if u would like i will up the fla in a zip so u can get a better idea of how im working it.... hope that works
 
Just email the file (zipped) and take out any music or whatever it is that is making it 39mB's.

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
i took out sound abut size is still 39mbs
 
if you open the Library in the FLA (CTRL+L) and then click on the arrow in the top-right corner of the window, select 'keep use counts updated', then delete everything which has an occurence of 0. It might reduce the size a bit.

Either way, just send it off to me, I'd just prefer it were smaller.

dave

ps: neither of your links worked.
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
i dont see where u have teh command where u click on your abc buttons and it moves down and the submenu fades in...i dont understand how i do that when someone clicks on one of my buttons and then it scrolls down and also how to fiz the bug u had
 
still wont reduce size and my email wont take such a large file..do u have aim
 
ok, deecee, got your email message. I don't have aim so I'll try and talk you through the FLA.

To make things easier delete the 'background' layer on the main stage.

Select the A-B-C movie clip and drag it downwards, this should reveal another movie-clip (the alpha of the firt frame in is set to zero so it will look faint). The revealed movie-clip is "subtween3" or in other words 'submenu3'. If you select that and move it away you will reveal "subtween2" and "subtween1".

If you double-click on the A-B-C movie clip you'll be in it's timeline and you'll see how it tweens by pressing 'Enter'.

The same goes for the "subtween" movie-clips.

Double-clicking any of the movie-clips on the main stage twice will get to the buttons within the movie-clips, and if you right-click the buttons and select Actions, you'll see the scripting on those buttons which controls the tweening.

Almost forgot. On the main stage, the square on the right hand side is the mc which holds the images (or numbers in my example) targetted by the buttons in the submenus.

Are you following this so far?

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
yup i did that but when i run the file i get a error something bout nothing 'with' that...neway im out for the weekend last i tries i copied and pasted everything into my movies respective place..as well as renamed all the command lines to fit but got teh error..so neway ill be back on Monday at 10 am eastern to continue on my site (actually my dads store site) thnx
and have a good weekend
 
you too deecee, and don't worry about the small "with" error for now, it only happens during a CTRL+Enter test-movie scenario and not in HTML. It's just a variable-check error which is easily fixed. Gimme a shout Monday.

Take it easy.

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top