i developed one flex project for playing video file. executed it and running successfully.
but problem is if i copy the swf file and paste it into some temp folder (vdp) which is on desktop .then its not running.
its getting an error. when i am playing a video file.
SecurityError: Error #2148: SWF file file:///C|/Documents%20and%20Settings/rvasa/Desktop/vdp/player.swf cannot access local resource file:///C|/Documents%20and%20Settings/rvasa/Desktop/vdp/images_flex/high.flv. Only local-with-filesystem and trusted local SWF files may access local resources.
here i am attaching screen shot for my folder structure .
Can any one help me.
You can try one thing, paste your project as it is on Desktop this file will run. The reason is if external reources if not embed in SWF then you cannt go out of sandBox security restrictions.
So either embed them into SWF or execute SWF by keeping assets in adjecent folder.
Hope this will work for u.
Use a relative adress yo your video, not the full address.