I am trying to deploy an existing flash application as an AIR application for use on an iOS device. When I include the esri TimeSlider, the application crashes immediately with the error: VerifyError: Error #1014: Class mx.controls.sliderClasses::Slider could not be found.
The exact same code works fine as a normal browser based application, but fails when run as an AIR application.
Is the timeSlider not compatible with AIR applications, or is there something that I am missing? Any help would be appreciated.
Mobile projects don't include the mx.swc by default. You can manually add it to your project under the "Flex Build Path" project properties or by adding it to your libs folder. You can find it at: .../Adobe Flash Builder 4.6/sdks/4.6.0/frameworks/libs/mx/mx.swc
Mobile projects don't include the mx.swc by default. You can manually add it to your project under the "Flex Build Path" project properties or by adding it to your libs folder. You can find it at: .../Adobe Flash Builder 4.6/sdks/4.6.0/frameworks/libs/mx/mx.swc
Thank you for the response. That was what I needed to do. Although, after I had added that swc file, I got quite a few more errors, and I came across this article that resolved the resulting errors: