A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: button.alpha... is there an alternative?

  1. #1
    Spidey wants his icon back! Defyeler's Avatar
    Join Date
    Jul 2002
    Location
    New York City
    Posts
    255

    button.alpha... is there an alternative?

    I just wish to make my buttons invisible upon certain actions.

    for example if i clicked on button A, I want to hide Button B..

    I normally would do this..

    buttonA.onRelease = function() {
    buttonB._alpha = 0;
    }

    I know alpha can kill system performance if the flash movie relies heavily upon it. Is there an alternative? I just want to hide my button's visibility, not its functionality.
    Its never.. wow kool I like it, its always.. ok I made this.. how can it be better?

  2. #2
    Member
    Join Date
    Feb 2003
    Location
    Calgary, Alberta, Canada
    Posts
    91
    buttonA.onRelease = function() {
    buttonB._visible = false;
    }
    I think this should work
    I love Oren Ishii!

  3. #3
    Well, if you want to make your buttons invisalbe...
    Why dont you try

    buttonA._viable=0

    I dont know if this is what you want?
    Last edited by M Waqas; 11-27-2003 at 12:36 PM.

  4. #4
    Spidey wants his icon back! Defyeler's Avatar
    Join Date
    Jul 2002
    Location
    New York City
    Posts
    255
    ah, ok kool, thanks you guys

    wasn't aware of visible method, couldn't find it in AC dictionary.

    //----
    Its never.. wow kool I like it, its always.. ok I made this.. how can it be better?

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