Importing generated SWF in Flash

"Douwe Osinga" <[email protected]> Thu, 29 Jan 2004 17:36:30 +0100
Newsgroups gmane.comp.web.ming.general
Message-ID <[email protected]>
Hi,

I use ming to generate world maps e.d. I have a bunch of cbd files with the contours of the continents. This works great, i.e. the swfs look very good in the Flash player.

The thing is, I want to make some changes in Flash to the SWF. So I fire up Flash MX and import the .swf. Now suddenly there are little holes in the coast lines.

The lines that form the coasts are rather long; I split them up in segments of 250 strokes or so, otherwise the MING and/or Flash crashes. It seems that the holes come into existence at these places. My theory is that Ming generates Flash 4 (5?) with a 20 units in a pixel resolution and that the newer flash versions have a different resolution and that these somehow not match, with the result that rounding errors occur. These add up and are put inbetween the segments. Of course it might be something completely else.

Anybody an idea what to do about this?

Douwe Osinga
http://douweosinga.com