1 Reply Latest reply on Jul 24, 2013 6:30 AM by kglad

    Skinning radio buttons typeerror #1009

    NIOSocket

      hi guys,

       

      i have a problem skinning a radiobutton. even if i just delete one of the movieclips inside the radiobutton my movie already crashes with Error #1009, debugging says:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

          at fl.controls::RadioButton/drawLayout()

          at fl.controls::LabelButton/draw()

          at fl.controls::RadioButton/draw()

          at fl.core::UIComponent/callLaterDispatcher()

       

      if i click one of the movieclips there is a button saying something like "exchange" (i am using the german version).

      but even if i exchange the selected clip with one of mine, that even has the same name, it already crashes.

      needles to say that this how to (http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f1b.html) from adobe also doesnt work.

      any ideas how i can fix this?

       

      EDIT: got it solved already. instead of double clicking and editing the movieclip itself, i deleted the movieclip and replaced it with an image and so the button was unabled to find it wich resulted in the nullpointer.