Comments on: How to use the Yahoo! AS3 Maps API in Flash CS3 https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/ Archive of older blog posts written by Josh Tynjala about Flash, Flex, and ActionScript Wed, 26 Jun 2013 02:52:46 +0000 hourly 1 https://wordpress.org/?v=4.9.9 By: Mark https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-838 Wed, 01 Oct 2008 17:09:22 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-838 Got it and thanks

]]>
By: Josh Tynjala https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-837 Wed, 01 Oct 2008 16:49:51 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-837 Mark, if you’re using Flex, you should use the SWC. The MXP is only for Flash CS3. However, the SWC is built for Flex 3, so it’s probably not compatible with Flex 2. If I remember correctly, the SWC format changed somewhat between versions. You may need to upgrade to the newer SDK.

]]>
By: Mark https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-836 Wed, 01 Oct 2008 16:33:42 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-836 I am using flex 2.01, should I use the MXP? Is MXP come in the download package also? Thanks a lot

]]>
By: Josh Tynjala https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-835 Wed, 01 Oct 2008 00:54:56 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-835 Mark, did you install it with the MXP? If I remember correctly, the Yahoo! Maps for AS3 has two versions. The SWC should be for Flex 3 and the MXP is there for Flash CS3.

]]>
By: Mark https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-834 Wed, 01 Oct 2008 00:40:28 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-834 Very frustrated to ask this question, I have been using as2 map for a while and decide to move into as3 map. The first thing need to be done is add map SWC into the building path. and I keep getting the error message saying
” unable to load SWC YahooMap.swc: multiple points
” 1017: The definition of base class Locale was not found
” could not resolve to a component implementation

Don’t know what’s went wrong, please help. Thanks

]]>
By: Timothy Soehnlin https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-833 Sun, 14 Sep 2008 01:45:16 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-833 Hi,

I just wanted to note that it is possible to compile your source code against an SWC (e.g. the Yahoo Maps SWC), and also extern all references to the SWC. This allows you to have static compilation (and proper type checking), but also allows you to dynamically load the library at runtime. This is very similar to RSLs, but you can accomplish this all without using the RSL framework from Adobe, but just standard swf loading. I have a link to the process and supporting code: blog post.

Again this doesn’t achieve anything that the above doesn’t, apart from compilation checking and code completion in any sort of editor.

]]>
By: rob https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-832 Mon, 07 Jul 2008 15:57:17 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-832 Hey All!

I’ve built a custom marker class that you guys might be able to use. It uses a dynamic external icon, easy style change for the balloon, and click event dispatching inside of your application.

http://robotoole.com/blog/wp/?p=9

-rob

]]>
By: iLan https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-831 Sun, 01 Jun 2008 13:16:18 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-831 In an addition to my last post, I’m looking for something like the local search marker where you click on it and it pops up a lil’ box that displays the contact info, but I want to supply the info as opposed to it being from a search.

]]>
By: iLan https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-830 Sun, 01 Jun 2008 01:09:45 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-830 First of all. A huge thanks for this page! Very helpful!

Secondly, I have 2 questions… One, how does the radiusToZoom() method calculate? Because it doesn’t seem accurate at all? I put my radius in meters and it returns a HUGE zoom level! If my radius is 100 miles (Converted to meters) and my map is centered over Cleveland ohio, and I set my zoom level to what 100 miles returns, I get all the way west as Minnesota and as far east as Maine’s border on the atlantic! That I can fudge though, so I’m not too concerned with it, was just asking in case you knew.

My real question is about markers. Is there any marker that I can implement that displays the address information without creating my own marker from scratch? I can’t seem to find anything about that in any of the examples or the class documentations… Any thoughts?

Again, thanks! This has been amazingly helpful for me!

-iLan

]]>
By: Jarne https://joshblog.net/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-829 Fri, 30 May 2008 12:19:22 +0000 http://www.zeuslabs.us/2008/02/12/yahoo-actionscript-3-maps-api-in-flash-cs3/#comment-829 Hey Brent, how did you solve it? Can you explain it more in detail please…?

I’ve been loading external images from xml-file, put them into an array and every button loads a couple of images of that array on the stage…
Keep getting that #2007 error… help would be very very appreciated:)

]]>