Yes. The flash file does embed it seems like, but the file does not
run. It is a blank space holder.(I can tell with using "menu:false/
true" parameter that it shows up) Almost like the file is hidden
behind something? Like I said, the file plays fine on the server
without the JavaScript code. I run other test swf without external
files within that code and they work great. Could it be a possible
server cache issue? I am using FF, IE6 and 8 to test.
Here are the relative paths from AS3 that play fine when the SWF is
launched on the server without SWFObject:
var myLoader3:Loader=new Loader();
myLoader3.load(new URLRequest("images/ltblbackgroundgrad.png"));
addChild(myLoader3);
setChildIndex(myLoader3, numChildren -4);
var myLoader2:Loader=new Loader();
myLoader2.load(new URLRequest("images/globe2.png"));
addChild(myLoader2);
setChildIndex(myLoader2, numChildren -3);
var myXML_loader:URLLoader = new URLLoader();
myXML_loader.load(new URLRequest("xml/gallery.xml"));
// NO XML CACHE HACK
// myXML_loader.load(new URLRequest("gallery.xml" + "?uniq=" + new Date
().getTime()));
myXML_loader.addEventListener(Event.COMPLETE, processXML);
var myLoader:Loader=new Loader();
myLoader.load(new URLRequest("images/hands.png"));
addChild(myLoader);
setChildIndex(myLoader, numChildren - 1);
Sample of the XML:
<?xml version="1.0" encoding="utf-8"?>
<menu WIDTH="322" HEIGHT="322" ALPHABUTTON="0" POSITION = "center"
buttonMargin = "0" redOffset = "0" greenOffset = "0" blueOffset = "0"
FilterColor= "0xFF6600">
<item
tween = "alpha" tweentime = "1.2" speed = "8000"
tweentimetext = "1.2" text = "Are you looking to have a new
website designed and developed? Need to have an out-of-date website
updated? We deliver professional service at an economical price..
Discover the range of products and services offered in our
portfolios." texturl = "- System Complete" textstat = "Here is my
Trademark" textstat2 = "TM" textfont = "Arial" textsize = "14"
textalign = "left" textvis = "true" textcolor = "0x003366" URL=""
path="images/globe2.png"/>
Thanks for helping with this. Been working on this for the past week.
*sigh*
On Dec 11, 10:50 pm, Aran Rhee <
aran.r...@gmail.com> wrote:
> I mean how are you referencing you XML file / images within AS3? Are they
> absolute paths likehttp://
some.com/xml/some.xml? or relative paths like
> > > >
http://groups.google.com/group/swfobject?hl=en.-Hide quoted text -