http://musoka.ax86.net/moto/moto.php
Clicking on portfolio, you’ll see that the images wont show up.
I tried viewing the same flash at different URLs(without subdomain, with www, etc) and nothing has worked.
Edit: I’ve noticed only 1 image loads, the fourth, shallowBay2…why I dont know though…
XML File
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>http://www.ax86.net/musoka/moto/images/wb/motodesign3.jpg</image>
<caption>motoDesign Fatima</caption>
<detail>Third unreleased design for motoDesign. Name Fatima, this was a Flash template that intertwined with a blog design.</detail>
</pic>
<pic>
<image>http://ax86.net/musoka/moto/images/wb/musokaStudios1.jpg</image>
<caption>musokaStudios</caption>
<detail>musokaStudios, a project before motoDesigns time. Flash experiment testing my abilities to create web templates with Flash.</detail>
</pic>
<pic>
<image>http://ax86.net/musoka/moto/images/wb/shallowBay1.jpg</image>
<caption>shallowBay</caption>
<detail>shallowBay, a personal blog(online). The design was for the Wordpress script and used a link into a new style of web design.</detail>
</pic>
<pic>
<image>http://ax86.net/musoka/moto/images/wb/shallowBay2-cocaCola.jpg</image>
<caption>shallowBay 2</caption>
<detail>Unreleased template for shallowBay, based off of a Japanese Coca Cola image.</detail>
</pic>
</images>
Actionscript
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
details = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
description* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
details* = xmlNode.childNodes*.childNodes[2].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("webdesign.xml");
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
detail_txt.text = details[0];
picture_num();
}
}
function chooseImage(p) {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
detail_txt.text = details[p];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}