ActionScript 2.0 :: Transferring Data From One Page To Another?

Sep 27, 2002

I have 2 radio Buttons in a group called train1.

I am trying to carry the label of the selected radio button to a dynamic text field on another page(frame).

I have tried this

function onClick(btn) {
if (btn == submit_btn) {
getResults();

[Code].....

View 1 Replies


Similar Posts:


Data Integration :: Form Component Not Transferring Data To CF?

Apr 11, 2007

some feedback onthe following. I'm stuck. I have a form that I can get to workusing text input fields, but I need to get it to work using thecomponents.I have a flash form with the following:

prmZip instance: text input box
prmMilage instance: combo box
prmUnita instance: data= Mi, label= Mi

[code]......

View 3 Replies

ActionScript 3.0 :: Transferring Data From One SWF To Another

Nov 15, 2010

How I should go about coming up with a program in action script 3 that can transfer data keyed in one swf file to another. Basically all I want is to key in a name in the 'y.swf' file when it plays in the browser, and when I click on submit another swf (z.swf)opens in the browser saying 'You keyed in '***'. The value keyed in the 'y.swf' file should be tranfered and stored as a variable in 'z.swf'.

View 3 Replies

IDE :: Transferring Xml Data To Swf Across Domains?

Jun 21, 2009

I just recently created a news ticker using the tutorial on Kirupa; however, I have not been successful at getting my xml data to show up on the news ticker. I have my xml file stored on and my website will be stored on Savannah State University's server. I do not want to have my xml file on the same domain as my website because it will be on my school's server and they don't allow access to their server. I want to be able to update the news ticker freely.

View 5 Replies

ActionScript 3.0 :: URLLoader Keeps Transferring Data

Sep 14, 2010

All Im trying to do is post firstname, lastname and emailaddress from a form inside my swf to a php file and then get that php file to return a result back to my swf.

First of all i tried using external interface to handle this because the server its going to run on doesnt support PHP.

I had the SWFgrab the data from the text fields, pass the data to JS through external interface, then the JS would use jquery AJAX to execute the php file, then the JS would grab the results from the AJAXd div, then pass the data back through to the SWF. It was a bit of a circle jerk but it worked.

However, the PHP script that needs to be executed in a different domain as the SWF. I forgot that this would cause an issue. I then tried to setup AJAX crossdomain policies, but this is going to be a reasonably high traffic site and i felt that the proxy options that i found were kind of slow.

I realised that what id been doing so far was probably over complicated anyway. So, i went back to basics and thought id try using the URLLoader to load in the php file as a string. I setup a crossdomain.xml file on my server that will be hosting the PHP and used the loader to grab the PHP file.

This works fine, all the PHP does is echo out 3 comma separated values which i then split into an array and use in my SWF. I get the values no problem. However, my status bar in firefox keeps saying that its still transferring.

Ive tried telling the PHP script to 'exit();' after its echo'd out my results. Ive tried telling the URLoader to .close(); when its grabbed the data, neither of which stop it from transferring. Im also using the web debugging proxy 'Charles' and that says that the connection opened and closed successfully, but firefox still says that its transferring.[code]...

View 3 Replies

ActionScript 2.0 :: Transferring Data From Domain At Bottom Of Browser?

Jan 16, 2009

I am using the loadVariable method of the MovieClip class to load some data. I have a question about the "transfering data from domain" message I see at the bottom of firefox for a page that has this swf loaded in. The load variables call obviously complete very quickly (the output is just h=1&d=1, or something as short as that) but the transfering data remains the entire time the page is in the browser (like half an hour later, etc).

View 1 Replies

Flash :: Data Integration - Post Data (values) To Aspx Page

May 26, 2006

I have form in flash with input text fields with Var field set to t2_2 t3_2 t4_2... what i want to do when user enter values and press buton it should post data(values) to aspx page - how can i do that ? i saw what i did

[Code].....

then i can access t2_2 value on aspx page, so what shoul i put before getURL so it will set values from texboxes

View 2 Replies

Data Integration :: Loading Data From Php Page Into StartLoading();

Aug 10, 2008

Loading data from the test.php into the startLoading();

How do I load the data from test.php "echo $photo_out;" into the startLoading();

loadVariables("test.php", this, "POST");
infoField._visible = true;
startLoading(test.jpg);

[Code]....

View 16 Replies

Professional :: Transferring CS5.5 To CS5?

May 25, 2011

I started this school project on a CS5.5 but my school only has CS5 not CS5.5 and i'm trying to transfer my files on CS5.5 to CS5. Is there any way to do that or is it just a lost cause?

View 4 Replies

Professional :: Transferring Color Variable Changes Its Value

Nov 23, 2010

I have two variables:
var defaultMainHexidec:Number = 0xFFFFFF;
var mainHexidec:Number;

If a value isn't assigned to mainHexidec I assign the default value as follows:
mainHexidec = defaultMainHexidec;
trace("mainHexidec = " + mainHexidec);

The trace returns the same value as the value returned when tracing the defualt value. But if I use mainHexidec as the fill for a rectangle, the color is black while the default value is white (or any other color). If I set the color using the default variable the fill appears correctly. If I set the number using the number traced in either defaultMainHexidec or mainHexidec (it traces the same number) the color is correct.

View 5 Replies

Actionscript 3 :: Transferring A JPG Between Two Flash Files?

Nov 25, 2010

I haven't started work in this yet, however I intend to and would like to know the best method.There will be two screens,each powered by a separate machine.I want to be able to move the image off one screen and it appear on the other (machine 2).The image will be captured from a webcam on machine 1.The first idea I had was convert the image to a string, pass the string to the flash file on machine two, decode and display.Is this possible, or is there built in function in flash or as3 that would would recommend, or even a different method?

View 2 Replies

ActionScript 3.0 :: Transferring Elements From One Vector To Another

Oct 6, 2009

I have function that's used to transfer elements from one vector to another. The problem is that I need to use this function to transfer data from multiple pairs of vector with each pair having a different data type. I tried this but it came up with an error.

ActionScript Code:
function addToVector(dataType:Class, vect:Vector.<dataType>,
baseVect:Vector.<dataType>):void {
for (var i:int = 0, l:int = vect.length; i < l; i++)
baseVect.push(vect[i]);
}

I've also tried this, but then flex says it doesn't recognize the vector class.
ActionScript Code:
function addToVector(vect:Vector.<*>, baseVect:Vector.<*>):void {
for (var i:int = 0, l:int = vect.length; i < l; i++)
baseVect.push(vect[i]);
}

This failed too
ActionScript Code:
function addToVector(vect:Vector.<Object>, baseVect:Vector.<Object>):void {
for (var i:int = 0, l:int = vect.length; i < l; i++)
baseVect.push(vect[i]);
}

View 2 Replies

ActionScript 2.0 :: Transferring One Flash File To Another?

Aug 3, 2010

I have baiccly made a dress up game , but i have kinda of done it backwards and i have made the 2nd scene the 1st one

The boy side of the dress up game wasin the 1st scene and i have made the intro screen the 2nd one so you can chooseif you want to dress the girl or the boy. the only thing is that the girl dress up is in a completely diffrent flash file/project. I thought of the intro screen at the last min, was just going to have to seprate games girl and boy.

Buti would like to transfere the girl one to the boy one, so i can do my as for my girl button, but i dont know how to do that as well as keeping all my as in all my converted symblos and everything

View 1 Replies

Actionscript 3 :: Transferring Flash Project From Mac To Windows

Dec 9, 2010

I have a .fla on my Mac that I created in Flash cs5. I saved it as a cs4 file and sent it to a friend who has a Windows machine.

I have a symbol linked to an AS class which has symbols inside of it which have instance names. The constructor of the class refers to these instance names. When I compile, everything works as expected. When my friend compiles, he gets compiler errors telling him that the instances mentioned above are undefined.

Checked to make sure that we had the same source path Made sure that the symbol in the Flash IDE has the correct linkage Tried compiling the .fla with cs4 on my machine. It works, which is what makes me think it's a Mac/Windows issue.

View 1 Replies

ActionScript 3.0 :: Transferring Values From One Class To Another Via DispatchEvent?

Nov 9, 2009

transferring values from one class to another via dispatchEvent.

main.fla
code/main.as (Doc class)
code/game/card.as
code/game/board.as

I can communicate an event between any of them fine using a dispatchEvent and addEventListener, and I can get values from the card & board actionscript files into main.as using e.target.*

However for some reason I just cannot get a value to send from main.as to the card or board classes using this same method. And I'm literally stumped as to why.

View 6 Replies

ActionScript 3.0 :: Flash: Transferring Loaded Object From One Class To Another

Feb 27, 2010

I'm using flashDevelop for an avatar creation engine. I have a movieclip(class) called body_view which is structures like this : body_view -> 10 visual body components -> each component needs to have a jpeg loaded Then there is a body_model class which is extended from the body_view class and is responsible for all loads/saves/interactions now body_model class is as follows: body_models -> variables holding (values) -> populateView (function)

Now through the populateView function I need to populate the components of body_view but the issue is if I load a jpeg/swf on a function it comes on stage. I do not want it on stage I want it in its perticular place in the body_view

View 3 Replies

Actionscript 3 :: Flash: Transferring Loaded Object From One Class To Another?

Feb 27, 2010

I'm using flashDevelop for an avatar creation engine. I have a movieclip(class) called body_view which is structures like this :

body_view -> 10 visual body components -> each component needs to have a jpeg loaded

Then there is a body_model class which is extended from the body_view class and is responsible for all loads/saves/interactions now body_model class is as follows:

body_models -> variables holding (values) -> populateView (function)

Now through the populateView function I need to populate the components of body_view but the issue is if I load a jpeg/swf on a function it comes on stage. I do not want it on stage I want it in its perticular place in the body_view

View 2 Replies

Banner Ads - ClickTag And Transferring Variables In Query String

May 4, 2010

Is there a standard way to send variables through a banner ad? A client wants a banner that lets the user enter his mobile number, then receives a code by sms, and then enters the code into the banner. If the code then validates, the user is sent to a page with a login form with the phone number and code filled in. It must be possible to add the phone number and code as parameters to the clickTag somehow? I found that Adform supports using ";cppar=1&" and then variable=value pairs, but is this a standard, or a special feature of Adform?

View 1 Replies

Actionscript 3.0 :: Zend AMF Call Isn't Transferring To Client Server

May 7, 2010

I have a client that I am going live with so I am transferring their website from my web server to their web server. Using Zend AMF, I am calling a database that reads perfectly when I point to it from my server but it doesn't work when I call the database from the client's server. In both instances, I am pointing to the same absolute path to my boot strap (on my web server). I don't understand what the difference would be.

View 2 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 1/2 :: Get Data From Asp Page?

Jun 15, 2009

I need to get data from my asp page (example.asp) into flash. This url gets me exactly what I need:
 
myXMLvariable.load("http://www.domain-name.com/example.asp?NID=396");
 
But that works only for the childnode with number ID (NID) 396. How do I format my actionscript to get this page by using the NID which changes depending on the button selected in Flash.

View 4 Replies

Flash :: Send Xml Data To Php Page?

Mar 24, 2011

I want to send xml data to php page

my xml in flash is that for examle:

<level id="1" mark="10"><page id="12">HI..</page></level>

i send it,but at the URL i see this:

../inex.php?xml=<level id=1 mark=10><page id=12>HI..</page></level>

without double qout....!!!!

so i can't read this xml with simplexml_load_file() function in php

View 1 Replies

ActionScript 2.0 :: How To Send Data To ASP Page

Jan 20, 2006

i am trying to send data to a ASP page.i am trying to track a flash movie.the asp page is already set up. but i have tried everythign in my knowledge to get this to work.[code]

View 9 Replies

ActionScript 3.0 :: Load Data From Aspx Page Using It?

Jul 18, 2010

I'm making a project that will need to read some xml from aspx page

the aspx page will connect to database and retrive some records then will convert them to xml

I don't know how to read that info from as3.

View 2 Replies

ActionScript 3.0 :: Pass Data To And From An Aspx Page?

Oct 17, 2010

How can I pass data to and from an aspx page tp AS3? IN AS2 I could use LoadVars . I have sen some examples and there seems afew ways.

View 6 Replies

ActionScript 3.0 :: URLLoader Post Data And Go To Page?

Feb 9, 2010

I am trying to use

Code:
var myData:URLRequest=new URLRequest("scrip.php");
myData.method=URLRequestMethod.POST;
var variables:URLVariables = new URLVariables();

[Code]......

to send data to a script and I want it to go to that page too. Kind of like a if you had a flash login screen that just took a id and it sent you to the next page with that. I can do it with get put I need the id hiden

View 1 Replies

ActionScript 3.0 :: Submitting Cart Data To PHP Page

Feb 10, 2010

im trying to pass my AS3 array to a sendmail.php page to send the user details of the order (the arrays contents) my array is called 'details'. The method im using is a bit unreliable and im wondering if theres a more effective way of doing this? Im currently using....

ActionScript Code:
//submit button
function cartsubmit(e:Event):void {

[Code].....

View 1 Replies

ActionScript 3.0 :: Receive Data To Aspx Page From This?

Jan 3, 2012

I have a application in flash professional cs5.In that Application i have a Button.When i click the Button i want to receive the data from aspx page.

View 7 Replies

ActionScript 3.0 :: Send Post Data To A Php Page On Webpage?

Feb 8, 2009

I'm making a contact page in as3 and I need some help. How do I send post data to a php page on this web page http://parallels.fm. Basically I have three dynamic text fields and a submit button. If I can send post data from that page to a php page that would be great.

View 1 Replies

ActionScript 3.0 :: Passing Data In Multiple Page Survery

Nov 7, 2009

I am using labels for the pages so they are all on the same timeline. When the user gets to the last page there is a submit button that sends all the variables to a php mailform file. However I keep getting TypeError: Error #1009: Cannot access a property or method of a null object reference. I dont think my variables are not being passed.[code]

View 1 Replies







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