Actionscript 3 :: Flex And PHP With Transaction Support?
May 26, 2011
I need to create an application that will use Flex on the client side and PHP on the server side. In my application I will need to have transactions opened for a long time (maybe 1, 2, 3 minutes). Can you give me any toughts on what PHP-FLEX fraework to use? I even found something like AS3FlexDB but it seem to not supporting transactions for a long time.
View 1 Replies
Similar Posts:
Aug 16, 2011
I'm trying to get my head around how to do a SQLite bulk insert using transactions in Flex / Actionscript 3 (using Adobe Air 2). This works, but it doesn't make sense to re-create a new SQLStatement in the loop:
private function onAddBulkContacts():void {
_responder = new Responder(resultEventHandler, errorEventHandler);
contacts_db.connection.begin(null, _responder);
var statement:SQLStatement;
[Code]...
But the latter code throw an error saying that it can't execute the second time through, since the statement itself is still executing (and I believe will be in that state until the commit). I guess I can understand that the statements get added to the execution queue, but it doesn't make sense that I have to add the SQL text within the loop, exactly the thing I'm trying to avoid. I'm sure there's a better way to do this, but I've spent way too long hacking and reading trying to figure out what the proper sequence is.
View 1 Replies
May 5, 2011
I am looking the way to batch several remote calls from flex-based application to java-based server, so that they would be processed within a single transaction on the server-side.My idea is to build several services on server-side with setter/getter like operations:
interface MyService1 {
void setField1(long myEntity1Id, int field1Value);
void setField2(long myEntity1Id, int field2Value);
[code]......
View 1 Replies
Nov 18, 2010
i don't understand flash plugin only support .swf file,not support .flv file? always require load a swf file for play flv file, for exampes:
<embed type="video/x-flv" src="http://www.my.com/test.flv"></embed>
must be use a swf for play
<embed type="application/x-shockwave-flash" src="http://www.my.com/player.swf" flashvars=""></embed>
View 2 Replies
Sep 26, 2010
Is there a way to open RAR / zip / 7z in AS3? Is it easy to use compression library in C with Alchemy?
View 3 Replies
Apr 12, 2011
Does Flex 3 support threading? If so, are there any examples or links I could look at?
View 3 Replies
Sep 28, 2009
I have a Flex object which collects a DTO from the server. All the fields arrive filled in correctly except for the one that is a HashMap. It arrives as null.I've tried giving it a type of both ArrayCollection and Dictionary, but that hasn't fixed it.Does anyone know if there's an inherent incomaptability between Java HashMap and Flex?If not, what might I be doing wrong here? I'm looking at my jboss console and I see the data being populated correctly in the server side before delivery to the client.
View 3 Replies
Aug 18, 2010
I have a flash conversion function that I call like this:[code]...
View 1 Replies
Feb 24, 2011
Does Flex 4 support put request?
I know that Silverlight 4 support put request using its client http stack.
View 2 Replies
Aug 11, 2011
I was about to start with a chat application like this one. I was wondering how to do it on Eclipse. Does Eclipse support Flex development? Is there a plugin or a tool which I need to download for Eclipse? I installed Flash Develop on my machine, but I am getting some issue in unzipping the zip file for Flex SDK which I can't figure out why. Thus I was thinking of switching to Eclipse.
View 2 Replies
Mar 27, 2012
Some places in my flex app, I use ResourceManager.getInstance().getString, and other places I use mxml @Resource tag to retrieve resource properties dynamically loaded from ResourceManager. resourceManager.loadResourceModule(resourceModuleURL); But only strings from ResourceManager.getInstance().getString show proper locale based values, while the @Resource tag only returns values from en_US resource. I guess it is because en_US is what I compiled with (-locale=en_US ). So I am wondering if I am using a dynamicly-loaded resource, do I have to abandon the @Resource tag and use ResourceManager.getInstance().getString ?
View 1 Replies
Jun 15, 2010
Why doesn't Flex/ActionScript currently support threading?
View 5 Replies
Mar 8, 2011
I'm looking for something that will support image rotation, multiple image layers, cropping, etc., and allow the client to customize which features are to be shown.
View 1 Replies
Feb 4, 2012
I need Flex code to support HTML5 File API. Because I need to support File API feature for those browsers that did not support File API. Do you have any code or link?
View 1 Replies
Jul 9, 2009
I have a DataGrid of objects, and I want to modally edit them; pop up a dialog, change the item, and if the user clicks "Ok", save the changes back to the original item, and if they click "Cancel", do nothing. It seems obvious that if I simply pass in a reference to the original object and change it using data bindings to the fields in the edit form, I won't be able to cancel my edits. How can I support that capability?
View 1 Replies
Mar 29, 2010
I'm planning on building a Flex based multiplayer game, and I'm researching what will be required for the server end. I have PHP experience, so I started looking at ZendAMF.
Now in this game, I'll need the concept of rooms, and real time updates to clients in those rooms, so it looks like I'll be using remote shared objects (correct, yes?). I'm not seeing where ZendAMF can support this.It seems to indicate that ZendAMF isn't going to do what I want. WebORB for PHP seems to be the only PHP based solution that does messaging, but on that page it doesn't mention "real-time" next to it like the Java based ones below it do.
View 3 Replies
Sep 22, 2011
Why doesn't the Flex framework's mxml language support a constructor for components or accept constructor arguments for components? It's as far as I know not possible to declare an ActionScript object in mxml if it takes constructor arguments. I'm curious about the reason. Is it a design choice by Adobe or related to how declarative languages work? For example, why not allow:
<myNameSpace:MyComponent constructor="{argArray}"/>
View 1 Replies
Jun 17, 2009
I've been trying to find the right configuration for supporting both http/s requests in a Flex app. I've read all the docs and they allude to doing something like the following:
<default-channels>
<channel ref="my-secure-amf">
<serialization>[code]..........
I'm running with Tomcat 5.5.17 and Java 5.The BlazeDS docs say this is the best practice. Is there a better way? With this config, there seems to be 2-3 retries associated with each channel defined in the default-channels element so it always takes ~20s before the my-amf channel connects via a http request. Is there a way to override the 2-3 retries to say, 1 retry for each channel?
View 4 Replies
Dec 24, 2009
I am using text layout framework in my application. I am using textflow as editor to my application. As text layout framework supports multiple languages. I a m able to see the text in multiple languages. Now my doubt is, can I type in different languages? For example: As in word if we choose the font as Hindi then whatever we type it comes in Hindi.
View 1 Replies
Feb 22, 2010
The sorting capabilities that are available in Flex assume that you have access to all the data, but I'm using a paginated datagrid (with custom code), the datagrid is binded to an ArrayCollection instance, on the next page call I change the data of the dataprovider and everything works ok, but for sorting I need to override the click or event better override the sort method of the arraycollection
All this is to be able to do a server-side sorting.
View 4 Replies
Apr 20, 2010
does the latest sdk now support RESTful methods like PUT and DELETE using their HTTPService?
View 2 Replies
Mar 9, 2010
I am working on flex dasboards and charting stuff. Till now I have build them for static data only now I want to upgrade them to work for real time data where new data is continuosly sent to client (swf file) from server and it updates the same.I am using Jruby with RoR.
View 5 Replies
Nov 16, 2011
I'm just trying to understand how once HTML5 enters the picture, the current concerns about browser incompatibility and other issues go away? Wouldn't HTML5 simply add another set of browsers to the large list of current browsers that the application must target?
That is, assuming the enterprise web app requires one of these new HTML5 features (e.g. playing audio and/or video, integrating SVG or vector graphics, etc.). If such a feature isn't critical then graceful degradation may be acceptable and then my question is moot.
But for those apps that require one of these new HTML5 features, are you planning to support older browsers, or expecting it's acceptable to restrict to HTML5 browsers because the enterprise in question has made one of them their new corporate standard (or other scenario, etc.)?
View 1 Replies
Dec 14, 2009
Just moved my Flex app onto Ant with a basic ant script and I am getting this stupid error: mxmlc doesn't support the "file" attribute. I looked through docos and it seems that my code is right, so hows it going.
<!-- load previously defined configuration properties file -->
<property file="build.properties" />
<!-- points to our flexTasks.jar we copied to the libs folder to distribute with the project -->[code]...........
View 1 Replies
Jun 25, 2011
Is there a SIP library to connect a flash application to a SIP server directly?(without passing from a rtmp media server)
View 2 Replies
Oct 28, 2009
I keep trying to place some pngs in an XML file inside flash. The jpgs work fine but when it gets to the pngs nothing shows up. Do you need to have a special Action Script?
View 5 Replies
May 16, 2007
SIP support wihin Flash is going to be available? Flash 10? Is any SDK incl. this functionality planned soon?
View 1 Replies
May 30, 2009
Flash has become an international standard for video and sound-media in web-pages. Allmost everything that share web-pages have Flash on their pages, Not everybody in the world use Windows and not everybody in the world use Internet Explorer. I was very glad when Adobe say they will really start to support Linux with Flash 10 since the earlier version 8 and 9 was crap on Linux. But its still not good. Flash on Linux eat up almost all available memory og suck 90% CPU. If i diable Flash the i have no problems. This happens the same on different Linux distro and on different web-browsers. Are Adobe going to start to really support Linux or do Adobe just doesnt care? Even Microsoft have startet to support Silverlight on Linux, but it took several years for Adobe to think in these ways! Its better for us to know if Adobe want to support us or not. Then its easier for us to deside if we are going to support Adobe.
View 1 Replies
Jul 14, 2009
We're trying to stream Flash 9 .F4V files without any success so we upgraded to FMS 3.5, from 3.0, thinking that would do the trick, but they won't stream. I see MP4 support on Adobe's site, but not a word about .F4V support.
View 4 Replies
Nov 11, 2009
I was wondering if AS3 supports multiple css classes, for instance, could I do something like: <span class="red bold">Some red, bold text</span> so the css would be:
[Code]...
View 3 Replies