protected override function partAdded(partName:String, instance:Object):void
{
super.partAdded(partName, instance);
if (instance === map)
{
var cssStyleDeclaration:CSSStyleDeclaration = styleManager.getStyleDeclaration("com.esri.ags.components.supportClasses.InfoWindow")
cssStyleDeclaration.setStyle("backgroundColor", getStyle('contentBackgroundColor'));
styleManager.setStyleDeclaration("com.esri.ags.components.supportClasses.InfoWindow", cssStyleDeclaration, true);
}
}============================
Getting Started - Developers
============================
See http://links.esri.com/flexviewer-gettingstarted-developers
1. In Flash Builder 4.5, Go to File Menu -> Import -> Flash Builder project.
2. Keeping "File" option selected, click "Browse..." button.
3. Select flexviewer-3.0Prerelease-src.zip downloaded in step 1, e.g. "C:\Documents and Settings\jack\My Documents\flexviewer-3.0Prerelease-src.zip".
4. "Extract new project to:" textbox will be automatically set to location where the project source will reside,
e.g. "C:\Documents and Settings\jack\Adobe Flash Builder 4\FlexViewer.
Do not put it onto your web server - you should separate your code location from your output.
5. Click "Finish" button. Project will be created and displayed in the Package Explorer window of Flash Builder 4, e.g. in this case FlexViewer.
ReferenceError: Error #1065: Variable "com.esri.ags::FeatureSet" undefine�?? at _Main_FlexInit$/init() at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.preloaders::Preloader/timerHandler() at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick()
set the agslib-2.5-2011-11-30.swc into External-Library-Path , is ok. but throw a new exceptionReferenceError: Error #1065: Variable "com.esri.ags::FeatureSet" undefine�?? at _Main_FlexInit$/init() at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.preloaders::Preloader/timerHandler() at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick()