Hi Damian
You can control Flash movie variables using setVariable and getVariable from
Director.
You need to set the visibality of a movie clip to true/false depending upon
a flag (hide, see below script) inside Flash movie and change this flag
value from Director using setVariable.
// script inside Flash movie
if (hide == 1) {
setProperty ("MC", _visible, true);
} else if (hide == 0) {
setProperty ("MC", _visible, false);
}
-- director script
on mouseUp
value = getVariable(sprite flashSprite, "hide")
-- this script will toggle the value of hide variable of flash sprite
if value = 1 then
setVariable(sprite flshSprite, "hide","0")
else
setVariable(sprite flshSprite, "hide","1")
end if
end
Hope This Helps
Ramesh CT
Singapore
-----Original Message-----
From: Damian Lopez <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, October 06, 2000 11:16 AM
Subject: <lingo-l> Via Director 7.02 (Symbol/Layer Visibility ON/OFF of
Flash 4.0 .swf movie)
>hi all
>
>can anyone help me.. the problem is
>what lingo i should use for the
>Symbol/Layer Visibility ON/OFF of Flash 4.0 .swf movie via Director 7.02
>
>thanks
>dl
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
>email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo. Thanks!]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]