Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

openWithDefaultApplication in flex sdk 3.5.0.12683 and ReferenceError: Error #1069:

$
0
0

I  am trying to use openWithDefaultApplication to open the files in default application for the desktop application developed using AIR.

 

Development environment is as follows

- Flex builder 3.0 eclipse plugin .

- Flex SDK version is 3.5.0.12683.

- AIR 2.0 sdk, I have used instruction specified at  http://www.adobe.com/support/documentation/en/air/2/releasenotes_developers.html#h, to overlay AIR2.0 sdk  with Flex 3.5.0.12683. SDK.

 

I get the following error when openWithDefaultApplication is executed

 

ReferenceError: Error #1069: Property openWithDefaultApplication not found on flash.filesystem.File and there is no default value.
    at air_openwithdefaultapp/onFileSelect()[D:\www\flexprojects\air_openwithdefaultapp\src\air_ openwithdefaultapp.mxml:28]

 

I tried to trace/alert the flex and air runtime verions and I get following  details, 3.5.0.12683 for Flex SDK and  2.5.0.16600 for AIR.

 

The same code works fine when I use the Flash Builder4 with Flex 3.5 sdk.

 

Any idea what is going wrong here?


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>