Hey friends, I was wondering if anyone has experience working with the publishing process built-in to Adobe Flash CS3. I’m having a tricky problem that needs some expert diagnosis.
My site structure looks like this:
Root[INDENT]index.html
/images[INDENT]myimage1.jpg
myimage2.jpg
myimage3.jpg
…
[/INDENT]/swf[INDENT]myFile.fla
myData.xml
[/INDENT][/INDENT]If I open myFile.fla the project works great. The .fla reads that .xml file in the same directory, traverses the folders and gets the images. If I embed the same file in index.html it can’t find the images.
The XML
The xml contains the path to the images. Right now,
imgsrc="../images/myImage1.jpg"
is the value that works correctly with my .fla when I open it. It does not work when I embed that .fla in an HTML file located in the root directory. Neither does making the path relative to the site root
imgsrc="images/myImage1.jpg"
which I had expected to be my problem.
I believe this to be a problem with AC_RunActiveContent.js and the way the flash detection uses JavaScript, but I could be wrong.