![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
Ok so I put this little hittest box at that takes u off the path and makes u go
to the other screen, I put these actions on it: onClipEvent(enterFrame) { if (this.hitTest(_root.Hero)) { gotoAndStop("Woodhaven1"); } } But when ever the "Hero" walks on it it doesn't teleprt u to the other frame ("woodhaven1")... Can someone plz tell me what I'm doing wrong. Thanks! Koolaz Games |
| Sponsored Links |
|
|||
|
[q]Originally posted by: kglad
and have the hittest code repeatedly execute.[/q] Wait... Wouldn't that be an enterFrame function? Or do u just do something like have a stop command on the frame. Oh yea and do you add the code to the scene's frame or the mc's frame? Thanks for taking your time to help me out! Koolax games |
|
|||
|
you can add it to any timeline frame that the playhead enters. you just need
to use the correct path/name to your movieclips from that timeline. and yes, one of the ways to create a loop and repeatedly execute code is to use an onEnterFrame function. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise