This might be a very simple question, but it got me stumped.
I got a .wav file called blaster in my library (class name = blaster) and now I’m trying to play it using an external .as file.
I tried
public var blaster:Sound = new blaster;
and calling blaster using blaster.play(); in a function ahead, but it keeps giving this error:
Call to a possibly undefined method blaster
Change
new blaster;tonew blaster();, other than that everything looks fine to me, provided the ActionScript Linkage in symbol properties has been setup correctly.