Hi Matthew,

Turns out that my function works, but only when i package and install it, not when testing in the IDE, (and that is where the "Feature is not available" error came from. So on Beta 3 it is: NativeApplication.nativeApplication.startAtLogin = Boolean;

Hope this helps you aswell :)

Sid

Matthew James Poole wrote:
Hi Sidney,

I've just searched the Adobe bugs db on jira and there doesn't seem to
be anything reported for this. But I can confirm that I get the same RTE
too, so I'd guess they will make it available at the real launch... Had
you tried this functionality in the Earlier releases? - I believe it was
called Shell.startApplicationAtLogin...

Cheers
Matt

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 10 January 2008 09:28
To: Flash Coders List
Subject: [Flashcoders] startAtLogin in AIR

Hi List,

I'm creating an app in AIR and do a
NativeApplication.nativeApplication.startAtLogin = true; (i have also
tried: NativeApplication.startAtLogin as stated in
http://labs.adobe.com/wiki/index.php/AIR:Release_Notes) to create a
startup folder entry (pc and mac). I import the file
flash.desktop.NativeApplication.
However it gives me this error:

Error: Error #2014: Feature is not available at this time.
    at flash.desktop::NativeApplication/set startAtLogin()
    at ae_fla::MainTimeline/setRunAtStartup()
    at ae_fla::MainTimeline/frame1()

I have checked the error codes here: http://www.flexcoders.cn/showtopic-582.aspx and it says that " The
feature is not supported on this system.". Now i have checked the
labs.adobe docs and said it should be in there, i'm using the beta 3 for
CS3.

Does anyone have experience with this? Or know a workaround? Maybe the
method call was changed in beta 3?


Cheers,

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

Reply via email to