macromedia flash sitedesign:
Hi!
Although I don't know much about Flash, I just can't see what I'm doing wrong
here folks. What I'm trying to accomplish is a header with categories and
subcategories. When you rollover the category, a subcategory appears in its
place. When you roll over a subcategory, it plays a similar animation as when
you roll over a category.
However, when I roll over a category it just plays all of the subcategory
movies at the same time.
If you look at the link below:
http://previews.13370r.net/header.swf ...and roll over "news". You'll then see "Music Tech", "Artists & Industry"
and "Gigs". All of these movies (fading from a light blue colour to white) play
at the same time, whereas, I'd like them to only individually play when they
are rolled over.
"News" is a button. A movie is placed in "over" which then plays a movie where
the "news" text fades out and the new options appear. These subcategories are
other movies. I understand you can have movies within movies but not buttons
within buttons.
The following script is what I'm using in the 'newstransition' movie (which
fades the "news" text out and fades in the subcategories:
Code:
movie_musictech.stop(); movie_artind.stop(); movie_gigs.stop();
movie_music.onRollOver = function(){ movie_music.play() ;}
movie_artind.onRollOver = function(){ movie_artind.play() ;}
movie_gigs.onRollOver = function(){ movie_gigs.play() ;}
The above stop AS is placed in to see if it will stop the movies playing, then
play them when rolled over. That hasn't helped. Same happens when I take the
stop commands away. I've also dropped this AS in to the movies themselves but
to no avail.
Could anyone possibly help me on this one? I'm finding it very difficult, and
I'm constantly staying up late to try and figure the bl**dy thing out!
Btw, if anyone wants the fla file to sort it out and send it me back you're
more and welcome to have it! (just being a little cheeky there...)
Thanks.