Re: [flexcoders] Help with non-visual MXML components and getting the syntax I want

2008-04-20 Thread Josh McDonald
Cheers :)

I eventually figured it out, I was mainly misled by a rather abstruse
compiler error :)

-J

On Mon, Apr 21, 2008 at 4:18 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

>I would look at ArrayCollection
>
>
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Sunday, April 20, 2008 6:35 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Help with non-visual MXML components and getting
> the syntax I want
>
>
>
> Hi Guys,
>
> I'm building some non-visual MXML components, and I want to keep the MXML
> syntax as nice as possible. What I'd like is something like this:
>
> 
>  
>   
>   
>   
>  
> 
>
> Can it be done? How do I define my get / set functions in
> au.company.custom.Garden? Can I use [ArrayElementType()] with this to
> enforce that everything in "fruits" extends "au.company.custom.Fruit"?
>
> If there's a good example of what I'm trying to do, please point me in the
> right direction!
>
> Any tips much appreciated!
>
> -J
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>   
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


RE: [flexcoders] Help with non-visual MXML components and getting the syntax I want

2008-04-20 Thread Alex Harui
I would look at ArrayCollection

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Sunday, April 20, 2008 6:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help with non-visual MXML components and getting
the syntax I want

 

Hi Guys,

I'm building some non-visual MXML components, and I want to keep the
MXML syntax as nice as possible. What I'd like is something like this:


 
  
  
  
 


Can it be done? How do I define my get / set functions in
au.company.custom.Garden? Can I use [ArrayElementType()] with this to
enforce that everything in "fruits" extends "au.company.custom.Fruit"?

If there's a good example of what I'm trying to do, please point me in
the right direction!

Any tips much appreciated!

-J

-- 
"Therefore, send not to know For whom the bell tolls. It tolls for
thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]