Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do fixed point bit values in swf files work?
    primarykey
    data
    text
    <p>The SWF File Format Specification Version 19 says the scale value in the MATRIX record is stored as FB, somewhere else in the specification it says the FB is a 32 bit 16.16 fixed point value, but there's a value how many bits it uses to store the value and in the example it is a 3.16 value and not a 16.16 value.</p> <ul> <li>How can it be a 32 bit 16.16 value and a 19 bit 3.16 value at the same time?</li> <li>How does Flash Player know wheter it's a 3.16, 4.15, 5.14, X.X value?</li> <li>What exactly is the format of the FB?</li> </ul> <p>I want to know this because I want to insert a sprite into a already compiled SWF file. I already succesfully used the PlaceObject tag once in that sprite but now I have an image that has to be scaled down, this is done in the MATRIX record too, but first I didn't need the FB because the other image already is at the right scale.</p> <p>edit: I'm going to try if I can make new sprites with Sothink SWF Quicker tomorrow, if it doesn't work I'll try to make a simple swf file with the sprite in it using Adobe Flash CS 6 and then copy the DefineSprite tag into the other SWF file. If someone answers I'll first try to do the scale thing with a hex editor before I try it with Sothink SWF Quicker.</p> <p>edit2: Sothink SWF Quicker crashes when I try to Import the SWF file. If copying the tag from the SWF file I'm going to create doesn't work I'll delete the image I want to place with the PlaceObject tag and then reinsert it scaled down.</p> <p>edit3: I don't know how to make Flash use the DefineSprite tag, so I added a DefineBitsLossless2 tag with the image scaled down, I'll be using this image in the sprite. I don't need the FB now anymore, but it still would be nice to know how they work, so if someone know it, please answer.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload