There is Security Sandbox so you can not draw until you have right permissions, just having crossdomain.xml is not sufficient. You need to explictly set checkPolicyFile flag so that Flash Player 9 downloads the policy file (crossdomain.xml) and grants the access to your code, if it is allowed in policy file.
I am not sure which API you are using to load images. If you are using Loader, then check for this. Loader.load (..) method's second param is instance of LoaderContext, this is where you can set checkPolicyFile=true. Read the docs here:- Loader.load () - http://livedocs.macromedia.com/flex/2/langref/flash/display/Loader.html#load() LoaderContext: http://livedocs.macromedia.com/flex/2/langref/flash/system/LoaderContext.html Check out these links:- http://missinghref.com/jdsblog/archive/2006/03/14/flash_8_cross_domain_bitmapdata_.aspx http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/bitmapdatadraw.php -abdul On 1/28/07, Brendan Meutzner <[EMAIL PROTECTED]> wrote: > > > > > > > On which server, and where is your crossdomain located? Is the > cineminha.com.br server a multi-hosting environment? > > Brendan > > > > > On 1/27/07, Leonardo Sobral <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > I´m trying to load an image from outsite of my domain and its giving me an > > error, the crossdomain is there, set to permit *... I get the same error > > online and from localhost. Any clue? > > > > > > SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: > > http://localhost:8500/Store/bin/index.swf cannot access > > http://www.cineminha.com.br/AdvHTML_Upload/photos/poster_diamante.jpg . A > > policy file is required, but the checkPolicyFile flag was not set when this > > media was loaded. > > at flash.display::BitmapData/draw() > > at mx.effects.effectClasses::MaskEffectInstance/::getVisibleBounds() > > at mx.effects.effectClasses::MaskEffectInstance/::initMask() > > at mx.effects.effectClasses::MaskEffectInstance/startEffect() > > at mx.effects::Effect/play() > > at mx.effects::EffectManager$/::createAndPlayEffect () > > at > > mx.effects::EffectManager$/http://www.adobe.com/2006/flex/mx/internal::eventHandler() > > at > > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction > > () > > at flash.events::EventDispatcher/dispatchEvent () > > at mx.core::UIComponent/dispatchEvent() > > at mx.core::UIComponent/setVisible() > > at mx.core::UIComponent/set visible() > > at mx.containers::ViewStack/mx.containers:ViewStack::updateDisplayList() > > at mx.core::UIComponent/validateDisplayList() > > at mx.core::Container/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() > > > > -- > Brendan Meutzner > Stretch Media - RIA Adobe Flex Development > [EMAIL PROTECTED] > http://www.stretchmedia.ca > >

