Azam
Novice
Reged: 03/24/05
Posts: 1
|
|
Hi, According to the tutorial I created a outlined rectangle shape and convert it into a symbole. Then I placed a button on the stage along with the rectangle symbole. In the tutorial they insert an action by selecting the button and right clicking on it. Then Seleted Actions from the popup menu. Then the action window fro the button appeared. Then from "Action -> Browser/Network" selected "loadmovie". Then I filled the parameter as follows:
URL = address where my current swf is LOCATION = Target - Name of the Rectangle movie instance
But when i run it nothing is happening.
Plz tell me what should I do.
|
Jeremy
Journeyman
Reged: 11/20/02
Posts: 49
Loc: Columbus, OH
|
|
Hmm, what I would suggest is running throught he reference built into Flash for the loadMovie action. I will do that here:
In reply to:
Example Usage 1: The following example loads the SWF file circle.swf from the same directory and replaces a movie clip called mySquare that already exists on the Stage:
loadMovie("circle.swf", mySquare); // equivalent statement (Usage 1): loadMovie("circle.swf", _level0.mySquare); // equivalent statement (Usage 2): loadMovie("circle.swf", “mySquare”);
The following example loads the SWF file circle.swf from the same directory, but replaces the main movie clip instead of the mySquare movie clip:
loadMovie("circle.swf", this); // Note that using "this" as a string for the target parameter will not work // equivalent statement (Usage 2): loadMovie("circle.swf", “_level0”);
The following loadMovie() statement loads the SWF file sub.swf from the same directory into a new movie clip called logo_mc that’s created using createEmptyMovieClip():
this.createEmptyMovieClip("logo_mc", 999); loadMovie("sub.swf", logo_mc);
So first, make sure your loadMovie action complies with one of those methods. You may also want to make sure your button action is set to onRelease or onPress or sometrhing similar so it is actually being called. A good way to do that is to put a trace action before the loadmovie action so you know the playhead actually arrives to that point correctly. Let me know if you need more help!
-------------------- JS [EOTT]
|
|