Topic: Using ActnScipt to change date, time, time zone from within a Flash w

Is there any way to do this? If so, how?

Regards, Yale

Re: Using ActnScipt to change date, time, time zone from within a Flash w

According to the wiki, there are ways to set the time and time zone via ASnative:

//
// time
//
static var _setTimeZone:Function = _global.ASnative(103,321); // (timezone:String):Void
static var _getTimeZone:Function = _global.ASnative(103,320); // ():String
//
static var _setSystemTime:Function = _global.ASnative(103,322); // (time:Number):Void

I have not used them myself, but I have used the Accelerometer-based ASNative calls, so I have no reason to believe it will not work.  I don't know if they are considered privileged, meaning the control panel can used them.  In some way I hope the 'setters' are privileged -- I don't want a bad Chumby app to set the time or timezone and have me mess up my alarm schedule.

wayn3w

Re: Using ActnScipt to change date, time, time zone from within a Flash w

Does anyone know of a way to do this in AS3?