Jump to content

browse()


Ustag

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...