A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: FLV Playback, Alpha, and the timeline

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    5

    FLV Playback, Alpha, and the timeline

    I'm trying to get an instance of an FLV Playback that serves as a background to one of the sections of my Flash site to fade in once the section is entered, and fade back out again when it is exited. I've put it into an mc called 'vid container' and I applied some simple motion tweening to the container, to fade it in from 0 opacity to 100 and back down again.

    What I'm having trouble understanding is that, while the fadeout works absolutely fine, the fade in doesn't work at all.

    Is there a better way of achieving this result, more code based? Or any way at all in fact!

    Thanks for any help you can offer, all comments are wholly appreciated.

    Thanks, Dan

  2. #2
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    Not sure which version of actionscript you are using, but yes there is always a way to do it with code. I prefer to have my animation controlled by code verses the timeline because it will produce a more fluid transition.

    You can use the Tween class to produce the same effect. What version of actionscript are you using?
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    5
    yeah, i figured there'd be a code way to do it, and after your response to my other thread, i've sort of taken the code mindset on, i'm now amending something i did earlier!

    the document is set to actionscript 2, thanks for any help

Tags for this Thread

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center