amMap support forum

You are not logged in.

Announcement

FORUM CLOSED! This forum is closed. We moved to a new place at Zendesk. Update your bookmarks.

Flash amMap: Help


  • Index
  •  » Help
  •  » Using Ammap without Javascript

#1 2008-04-16 06:26:34

tommyd
Member

Using Ammap without Javascript

Hi
Im trying to use Ammap for a Facebook application without Javascript - i read another post in this forum that suggests appending the url of the data file and the settings file so i end up with something like this:

<fb:swf swfsrc="http://myurl/ammap/ammap/ammap.swf?data_file=http://myurl/ammap/ammap/ammap_data.xml&settings_file=http://myurl/ammap/ammap/ammap_settings.xml" width="590" height="400"></fb:swf>

I also set the map_file setting in the datafile to: map_file="http://myurl/ammap/ammap/maps/world.swf"

I get the map to show in my application but it seems to ignore the settings file as the colours are not right for the map!

anyone got any ideas???

regards
Tom

Offline

 

#2 2008-04-16 13:09:37

klous-1
Member

Re: Using Ammap without Javascript

You could try changing the & for &amps; just a guess.

So;

<fb:swf swfsrc="http://myurl/ammap/ammap/ammap.swf?data_file=http://myurl/ammap/ammap/ammap_data.xml&amps;settings_file=http://myurl/ammap/ammap/ammap_settings.xml" width="590" height="400"></fb:swf>

Offline

 

#3 2008-04-17 05:44:36

tommyd
Member

Re: Using Ammap without Javascript

Hi
Ok I figured that out - I was missing the 'www' part (stupid mistake).
however this now brings me to another problem. the background colour setting for the main map is being ignored - is it possible to pass this setting along with the location for the settings and data file??? The small map background colour setting is fine!

regards
Tom

Offline

 

#4 2008-04-17 09:23:26

marcelionis
Administrator

Re: Using Ammap without Javascript

check whether your background alpha is set to 100, as the default is 0

Offline

 

#5 2008-04-17 09:45:39

tommyd
Member

Re: Using Ammap without Javascript

Hi
Cheers for the reply.
I changed the background colour settings->background->color in the settings file but it changes the background of the small map??? Am i doing something stupid - where the setting for the main part of the map?

Regards
Tom

Offline

 

#6 2008-04-19 11:31:53

marcelionis
Administrator

Re: Using Ammap without Javascript

Yes, this is right place for changing color.
However, check whether alpha (opacity) is set to 100:

<background>
  <alpha>100</alpha>

as by default the background opacity is 0. That's why you can't see the changes.

Offline

 

#7 2008-04-20 03:03:21

tommyd
Member

Re: Using Ammap without Javascript

Hi
Thanks for that - it seems to have worked. When i get set up I will be purchasing the license.

regards
Tom

Offline

 
  • Index
  •  » Help
  •  » Using Ammap without Javascript

© amMap & amCharts | Forum engine: PunBB