You just need to key in that line of code in your message window to make it
work. Or you could create a behavior that attaches itself to a sprite on
stage. Here's a small sample of a script which can be attached to a button.
When the button is clicked, it takes the name of the file entered in a
field called "Filename" and changes the HTML of the text member called
"Foo".

on mouseUp me
vFilename = member("Filename").text
member("Foo").html = vFilename
end mouseUp me

Theres another nice feature of Directors behaviors just for people who have
started of coding. Using the behavior inspector, they can select the which
fire off the script, the actions to be performed, and also the order of
execution. They can select from a list of pre-built events and actions or
type in their own too.
Look it up in the online help.



<snip>
>>Sure. Member("textmember").html = filepath & filename.html

May I ask... how do you excute this script?  I'm new to lingo, so just bare
<snip>

Regards,
Pranav



[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