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: [email protected]
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('<?= $base ?>/core_holder.swf', 'website', '100%',
'100%', '8', '#000000');
(...)
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.
_______________________________________________
[email protected]
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
 

_______________________________________________
[email protected]
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

Reply via email to