Copy link to clipboard
Copied
Hi all,
Since Google Maps API will be deprecated in 3 months I'm trying to use MapQuest instead. (MapQuest Developer Network: Map APIs, SDKs and Web Services - MapQuest Developer Network)
But I can't import the component MQFlashMapsAPI_7.1.5_MQ_MOBILE.swc into my project.. Any idea why?
I've read that I have to import the core.swc from the Flex SDK.. I've put the core.swc file in the components folder, but when I'm going into the components window in Adobe Flash, neither core.swc or MQFlashMapsAPI are visible.
Do you what should I do in order to import MQFlashMapsAPI in my project ?
I'm using Adobe Flash pro CC
Thank you for your help,
I've found the solution.
You must put the swc file in : C:\Program Files\Adobe\Adobe Flash CC\Common\Configuration\ActionScript 3.0\libs AND C:\Users\Name\AppData\Local\Adobe\Flash CC\fr_FR\Configuration\Components\Flex
Hope it'll help someone else.
Thx everyone for your help.
Copy link to clipboard
Copied
If it requires Flex, you can't use it in Flash Pro. Apache Flex (formerly Adobe Flex) is used in Flash Builder (note the product in the upper right to use it):
Copy link to clipboard
Copied
It doesn't require Flex, I've used the MapQuest API before and it works perfect in Flash. But I've never used CC before... not sure how you'd get it to work there.
Copy link to clipboard
Copied
I would be really shocked if it requires ActionScript 2.0 but CC doesn't support that. Otherwise I honestly don't know why it would want a flex library in a place you can't utilize Flex.
You say you've used this API before. Is this the same MapQuest SWC version you successfully used before or is it updated? What version of flash did you successfully use this in? Lastly did you get Flex from Adobe (4.6.0) or Apache?
Copy link to clipboard
Copied
I used in Flash CS6 - not Flex. Same SWC version - I did some testing just a couple of months ago. Who said anything about AS2?
Copy link to clipboard
Copied
I've found the solution.
You must put the swc file in : C:\Program Files\Adobe\Adobe Flash CC\Common\Configuration\ActionScript 3.0\libs AND C:\Users\Name\AppData\Local\Adobe\Flash CC\fr_FR\Configuration\Components\Flex
Hope it'll help someone else.
Thx everyone for your help.
Copy link to clipboard
Copied
I don't believe that's really the correct answer. It appears you're not configuring your project to look in the correct places for the libraries it needs and just copied the SWC to a very global path to Flash. The best way is not to litter global Flash directories with those files and to configure your paths properly in the project.
Copy link to clipboard
Copied
i'm a total newbie can you post your source code?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now