Hm, I don't have a "BuilderRecources" folder.
The path to the standard-widgets in my FlexViewer installation is:
"C:\Program Files (x86)\ArcGIS Viewer for Flex\flexviewer\widgets"
But my custom widget doesn't get placed here when I import it with FlexViewer.
All custom Widgets are placed here:
C:\Users\Administrator\AppData\Roaming\com.esri.ags.AppBuilder3.0\Local Store\
If I copy my custom Widget manually into the folder for the standard widgets, it isn't available within FlexViewer.
I looked further into the folder structure of the FlexViewer and found some more "assets" folders:
C:\Program Files (x86)\ArcGIS Viewer for Flex\assets\images
and
C:\Program Files (x86)\ArcGIS Viewer for Flex\flexviewer\assets\images
When I copied my Icon into the second one, it is displayed in FlexViewer.
But: The icon won't be placed in this folder programmatically when I import my custom Widget with FlexViewer.
How am I supposed to ship the custom widget to a client if I have to manually copy some images in a specific folder?
Is there a way to get the file path of my SWF file in actionscript so that i could return an absolute path from the "widgetIconLocation" function?