Skip to main content
Inspiring
May 20, 2019
Question

Custom Plugin GenerateFrameCommands hits an exception with a Component on the stage

  • May 20, 2019
  • 1 reply
  • 280 views

Hello,

I have a FLA file with a component(the Image component from the tutorial Example of a HTML5 custom component) on the stage and I have enabled the Components feature in the Features.xml file.

Whenever my code calls Exporter::Service::IFrameCommandGenerator::GenerateFrameCommands Custom Platform Support Development Kit: Exporter::Service::IFrameCommandGenerator Class Reference an exception is hit in Animate's code.

Image: screenshot.1558358962.png - Google Drive

I would like to know whether exporting Components is possible from a custom plugin? If it is, where can I find documentation explaining what I have to do to enable it?

Kind Regards,
Ognyan

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
May 20, 2019

the image component is not a custom component.  if you're using the image component, just add it and use the component's property panel to select a bitmap to load.