royale-asjs icon indicating copy to clipboard operation
royale-asjs copied to clipboard

Exception in PanelSkin on SWF target

Open estanglerbm opened this issue 4 years ago • 0 comments

In a test case like #1140, run in fdb on SWF target, you get this exception when instantiating PanelSkin (on the way out of the constructor):

[Fault] exception, information=ReferenceError: Error #1069: Property http://www.adobe.com/2006/flex/mx/internal::setupBindings not found on spark.skins.spark.PanelSkin and there is no default value.
        at spark.skins.spark::PanelSkin()
        at spark.components.beads::SparkSkinScrollingViewport/set strand()[/org/apache/royale/0.9.8/spark/components/beads/SparkSkinScrollingViewport.as:66]

But skins work, in general, like creating a custom skin on your Application. Don't know what's so special about PanelSkin that causes it to not satisfy the setupBindings that the compiler wants (at runtime).

estanglerbm avatar Jul 26 '21 01:07 estanglerbm