Skip to main content
Known Participant
April 11, 2007
Question

Can I control imported SWF files?

  • April 11, 2007
  • 2 replies
  • 257 views
I'm being a pest today. Anyway, I have a primary SWF files with buttons to browse through pages. If I import another SWF into the file, can I use these buttons to control the imported one? Should be a simple enough question.
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
April 12, 2007
localconnection should be used if the two swfs are open in 2 browser windows (or 1 browser window and a projector file or 2 projector files).

otherwise, if your using loadMovie(), loadMovieNum() or loadClip() you should be using the normal path.filename reference.
Participant
April 12, 2007
if you try and load it in run time , then it should be possible yes =) maybe not..all depends

this.createEmptyMovieClip("yourMovieClip",this.getNextHighestDepth());
yourMovieClip.loadMovie("theSWFyouWannaLoad.swf");
Known Participant
April 12, 2007
Okay, I figured it out using loacl connection, but thanks for your input.