Hey,

You can find the current domain in javascript by looking at the
'document.domain' variable.

So you should be able to write something like:

if (document.domain == 'my.domain.com') {
  // Create the output with the key for my.domain.com
} else {
  // Create the output for the other domain
}

// Write the output.


Hope this helps

- Luke

On Tue, Apr 27, 2010 at 12:47 PM, Giannis <[email protected]> wrote:

> Anyone knows the javascript script that i will be able to use for the
> flash google map into 2 domains?
>
> --
> 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]<google-maps-api-for-flash%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
>

-- 
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