Packageplayerio
Interfacepublic interface GameFS

Allows developers to access files stores in GameFS



Public Methods
 MethodDefined By
  
getURL(path:String):String
Get a url of a specific file
GameFS
Method Detail
getURL()method
public function getURL(path:String):String

Get a url of a specific file

Parameters

path:String — absolute path to the file you wish to load.

Returns
String

Example
Example of how to request the file game.swf from your games GameFS via PlayerIO
             var url:String = PlayerIO.gameFS("game-id").getURL("game.swf")
         
Example of how to request the file game.swf from your games GameFS via client
             var url:String = client.gameFS.getURL("game.swf")