Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-23-2007, 07:33 PM   #1
joeblack
Registered User
 
Join Date: Jan 2007
Posts: 2
Send a message via MSN to joeblack Send a message via Yahoo to joeblack
Default Scrollpane

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
joeblack is offline   Reply With Quote
Old 01-23-2007, 07:42 PM   #2
mcmcom
Asleep At The Keyboard
 
mcmcom's Avatar
 
Join Date: Jun 2004
Location: Toronto, Canada
Posts: 2,528
Default

its scrolling for me. im using IE 7 windows XP Pro Machine

what browser are you using ?
mcm
__________________
www.mustcodemore.com
Adobe Certified Flash 8 Developer
mcmcom is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
another scrollPane problem... rach236 Components 3 06-01-2006 09:47 PM
Trouble updating scrollPane content bmh777 Components 0 05-10-2006 07:01 PM
scrollpane content load whatknows Components 1 09-22-2005 02:53 AM
Scrollpane component inside a window component marcusg Components 2 04-07-2005 04:20 AM
Change content in ScrollPane robpet Components 9 03-29-2005 03:22 AM


All times are GMT. The time now is 04:49 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.