| Brandon Taylor 2004-11-30, 12:17 pm |
| I think this is where you're going to hit some of the limitations of
controlling Flash with HTML. You can make a movie go to a specific frame,
start playing, etc, from HTML, but I don't think there's any way you can
tell the HTML which frame in the Flash movie to resume playing from.
Now, if you were working with the navigation in its entirety as a Flash
movie, you could create the behavior you need. I can't remember my
ActionScript syntax very well, but your theory would be:
if movieclipA isplaying = true then
keep playing movieclipA and do something else
end if
"CharlieBoy" <webforumsuser@macromedia.com> wrote in message
news:cohqf8$t8e$1@forums.macromedia.com...
> Hi there, I wonder if anyone can offer any advice with a hurdle i've come
> against? I need to control the appearance/change of a flash movie when a
> navigation item is rolled over on a site. I have a menu bar with four
> options
> A/B/C/D and each one offers a drop down menu of its own. I also have, at
> the
> start, a static banner graphic above the menu bar, and four flash movies
> called
> MOVIE A/B/C/D that will replace this static graphic at certain times. The
> idea
> is that when someone rolls onto OPTION A, as well as displaying its drop
> down
> menu, the static banner needs to change to a MOVIE A which starts to play
> and
> is on a continuous loop. MOVIE A then carries on playing whether they roll
> off
> either OPTION A or its drop down menu, or even select a page from OPTION
> A's
> drop down menu which will load into an iframe. (I thought that by using
> iframes, it would help that the whole page doesn't need to reload each
> time and
> affect the playing movie. All of the above I can achieve, it's this next
> part
> of the challenge that I really need some help with. If they roll back onto
> OPTION A, and MOVIE A is playing, I need the movie to continue playing and
> not
> restart again from the beginning. Obviously, if they roll onto either of
> the
> other OPTIONS B/C/D, their respective movie will start playing in place of
> MOVIE A. Again, if they have rolled onto OPTION B, MOVIE B starts, they
> roll
> off and it continues playing, they roll back onto OPTION B and MOVIE B
> carries
> on playing and doesn't restart from the beginning. I guess that it just
> needs a
> bit code behind OPTIONS A/B/C/D that says to the system if the appropriate
> movie is playing leave it alone, if not change it to the appropriate one.
> I
> have uploaded a flat graphic of a simplified version of how the page would
> look
> - http://www.paulhailey.co.uk/menumovie I hope I have made sense and
> would
> appreciate any assistance offered. Thank you in advance. Kind regards
> Paul
>
|