Closed yozef closed 10 years ago
Hi @yozef, thank you for reporting this. This was caused probably because the ControlBarContent was not present in your TitleWindow and we forgot to check for it. Commit 3951fca8c8afdef45ec1c8614555e8f8c1eafd3c should fix that.
Please tell us if you still get any errors.
Sweet thanks, yeah I actually figured and added the controlBarContent.
Great @yozef.
I'll mark this as resolved.
error when used with modules
Error #1069: Property iconDisplay not found on flatSpark.skins.ButtonSkin and there is no default value. at spark.skins::SparkSkin/updateDisplayList()[/Users/aharui/release4.13.0/frameworks/projects/spark/src/spark/skins/SparkSkin.as:183] at flatSpark.skins::ButtonSkin/updateDisplayList()[D:\Softwares\FlatSpark\FlatSparkSkin\src\flatSpark\skins\ButtonSkin.mxml:87] at mx.core::UIComponent/validateDisplayList()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/core/UIComponent.as:9531] at spark.components::Group/validateDisplayList()[/Users/aharui/release4.13.0/frameworks/projects/spark/src/spark/components/Group.as:1101] at mx.managers::LayoutManager/validateDisplayList()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:744] at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:827] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]
Hi @rodrigoEclipsa, which version are you using? Can you post the code sample that throws the exception?
TypeError: Error #1009: Cannot access a property or method of a null object reference. at flatSpark.skins::TitleWindowSkin/setPartCornerRadii()[/Users/brunopacola/Desktop/FlatSpark/FlatSparkSkin/src/flatSpark/skins/TitleWindowSkin.mxml:105] at flatSpark.skins::TitleWindowSkin/updateDisplayList()[/Users/brunopacola/Desktop/FlatSpark/FlatSparkSkin/src/flatSpark/skins/TitleWindowSkin.mxml:95] at mx.core::UIComponent/validateDisplayList()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8999] at spark.components::Group/validateDisplayList()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1039] at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:736] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:819] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]