If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2713 Can't edit AS code : " Property xxxx has protected access in yyyy on line zzz " message
Author:
djoole
djooleDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Direct Editation
State: returned 

> What steps will reproduce the problem?
Edit AS code in a class that has protected functions
> What is the expected output? What do you see instead?
I would expect to be able to edit the AS
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Using JPEXS 26.0.0 on W11 10.0.26200.8246
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Problem related to a Starfield UI SWF file (inventorymenu.swf attached)
m_state is the stated property having protected access.
InventoryMenu is the edited class
inventorymenu.swf (245 KiB)Actually I just found out that "Edit AS code in a class that has protected functions" is a
wrong statement.
I can edit just fine InvItem for instance, and it has 2 protected functions.
This is fixed in nightly 3518.
State: new→upgraded
This is indeed fixed, thanks a lot!!
State: upgraded→closed
I don't know if it was preferred to reopen this issue or open a new one.. well I reopened
this one.
So the issue is fixed when I edit InventoryMenu class, but I have the same issue with
v26.2.1 when I edit ContainerMenu class.
Problem is : Property entryList has protected access in Shared.AS3.BSScrollingContainer
File attached.
containermenu.swf (158 KiB)State: closed→returned
Another problem : the file InventoryMenu.swf for which I initially opened this ticket. Now
with v26.2.1 I don't get error when I want to save the edited AS, but it breaks the file.
I've just replaced a letter by the same letter in JPEXS in InventoryMenu class just so
that JPEXS sees a change and allow me to save.
When launching the game and accessing the UI that calls this SWF, the UI is totally
broken. Here are the 2 files that should be identical but aren't, after editing.
inventorymenu_edited.swf (184 KiB)