You are a Good Dude... Thanks For your help :D
Cheers!!
--
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal
http://labs.adobe.com/wiki/index.php/AIR:Documentation
I use the LiveDocs when getting info of new things, because that is the
one they are continually updating.
CrAzYcAlL.
Omar Fouad wrote:
Wow that worked But how do you get the Methods and Classes that I cannot
find in the documentatio
Wow that worked But how do you get the Methods and Classes that I cannot
find in the documentation and that have not Code hints?
On Jan 5, 2008 1:27 PM, CrAzYcAlL <[EMAIL PROTECTED]> wrote:
> Let me ask you something. Have you tried this :
>
> /import flash.filesystem.File;
>
> var dir:File =
Let me ask you something. Have you tried this :
/import flash.filesystem.File;
var dir:File = File.applicationDirectory;
trace ( dir.nativePath );/
I remember that this approach had some problems in beta 2. Can´t
remember exactly what.
But you can give it a try ;)
CrAzYcAlL
Omar Fouad wrote
Ok it works, but sometimes it returns the path of the subfolders inside the
application directory. Why?
On Jan 3, 2008 12:00 PM, CrAzYcAlL <[EMAIL PROTECTED]> wrote:
> If you type this on the first frame of your application you will get an
> error , because the call to swithVideo will happens bef
If you type this on the first frame of your application you will get an
error , because the call to swithVideo will happens before the InvokeEvent.
add a button to your app and label it btn for example and try this at
frame 1:
var appDir:File;
NativeApplication.nativeApplication.addEventListen
When I use:
NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,
onInvoke)
var AppDir;
function onInvoke(e:InvokeEvent) {
AppDir = e.currentDirectory;
trace(AppDir.nativePath); // traces the path
}
function switchVideo(st:String) {
var fileStream:FileStream = new
Ok it wored just fine thanks for your Help :D
Happy Feasts :D
On Jan 1, 2008 6:15 PM, Omar Fouad <[EMAIL PROTECTED]> wrote:
> Well beside the code hint is not working, in the documentation there is
> definition for the Native Application.
> BTW I'll try what u sent and feedback...
>
> Copy that.
Well beside the code hint is not working, in the documentation there is
definition for the Native Application.
BTW I'll try what u sent and feedback...
Copy that.
On Jan 1, 2008 6:12 AM, CrAzYcAlL <[EMAIL PROTECTED]> wrote:
> Well that´s the way I use when doing Air projects with Flash CS3. Even
Well that´s the way I use when doing Air projects with Flash CS3. Even
the code hint is working in flash IDE.
here is a .fla test:
http://www.adrianosantangeli.com/FlashAir.fla
CrAzYcAlL
Omar Fouad wrote:
Well I am using the Beta 3 but there is no NativeApplication Class.
P.S. : Um using the
Well I am using the Beta 3 but there is no NativeApplication Class.
P.S. : Um using the flash CS3 Air Update.
On Dec 31, 2007 3:24 AM, CrAzYcAlL <[EMAIL PROTECTED]> wrote:
> What version of Air ?
> "flash.desktop.NativeApplication" is for beta2 and beta3 if you're using
> an older version you nee
What version of Air ?
"flash.desktop.NativeApplication" is for beta2 and beta3 if you're using
an older version you need to use "flash.System.Shell" instead.
CrAzYcAlL
*
*Omar Fouad wrote:
flash.desktop.NativeApplication is not a Class in the AS3 library,,,
On Dec 31, 2007 12:45 AM, CrAzYcA
flash.desktop.NativeApplication is not a Class in the AS3 library,,,
On Dec 31, 2007 12:45 AM, CrAzYcAlL <[EMAIL PROTECTED]> wrote:
> use InvokeEvent :
>
> import flash.events.InvokeEvent;
> import flash.desktop.NativeApplication;
> import flash.filesystem.File;
>
> var appDir:File;
> NativeAppl
use InvokeEvent :
import flash.events.InvokeEvent;
import flash.desktop.NativeApplication;
import flash.filesystem.File;
var appDir:File;
NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,
onInvoke)
function onInvoke (invokeEvent:InvokeEvent):void{
appDir = invokeEvent
Hey,
Um doing some kiosk database driven Application in AIR, and I need to return
the absolute directory path of the .fla file itself in order to be able to
write files in the same application directory.
I tried:
var path:File.applicationStorageDirectory;
trace(path.nativePath) // it returned som
15 matches
Mail list logo