• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Quiz Radio Buttons fail to appear and throw Flash Errors in the Flash Debug Player

Explorer ,
Jun 11, 2015 Jun 11, 2015

Copy link to clipboard

Copied

I'm calling Adobe Captivate 8 lessons from an AS3 Flash wrapper, which we've been using successfully for many years for quiz-less Captivate lessons .  Now, we're introducing quizzing and the radio buttons fail to appear. 

Since I run the debug version of FlashPlayer, I have the added bonus of Flash Debug errors to share.

I checked around and saw that most of the time this symptom results from objects being inadvertently placed on top of the buttons (either in the Master Slide or actual Question Slide).  However, I didn't find any conflicts there.

Here are the Flash Debug messages for a Question slide with 4 radio buttons.

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

  at fl.controls::RadioButton/drawLayout()

  at com.adobe.captivate.quizzing::MultipleChoiceAnswer/drawLayout()

  at fl.controls::LabelButton/draw()

  at fl.controls::RadioButton/draw()

  at fl.core::UIComponent/callLaterDispatcher()


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

  at fl.controls::RadioButton/drawLayout()

  at com.adobe.captivate.quizzing::MultipleChoiceAnswer/drawLayout()

  at fl.controls::LabelButton/draw()

  at fl.controls::RadioButton/draw()

  at fl.core::UIComponent/callLaterDispatcher()


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

  at fl.controls::RadioButton/drawLayout()

  at com.adobe.captivate.quizzing::MultipleChoiceAnswer/drawLayout()

  at fl.controls::LabelButton/draw()

  at fl.controls::RadioButton/draw()

  at fl.core::UIComponent/callLaterDispatcher()


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

  at fl.controls::RadioButton/drawLayout()

  at com.adobe.captivate.quizzing::MultipleChoiceAnswer/drawLayout()

  at fl.controls::LabelButton/draw()

  at fl.controls::RadioButton/draw()

  at fl.core::UIComponent/callLaterDispatcher()


As you can see, the Captivate lesson is referring to line numbers in ActionScript classes on my development system.  I would think that Captivate would have embedded their own AS3 libraries into the published lesson SWF file.

So, I don't understand why it refers to my class libraries. 

Regardless, the error seems to indicate that some sort of inability to draw the radio button.

Does anyone have any thoughts about what might be causing this?

Here is a link to the LabelButton.as file:

https://www.dropbox.com/s/2ghs08l05w411f1/LabelButton.as?dl=0

TOPICS
Quizzing and LMS

Views

206

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Help resources