Not sure if this has the answer you're looking for (haven't read the article),
but it came up in a google search:
http://www.adobe.com/devnet/flash/articles/creating_as3_components.html
regards,
Muzak
----- Original Message -----
From: "Gregory N" <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Thursday, February 19, 2009 9:59 PM
Subject: [Flashcoders] this._livePreviewMask - what is analog in AS3?
I have a component which is built based on user parameters.
And I'm trying to make a Live Preview for it.
The problem is that too many things, including the visual size, are
determined at runtime and/or in component inspector.
So, sometimes part of the picture (in Live Preview) is cropped.
In AS2, there was _livePreviewMask property, which I used to reference
from component's class just as
var lpMask:MovieClip = this._livePreviewMask;
and then re-position this mask, change its size etc.
Is there something like this in AS3? Or any workaround?
--
--
Best regards,
GregoryN
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders