The Fla file: Stage
We will first plan and build a stage. Just open the fla file and look at the stage. There are several dynamic textfields, an input field for the search engine and two empty movieclips, which we need for preloading and loading the swf files. You can also load jpg files in Flash MX but I have used swf files because the power of flash using XML is to have animations played, which makes flash different from other XML parsers. All textfields have var names except for the big central textfield, which has the textfield name ´InstanceName_0´. This is important, because we are attaching a scrollbar to this field in case the text is larger than the field. I have to thank the Flash MX discussion board where I learnt how to do it correctly. The input field also gets a var name (var box in the property inspector). Further we put buttons on the stage but this is of course completely up to you.
|» Level Intermediate|
Rating: 7.92 Votes: 146
|The author is a scientist working in cancer research.|
|Download the files used in this tutorial.|
|Download (209 kb)|
|More help? Search our boards for quick answers!|