Setting up the target movie clip
First, Our remote message is loaded into a target movie clip using loadmovie.
Let's set this up by first making a new blank movie clip:
Drag it to the stage, and give it an instance name of "remote." The top-left corner of your message will be right where you place this MC. If you want it to appear on top of everything else, put it on it's own layer, and drag that layer to the top.
Make a lew layer, name it 'actions' (it's good to keep everything seperate, nice and neat)
That little circle is your blank (empty) movie clip.
Double-click on the first frame in the aciton layer, opening the actions box. Choose loadMovie from the "actions" menu, type in the full URL of your remote swf into the URL field. This would be something like "http://www.mysite.com/security/clientname/message.swf"
in the location field, select Target in the dropdown. Type in the instance name of your blank movie clip, in this case "remote". Alternatively, you can also click in the target textbox, and then the tiny target icon on the bottom right corner of the action window. This will open up a dialog box allowing you to see and choose your target.
That's all the setup you need! Now we'll build our remote message.
|» Level Intermediate|
Rating: 8 Votes: 53
|No details available.|
|Download the files used in this tutorial.|
|Download (57 kb)|
|More help? Search our boards for quick answers!|