[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

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

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] 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

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 to

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

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

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,

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

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

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 so

[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] 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

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

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 jr.swee...@comcast.net wrote: Thanks, but I just

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 http://code.google.com/p/gaforflash/ On Mon, Dec 28, 2009 at 8:13 PM, Karl DeSaulniers k...@designdrumm.comwrote: Cool. Just checking. Since you had everything else URL encoded, I thought it might be getting cut off