all groups > macromedia flash sitedesign > august 2005 >
You're in the

macromedia flash sitedesign

group:

Help please! Multiple movies within a button


Help please! Multiple movies within a button UXO
8/27/2005 12:00:00 AM
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.

Re: Help please! Multiple movies within a button UXO
10/4/2005 12:00:00 AM
Re: Help please! Multiple movies within a button UXO
10/4/2005 12:00:00 AM
Re: Help please! Multiple movies within a button tralfaz
10/4/2005 8:32:32 AM

[quoted text, click to view]

UXO, you can easily get help with it but the sitedesign forum is the
wrong place to ask. You can get help on the macromedia.flash forum or
the macromedia.actionscript forum (better). The sitedesign forum has
a very small following and is geared more towards site design reviews.
When you post the question, have the fla file zipped up on your
website and post a link to it so that whoever is available can look at
it. This is the fastest method to get help with a file. When the fla
is available on a link it usually gets checked in very short order but
it can take a lot longer if people have to ask for it (most won't)
tralfaz

AddThis Social Bookmark Button