Hallo Klaus,
wir hatten kurz schon per Mail kommuniziert. Wie du vorhergesagt hast, tut auch die neue swf nichts zur Sache. Der Fehler bleibt ...
Hier nochmal die relevanten Codefragmente:
Code
<plugin name="googlemaps"
url="%SWFPATH%/plugins/googlemaps.swf"
...
onloaded="googlemaps-set-active-spot();"
onmapmoved=""
onmapready=""
onmapzoomed="pan_to_activespot();"
...
>
... Zoomcontrol, ..., spots, ...
</plugin>
<action name="googlemaps-set-active-spot">
debug(3,"action", %0, get(parObjectGroup), get(parObject));
txtadd(varSpotName, "plugin[googlemaps].spot[", get(parObjectGroup), "-", get(parObject), "].active");
debug(5,"varSpotName", get(varSpotName));
set(get(varSpotName), true);
pan_to_activespot();
</action>
<action name="pan_to_activespot">
debug(3,"action", %0, %1);
if(%1 != next, set(i,0));
if(plugin[googlemaps].spot[%i].active == true,
plugin[googlemaps].pantospot(get(plugin[googlemaps].spot[%i].name));
,
inc(i);
if(i LT plugin[googlemaps].spot.count, pan_to_activespot(next));
);
</action>
Display More
Beim Ausführen (vermutlich aus der action googlemaps-set-active-spot) wird dann die Warnung "WARNING:unknown action command: plugin[googlemaps].pantospot" angezeigt.
EDIT: Interessant ist, dass die action anscheinend dann später doch funktioniert. Wenn ich nämlich dann auf die Zoombuttons klicke, wird der aktive Spot zentriert ...
Ich komm einfach nicht drauf, was noch falsch sein könnte ...
Vielen Dank für jede Hilfe!
Viele Grüße
Sepp