Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-13 20:19:11

mfos
Member
Registered: 2008-12-11
Posts: 34

Flash movie gallery using XML

Hi,
I have a Flash movie gallery which has an absolute path to its XML file in the movie itself, which in turn contains the paths to the images. When testing in textpattern the images transition in and out fine, but when I host it on a server the transitions seem to break with the images suddenly appearing and disappearing. You can see an example here: http://www.lightbulb-moment.com/dale. Each image should fade in and out, you should get the idea.
I’ve used Kimili’s flash embed plugin but even without it the problem still occurs. The paths in the XML file are absolute to avoid any issues.

I have this Flash gallery on another site and don’t have the problem so i guess its because i’m running the site through TXP and somehow its messing with the XML file or something else.

Tried all sorts to resolve this. Any ideas?

Cheers
mike

Offline

#2 2008-12-13 21:37:35

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Flash movie gallery using XML

Try smd_gallery – it can output any info about image


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#3 2008-12-14 16:56:56

mfos
Member
Registered: 2008-12-11
Posts: 34

Re: Flash movie gallery using XML

A useful plugin but not one that can help me I think. I need to use this Flash Gallery in the site.
Have you come across a similar problem with Flash gallery SWFs and external linked XML files?

I can’t see a reason why my Flash gallery doesn’t work. Will creating the XML file in textpattern help perhaps?

Cheers
Mike

Offline

#4 2008-12-14 18:46:52

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: Flash movie gallery using XML

Looks like it’s working to me, but I don’t see an XML file getting called (via NET console).

Also, you have an error in the javascript. You’re calling swfobject in the page, but haven’t linked to the swfobject library.

And….dreamweaver? Seriously?

Offline

#5 2008-12-15 10:20:51

mfos
Member
Registered: 2008-12-11
Posts: 34

Re: Flash movie gallery using XML

Hi,
Flash is working to an extent and is calling the images but they are not displaying as they should and as described previously.
Unsure what you mean when you say i’m calling the swfobject but haven’t linked to the swfobject library.

Dreamweaver – I use it for code view only. It shouldn’t be adding any of its messy code in my pages!

Offline

#6 2008-12-15 21:24:22

mfos
Member
Registered: 2008-12-11
Posts: 34

Re: Flash movie gallery using XML

Okay, I’ve done some testing.

I’ve embedded the flash movie outside of TXP and it works as it should. I think now for sure that TXP is affecting the flash playback and the call to the XML file. Its dumping the images too soon for when the next image is called, there should be a transition.
This is what it should look like:
www.reddonkey.co.uk/dale/holding/test1.php

and this is what it looks like in TXP
www.reddonkey.co.uk/dale

The Kimili Flash plugin doesn’t affect the problem as I’ve tried without it.

So, has anyone come across this type of issue before? As I have mentioned before, I am running the exact same setup locally and there are no problems. Its only when i move it online ( and I have tried it on 2 different hosts).

Help please, I am on the verge of destruction with this.

Cheers
Mike

Offline

#7 2008-12-15 22:34:10

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Flash movie gallery using XML

So it’s going white between images instead of transitioning from one to the other? Is the XML the same?

EDIT: Even when I go directly to the swf url I see the same problem.

Last edited by MattD (2008-12-15 22:35:39)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#8 2008-12-16 09:51:22

mfos
Member
Registered: 2008-12-11
Posts: 34

Re: Flash movie gallery using XML

Matt, yes it is going white between the images instead if transitioning from one to the other. The XML file is the same for the 2 swfs.

Offline

#9 2008-12-16 17:14:46

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: Flash movie gallery using XML

mfos

The two pages you’re pointing two use two completely different embed methods. The /dale/ is using js, the /dale/holding/test1.php is using a head-linked swfobject embed that you have targeting an “object” tag (wrong – target a div).

Ensure that your two setups are the same (they should be) and that your test1.php setup is symantically correct.

Do this:

swfobject.registerObject("flashcontent", "9.0.0");

And then delete the object you have hardcoded into the html of your test1.php page.

Also, consider fixing the double-called swfobject (as I mentioned before) in your textpattern use-case.

I used firebug (a firefox plugin) and Charles (a proxied connection debugger…great for use with flash) to gain more information regarding your setup.

Offline

#10 2008-12-17 09:50:57

mfos
Member
Registered: 2008-12-11
Posts: 34

Re: Flash movie gallery using XML

Hi,
Both now have the same code, but the flash movie is now not showing. I have used the swfobject code generator to provide the code I need so it should be working. No errors in firebug that I can see.

Can you explain what you mean by removing the object I hardcoded? According to swfobject docs it doesn’t say anything about this.
If I set the ID as you say to the same as my div, it doesn’t work.

I think I am going mad.

Offline

#11 2009-01-07 11:18:17

mfos
Member
Registered: 2008-12-11
Posts: 34

Re: Flash movie gallery using XML

Hi,

Could anyone still help me with the problem I have. Can’t seem to progress with it and the issues I have with the Flash is still happening.

Cheers
m

Offline

Board footer

Powered by FluxBB