tags:

views:

14

answers:

1

hello,

I am using both windows and MAC.there is a file in desktop.I want that when my air application fires up itself it will hide that file.Please help with some ideas.

+2  A: 

I would believe that you need to package a native application that performs the hiding. See Communicating with native processes in AIR and also Introducing the Adobe AIR security model. Also, there is no guarantee that a file is truly hidden. A Windows user might've choosen to always display hidden files, similar with dotfiles on OSX/Linux.

c0dem4gnetic
+1. perhaps the OP might consider temporarily moving the file to the applicationStorage directory and restoring the file to the desktop during the native application exiting routine.
TheDarkInI1978