Hi,
I am trying to wrap the getURL function in order to track outgoing
links using Google analytics...
e.g.
function getURLTracked(url, window, method) {
getURL(url, window);
getURL("javascript:alert('"+ url+"')");
//getURL("javascript:urchinTracker('/app/" + url +"');");
}
I would like to create a global function that is available to AS2
classes and the timeline
I have tried to write it in an external file and #include this file
in the constructor of my classes, but still don't get the function in
scope at compile time.
Apart from writing a method in my class, which I would have to
repeat for a few different classes, is there a way of making this
function available to the timeline and the AS2 classes in one foul swoop?
I have a core application and lots of loaded SWF's with nasty
timeline buttons to track...
Thanks
Glen
_______________________________________________
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