ActionScript3 Reference
Class GameFS
Namespace: playerio
Language: ActionScript 3
Allows developers to access files stored in GameFS
Example
Example of how to request the file game.swf from your games GameFS via client
Methods | |||
---|---|---|---|
public |
Converts a GameFS path (like '/mygame.swf') into a full url, that can be downloaded over the internet. Important! Do not save or otherwise persist (bigdb, cookies, etc) the returned url, since the url will change over time. |
GameFS.getUrl
public |
|
Converts a GameFS path (like '/mygame.swf') into a full url, that can be downloaded over the internet. Important! Do not save or otherwise persist (bigdb, cookies, etc) the returned url, since the url will change over time.
Arguments
path:String | |
The path of the file in the GameFS, including the initial slash. Examples: '/mygame.swf' or '/characters/bob.jpg' | |
secure:Boolean (Default = false) | |
If true, this method returns a secure (https) url. |