[flexcoders] Tree and Array

2007-04-03 Thread Sal
hi,
  i have an array of records received from an amfphp call and i need 
to fill a tree control with that data. 

the array has this format:

aArr[0].id
aArr[0].description
aArr[0].parent
aArr[0].order

aArr[1].id
aArr[1].description
aArr[1].parent
aArr[1].order

... and so on

i didn't find any method of the control that adds node or that sets 
node parent. 

Any ideas?

Thanks.



[flexcoders] Re: Tree and Array

2007-04-04 Thread Sal
how? can't find a sample... can't find docs on it... does that mean 
i'll need to build a tree structure inside an array and then pass it 
to the data provider? if so... are there docs or samples on this? how 
to add an array child of an array element?

Thanks


--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You have to build up the dataprovider and pass it into the tree.  
If you
> change the dataprovider later, the tree will notice in most cases.
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Sal
> Sent: Tuesday, April 03, 2007 5:38 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Tree and Array
> 
> 
> 
> hi,
> i have an array of records received from an amfphp call and i need 
> to fill a tree control with that data. 
> 
> the array has this format:
> 
> aArr[0].id
> aArr[0].description
> aArr[0].parent
> aArr[0].order
> 
> aArr[1].id
> aArr[1].description
> aArr[1].parent
> aArr[1].order
> 
> ... and so on
> 
> i didn't find any method of the control that adds node or that sets 
> node parent. 
> 
> Any ideas?
> 
> Thanks.
>




[flexcoders] Flex alternatives

2012-01-11 Thread Sal
hi, 
 as i can sadly see from the message history bottom grid, many programmers are 
leaving flex.
So this thread is to ask you all, if you have already found a valid alternative 
to flex for RIA development.



[flexcoders] Re: Flex alternatives

2012-12-15 Thread Sal


--- In flexcoders@yahoogroups.com, "Sal"  wrote:
>
> hi, 
>  as i can sadly see from the message history bottom grid, many programmers 
> are leaving flex.
> So this thread is to ask you all, if you have already found a valid 
> alternative to flex for RIA development.
>

After almost 1 year, it seems that Adobe itself gave us the answer releasing 
Adobe Flash Builder 4.7 without the design view. This is a straight message to 
all flex programmers telling us that Adobe has no more intention, and maybe 
neither a project group, to continue flex developing. So now, after this year 
of reflections and testing new products, what is the real alternative to flex?



[flexcoders] Re: Calendar Help

2008-07-25 Thread Sal H.
Help with the actionscript please. I only got as far as this:

http://www.adobe.com/2006/mxml";
layout="vertical" creationComplete="init()">






 

 1
 02/28/2008
 10:45am/11:15am


 2
 02/23/2008
 7:00pm

 






--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> How about doing that in a DateChooser.change event handler function?
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of emobilecat
> Sent: Friday, July 25, 2008 11:41 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Calendar Help
> 
>  
> 
> Hi all 
> 
> I'm trying to create a calendar using the dateChooser component. I am
> able to show which dates are selectable, but I can't figure out how to
> when I click on the date it will show the event information for that
> day from the xml file I provided. Help please!
> 
> Here's a snippet of what I have so far:
> 
> http://www.adobe.com/2006/mxml
>  "
> creationComplete="init()">
> 
> 
> 
> 
> 
> 
> 
> 1
> 02/28/2008
> 10:45am/11:15am
> 
> 
> 2
> 02/23/2008
> 7:00pm
> 
> 
> 
> 
>  creationComplete="displayDates()"/>
> 
> 
>




[flexcoders] Adding Quantity to Cart

2008-10-16 Thread Sal H.
I created this cart and now I'm trying to code the actionscript to
handle all the capabilities. So far I am able to add items to the cart
using an ArrayCollection. Now, I am having trouble adding the quantity
according to what the numeric stepper indicates. I'm using a standard
tilelist and the numeric stepper is located in the item renderer.
Also, I want to be able to increase the quantity if the same item gets
added to the cart. Any suggestions please let me know. Below is a my code:


http://www.adobe.com/2006/mxml";
layout="vertical" xmlns="*" creationComplete="srv.send()">







http://www.cedcat.com/data/overStock.xml"; useProxy="false" 
result="(srv.lastResult.overStock.product)" showBusyCursor="true"/>



















// cartOverStock Component

http://www.adobe.com/2006/mxml"; width="145"
height="100">

[Event("buy")]