Re: [Flashcoders] IE6: javascript issues w. events calling: getURL/SWFAddress/Object
Combining ExternalInterface with getURL is problematic for IE, especially in the SWFAddress case. Check out http://www.asual.com/blog/swfaddress/2007/05/18/swfaddress-bad-practices.html SWFAddress 1.1 has a build-in Analytics tracking support. You can also download the current development version from the Sourceforge.net repository, it has a few helpers for actions like window.open(). On 5/31/07, sebastian chedal <[EMAIL PROTECTED]> wrote: Hello, I'm having problems with IE6 and getURL calling javascript code: getURL ("javascript:void(urchinTracker('"+__newURL.parameters.myURL+"'));");//google analytics makes IE6 open a new window and puts the words: javascript:void(urchinTracker('path/file')); in the url bar! a pop up throws errors too [run time errors] when i use: window.open (...); I've tried adding void to the js command. My getURL's are always called from event handlers, not buttons [as I need to catch user activity]. I'm using SWFObject/Address and there I added: var so = new SWFObject('/core_holder.swf', 'website', '100%', '100%', '8', '#00'); (...) so.addParam('allowScriptAccess', 'true'); To the code; but the error persists! Has anyone seen this problem before??? I'm building in flash 8, it works fine on safari, firefox and ie7+ problem is urgent! thanks!!! sebastian. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Asual - open software that pushes the limits http://www.asual.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] IE6: javascript issues w. events calling: getURL/SWFAddress/Object
Have you tried using ExternalInterface (Flash 8 ) ? import flash.external.* ExternalInterface.call("urchinTracker",__newURL.parameters.myURL); contrary to getURL, ExternalInterface shouldn't write the javascript call to the address bar but call the javascript function directly. This might be your issue there. HTH Alain -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sebastian chedal Sent: 31 mai 2007 12:25 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] IE6: javascript issues w. events calling: getURL/SWFAddress/Object Hello, I'm having problems with IE6 and getURL calling javascript code: getURL ("javascript:void(urchinTracker('"+__newURL.parameters.myURL+"'));");//googl e analytics makes IE6 open a new window and puts the words: javascript:void(urchinTracker('path/file')); in the url bar! a pop up throws errors too [run time errors] when i use: window.open (...); I've tried adding void to the js command. My getURL's are always called from event handlers, not buttons [as I need to catch user activity]. I'm using SWFObject/Address and there I added: var so = new SWFObject('/core_holder.swf', 'website', '100%', '100%', '8', '#00'); (...) so.addParam('allowScriptAccess', 'true'); To the code; but the error persists! Has anyone seen this problem before??? I'm building in flash 8, it works fine on safari, firefox and ie7+ problem is urgent! thanks!!! sebastian. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.4/825 - Release Date: 2007-05-30 15:03 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.4/825 - Release Date: 2007-05-30 15:03 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] IE6: javascript issues w. events calling: getURL/SWFAddress/Object
Hello, I'm having problems with IE6 and getURL calling javascript code: getURL ("javascript:void(urchinTracker('"+__newURL.parameters.myURL+"'));");//google analytics makes IE6 open a new window and puts the words: javascript:void(urchinTracker('path/file')); in the url bar! a pop up throws errors too [run time errors] when i use: window.open (...); I've tried adding void to the js command. My getURL's are always called from event handlers, not buttons [as I need to catch user activity]. I'm using SWFObject/Address and there I added: var so = new SWFObject('/core_holder.swf', 'website', '100%', '100%', '8', '#00'); (...) so.addParam('allowScriptAccess', 'true'); To the code; but the error persists! Has anyone seen this problem before??? I'm building in flash 8, it works fine on safari, firefox and ie7+ problem is urgent! thanks!!! sebastian. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com