Then it looks like the parens are necessary for the compiler to recoganize it 
as an @-directive, which explains why @Once{...} just did string concatenation.

- Gordon


-----Original Message-----
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: Monday, April 30, 2012 4:29 PM
To: flex-dev@incubator.apache.org
Subject: Re: [jira] [Updated] (FLEX-51) Please check support for ExactValue 
initializer

Hi,

> What does it do with
> <s:TextInput text="@Whatever"/>

It displays "@Whatever".

Also if you have this:
<s:TextInput text="@Embed"/>

It displays "@Embed".

But both of these:
<s:TextInput text="@Embed()"/>
<s:TextInput text="@Embed(something)"/>

Gives an error.

Thanks,
Justin

Reply via email to