I have created an animation that loads several SWF files that are supposed to reside in the same location. I will be giving the animation to another individual for them to show to customers.
Given the chance that over the course of use that individual, or some downstream individual, may forget to include the SWFs with the executable, I want to create a dynamic textfield that will be presented on the stage indicating that they are missing the SWFs.
What type of code do I use that can specify the missing SWFs? It would look something like this:
var missingSwf:String;
if (<swf is missing>) {
missingSwf = "<missing swf filename>";
errorTextField.text = "You need to include " + missingSwf + " in the same directory as this file."
}
So I’m looking for the code that goes between the brackets < > and any other required code.
Thank you!