We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5393
    • 63 Posts
    Hi all:

    I follow one of the tutorial to set up a website in modx revolution. according to the tutorial, the file path is set up like that:

    assets/templates/myproject/images/index_icons_combined.gif

    here is the problem I face:

    I got a swf in my website and it is linked to a xml and a image folder to store images. however, the image inside the swf didn’t show up and only the loading animation inside the swf can. is it because I need to change the path of image inside the flash file as well?

    please please help me.

    thx
    ernest




      • 33968
      • 863 Posts
      I don’t use flash but this might not be a modx issue...

      Are you using TVs to store the image paths?
      Or is the flash file hard-coded into your template? If it’s hard-coded, you could just ensure all the paths are full urls.
        • 33997
        • 150 Posts
        If I remember correctly, if you change the file structure of the flash files, you need to change the url in the various files. Check and make sure the paths are correct for wherever the document is. Chunks should call the file from the path spot, CSS should call the file relatively for where the CSS is.
          "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
          • 5393
          • 63 Posts
          you guys are correct and I finally find a way to solve it.

          This is what I did: I find a old version of the fla file of that flash banner. I open this fla and change the link to the xml in actionscript. basically I use a full path instead of a relative path of the xml file. I export the file into swf and put it back to modx in my server. It works!

          thanks for you guys help!