I tried your code and it worked but not as I expected as my previous explanation wasn't clear enough. I need the function to output the text
into the function i.ePHP Code:topline.nxPos = 7
topline.nyPos =50
using the two arrays was an attempt at cutting down the amount of code. The function currently looks like this. Which works fine but is too lengthy as there are many buttons.PHP Code:btn1.onRollOver = function() {
topline.nxPos = 7
topline.nyPos =50
}
I hope that makes sensePHP Code:_parent.portfolio_btn.onRelease = function(){
_root.nav.topline.nxPos = 7;
_root.nav.topline.nyPos = 20;
//
_root.nav.bottomline.nxPos = 7;
_root.nav.bottomline.nyPos = 512
//
_root.nav.secondline.nxPos = 7;
_root.nav.secondline.nyPos = 164;
//
_root.nav.thirdline.nxPos = 7;
_root.nav.thirdline.nyPos = 368;
_root.nav.no1text.nxPos = 0;
_root.nav.no1text.nyPos = 30;
_root.nav.no3text.nxPos = 0;
_root.nav.no3text.nyPos = 378;
}
![]()




Reply With Quote
