I am using 1.7a SWC, for a few days now, still have a problem with
setSize:

If i take the example from the tutorial, mapsimple.fla and i add the
following code:

stage.addEventListener(Event.RESIZE, onStageResize);

function onStageResize(event:Event):void {
 map.setSize(new Point(stage.stageWidth, stage.stageHeight));
 map.x = 0;
 map.y = 0;
}

Then when the stage is resized, the map looks as if it's no longer
positioned at 0,0 (top-left) even though i move it there, the
alignment settings for publishing seem to have no effect on this.

All I want is to make the map fully cover the stage even if it is
resized, has anyone here succeed in doing that ?

thanks,

Bart

On Oct 7, 12:19 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> This is now fixed. Please re-download the SDK, and use the 1.7a SWC
> inside the lib folder.
>
> - pamela
>
>
>
> On Sat, Oct 4, 2008 at 7:04 AM, WIBGeoCoder <[EMAIL PROTECTED]> wrote:
>
> > Any ETA on this fix? This is a pretty big deal for us too.
>
> > Thanks,
>
> > Ed
>
> > On Oct 3, 6:39 am, sabee <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >> I'm having the same problem since I upgrated to 1.7.  The map size
> >> correctly when initating but then when I reszize it later at runtime
> >> it doesn't respond correctly.  The same code worked fine with 1.6.
> >> Thanks for the fix and the great job you're doing!
> >> --seb
>
> >> On Oct 3, 9:33 am, jeep1024 <[EMAIL PROTECTED]> wrote:
>
> >> > Arg, I just uploaded a repro (with screenshot!) :)  I found it's
> >> > easier to see if you center the map inside a container clip with some
> >> > polylines. I grabbed some lines from the Euro map demo and put
> >> > together w/.fla and .as files for review.  It's SetSize_bug.zip in the
> >> > Files section. Feel free to delete if needed.
>
> >> > Anyway, looking forward to the fix!
>
> >> > Thanks,
> >> > -jeep
>
> >> > On Oct 2, 7:56 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> >> > wrote:
>
> >> > > Hi jeep-
>
> >> > > We've confirmed that is a bug with our code. We will likely release a
> >> > > patch to 1.7 early next week.
>
> >> > > - pamela
>
> >> > > On Thu, Oct 2, 2008 at 4:58 PM, pamela (Google Employee)
>
> >> > > <[EMAIL PROTECTED]> wrote:
> >> > > > Hey there-
>
> >> > > > An example would be helpful. To be clear, are you callingsetSizewhen
> >> > > > creating the Map object, and then also setting size later? (And the
> >> > > > second one is failing?)
>
> >> > > > - pamela
>
> >> > > > On Thu, Oct 2, 2008 at 4:54 PM, jeep1024 <[EMAIL PROTECTED]> wrote:
>
> >> > > >> Oops, meant to add that it all works fine in 1.6 (using the wrapped
> >> > > >> 1.6.swc for Flash)
>
> >> > > >> On Oct 2, 4:50 pm, jeep1024 <[EMAIL PROTECTED]> wrote:
> >> > > >>> I just ported over to the 1.7 .swc (for Flash CS3), and everything
> >> > > >>> built fine. However, if I try tosetSize() on a Map object after the
> >> > > >>> MAP_READY event is received, I get a really bad scale of the Map
> >> > > >>> control instead. It seems to work fine right on init, but before 
> >> > > >>> the
> >> > > >>> MAP_READY is fired.
>
> >> > > >>> I'm using Flash CS3 and simply updating on an Event.RESIZE stage
> >> > > >>> event, which fires after a change, and not after release of the 
> >> > > >>> resize
> >> > > >>> control, as is the norm w/Flex apps.
>
> >> > > >>> I can throw something together to repro the issue if it would be of
> >> > > >>> help.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to