[flexcoders] Yahoo Maps Viewstack Sandbox Issues

2008-01-04 Thread Chip Moeser
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



Re: [flexcoders] Yahoo Maps Viewstack Sandbox Issues

2008-01-04 Thread Aaron Miller
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