-
hittest help !!
Hello. Im creating a simple game using flash 5 and is having problem with a scriptnClipEvent (load) {
power = 15;
gravity = 0;
}
onClipEvent (enterFrame) {
if (release, Key.isDown(Key.LEFT)) {
_x -= power;
}
if (Key.isDown(Key.RIGHT)) {
_x += power;
stop;
}
if (Key.isDown(Key.UP)) {
_y--;
}
if (Key.isDown(Key.DOWN)) {
_y++;
}
if (_root.circle.hitTest(this)) {
_root.gotoAndPlay(21);
this is in a chararcter in the second scene.it work fine when i test it ,but when i publish to projector or html form it goe back to scene 1 frame 21. any solutions
-
This is the actionscript 3 forum. Flash 5 definitely doesn't support as3, so I'm guessing you just missed your exit. U-turn and go north about one forum.
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
|