Method | Description | |
---|---|---|
AddFile ( Primitive fileName ) : Primitive |
Add any file to the resources to be stored.
|
|
AddText ( Primitive text ) : void |
Add text, or may be variable (including arrays) to the resources to be stored.
|
|
CleanTemp ( ) : void |
Delete temporary sound files.
|
|
ExtractFile ( Primitive fileName ) : Primitive |
Extract a saved file to the current directory (Program.Directory).
|
|
Load ( ) : Primitive |
Load all previously saved resources from the sbres file. ImageList and sounds are all auto loaded ready for use. Sound files are re-created in your %temp% folder since they are required by Sound.Play.
|
|
Save ( ) : Primitive |
Save all resource to the sbres file. This includes all ImageList images, pre-run sounds (Sound.Play) as well as any added files or text/variables.
|
public static AddFile ( Primitive fileName ) : Primitive | ||
fileName | Primitive | The full path to the file. |
return | Primitive |
public static AddText ( Primitive text ) : void | ||
text | Primitive | The text or a Small Basic variable to add to the resources. |
return | void |
public static ExtractFile ( Primitive fileName ) : Primitive | ||
fileName | Primitive | The filename returned by Files method. |
return | Primitive |