#299 Replacing DefineBits images
Assigned to: honfika
I wish if the images (in Image tab) would be able to replace (like in Sothink decompiler) for better games translation because sometimes it requires to repaint some images (with text) and replace them (without exporting to .fla).
There already is such feature. Under the image, there is "Replace" button. There is one exception - DefineBits images. These images cannot be replaced as it has separate DefineBits & JPEGTables tags. You should see the button.
Sorry for duplicating issue. But I doesn't see such a button :(
image.jpg (346 KiB)
A don't see well it under the context menu but it looks like "DefineBits" tag as it is short. This cannot be edited in current version (as I stated in previous post). Click DefineBitsJPEG3 for example and you should see the button under the image.
Ok, thanks for information but there are all images in my .swf marked with this tag :). Are u planning to make it editable in future?
"all images"? Are you sure? From the image you posted I can clearly see some DefineBitsJPEG3 tags, which surely can be replaced. Or you are talking about another SWF? By "DefineBits" tag I mean item in the tree with name "DefineBits(xx)". DefineBitsJPEGX, DefineBitsLossLessX CAN be replaced.
There is already one issue with DefineBits editing, but it is private. I can implement it, but I do have to figure out how.
Title: Replacing images function→Replacing DefineBits images
Yes I used ttp.swf, but when replacing image it actually doesn't replaces with my picture and its (DefineBitsJPEG3 (31)) became bugged (in preview and in the game).
So should I make a new bug issue for this (bugged behavior after replacing DefineBitsJPEGX images)?
Yes please, create new issue. Thanks.
Replacing DefineBit image is implemented. When you try to replace a DefinetBit tag, it will create a new DefineBitJPEG2 tag (with the same character id), and removes the old tag. After you replace the image, the tag tree will be refreshed, there you can see the new JPEG2 tag (in the same position wher the old tag was), but the image preview wont be refreshed. So you need to select the node again. The reason is that the tree structure is changed, and the program can't find the previous node. (So this is not a bug, it is a "feature") If you don't like this "feature", then you can create a bug report, but currently it would be difficult to fix this problem.
Assigned: → honfika
Thanks, works fine!
So this issue is done, right? The bugged behaviour you mentioned (08/12/2013, 9:52:13 am) has a separate issue. Can i close this?
Yes, close it.