A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How do I use action script to fade out?

  1. #1
    Member
    Join Date
    May 2004
    Posts
    78

    How do I use action script to fade out?

    Hi
    I have an image which is moving vertically on the stage and have attached this script to it:

    image1_mc.onEnterFrame=function(){
    this._y-=(this._y-box_mc._y)*.1;
    }

    It all works fine at the moment - its still a little bit jerky in its movement but I guess this can be fixed?

    However, I want to be able to make this image fade in, hold at 100% opacity for a second, then fade out.

    How would I do this?.....thankyou!!!

  2. #2
    Member
    Join Date
    May 2004
    Posts
    78

    simple actionscript help...

    Im uploading my fla file to show you all what i mean - im really desperate for some help with smoothing all the jerky movements out...

    basically the file is like this:

    1st part :
    text flies in - which is all fine
    image is suppost to fade in and pan up - then fade out (at the moment it just pans as I dont know where to place the fade in and out script)

    2nd part:
    text flies in - all fine
    image then fades in and zooms in - halts then fades out
    (i desperatly need help with this one!)

    Im sure its quite easy but I just cant seem to get it working?
    Id appreciate any help on this! thanks
    Attached Files Attached Files

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