Vague, xml, flash website help.

Soldato
Joined
18 Oct 2002
Posts
10,245
Hey guys, I bought a template of of activeden, and thought everything was fine as it work ok for me on my laptop, and my work computer. However that seems to be the only places it does work.

I know this will be very vague as I don't know enough about xml or flash to explain my problem (and i have emailed the guy who made it, but he has got back to me yet)
Basically its an xml driven flash website. I load the mini picture versions and large versions into an images folder and add their names into the xml file and they get added to my gallery page.
However, although it works when publishing in flash and even on my laptop after wiping the cache too. It doesnt work for others.
www.danielbraithwaite.com
I have checked the xml name, and if its correct in the actions layer in the fla, and its all fine. What I do not understand is why it will work in two unrelated places, but not in almost all others.
does anyone know a common or problem with as2 or flash 9 that might cause this.
 
Seems to work fine here?

What's the problem you're having. My guess if it works locally, but not remotely is that there's a relative URL somewhere which you need to make absolute.
 
Seems to work fine here?

What's the problem you're having. My guess if it works locally, but not remotely is that there's a relative URL somewhere which you need to make absolute.

If you go to the design or retouching menus, do the images load, or do they sit there on the loading spinner.
 
Works on Firefox, but not Chrome for me - gets the spinning icons but no images.

Yeah that seems to be a reoccuring problem across a few browsers. I cannot work out what the cause is.
It is happening on different browsers, even when tested on a newly updated flash version.

I dont understand enough about xml to work out if I have messed it up when editing it, or havent published it correctly in flash.
 
No there not, its set into a data folder, which itself contains an swf, xml, image, video, sound folders. Whats can I Google to find about that.

They are on the same domain then not on a separate subdomain? If they are all under the same domain it wont be the security sandbox :(
 
They are on the same domain then not on a separate subdomain? If they are all under the same domain it wont be the security sandbox :(

I'm not entirely sure, what you mean. I bought webhosting which has two domain names (urls?) linked to separate main folders. (one for me and one for the misses site) Would that cause this?
 
Basically if your site is on www.abc.com and you try to load in images from www.xyz.com, the image loads would fail unless you specify to allow the sandbox to process the external data. Its basically something they made to stop malicious stuff being able to be loaded at will, but it also can apply to subdomains so wibble.abc.com might not be able to load data from wobble.abc.com

Whats the direct URL to one of the images and the direct URL to the swf that they load into?
 
Last edited:
Not sure, because the webspace was bought with my misses url first and my domain name linked to it, they could be different. Is there a way to turn it off.
Sound promising, but wouldnt it not work at all, rather than intermediately?

Really appreciate your help though, as I've been sending this out on cv's. Ooopps. :)

edit//// having checked my webhosting, the main domain for all the files is my gf's url. i am a sub domain, like this danielbraithwaite.katemongerphotography.co.uk, however all files are kept within this subdomain.
I dont really get it, so im sorry for being thick.
 
Last edited:
Well, packet sniffing has shown that when my flash in chrome requests the images, it gets a 403 forbidden error from the server. Firefox does not.
The only difference was that in the GET request for the image, chrome sent a referer of "http://www.danielbraithwaite.com/index.swf" and firefox did not.
Forging referers shows that your server rejects requests to any image files if there is a referer line in the request.

Long story short? Someone goofed the server settings.
My guess is that 'hotlink protection' has been turned on but not configured suitably.
 
Well, packet sniffing has shown that when my flash in chrome requests the images, it gets a 403 forbidden error from the server. Firefox does not.
The only difference was that in the GET request for the image, chrome sent a referer of "http://www.danielbraithwaite.com/index.swf" and firefox did not.
Forging referers shows that your server rejects requests to any image files if there is a referer line in the request.

Long story short? Someone goofed the server settings.
My guess is that 'hotlink protection' has been turned on but not configured suitably.

Ok thanks, I have disabled it on my server, Il check later.
Thanks for the information.

/// You sir are a genius, it has solved it. Thankyou very much.
 
Last edited:
Back
Top Bottom