USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 10/1/06 06:22 AM
Sign-Up: 11/15/05
Posts: 3,240
why dosent this work?:
onClipEvent (enterFrame) { if (_root.ship.gun.bullit.hitTest(this.body.w indow)) { this.body.window(play);
} }
the instances are correct
I DONT POST HERE ANY MORE( WELL MAYBE ON OCCASIONS WHEN IM BORED AND/OR DRUNK BUT MY APPEARANCES ON THIS BBS ARE GOING TO BE PRETTY RARE TBH)
Posted at: 10/1/06 06:26 AM
Sign-Up: 11/02/05
Posts: 11,326
You know, I would even doubt that the linkages are correct. Anyway:
body.window.play();
The method is 'play', what you were doing is calling the method 'window' of the instance 'body' and giving the value of 'play'.
#ngprogramming at irc.freenode.net haXe | Keel imperative | Spyro! | Thru you
Posted at: 10/1/06 06:30 AM
Sign-Up: 01/20/06
Posts: 38
There is an extra line in there. try: onClipEvent (enterFrame) { if (_root.ship.gun.bullit.hitTest(this.body.w indow)) { this.body.window(play); } }
If that doesn't work then I have no idea.
Posted at: 10/1/06 06:34 AM
At 10/1/06 06:30 AM, Treb-Miffen wrote: There is an extra line in there.
XD omfgnoob liek lol
In other words, the CR and tab characters do not affect the way it is compiled. And Flash orders it right before compiling anyway.
All times are Eastern Standard Time (GMT -5) | Current Time: 11:24 PM
<< Back