Is it possible to use JSFL to automatically set component's
parameter(s) while in Flash IDE?

> ====== Fri, 4 Nov 2005, JesterXL wrote:
> Put this in your onLoad/initLayout function in your class.
> 
> if ( _global.isLivePreview == true)
> {
>     // you are running in the Flash Live Preview
>     compile_txt.text = compiledDate;
> }
> 
> To get the actualy compile date itself, you'll have to go ask the dudes on 
> OSFlash; I think using ANT or some other post/pre-processor, you can set 
> vars/global vars to a preset value.
> 
> ----- Original Message ----- 
> From: "eric dolecki" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" <[email protected]>
> Sent: Friday, November 04, 2005 2:17 PM
> Subject: [Flashcoders] live preview vs. compiled swf
> 
> 
> I have a component, where part of the live preview is to show the date of
> compile.
> 
> How can I code this so that when the resulting SWF is run some other time,
> it uses a "burned in" value for the date, and not my "get todays date"
> function? Somene suggested localSharedObject - but that doesn't really work
> - since the 1st time you run it, the date could be inaccurate.
> 
> ed
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 


-- 
Best regards,
 Gregory_GOusable                        
================================
http://GOusable.com
Flash components development.
Usability services.


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to