Flash :: Communicate Between Two SWF Using LocalConnection Methode?

May 6, 2011

How can i communicate btn two SWF using LocalConnection methode (flash8)

View 1 Replies


Similar Posts:


ActionScript 3.0 :: LocalConnection - Communicate From One SWF To Another

Apr 23, 2009

I'm having a little issue with LocalConnection - trying to communicate from one SWF to another. From my main SWF I've loaded an external SWF of same dimensions ( effectively replacing the main SWF). What I wanted was then to re-load the main SWF, but rather than have the main SWF play from the start, I wanted to go to a specific frame instead (I used a frame label called "myMarker"). Thought LocalConnection was the way to go to achieve this. Gave it a shot and it all works well locally BUT when uploaded to server it doesn't work, but throws the following error:-

[Code]..

View 1 Replies

ActionScript 3.0 :: Using LocalConnection To Communicate?

Aug 19, 2010

I need dozens of AS2 Flash swfs I wrote to communicate with an AS3 swf. My code below is on the "wrapper" AS3 swf, which loads the lesson1_activity3.swf AS2 swf. This is then further nested into an Adobe Captivate-generated swf (that's what the rdcmndNextSlide method is for).

This configuration works the first time you see the wrapper/child swf together, but if you navigate back to the slide, the child swf doesn't load. I'm guessing that Captivate has all the objects still stored in memory, so it thinks I'm trying to declare var again, which I can't do. Is that it? Does anyone see the issue with my code that would make it work the first time the wrapper is loaded, but not subsequent times?

[Code]...

View 0 Replies

ActionScript 2.0 :: 2 .swf To Communicate (Localconnection)

Jan 2, 2007

i've got 2 different .swf files on a html page, with 1 of e .swf being e menu and the other being the content_mc. I've been researching on localconnection but did not manage to find out how i could get e menu to send command to the content_mc to load the respective content upon being clicked (for example, when user click "services" in the menu, content_mc.swf will automatically be updated with the services content.

View 6 Replies

Flash :: LocalConnection Between Swf Sending Delay & LocalConnection Sniffer Tool

May 6, 2011

The first one (FLEX application) sends a message on a dedicated LocalConnection to a second one (Flash application). The Flash then answers by sending a message on another dedicated LocalConnection. This message is not directly received by the FLEX and the delay is at least 30s, up to 1 or 2 minutes! It seems the issue only occurs with Flash Player >= 10 and it never occurs with Chrome.

I didn't find anything on the web concerning a similar issue nor something in Flash Player release notes. Did someone already have this kind of problem?

By the way, is there any tool that can be used to sniffer LocalConnection communications?

Additional information:

swf are located in different frames swf are embed with swfobject I tried to delay the Flash sending, I tried to create another LocalConnection dedicated to this call but I always had same result: for all calls, the FLEX method is called after the same delay. I also put a timer in FLEX to periodically log to see if there is no background process delaying the method processing but everything seems fine

View 1 Replies

ActionScript 3.0 :: TypeError: Error #1009 Kan Geen Eigenschap Of Methode Benaderen

May 1, 2010

TypeError: Error #1009 Kan geen eigenschap of methode benaderen via een verwijzing naar een object dat null is.    at Animatie2_fla::MainTimeline/frame1()
  
This is my code:
 
[Code]....

View 4 Replies

Flash :: LocalConnection And DOM

Nov 29, 2009

I have a Flash object on my site, which has this code:

this.ld = new LocalConnection();
this.ld.allowDomain("*");
ExternalInterface.call("alert", this.ld.domain);

It alerts my domain successfully. However, what I want is to access the HTML DOM through this using LocalConnection and not ExternalInterface directly.

View 1 Replies

Flash :: Passing Array Through LocalConnection?

Jan 11, 2010

I was wondering is it possible to pass an array through the localConnection in flash? My local connects connect my flash application with the javascript and passes variables between them.

View 1 Replies

Actionscript :: LocalConnection Works In Flash 10 But Not Flash9

Apr 24, 2011

The following code, which is pretty straight out of any Adobe example works fine on Flash 10, but when run in Flash 9, the sending connections onStatus event receives 'error'.

The expected behavior in this example is that the listeningConnection.ready method is invoked on SWF1. A demo of this can be seen on [URL]..

[Code]...

View 1 Replies

ActionScript 3.0 :: Flash Webpage Open Ruin Swf That Have LocalConnection?

Nov 8, 2010

I've used localConnection to build 3 swfs that communicate with one another. Everything works smoothly until i open another browser tab with any flash website. And those websites were built by me so i know they don't contain any localConnections.
 
Why is this happening and is there anyway to prevent it?

View 1 Replies

Flex :: Does LocalConnection In Flash Player Randomly Fail Sometimes

Jul 31, 2009

I have two flash movies communicating with each other using localConnection, passing an object from swfA to swfB. This seems to work fine, but will occasional fail. The only information we have is that the status event is fired with a level of error, there is no other information. Once a connection has failed it will continue to do so.

I don't know why it's happening but it is not a security problem (both movies are running on the same domain) and all communication is wrapped in a try..catch.

alternative method for communicating between movies? I've tried using ExternalInterface but it's too slow for the number of updates that are sent.

View 3 Replies

Actionscript :: Flex / Flash - Know WHICH LocalConnection.send Generated A Status Error?

Dec 6, 2010

Consider The Following Actionscript/Flex code:

[Code]....

Assuming I do NOT want to run the sends in series, but in paralell (all at once), as above, and further assuming that one, and only one of the send commands will generate a status event where level='error': ow can I detect which send command produced the status error?

View 2 Replies

C++ :: Communicate Between It And Flash?

Mar 18, 2011

Is there any way I can have an integration between Flash AS and C++? Let's say I have created a socket using C++ and multi-casting it to several ip addresses.

On one of the IPs I am running a Flash client. Can I receive the Multicast message (sent by MFC/C++ application) through my Flash application.

Or at least can I develop a Flash plugin (menu item) using C++?

View 1 Replies

Get Flash To Communicate With A Database?

Dec 18, 2009

I have written a flash program using AS3 which allows the user to build a picture of a product using a variety of options displayed in checkboxes. Very simply these checkboxes either make a layer visible or invisible in my flash movie and certain choices may change the list of options. This information is currently being supplied by XML. Once the user has built his product, I would like to be able to save his choices in a SQL Server database and also be able to download his options again at a later date and view these choices at the manufacturing plant.

So far I have tried using asp.net to write to the database and have got the information to the asp.net program by using the querystring, however there may be up to 50 options which does make a querystring rather unwieldy. Also I cannot seem to send back information from the asp.net page to my actionscript.Can anyone tell me how to do this or give me an example? I am supposing that I use the response.write function in asp.net but what command in AS3?I looked into the possibility of using a webservice but see that AS3 no longer supports this as all the functionality is in Flex. I have read about Flex but still do not understand whether

View 1 Replies

ActionScript 3.0 :: Communicate With C++ App In Flash?

Aug 3, 2009

How can you communicate with a c++ app in flash?

View 1 Replies

IDE :: Flash Game And Want Two Swf To Communicate With Each Other?

Jul 18, 2009

I am working on a flash game and want two swf to communicate with each other. I tried local connection but dont know why sometimes it doesnot work.

View 1 Replies

Flash :: Communicate Application With Server?

Jun 28, 2010

I'm trying to communicate my flash application with my server. Either the problem is my code is working on Flash Professional, but I have prepared all my interface on Flash Builder which uses Flex 4 -SDK. My code does not work on Flex Project.

[Code]...

View 1 Replies

Flash :: Communicate With Object From WebBrowser With C# .Net

Oct 24, 2010

I am trying to make myself a simple metacafe uploader, and I am using the webbrowser to do that. Everything was working great with loggin in, navigating to upload page etc... I used the HtmlElement and setAttribute/Invoke to click and set the text fields:

HtmlElement password = wb.Document.All["sPass"];
assword.SetAttribute("value", this.password);

Now I have a problem. To upload a video to metacafe, you first need to click on a flash button caleld Upload. There, a window appears to select a file, and after you press OK, the upload begins and you can enter the form information. My question is this: How can I enter the video file without seeing a popup window? Knowing that it's flash . Here is how the flash object looks: [URL] Above I copied only the part from the upload page that it's important to me. As you can see, a simple flash file appears. Now I want to simulate the click/enter of file without showing the file window.

View 2 Replies

Javascript :: Facebook Flash App Cannot Communicate

Nov 27, 2010

My index.php file loads the Facebook JavaScript SDK and the FBJS bridge:[code]When I run this file on my server, I can communicate with Facebooks JavaScript SDK either indirectly through ExternalInterface calls, launching various Facebook UI dialogs etc. And I can also use the facebook-actionscript-api to launch the same dialogs directly from ActionScript.When I however use this index file as my Facebook canvas url and load the swf in a Facebook iFrame, the communication crashes the application. I'm not sure how to debug this but I think it might have to do with crossdomain security. Any ideas on debugging and/or solutions are welcome.

View 3 Replies

Javascript :: Let Flash App Communicate With Server?

Jun 2, 2011

What's an easy and secure way to let my Flash app communicate with my back-end server?

The Flash app, which is a video player, should retrieve the person's username and send back an ID. How would I do this?

Note: Back-end is written in Javascript.

View 2 Replies

ActionScript 2.0 :: Communicate Through Sockets In Flash Mx?

Jan 21, 2003

it may be a stupid question what i'm going to ask, but i'll ask anyway ... just had an idea... is there a way i can comunicate through sockets in flash mx?

View 2 Replies

ActionScript 2.0 :: Using JS From FLASH To Communicate With The Status Bar?

Feb 28, 2005

The goal is using JS from FLASH to communicate with the status bar, so when flash nav buttons(mc) are active they send a text description to the status bar, like the title attribute in an anchor link. How would this be done?

View 7 Replies

ActionScript 3.0 :: Communicate Flash To PHP Then To Mysql?

Jan 13, 2010

i am trying to communicate Flash to PHP then to Mysql..

i have tried and tried but its still didnt work whereas i have cheked many many times about the script

View 14 Replies

ActionScript 2.0 :: Using Flash JS To Communicate With Status Bar?

Feb 28, 2005

The goal is using JS from FLASH to communicate with the status bar, so when flash nav buttons(mc) are active they send a text description to the status bar, like the title attribute in an anchor link. How would this be done?

View 7 Replies

C# :: Communicate To Flash Media Server From Browser Not With Swf

Aug 9, 2011

Cen i communicate to FMS from browser not with swf. For example - by javascript from user side or by C# from IIS server side.

I need to built a live chat application where the swf only get the live stream and show it to the user but all the other logic code that communicate to FMS will be not in the swf and not in some *.exe file.

I need this because this live chat appliction will have to work on apple ipad and iphone soon when FMS will be able to stream to those devices and i will have to abandon the swf anyway.

View 1 Replies

Actionscript 3 :: Methods That Flash Apps Communicate With Each Other?

Feb 3, 2012

I'm developing an interactive system where two client flash apps will talk to a third server app. The clients will be sending some status information to the server. I think I need two way communication...haven't decided whether the server needs to send back any acknowledgements yet.

These will be applications and not .swfs that run in a browser.So far the only method that I see are to make the server an AIR app (b/c AIR has a Server Socket class) and make the clients Flash projectors (b/c Flash has a Sockets class).

Are there other methods that I can use connect my apps together? These 3 machines will basically be living a few feet from each other and they will be on their own dedicated network.The machines will live within their own little private network. They won't be accessing the outside world.

View 3 Replies

ActionScript 3.0 :: Communicate Between Flash Movies On Two Different Machines?

Apr 7, 2009

I want to communicate between flash movies on two different machines. Is this possible? Maybe with Flex? Also, can you open a windows command prompt with flash and send it commands?

View 1 Replies

ActionScript 3.0 :: Communicate Flash To Php To Mysql To Get Data Back To Flash

Sep 11, 2010

Communicate flash to php to mysql to get data back to flash. Everything works fine but I found a really annoying bug. Problem: Depending on the URLRequest, I got to put www in the URL of the browser to make my flash work.

[Code]....

View 2 Replies

Actionscript :: Communicate With Website In Start Up Screen In Flash?

Mar 23, 2010

Does anybody know a way for a swf file to communicate with the site its placed in. What I mean is I have a flash file with a start up screen in it, which has a tick box saying "Don't show this screen again" which skips to the sites content when tick, the same as what some adobe applications have when first started up. I think this might be able to be done using sharedObjects? But what I can't do is re-activate the start up screen from outside of the flash file. Is sharedObjects the way to go?

View 1 Replies

Ios :: Can An IPhone App Developed In Flash CS5 Communicate With An External Server

Sep 9, 2011

With normal Flash SWF's I use URLRequest to communicate with external servers/sites to send/retreive data from a database - pretty standard stuff. But can iPhone apps published from the CS5 environment communicate with external servers/sites?I'm still organising my development license for the iphone, so want to check before I fork out the money for the registration.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved