# Flash not working correctly in my browser

**URL:** <https://forum.kirupa.com/t/flash-not-working-correctly-in-my-browser/186318>\
**Category:** flash\
**Created:** [April 20, 2006, 2:54pm UTC](https://forum.kirupa.com/t/flash-not-working-correctly-in-my-browser/186318 "2006-04-20T14:54:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phmacomber](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@phmacomber](https://forum.kirupa.com/u/phmacomber)\
**Post date:** [April 20, 2006, 2:54pm UTC](https://forum.kirupa.com/t/flash-not-working-correctly-in-my-browser/186318/1 "2006-04-20T14:54:45Z")

</div>

I am very new to flash and have run into something I am not sure how to solve. I have a flash movie that is very much like XML Photo Gallery tutorial with a number of _enhancements_. It works perfectly fine when I test the movie; it loads the images, buttons work etc. When I embed view the flash movie in a web page and view it through a browser everything works **but the loading of the images**. It seems like a problem with how I am calling my xml file. I am not sure where I have gone wrong, any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![RabBell](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rabbell/32/340_2.png) [@RabBell](https://forum.kirupa.com/u/RabBell)\
**Post date:** [April 20, 2006, 3:29pm UTC](https://forum.kirupa.com/t/flash-not-working-correctly-in-my-browser/186318/2 "2006-04-20T15:29:21Z")

</div>

you say it works fine when testing in flash but not from in a browser?

did you try using Flash to output a HTML file when publishing then testing it?

I think it does sound like your flash file can’t find your xml file, if you’ve referenced it like this

my\_xml.load(‘myfile.xml’);

Then myfile.xml has to be in the same directory as the swf file.  
If this doesn’t work try placing your xml file on your hosting account (if you have one) and then calling the file as so

my\_xml.load(‘[http://www.mydomain.com/myfile.xml](http://www.mydomain.com/myfile.xml)’);

let us know it any of this helps :cool:

---

<div class="post-metadata">

**Author:** ![phmacomber](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@phmacomber](https://forum.kirupa.com/u/phmacomber)\
**Post date:** [April 20, 2006, 3:40pm UTC](https://forum.kirupa.com/t/flash-not-working-correctly-in-my-browser/186318/3 "2006-04-20T15:40:47Z")

</div>

I figured out the problem. At Some point I was messing around with a .htaccess file. Long story and still working on the solution to a totally different problem. Thank you for your help.
