|
-
I did what you told me. I made two movie clips with instance name of "health" and "Hurdle"(Hurdle is also the name at the Library)
Then I changed the name of the codes to jump_btn and pause_btn because that is the instance name of my two buttons.
When i test movie, it has errors.
Scene 1, Layer 'as3', Frame 1, Line 10 1046: Type was not found or was not a compile-time constant: Hurdle.
Scene 1, Layer 'as3', Frame 1, Line 71 1067: Implicit coercion of a value of type flash.display:MovieClip to an unrelated type Class.
Scene 1, Layer 'as3', Frame 1, Line 94 1180: Call to a possibly undefined method Hurdle.
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
|