The domain that has the image is cineminha.com.br, the crossdomain is there:

http://www.cineminha.com.br/crossdomain.xml

I have more domains on this server, like store.filmeonline.com.br where the
.swf is located...

If I call just mx:Image it works fine, but iwhen I try to do something with
the bitmap it calls that security error



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




--
Leonardo Sobral
[EMAIL PROTECTED]
Adobe Certified Professional
Adobe Certified Instructor

Reply via email to