|
-
hi CJ,
Yes the sound is in my library,
I have tried this code:
on (release){
var gunShot:Sound = new Sound(this);
gunShot.attachSound ("gunshot"); //this is the linkage identifier, not the file name
gunShot.play();
}
and get this error: gunShot.play(); There is no method with the name 'play'.
I assume its because i am a real n00b with AS2!
The instance that this code needs to work on is "crossHair" does this affect the code above?
Thanks folks.
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
|