DMC-Corona-Library
DMC-Corona-Library copied to clipboard
dmc_buttons: _initComplete not being called.
Using dmc_buttons radio group.
Problem: Initial state of the button's active/inactive modes are not set. In my case the button's active image is showing underneath the inactive image since they are of different sizes.
Details: img_data.active.isVisible = false is not being called in BinaryButton:_initComplete() since BinaryButton has __isIntermediate set on the object for being a child class of ButtonBase.
_initComplete is called in CoronaBase:new(). When creating a Radio button the new function in BinaryButton Class is used and CoronaBase:new() is never called.
thanks for the good info ! i'll check it out.