I have the same problem as Jedikalimero. It is impossible to change
the site from AS2 to AS3 for this function, and client is eager to get
this Google map working dynamically.

I'm blank
What can I do?



On Mar 30, 4:27 pm, jedikalimero <[email protected]> wrote:
> Thank you, Pamela
>
> I already have created (with lot of effort) a simple AS3 movie with
> just the map, so overlaying this AS3 movie over theAS2movie can be
> an option worth of looking at. Since I already have the AS3 movie
> working, it would be easier than using the Javascript API.
>
> It is a pity Google doesn't care about theAS2programmers. AS3 maybe
> more structured, efficient and generate faster code, but it is too
> much complicated for the user mainly oriented to the graphical part of
> Flash like me. And there are lots of webs like mine already programmed
> inAS2that can't just add a Google Map because they would have to
> port all the site to AS3. Even for an expert AS3 programmer it would
> be a big task, hardly worth the effort.
>
> This is an example of how complicated AS3 is for a graphic artist who
> has only basic programming background:
>
> Button for sending e-mail inAS2:
> //------------------------------------------------------------------
> on (release) {
>     getURL("mailto:[email protected]";);};
>
> //------------------------------------------------------------------
>
> Direct and simple. The code is in the button but you can be neat and
> place it in the main timeline with little effort. Now let's see the
> same thing in AS3:
> //------------------------------------------------------------------
> import flash.net.*;
>
> correo.addEventListener(MouseEvent.CLICK, abrirCorreo);
>
> function abrirCorreo(event:MouseEvent):void {
>     var url:String = "mailto:[email protected]";;
>     var request:URLRequest = new URLRequest(url);
>     navigateToURL(request);};
>
> //------------------------------------------------------------------
>
> You already have the AS3 API. porting it theAS2should be very easy,
> or letting somebody to do the work for you. I'm sure there is a lot of
> people willing to do it.
>
> Juan C Walls
>
> On Mar 30, 2:17 am, pamela fox <[email protected]> wrote:
>
> > Hi jedikalimero-
> > I believe your only option is to embed the JS Map over the currentAS2SWF.
> > There's an example that's similar of overlaying the Earth API over a Flex
> > application:http://cynergysystems.com/blogs/page/andrewtrice?entry=google_eath_fl...
>
> > Actually, perhaps you can overlay an AS3 SWF over anAS2SWF, using the
> > right CSS mastery. I have no demo of that though, just speculation.
>
> > - pamela
>
> > On Sat, Mar 28, 2009 at 9:49 AM, jedikalimero <[email protected]> wrote:
>
> > > Unfortunately, the client wants the map to be dynamic, so the user can
> > > search for subway stations, change to satellite view, see nearby
> > > monuments, zoom, etc.
>
> > > On 27 mar, 23:46, Arothian <[email protected]> wrote:
> > > > If your map is simply showing the singular location fo this 'shop' you
> > > > could try using the Static Map API and embedding a image into the app.
> > > > I'm not that familiar with the image tools orAS2but its an idea.
>
> > > > On Mar 27, 6:42 pm, jedikalimero <[email protected]> wrote:
>
> > > > > I have a flash site that was developed inActionScript 2. the client
> > > > > now wants to include a Google Map with a map view of his shop, so you
> > > > > click on a botton labeled "location" and the map would appear in the
> > > > > site (not in another window/tab/page)
>
> > > > > Problem, evidently is Google Maps API only supports AS3. and loading
> > > > > an AS3 movie from anAS2movie will not work.
>
> > > > > Is there any way to solve this? (apart from rewriting the entire site
> > > > > in AS3, obviously)
>
> > > > > What if I make a simple AS3 movie that loads my currentAS2movie and
> > > > > then myAS2movie loads the Map AS3 movie or ask the base AS3 movie to
> > > > > load the map AS3 movie?
>
> > > > > What if I use the JavaScript API to overlay the map in a new HTML
> > > > > layer over the layer that contains the flash? (any example of how to?)
>
> > > > > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to