thanks for the suggestions and sorry if my question was kind of incomplete..
I was all about 'permission problem' cos during development i was getting some error-logs about that
and also because of the 'command-line' success'....
Talking about creating the SWF on the fly ...i have to admit i don't even know how to start doing this...
Do i print it to the browser?