WN

WN (https://www.wn.se/forum/index.php)
-   Klientsidans teknologier, design och grafik (https://www.wn.se/forum/forumdisplay.php?f=12)
-   -   Flash - SWF-filen krymper - vad göra? (https://www.wn.se/forum/showthread.php?t=10245)

Seattlegrunge 2005-10-10 04:36

Kopierar in mitt inlägg från ett annat forum (FlashMove Forum) som är på engelska... hoppas ni hänger med på vad jag menar ändå :)

Skulle bli otroligt glad om nån kan hjälpa mig att komma förbi detta problem:

I have had this problem for a long time and it irritates me a lot!
I would give you an example from the movie a just created and you can watch it here:
http://www.spaceboys.com/flash/right_images.html

The movie contains three movieclips at different locations in the movie... each of these movieclips contains a couple of images beeing randomized when the movie loads.

My problem is:
I have created a scene in Flash MX 2004 that is 290 px wide and 256 px high. But when I publish my movie using the settings Flash Player 7/ActionScript 2.0 and then views the movie in the browser (both IE and Firefox), the movie have been subtracted by a couple of pixels... the movie is now 288 px in width (should be 290) and 255 px in height (should be 256).

The three images should be :
The one to the left: should be 111x256 px, but appears as 111x255 px
The upper right: should be 177x127 px, but appears as 175x126 px
The lower right: should be 177x127 px, but appears as 175x126 px

The space between each image should be 2 px vertical and 2 px horisontal, but the horisontal space appears as 3 px.

Almost everytime I create a flash movie I get this problem. It could be in simple movie containing only one image, but the published swf file subtracts that one too :(

In the html I use "Dimensions: Match movie".

Anyone who knows this problem and could give me some help of great value? I would be delighted :)

PS. I downloaded Flash 8 Trial version and published the movie for Flash Player 8/ActionScript 2.0, and almost the same thing happened there... the height got correct, but the width of the movie still subtracts by 2 px :(

koala 2005-10-10 15:05

Orkade inte läsa hela inlägget, men det har kanske att göra med Flash Bitmap Bug?

Seattlegrunge 2005-10-10 15:37

Citat:

Originally posted by koala@Oct 10 2005, 15:05
Orkade inte läsa hela inlägget, men det har kanske att göra med http://www.misuseit.com/bitmapbug/?
Har inte läst hela artikeln, men det verkar vara detta felet som tas upp där, även om jag redan gjort ett par av grejorna som tas upp där....
Tack för ditt svar! :)


Alla tider är GMT +2. Klockan är nu 05:32.

Programvara från: vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson