[worldKit-dev] ratio error when loading worldkit within another swf

Mikel Maron mikel_maron at yahoo.com
Mon Apr 2 05:28:16 PDT 2007


Hi

Are you loading worldKit from Actionscript, or placing it within a fla?
In either case, can you provide the code to examine?

There are some peculiarities with how worldKit sizes itself, may take a tweak
or two to get this right.

-Mikel

----- Original Message ----
From: "development at wichers.nu" <development at wichers.nu>
To: worldkit-dev at lists.brainoff.com
Sent: Saturday, March 31, 2007 2:59:37 PM
Subject: [worldKit-dev] ratio error when loading worldkit within another swf

Hi,
 
I have a problem when loading worldkit within another swf. The width and
height properties only seem to work properly when the ratio is set to 1:1.
For ex. when I set the dimensions to 600x300 (2:1) the initial map seems to
be 150px of (there is a 150px gap on the right of the map). I've disabled
the mask within the SetupAsComponent() function to see if the 150px is on
the left, and it is. So I'm guessing it has to do with the actual
positioning not the resizing.
 
Can anyone confirm this? Is there a workaround? Because I haven't got a clue
to know where to look...
 
Thanks! Sander

_______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com






More information about the worldkit-dev mailing list