Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: plong - a pong clone with SWF::File

by zentara (Archbishop)
on Nov 24, 2004 at 16:22 UTC ( [id://410158]=note: print w/replies, xml ) Need Help??


in reply to plong - a pong clone with SWF::File

Nice!. Since you are playing around with SWF, maybe you could see if you can figure out how to play mp3's. All the php and c examples for Ming show mp3 play, but I couldn't get Perl to do it. It has something to do with the way the file gets opened and processed. The PhP code looks like this:
// open the mp3 file $snd = fopen("boomb.mp3", "rb"); // add the mp3 to the movie $movie->streamMp3($snd); // close the mp3 file
and I tried everything I could think of with Perl and streamMp3() just wouldn't take it.

Anyways, just a thought(wish)if you are making examples for SWF and/or Ming.


I'm not really a human, but I play one on earth. flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://410158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found