ActionScript 3.0 :: Httprequests In Flex Page To Access A Database On The Web Or A Servlet?

Nov 11, 2008

Can you make httprequests in flex the same way one does with AJAX? I would like my flex page to access a database on the web or a servlet.

View 2 Replies


Similar Posts:


Flex :: Web App Access A Sqlite Database?

Nov 16, 2010

I'm making an application (web based) using flex and i have a requirment to access the SQLite database on the local system. There is no server running and i've decided to give them the link to the html file and see how that works out.

So in the root directory, there will be all required swf, html files, etc and a .db file. Can i access that database thro the flex web application ?

View 2 Replies

Flex 3:: Connect To A MS Access 2007 Local Database

Nov 14, 2011

How do I connect Flex3 to a MS Access 2007 local database? Could you provide some example code for a login page using username and password and validating it?

View 2 Replies

Use Servlet As My Backend Using A Flex Application?

May 8, 2011

I have developed a Flex application. I have also developed a Java servlet program for an Access database using Tomcat. How can I use that servlet backend for my Flex application using HTTPService ?

View 1 Replies

Flex :: BlazeDS Servlet Not Responding Through Proxy?

Jan 25, 2010

I have a problem using Flex with BlazeDS on a Tomcat 5.5 through a Proxy (Apache). I already searched for it but didn't find answers which solved my problem. I hope you guys can help me out. Our scenario is the following: Flex-App using BlazeDS to communicate with our Dataservice on a Tomcat 5.5.The Webapp is balze enabled and the services config contains channel definitions like the following:

<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://xxx.xxx.xxx.xxx:8180/myDataService/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint">
</channel-definition>

[Code]...

View 2 Replies

Java :: Send Objects From Flex To Servlet?

Dec 6, 2010

This is my method in actionscript

var urlVars : URLVariables = new URLVariables();
urlVars.myname = byteArr;
var urlReq : URLRequest = new URLRequest('MyServlet');

[Code].....

How do I recieve the byte array on servlet ?

Also the byteArr above comes from java side,

byte[] byteArr = aMethodWhichReturnsaPDFByteArray();
HttpServletResponse response = FlexContext.getHttpResponse();
ServletOutputStream os = null;

[Code].....

View 3 Replies

Flash :: Access Local Access Database From It (or AIR)?

Nov 13, 2009

Is it possible for Flash or possibly Adobe AIR to have access to a local Access database?

I will have either a Flash EXE or AIR application running on a local PC (WinXP). The PC will also have a local Access database. I need my Flash application to get the data from this Access database. How would I do this?

I doubt it can be done with Flash or AIR alone (someone prove me wrong or right), but is there an option for some middle-man application to access the data base and send it on to Flash? How would this work?

Or could I read the MDB file into Flash and parse it myself? is there a library for this?

View 2 Replies

Flex :: Session Management With Java Servlet Using Httpservice

Jun 14, 2010

I am new to Flex. I am just wondering how to manage session and cookies for logging in, logging off in Flex? I am using Flex HttpService and Java servlet.

View 1 Replies

Java :: Send An Array Of Objects From Flex To Servlet?

Apr 29, 2011

I have a collection of Objects in an ArrayCollection in my flex page.

What is the best approach to send this data to a Java Servlet?

The object in the ArrayCollection is a VO that consists of an id and message for now. I want a solution that is scalable in case more properties are added later on.

View 1 Replies

Actionscript 3 :: Pass A Date Object From Flex To A JSP Servlet?

May 3, 2011

I am passing some parameters as POST to a Servlet from my Flex WebApplication. I am able to pass and retrieve strings properly. I used new Date().getTime() in my flex code and tried passing the timestamp variable hoping to parse it at the servlet and convertit into a java.util.Date object. But i am getting a NumberFormatException when i try to parse the variable from the string that i got from request.getParameter.

View 1 Replies

Ajax :: Flex - POST To Servlet: Null Parameter

Jun 27, 2011

I'm working on a flex application and I need to call some data with a synchonous method. After some research, I've found a code from adobe that use ajax and external interface. That great. the code from adobe

When I send data with the GET method, the servlet read the parameters and print some infos (to check). But when I send data with the POST method, the servlet recieve the request, but the parameters disappeared.

[CODE]...

View 1 Replies

Flex :: Send Error Message From Servlet To FileReference When Download?

Jul 19, 2011

I use fileReference.download() to download files. The fileReference send request to java servlet.In servlet, some error may be checked. For example error - 'File not found'. I want to send the error to flex side. I tried lots of methods,but fileReference in flex can't receive them.Such asresponse.sendError(HttpServletResponse.SC_NOT_FOUND, "File not found");r PrintWriter out = resp.getWriter(); out.print("File not found");It seems fileReference can't triggers event 'DataEvent.UPLOAD_COMPLETE_DATA' and'HTTPStatusEvent.HTTP_STATUS'.

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

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

Access A Database And Send It To Php?

Oct 6, 2009

I am trying to figure out how to access a database and send it to php

I thought first i should hard code it this is the php file i am using[code]...

If I can understand where I am going wrong here then i think i can build off of it and get my database working.This is the second time i have tried php database and actionscript.

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

ActionScript 3.0 :: Flash Connecting To SQL Database / ASP Page

Jan 21, 2011

What I am after is to be able to connect to a SQL database directly or via a ASP Page (whichever is easier) to pull out some variables and display them as text in a text field. Basically we have a news section on our intranet (stored in an sql) and I want to be able to pull these out and put them into flash. I have looked on the internet for examples, but everything that I do don't seem to work.

View 1 Replies

ActionScript 3.0 :: Access Database Without Installation

Feb 3, 2010

I'm doing an application adobe air with Flash CS4, in as3 , I'm really don't need a database, but a small file database it gives me some adventages, just I need a little file, with 2 o 3 tables for a few data, no much that 50 I think. I look for some kind of database that don't need instalation(important), if with a dll, or something similar (it's only for windows). I google for the last 4 hours but only I find mysql, and I don't want any kind of motor working. MS Access, it would be ok, but I haven't found information.

View 1 Replies

Flash CS4 And Database Use (MySQL, ACCESS, Etc.)?

May 20, 2009

how tp use databases with Flash CS4 ?I have created a form, an email page and a username/password protected pages, but I cannot find any tutorials that would help me how to connect to a database.

View 7 Replies

ActionScript 3.0 :: Access Database Without Instalation?

Feb 3, 2010

I'm doing an application adobe air with Flash CS4, in as3 , I'm really don't need a database, but a small file database it gives me some adventages, just I need a little file, with 2 o 3 tables for a few data, no much that 50 I think.
 
I look for some kind of database that don't need instalation(important), if with a dll, or something similar (it's only for windows). I google for the last 4 hours but only I find mysql, and I don't want any kind of motor working. MS Access, it would be ok, but I haven't found information.

View 1 Replies

ActionScript 3.0 :: MySQL Database Access?

May 31, 2010

I am accessing my MySQL database through Flash using AS3. I am using php scripts to access my database and send and receive variables. Everything is working fine. No problems there. The problem, or rather the question is, is it possible for flash to run a script to access a database without a webserver running on the machine? Isn't there some sort of plugin or adapter or interface class available in flash that will allow me to do that?

View 7 Replies

IDE :: Cannot Access Database Mysql When It Is Uploaded?

Feb 10, 2009

something strange about loading database mysql with urlloader

[url]

when i compile and run it via flash it worked , i can load the data but when i embed that swf into website the data won't loaded . what's happened?

View 3 Replies

ActionScript 3.0 :: Access Database From Flash 3.0?

May 14, 2010

I have to access database from flash 3.0, but dont need to communicate with php or any server side languages, I have to directly connect to database,

View 2 Replies

ActionScript 3.0 :: Application To Communicate With Access Database

May 28, 2009

I'm a beginner with Flex Builder. I need to get application to communicate with an Access Database. I'm in the planning phase of implementing a Call Log for myself. I'd like my app to run on my desktop (AIR) and as a web app. Basically, I need to document my incoming service calls. My customers will give me an ID number, with this number I can post new service call info, or pull up past service calls and/or display their system info all different tables. How Flex communicates with databases? I know it uses XML, PHP, AMF, etc. Do I have to use PHP to return the XML coding for Flex to read? I'm familiar with PHP and MySQL within Flash; however, it seems that I have to use MS Access for this app.

View 1 Replies

Data Integration :: CS3 - Access And Update A MS SQL Database Through ASP

Jan 11, 2008

I am running CS3. I want to access and update a MS SQL database through ASP but I could not find data components to download for CS3. I found Phil Heinz's tutorial[URL] but it is for MX Pro 2004. Should I be using Flex to do this or will the Flash 8 data components work on CS3?

View 2 Replies

Flash :: Use It To Insert Data Into A MS Access Database?

Mar 1, 2007

First of all I am using Flash MX 2004 and have Office 2003.

I am trying to use my flash form to insert data into a ms access database but it is not going too well.

I have 4 input fields on the flash form and a submit button, ActionScript on the Submit button is as follows.[code]...

View 2 Replies







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