Goodies
 


com.actiontad.basicGameObjects

A library for making AS3 oop games.

Source, tutorials and examples

 


Image Gallery in a Picture Frame

An old image gallery I made whose thumbnails scroll horizontaly inside a picture frame.
There are 3 frame styles to choose from,
plain, shadeblots, and threeshade.
The frame width and height can vary in size.
It's very easy to modify, everything is controlled via XML, but it needs improvements.
You are free to use it however you like.



The XML used to control the gallery :


<?xml version="1.0" encoding="UTF-8"?>
<galleryoptions>


   
   <numofpictures>7</numofpictures>


   <imagelocation>same</imagelocation>

   <picextensions>.jpg</picextensions>

   <thumbnaillast>thum</thumbnaillast>

   <thepictures>
   imageone,imagetwo,imagethree,imagefour,imagefive,
   imagesix,imageseven,end
   </thepictures>

   <picdescriptions>
   image one,image two,image four,image five,
   image six,image seven,end
   </picdescriptions>

   <saystyle>ffffff</saystyle>

   <thumbanidirec>left</thumbanidirec>

   <thescrollspeed>18</thescrollspeed>

   <backgroundcolor>black</backgroundcolor>

   <framewh>900,500</framewh>

   <framestyle>plain</framestyle>

   <framecolorrgb>178,126,0</framecolorrgb>

   <fullscreenbutton>no</fullscreenbutton>

   <ermessage>There was an error while loading.</ermessage>




</galleryoptions>




Source:   pframeimggallery.zip

 


The DOMEx Class

A useful class that makes javaScript to SWF communication easier.
Call any public function in the swf from just one javaScript command.
You can eliminate the need to script for the swf object before calling a callBack.
With the DOMEx class all you need is to embed your swf with an ID and have javaScript support.

Source:   DOMEx.zip

Documentation:   DOMEx Class Documentation