Select to view content in your preferred language

Adding Widgets

894
2
05-19-2010 09:46 AM
JohnPeabody
Emerging Contributor
Am trying to add a new widget to the sample flex viewer, I want to add a modified version of the Search widget. I want have one version do the text search and the other the graphical search. I have figured out how to modify the widget, but the app just searches for the new widget without finding it.

Just adding the .mxml file and associated .xml files to the widget folder does not work (no .swf is created). I'm clearly missing something, any insight would be greatly appreciated.

Thanks

John
Tags (2)
0 Kudos
2 Replies
SebastianRoberts
Frequent Contributor
Assuming you are using flash builder (or flex builder), right click on the project, choose properties, then flex modules.  Click on add to add your new search widget to build it automatically.

Sebastian Roberts
Nevada County, CA GIS
0 Kudos
JohnPeabody
Emerging Contributor
Thanks that worked
0 Kudos