I have noticed this as well but only on IE6. My solution was to move the background into a stylesheet, ex:
.applicationStyle{ background-image: Embed('c:/we/assets/ skins/design- empty1.png'); } ... <mx:Application .... styleName="applicationStyle" ..> - Ivo ________________________________ From: tom s <tcs2...@gmail.com> To: flexcoders@yahoogroups.com Sent: Wednesday, December 17, 2008 5:22:06 AM Subject: [flexcoders] Strange #2147 error I am using an embedded PNG as the background for my app: <mx:Application .... backgroundImage="@Embed('c:/we/assets/ skins/design- empty1.png')" ..> I have my Flash Global Security Setting set to: Always trust files from these locations: 'c:\' When I run the app it tells me 'SecurityError: Error #2147: Forbidden protocol in URL @Embed('c:/we/assets/ skins/design- empty1.png')' - See below for full details. Additionally, this error was not present yesterday, and to the best of my knowledge I have not made any changes to anything. I have other PNGs embedded for button skins, and they are now throwing errors. How do I fix this? thanks tom SecurityError: Error #2147: Forbidden protocol in URL @Embed('c:/we/assets/ skins/design- empty1.png'). at flash.display: :Loader/_ load() at flash.display: :Loader/load( ) at mx.preloaders: :DownloadProgres sBar/loadBackgro undImage( )[E:\dev\ 3.1.0\frameworks \projects\ framework\ src\mx\preloader s\DownloadProgre ssBar.as: 1274] at mx.preloaders: :DownloadProgres sBar/createChild ren()[E:\ dev\3.1.0\ frameworks\ projects\ framework\ src\mx\preloader s\DownloadProgre ssBar.as: 876] at mx.preloaders: :DownloadProgres sBar/calcScale( )[E:\dev\ 3.1.0\frameworks \projects\ framework\ src\mx\preloader s\DownloadProgre ssBar.as: 1185] at mx.preloaders: :DownloadProgres sBar/show( )[E:\dev\ 3.1.0\frameworks \projects\ framework\ src\mx\preloader s\DownloadProgre ssBar.as: 1134] at mx.preloaders: :DownloadProgres sBar/initProgres sHandler( )[E:\dev\ 3.1.0\frameworks \projects\ framework\ src\mx\preloader s\DownloadProgre ssBar.as: 1470] at flash.events: :EventDispatcher /dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at mx.preloaders: :Preloader/ appProgressHandl er()[E:\dev\ 3.1.0\frameworks \projects\ framework\ src\mx\preloader s\Preloader. as:450] at flash.events: :EventDispatcher /dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at mx.core::UIComponen t/dispatchEvent( )[E:\dev\ 3.1.0\frameworks \projects\ framework\ src\mx\core\ UIComponent. as:9156] at mx.managers: :LayoutManager/ doPhasedInstanti ation()[E: \dev\3.1. 0\frameworks\ projects\ framework\ src\mx\managers\ LayoutManager. as:646] at Function/http://adobe. com/AS3/2006/ builtin:: apply() at mx.core::UIComponen t/callLaterDispa tcher2()[ E:\dev\3. 1.0\frameworks\ projects\ framework\ src\mx\core\ UIComponent. as:8565] at mx.core::UIComponen t/callLaterDispa tcher()[E: \dev\3.1. 0\frameworks\ projects\ framework\ src\mx\core\ UIComponent. as:8508]