[flexcoders] Re: Can someone help me with this code please?

2008-07-24 Thread ucabb4u
Thank you very much for this suggestion.  I can see it is a much better 
approach than all 
the others I have tried and failed with.  Exactly the kind of answer I hoped to 
elicit by 
phrasing the question in this way.  I will study this technique for my homework 
:)

Thanks Amy, I truly appreciate your help.

Andy

--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "ucabb4u"  wrote:
> >
> > Can someone help me with the code required to do the action 
> described in the comment 
> > block please?
> > 
> > 
> > import mx.collections.ArrayCollection;
> > 
> > 
> > [Bindable]
> > public var tempArray:ArrayCollection = new ArrayCollection();
> > 
> > private function showSelection(event:Event):void{
>   
> > trace(slct.selectedIndex);
> > 
> >  /*  Use the selectedIndex create an array name 
> e.g. "data1", "data2", "data3", etc.
> >  Replace the contents of the tempArray collection with 
> the contents of the array 
> > collection selected - "data1", "data2", "data3", etc.   
> >
> >  */  
> > }
> > 
> >
> 
> It seems to be that you'd be better off with an array containing your 
> ArrayCollections and then just pull out the one by index.  However, 
> this['myVarName'] will allow you to dynamically reference the 
> variable.  Good luck with your homework :-)
>



[flexcoders] Can someone help me with this code please?

2008-07-23 Thread ucabb4u
Can someone help me with the code required to do the action described in the 
comment 
block please?


import mx.collections.ArrayCollection;


[Bindable]
public var tempArray:ArrayCollection = new ArrayCollection();

private function showSelection(event:Event):void{   
trace(slct.selectedIndex);

 /*  Use the selectedIndex create an array name e.g. "data1", "data2", 
"data3", etc.
 Replace the contents of the tempArray collection with the contents 
of the array 
collection selected - "data1", "data2", "data3", etc.   
   
 */  
}




[flexcoders] Can someone help me with this code please?

2008-07-23 Thread ucabb4u
Can someone help me with the code required to do the action described in the 
comment 
block please?


import mx.collections.ArrayCollection;


[Bindable]
public var tempArray:ArrayCollection = new ArrayCollection();

private function showSelection(event:Event):void{   
trace(slct.selectedIndex);

 /*  Use the selectedIndex create an array name e.g. "data1", "data2", 
"data3", etc.
 Replace the contents of the tempArray collection with the contents 
of the array 
collection selected - "data1", "data2", "data3", etc.   
   
 */  
}




[flexcoders] Re: How do I switch data providers?

2008-05-20 Thread ucabb4u
Thank you Alex.  I think I phrased the question badly.

Do you mean in the change event of the ComboBox, select a new data provider for 
the 
same ComboBox?  In which case, it's not that.

I want to create a menu for Ely Greenfields "DisplayShelf" so that the user can 
select a 
group of images by subject.  Hope thats easier to explain a solution.

-oXo---

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You mean something like this?
>  
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ucabb4u
> Sent: Monday, May 19, 2008 2:15 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How do I switch data providers?
> 
> 
> 
> Can someone help me out please?
> 
> I have a ComboBox with a list of subjects. I want the user's selection
> to change the name 
> of the dataProvider. I found a reference in Adobe's docs that says it
> can be done but I can't 
> figure out how.
> 
> Can you also volunteer any information where I can find a cookbook of
> examples. I have 
> tried all the usual sources, but can't find what I'm looking for. (Just
> past newbie, but still a 
> bit confused).
> 
> :)
> 
> Thanks.
>





[flexcoders] How do I switch data providers?

2008-05-19 Thread ucabb4u
Can someone help me out please?

I have a ComboBox with a list of subjects.  I want the user's selection to 
change the name 
of the dataProvider.  I found a reference in Adobe's docs that says it can be 
done but I can't 
figure out how.

Can you also volunteer any information where I can find a cookbook of examples. 
I have 
tried all the usual sources, but can't find what I'm looking for.  (Just past 
newbie, but still a 
bit confused).

:)

Thanks.





[flexcoders] Re: How to genrate XML from CSV???

2008-03-24 Thread ucabb4u
--- In flexcoders@yahoogroups.com, "qau_yasir" <[EMAIL PROTECTED]> wrote:
>
> Hi All!
> I have to read a CSV file and transform it into XML file. Is there any
> API in flex that can help in this respect? 
> I tried Flare http://flare.prefuse.org/doc/tutorial/ . In the example
> shown in this tutorial URLLoader can not get data from data source?
> Please Help!
> 
> Regards
> YM
>
Having just done this I might be able to help.  I downloaded and installed 
"Uniform Server".  I 
used it's phpAdmin to create a database and import my CSV file.  It can export 
as an XML file 
but I found that Flex Builder 3's Data/Create Application from Database Wizard 
imports the 
database and gives you a view & automatically sets up a connection to localhost 
and installs 
PEAR. The XML is in e4x format.

HTH
AG



[flexcoders] Education Users - upgrade to Flex 3

2008-03-11 Thread ucabb4u
Adobe sales told me I could upgrade from Flex 2 to Flex 3 for the upgrade price 
listed on 
their website.  
I bought it but it will not accept the serial numbers and gives an error 
message "this version 
is not upgradeable".  
Several phone calls later I find there is now a separate (free) educational 
version of Flex 3 
which will be available soon via the usual educational verification process.