-
[CS3] problem with hittest actionscript 2
hi!
im quite new to flash, begaun in like 3 weeks ago. but ive downloaded a zelda example with actionscript 1, but im trying to convert it to AS2. everything works acept hittest!
function move(valueX, valueY) {
// scrolling: the graphics are following you. this is a function; the code is somewhere below.
scrolling_enterFrame();
// link is walking, but will be stopped by the limits.
if (!this.limitMC.hitTest(link._x+valueX, link._y+valueY, true)) {
tellTarget (link) {
_x += valueX;
_y += valueY;
}
}
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|