View Full Version : invisible!
does anyone know how to make a movie image not visible at the beginning, but then when i click on a button it makes the first on visible?;)
matbury
12-14-2007, 03:09 AM
movieImage.visible = false;
button.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(event:MouseEvent):void {
button.removeEventListener(MouseEvent.CLICK, clickHandler);
movieImage.visible = true;
}
wow thanks Mat bury works like a charm! =)
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.