  | | | Way to detect whether drawing in LivePreview mode? | Way to detect whether drawing in LivePreview mode? 2004-03-19 - By Justin Watkins
Back Check mx.controls.MediaDisplay for the isLivePreview method. Similar to what Andreas sent, but in the comp sources.
-justin
-- -- Original Message -- -- From: "Andreas Weber" <webweber@(protected)> To: <flashcoders@(protected)> Sent: Friday, March 19, 2004 3:42 PM Subject: RE: [Flashcoders] Way to detect whether drawing in LivePreview mode?
> > 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) > >
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- 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:107491 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |