Dean; In regards to the setter, it must have the same name as the
setter specified in the pluginManifest.  For instance, the XML below
should have the corresponding actionscript.  Because the XML contains
a ‘defaultValue’, you should be able to debug and see this setter get
fired:

<attribute
                id="messageAttribute"
                name="The Message"
                setter="message"
                valueType="http://www.w3.org/2001/XMLSchema#string";
                defaultValue="Hello World">
                <description>A simple example of an attribute.</
description>
</attribute>

public function set message(value:String):void
{
                // do something
}

-- Scott

On Oct 28, 2:06 pm, Dean Rzonca <[email protected]> wrote:
> After reading through the Ensemble SDK documentation and examples, I
> can't find anything so I'm hoping someone can help me here.
>
> I need to add attributes to a custom Component I'm working on. In the
> pluginManifest, I added an "attribute" element specifying an id, name
> and setter. When I do this, the new attribute appears in the Ensemble
> Application Configuration window, but I can't figure out how to access
> it from my ActionScript class for the component. I added a setter, but
> it never fires.
>
> Any help is appreciated. Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to