A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Need answers urgent..

  1. #1
    Member
    Join Date
    Jan 2003
    Location
    Melbourne
    Posts
    35

    Need answers urgent..

    (btw, im a newbie)

    how do i make objects disappear when the mouse is over a (any) button? not permanantly, but disappear while the mouse hovers over a button.

  2. #2
    Senior Member vevmesteren's Avatar
    Join Date
    Sep 2001
    Location
    Montréal, Québec
    Posts
    566
    check your documentation on the

    Code:
    _visible
    variable that can be applied to any object on the stage
    it is your mind that decides - it is with your mind that you fly


    vevmedia

  3. #3
    Member
    Join Date
    May 2005
    Location
    Switzerland
    Posts
    85
    Use the _visible property. The object you want to make to disappear has to be a MovieClip with an instance name tho.

    Example, code on a button:

    Code:
    on (rollOver) {
    	_root.theMovieClip._visible = 0;
    }
    
    on (rollOut) {
    	_root.theMovieClip._visible = 1;
    }

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