--- In [email protected], "carloveparade"
<[EMAIL PROTECTED]> wrote:
>
> Hi, im doing a music player but i can play video too. i need to
> reconize if the file that the html is passing to the swf is a mp3 file
> or a .flv file. Please help me thenx
>
thanks i found a solution using str.slice(-3,str.length) where str is
the name of the file. the method slice(-3,str.length) return the 3
last charaters mp3, flv, etc.

Reply via email to