| RISC OS Loader for !WebAnim8r
| Written by Paul Vigay (C) 2008
|
If "<Boot$Dir>" = "" Then Error No !Boot application has been run.
If "<Choices$Write>" = "" Then Error No !Boot application has been run.
|
If "<WebAnim8r$Running>" <> "" Then Error WebAnim8 is already running.
|
Set ABCLib 1
RMEnsure ABCLibrary    0.00 Set ABCLib 0
|  ABCLib = 0 if not already loaded
If ABCLib = 0 Then RMEnsure ABClibrary 4.14 RMLoad System:modules.ABClib 
If ABCLib = 0 Then RMEnsure ABCLibrary 4.14 Error The version of ABCLib installed in your !System is too old. WebAnim8r needs ABCLib 4.14 or later 
If ABCLib = 1 Then RMEnsure ABCLibrary 4.14 Error You are already running a version of ABCLib which is too old. WebAnim8r needs ABCLib 4.14 or later 
|
| Setup WebAnim8r resources
If "<WebAnim8rResources$Dir>" = "" Then Set WebAnim8rResources$Dir <Obey$Dir>.!WA8rRes.Resources
|
Set WebAnim8r$Dir <Obey$Dir>
Iconsprites <WebAnim8r$Dir>.!Sprites
|
Wimpslot -min 10240K -max 10240K
Filer_OpenDir <WebAnim8rResources$Dir>
Run <WebAnim8r$Dir>.!RunImage %*0