Forum Topic: hitTest not reading in other frames

(68 views • 2 replies)

This topic is 1 page long.

<< < > >>
None

Obelisk-Flash

Reply To Post Reply & Quote

Posted at: 1/28/09 09:25 PM

Obelisk-Flash NEUTRAL LEVEL 02

Sign-Up: 04/28/07

Posts: 16

Okay, I'm doing a side-scroller. Each level is in a different frame, and each level has enemies. The problem is, so far only the first level's enemies are behaving properly. The collision effects on all enemies on the first level work properly. The collision effects on all other enemies in the frames (levels) beyond the first frame do not work as desired, and Flash is not reading them the same way. By this, I mean that the specific hitTest functions aren't reading in the later frames, but everything else is. Why is that? Does it have to do with the event handler? Is there something I need to reset or state in each new frame to get it to work?

This isn't so much a code question as it is a "why is everything working on this frame but not this frame" question.


None

Obelisk-Flash

Reply To Post Reply & Quote

Posted at: 1/29/09 09:25 AM

Obelisk-Flash NEUTRAL LEVEL 02

Sign-Up: 04/28/07

Posts: 16

Bump.


Questioning

OctoFlash

Reply To Post Reply & Quote

Posted at: 1/29/09 09:43 AM

OctoFlash DARK LEVEL 17

Sign-Up: 12/02/06

Posts: 839

i don't really understand your problem, maybe you should show us an example or something..

BLAM DAMN SPAM. That rhymes! So what do we learn?
the right answer for the most bbs-posts: THE FREAKIN' COLLAB RULES!!!

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 10:37 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!