Closed GoogleCodeExporter closed 9 years ago
Three questions:
1. What makes you think this is a SWFObject related bug (and not a web
authoring or
Google maps related issue)?
2. Why didn't you use the latest available library version?
3. Do you have an online test page available?
Original comment by bobbyvandersluis
on 10 Mar 2008 at 12:54
Hi,
3.Here is an Online example:
http://www.masterfoot.pt/page/localizacao
2.I've already tried the latest version (on localhost) an the result is the
same.
1.The fact that there isn't any javascript error, that google maps works, that
on
firefox it all works, and that the swfobject is used on the layout only and on
other
pages that don't have google maps, it works fine.
It lead me to think that the problem is restricted to the interaction between
google
maps and swfobject. (because google maps is the only different thing on this
page
regarding the others).
Any help ?
Original comment by tiago.ca...@gmail.com
on 10 Mar 2008 at 1:58
[deleted comment]
Ok, problem solved :D
I've putted the script just before </body> instead of the recommended </header>
and
it works fine now.
Probably google maps scripting messes something up on the DOM scope.
Either way, maybe this should be looked more deeply, as google maps isn't going
to
change that soon (maybe) and it should work fine with this GREAT library.
Thanks.
Original comment by tiago.ca...@gmail.com
on 10 Mar 2008 at 2:10
Cool, great you found a solution :-)
SWFObject 2.0 is built in such way that it shouldn't mess with any other
JavaScript
functionality on a page, e.g. everything is name-spaced, onload events are not
overwritten, no use of constructs like Object.prototype, no excessive use of
timers.
Unfortunately this isn't always the case the other way around, so sometimes you
do
need to be a bit creative...
Original comment by bobbyvandersluis
on 10 Mar 2008 at 2:40
Original issue reported on code.google.com by
tiago.ca...@gmail.com
on 10 Mar 2008 at 12:41