Add a Radio Button and Bind it to data X,Y,Z and insert the position into Cell A1
Add 3 list components with Dynamic Visibility binded to A1.
So when i select X, the first List Box is displayed, Y displays the second and Z the third. But thats not happening. When i try to preview it, it gives me the following error.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.core::ScrollControlBase/updateDisplayList()
at mx.controls.listClasses::ListBase/updateDisplayList()
at mx.controls::List/updateDisplayList()
at xcelsius.controls.listClasses::ListBase/updateDisplayList()
at xcelsius.controls::List/updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at template2901818973-34086-4573-128-41-1712167316915071/restoreDisplayObject()
at xcelsius.controls::List/setDynamicVisibility()
at xcelsius.controls::List/commitDynamicVisibilityProperties()
at xcelsius.controls::List/set displayStatus()
at MethodInfo-2997()
at xcelsius.binding::XCChangeWatcher/wrapHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at xcelsius.binding.tableMaps.output::TableToSingleton/updateMap()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at xcelsius.collections::ArrayTable/flushUpdateEvents()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at xcelsius.spreadsheet::Document/Calculate()
As far as i know, The insert option should not make a difference. However i tried all possible insert options (Row, Value, Label Etc). Still it returns the same error when i preview. I’m attaching the XLF file as reference.
I looked at this. I couldn’t open the file in 4.5, maybe we’re on different SP’s.
I have a different install of v 2008, and I opened the file there. The visibility worked just like you said it should.
I’m not really sure what to tell you. The only other thing that I can think to try to would be to directly reference the cell $A$3 for the Dynamic Visiblity Key instead of using the numbers (1,2,3).
Hi Rohit,
the fact that you see error messages tells that you have the debug version of Flash player installed. While the error message indicates that some bug may be present, it is also possible that your swf will work fine if you install release version of Flash player. To do it, you need to remove Flash through Control Panel->Add and remove programs and install release version of flash player (you can get it from Adobe website).