Actionscript 3.0 :: LocalConnection Send Info Back AND Forth?

Mar 31, 2011

I have two swf files that I would like to communicate back and forth. Currently, I am able to get the LocalConnection to work one way.

But I'd like to have the 'Receiver' send info to the 'Sender' and back again and again.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Send Info To Back To A Webpage?

Jun 9, 2009

I've been using flash vars to send info (such as numbers) into a swf file. I need to send info back to the webpage. something as simple as a interger (maybe, send as a "GET", like in a forum) if you could give me some sample code, or some keywords to look up

View 9 Replies

ActionScript 2.0 :: LocalConnection - Remote SWF Sending Back Value Twice

Nov 18, 2009

I've got a problem with the LocalConnection. I've got 2 swf's and I call one to get a value which then sends it back to the first. It's working, but it seems like the 2nd swf, which is called remote.swf, is sending the value back to the player.swf twice. I've pasted the codes form each swf below. The first is the player.swf which is asking for the value, and the second is from remote.swf which is generating the code:

ActionScript Code:
var comPlayLC = new LocalConnection();
comPlayLC.send("rpLC", "received");
comPlayLC2 = new LocalConnection();
comPlayLC2.received = function(val) {
info = val.split("|");
[Code] .....

View 3 Replies

ActionScript 3.0 :: Send Bitmap Data Via Localconnection?

Aug 4, 2009

I am working on somethign at the moment which allows a user to use a local connection to send and receive bitmap data. But I am havign a slight problem. Ok so at the moment I am using code from the bytearray live jpeg encoder to encode bitmap data as jpeg and then send it on to another swf opened at the same time when I click on an mc in the send swf.

So here is my code:

ActionScript Code:
// CODE INSIDE OF SENDER
var localConnection:LocalConnection = new LocalConnection();
import asfiles.encoding.JPEGEncoder;

[Code].....

But what ends up happening each time is that it seems to draw only the bottom right quadrant of the mc I am targeting. As shown by the screenshot I have provided. When the user clicks the first of the blue buttons it should send the whole bitmap.

View 4 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

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back Random Selection To Php?

Nov 16, 2010

I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.

I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.

View 2 Replies

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back A Random Selection To Php?

Nov 16, 2010

I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.

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

Flex :: Send Info From A 3 Component?

Aug 9, 2010

I'm using Alex Uhlmann's flip card class (Distortion Effects). I've got a card that has 3 faces. When the user clicks the button, it fires a change event, and in the main application, the change event calls a function, flipTo, that flips the card. The component is below:

[Code]...

View 1 Replies

ActionScript 2.0 :: Send Info To GetURL?

Jul 14, 2010

I have a get url code to activate a lightbox which works perfectly.

ActionScript Code:
sample_link.onRelease = function  () {
getURL("javascript:openShadowbox('ww.example.com/video.flv','Player',Title','videos','640','360')");
}

I have several different videos I want to lightbox. Rrather than having several instances of sample_link for each video; I want just once instance, where the getURL is changed by a separate button .

ActionScript Code:
sample_link.onRelease = function  () {
getURL("is equally to X");
}

[code]....

View 4 Replies

ActionScript 2.0 :: Send Info To Database Via .asp?

Jun 9, 2004

I am trying to get a .asp example file from an actionscripting book to work, but it keeps telling me that there is an error trying to open the .asp page on my server.I uploaded the .asp file, and the access file onto my server, but it is not communicating.Are there any browswer settings or web-hosting settings I should be aware of before I try to send and receive information from a database? Also, I eliminated one variable. In another document, I was able to pull information from a text file from my web server without any problems.

View 3 Replies

ActionScript 3.0 :: Pass Back Info To Html / Asp?

Oct 7, 2009

Essentially, can one swf on a page pass info to another swf on the same page (ie swf1 --> jscript --> swf[2,3,4]  or swf1--> swf[2,3,4]??)

Given a web-page of somewhat standard design (menu options and a content area) where the menu options are individual swf is there a mechanism for letting the parent client know that a particular swf AS3 has received input?

Been puzzling this for a while. No F1 has turned up anything nor have general or forum searches. Didn't come across any output PARAMs (ala MS-SQL T-SQL). Did I miss them? NavigatetoURL() seemed possible but that either opened a new window (default) or using "_parent"  just wiped out the current window contents completely. Using _parent with <framesets> pretty much resulted in the same wipeout.

View 1 Replies

ActionScript 3.0 :: Use As3 And Php Together To Send Form Info To Email

Jun 15, 2008

i have about 10 fields most input text boxes and then about 4 check boxes...i have no clue how to use as3 and php together to send the form info to an email.

View 1 Replies

ActionScript 3.0 :: Send Info From Loaded Swf To Parent?

Jul 17, 2009

Making the move from AS2 to AS3 and need a little assistance/guidance.

In AS2 I have been using the below to send instructions to parent[code]...

View 2 Replies

Flex :: Different Flex Swf's To Send Large Blocks Of Data Between Each Other Without Localconnection?

May 25, 2011

Is there a way for different flex swf's to send large blocks of data between each other without using localconnection which is size limited or using sharedobjects. This needs to happen on the client without server communication.

View 2 Replies

Data Integration :: Web Services Component - Cannot Get Info Back

Jan 18, 2007

I am new to web services in flash. I am running Flash 8 and am attempting to use the Web Services component. I have defined my web service, bound to text fields on my form. Every thing works fine when I test the movie. Data is returned as it should. But when I put the movie on the web and I try to get data back, I get nothing.

View 2 Replies

ActionScript 3.0 :: Send Info From Submit Button Through Ext File?

Jul 12, 2011

I have a submit button created in an Actionscript file. I want to send data when user clicks the submit button(never mind how the data is sent-I just need to check the event listeners). I tried placing an event listener for the button in the AS file like so: I'm getting an error about undefined method,blahblah so I tried going through the main timeline. Go to frame 146(labeled "this"). myform creates instance of class formtest; subbtn is the name of the button created in the formtest.as file. how the heck do I remove this form when user exits frame?

View 2 Replies

ActionScript 2.0 :: First Time Attempting To Send Info To Database Via .asp

Jun 9, 2004

I am trying to get a .asp example file from an actionscripting book to work, but it keeps telling me that there is an error trying to open the .asp page on my server.I uploaded the .asp file, and the access file onto my server, but it is not communicating.Are there any browswer settings or web-hosting settings I should be aware of before I try to send and receive information from a database?Also, I eliminated one variable. In another document, I was able to pull information from a text file from my web server without any problems.

View 3 Replies

ActionScript 2.0 :: Activating Button In Send Info To PHP Order Form

Sep 13, 2009

I'm trying to finish off a Flash menu that was done for my website & I'm a bit stuck - New to this game. Basically I have a menu made up of 5 items, each item leads to another list which has a "datefield", "nemericstepper" & "order" button. what I am trying to achieve is when the "order" button is pressed the "date" & "number" information is sent to my existing order page, customers details are then entered in the required fields & this is sent including the "date" & "number" via my existing PHP script to my email.

View 0 Replies

ActionScript 3.0 :: Make Form In Flash To Send Info To Php By Post / Get?

Jun 30, 2011

How can i make form in flash to send info to php by post or get ?[code]...

View 7 Replies

Flex :: Send Info Using USLStream From Flash Client To JAVA Server?

Jul 18, 2010

I am trying to send info using USLStream from flash client to JAVA server.Some of the info is Chinese so i have to use Unicode.

View 1 Replies

ActionScript 2.0 :: Mail Form - Cannot Send Info From Input Boxes To Email

Dec 9, 2005

I created a funky mail form and i can't seem to send the info from the input boxes in my flash file... to the PHP script, stuff it into an email, and then send back a success or error response. I am attaching the FLA and PHP files as well as the external .as files that are needed for the FLA's effects to work. [URL]

View 1 Replies

AS2 :: CS3: Send Back To Previous Depth?

Dec 9, 2008

I've got a bunch of movieclips lying on top of each other like a stack. When you click one, it slides out, and comes forward. When clciked again it goes back and slides back into the stack.inside the movieclips iv'e placed:

Code:
this.swapDepths(1);

along the timeline at a spcific frame.I need to make it get the same depth value as it had before I clicked it when it goes back. Basicly:

Code:

this.swapDepths(same-as-before-the-swap-to-depth-1);

I guess I need som kind og listener to logg the changes made...

View 1 Replies

ActionScript 3.0 :: Send To Back Code?

Mar 18, 2009

I need to write actionscript for a code so that when I place two graphics on one another when I click them they go to the back, that way I can click them and they will alternate. How do I do this?

View 19 Replies

ActionScript 2.0 :: Send To Back A Movieclip?

Jun 28, 2010

i have searched on the web and i haven't found anything that works.

How can i send to back a movieclip by actionscript?

View 2 Replies

ActionScript 2.0 :: Can't Send Movieclip To Back?

Aug 22, 2005

I've got some movieclips where everytime when you click on one, that movieclip has to be send to the back.Most logic solution is MovieClip.swapDepth(1), so you swap with the movie wich is at the lowest depth, but for one reason or another, this results in the movieclip jumping to the front.An examplefile is in attachment.this is my script:

mc1.onRelease = function() {
mc1.swapDepths(1);
};[code].....

View 7 Replies

ActionScript 2.0 :: Send To Back Or Front?

Jan 31, 2006

I need to send back or bring to front a movie clip thru actionscript??

View 2 Replies

IDE :: Bring To Front /send To Back

Mar 5, 2008

I've developed a website and on the home page there is a series of css/ javascript dropdown hyperlinks. Some of these hyperlinks display a popup menu of further links on mousemover. Immediately below the hyperlinks is a small flash movie.

The problem is, when you mouseover the links and it displays the popup links, the flash movie appears OVER the drop links.

Is there a way I can either send the flash movie to the back using some kind of 'send to back' option like there is in dreamweaver? Surely I don't have to restructure my page to allow for this?

View 1 Replies

ActionScript 1/2 :: How To Send Back A Movie Clip

Sep 4, 2010

If there is a movie clip over another one i want the first one to go back, but I don't know how to do it when the project is running.

View 1 Replies

ActionScript 3.0 :: Send Child To Back Of Z Order?

Jan 8, 2010

I know how to get it to the top but I can't figure out how to get the child to the back

View 2 Replies







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