Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Just beginning with ActionScript...
From: Sebastien Brassard
Date: Tue, 5 Dec 2000 16:18:03 GMT

Hi all,
I'm trying to have a movie clip disappear when you press a
button... then reappear when you press the same button again.
so far it's *not* working... here's the actionscript
attached to my button.. what am I doing wrong?

on (release) {
if ("target"._visible=false) {
setProperty ("target", _visible, true);
} else {
setProperty ("target", _visible, false);
}

}
The name of the movie clip is "target".

Thanks,
S.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]