GODPAPER | All Packages | All Classes | Index | Frames No Frames |
GameFS

Package | playerio
Interface | public interface GameFS

Allows developers to access files stores in GameFS

Public Methods

| Method | Defined 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")

Thu Jan 16 2014, 01:11 PM +08:00