List of issuesList of issues

#299 Replacing DefineBits images
Author: user megalol
Date created:
Type: feature
Visibility: Everybody
Assigned to: developer honfika
Labels: Images
State: closed Help

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).
admin
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.
user
Sorry for duplicating issue. But I doesn't see such a button :(
Downloadimage.jpg (346 KiB)
admin
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.
user
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?
admin
"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.
admin
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
user
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).
user
So should I make a new bug issue for this (bugged behavior after replacing DefineBitsJPEGX images)?
admin
Yes please, create new issue. Thanks.
developer
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:developer honfika
developer
State: new→upgraded
user
Thanks, works fine!
developer
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?
user
Yes, close it.
developer
State: upgraded→closed
 
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic