I am a little late to this party but I would have to recommend using AMF to
pass your data back and forth. this allows you to pass objects and arrays of
objects both ways. No need to convert objects to XML and back to objects - they
are all just objects.
When the data comes in you can use
Hi Steve. As I said earlier about using e4x I'm reluctant to use amfphp 1.
because I already have eveything set up using regular php code and 2. I.
struggle to find examples of how to use such methods compared to the regular
methods of using traditional php.
Would you happen to know if it is
James
First off, I would not use AMFPHP as it is deprecated in favor of ZendAMF (Part
of Zend Framework). I found WebORB much easier to integrate than ZendAMF.
With WebORB you use Object Oriented PHP. You create data transfer classes in
both Flex and PHP and map them to each other. then you
obviously it
needs to all be web based.
--- On Wed, 21/4/10, valdhor valdhorli...@... wrote:
From: valdhor valdhorli...@...
Subject: [flexcoders] Re: Problems With my XML Created Array Collection
To: flexcoders@yahoogroups.com
Date: Wednesday, 21 April, 2010, 13:49
Â
James
obviously it needs to all
be web based.
--- On Wed, 21/4/10, valdhor valdhorli...@embarqmail.com wrote:
From: valdhor valdhorli...@embarqmail.com
Subject: [flexcoders] Re: Problems With my XML Created Array Collection
To: flexcoders@yahoogroups.com
Date: Wednesday, 21 April, 2010, 13:49
James
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
James
First off, I would not use AMFPHP as it is deprecated in favor of ZendAMF
(Part of Zend Framework). I found WebORB much easier to integrate than
ZendAMF.
With WebORB you use Object Oriented PHP. You create data
--- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote:
Hi Amy. Sorry I missed your post yesterday. e4x does seem good but I was just
a little bit worried about implementing it. As a flex beginner I tend to
stick to the traditional most widely used methods of doing things as
Amy
That I didn't know. AMFPHP is probably a viable option then, especially seeing
as it is being updated.
I left AMFPHP behind once I went with WebORB and have never looked back until
now.
--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:
--- In
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of James
Sent: Monday, April 19, 2010 3:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Problems With my XML Created Array Collection
I've noticed that if I remove all items from
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Tracy Spratt
Sent: Tuesday, April 20, 2010 12:39 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Problems With my XML Created Array Collection
I know this is very late in the game, and I haven’t read the full thread
--- In flexcoders@yahoogroups.com, Robert Moss rdm0...@... wrote:
Yes use a third if statement like: if(event.result.categories)
if(event.result.categories != null) should also work
Notice I used event.result instead of LinksService.lastResult. Small change,
but you should get in
@yahoogroups.com
Subject: RE: [flexcoders] Re: Problems With my XML Created Array Collection
I know this is very late in the game, and I havenât read the full thread,
but this seems like a very complicated solution to the problem. Further, the
default resultFormat has other
Hi Amy. Sorry I missed your post yesterday. e4x does seem good but I was just a
little bit worried about implementing it. As a flex beginner I tend to stick to
the traditional most widely used methods of doing things as a lot of the times
I work by looking at previous examples and applying them
return the xml as a string from PHP file and cast that return string
in flex like this var xml:XML = XML(data.result);
then do whatever it needs like XMLList and XMLListCollection;
then is the resultEvent you can check like this
if (data.result != )
{
xml:XML = XML(data.result);
}
else
{
: Re: [flexcoders] Problems With my XML Created Array Collection
what about xmllistcollection ?;
---
thomas parquier
http://www.web- attitude. fr/realisations/
msn : thomas.parquier@ web-attitude. fr
softphone : sip:webattitude@ ekiga.net
téléphone portable : +33601 822 056
: Mon, April 19, 2010 9:27:13 AM
Subject: Re: [flexcoders] Problems With my XML Created Array Collection
what about xmllistcollection ?;
---
thomas parquier
http://www.web- attitude. fr/realisations/
msn : thomas.parquier@ web-attitude. fr
softphone : sip:webattitude@ ekiga.net
télÃ
...@yahoogro ups.com
Sent: Mon, April 19, 2010 9:27:13 AM
Subject: Re: [flexcoders] Problems With my XML Created Array Collection
what about xmllistcollection ?;
---
thomas parquier
http://www.web- attitude. fr/realisations/
msn : thomas.parquier@ web-attitude. fr
softphone
and trap for it.
From: James garymoorcroft_...@yahoo.co.uk
To: flexcoders@yahoogroups.com
Sent: Mon, April 19, 2010 12:47:15 PM
Subject: [flexcoders] Re: Problems With my XML Created Array Collection
Hi Robert. Thanks so much for that my friend.
I have some
--- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote:
The thing is my xml is retrieved from a mysql database table which sometimes
will have no records or 1 record which will mean the xml will have only 1 or
no nodes which in turn causes the problem whereas sometimes it has
, 2010 12:47:15 PM
Subject: [flexcoders] Re: Problems With my XML Created Array Collection
Hi Robert. Thanks so much for that my friend.
I have some problems with it though. You see I have an event in my app
applied to a button (refresh button) which resends data via the LinksService
i.e
@yahoogroups.com
Sent: Mon, April 19, 2010 2:11:16 PM
Subject: [flexcoders] Re: Problems With my XML Created Array Collection
You were right about removeall (flush ha whoops) helping. I applied removeall
before the if statements like you said and the first error is now gone.
The only problem I
for it.
From: James garymoorcroft_...@...
To: flexcoders@yahoogroups.com
Sent: Mon, April 19, 2010 12:47:15 PM
Subject: [flexcoders] Re: Problems With my XML Created Array Collection
Hi Robert. Thanks so much for that my friend.
I have some
: [flexcoders] Re: Problems With my XML Created Array Collection
To: flexcoders@yahoogroups.com
Date: Monday, 19 April, 2010, 21:00
Yes use a third if statement like: if(event.result. categories)
if(event.result. categories != null) should also work
Notice I used event.result instead
23 matches
Mail list logo