I loose 1 day and still did not find the BUG! help

I have a site where I use a lot of load movie - external files from the same domain.
When I use http://www.domain.com the site works perfect
When I use http://domain.com I have problems loading some of the files.
I used System.security.allowDomain but nothing works.
:cantlook: