I had to create a "MapLoader" component that has the yahoo map service in
it, then created an actionscript var of that type. When the viewstack
changes for the first time, I instantiated it and added it as a child to the
viewstack container.

# if( idViewTab.selectedIndex == 1 && myMapLoader == null ) {
#     myMapLoader = new MapLoader();
#     myMapLoader.percentWidth = 100;
#     myMapLoader.percentHeight = 100;
#
#     idMapView.addChild(myMapLoader);
# }

I'm not sure if your situation is different then mine, but this is what I
had to do for it to work.

Hope this helps,

...aaron

On 1/4/08, Chip Moeser <[EMAIL PROTECTED]> wrote:
>
>   Hello All,
> Anyone ever come up with a solution to the problem that a sandbox
> error comes up when using Yahoo Maps AS3 in a viewstack with
> transitions? Found lots of unsolved threads:(
> Best,
> -Chip
>
>  
>



-- 
Aaron Miller
Chief Technology Officer
Splash Labs, LLC.
[EMAIL PROTECTED]  |  360-255-1145
http://www.splashlabs.com

Reply via email to