user188925
user188925

Reputation: 21

Retrieving Local Files Flash Player 9

I've recently encountered a problem whilst coding when trying to upload local files to flash. With Flash Player 10 you can use the following code to load local files into flash.

FileReference.load();

This is not available in Flash Player 9 which is causing me issues as I only have a copy of CS3. All I need to do is retrieve a local jpg from the users computer and temporarily display it in my flash application. So to clarify, uploading to the server isn't required unless this is the only way to do this with Flash Player 9?

Any help would be greatly appreciated!

Upvotes: 0

Views: 406

Answers (2)

Amarghosh
Amarghosh

Reputation: 59471

There is no load() method in the Flash Player 9 version of the FileReference class and you have to upload() it to server and read it from there. No other way.

Upvotes: 1

Robert Bak
Robert Bak

Reputation: 4236

Sadly, you need to upload it to the server when using Flash Player 9. Access to the local files was one of the most anticipated features of Flash 10.

Upvotes: 0

Related Questions