A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: ALPHA question...

  1. #1
    Junior Member
    Join Date
    Aug 2008
    Posts
    17

    Angry ALPHA question...

    I am trying to change the alpha of an object on another frame. The usual ._alpha = 0; isn't working, ive even tried using ._root, Is it not possible to change the alpha of an object through action script unless the object is on the same key frame as the action script? I thought any object could be changed as long as you put ._root if its not local. Its hard to explain this sorry.

  2. #2
    Senior Member
    Join Date
    Dec 2005
    Posts
    426
    There has to be an instance of the object on the current frame that the code is running on.

    if you are using it on the frame's actions then you don't need to have _root. you can just call your objects alpha
    object._alpha=0;

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