Hi Ganesh, Looks like your HTML object embedding the SWF does not permit loading local resources. Try adding these parameters to the HTML object and see if it works:
"allowscriptaccess", "true" "allowDomain","true" "allowNetworking", "all" Regards, Venkat www.venkatv.com On Sat, Dec 6, 2008 at 9:16 PM, Ganesh r <[EMAIL PROTECTED]> wrote: > Hi Venkat im also reciving some errors when i open the flex db in the > server. but it is working fine in the local desktop.. Do i need to do any > specific modification on my code.? > > regards > ganesh > > > > Error report > > SecurityError: Error #2148: SWF file > file://\\10.32.13.138\ipos\IPOS\IPOS_Flex_Project\bin-debug\Flex_Ipos.swf > cannot access local resource > file://\\10.32.13.138\ipos\IPOS\IPOS_Flex_Project\bin-debug\hdb.jpg. > Only local-with-filesystem and trusted local SWF files may access local > resources. > > at flash.display::BitmapData/draw() > > at > com.dougmccune.containers.materials::ReflectionFlexMaterial/drawBitmap()[C:\Documents > and Settings\Muthukumaran.S\My Documents\Flex Builder > 3\IPOSProject1\src\com\dougmccune\containers\materials\ReflectionFlexMaterial.as:22] > > at > org.papervision3d.materials::MovieMaterial/updateBitmap()[/Users/dougmccune/Documents/Flex > Builder > 3/PaperVision_Phunky_Unmodded/src/org/papervision3d/materials/MovieMaterial.as:187] > > at > com.dougmccune.containers.materials::FlexMaterial/handleUpdateComplete()[C:\Documents > and Settings\Muthukumaran.S\My Documents\Flex Builder > 3\IPOSProject1\src\com\dougmccune\containers\materials\FlexMaterial.as:52] > > at flash.events::EventDispatcher/dispatchEventFunction() > > at flash.events::EventDispatcher/dispatchEvent() > > at > mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156] > > at > mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:702] > > at > Function/http://adobe.com/AS3/2006/builtin::apply()<http://adobe.com/AS3/2006/builtin::apply%28%29> > > at > mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8565] > > at > mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8508] > > > > > > SecurityError: Error #2148: SWF file > file://\\10.32.13.138\ipos\IPOS\IPOS_Flex_Project\bin-debug\Flex_Ipos.swf > cannot access local resource > file://\\10.32.13.138\ipos\IPOS\IPOS_Flex_Project\bin-debug\hdb.jpg. > Only local-with-filesystem and trusted local SWF files may access local > resources. > > at flash.display::BitmapData/draw() > > at > com.dougmccune.containers.materials::FlexMaterial/drawBitmap()[C:\Documents > and Settings\Muthukumaran.S\My Documents\Flex Builder > 3\IPOSProject1\src\com\dougmccune\containers\materials\FlexMaterial.as:47] > > at > org.papervision3d.materials::MovieMaterial/updateBitmap()[/Users/dougmccune/Documents/Flex > Builder > 3/PaperVision_Phunky_Unmodded/src/org/papervision3d/materials/MovieMaterial.as:187] > > at > com.dougmccune.containers.materials::FlexMaterial/handleUpdateComplete()[C:\Documents > and Settings\Muthukumaran.S\My Documents\Flex Builder > 3\IPOSProject1\src\com\dougmccune\containers\materials\FlexMaterial.as:52] > > at flash.events::EventDispatcher/dispatchEventFunction() > > at flash.events::EventDispatcher/dispatchEvent() > > at > mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156] > > at > mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:702] > > at > Function/http://adobe.com/AS3/2006/builtin::apply()<http://adobe.com/AS3/2006/builtin::apply%28%29> > > at > mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8565] > > at > mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8508] > > > On Sat, Dec 6, 2008 at 7:19 PM, William <[EMAIL PROTECTED]> wrote: > >> >> Thank You Very Much... >> >> On Nov 30, 6:04 pm, "Venkat Viswanathan" <[EMAIL PROTECTED]> >> wrote: >> > Hi, >> > >> > This might be helpful... >> http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/ww... >> > >> > Regards, >> > Venkatwww.venkatv.com <http://venkatwww.venkatv.com/> >> > >> > On Sun, Nov 30, 2008 at 2:22 PM, William <[EMAIL PROTECTED]> wrote: >> > >> > > Hi, Can I Disable all the errors by flex or flash, if errors occur >> > > then it will automatic email to webmaster... >> > >> > > Thanks.... >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

