A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: _visible property doesnt work for true

  1. #1
    Senior Member
    Join Date
    May 2009
    Posts
    213

    _visible property doesnt work for true

    I have a clip which is basically a set of button clips. When a button is clicked it fades (i used the ._alpha property) and finally when its 0 alpha, it removes itself (by using _visible=0 property). It works perfectly. Now when another button is clicked. I wanted the button which is currently not visible to restore its visibility. But using _visible=1; just isnt doing it (pastbutton._visible=1;). I tried a lot of trouble shooting, trace shows that the correct button path of the last invisible button is stored in pastbutton. But still when the next line says pastbutton._visible=1 still it doesnt restore the target button which is stored in the pastbutton variable.

    Can someone help me please ?

  2. #2
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Solved it myself.

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