you anything special though. You are still constrained by the security of the browser.
can i embed these language into my flex project?
You can't. Why do you want to do this?
since i have to check harddisk space, free memory remain. Also, i need to check the pixel of photos before the photos becoming bitmapdata
I think what this means is "I want to check to see how much hard disk space is available. Also, I need to check the pixel dimensions of an image."
Is that right?
There is no way in the Flash Player (as far as I know) that you can determine the amount of free disk space. However, in AIR you can use air.File.applicationStorageDirectory.spaceAvailable to determine the storage space available in the application storage directory.
As far as determining the dimensions of an image, there are plenty of good resources out there on that. Maybe this one will be helpful to you?