ActionScript 3.0 :: Sending And Getting Data From External File?

Nov 22, 2010

I'm running it in actionscript 1 and 2 since 3 wouldn't work when getting data from external media. I'm trying to find out how to post data to a PHP file and getting from that file I'm trying to make the flash for something that works like a game but differently. Since I just found out how to make the HTML stuff show up but a lot of times, some of my text will not appear so I don't know what's going on.

how to send and get data both at the same time from a sample file?
 
The sample file is example.php
 
It has to sent information like ID and NAME and it has to get information like Description and userID

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

ActionScript 1/2 :: Sending And Getting Data From External File?

Nov 22, 2010

I'm running it in actionscript 1  and 2 since 3 wouldn't work when getting data from external media. I'm  trying to find out how to post data to a PHP file and getting from that  file I'm trying to make the flash for something that works like a game  but differently. Since I just found out how to make the HTML stuff show  up but a lot of times, some of my text will not appear so I don't know  what's going on.
 
how to send and get data both at the same time from a sample file?
 
The sample file is example.php
 
It has to sent information like ID and NAME and it has to get information like Description and userID

View 8 Replies

Xml - Sending Data From MXML File To JSP File (and Receiving) Using HTTPservice?

Jul 9, 2011

I want to retrieve data from a Database and display inside a datagrid in a Flex web application. The way I'm thinking of doing it is :

Send the Query data from .mxml file to the .jsp page using HTTPService. In the .jsp, connect to the database and retrieve the data using select statements. send the results back to the .mxml using HTTPService.

I know what to use but I have an ambiguity. In the (.mxml) I use xxx.send() to send the data. What do I use in the (.jsp) to send it back ? I know that I should store the results in an XML in the .jsp file, but how to do that ?

View 1 Replies

ActionScript 3.0 :: Sending Data And Uploading A File?

Feb 20, 2009

I have a job application form where i am taking users basic info as name,email, phone no along with this i am asking him to upload his CV(a doc /pdf file)

How can i post all data on one submit. I am using PHP at backend.

I can send data and upload file seperately.Isit possible to upload file and submit data at a time.

Can we send additional variables with File Reference object.

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

ActionScript 3.0 :: Getting Data From External File?

Jul 20, 2010

how to embed a value into a dynamically created MovieClip within an external file (.as) that I can access in my .fla file when the MovieClip is clicked.

I have created an external file (.as) that draws a series of adjacent boxes with a number in sequence on top of them. That much works OK, but I want to load it into a Flash file that will do math calculations based on the number of the box.

Here's my .as file.

Code:
package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.text.TextField;

[Code]....

How, for example, can I get the "slide_number.text" box to say something like "The square of this number is ..." and the square of the figure?

View 1 Replies

Flash :: Fetch Data From An External Xml File

Feb 15, 2011

i am new in this flash thing and in the learning stage. on the stage are four buttons. they will behave like map. now what i want to do is, that i want to use xml. when i click on button, it should display some text, like title, description, address etc below the map and the these details should come from an external xml file.

View 1 Replies

Actionscript 3 :: SEO - Flash And Data From External File

Mar 1, 2012

i have to create SWF that contains only specific parser and load text content from external file . How i can allow search engines to see this data under swf link ?

View 2 Replies

ActionScript 3.0 :: Get Data From An External Text File?

Feb 24, 2009

Is there a way where I can get data from an external text file like you can in other programming languages?

View 1 Replies

ActionScript 2.0 :: Loading Data From External .txt File?

Oct 26, 2009

i have been given two sources for a weather data feed:

[URL]

i would like to 'load' the text similar to loading xml i have seen several articles on reading variables from .txt but they all suggest the .txt file needs more formatting - whilst this one is just seperated by lines.

View 1 Replies

ActionScript 2.0 :: Load Data From External File?

Apr 12, 2005

it works fine, but i want the file data.txt, to be in a different domain than the swf. When i write loadText.load[URL] the swf doesn't work. How can i solve this problem?

View 5 Replies

ActionScript 3.0 :: Loads Data From An External XML File?

Mar 1, 2009

I have a simple swf file which loads data from an external XML file.At present, the user types the filename of the XML file they wish to load.Is it possible for Flash to 'read' the filenames of all of the available XML files in the folder and then present these filenames in a drop down list for example? Then, instead of typing filenames, the user would just click on the XML file they wanted to load.

View 4 Replies

IDE :: Access Xml Data Imported From An External As. File?

Jan 20, 2010

I am using Action Script 3.I have loaded some xml data using an external as file called importxml.as.If I put a trace statement in it to access the content it works perfectly.But how do I access the data from the Flash main timeline or from another as file?I am using the statement ïż½import xmlimportïż½ but if I then write:trace(xmldata.category[1].word[1].text); I get the message;

1120: Access of undefined property xmldata.

If I try this on the main timeline

var myXMLmlimport=new xmlimport();

I get the error message

TypeError: Error #1010: A term is undefined and has no properties.

View 2 Replies

Actionscript3 :: Xml - Appending Data To External Text File By PHP And

Sep 30, 2010

import fl.controls.*;

var MyText:TextArea = info_txt;
var score:XML = new XML(<score/>);
score.PlayerName = "Maged";
trace(score);

Here I create a new XML date , I want to write these data to an external text file to use it by PHP but I don't have much information about it .

Note i want to append to the text field n't write .

View 1 Replies

ActionScript 2.0 :: Reading Text Data From External File?

Dec 11, 2009

Once the text file is assigned to a variable, spaces for example are replaced by %5F.My text file: bddtxt.txt Content of text file: 1_1_0,2 3_2 3 4_0,4_5_0,5_6 7_0,6_8_0,7 8_9 10_0,9_11_0 My script (Flash 6):

ActionScript Code:
var liens = new LoadVars();
liens.load(_global.url+"bddtxt.txt");

[code]....

View 1 Replies

ActionScript 3.0 :: Access Xml Data Imported From An External As File?

Jan 20, 2010

I have loaded some xml data using an external as file called importxml.as.If I put a trace statement in it to access the content it works perfectly.But how do I access the data from the Flash main timeline or from another as file?I am using the statement import xmlimport but if I then write:trace(xmldata.category[1].word[1].text); I get the message[code]...

View 0 Replies

ActionScript 2.0 :: External Swf Data Control From Parent File?

Jan 15, 2008

im loading an external swf from my parent swf:loadMovie("external.swf", 4);now, on external.swf i have a dynamic textfiled, which should be updated from the PARENT swf:

this is on PARENT swf file:
this.onRelease = function() {
_level4.mytextfield.htmlText = "some text";

[code].....

View 1 Replies

External Data - Storing Variables And Creating Text File

Sep 15, 2009

1. How could I make it where some images/text in a flash file is taken from another outside file. For example lets say I have a image and text that would need to change constantly. The image could probably be done by using a url and changing the image set to that url, but I would rather have it search for a images file name on my computer. For the text is there a way I could use a text document, and have it set up to take the text in that document and display it.

2. How can I make it so when I click a link to an outside url it doesn't confirm that I want to visit it.

View 2 Replies

Data Integration :: Create External File That Can Be Accessible / Editable?

Apr 8, 2006

Is it possible to build a flash programme that will create new files that can be accessed or edited. I would like to know all the possible ways.

View 17 Replies

Data Integration :: Use An External File To Bring Text Into Flash?

Apr 15, 2010

We have a client who wants to share with us flash widgets whose contents can be updated using an external file. Our question is: Is it better to use a .txt  file (such as notepad) or a .xml file to input data into Flash?

View 4 Replies

ActionScript 3.0 :: Displaying An Error After Saving Data To An External File?

Feb 13, 2012

displaying an error after saving data to an external file:

var variables:URLVariables;
var fLoader:URLLoader;
var fData:URLRequest;

[Code]....

Where can I post a message to display if the file has been saved or not?

View 3 Replies

ActionScript 2.0 :: Displaying Data From External File By Pressing Button

Jan 10, 2005

I'm loading text from an external file (a notepad). Now all I want is to be able to change the text by loading text from another external file when a certain button is pressed. Basically, I got this as my default text which loads automatically at the start:

loadText = new LoadVars();
loadText.load("data.txt");
loadText.onLoad = function() {
title.text = this.title;
info.text = this.info;
body.text = this.body;
};

But now I want to load text from a different file (data2.txt) by the press of a button. I also have a transition animation so work with me. It would be...
b3.onRelease = function() {
if (_root.section != "photos.swf") {
//I also got this pic (swf) that changes on the button release//
_root.section = "photos.swf";
_root.transition.gotoAndPlay("closing");
So what exactly do I add to be able to change the text source?

View 1 Replies

ActionScript 2.0 :: Make A Class File That Loads In Some External Data

Mar 28, 2005

Im trying to make a class that loads in some external data, and then creates some arrays in the class, which names and content are based on the data that are loaded. What i have now, is something like like this:

[Code]...

View 4 Replies

ActionScript 2.0 :: Displaying Data From An External File By Pressing A Button?

Jan 10, 2005

just one last actionscript stub. I'm loading text from an external file (a notepad). Now all I want is to be able to change the text by loading text from another external file when a certain button is pressed. Basically, I got this as my default text which loads automatically at the start:

loadText = new LoadVars();
loadText.load("data.txt");
loadText.onLoad = function() {

[code].....

View 1 Replies

ActionScript 2.0 :: Dynamic Flash Sometimes Fails To Load Data From External .txt File?

Sep 2, 2010

I have this Simple Flash banner, that loads text, colors, and entire banner hyperlink from external .txt file into flash.For importing text into dynamic text fields with ïż½varsïż½ set i use

loadVariables("http://www.mysite.com/DIR/data.txt","");

For importing hyperlink onto flash button i use two layers:On blank layer i use:

loadVariables("http://www.mysite.com/DIR/data.txt","");

On button itself i use:

on (release) {
getURL(link1, "_blank");
}

Button has instance set also.Everything works fine and nicely.I use this HTML script to use banner in any website i like:

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"
id="name" width="468" height="60">

[code]....

Ok So everything works nicely. I load flash i load text, and i also load hyperlink. So after a happy job i went to sleep and other morning i tried to enter website with HTML code, that shows flash and i noticed:

1. Some times flash loads animation, but doesn't load my data.txt and places where dynamic text should be are blank, also hyperlink doesnt work, because it also seems to fail to load.

2. So i press "Refresh" on explorer and data loads perfectly.

3. So i keep pressing refresh some times try to turn of explorer and i noriced that some times it fails to load data and only non dynamic flash animation is played, and some times it loads it nicely.

View 4 Replies

Data Integration :: Load Individual Strings Of Text From An External File?

Feb 21, 2007

I trying to load indivual strings of text from an external file. example: I have a movie that navigates from frame to frame. on each frame I'd like a line of text to load into the movie. When the user navigates to the next frame the text loaded vanishes and is replaced by another line of text. This can be done with separate txt files, right but I was wondering if and how it could be done using one external text file.

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







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