Elxis CMS Forum
Support => Technical support => Topic started by: ROUBOS on October 23, 2009, 21:28:03
-
Hi,
I have created a flash header banner for my site, using xml to read images files and load them.
When I add this to my index.php, it does not display the flash.
Do I need to do something more than writing the files names in the templateDetails.xml file?
How do I embed the .swf flash banner?
thanks
-
fix the path's to absolute
-
my flash file is at the same level with the index.php file.
this is how i embed it:
ok added the files.. and it now does not run because it says in a popup message that : "This page requires AC_RunActiveContent.js."
I do have that file there....
-
do i need a flash module to be installed or something?
-
ok added the files.. and it now does not run because it says in a popup message that : "This page requires AC_RunActiveContent.js."
google it and you will find that file... is widely available...
look at your object tag .. to see where you must place it.
-
OK thanks.
I managed to get it to play by adding: <?php echo $mosConfig_live_site; ?>/templates/mytamplate/ to the path of the files.
problem is that it does not load the xml file to load the images for my ActionScript3 slideshow.
Do I need to edit the ActionScript 3 to access the files using this path: <?php echo $mosConfig_live_site; ?>/templates/mytamplate/ ????????????????
-
i don't think that actionscript will parse this <?php echo $mosConfig_live_site; ?>
write the full url or a relative path
../templates... etc
./templates...etc
templates.. etc
depending where is the action script placed
-
As I say above, use absolute paths, don't use php inside the flash or xml.
-
On your xml file. :
http://www.mysite.com/templates/itselxis3/headimage/image1.jpg
...
http://www.mysite.com/templates/itselxis3/headimage/image2.jpg
....
etc.
headimage = the folder which you uploaded the images.