Starting in Flex!
Need some VERY basic help in loading and running a demo of Modest Maps in Flex. I've downloaded the most current AS3-1.0-r749.tar.gz, opened the as3 folder within, and placed the full contents into the src folder of a new Flex library.
I then create a new Flex project (lets call it MMTest), and in properties/Flex Build Path/Library Path, add project and point to the ModestMaps library.
I then go back to the ModestMaps/properties/Project References and select MMTest.
At this point I get cycle was detected in the build path error of both projects
Ignoring that, I copy/paste the ModestMapsFlexTest.mxml file to the new mxml file of MMTest. It launches and produces just a big gray box (even though in design view I see a divided box).
Obviously I'm missing a whole step, or five...
Cheers
Paige St. John
Sarasota (FL) Herald-Tribune
paigeastjohn@gmail.com
I then create a new Flex project (lets call it MMTest), and in properties/Flex Build Path/Library Path, add project and point to the ModestMaps library.
I then go back to the ModestMaps/properties/Project References and select MMTest.
At this point I get cycle was detected in the build path error of both projects
Ignoring that, I copy/paste the ModestMapsFlexTest.mxml file to the new mxml file of MMTest. It launches and produces just a big gray box (even though in design view I see a divided box).
Obviously I'm missing a whole step, or five...
Cheers
Paige St. John
Sarasota (FL) Herald-Tribune
paigeastjohn@gmail.com
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Don't use the whole as3 folder. Try just the contents of as3/lib.
I don't personally recommend Flex (MXML) if you're just starting out with Modest Maps. Try a pure as3 project, there are more demos available. -
Inappropriate?Paige,
If you remove the reference to MMTest from your MM library project that should get rid of the "cycle was detected" error -- the library does not need to point to the projects that use it. Until you fix that, MMTest will not even compile -- probably what you are seeing (with the gray box) is an earlier compilation of the code, i.e. before you included mapping.
Post again if that doesn't fix it -- I have been using MM with Flex for quite a while, and would be happy to guide you through it ( btw, I too work for a newspaper -- we gotta stick together ;-)
Jay
-
Inappropriate?Success!
Removed the MM library reference to MMTest, and put the contents of the SWC/bin folder into the ModestMaps/bin folder ... and RENAMED 'ModestMapSWC.swc' to 'ModestMaps.swc'
Thanks Jay!!! And can I give you a call about newspaper applications?
Cheers
Paige
I’m ecstatic!
-
Inappropriate?even I tried the same example MMFlexTest with rename and adding .swc file in lib/ folder
I've pasted ModestMapsFlexTest.mxml
and got the following error:
VerifyError: Error #1053: Illegal override of FocusManager in mx.managers.FocusManager.
I’m anxious
-
Inappropriate?Faisal,
I think you are compiling your project with an older version of the SDK than the ModestMaps swc. You need to either update your compiler, or re-compile the swc from source.
Jay
I’m confident
-
Inappropriate?I'm completely lost on it. I've got the library downloaded, FLEX Builder installed ... but that's where it stops. Any begginner walkthrough would be excellent.
Loading Profile...



EMPLOYEE
