Skip to main content
Known Participant
June 27, 2006
Question

problem in calling 1.swf into anather

  • June 27, 2006
  • 3 replies
  • 337 views
I am calling 1.swf and 2.swf in 3.swf,
each .swf having there own small type of animation effect after click START button that each one having.
when i am called 1 and 2.swf in 3.swf, 1.swf and 2.swf buttons are activated but its not working further on click.
can any 1 tell me how to solve this problem.

Regards
Bipin N.
This topic has been closed for replies.

3 replies

Known Participant
June 28, 2006
justbipin,

You need to load the swf's into a known movie clip with 'loadClip'.

Ex:
on(release){
var holder1:MovieClip = createEmptyMovieClip("holder1", 1);
var holder2:MovieClip = createEmptyMovieClip("holder2", 2);
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
myMCL.loadClip("try1.swf", holder1);
myMCL.loadClip("try2.swf", holder2);
}
justbipinAuthor
Known Participant
June 28, 2006
yes, i am sorry, here is the code,

on(release)
{
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
myMCL.loadClip("try1.swf", 1);
myMCL.loadClip("try2.swf", 2);
}
Inspiring
June 27, 2006
"justbipin" <webforumsuser@macromedia.com> wrote in message news:e7r3am$a5c$1@forums.macromedia.com...
>I am calling 1.swf and 2.swf in 3.swf,
> each .swf having there own small type of animation effect after click START
> button that each one having.
> when i am called 1 and 2.swf in 3.swf, 1.swf and 2.swf buttons are activated
> but its not working further on click.
> can any 1 tell me how to solve this problem.
>
> Regards
> Bipin N.

How to solve it without the code? When you have a code problem, post the code or a link to it.
tralfaz