flash xml issue

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
bze306
New Member
New Member
Posts: 3
Joined: Mon Feb 18, 2008 2:36 pm

flash xml issue

Post by bze306 »

I am new to cmsms. Currently using it on our intranet site.  I am a well experienced flash developer so I am use to creating slideshows using external xml files.  I created a slideshow that works great as long as I am not using the cmsms system.  The slideshow is embedded in the the banner on the template I am using.  The flash banner comes up but the slides don't show up because for some reason it can't find the xml file.  I put the xml file in the same directory as the flash file.  There are no paths to it so it should work fine.  Any ideas of what I am doing wrong.  Maybe a cmsms experienced person can quickly explain the steps for flash and xml files.  Do I need to include any code in the template so flash will see the xml file?  Any help would be greatly appreciated as this project is running late.

Thanks
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Re: flash xml issue

Post by tomgsd »

You shouldn't need to do anything differently when embedding your flash in a CMS MS template.

You say you put the xml in the same directory as the flash file.  Im assuming that this is in a folder somewhere (eg, uploads/) and not in the root directory.

Flash reads the XML from the location it is embedded not saved (ie, from the index.php file in the site root) so you would need to change your xml path in the flash file to something like "[yourdirectory]/banner.xml" rather than just "banner.xml".

Hope this helps.

Tom
Green Sheep Design Ltd. - www.greensheep.co.uk
bze306
New Member
New Member
Posts: 3
Joined: Mon Feb 18, 2008 2:36 pm

Re: flash xml issue

Post by bze306 »

Thanks for the reply.. I figured it out the same day I posted this but forgot to update the post.  You confirmed what I found out.  I looked at the path and dermined it had to be root.  Everything is working great.  What an awesome system.

Thanks again
Post Reply

Return to “Developers Discussion”