Flash/ActionScript - Use .mp3 file in library in a movieclip -


i've imported mp3 file library , made actionscript class, can't access in movieclip.

edit: i'm using adobe air, because want compile android application

set as linkage sound (in library panel)

enter image description here

then paste code in movieclip (first keyframe)

var snd:snd=new snd(); snd.play(); 

hope helps


Comments

Popular posts from this blog

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

javascript - CasperJS/PhantomJS failing SSL handshakes on some sites even with --ssl-protocol=any -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -