4.51.2.3.8. load() | Table of Contents | 4.51.2.3.10. loadFromOffset() |
function loadFromFile(var inFile:file):boolean;Remarks:
Loads a sprite from an open file. The responsibility of opening the file, seeking to the proper location, and closing the file is up to the application designer.
This method is useful for loading one of multiple sprites from a file stream.
You can determine how big each sprite is by calling getSize()
Restrictions:File must be open and positioned to a valid sprite.
Return value:TRUE if successful, FALSE if failure.
See also:4.51.2.3.8. load() | Table of Contents | 4.51.2.3.10. loadFromOffset() |