Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Loading a ComboBox from a file
Author: Sas Jacobs
| Website: http://www.sasjacobs.com |
Checking that the text file has loaded
The second frame checks that the data file has been loaded. Add the
following code on frame two of the actions layer. It uses the value
of the variable End to decide whether the file has been loaded. Once it has
been loaded, the movie can play.
sitestext.onLoad = function() {
if (sitestext.End == 1) {
gotoAndPlay("end");
}
else {
gotoAndPlay("start");
}
}
Add a stop action to frame three of the action layer.
» Level Intermediate
Added: : 2002-08-13
Rating: 7.62 Votes: 24
Hits: 2134
» Author
Applications Developer
Marconi Australia
» Download
Download the files used in this tutorial.
Download (369 kb)
Get conversion and unzipping tools
for PC and Mac here!
» Forums
More help? Search our boards for quick answers!
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.