Thanks Abdul i will go thru the flash security white paper.

Abdul Qabiz <[EMAIL PROTECTED]> wrote:          Security sandbox in Flash 
Player 8 onwards has changed. Which means SWF can be compiled with two 
different config:-

1) Either access local files but no data from network
2) Or access network data but no local data. 

I believe, FlexBuilder/MXMLC compiles with second config mentioned above.

You can however give a particular file or directory special permission (policy) 
to achieve both of above.

I suggest a reading of Flash Security Whitepaper to understand things much 
better way. You can use Flash Player Security manager to add the file or 
directory, 

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

Security manager basically creates trust files on your system. You can also 
create trust files manually (without using GUI), Please Flash Player Security 
Whitepaper to learn more. 

www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf 


-abdul

  On 1/25/07, Vinod M Jacob <[EMAIL PROTECTED]> wrote:            
  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-filesystem 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::commitProperties()
 at mx.core::UIComponent/validateProperties()
 at mx.managers::LayoutManager/validateClient ()
 at 
mx.controls.listClasses::TileBase/mx.controls.listClasses:TileBase::makeRowsAndColumns()
 at 
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::updateDisplayList()
 at 
mx.controls.listClasses::TileBase/mx.controls.listClasses:TileBase::updateDisplayList
 ()
 at mx.core::UIComponent/validateDisplayList()
 at mx.managers::LayoutManager/::validateDisplayList()
 at mx.managers::LayoutManager/::doPhasedInstantiation()
 at Function/http://adobe.com/AS3/2006/builtin::apply() 
 at mx.core::UIComponent/::callLaterDispatcher2()
 at mx.core::UIComponent/::callLaterDispatcher()
 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
  
  
---------------------------------
  Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.  
  






  

         

        
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.

Reply via email to