|
Some example code:
| |
Start ASL;
Number of Pics;8;
Number of SALs;3;
Image;Pic6;Cintel.jpg;
HPos;Pic6;100;
Object;SAL2;Hello.wav;
HScroll;Pic6;60;400;
Wait;2000;
Launch;SAL2;
Info;Press OK to exit;
End ASL; |
This simple code demonstrates some of the simple features of ASL. Firstly, 8 picture elements are prepared for images and 3 SAL containers are prepared for files. An image file 'Cintel.jpg' is loaded into picture 6 and its horizontal position is set to 100 pixels. Then, a sound file 'Hello.wav' is loaded into SAL container 2. After these properties have been set, the animation begins; the picture is then scrolled 400 pixels to the right at a speed of 60. After a two second delay the sound file is played, an information message box is displayed and the animation ends.
ASL has many more features, including hyperlinks and transition effects (e.g. fade in/out), and they are all easy to remember. JPEG, GIF and Bitmap file formats are supported for images, giving you the flexibility to choose your quality/size preferences. The ASL Editor is now included with ASL, which allows you to view/edit your animations quickly and easily. ASL now also includes support for animations in STUF Packages. |