Search Tutorials
Connecting the movie to the text fileWe'll use the structure shown below for our movie - three frames and layers called actions, combo and labels. Actions will have a keyframe in each of the frames. Combo and labels will have a keyframe in frames 1 and 3.
In the labels layer, name the first frame start and the third frame end. On the first frame of the action layer, enter the following actionscript. //load the text file This script creates a loadVars object called sitestext and loads the file sites.txt into it. When you reference the variables from the file, you'll need to refer to them as sitestext.Sites and sitestext.URLs
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|