Tell me how to call this function in Javascript?

import flash.external.ExternalInterface; ExternalInterface.addCallback("play", pt); function pt() { var mySound:Sound = new Sound(); mySound.load(new URLRequest("myFavSong.mp3")); mySound.play(); } 

    0