Flex :: Open Database Connection Only One Time?

Mar 14, 2011

When working with CRUD operation in flex, I want to know how to open only one time for all update and delete operations. How can I do this?

View 2 Replies


Similar Posts:


C# :: Database Connection With Flex And Asp.Net?

Feb 4, 2010

I've started with Flex recently, I've noticed that some plugin for Visual Studio exist, instead of buying a licence for another program (Flex Builder).I was wondering how I could manage to remotely connect to my database with a Flash/Flex application with the help of C#/Asp.Net.

If I've correctly understood what I've read in the last few days, there is basically no way to 'query' to a database with Flex 3. So I suppose there is another way by using a webservice in C# on the database server that would respond to the Http query from Flex.

View 3 Replies

Flex :: Sockets - Open A Connection Back To The Server?

Aug 4, 2009

I want to open a connection back to the server using Flex so I can stream chat messages to the Flex front-end. How do I do this and does Flex enforce any same-origin restrictions on ports or subdomains?

View 1 Replies

Make Real-time Connection Java And Flex?

Jun 10, 2011

I'm still new at Flex. I want to make a flex code that request data to server everytime. I use java as a server. i have successfully generate a linked-list of data at server from asterisk cli command. like this

[Code]....

View 2 Replies

Mysql :: Database - Connection With Sockets Or PHP?

Jan 9, 2012

So, we want to move out from Air (Adobe stopping support and really bad implementation for the sqlite api, among other things). I want to make 3 things:

Connect with a flash (not web) application to a local mysql database.
Connect with a falsh (not web) application to a remote mysql database.
Connect with a flash (web) application with a remote mysql database.

[Code]...

if you can connect with socket wit mysql server, why use a web server (for example with php) to connect like a inter connectioN? why not connnect directly? I have done this a lot of times, using AMFPHP for example, but wouldn't be faster going directly? In the case of accessing local machine, it will be a more simple deploy application that only require the flash application + mysql server, not need to also instal a web server.

View 2 Replies

ActionScript 2.0 :: Writing A Database Connection?

Jan 16, 2009

I have some troubles writing a database connection in AS2.0.I use LoadVars for loading and sending data. This is an example how it works, but when I use this inside a class it doesn't work.

ActionScript Code:
var loadVars_in:LoadVars = new LoadVars();
var loadVars_out:LoadVars = new LoadVars();

[code].....

View 5 Replies

ActionScript 3.0 :: Establishing Connection To Php And Mysql Database?

Apr 29, 2011

i have been trying to execute a simple flash program that communicates with a php page which is linked to a mysql database. somehow the php is not returning any data to flash , and even falsh is not sending any data to php.. I am using wamp server on win7.

[Code].....

View 4 Replies

Flash :: Establish Connection Of A Site With A Database?

Aug 24, 2010

How can I establish connection of a Flash site with a database(i.e. MYSQLetc)?

View 4 Replies

ActionScript 3.0 :: Create Connection With SQL Lite Local Database (AIR)?

Jan 4, 2012

I have got Flash CS5 and i create AIR desktop application. I would like to create and edit sql lite local air database. I know i should use SQLStatement and sqlConnection. Could someone give me any advice about doing that. Maybe some tutorial or something what let me to do that.

I don`t know should i create that database sql lite file earlier and include it to air project or should i create that database in dynamic way by as3? How can i get and edit data from this database? How can i save that local database if it included in air project (i would like to that database file would be inside of air project)?

View 4 Replies

ActionScript 2.0 :: Database - Make A Local Connection To The XML File

Jan 4, 2008

I want to make an offline desktop app. that stores my company's customers and their data in an XML file, just like a database. so that I'm able to load, edit (create new customers, add to their data) and save it into the XML file which is stored locally. i then want to make a Local Connection to the XML file somehow, so that others in the company can do the same from their PC.. Can anybody tell me if this is possible at all? (making a flash app that writes XML files to any location on a PC that only has network.. edit XML files through Local connection function in flash).

View 3 Replies

ActionScript 2.0 :: Flash And Make A Connection With Swf And An Access DataBase

Nov 14, 2002

how to make a connection with my swf and an Access DataBase... or do you know where can I found this information?

View 2 Replies

Android :: "unable To Open The Database File" Error In Flex

Nov 1, 2011

Using Flex 4.5 for Android development, this is the script that should create the database:

private var db:File = File.userDirectory.resolvePath("events.db");
private var conn:SQLConnection;
public function MyDB() {
conn = new SQLConnection();

[Code]...

View 1 Replies

Java :: Flex To Failed Connection, Scrapbook Successful Connection?

Sep 13, 2011

Im trying to make connection from flex to java and from java to mysql. I managed to connect to java, but having error that class not found: com.mysql.jdbc.Driver. But i downloaded mysql.jar, included it added to library, and connection works when i testing it from clipse scrapbook. Dont know what to do, i spend last couple days on this.

Class.forName("com.mysql.jdbc.Driver");
String username = "username";
String password = "password";

[code]....

Basically the solution was simple. Everybody keeps saying to put jar into lib folder, so i done it, but i wasnt realised that i have to put into my servers lib directory, not app lib directory and this miserable mistake cost so much. Anyway i hope this will help for some newbie like me.In this particular situation im using red5, so i putted it into my red5 dist/lib directory and "surprisingly" its started to work.

View 1 Replies

Flash :: Open Source Flex Time-series Charts

Jun 16, 2011

Can anyone suggest an open-sourced time-series chart created using flex??(With functionalities like the one on google/yahoo finance??)Googling gives a lot of unnecessary data,

View 1 Replies

ActionScript 3.0 :: Check To See Local Connection Is Open?

Jan 10, 2009

I need to check to see if the connection is already open, and if so, remove it so I can reconnect (sending a new variable on the new connection).[code]...

View 9 Replies

Media Server :: Connection Timed Out When Open The Html File

Jul 19, 2011

i opened the html file and it said connection timed out?

View 2 Replies

Java :: Any Good APIs For Maintaining Open Connection With Flash?

Oct 31, 2010

I have a flash app which will send/receive a constant stream of data. The flash app should open a connection to the Java server, keep it open, and attempt to reconnect on socket failure. Are there any good APIs that offer this functionality? Smartfox Server is one option, but if I had my way I'd embed an API in my app rather than contort my app to run under Smartfox. Ideally it would offer an API on the flash end, another on the Java end, and efficiently (java nio preferably) handle the network component in between. I would just define handlers on both the client & server.

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 :: 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

ActionScript 3.0 :: Set A Time To Wait For A SQL Connection?

Dec 28, 2010

I have a SQLite file to which I'm connecting. I don't have a safety function to quit the SQL connection if it's taking too long. [code]...

View 3 Replies

Actionscript 3 :: Open A Remote Sqlite Database Over Http?

Apr 2, 2012

Is it possible to open an sqlite file over http? I only need to read the db, and was hoping I could do something like:

var dbFile:File = new File("http://10.1.1.50/project/db.sqlite");
sqlConnection.open(dbFile);

Error #3125: Unable to open the database file.', details:'Connection closed.', operation:'open', detailID:'1001'

My situation calls for several apps compiled for various devices to share this file, which is served locally via wamp.

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

Flash - Servering Mulitple Flv Files From Custom Webserver While Keeping The Sockets Open Stops After The 6th Connection

Jun 28, 2010

This is driving me nuts and because it's a combination of various technologies together I have a hard time tracking the problem. I wrote a tiny HTTP server that serves .flv files; these flv files are encoded on the spot. The flv files are encoded with adobe's screencodec (I started with libflv but that was too buggy so I ended up implementing my own flv encoder). For the problem below it doesn't matter which codec I use or if I serve plain flv files instead of on-the-spot generated ones (the problem also occurs if I just send 12 h264 encoded files).

I also have a swf that I coded in as3. The as3 opens 12 connections to my server and requests 12 different flv's and just displays them as 12 different videos on the page. I tested the setup with Firefox and chrome and am using the latest flash client (version 10). The HTTP server is pseudo streaming those files; e.g. it tells the client the file is of mime type video/x-flv, tells the filesize is 2GB and just starts streaming. For sake of completeness here's a header it generates:

[Code]....

View 1 Replies

Flash :: Flex - Using Media Gateway Application - Status Is Not Getting Update Like: "Connection Failed" Or "Connection Success"

Dec 17, 2010

I got a IP Communications new account having following paramters:

[Code]...

Its showing me connecting ... Status is not getting update like: "Connection Failed" or "Connection Success". how to use the above information in this app,

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

Database :: Hash Encryption Key Is Returned Is The Same String Every Time?

Dec 6, 2011

I'm trying to use the Simple Encryption Key Generator Class found here - http:[url]..........Everything seems to working properly except the hash encryption key that is returned is the same string every time (as mentioned in the the comments of the link above). locate an updated version of this class.

View 1 Replies

ActionScript 2.0 :: First Time Attempting To Send Info To Database Via .asp

Jun 9, 2004

I am trying to get a .asp example file from an actionscripting book to work, but it keeps telling me that there is an error trying to open the .asp page on my server.I uploaded the .asp file, and the access file onto my server, but it is not communicating.Are there any browswer settings or web-hosting settings I should be aware of before I try to send and receive information from a database?Also, I eliminated one variable. In another document, I was able to pull information from a text file from my web server without any problems.

View 3 Replies







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