I have read through all previous questions/answers but I am still unclear...
My organization has a number of Flex Viewers configured for specific uses. These viewers have a mix of standard widgets along with some extra widgets for example our Emergency Awareness viewer contains US National Grid and Bomb Threat widgets.
I created a custom widget using the vanilla Flex Viewer project off of GitHub - it compiles and runs great within it's project. My understanding (mis-understanding?) was that I could just copy the compiled folder and update references to the new widget with my main viewer config.
Reading some past threads I see Robert has commented that the entire project must be copied over. That implies to me that some references must exists elsewhere in the compiled project files. My question is - if I do not have all of the source files for these other widgets (Bomb Threat, etc) - am I out of luck?
Thanks,
Glenn
Glenn,
If you are just deploying a compiled widget to a specific viewer than all you need to do is copy that widgets folder into the widgets directory of the viewer and then add the widget XML to the main config.xml for that viewer.
Thank you for ensureing me that it "should" work. That led me to troubleshoot further and I found that I can get the compiled widget to work only if I unselect "Optimized for application - index.mxml". While this makes the swf larger (1.3MB), it does work as expected. I'm not sure what differences are between the vanilla index.mxml and the version in my application but I'm back in business.
Thank you
Glenn,
Do you have a working version of the compiled Bomb Threat widget for the Viewer for Flex platform, preferably 3.6 or 3.7?