I have requirement of selecting a pdf from local system and previewing it before uploading.
I am able to select the file and upload it but i am not able to preview it.
I tried using navigateToURL(urlRequest,
"_blank"); , but it is not able to show file from local path
Can anyone please tell how can i show the file from local machine
is your code executed in Flash runtime (web/standalone application but played in Flash runtime) or in AIR runtime (or 3rd party projector)? That's important as only AIR hosted movie would have access to "file://" protocol when defining/using URLRequest (and then navigateToURL) that are outside of your application domain: