At 11:18 PM +0200 5/1/01, clars danvold wrote:
>Hello all-
>
>I'm looking for a quick and dirty tutorial on how to set the contents of
>a Flash editable text with Lingo. Also, I need info on how to set the
>action/variables up in Flash, as I know next to nothing about Flash
>action scripting.
Clars:
In Flash, create a text field, set it to Dynamic, assign it a unique
variable name, such as "tTextFromDirector".
Let's assume that you have created this text field in the primary timeline
of a Flash movie.
The path to this variable is:
/:tTextFromDirector
or using dot notation:
_root.tTextFromDirector
(You can use the List Variable command when you are Debugging a movie in
Flash to get a list of such paths in your movie.)
In Director, simple use the setVariable command. Assuming that sprite 1
contains a sprite referencing the SWF version of your Flash movie above:
(sprite 1).setVariable("_root.tTextFromDirector", "Hello world!")
Regards,
Terry
--
...---===| Terry R. Schussler |===---...
...---===| Chief Investigator |===---...
on visitWebsite yourSelection
coolSites = [ \
#greatSeminars : "http://www.macromediaSEMINARS.com/", \
#directorUniversity: "http://www.directorU.com", \
#freeBehaviors : "http://www.behaviors.com/"]
gotoNetPage coolSites[yourSelection]
end visitWebsite
[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!]