ActionScript 2.0 :: (MX) Sending Data In And Out From SWF

Dec 1, 2002

I have an swf called main.swf. from this movie I want to send some data to sub.swf which runs whenever any button on the main.swf is clicked. I want to use the data from main.swf to sub.swf. My query is how can I send the data from main.swf & how to get it in sub.swf. I tried using loadMovie & getURL function but dont know how exactly to use...

View 2 Replies


Similar Posts:


Data Integration :: Sending Data In Flash To External Text File

Apr 9, 2007

I will be creating a program to use for data entry. I'll be studying zebras in kenya and I won't have the internet there as I'm recording the data. I'd like to be able to send the data I generate in flash to an external text file. I understand I need some sort of script to do that, but is this something I can run just on my machine? (I'll probably make the data into xml format).

View 1 Replies

Flash :: Data Integration - Sending Data For Saba Publisher

Apr 10, 2007

I have an interactive Flash simulation that I have imported into SABA Publisher. I need for the Flash file to communicate with SABA, basically returning that the user has successfully completed the simulation. SABA is supposed to be able to receive data from Flash.

View 2 Replies

Flash Cs 3 Sending Data To Php

Mar 12, 2009

I am having trouble on sending my data to the php..I am using flash cs 3 and the code is what I copied from a site. here's the code.[code]I pasted this code to the button named 'submit' and when I checked the script for errors, my script has an error! it says:Statement must appear within on/onClipEvent handler and I don't know what does it mean I am just newbie in flash cs 3.

View 1 Replies

ActionScript 3.0 :: Sending Data To PHP

Oct 26, 2010

I am working to send data from as3 to php and I am having a little trouble with it. I am new to both AS3 and php but at this point I think I am doing fine.The project is simple it just takes two values from as3 and send its to php. But apparently I am not able to send variables from as3 to php. Here is the code(its very simple code):[code]I am sure the insert.php is working as I hardcoded the values in insert.php and it inserts the rows. So, I am assuming that there is some problem with sending the data from as3 to php.

View 2 Replies

Php :: Sending And Receiving Data?

Feb 28, 2012

Not getting data back into flash from php that queries mysql data, think the problem is with my as3 code here?The php works, the as3 posts to the php ok, its the returning of the variables to as3 that I am unsure about and seems to be the problem?

public static function MineData():void{
var myRequest:URLRequest = new URLRequest("login.php");
var myLoader:URLLoader = new URLLoader();

[code].....

View 1 Replies

ActionScript 2.0 :: Sending Some Data To PHP?

Apr 4, 2008

how to send out some data to a PHP file. I have a project set up already where you vote for some options and that sends, but now I need to add some input text fields for people to enter some personal information. What I have right now are two fields with the vars of "name" & "email"And here's the code that is sending out the information to the PHP file:

Code:
submit.onRelease = function():Void
{
sendVars();
_root.gotoAndStop(2);
}

[code]....

I've tried a couple of different ways but so far all of them failed, they included creating another function like the "sendVars" function to send with the submit button and I also tried placing some code into the "sendVars" function relating to the "name" & "email" vars.

View 6 Replies

ActionScript 2.0 :: Sending Data To A Var?

Apr 6, 2008

I made a flash file were people can fill in there name and then press enter and lateron there name will be visable in a other textfield with in the clip.Now i made the following script in frame 1:

Code:
enter_btn.onPress = function() {
if (input != undefined && input != "" && input != "fill in please"){
email = input;
gotoAndPlay(2);

[code]....

this works great, 'input' will bring the filled in name too the textfield with the var called 'email'.Now i moved the 'email' var within a different movieclip with a instance name of form.When i fill in the name in the beginning the 'input' var and 'email' var are not communication nomore. How can i make sure 'input' will give the data to the 'email' within the other movieclip ?

View 2 Replies

ActionScript 3.0 :: Sending The Form Data?

Mar 25, 2009

I need to make an Odometer and the user can adjust the numbers and once they select their klm reading it needs to be sent to a PHP to sent it to a database. I am having trouble finding a way to send the data. Is it possible to make a "field box" and what ever number is in the box when you push submit sends to the php?

View 1 Replies

Sending Data From Flash To Php To Database?

Mar 28, 2009

how to send data from a flash to a database and how the receive it aswell. Im presuming you pass the data from the flash to a php file to the database when sending and call the data using a php file to the database aswell. What im trying to do is just have a button that will increment a number in a database by 1 and then display that information on a different Frame within the flash later.

Basically what i want to do if have a button pressed to increment a number in a database.

View 6 Replies

ActionScript 3.0 :: Sending Data In XML Format To Asp.Net From CS3?

Apr 2, 2009

I need to send SQL statements to Asp.Net2 page from Action script 3.0 and i successed in doing that(thx to me OJM) but i need to secure my data and i need to send it in an XML format and recieve the results in an XML format and my problem now is how to send the data in an XML format where when i write the tags of the XML and send it in the URL variables it refuses and reports an error opening URL and when isend the SQL statements not in XML format it accepts it and recieved in the Asp page and i parse it and then return the result and i got it from the CS3 but my problem now that i need to send the data in an XML format can

View 1 Replies

ActionScript 3.0 :: Sending Data To Web Service

Apr 7, 2009

I need to access the database using web service through CS3 i have tried accessing the database using Asp.Net page and it successed when i change just the URL of the Asp page and replace it with the web service URL it reports to me the follwoing error: Error opening [URL] Load failed: HTTP Status = 500 Load failed: IO error: Error #2032: Stream Error. [URL]

and this error elimnates when i request the web service and not sending data in the URL as i send SQL query through URLVariable as follows: var variables:URLVariables = new URLVariables();variables.SQLQuery = "select * from Employee"; this code working with the .aspx page but when i use the web service it reports the previous error inspite the code written in web service is the same in the .aspx page.where in the web service i call a function in the constructor of the web service and this function gets the data from URL and then execute it as follows : if (HttpContext.Current.Request.Form["SQLQuery"] != null)

View 6 Replies

ActionScript 2.0 :: Sending Data From A Form?

Apr 20, 2009

The problem is that I have an input form (with an instance name of 'form'). Its for a newsletter sign up to [URL] All I need is for when you click on the sign up button, it sends the data in the form to a webpage (which is [URL] <- that is actually an example, but the link is pretty much like that.

View 1 Replies

ActionScript 3.0 :: Sending XML Data From 1 Class To Another?

Jan 8, 2010

I am building an APP and have a movieclip(loginScreen_mc) on stage which has a linked class. This class (login class) recieves some xml data and then tells the parent swf (parent.loginScreen_mc) to goto next frame which has a movieClip on it and yes this movieclip has a linked class (case class).

how do i send the xml data recieved in the login class to the case class. I tried to send it to the case class's constructor fn but it doesnt like that.

View 5 Replies

Data Integration :: Sending Variables To PHP?

Jan 21, 2007

I am working on the contact form for a website that is done entirely in flash. The following is the code I have for sending the variables to the emailForm.php script that I created. The only problem I'm having is that everytime you send the contact information, a new web browser window opens up (it opens the php file in the web browser). I'm testing this on my local server and it works great, except for the fact that everytime I send it, I dont want a new browser window opening up.

View 1 Replies

ActionScript 3.0 :: Sending Data Using PUT Not POST?

Jun 18, 2009

Im trying to send data to a REST service. I able to send data useing 'PUT'  or does it have to be with 'POST?

View 1 Replies

ActionScript 3.0 :: Sending Data To Php Script

Mar 29, 2011

I have created a learning module in Flash CS5, using AS3. The user clicks through a series of pages, selecting radio buttons...at the end they click a button which sends their results (their answers) to the server which prints out a web page (using php) showing their answers and any feedback for them. So it's Flash to PHP However, I'm getting an error in Flash when I try sending the data to my complicated PHP script. So I replaced the PHP script with a very basic phpinfo() script - which I tested, and works normally in the browser.

When the user now clicks the button in Flash absolutely nothing happens, no browser window is opened, and no output is produced by Flash. I have even tried uploading the flash file to the server WITH the php script and it just loads and loads and loads, seemingly forever once the user clicks the submit button...what the heck!? It's just trying to send the data to a simple php script.. Anyway, the following is my AS3 code and then the error I get when I try to use the complicated script that actually processes the variables sent to it.

[Code]....

View 12 Replies

ActionScript 3.0 :: Sending Data From Flash To PHP?

Nov 14, 2011

Anybody knows how to send the data from flash and catch in php scripts?

View 3 Replies

ActionScript 3.0 :: Sending JPG Data To Server

Feb 8, 2012

I have a project, that sends JPG data to server. 3 hours ago this script was working fine. Here is the as3:

switchToLooking();
content.bgr.visible = true; //SETS WHITE BACKGROUND
var jpgSource:BitmapData = new BitmapData(273, 414);
jpgSource.draw(content.content); //ACtual movieClip that I'm sending as bitmap data
var jpgEncoder:JPGEncoder = new JPGEncoder(100);
[Code] .....

The problem is - $GLOBALS["HTTP_RAW_POST_DATA"] is not set. I'm just not receiving any jpg data. But $_POST has 200 indexes. I know that it sends correct bitmapData, because I tried adding it to stage and it worked. And I know, that the request is reaching the server, because I get the right response. But I don't know, what the problem is. Maybe there is any other approach at the php side?

View 1 Replies

Professional :: Php Form Not Sending Any Data?

Feb 10, 2012

My contact form is not giving out any data to my e-mail.I'm using two input feilds with instance names as theEmail and theMessage on my action script from which data for the sender's email & the message will be retrieved.Here is the action action script code i'm using -

snd_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
 
function fl_MouseClickHandler(event:MouseEvent):void
{[code]......

View 11 Replies

Php :: Sending Image Data From Flash To GD?

Oct 26, 2010

If i send bitmap data from Flash AS3, to PHP and then PHP turns the bitmap data into a image file and saves on server... Would it take too much resources?I mean, The Bitmap Data could contain too much pixels etc does that affect the resources? If 10-100 people send data simultaneously is it going to cause problems.

View 3 Replies

ActionScript 2.0 :: Sending/receiving Data From An API?

Aug 4, 2009

We are thinking of adding a feature to a main page of a flash site that I will be building shortly, but it requires sending data out to an API where it will be processed and send back to Flash.The form will need to post a number of variables to a URL and then interpret the response code.. is this possible in AS2?

View 9 Replies

ActionScript 3.0 :: Sending Data From Banner To PHP?

Nov 13, 2009

I need to make banner that will count number of click and send that data to php.If somebody has done this or have some expiriance on this subject I have build once traffic countig flash webpage so i have some expiriance only need some info how to send that data to php.

View 0 Replies

ActionScript 3.0 :: Sending Multiple Data To PHP

May 2, 2010

i have an application where im sending and receiving data from as3 to php. But it only sends a single set of record from AS to PHP. Is it possible to send multiple records from AS3 to PHP?

View 5 Replies

ActionScript 3.0 :: Sending XML Data With Load?

Nov 24, 2010

Right now I have a nice little script for loading data from a php page. How can I go about sending data to the page before loading data back? I'd like to send some posts to the php file which will determine what data is retrieved.

ActionScript Code:
var userXML:XML;
var userLoader:URLLoader = new URLLoader();
userLoader.load(new URLRequest("savexml.php"));

[Code]....

View 1 Replies

ActionScript 2.0 :: Sending Data To Server?

Aug 1, 2004

this is the first time i've used flash to send data to a server. what i'm doing is sending input form data to a coldfusion mail page. check out the syntax that is causing the problem.

stop();
emailAddress_txt.text = "join the mailing list?";
var emailAddressData:LoadVars = new LoadVars();

[Code].....

View 1 Replies

ActionScript 2.0 :: Sending Data Via ASP And Then Viewing

Sep 10, 2005

I have just downloaded the tutorial on Flash Forms and Database Integration and I want to display the enterend first and last name from the just entered entry in ASP in a SWF and then view all entries in database on the SWF. I actually know ASP but all my attempts in doing this have failed.

View 2 Replies

ActionScript 2.0 :: Sending Data From Flash To ASP?

Oct 4, 2005

I am making a flash sign up form that sends the input data to ASP then to the database. In flash I have put input text boxes with variables like email and username etc. Now on my ASP page I have:

Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Path=Server.MapPath("DATABASEname.mdb")

[code]....

But its just not getting from ASP to the database. It might be that the ASP is not reading the flash input areas right. Heres the code for sending the data to ASP

Code:
loadVariables("signup.asp", [POST]);

It just doesnt work I have tried for hours but nothing happens

View 10 Replies

ActionScript 2.0 :: Sending Data Via PHP To XML Woes?

Nov 24, 2005

bascially all I am making is a console where someone can edit XML data. I've been working off the great tutorial for a flash XML news service but i've got a bit lost with it and I can't get my program to save the data. It reads it from the XML fine but there's some link lost between the Flash and it saving the data. Here's my code and i've attached my working files. all my main code:

Code:
function loadXML(loaded) {
if (loaded) {

[code].....

View 5 Replies

ActionScript 3.0 :: Sending Data From Loaded Swf?

Jan 29, 2009

swf file A gets loaded into swf file B. swf file A allows a user to sign up for a promotion which uses URLLoader to send data out to an external domain. the external domain has a crossdomain.xml file which does get loaded, but I continue to get Security Sandbox Errors.Is it allowed to send data from a loaded swf file (swf file A) to an external domain?

View 1 Replies







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