-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
45 lines (36 loc) · 1.52 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Author: Fausto Carrera
Date: 2010-06-05 (ver 1.0)
Email: yo@faustocarrera.com.ar
Web: http://faustocarrera.com.ar
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Copyright: Fausto Carrera
List of classes:
- CustomLoader.as
- CustomXML.as
- Scrollbar.as
- Utils.as
- ValidateForms.as
Hi everyone.
This AS3 classes, were developed to accomplish basic tasks during the development of Flash websites, trying to be as flexible as possible.
This 5 classes helped me for the past 3 years, hope you find it usefull too.
Feel free to change, re-arrenge and modify any of this classes.
CustomLoader.as
Loads a serie of images or movieclips one ofter another.
With custom listeners to catch errors.
CustomXML
Loads a XML file passing varibles by GET or POST, so you can connect with any Server Side scripts that generates XML.
WIth custom listeners to catch errors.
Scrollbar.as
A simple script to add a scrollbar to any movieclip, the assets of the scrollbar are editable from within the flash file
Utils.as
A serie of usefull functions
function removeChilds(target:Movieclip)
- removes any child (sprite) from the target movieclip
function loadMovieClip(movie:String, target:MovieClip)
- load an image or swf file inside the target movieclip
function getURL(url:String, target:String)
- replacement of getURL of AS2
function debugArray(arr:Array)
- traces each element of an array
ValidateForms.as
A very usefull class to validate flash forms. It validates basic info like string, number, passwords, dates, urls, emails.