Skip to main content
Participant
October 29, 2017
Answered

LoadMovie within two swf files- one as a controller

  • October 29, 2017
  • 1 reply
  • 365 views

Hi all,

I'm new to this forum. I need experts' help.

I'm trying to use LoadMovie function in a different way. I'm not even sure this is possible.

I have three swf files, named 01, 02 and 03. So I'm going to run 01 and 02 files same time by double clicking the files.( or as stand alone players) now what I want is, I want to click a button on 01swf file and load 03.swf file on to 02.swf file. So the 01.swf file works as a controller. Is this possible and if so how to do it?

Please help..

Regards

Dulan

This topic has been closed for replies.
Correct answer Colin Holgate

Yes, it's possible. There is a thing called LocalConnection, the docs have example code:

LocalConnection - Adobe ActionScript® 3 (AS3 ) API Reference

It may seem overwhelming, so do a search for as3 LocalConnection tutorial to find some manageable guides. Here's one I just found:

Flashvalley - Flash tutorials - Communicating between SWFs with the localConnection class

1 reply

Colin Holgate
Colin HolgateCorrect answer
Inspiring
October 29, 2017

Yes, it's possible. There is a thing called LocalConnection, the docs have example code:

LocalConnection - Adobe ActionScript® 3 (AS3 ) API Reference

It may seem overwhelming, so do a search for as3 LocalConnection tutorial to find some manageable guides. Here's one I just found:

Flashvalley - Flash tutorials - Communicating between SWFs with the localConnection class

Dulan1207Author
Participant
October 29, 2017

Just the thing I was looking for. Thanks a million Colin. I'm trying to use this on two screen so one as a controller. Thanks again.

Colin Holgate
Inspiring
October 29, 2017

I marked what I said as Correct Answer, if that's ok? It helps for other people looking for the same solution.