Problem with Downloading the file

Hi all,
I am new to flash & AS3.0 environment(familiar in Java envt.).
When i try to download a file after including the flash swf file into java application it is showing the error as follows:

    Here,[http://localhost:8888/com.mymdworld.Application/ is the url of the java application and [URL="http://localhost:8888/com.mymdworld.Application/DynaAccess.swf"]DynaAccess.swf](http://localhost:8888/com.mymdworld.Application/DynaAccess.swf) is the flash .swf file.

SecurityError: Error #2148: SWF file http://localhost:8888/com.mymdworld.Application/DynaAccess.swf cannot access local resource D:/websites/mymdworld/backup_temp/P1/ Only local-with-filesystem and trusted local SWF files may access local resources.
at global/
at MethodInfo-375()
at on()
for downloading

Please Help me…Its urgent…

Thanks in Advance