Hi ,
   
  In my apllication i am using Flex 2.0  ,JSP and tomcat server.
  I have hosted this application under Tomcat on a remote server.
  The file which i am acessing from this application is stored in local drive 
C:// 
  This file when stored under context root is acessible but not from the local 
drive. 
  Hence this following  error when i run the apllication.
   
   
  SecurityError: Error #2148: SWF file http://myserver: 8080/application 
/bin/page. swf cannot access local resource file:///C:/User_ Content/Podcast/ 
BasRutten. JPG . Only local-with-filesyst em and trusted local SWF files may 
access local resources.
 at flash.display: :Loader/flash. display:Loader: :_load()
 at flash.display: :Loader/load( )
 at mx.controls: :SWFLoader/ ::loadContent( )
 at mx.controls: :SWFLoader/ load()
 at mx.controls: :SWFLoader/ mx.controls: SWFLoader: :commitPropertie s()
 at mx.core::UIComponen t/validateProper ties()
 at mx.managers: :LayoutManager/ validateClient ()
 at mx.controls. listClasses: :TileBase/ mx.controls. listClasses: TileBase: 
:makeRowsAndColu mns()
 at mx.controls. listClasses: :ListBase/ mx.controls. listClasses: ListBase: 
:updateDisplayLi st()
 at mx.controls. listClasses: :TileBase/ mx.controls. listClasses: TileBase: 
:updateDisplayLi st ()
 at mx.core::UIComponen t/validateDispla yList()
 at mx.managers: :LayoutManager/ ::validateDispla yList()
 at mx.managers: :LayoutManager/ ::doPhasedInstan tiation()
 at Function/http: //adobe.com/ AS3/2006/ builtin:: apply() 
 at mx.core::UIComponen t/::callLaterDis patcher2( )
 at mx.core::UIComponen t/::callLaterDis patcher()
 at flash.utils: :Timer/flash. utils:Timer: :_timerDispatch( )
 at flash.utils: :Timer/flash. utils:Timer: :tick()

   
  I would really appreciate your quick response.
   
  Thanks ,
  Vinod M Jacob

 
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

Reply via email to