header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
daisy_dooookes
Points:0
Posts:0

8/17/2010 10:48:59 AM

Title: swf talk to another swf


how can i get an swf to talk to another in the same pg?? pleeeaase help



1
Dave
Points: 970
Posts:1
8/17/2010 11:49:00 AM



the simplest way would be to use ExternalInterface in actionscript with javascript to communicate between two flash files . Its like

Flash <--> javascript <--> Flash

The other way around is to use local connection . Using local connection you can communicate directly without using javascript

2
daisy_dooookes
Points: 0
Posts:0
8/17/2010 11:59:46 AM



thanks. i dont have any reference to local connection in my books... do u have an e.g??

3
daisy_dooookes
Points: 0
Posts:0
8/17/2010 12:01:29 PM



do u also have an e.g of external intrface with the js ???

4
Troy
Points: 820
Posts:0
8/17/2010 12:03:01 PM



check this example of local connection

http://learn.adobe.com/wiki/display/Flex/Local+Connections

5
Dave
Points: 970
Posts:1
8/17/2010 12:22:28 PM



Local connection is very old in flash.See this localconnection example

http://www.igorcosta.com/flex3/doc/flash/net/LocalConnection.html

for externalInterface you can check this
http://blog.alastairdawson.com/2007/05/11/calling-javascript-from-flex-with-external-interface/

you can google and find many good examples


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions