Flex Mobile Editing

2035
7
Jump to solution
12-14-2012 10:00 AM
MikeDahm
Occasional Contributor
I am creating Flex Mobile applications and keep running into a wall when it comes to editing.  I am using Flex API 3.0 and recently tried 3.1 with the same issue.  Using the samples for editing or the AttributeTable, Editor or trying to use the AttributeInspector gives errors when trying to run the program.  I get several error 1014:

VerifyError: Error #1014: Class mx.controls::DateField could not be found.
VerifyError: Error #1014: Class mx.controls::TextArea could not be found.
VerifyError: Error #1014: Class mx.containers::TitleWindow could not be found.

Has anyone been able to get mobile editing to work on the Flex platform?  If so what method did you use?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DasaPaddock
Esri Regular Contributor
0 Kudos
7 Replies
AaronNash1
Occasional Contributor II
sounds like you need to add the mx.swc as a library to your project. When building a mobile project the mx components are not added in by default
0 Kudos
DasaPaddock
Esri Regular Contributor
0 Kudos
MikeDahm
Occasional Contributor
Thank you both for the quick response, that did it.
0 Kudos
MikeDahm
Occasional Contributor
Follow up question.  The attribute inspector uses drop downs as a default for coded domain fields.  Since drop down lists do not work on the mobile apps is there a way to make them work or utilize a popup list with radio buttons that would utilize the coded domains?
0 Kudos
AaronNash1
Occasional Contributor II
I have not done anything for that, but I have been starting to use an open source flex mobile library called Eskimo. They have an app in the play store called Tour d' Eskimo. Their library accomodates different screen sizing as well as IOS and Android differences. The mobile app I have been working on looks different on my S3, when I skin it in the eskimo library it resolves the issue. They built a drop down menu for the flex framework that works, not sure if it could be integrated into what you are trying to accomplish.
0 Kudos
ArchanaSingh
New Contributor II
Hello,

I was also facing the issue as metioned by Mike when I tried to include the LegendSkin in my mobile Application and customize it.

VerifyError: Error #1014: Class mx.controls:: DateField could not be found.
VerifyError: Error #1014: Class mx.controls::TextArea could not be found.
VerifyError: Error #1014: Class mx.containers::TitleWindow could not be found.


I then added the mx.swc and sparkskin.swc and the error was gone. But now I am getting 25 warnings saying that:

The style 'backgroundColor' is only supported by type 'mx.containers.Panel' with the theme(s) 'halo, spark'.
The style 'borderAlpha' is only supported by type 'mx.containers.Panel' with the theme(s) 'halo, spark'.

and many similar ones.

Could anyone help me in removing these errors??
0 Kudos