Jump to content

browse()


Ustag
 Share

Recommended Posts

hi im trying to open the file browser in flash and maybe someone know why I get this error:

Scene 1, Layer 'action', Frame 1, Line 7 1061: Call to a possibly undefined method browse through a reference with static type Class.
with this code:
import flash.events.MouseEvent;browseBtn.addEventListener(MouseEvent.MOUSE_UP, browseFile);function browseFile(event:MouseEvent):void{	FileReference.browse();  //Line 7}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...