Flash Gallery

38 posts by 3 authors in: Forums > CMS Builder
Last Post: April 29, 2010   (RSS)

Re: [kcmedia] Flash Gallery

By Toledoh - April 17, 2010

Have a look at http://www.interactivetools.com/docs/cmsbuilder/rss_feeds.html It's basically the same thing.
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] Flash Gallery

By KCMedia - April 20, 2010

Hi Thanks for that but it didnt work.

Here is the XML document that came with the script this will show up on all pages so all i need to be able to do is write to the xml file so that the images are being imbeded into the xml document.

I hope someone can help as this is my last hurdle before turning the site live.

I have setup a multi section so the client can upload images set to the right side so all i need to do is write the image url to the xml file and the rest will be hard coded by myself.
Thanks



Craig

KC Media Solutions

www.kcmedia.biz
Attachments:

config.xml 3K

Re: [kcmedia] Flash Gallery

By Toledoh - April 20, 2010

Hey there.

Can you upload the rss.xml.php file you created that didn't work?

Basically - you have to start the file with:
<?php header('Content-type: application/xml; charset=utf-8'); ?><?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>

Then, the file specific code... ie.
<settings>
&#8722;
<auto_play>
<defaults symbol="circular" time="6"/>
<defaults/>
<tweenIn x="500" y="90" width="45" height="45" tint="0x000000"/>
<tweenOut/>
<tweenOver/>
</auto_play>
&#8722;
<prev_symbol>
<tweenOut x="20" y="230" tint="0x000000"/>
<tweenIn x="20" y="230" tint="0x000000"/>
<defaults x="20" y="230" type="3" tint="0x000000" time="8"/>
<tweenOver x="20" y="230" tint="0x000000"/>
</prev_symbol>
&#8722;
<next_symbol>
<tweenOut x="40" y="230" tint="0x000000"/>
<tweenIn x="40" y="230" tint="0x000000"/>
<defaults x="40" y="230" type="3" tint="0x000000" time="8"/>
<tweenOver x="40" y="230" tint="0x000000"/>
</next_symbol>
</settings>
&#8722;
<slides>

Then your repeating listing... ie <?php foreach ($newsRecords as $record): ?> ....

Then close ie. </slides>
</cu3er>

Hope that helps.
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] Flash Gallery

By KCMedia - April 20, 2010

I think the issue is i cant call the xml file any other name than config.xml because the flash app is set to read that file name only.

I dont have the source of the flash so i can edit it.
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] Flash Gallery

By Toledoh - April 20, 2010

From my understanding, you can name it anything you like - it's the formating of the file that is important. I have a bunch of projects with flash reading XML, however I try to steer clear these days and use jQuery etc as I find it is more user friendly from the coding to the viewing of the finished product.

Maybe show us what you are trying to achieve and we can help - or send me a PM if you want to discuss outside of this forum.
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] Flash Gallery

By KCMedia - April 21, 2010

Hi

After working with Tim today "thanks for your time" we still havnt been able to get this working.

I have attached the xml doucment and also the index page.

Could someone please help me out.

One major issue is that the xml fle must stay as config.xml for it to work.
Thanks



Craig

KC Media Solutions

www.kcmedia.biz
Attachments:

config-xml.php 3K

index_012.php 32K

Re: [kcmedia] Flash Gallery

By KCMedia - April 22, 2010

Anyone able to help this is getting urgent now.[:/]
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] Flash Gallery

By KCMedia - April 23, 2010

bump [crazy]
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] Flash Gallery

By Dave - April 23, 2010

Hi kcmedia,

It looks like you have a stray <?php endif ?> in config.xml.php, you'll want to remove that if you are getting an error.

Next, you'll need to either specify a path to the .xml.php file, or redirect requests for .xml to .xml.php

Here's docs on specifying a path to an .xml file: http://www.progressivered.com/cu3er/docs/embedding.html

And here's some code you can put in an .htaccess file to transparently redirect config.xml to config.xml.php:
RewriteEngine on
RewriteRule config.xml$ /config.xml.php [L]


There may be other issues remaining to resolve, but that's how you can handle those existing ones.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com