Select to view content in your preferred language

mx dependency in EditTool on 2.4 API?

498
2
07-29-2011 01:57 PM
BenFerguson
Occasional Contributor
If I include the EditTool from the new 2.4 Flex API (without mx.swc) in a Flex Mobile app (Android Tablet), I get the following error.

VerifyError: Error #1014: Class mx.controls::DataGrid could not be found.

It seems that there is still a dependency to the mx.swc in the API.

I'm using FlashBuilder 4.5.1


Full error in attachment.
Tags (2)
0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
Correct - there are still mx dependencies for certain components and/or skins.

The main mobile difference for version 2.4 (in regards to compiling) is that the Map component no longer is mx-dependent.
0 Kudos
BenFerguson
Occasional Contributor
Ok, thanks.  I know it's hard to do away with them entirely.  It would be nice if the docs could indicate which ones do have that dependancy (or flip it the other way, which ones are 'Mobile' optimized).
0 Kudos