Figured out the problem here. I was moving the content within the
SWFLoader instead of the SWFLoader itself. Moving the SWFLoader in a
canvas object with clipContent = true solved the problem.

Much thanks for the tip Sean.

--- In [email protected], "djepyon" <[EMAIL PROTECTED]> wrote:
>
> (I accidentally put this as a response to another topic the first time
> so I'm re-posting)
> 
> I'm loading a swf into a SWFLoader (earth-shattering, I know). The swf
> document size itself is set 2800x960, but there is an additional
> element beneath this in the pasteboard (what was the flash 8
> "workarea")  that is about 500px in length. I need to be able to pan
> down to this element. If make a call to set the y value of the
> SWFLoader to -500 (to pan downward) the area above it hovers above my
> flex components instead of going underneath.
> 
> I went  a step further and wrapped the swfLoader in a Canvas object.
> Setting the y value to -500 on the MXML object did just what I wanted
> to. I then began setting this dynamically, which produces the same
> results as before. I also tried to run validateDisplayList() hoping it
> would fix things but to no avail.
> 
> Any suggestions would be greatly appreciated :)
>


Reply via email to