View Full Version : what's wrong?
danulf
August 3rd, 2005, 12:13 PM
if (_y <= bounds.up){
upArrow._visible = true;
}else if (_y >= bounds.down){
_y = bounds.down
vector[1] *= -1
upArrow._visible = false;
}
I thought it would work...
please help!
Lindquist
August 3rd, 2005, 12:41 PM
maybe you meant "this._y" or "_ymouse", can't really tell from the amount of code you provided.
danulf
August 3rd, 2005, 12:46 PM
I have this in the top of the code:
bounds = {left:35,right:465,up:0,down:515}
Dauntless
August 3rd, 2005, 12:53 PM
That's not what he meant...
He meant: U use _y in your script. What should this refer to? If you mean the _y property of your movieclip, you should use this._y . If you mean the _y position of the mouse, you shoud use _ymouse .
danulf
August 3rd, 2005, 01:00 PM
yeah, ok... I just read it quickly, sry.
But I kind of solved it on my own now... I wrote "_root.upArrow._visible = true;" and now it works... thanks for the help!
Lindquist
August 3rd, 2005, 04:08 PM
glad to be of service... heh
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.