I recently had my tutorial published on
http://www.HowToForge.com . I have not been getting very much feedback on it. I don't know if that's a good thing or not. I expected to have a lot of errors being it was my very first tutorial. It took me a little over two weeks to write because of my day job but I truly enjoyed writting it. My plans are to write a similar tutorial for Fluorine and FDS Express but I thought I let the community decide. What should my next Flex tutorial be?
5 comments:
Well it is good and I got a question about it.
If you return an Array as result to Flex it will be an ArrayCollection in Flex with AMFPHP 1.9
But what if you want to return Objects containing ArrayCollections?
Like this:
In AS3:
public class MyClass
{
public var list: ArrayCollection;
}
In PHP:
class TestClass
{
var $data;
function returnData()
{
$this->data = array();
$this->data[] = new MyClass;
}
}
class MyClass
{
var list;
function MyClass()
{
$this->list = array();
}
}
How to return the $list in MyClass as ArrayCollection to Flex? Thnx!
If you have an object that contains an array property it should translate to an object with an ArrayCollection in Flex.
Unfortunately it doesn't alway's. But I keep trying ;)
how to return arrayCollection to flex:
here
return ArrayCollection from PHP - take a look here
Post a Comment