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
index.html
/images
myimage1.jpg
myimage2.jpg
myimage3.jpg
...
/swf
myFile.fla
myData.xml
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,
Code:
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
Code:
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.
The Feldkircher - 05 Jun 2008 08:24 GMT
Hi
Where is your .swf file?... your html wrapper won't work without it.