-
I created empty movie clip
mymovie.createEmptyMovieClip (dummy, 1);
but then when I try to load another swf movie into it nothing happens, it's just blank.
I'm using this script:
loadMovie("flash.swf", "dummy");
Can someone plz point out what's wrong.
Any help appreciated
-
-
Hope you have a movie clip on stage named mymovie, or else this will never work.
Second, and this is the important part, add double quotes to dummy in your script, as:
_root.createEmptyMovieClip ("dummy", 1);
loadMovie("flash.swf", "dummy");
I've used _root, in the above, but if you do have a mymovie clip on stage, and it's instance name is mymovie, it should work in the same manner with:
_root.mymovie.createEmptyMovieClip ("dummy", 1);
loadMovie("flash.swf", "dummy");
-
Thanks alot that worked!
What will be the syntax if I want to specify the width and length of the movieclip and left y and top x starting coordinates if it's possible?
-
What if I already have a dummy MC on stage and I want to load swf file into it. Empty movie's instance name is dummy. I tried
loadMovie("flash.swf", dummy);
loadMovie("flash.swf", "dummy");
I also tried
loadMovie("flash.swf", "_root.dummy");
loadMovie("flash.swf", _root.dummy);
but nothing works. Could someone please help me out with that?
Thanks!
-
That's what it gives me when I test it:
Target not found: Target="_root.go" Base="_level0.dummy"
Target not found: Target="_root.loading" Base="_level0.dummy"
-
I don't know why
loadMovie("flash.swf", dummy);
doesn't work. It's pretty much all you have to write aka loadMovie(URL,Target)
check everything again. Oh and I don't know what's that Output error means, maybe someone else can help
-
I tried everything and still nothing
I really need some heeeeeeeelp. That thing drives me crazy, I tried putting level instead of target and it works but I NEED the swf to go into MC. Any gurus here that could help me please?
-
yep, now I see what you are talking about. I did everything and I get exactly the same output error like you wrote above. That's really weird. Any input from anyone?
-
maybe someone could do a fast example of this? We'll really appreciate it heh
-
Don't know what you guys are doing wrong... But this works fine for me:
I have a empty movie clip on stage, with an instance name of dummy. Both of the following lines in the first and only frame of my main movie, work fine:
//loadMovie("index.swf", "dummy");
_root.dummy.loadMovie("index.swf");
stop();
You can e-mail me your .flas at mxflasher@hotmail.com, and I'll have a look!
-
Oldnewbie,
Could I use this method to load text effects that were created in something like Swish? Thanks.
Kennyb
-
-
alright it seems like it didn't work with complicated biiig movie that I used but it works with the simple one.
Thanks oldnewbie!
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
|