Database :: Save A Form To The Database Without Knowing The Field Type?

Jun 17, 2010

I am working on a function to generate a form at runtime in Flex based on a call to the DB. The call to the DB returns the field types, id, tooltips etc as an arraycollection, the arraycollection is then parsed in order to ascertain what control to display based on the type field in the array - this bit works fine.However, i am stuck on trying to save the form fields back to the database using a CFC.my form rendering code is as follows but how do i save values entered back to the database? rendering code..

[Bindable]
public var getglobalprofileb:ArrayCollection;
public function init(event:ResultEvent):void {[code].......

View 1 Replies


Similar Posts:


IDE :: Make A Flash Movie Display Text That Is In The Sql Database And A Php Script To Change The Database?

Jul 15, 2009

i want to intertwine php, MySql and flash. so i can make a flash movie display text that is in the sql database and a php script to change the database, php > sql = i can do but sql > flash = i can't do..i want it so the sql data show's in a text box in the flash movie...

View 1 Replies

Flex :: Get Local SQLite Database In Sync With Live Server Database?

Dec 17, 2009

I want to create a Flex 3 application running in Adobe Air that accesses an SQLite database and I need to keep this database in sync with an SQL server 2005 database running a website.Is this something that Flex supports or is it going to be a custom script? Also, has anybody done anything like this?

Edit: The synchronisation can be done on a daily basis rather than real time. The data will be read only from a front end perspective with a CMS to do updates on the website.

View 2 Replies

Php :: FLEX Database Will Not Refresh After Updating Database Unless Browser Is Restarted?

Jun 7, 2010

I have researched this issue all over and most people say use the .refresh() method to update a datagrid after updating or adding a new record. This does not do anything. So, my issue is this. I have a mySQL database hosted I am connecting via PHP, I have 1 mxml file and 2 php files (I know I can use just 1 but I am learning and this was easier for me to use for troubleshooting). The issue is no matter what I change on the datagrid the update does not show on the datagrid unless I close out of IE and reopen it. I can refresh or open the page in another window and the update does not show. I have to exit entirely and restart in order for any updates or additions to show.Here is my licenseTracker.mxml

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]....

View 9 Replies

Php :: FLEX Database Will Not Refresh After Updating Database Unless Browser Is Restarted

Aug 31, 2011

I have updated the mxml code to only show the needed code for the program to run the update.

I am new to Flex and have an issue I hope you all can help me out with.

I have researched this issue all over and most people say use the .refresh() method to update a datagrid after updating or adding a new record. This does not do anything.

So, my issue is this. I have a mySQL database hosted on 000webhost.com, I am connecting via PHP, I have 1 mxml file and 2 php files (I know I can use just 1 but I am learning and this was easier for me to use for troubleshooting). The issue is no matter what I change on the datagrid the update does not show on the datagrid unless I close out of IE and reopen it. I can refresh or open the page in another window and the update does not show. I have to exit entirely and restart in order for any updates or additions to show.

Here is my licenseTracker.mxml

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

View 1 Replies

Database :: Approach Local Database Management Via Flex/Air App?

Jan 17, 2011

I am planning on using Flash Builder 4/Flex to write an AIR application which is primarily based around recording, storing and analyzing data.I'll be creating charts etc that need to update in almost real time.It's essential to me that the application be able to function without an internet connection so I need a local database of some variety,but I would also eventually like to build in online synchronization of the data where either database can be update each other based on newer information. Moreover, some type of encryption would definitely be welcome, and speed is a large concern

Synchronization: Primarily updates/additions/deletions will be done on the offline database, but ideally I want to have a web interface that will allow the same updates/additions/deletions and will be synced (beyond that I'm not sure exactly how to do it as I can model that based on what is most achievable).I'm wondering if there's any prebuilt engine that could handle the synchronization of 2 databases. I may end up having the web interface only be for additions, which would be significantly easier to sync.. and I may start that way, but i want to build with technologies that will best allow me to implement full online crud at some point.

View 1 Replies

Database :: Connect Adobe Flash CS To Database Of Any Kind?

Jul 17, 2011

Can I build flash application that connects to database? (MySQL) For example: Photo Gallery that brings me the photos from database...

View 3 Replies

Database :: Adobe Flex With Accessing Database For Mobile Web?

Sep 26, 2011

Here is the issue: a client wants his entire equipment inventory accessible by persons navigating to his jquery mobile site. The inventory that exists on the desktop site was, as I understood, built with Flex. Is it possible to access this database for the jquery mobile site? I believe it is. I was then given this information from someone in the know:

Database:
mlxx.db.xxxxxxx.hostedresource.com
login: mxxx

[code]...

View 1 Replies

Database :: Is It Possible To Create A Database Driven Website With Flash?

Oct 26, 2006

Is it possible to create a database driven website using these alone? Or do i need to learn any other technology? If i do then what should i learn? I know j2se for the desktop and oracle SQL/MySQL i finally got the feeling that i need to learn PHP anyway along with css and javascript. So it is fine. Also another query. Which CMS should i consider? Wordpress or Joomla?

View 1 Replies

Php :: Customize Avatar And Save To Database

Oct 5, 2011

I am willing to make a customize avatar for a registered user where the accessories will be save in a database. The item will be pulled from database to flas and after the user finished creating his avatar this will be save in the database. I mean my avatar application will be as like as farmville avatar customizetion using flash,php and mysql. I am fadeing up to find this solution.

View 2 Replies

Database :: Which Database To Use For Flex Standalone Application?

Jan 11, 2010

I am planning to develop a standalone application, which infact will be used for personal purposes. So only single user access may be there. I want to develop it in Flex. Just want some opinions from the gurus over here : Whether i should use Flex or AIR (I know only Flex, AIR i need to start learning)Which database i should use? SQLLite or HSQLDB or some other.

View 3 Replies

Database :: Flash Database Grid Fill?

Jan 15, 2012

I have a database on a server and I transfer the data from it to a web site. So I need to build a flash grid on this site and to load the data on it. But the problem is that I do not know how to do it. So my question is how to build a dynamic flash grid wich is fill with data from a database? Is there a way to do it with action script only or I must do it another way?

View 1 Replies

Flash :: Professional - Let Someone Draw Then Save It To A Database Via Cs4

Jul 25, 2010

My subject sums up the question. I want parents to be able to write their name and then save it to a database. I also want it to appear in an admin panel to make sure it isn't just scribble. I am trying to use flash to comply with the COPPA Childrens Online Privacy Protection Act.

View 5 Replies

ActionScript 3.0 :: Take Picture And Save In BlobField In Database

Jan 19, 2012

I am making an application where the user needs to register himself. During the registration he needs to take a picture with the phones camera. All of this workds great. But if he completes the registration, the image taken by the users needs to be saved in the database(BLOB field). I searched a long time and the id behind it was to get the bitmapdata, get a bytestream and then encode with b64 to send it to the php service. So here is what I've done now:

ActionScript Code:
var bitmapdata:BitmapData=this.data as BitmapData;
var encoder:JPEGEncoder=new JPEGEncoder(85);
var stream:ByteArray=encoder.encode(bitmapdata);
var b64:Base64Encoder=new Base64Encoder();

[Code].....

But he won't insert it. I think it's something with the encoding but I don't find where the problem is exactly.

View 6 Replies

Actionscript 3.0 :: Capture Video And Save To Database?

Feb 9, 2009

capture video and save to database,, i am trying to build an online aplication in flash to capture video (from the users camera ) and pass it to mysql or a folder in site root.

View 3 Replies

ActionScript 3.0 :: Save Custom Class To Database?

Dec 8, 2009

I have a complex custom class which contains custom subclasses and so on. I want to save the state of an instance of this class to a database.Currently I'm using a ByteArray.writeObject which seems to work well as I am using registerClassAlias, so all custom classes are being picked up and serialised correctly.writeObject uses the AMF standard to "flatten" classes, but is AMF the best way to go to store the entire state of a class into a database?

View 9 Replies

ActionScript 3.0 :: Unable To Save Image To Database?

Jul 19, 2010

uploading a byte array to my database.

this is my codes.

Code:
var ba:ByteArray = PNGEncoder.encode(bmd);
var _request:URLRequest = new URLRequest ("http://localhost/image/readimage.php");

[Code]....

i am able to upload some data, but its not the image of data. is more like some junk data.

View 8 Replies

ActionScript 2.0 :: Connect Flash Form To Any Database?

Jun 8, 2011

I have a requirement: I have to create a form in flash connecting to database. for example:

Name:
Age:
Address:
Comments:
[ SUBMIT ]

So after completing the form once the user clicks on "submit" button this information should automatically get stored in Database.

View 2 Replies

ActionScript 2.0 :: Draw Over Swf Movie And Save The Drawing To The Database

Jul 21, 2009

im new to this forum and kinda new to flash and php together...i have this project that would load a swf movie on a drawing board and user could draw something over then swf movie. It should be able to save the drawings to the database, so that the user could just load it for later use. for example if the user draws a zigzag line at frame 5 of swf movie and on frame 10 of the swf movie deletes the zigzag line and draw a circle and then saves it. then loads it later, from frame 1 to 4 of the swf movie the zigzag line should not show but on frame 5 to frame 9 it would show and on frame 10 shows only the circle. or just on the specific frame number of the swf movie it will show. like when user draw on frame 6 then on before or after frame 6 it wont show..the second one might be a bit easier to implement.

how do i save the user drawings over the swf movie? and how do i load it? do i have to save everthing (like x and y coordinates, movieclip names) in a textfile? and use that textfile to recreate the swf file drawn? what ways could i implemnt this? hopefully someone to could point me in the right direction.

View 0 Replies

IDE :: Drag, Drop, Then Save Co-ordinates To Xml File Or Database?

Oct 12, 2009

I'm not an expert in actionscript but I know a thing or two, but basically I've been given a task in a new web-based piece of software whereby users can drag and drop objects onto a background bitmap. The amount of objects and the co-ordinates of each object will then need to be saved for each user, so when they log back in (regardless of what machine they are using, they'll see where they have left off.)I've seen mentions of using the shared object, but this won't do as the user will not always be using the same machine.

View 1 Replies

ActionScript 3.0 :: Send The Form Data To A MySQL Database?

Feb 28, 2011

What I am wanting to do is create a "registration form" and send the form data to a MySQL Database. Once the user submits the form, a password is created and emailed to the user.

Then once all has been created and stored, the user can log in and gain access to secure pages.

View 9 Replies

Actionscript 3 :: ASP.net MVC - Sessions - Record The Users Progress Then Save To A Database

Jul 21, 2011

I want to add the ability to have my flash game record the users progress then save to a database. That part is pretty easy, but how can I make it so the user can login and continue their game. I also wanting to know if it'll be better for the game progress to be saved with SharedObjects or with an SQL database. I would like it that the game could be played on any website and their data can still be accessed and played if that is advised. I am new to user sessions with AS3 and need pointers.

View 1 Replies

ActionScript 3.0 :: Save The Path Of The Chosen File In Sqlite Database?

Jun 24, 2010

I m trying a make a database on sqlite using actionscript3 and flex.I can browse through file and select a file using browseForOpen().I can get the url by Filename.url and storing it into a string type variable fileUrl:String.I m creating table like:

CREATE TABLE IF NOT EXISTS test_table (id INTEGER PRIMARY KEY AUTOINCREMENT,user_name TEXT,password TEXT ,fileurl TEXT)

i made a text input form for entering user_name and password like:

<mx:TextInput x="50" y="10" width="117" id="user_name"/>
<mx:TextInput x="50" y="10" width="117" id="password"/>

Now i want to insert values into the table like:

sqls.text = "INSERT INTO testt_table (user_name, password,fileurl) VALUES('"+user_name.text+"','"+password.text+"',fi leUrl);";

but its giving errors.How can I enter the url or path of the file chosen into the table.

View 0 Replies

ActionScript 2.0 :: Flash - Asp - Save The Date And Time To The Access Database?

Sep 20, 2011

[URL] I got partial success with the tutorial above, but couldn't figure out a few things.

1) How to save the date and time to the database? Based on web search result on how to find date or time in APS, I thought I could do

[Code]...

but the ASP generated errors on the 2 lines.

2) When executing the file (getURL("http://yourSite.com/processForm.asp",0,"post");
}), it always opens the processForm.asp file in a new window. Can it be executed in the same window or just being hidden?

The tutorial is old, and I wonder if there are new ways to do the things with CS4 or CS5?

View 1 Replies

ActionScript 2.0 :: Make Flash Form Submit To MySQL Database?

Apr 20, 2009

I would like to make my flash form submit to mysql database.

View 2 Replies

Flex :: Flash Builder - Generate Form From Database Table

Jun 14, 2011

I've got remote databases on hosting. Can Flash Builder generate Spark Form with similar structure from database table?

View 2 Replies

ActionScript 2.0 :: Flash - Form That Submit To A PHP File That Contains A Form That Submit To A Database?

Jan 13, 2012

I have a flash form that need to submit values to a PHP file.I am using in flash: varsToSend.send("subsrcibe.php","process","POST"); The "subsrcibe.php" contains a form that is connected directly to a database.What i want to do is, to load the variables from Flash to this PHP file, and then submit them automatically to the database (The PHP page should not open to the users).

View 2 Replies

Flex :: Use My Database Field Value To Select A Value On My <s:DropDownList?

Aug 9, 2011

I'd to use my database field value to select a value on my <s:DropDownList. I try to do

<s:DropDownList dataProvider="{DP_PAT_CIVIL}" selectedItem="@{objectUser.usrQualParent}"/>

But no selection appear, nothing appear on prompt.

objectUser.usrQualParent represent a value with is present in the dataprovider DP_PAT_CIVIL. For exemple, dataprovider is:

[Bindable]
private var DP_PAT_CIVIL:ArrayCollection = new ArrayCollection (
[{label:"Monsieur" , data:"0"},[code].....

View 2 Replies

Database :: Connecting To Database With Flex?

Dec 14, 2011

I am writing a large flex app that has to connect to a database many times. I currently am using asp pages to connect, but I would like to use the most efficient option. What do you think is the best way to connect to a database from a flex app?

View 1 Replies

ActionScript 2.0 :: Make A Form That Submits Info To A Database And Then Displays It In Flash?

Jan 18, 2004

I need help to make a form (in Flash) that submits info to a database, and then displays it in Flash. Even better, submits the info to a Flash-made database.

View 7 Replies







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