Re: [Flashcoders] Yahoo Maps: Detecting latitude and longitude of mouse over map

2006-07-20 Thread Dave Wood
Hi David When flash calculates _width and _height, it also includes things inside the movieclip which may be invisible, or masked out. Good thought, but no, the movieclip contains nothing beyond the area covered by the map instance. Note that it wsan't just the clip containing the map the

Re: [Flashcoders] Yahoo Maps: Detecting latitude and longitude of mouse over map

2006-07-20 Thread David Rorex
When flash calculates _width and _height, it also includes things inside the movieclip which may be invisible, or masked out. Try this simple example: On the stage, create an empty movie clip A which contains two square movieclips B and C, which are placed next to each other This code will produc

Re: [Flashcoders] Yahoo Maps: Detecting latitude and longitude of mouse over map

2006-07-20 Thread Dave Wood
The actual dimensions of the movieClip (and also the map) are 400 X 300 pixels. Sorry, that was a typo - they are actually 500 X 400 pixels. David ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http:/

[Flashcoders] Yahoo Maps: Detecting latitude and longitude of mouse over map

2006-07-20 Thread Dave Wood
Hi I'm trying to detect the latitude and longitude of the cursor as the user moves their mouse around a map. Should be straightforward I thought - if I use LatLonRect data and then calculate based on _xmouse and _ymouse data and the height and width of the movieClip containing the map, I

Re: [Flashcoders] Yahoo! Maps api

2006-07-18 Thread Aaron Buchanan
Works great - thanks kev! On 7/17/06 4:53 PM, "Kevin Newman" <[EMAIL PROTECTED]> wrote: > This is a known problem with the current version of the mxp file (3.02). > You can work around the problem by using the whole classname. > > so instead of: > > import com.yahoo.maps.widgets.NavigatorWidge

Re: [Flashcoders] Yahoo! Maps api

2006-07-17 Thread Kevin Newman
This is a known problem with the current version of the mxp file (3.02). You can work around the problem by using the whole classname. so instead of: import com.yahoo.maps.widgets.NavigatorWidget; var foo:NavigatorWidget = new NavigatorWidget('closed'); use: var foo:com.yahoo.maps.widgets.Nav

[Flashcoders] Yahoo! Maps api

2006-07-16 Thread Aaron Buchanan
Anyone seen any issues with class files not being installed when you load the mpx in? This is among the errors I am getting after freshly installing the component. I tried y! Blogs but haven't heard back yet, so was wondering if anyone here had found any info on the mystery classes :) **Error** S

RE: [Flashcoders] Yahoo! Maps Flash API

2006-06-15 Thread Caleb E. Brown
window. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diego Guidi Sent: Thursday, June 15, 2006 2:14 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Yahoo! Maps Flash API I have tried the component that you link, and the

Re: [Flashcoders] Yahoo! Maps Flash API

2006-06-14 Thread Diego Guidi
I have tried the component that you link, and the com.yahoo.maps.widgets.NavigatorWidget don't work! 2006/6/14, Mike Britton <[EMAIL PROTECTED]>: I'm getting started with the Yahoo! Flash API, and noticed their Maps mxp doesn't include com.yahoo.maps.widgets.NavigatorWidget. Looks like Yahoo! n

Re: [Flashcoders] Yahoo! Maps Flash API

2006-06-14 Thread Kevin Newman
I'm using the 3.02 (it says 3.2.0 in the Extension Manager) component in my current work, and importing that widget seems to work fine. Are you sure you have the latest MXP? http://developer.yahoo.com/maps/flash/componentEULA.html Kevin N. Mike Britton wrote: I'm getting started with the Ya

[Flashcoders] Yahoo! Maps Flash API

2006-06-14 Thread Mike Britton
I'm getting started with the Yahoo! Flash API, and noticed their Maps mxp doesn't include com.yahoo.maps.widgets.NavigatorWidget. Looks like Yahoo! needs to update their MXP to include this code since there's an article on Adobe about how to use it. http://www.adobe.com/devnet/flash/articles/yah

[Flashcoders] Yahoo Maps

2006-03-15 Thread Kevin Aebig
Hey all, Has anyone successfully created a custom marker by inheriting from the existing classes? If so, could you shed some light as to why a simple test is bombing on me and won't attach anything. //