Problem in loading swf file

Hi All,

I am writing an application that will load .swf files at run time.The problem that I am facing is that in some machines, the program is loading .swf files successfully while in others it is not.I am not sure as to how to print contents at run time.I am executing them in stand alone mode.However if i drag my applcation in to a web browser,it is working as expected.
Could someone help me in debugging the problem as to how to print at run time or anyother suggestions as to why the application is working in browser and not in stand alone mode.

Thank you in advance,
Lokesh