Fading a movie clip out before the next fades in

  • monsieur_le_christophe
  • Student
  • Student
  • monsieur_le_christophe
  • Posts: 71
  • Loc: Wales, UK

Post 3+ Months Ago

I know this will be well simple, but I suck at actionscript...!

On my site I have 8 buttons relating to their respective sections of the site. I want a seperate movie clip to display the title of the section the button has called. However I cant find a way to fade the old title out before the new one fades in, without a stupidly bulky, time-consuming fiasco! (If only you could fade masks...)

I've tried getting the buttons to each set a variable, (eg the news button sets x = 1, downloads button sets x = 2) so that as the alpha of the old title hits 0% during the fade out, the title movieclip looks to the value of x to determine which title it now needs to fade in, but I just can't code it.

I'm sure there's a really clean, quick answer - any help would be greatly appreciated please! :)
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • monsieur_le_christophe
  • Student
  • Student
  • monsieur_le_christophe
  • Posts: 71
  • Loc: Wales, UK

Post 3+ Months Ago

ok just found there's a difference between x = "1" and x == 1!

managed to code the bugger - knew it only needed a tiny bit of script...!
  • darkthroniar
  • Beginner
  • Beginner
  • User avatar
  • Posts: 42
  • Loc: Los Angeles, CA

Post 3+ Months Ago

hi monsieur_le_christophe, maybe you don't need a script i made fade 2 movie clips.

if your movie clip is in the button, then the work is easer only put the movie clip in the up and down frame.
  • monsieur_le_christophe
  • Student
  • Student
  • monsieur_le_christophe
  • Posts: 71
  • Loc: Wales, UK

Post 3+ Months Ago

cheers darkthroniar - see where ur goin with that one - will try that in the future.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.