You need to add an 'Inspectable' metadate tag to the getter/setter

[Inspectable]
function get prop(){}
function set prop(){}

[Inspectable(type="String",defaultValue="value")]
function get prop(){}
function set prop(){}

check the manual for more details:

Using components -> Creating components -> Creating the AS class file -> Adding 
component metadata

regards,
Muzak

----- Original Message ----- 
From: "eric dolecki" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, September 21, 2006 7:09 PM
Subject: [Flashcoders] Component Live Preview...


>I have a pretty simple component with inspectables to allow the setting of 2
> simple strings.
>
> Flash 8 is supposed to allow for the ease of live previews with components.
> What do I need to put in my component class to allow updates on the Stage of
> the component instance to update? I've tried a couple things, even using the
> old xch. stuff to no avail here. I put an onUpdate in the class (just to
> see) and it doesn't seem to do anything.
>
> ??


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to