Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    200
    Thanks
    27
    Thanked 2 Times in 2 Posts

    fade one movie clip in while another one fades out

    Hello,

    I am trying to have 2 movie clips fading on my stage simuntaneously for a photo gallery.

    I'd like one to be fading out while the other fades in.

    How do I do this in Actionscript?

    Thanks

    Nicky

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Have the two MC on top of each other, and then apply tweens so that each one fades in or out at the same time as the others. You may need to have two lists built for the images, basically so one is the queue list and the other is the visible photo, then they switch.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    99
    Thanks
    0
    Thanked 4 Times in 4 Posts
    There are different ways to do what you want, but as Jeremy said, the easiest way would be using tweens, which you could trigger either from the timeline or from AS.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •