-
[CS3] How to talk to Dynamically Loaded Movie
hi Guys ,
I have problem in getting variable from loaded movie
Here is the problem
I have two Map movie Movie1 , Movie2
btn.onRelease = function(){
mov= this.createEmptyMovieClip("movie",this.getNextHigh estDepth() );
mov.loadMovie("Movie2.swf");
}
//Now when Movie2 is loaded when i click on btn2 in Movie2 it should give someoutput
but it is nither sending any output nor it can getvalue nither to parent clip ie Movie1 nor to Output window
The code in Movie2 is
btn2.onRelease = function(){
trace("IDs");
}
//I am working on frame 1 only no other frame
-
Senior Member
try this in Movie1 and see what happens;
PHP Code:
mov = this.createEmptyMovieClip ("movie", this.getNextHighestDepth ());
btn.onRelease = function () {
mov.loadMovie ("Movie2.swf");
};
If you don't think you're going to like the answer, then don't ask the question.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|