Re: [Flashcoders] Problem with trackEvents in Flash

2009-12-28 Thread Andrei Thomaz
don't forget to check this: http://code.google.com/p/gaforflash/ []'s andrei On Mon, Dec 28, 2009 at 8:13 PM, Karl DeSaulniers wrote: > Cool. Just checking. Since you had everything else URL encoded, I thought > it might be getting cut off because of that s

Re: [Flashcoders] Problem with trackEvents in Flash

2009-12-28 Thread Karl DeSaulniers
Cool. Just checking. Since you had everything else URL encoded, I thought it might be getting cut off because of that space. Not completeing the full string. GL Karl Sent from losPhone On Dec 28, 2009, at 3:59 PM, "John R. Sweeney Jr" > wrote: Thanks, but I just copied this snipet from th

Re: [Flashcoders] Problem with trackEvents in Flash

2009-12-28 Thread John R. Sweeney Jr
Thanks, but I just copied this snipet from the web. My code had the registry number and domain, so I just used this example from GA. Thanks anyway, John on 12/28/09 3:23 PM, Karl DeSaulniers at k...@designdrumm.com wrote: >> > I am not sure if this is the issue, but did you mean to not URL en

Re: [Flashcoders] Problem with trackEvents in Flash

2009-12-28 Thread Karl DeSaulniers
I am not sure if this is the issue, but did you mean to not URL encode the space in this line? "%3Cscript src=" unescape("%3Cscript src='" + gaJsHost + Karl Sent from losPhone On Dec 28, 2009, at 9:48 AM, "John R. Sweeney Jr" > wrote: Howdy all, Hope everyone had a great holiday. M

Re: [Flashcoders] Problem with trackEvents in Flash

2009-12-28 Thread Glen Pike
Hi, I had some AS2 which used the "old style" urchinTracker code - it just did this: getURL("javascript:urchinTracker('/sas/flashbuttons/" + pName +"');"); So guessing you could wrap your pageTracker.trackPageView in a function like I did for the AS3 code and call that from your get

Re: [Flashcoders] Problem with trackEvents in Flash

2009-12-28 Thread John R. Sweeney Jr
I'll try a variant of this (this is written in AS2), but the first problem I had was the catch that wrapped the pageView. On the PC side, it would change the html page (which held my app) to a blank page with the word TRUE and the URL was my trackEvent string. That is what started me on this quest

Re: [Flashcoders] Problem with trackEvents in Flash

2009-12-28 Thread Glen Pike
Hi, I had some problems with this, particularly with Internet Explorer - here is my code that worked, although someone complained about errors in IE7 or 8 about _gat being undefined - I guess you can hide these with a try / catch block, but then it would be nice to know how to fix because pe

[Flashcoders] Problem with trackEvents in Flash

2009-12-28 Thread John R. Sweeney Jr
Howdy all, Hope everyone had a great holiday. My client wanted me to incorporate Google Analytics - Event tracking. Based on what they supplied me and what I've read on GA, I've incorporated these calls through out my program: --- GetURL("javascript:pageTracker._trackEvent('Videos', 'Play', 'Gone

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Glen Pike
Hi, If you check your URL for the 404 error you will see that it has probably not redirected - you probably see the original url you typed in (unless you specify a full "http://"; path in your .htaccess for the 404) - this means that the webserver has "printed" your 404 page for that URL s

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Kenneth Kawamoto
When you view your 404 page as non existing page www.mysite.com/bla.html, relative URLs in your 404 HTML are treated as relative to bla.html Kenneth Kawamoto http://www.materiaprima.co.uk/ Cor wrote: Thanks for replying! No, I solved it with the help of Henrik by using BASE in my head sectio

RE: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Cor
Yes, I "think" I understand the HTML view. But my brain-issue now is that I don't understand that the 404.html is called correctly and THIS has the swf embedded in him. So where am I going wrong on this? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashco

RE: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Cor
Thanks for replying! No, I solved it with the help of Henrik by using BASE in my head section of the 404.html. I don’t understand why it would need /errorPages/404.swf because the 404.html is at the same place as the swf. My thought is that my .htaccess calls the /errorPages/404.html, regardles

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Henrik Andersson
Cor wrote: You are assuming that the location has "404.html" in it, that is not correct. The location is the location that you entered in the browser, the location that did not exist. This doesn't make sence to me. When I enter a wrong address, the .htaccess reroutes me to the 404.html correctl

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Kenneth Kawamoto
Is your embedding URL to your SWF in your 404.html specified as site-root relative? i.e. /errorPages/your.swf Kenneth Kawamoto http://www.materiaprima.co.uk/ Cor wrote: Hi List, I don't know if this is cross-posting, if so I apologize. I have this in my .htaccess: ErrorDocument 404 /errorPa

RE: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Cor
Basic list etiquette: reply only to the "Reply-to:" address. I didn't know that. I apologize!!! You are assuming that the location has "404.html" in it, that is not correct. The location is the location that you entered in the browser, the location that did not exist. This doesn't make sence t

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Henrik Andersson
Cor wrote: Hi Henrik, Thanks for replying. I don't completely understand what you are writing. The swf is at the same location as the 404.html. And I don't know what the base element is? Kind regards Cor van Dooren Basic list etiquette: reply only to the "Reply-to:" address. You are assum

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Henrik Andersson
You did not account for relative urls. The swf url is relative to the embeding html page. And that is not in the right folder. In conclusion, fix the url. I recommend the base element, it let's just override what the urls are relative to. Other options include using an absolute url. _

Re: [Flashcoders] Loading and resizing images despite wrong crossdomain.xml

2009-12-28 Thread Greg Ligierko
Alexander, I don't know if your question is still up-to-date. I do not have much experience in AS3 external content loading, but this should be similar to AS2.0 You can load any images without any security grants from any domain you like. The restriction is added to objects that are related

[Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Cor
Hi List, I don't know if this is cross-posting, if so I apologize. I have this in my .htaccess: ErrorDocument 404 /errorPages/404.html The 404.html and the 404.swf is on my site in the directory errorPages. When I type in the url: www.mysite.com/errorPages/404.html is runs as expected. But when