Elxis CMS Forum

Support => Technical support => Topic started by: ROUBOS on October 23, 2009, 21:28:03

Title: adding flash header...
Post 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
Title: Re: adding flash header...
Post by: CREATIVE Options on October 23, 2009, 21:42:39
fix the path's to absolute
Title: Re: adding flash header...
Post by: ROUBOS on October 23, 2009, 22:30:10
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....
Title: Re: adding flash header...
Post by: ROUBOS on October 23, 2009, 23:09:12
do i need a flash module to be installed or something?
Title: Re: adding flash header...
Post by: ks-net on October 24, 2009, 00:21:06
Quote
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.
Title: Re: adding flash header...
Post by: ROUBOS on October 24, 2009, 00:37:22
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/ ????????????????
Title: Re: adding flash header...
Post by: ks-net on October 24, 2009, 00:52:27
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
Title: Re: adding flash header...
Post by: CREATIVE Options on October 24, 2009, 01:02:57
As I say above, use absolute paths, don't use php inside the flash or xml.

Title: Re: adding flash header...
Post by: webgift on October 24, 2009, 11:10:18
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.