Jump to content

phil2564

New Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

phil2564's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Is there away to have this $fn = $gn . "/a.jpg"; Be either JPG or SWF depending what I put in that particular folder it will display. SO if there is a a.jpg t will display that or if there is a a.swf it will display that.
  2. Below the block of code gets the (a.jpg) image out of the models folder so it can be displayed. I would like to be able to have a (a.swf) file in the folder also and if the(.swf) is in the folder it will use that file instead of the (.jpg). $fn = $gn . "/a.jpg"; if (file_exists($fn)) { $ja = "|csaction name=\"D61562B272\" class=\"Set Image URL\" type=\"onevent\" val0=\""; $ja = $ja . $gn . "\" val1=\"" . $gn . "/a.jpg\">"; $j1 = $j1 . "CSAct[/*CMP*/ 'D61562B272'] = new Array(CSSetImageURL,/*CMP*/ '"; $j1 = $j1 . $gn . "',/*URL*/ '" . $fn . "')\n\r"; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.