Hi all,
I am desperate need fer help since i need to submit this project by end of this month. I have inserted an xml driven menu into a scrollpane. It came out but i can't seems to scroll.
The script for the menu is this:
tgt = this;
var menu_XML:XML = new XML();
menu_XML.ignoreWhite = true;
menu_XML.load("menu_staffArt.xml");
menu_XML.onLoad = function(){
var aNode = this.firstChild.childNodes;
for (var n=0; n!=aNode.length; n++){
var tName = aNode[n].attributes.tName;
var mName = aNode[n].attributes.mName;
setClips(n,tName,mName);
}
};
function setClips(n,t,m){
init = {_x: 113,_y:27*n};
tgt.attachMovie("clip","clip"+n,100+n,init);
tgt["clip"+n].txt.text = t;
tgt["clip"+n].onRelease = function(){
loadMovieNum(m,5);
};
};
Then on first frame of my main movie i inserted the lingkage name into the scrollpane parameter which is "anim_menu".
I can't seem to scroll the page.
U may see the result on
http://dev.xyberia.org/YishunJC