A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: n00b question

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    5

    n00b question

    Is there anyway to make an object 'hide' for one frame and return in the next?

  2. #2
    Junior Member
    Join Date
    Apr 2006
    Posts
    5
    Also is it possible to make something fade in similar to the effects that SwishMax has?

  3. #3
    Senior Member RUSHVision's Avatar
    Join Date
    Dec 2000
    Location
    Pacific Northwest
    Posts
    5,441
    Hey dude ~
    Instead of double-posting as you did, just hit the Edit button on the bottom right of your post and add whatever you forgot the first time around.

    You can't technically hide something...using the Show/Hide checkbox on the Object page, anyway...but you can effectively do the same thing by setting the scale to zero on the frames where you don't want the object to be visible.

    As for fading something in, you might be able to achieve the effect you want by animating the Material from fully transparent to fully opaque. This won't work with bitmap materials though, since you can't make them transparent.
    mrush


    > .. _ .: Join the FK ARENA!:..:RUSHVision vs. JWin:. _ .. <
    ..:: "Why aren't the lockout programs working?!?...Release the monkey!" ::..

  4. #4
    Junior Member
    Join Date
    Apr 2006
    Posts
    5
    Sorry about the double posting.

    Where and how would I achieve a transparancy effect in Swift, I can't seem to find it in the menu.

    And thank you btw for the quick reply.

  5. #5
    Senior Member RUSHVision's Avatar
    Join Date
    Dec 2000
    Location
    Pacific Northwest
    Posts
    5,441
    To animate a Material, you do it just like you would animate an object. Set the Current Frame Indicator on the frame where you want the object to be fully opaque and drag the Material that you want onto it. Then go back to the frame where you want the Material to be fully transparent and drag the same Material onto it. Next double-click the Material preview window on the left side of the screen and it will bring up the Material Editor. Drag the transparency slider all the way to the right and hit OK.

    You want to do all of this with the Animate button active.
    mrush


    > .. _ .: Join the FK ARENA!:..:RUSHVision vs. JWin:. _ .. <
    ..:: "Why aren't the lockout programs working?!?...Release the monkey!" ::..

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