Hello people,
I have an array placed in movieclip which I am using to store the x and y values of other movieclip clips. The values work when the clip initially loads (it moves the targeted clips to the assigned positions) but when I reset the positions of the clips in the array (using another button) then I hover over the array assigned button 'portfolio_btn' nothing happens.
I'm using flash 8 AS2
Any help with this would be much appreciated.
PHP Code:onClipEvent(enterFrame){
var portNav:Array = [
//
_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
];
if(_root.page == "home"){
_parent.portfolio_btn.onRollOver = function(){
portNav
trace(portNav)
}
}
}




Reply With Quote
