I attempted to compile the AS files found in the source code here: http://github.com/mediafront/osmplayer/archives/v0.98
to build the Flash web player. It seems like the maintainer has used Flash to compile it but I was looking to use mxmlc.
Anyway, I attempted to do it and it compiled no problems but the video doesn't play at all. I tried to hook it up to the debugger but was unable to set breakpoints. The error I got was
Breakpoint not set; no executable code at line 1 of MediaFile.as#14
I'm hoping that someone can help me out here because I would really prefer not to have to rewrite a Flash video player.
If you don't have an executable on a line , you can't set a breakpoint.
So you create an executable , like so
var i:int = 100; <-- Set breakpoint here
Simply insert an something small that doesn't change the result of the computation , and you have a breakpoint.
I've tried from lines 1 to 50 and it's still the same result. And this time it's hit a different file.
*EDIT* I managed to get it on line 30 and then I typed "Continue". It's just frozen there and does nothing.