i am making a drawing app which allow users to draw freely on the canvas, there will be sound coming out on certain range of coordinates x,y. my goal is to allow users to record and playback the whole actions later on and watch it like a video. I am able to make the drawing strokes working though, but i have problems regarding the recording and playback part, especially recording of the internal audio. i have searched around for very long and i found this very similar to my concept
this is one of the great example that i have found which is done by ronnie http://ronnieswietek.com/piano/piano_example.swf the source: http://ronnieswietek.com/piano/piano_example.fla
is there any way for me to replace the piano keys as drawing strokes which generate sounds based on coordinates and record and playback the strokes and sounds just like the example?
I am stuck and confused trying to figure out a way to do it..
If you can execute code to do your draw strokes, then all you need to do is timestamp the execution of those stroke commands. There are a number of ways you could approach this. I've written an example (just for you).
You can paste this into a new Flash document and run it.