Carl,

Why do it in lingo??
You could also set a "toggle" variable in your flash movie, check from
within and set your button accordingly.
You can then use getURL("lingo:....") to set a var in director so that you'd
know wether it has been clicked or not.

//Make a movie clip, and use 2 frames, the first one an upstate (= button -
with overstate) and on the second frame a depressed state, then attach this
to your movie clip

onClipEvent (mouseUp)
{
        if (depressed = 0)
        {
                depressed = 1;
                this.gotoAndStop(2);
        } else //dont know if you want to toggle
                {
                        depressed = 0;
                        this.gotoAndStop(1);
                }

}


//you can use the buttons in the movie clip to put your stuff to do on.
//simple huh


HTH,

Chris.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Carl West
Sent: Tuesday, July 24, 2001 2:30 AM
To: [EMAIL PROTECTED]
Subject: <lingo-l> Controlling Flash Buttons?


Dear List,

In D8. Cross-platform.

I have some .SWF members that are Flash buttons. Can I control them from
Lingo?

What I'd like to do is make it stick in the 'down' state when clicked.

I can play with the buttonsenabled property, and that's a start, but
setting the .frame doesn't finish the job, and nothing else seems
applicable.

Is this possible? Have I missed something? Or should I just have them as
straight Flash animations that I _can_ control with Lingo? I bet it's no
harder than trying to mess with the buttons on the fly.

--
Carl West    [EMAIL PROTECTED]
617.262.8830 x246

"Depend upon it, there comes a time when, for every addition of
knowledge, you forget something that you knew before. It is of the
highest importance, therefore, not to have useless facts elbowing out
the useful ones."
              -Sherlock Holmes in 'A Study in Scarlet'

[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!]



[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!]

Reply via email to