Actionscript Gallore
March 27, 2008
http://blog.greensock.com/category/preloading/
http://www.kirupa.com/forum/showthread.php?t=277424
http://www.actionscriptclasses.com/category/as-2/page/2/
http://blog.greensock.com/tweenliteas2
http://candymandesign.blogspot.com/
parsing xml in flash
March 25, 2008
import ginner.GDispatcher
class flashdb.utils.ParserXML extends XML {
var target:MovieClip
var xmlobj:XML
var lista:Array
var ref:Object
public var addEventListener:Function;
public var removeEventListener:Function;
private var dispatchEvent:Function;
function ParserXML (targ:MovieClip, list:Array,
URI:String) {
if (!arguments) {
return;
}
GDispatcher.initialize(this);
target = targ
lista = list
xmlobj = new XML();
xmlobj["ref"] = this;
trace (this);
xmlobj.ignoreWhite = true;
xmlobj.onLoad = onLoad;
xmlobj.load(URI);
}
function onLoad (success) {
if (success) {
var nodeXML:XML = this;
if (nodeXML.firstChild.childNodes.length!=null) {
//trace (nodeXML.childNodes[0]);
//trace (nodeXML.childNodes[1]);
//var Childvalue = “childNodes[1]“;
for (var i:Number = 0; i<nodeXML.firstChild.childNodes.length;i++){
var obj:Object = new Object()
for (var j in nodeXML.childNodes[1].childNodes[i].attributes) {
obj[j] = String(nodeXML.childNodes[1].childNodes[i].attributes[j]);
}
this.ref.lista.push(obj)
}
this.ref.dispatchEvent({target:this.ref.target, type:’onloadFinished’});
}
}else{
this.ref.dispatchEvent({target:this.ref.target, type:’onloadError’});
}
}
}
Simple photo gallery
March 25, 2008
http://www.flash-db.com/Tutorials/simplegallery/
Simple photo gallery
Author by Dan Loaiza (papachan)
Hi guys been looking for a flash photo gallery, I just found a neat one… just visit the above link..
Experimental Game
December 5, 2007
http://imonline.alpha-phi-epsilon.net/_labs/game_01.html
hey guys… I donno why I made this freaking game, out of boredom, I made this game… The engine is not very throughly done… but its a worth trying for…
