Click to See Complete Forum and Search --> : Highlighting text whilst movie plays


mumford
05-26-2005, 10:23 AM
Hi

I have made a movie that cycles through a set of logos, but if you hover over one of the buttons it plays that movie corresponding to the button, then cycles through the whole movie again, untill a button is hovered on. Take a look at the example http://www.premier-resin-systems.co.uk/logos.swf

What I want is when the movie is cycling through and it gets to "Tour Operators" I want the word "Tour Operators" to be highlighted, then when the movie gets to "Airlines" I want "Airlines" to be highlighted.

I hope all that makes sense!

Does anyone know how I can do this.

Attatched is the example I worked from

andyshep
05-26-2005, 04:33 PM
hi ive attached you example and made some changes:

instead of using buttons ive used text fields within movie clips.

ive then used the textFormat to create two new classes.
one for an active class( movie clip has been clicked)
and an inactive class( another button has been clicked).

ive then used setTextFormat to set the highlight.

hope this is what you were after

mumford
05-27-2005, 03:07 AM
Thanks for that It is nearly what I want, but: (theres always a but!!)

If you just let the example play through without touching any of the buttons the movie loops, I need the buttons to highlight once the movie associated to that buttons plays. Then when the next movie plays the corresponding text to that highlights.

DOes that make sense?

thanks again

andyshep
05-27-2005, 04:41 PM
so you want the sections to loop and while a certain section is playing you want that button/text highlighted..

so what do you want to happen when a section is clicked?

you want it to stay in that section?

or stay in that section for a certain time the start looping again?

let me know and ill have a look...

mumford
05-31-2005, 05:26 AM
so you want the sections to loop and while a certain section is playing you want that button/text highlighted..

Yes

Also when you mouse over one of the text links that link changes colour until it finishes to go onto the next movie

Let me know what you think

andyshep
05-31-2005, 11:36 AM
ok removed the onRelease function on the text clips on the main timeline.

added some script in layer 1 of mainMC and in each frame in layer 2.

think it works as you wanted.

mumford
05-31-2005, 11:58 AM
Thanks alot for this I will let you know how I get on.

Thanks again