  | | | Way to detect whether drawing in LivePreview mode? | Way to detect whether drawing in LivePreview mode? 2004-03-19 - By Andreas Weber
Back > Is there a way to determine programmatically within a component's > class whether or not the current drawing operations are being done for a > live preview as opposed to the actual execution of a movie?
Not at all ideal, but until I find something better I'm using this:
var id:String = String(this); if(id.indexOf('.contents.') == -1){ // outside IDE! }
HTH -- ---- ------ Andreas Weber motiondraw.com
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107488 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |