# Flash works only when theres no www

**URL:** <https://forum.kirupa.com/t/flash-works-only-when-theres-no-www/262244>\
**Category:** flash\
**Created:** [June 4, 2008, 12:17pm UTC](https://forum.kirupa.com/t/flash-works-only-when-theres-no-www/262244 "2008-06-04T12:17:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![2\_C](https://avatars.discourse-cdn.com/v4/letter/2/9dc877/32.png) [@2\_C](https://forum.kirupa.com/u/2_C)\
**Post date:** [June 4, 2008, 12:17pm UTC](https://forum.kirupa.com/t/flash-works-only-when-theres-no-www/262244/1 "2008-06-04T12:17:22Z")

</div>

Hi.  
I’m working with the flash that downloads images which are specified in xml-file. And shows them on the defined place on the stage. Defined place has also a link on it and rotation effect. This works just fine in firefox.

But in ie(7), when I go direct to [http://www.site.com](http://www.site.com) (exsample) flash wont load images or the link wont work. But still the animation keeps rolling and rotating. And when opening [http://site.com](http://site.com) flash works just fine, also in IE. So the www makes the flash crash somehow in IE. What am I possible doing wrong? All the links are relative, loading the xml, image paths in xml file and the link in flash. Is it still possible that problem has something to with the paths?

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 4, 2008, 12:22pm UTC](https://forum.kirupa.com/t/flash-works-only-when-theres-no-www/262244/2 "2008-06-04T12:22:17Z")

</div>

don’t put www 😛

posting some code may help

---

<div class="post-metadata">

**Author:** ![2\_C](https://avatars.discourse-cdn.com/v4/letter/2/9dc877/32.png) [@2\_C](https://forum.kirupa.com/u/2_C)\
**Post date:** [June 4, 2008, 12:54pm UTC](https://forum.kirupa.com/t/flash-works-only-when-theres-no-www/262244/3 "2008-06-04T12:54:58Z")

</div>

loading xml file:

```auto
myShowXML.load("pictures.xml");

```

in the xml file:

```auto
<image url="images/home/1.gif"/>
...
<image url="images/private/2.gif"/>

```

and the link:

```auto
on(release){
    getURL("index.php?id=4&Itemid=5");
    }

```

Show works just fine in firefox with or without www. In IE only without www, with www pictures wont load or the link wont work, but animation keeps rotating.  
Animation is also made with as into same frame with other code. Link is in button symbol.  
I would really appreciate if the flash would work with and without www in the address bar.

---

<div class="post-metadata">

**Author:** ![unformatt](https://avatars.discourse-cdn.com/v4/letter/u/58956e/32.png) [@unformatt](https://forum.kirupa.com/u/unformatt)\
**Post date:** [June 4, 2008, 1:42pm UTC](https://forum.kirupa.com/t/flash-works-only-when-theres-no-www/262244/4 "2008-06-04T13:42:16Z")

</div>

Perhaps its a crossdomain.xml issue?

---

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [June 4, 2008, 3:28pm UTC](https://forum.kirupa.com/t/flash-works-only-when-theres-no-www/262244/5 "2008-06-04T15:28:33Z")

</div>

Sounds to me like a DNS issue with your url - not completely sure, but I’d check with your registrar/web host to see it that is the issue. I’ve had this issue in the past, basically, when flash was viewed without www, the server assumed it was hosted on a different server, thus requiring a crossdomain.xml file in order for flash to retrieve the data.

---

<div class="post-metadata">

**Author:** ![2\_C](https://avatars.discourse-cdn.com/v4/letter/2/9dc877/32.png) [@2\_C](https://forum.kirupa.com/u/2_C)\
**Post date:** [June 5, 2008, 10:49am UTC](https://forum.kirupa.com/t/flash-works-only-when-theres-no-www/262244/6 "2008-06-05T10:49:31Z")

</div>

Thanks! Problem solved!
