Actionscript 3 :: Managed To Connect Php With Flex But After 'reconstruction'?

Nov 12, 2009

I am working with php, Flex and zend's AMF Server using this guide. I successfully managed to connect php with Flex but after 'reconstruction' of my MySQL query I get a little bit different objects - some of their values are NULL. That confuses Flex and I get an error from my RemoteObject:Was expecting mx.messaging.messages.AcknowledgeMessage, but received null I was searching around the web, and I believe it is happening because some values are NULL, but I couldn't find appropriate solution..

View 1 Replies


Similar Posts:


Flash :: Can't Find Managed Query Or Managed Operation Name Flex?

Feb 28, 2011

Apparently I am experiencing a can't find managedQuery or ManagedOperation named:getStudentprofile error

As I researched in some forums, I learned that the one causing this error is that I have duplicate instances of my data services in other components...So my question is how can I share my data services to other components? I don't have an idea how. These are the declarations that I need to share to other components:

parentinfoservice:ParentinfoService id="parentinfoService" fault="Alert.show(event.fault.faultString + '
' + event.fault.faultDetail)" showBusyCursor="true"/
studentprofileservice:StudentprofileService id="studentprofileService" fault="Alert.show(event.fault.faultString + '
' + event.fault.faultDetail)" showBusyCursor="true"/

View 1 Replies

Professional :: Flash Login Managed By Xml File?

Feb 29, 2012

I have a site template I customized. in this site there is the possibility to have a loginit works very well, but the problem is that the users rights are managed in the movieclip (action) which is not very easy in useso I would like to manage the users in an xml file outside flash, but I'm not able enough to create the good codemay
 
here below the login code :
stop();
//disables right click menuvar myMenu_cm:ContextMenu;myMenu_cm = new

[code].....

View 4 Replies

ActionScript 2.0 :: Managed To Create A Method Which Changes Colour Of A Line

Jan 25, 2007

I have managed to create a method which changes the colour of a line.I now...need a seperate method which changes the thickness of the line, however whatever I try messes up.[code]

View 1 Replies

Flash - Build A Memory Managed Carousel Type Navigation?

Aug 8, 2011

I need to build a memory managed carousel type navigation. Like scrollviews on iOS. What's the best framework to use and are there any good tutorials on this?It's for various mobile devices and perhaps the web aswell.

View 1 Replies

ActionScript 3.0 :: Larger Projects Managed Where Content Loaded Isn't Known Ahead Of Time?

Aug 31, 2010

I'm very used to building things with hard references in mind using AS2. I build it knowing I'm going to put a panel A in _level0.panela_mc and interface B in _level0.interfaceb_mc and Login Prompt in _level0.login_mc.login_com, etc etc.. I always know these will exist and you simply reference them via _level0.whatever. What is the new strategy to managing references to lots of sprites?
 
If I build a panel in a class method, the var somepanel:Sprite = new Sprite() I create inside the method to hold the panel I'm making will be up for garbage collection if I don't make sure a reference stays intact (via either add it to a display list, add an event handler, etc..). The reference "somepanel" I made in the method will go out of scope at the end of the method as well. Should I expect to have needed to make a class variable ahead of time to store a reference to this? Should I be keeping a class genericObject:Object that holds a list of references to everything I ever make almost like a global registry?I'm just used to AS2. You just create a movieclip and when the method ends, the clip still exists and you know the _level0.ref.ref.ref will always exist and how to get back to it.
 
How are larger projects managed where content loaded isn't known ahead of time and the layout is rather dynamic. What are the strategies used to manage all that dynamic chaos?Lastly I'm so overly used to being able to target a movieclip using a single daisy chained list of clips, like: _level0.this_mc. that _mc.those_mc. I noticed I can't seem to do this approach with the getChild() approach. using someSprite.getChildByName('this').getChildByName ('that') .get ChildByNa me('those') doesn't work. How do you drill down into nested clips? I did notice I can do it one level at a time, such as: refA = someSprite.get ChildByName('this'); refB = refA.getChildByName('that'); refC = refB.getChildByName('those'); .. Is that what I'm expected to do?

View 7 Replies

Professional :: Created Plain Text Field And Managed To Load It From External File?

Feb 10, 2011

i have created plain text field and managed to load it from external file using the AS3 code below. Now i want to load multiple text field but this time in a button, how can i do that?

this is my button code: proposal_btn
var textLoader:URLLoader = new URLLoader();
textLoader.addEventListener(Event.COMPLETE, textLoaded);

[code].....

View 2 Replies

Actionscript 3 :: Connect To AMFPHP - NetConnection.connect() Returns TypeError: Error #1009

Dec 8, 2011

UPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:

Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at AMFConnection/init()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:32]
at AMFConnection()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:23]

[code]...

I'm trying to connect to AMFPHP on a server (with Flash AS3), and the swf borks when it reaches the .connect() stage. To make things easier (?) and more reusable (?), I've put all the NetConnection mechanics into a separate class, AMFConnection, which I call from the Main document class like this (details changed):

public function testConnection(e:*=null):void {
var conn:AMFConnection = new AMFConnection();
conn.table = "some_table";

[code]...

AMFConnection actually starts the connection and calls the AMFPHP service with the function gogogo(), and here's where the connect() NetConnection function just won't work. Here's the main section of the AMFConncection class

private var _netConnection:NetConnection;
private var _responder:Responder;
function AMFConnection()

[code]...

It also fails to display the stage, instead showing the loading dots. Now, eventually I'm going to move this application to the same server as the AMFPHP service, but even when I try it there with a relative url, instead of an absolute one, it still breaks down at connect(). I've tried changing the publish settings from local only to network only, to no avail.

View 3 Replies

Actionscript 3 :: Flex - I Resize The Entire Flex App Just Like Acrobat Connect?

Jun 26, 2010

ive been pondering how to create the same type of resizing that acrobat connect does. i did read the documentation of percentage sizing. and i have implemented it. but its not how i want it to look. to see an example: [URL] sorry Jeffrey to use you as an example. :) just try to resize your window and see it... thats what im looking for.

View 2 Replies

Flex :: Best Way To Make Flex 4 Connect To A Custom Server?

Feb 20, 2011

I made a custom server that accepts TCP connections on a certain port. I made a corresponding client that sends data to the server. The client writes to the socket and the server seems to accept it. In short, the server / client rig works. Now I want to re-create the client only this time, via Flex 4 / Flash Builder 4. How do I go about making my Flex 4 app connect to my custom server?

[code]...

With that type of approach, the server doesn't seem to be receiving any connections at all. And also, even though I set the requestTimeout to 5, my Flex app seems to continuously try to connect to the server because I rigged it so that the button when clicked will call this HTTPService also that certain button would get disabled and it will get enabled again after it the connection successfully connects, returned an error or if it timed out.

So with all these said, I want to ask you, what is the best approach to making my Flex app connect to my custom made server?

View 2 Replies

Flex :: Using Grails To Connect To A Flex Web Service?

Jun 20, 2009

I have a grails application that will be rendering an html page into a pdf file and I have a flex application sitting on a server that is going to accept REST parameters and construct a graph based on the parameters (which will be formatted in JSON). What I want to do is make a call to the flex app with my parameters and have the flex app create the graph, render a JPEG of the graph, then send an image back to grails. In other words, I want to put an HTML img src=that will render the image directly to the page so that my PDF Plugin in grails will render it into the PDF.

View 1 Replies

Flex :: Connect With Asp.Net And Using Remoteobjects?

Oct 7, 2009

can any one give how can i connect .net and flex using remote objects.actually till now i know how can flex and jsp connects with http services.but now i need to connect with .net
so how can i retrive the values from .net(backend) and display it in frontend(flex

View 2 Replies

Flex :: Connect To A WCF With RTMP?

Feb 22, 2010

I want to flex connect to a WCF with RTMP. is there an abillity to create RTMP custom binding in WCF?

View 1 Replies

Actionscript 3 :: Connect Flex With Mysql?

Dec 3, 2009

Possible Duplicate: How to update a MySql DB using Flex

I want to connect flex with mysql

View 4 Replies

Flex :: Cannot Connect To Socket In Same Domain

Dec 30, 2010

I have a Flex web app (compiled to regular SWF) that tries to connect to a (binary, not XML) socket on its own server. So if the swf is at [URL], the socket is [URL] This should be possible, AFAIK, but when I try to connect I get a security error saying that [URL] cannot access [URL]. Even though it shouldn't be needed, I also have a crossdomain.xml file containing

[Code]...

View 2 Replies

Flex :: Using Blazeds To Connect To A EJB On Glassfish

Mar 30, 2011

The task is to try to connect directly to a stateless EJB deployed on Glassfish. I have already done this via Web Service and I can also connect to the EJB by calling a remote java object which uses JNDI to find and load the bean. What I cannot do is directly connect to the EJB with Blazeds. I am using EBJ3Factory BY Ryan Norris (downloaded from adobe site) as follows;

[Code]....

View 1 Replies

Php :: Javascript - Connect PHP And Flex Player

Jul 24, 2011

I'm using Flex Player component on a localhost. The FLV video files are stored in bin-debug/Video Source. The PHP code for the video is:

[Code]...

The player is generated on the HTML page via javascript where createPlayer(); writes FlexPlayer.swf on the page between object tags

<script type="text/javascript">
createPlayer();
</script>

My question is where and how to put the $video variable to dynamically load video in this FlexPlayer.swf. CreatePlayer() is:

[Code]...

View 1 Replies

Flex :: Connect .mxml Component To Another?

Feb 7, 2012

How can i click a button on an .mxml component to open a specific selectedItem on a spark List from another .mxml component!?

View 1 Replies

Flex :: Connect It With Symfony 2 For Amf Calls?

Mar 6, 2012

I have to use flex 4 for the front end and php with Symfony 2 as backend. I want to use amf to call remote methods on the php. I have known that Symfony 2 does not have plugin for amf communications with Flex. In this case how can I connect them? or I have to use httpservice/webservices which is slow in performance.

View 1 Replies

Flex :: Connect UI To A Unix Backend Server?

Sep 23, 2011

Im working on a project with the following basic needs:

Need to invoke a Flex Webapp in a new Tab from another Webapp in Java/Jsp.This Flex UI must be connected to a unix backend to show the backend operations on the UI.The unix backend server has telnet operations and SSO

View 1 Replies

Flex :: Air - Connect / Communicate With Fingerprint Or Scanner?

Dec 16, 2011

I want to write application in adobe flex/air through which I can communicate/connect with hardware devices such as Fingerprint reader, scanner.

Is there any way to do so?

Is flex/air support hardware interaction with the following devices.

View 1 Replies

Flex :: Adobe - Connect 2 Known Users In App Together Using Rtmfp?

Feb 8, 2012

How would you be able to connect 2 users ( that are known and have a user account on my site) in a flex app together using rtmfp?I have a simple flex game app where I want 2 users to be connected to each other. There is a simple SQL database in the background for storing the users, but after this I'm unable to figure out how I would connect the 2 users.tmfp generates a unique ID that you can use to connect 2 users together?Im looking for a good tutorial info resource or an example app that demonstates connecting 2 users, or just an explanation

View 1 Replies

Flex :: Connect Application To Two Different BlazeDS Servers?

Mar 15, 2012

is it possible to connect to two different BlazeDS servers from the same Flex app? I have already read this question: Can a Flex client app connect to BlazeDS running on a different server? However, it appears to be discussing the possibility of connecting a Flex client to a BlazeDS on a different server but not necessarily to another BlazeDS on a different server.

One Flex client connecting to two webapps using BlazeDS - Detected duplicate HTTP-based FlexSessions

In attempts I have tried, I get the error mentioned in the second question above: Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.

Is connecting one Flex application to two BlazeDS enabled servers completely impossible? We want to be able to have a "common functionality" BlazeDS server that is used by a number of Flex apps that each have their own local BlazeDS server for their own functionality.

The way I'm currently doing it:

In my mxml file, I'm defining a a channset like so:

<mx:ChannelSet id="dataService1Channel">
<mx:channels>
<mx:AMFChannel id="dataService1AmfChannel"

[Code].....

The calls work and I can get the data but I'm getting that warning I mentioned in the form of an alert in the Flex application.

View 1 Replies

Flex :: Waiting For Flash Player To Connect To Debugger?

Feb 3, 2010

Using Flex Builder 3 : I have been getting this problem in every single debug launch for past few hours. I used to get this earlier too, but once in a while, not with every debug launch. I found out that flex debugger uses a certain 7395 port but I can't figure out how to change it?

View 9 Replies

Flex Client App Connect To BlazeDS Running On A Different Server?

Feb 9, 2010

As far as In understand the Flex technology, a Flex client connects to a Flex server to retrieve business information. Is this the only allowed connection for the client, back to the originating server? Or can a Flex client also open a secondary connection to a different server wich runs BlazeDS for message exchange?(This might offer an option for load balancing and cross-platform development).

Update: I have found this page which links to the Cross-domain policy file specification:[URL]..

View 2 Replies

Php :: Flex/Zend Channel Connect Failed Error?

Jul 6, 2010

I am using Flex and php to develop my project. Everything works great in my local machine.However, when I upload my files to my serverI got the error when loading my flex application.The pop-up error message is

send failed
channel.connect.failed.error
Netconnection.call.Badversion: url:

[code].....

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

Java :: Flex - How To Connect MySQL In Flash Builder 4.5

Dec 27, 2011

While I am connecting the dateservice via menu Data> connect to BlazeDS the error showing that RDS server message : connection refused : connect

View 1 Replies

ActionScript 3.0 :: Connect To Database From The Adobe FLex AIR Application?

Oct 7, 2009

I am trying to connect to database from the Adobe FLex AIR application.

Is it possible to connect to database(SQL Server / ORACLE) from Action script.

View 2 Replies

Flex :: Connect A Pair Of Clients Together Via Server For An Online Game?

Oct 27, 2009

I'm developing a multi-player game and I know nothing about how to connect from one client to another via a server. Where do I start? Are there any whizzy open source projects which provide the communication framework into which I can drop my message data or do I have to write a load of complicated multi-threaded sockety code? Does the picture change at all if teh clients are running on phones?

View 4 Replies







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