LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 647 users online 186545 members 1090 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
9 online / 18 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

Flash help for someone else?
developing a game
Replies: 1Last Post Aug. 18, 2006 9:40pm by Kyr0nite
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite

See Your Advertisement Here
Kyr0nite


Novice
Reply
Ok Jason, let me think...

if(_root.P1_mcc()(this.hitTest)(){];

Should be...

if (this.hitTest(_root.P1_mcc)) { -action goeshere - }

That's for the topline, let's see about the bottom line.

I say forget about tell target, and use a basic method.

_root.object_here.gotoAndStop(2);}

Just put this code on the thing you want to hit to make the npc talk, and maybe on the npc too. The final code should be:

onClipEvent (enterFrame) {

if (this.hitTest(_root.P1_mcc))
{_root.npc3.gotoAndStop(2);]

Should work, reply if you have problems.

Telltarget works, but keep things basic.


9:40 pm on Aug. 18, 2006 | Joined Aug. 2006 | 1 Days Active
Join to learn more about Kyr0nite Australia | 1 Posts | 11 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic