Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / June 2008



Tip: Looking for answers? Try searching our database.

Publishing Path Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Giga Dre - 04 Jun 2008 20:06 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.