ActionScript 3.0 :: Creating Database And Read / Write Data
Jul 20, 2011I would like to create a database and read/write data via actionscript3. I'm an absolute beginner in this field, where do I have to start?
View 9 RepliesI would like to create a database and read/write data via actionscript3. I'm an absolute beginner in this field, where do I have to start?
View 9 RepliesI'm working on this flash game right now and I need to implement a simple players database...
It needs to be both read and writable . Meaning, when the player register to save his character information , he needs to key in his email and a password and create an account. The account shall store that player's life amount, ammunition etc . All the infos are stored on an external file and retrieved again when the player logins to the game with the email as his login ID. Security issues are not the biggest concern here because its not exactly meant to be an online game and I don't think hacking would be something I need to worry about ^^'''
I've tried Xml with AS, but I realised that, that alone canot allow me to write the player's info into the xml file.
I'm not exactly an mySQL idiot...but I really have very(x2) rusty and limited knowledge of it. All the server topics confuses me and I've had no experience with Microsoft Access.
I would like to create a database and read/write data via actionscript3. I'm an absolute beginner in this field, where do I have to start?
View 4 RepliesIs it possible to read/write data to and from Access with Flash in a offline format? I need to create a stand alone system that users can log into and pull information from - but it will not be networked or have any sort of internet connection.
View 2 RepliesI want to write datas to a database (txt or MS Excel) from a flash file that can be stored in my hard disk.
View 14 RepliesI want to make, read data from asp. How can I write this value?.
[Code]...
I have to make a drawing board and send that drawing to server after each 5 sec. Multiple user can see that drawing. So how to reflect that changes to every user system. How to send my bitmap data to server and and load that data to another user system. How to read and write bitmap data to server after each 5 sec.
Attachments: Drawing.zip (9.7 K)
I have two variables that I would like to store in a remote data file which can be accessed by my Flash file. It is for a voting system, so the first variable would be a counter that is incremented each time a user votes, and the second would be the total rating. The average rating would then be calculated from these.
How would one store, retrieve, and then update these variables from the data file?
I can create the system within a single Flash file for a single session, but obviously I'd like multiple users opening the file simultaneously to be able to access the data and update it.
Is it possible to use flash to read and write data on an excel/google documents file?
View 1 RepliesI am loading data into a dynamic textbox from my database using the loadVariables() function.
I am trying to create buttons that have a link like a mailto using the data from the database.
For example:
on (press){
getURL("mailto:"+variable from database);
}
The variable is already loaded into the dynamic textbox, I just have to figure out how to pass it to the as code above.
I am loading data into a dynamic textbox from my database using the loadVariables() function. I am trying to create buttons that have a link like a mailto using the data from the database.
[code]...
The variable is already loaded into the dynamic textbox, I just have to figure out how to pass it to the as code above.
I'm trying to read a XML file and output the values, but i'm getting a 1120: Access of undefined property URLRequest. error.
[Code]...
I have like 2 weeks already trying and nothingSo what is my gaol?ABOUT.SWF=========1. I want to know how to read a xml file into a dynamic text field.exmaple: about_us.xml into txt_about.CMS_ABOUT.SWF==============2. I want to know how to read that same xml (about_us.xml) so i can edit it and save it.
View 3 RepliesOn load I want to read some attribute information including x, y coords for elements that will be positioned on the stage accordingly.
On moving elements to a new position I want the new coordinates to be written back to the XML file.
I understand AS can read the XML file OK but not write native. A php script is required to perform the write.
We are working on a 3rd party application build on Adobe Flash technology to render business dashboards.This application does'nt offer us to generate the whole code rather it's just a drag n drop of charts, text boxes etc components, and then mapping of data. After all of customizing, the application itself generates an SWF file finally.
What our requirement is we need to make our dashboard(a falsh file) to write a chunk of data, eneterd by user, back into our database by a user action, like a button click. (Access, MySQL, Oracle or any). Now our application offers the FSCOMMAND function call wherein we can enter the command name and args.
Now we need to use this FSCOMMAND function to write back to databases because we believe this is the only option with us within our app. What is the command to write back to a database, and then the arguments. Also, do we need to write any JAVA/VB script for that. Please be informed that our application itself generates the whole SWF file code..all HTML coding. {e.g as we include queryparam, "mapped data", using FSCOMMAND, i can see the whole code generated by the app, the HTML code, wherein I could see embedded Java Script with DO_FScommand statament carrying this queryparam command and args..etc.}
Kindly show us the way to acheive this crucial requirement of ours. We are looking for very elaborative answers as we have less expertise with scripts.
I need to save and later read some info to and from a file... I know i can do that with PHP, but how could i do that WITHOUT PHP ?
View 3 RepliesI was wondering so long that how can people analyze the trait of each file extension (of course open it in notepad is not readable) For example, I want to write a program that can read everything from .fla file like timeline, movie clips, position of each MCs or all the motion tween values. And get the image embeded in it. (I'm planning to use flash as IDE for another project.)
(The reason that I tried to read proprietary format is I want to utilize their awesome editor. What I actually want to do is, I want to make an iOS game with cocos2d. There is a code to move things around in cocos2d but there is no decent editor. So I'd like to use Flash as an editor, then convert the motion to objective-C cocos2D code by reading the .fla file.)
I'm trying to save the contents of a XML file on a list, but I'm getting this error: 1084: Syntax error: expecting rightparen before colon. Note: I think Im missing an import stuff, but I tried flash.net.List and didnt do a thing.
[Code]...
Is it possible to read/write to the C: drive and it's directories with Adobe Air? if so how? I've only seen examples using the desktop or user directories with resolvePath().
View 1 RepliesI am building an interface in flash and want to know if I can write to and from a MySQL db.I am using php and mysql is this possible and what woud I use?
View 7 Repliesi need to save and later read some info to and from a file... I know i can do that with PHP, but how could i do that WITHOUT PHP ?
View 13 Replieshow to read from the database.as i said, that is only part of the job since it only shows how to read from the database, i also need to send to the database a string of about 7k (more or less 5000 to 700 bytes, in a single string)i would like to do that trough php, since it should use the same php session id. does anyone have references to this? (write to a databse from flash, if possible using php as middle layer)
View 1 RepliesI'm trying to figure out how to read a MYSQL database with as3 and php.. I can't find any tutorials for this.
View 8 RepliesI currently have a flash video player and I want to add some code that will update a variable in an external .as or .txt file. I then want to be able to pull this variable into a different .swf when required.
My variable I want to create will be CurrentVideo and it needs to be a number e.g. _global.CurrentVideo = 2
I'm a bit of a newbie with flash and Actionscript. I have been programming for a number of years now, but I have only been messing around with flash since CS4. I have CS5 now, and need a bit of help. I have a wireless device that I have made, I wish to make a flash program (potentially adapted to iPhone or Android) that sends and receives data (in the form of Word or Byte sized variables) from an IP address assigned to the device. Is this achievable?
View 1 RepliesAnother Adobe AIR question for you: Can we write files to the file system and leave them as read-only in Adobe AIR? In the future, we would overwrite these files (or delete them and write a new one).
Update: I tried the following approach, but I was still able to open the file, edit, and save to the file system after the process executed.
[Code].....
Is it even possible to both read and write http headers in actionscript?
View 1 RepliesI want to make a registration page with Flex. The data will be stored to text file. Is it possible?
View 4 RepliesI want to write and read cache in flash via AS2. I have two flash/swf files placed at same location. From 1st file, on a button click event, I want to write some variables/ values one by one into cache. Then proceeding to 2nd swf placed in another html, I want to read those variables one bye one.
View 8 RepliesHow would I go about reading/writing variables to a file? I would like to be able to have my program remember all of its settings from the last run.
View 4 Replies