Is there a file at: file:///C:/Users/Bruce-PC/Documents/Flex <file:///C:\Users\Bruce-PC\Documents\Flex> Builder 3/chapter11Begin/bin-debug/data/slideshow.xml?
Is the -use-network flag on? Try changing its value. Try serving the app from http: ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of brucewhealton Sent: Wednesday, June 18, 2008 5:21 PM To: [email protected] Subject: [flexcoders] Problems with Flash Player not recognized and problem with flex app loading xml Hello all, I'm getting the error in Internet Explorer, (IE) when I try to run any application from Flex Builder CS3. This shows up when I am in Flex Builder CS3 and select Run on an application or when I open an application in IE from the server if it was created in Flex. The error is: "Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash" This just lets me go to adobe's page to get Flash Player. If I bring up a page, in IE, on the web that has Flash, like adobe.com the Flash Content loads fine and I can verify that I have the debug version of the Flash Player. I even ran that install of the Flash player that I got off Adobe's site, the Debug version and it installs just fine. Still, though I get the same error. This error only happens when I select Run from the Flex Developer application or any file ever created in Flex Builder and it only happens in IE. Now, Firefox will load the Flash content created by Flex. However, it gives me an error saying that it cannot access the xml file. I'll include the full text of that error message below. It's long but I don't know how much would be needed to understand and explain what is going on. Hopefully the first couple lines will detail what is going on. I did try removing the read-only attribute on the xml file, but now that I think about it, that shouldn't matter as it is just reading the file in the application. Oh, I did a search on this and a few fixes were suggested but none of them seemed to work or I couldn't find a file that I needed to edit. The fixes do only address how to find a cfg file in Windows XP and there is no similar file on my Windows Vista system at all. See the error code below, please. Thanks in advance, Bruce [RPC Fault faultString="Error #2148: SWF file file:///C:/Users/Bruce-PC/Documents/Flex <file:///C:\Users\Bruce-PC\Documents\Flex> Builder 3/chapter11Begin/bin-debug/HTTPServiceDemo.swf cannot access local resource data/slideshow.xml. Only local-with-filesystem and trusted local SWF files may access local resources." faultCode="InvokeFailed" faultDetail="null"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invo ke <http://www.adobe.com/2006/flex/mx/internal::invoke> ()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:26 3] at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal ::invoke <http://www.adobe.com/2006/flex/mx/internal::invoke> ()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\http\mxml\HTTPService .as:234] at mx.rpc.http::HTTPService/send()[E:\dev\3.0.x\frameworks\projects\rpc\src \mx\rpc\http\HTTPService.as:758] at mx.rpc.http.mxml::HTTPService/send()[E:\dev\3.0.x\frameworks\projects\rp c\src\mx\rpc\http\mxml\HTTPService.as:217] at HTTPServiceDemo/___HTTPServiceDemo_Application1_creationComplete()[C:\Us ers\Bruce-PC\Documents\Flex Builder 3\chapter11Begin\src\HTTPServiceDemo.mxml:3] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\fr amework\src\mx\core\UIComponent.as:9051] at mx.core::UIComponent/set initialized()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIC omponent.as:1167] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\framewor ks\projects\framework\src\mx\managers\LayoutManager.as:698] at Function/http://adobe.com/AS3/2006/builtin::apply <http://adobe.com/AS3/2006/builtin::apply> () at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\proj ects\framework\src\mx\core\UIComponent.as:8460] at mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\proje cts\framework\src\mx\core\UIComponent.as:8403]

