Thanks,  and to summarize the other Thread, the answer to my question is 
no, but yes.

http://tech.groups.yahoo.com/group/flexcoders/message/65112

Really I was hoping for something more along the lines of Annotations 
like in Java 1.5.  I think that I will probably try some other avenue 
since this appears to be a dead end.

Paul


Michael Schmalle wrote:
> Well, don't have exactly what I wanted to say but,
>
> see
>
> Re: Flex 2 Compiler / Metadata Question
>
> Posts in flexcoders.
>
> I don't have the url to the thread.
>
> Peace, Mike
>
> On 6/8/07, Paul deCoursey <[EMAIL PROTECTED]> wrote:
>>
>>   You lost me.. I think either I need you to give me a concrete 
>> example or
>>
>> I need to better describe what I want to do.
>>
>> I have a java application that generates AS3 classes from an XML Schema
>> source. Here is a simple example of one of those classes:
>>
>> public class Angle {
>>
>> public var activeaudioangle:String;
>>
>> public var activevideoangle:String;
>>
>> public var clip:com.decoursey.xmeml.Clip;
>>
>> public function Angle() {
>> }
>>
>>
>>
>> }
>>
>> What I'd like to do is add metadata to properties(or to the class), for
>> example:
>>
>> public class Angle {
>>
>> [XBElementSource(name="AAA")]
>> public var activeaudioangle:String;
>>
>> [XBElementSource(name="AVA")]
>> public var activevideoangle:String;
>>
>> public var clip:com.decoursey.xmeml.Clip;
>>
>> public function Angle() {
>> }
>>
>>
>>
>> }
>>
>> And then at runtime I'd like to inspect the metadata, or even have the
>> compiler generate some extra code based on the metadata. How do I do
>> that? Can I do that?
>>
>> Michael Schmalle wrote:
>> > Yes,
>> >
>> > use the xml reflection and there is a meta data node for the member it
>> > was
>> > defined on.
>> >
>> > Peace, Mike
>> >
>> > On 6/8/07, Paul deCoursey <[EMAIL PROTECTED] <paul%40decoursey.net>>
>> wrote:
>> >>
>> >> Does anybody know if it's possible to define our own metadata and
>> >> access
>> >>
>> >> that info at runtime? For example, I'm writing a XML-Object binding
>> >> framework and I'd like to add some metadata to some generated classes
>> >> that I can access at runtime. The data I'd like to add is info about
>> >> how the object should be read or written to and from XML.
>> >>
>> >> Paul
>> >>
>> >>
>> >>
>> >
>> >
>> >
>>
>>  
>>
>
>
>

Reply via email to