To set a variable using "Set Variable":
Open a new document in Flash.
Highlight Frame 1 in the timeline.
Choose Modify > Frame from the menu.
In the Actions tab, click the "+" sign, and choose "Set Variable".
In the "Variable" field, type "text" without quotes. This is the variable name.
In the "Value" field, type "hello" without quotes.
Click OK.
Choose Control > Test Movie to test this. The variable named "text" will be assigned the specified value "hello" when the movie plays the first frame of the timeline.
Also, in this example, setting the variable will not show any visual change in the movie. However, variables and their values can be previewed in Test Movie mode by choosing Control > List Variables.
Bookmarks