I have an issue when trying to reproduce the WMS layers on/off sample for a Desktop application.
<fx:Script> <![CDATA[ private function getSliderMaximumAllowedValue(lods:Array):Number { return lods.length - 1; // using this function as the source of data binding expression as the length property of lods(Array) is not bindable } ]]> </fx:Script> <mx:VSlider id="slider" height="130" alpha="{getStyle('contentBackgroundAlpha')}" dataTipFormatFunction="formatSliderDataTip" dataTipPlacement="right" enabled.disabled="false" enabled.disabledWithSlider="false" enabled.normalWithSlider="true" includeIn="normalWithSlider,disabledWithSlider" liveDragging="false" maximum="{getSliderMaximumAllowedValue(hostComponent.map.lods)}" showDataTip="true" snapInterval="1" tickColor="{getStyle('color')}" tickInterval="1" tickLength="3" tickOffset="-3" tickThickness="1" value="{hostComponent.map.level}"/>
Royce,>> I've come across a few issues using the 4.5 sdk against the 2.3.1 api and imported projects. Could you list those.>>little things like .layerinfos.length is no longer recognized. Unable to reproduce this using 4.5. Could you provide testcase for this?>>Looks like if you don't use sdk 4.5, design mode is broken in Flash Builder 4.5.Its more of Adobe disabling Design View in Flash Builder 4.5 for SDKs other than 3.6 and 4.5Sylvain,>> I find one problem with widget minimizing. Thanks for reporting this.
... <mx:VSlider id="slider" dataTipFormatFunction="formatSliderDataTip" dataTipPlacement="right" enabled.disabled="false" enabled.disabledWithSlider="false" enabled.normalWithSlider="true" height="160" includeIn="normalWithSlider,disabledWithSlider" liveDragging="false" maximum="{hostComponent.map.lods.length - 1}" ...
<esri:QueryTask id="queryTask" url="{mapLayer.layerInfos.length - 1}" useAMF="false"/>
<s:Transition fromState="open" toState="minimized"> <s:Sequence> <s:Fade duration="100" target="{widgetLabel}"/> <s:Fade duration="100" target="{headerToolGroup}"/> <s:Fade duration="100" target="{contentGroup}"/> <s:Fade duration="100" target="{widgetFrame}"/> <mx:Resize heightTo="30" target="{hostComponent}" widthTo="100"/> <s:Move easer="{bounce}" target="{icon}"/> </s:Sequence> </s:Transition> <s:Transition fromState="*" toState="open"> <s:Sequence> <s:Move target="{icon}"/> <mx:Resize heightTo="{hostComponent.widgetHeight}" target="{hostComponent}" widthTo="{hostComponent.widgetWidth}"/> <s:Fade duration="100" target="{widgetFrame}"/> <s:Fade duration="200" target="{widgetLabel}"/> <s:Fade duration="100" target="{contentGroup}"/> <s:Fade duration="100" target="{headerToolGroup}"/> </s:Sequence> </s:Transition> <s:Transition fromState="open" toState="closed"> <s:Sequence> <s:Fade duration="100" target="{widgetFrame}"/> <s:Fade duration="100" target="{widgetLabel}"/> <s:Fade duration="100" target="{headerToolGroup}"/> <s:Fade duration="100" target="{contentGroup}"/> </s:Sequence> </s:Transition> </s:transitions>
I try new flex SDK 4.5 and I find one problem with widget minimizing.If I click on minimize icon I get this :http://imageshack.us/photo/my-images/4/widgeti.png/
We're having trouble with the pinch zoom in an app we've created for android using flex 4.5 and agslib 2.3.1. If you pinch slowly, it seems to interpret the movement as a pan until you let go, and then it zooms.
Also, are there any plans to include the magnifier functionality from silverlight in flex? We have a customer chomping at the bit for this.
And finally, I'm using the legend component and I'd like to change the skin, whenever I create a new skin based on the legend and create as a copy of com.esri.ags.skins.LegendSkin I get an error that says "The source for the skin "{0}" cannot be found." Am I missing a skin library?
Where can we post problems with ESRI behavior on mobile in flex 4.5? We have an app we're packaging with Adobe AIR and we're having trouble with the pinch zoom functionality.
We are still in the process of verifying 4.5 support. We should have a full report next week. If you want to be on the safe side, I'd recommend holding off. As for the SDK: As of now, the ArcGIS API for Flex seems OK with it, but in your applications there might be code that needs updating. If you are using the source code of the Viewer, I would recommend you stick with 4.0 or 4.1 for now.As for the IDE:It should probably be OK with Flash Builder 4.5, assuming that you use an SDK version as described above. But again, we are still in the process of testing and verifying.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.