Audio generated by actionscript?

this question/challenge is inspired by the 25 lines actionscript contest.
i was thinking it would be neat to do an audio entry. but i think there is no way to generate audio using only actionscript. am i wrong?

can we fool the player into playing image data?