I have a SLIDESHOW with external XML and a PLAYER.swf loading external FLVs by XML
All working but have a question regarding Drupal logic.

SLIDESHOW.XML is in /example.com/sites
photos.jpg are in -/example.com/sites
SLIDEAHOW.SWF is in -/example.com/sites/files
**********
PLAYER.XML is in-/example.com/sites
FLVs instead to be like photos(being the content to be loaded by XML) in /example.com/sites
ARE WITH PLAYER.SWF in /example.com/sites/files
************
QUESTION-what is the DRUPAL LOGIC in loading content in different ways

I'm using -PAGE- full HTML and below the code:

looking forward to an answer to improve my understanding of Drupal logic.Thanks

Comments

One more problem

Checked on Firefoox (WORKS) in (EXPLORER)the video page only loads the SWF deosn't connect to XML file, guess meaning THAT FOREFOX AND EXPLOERE READ CODE IN DIFFERENT WAY

<body>
<div class="wrap">
<div class="box">
<swf file="player.swf" width="550px" height="300px" >
</div>
<div class="boxtwo">
<swf file="albumal500.swf" width="500px" height="430px" >
</div>
</div>

What's the problem?Thanks

Are you using direct embedding with SWF Tools?

Resolving paths for flash files all depends on the location of index.php (your site root) and the base parameter (which tells flash how to resolve paths).

With the current SWF Tools in direct embedding mode there is a bug and the base parameter isn't passed to one of either OBJECT or EMBED. I can't recall which way round it is, but it means it affects one of Firefox and IE, but not the other.

If you are using direct embedding try changing to a javascript method and see if that helps.

This handbook page, althought not for SWF Tools, gives some background on how to work with flash and the base parameter with Drupal.
________

Just five more minutes...

www.stuartandnicola.com

________

Just five more minutes...

www.stuartandnicola.com

SWF tools

Thank you Stuart. Good question I have SWF TOOLS as an active module, with default set up and JS button on.The only thing I'm sure of, is that I have used -PAGE- for -CREATE CONTENT and the above code is the one I'm using presently. Index.php is in the main directory and i didn't touch it.Th PLAYER.swf I designed it myself in FLASH and set up the XML . All perfectly working in IE and FF in a normal environment . My problem is with Drupal not being knowledgeable of the Drupal Core System. I don't even know if is a path problem because i uploaded xml and swf in all possible directories with photos and still is not working . I even tried with using FLASH module in-CREATE CONTENT- that one doesn't even show sign of a flash movie. May be i'm going to use joomla and see is if that one works better. Thanks for your help

Try this combination...

i uploaded xml and swf in all possible directories

Put all the files (the swf loader, the xml, and the files called by the xml) in your Drupal files directory (e.g. /files).
Make sure your xml doesn't include any path data, only file names.
Make sure your swf doesn't add any path data when using loadMovie etc

SWF Tools defaults the base to your files directory, and that should mean flash can find everything it needs (provided you use a SWF Tools javascript method, and not direct embedding, because of the current SWF Tools bug)

And just check that you definitely activated the swf input filter. If it isn't active for the input format you're using then the swf tag won't be processed. I've got caught with filters I forgot to activate before :-)

________

Just five more minutes...

www.stuartandnicola.com

________

Just five more minutes...

www.stuartandnicola.com

SWF and XML

Thanks.I'll give it a try and post results.
**********************
Well after brain storming and tweaking XML, loading everything everywhere it works in FF not in IE. Regarding embedding SWFObject - Geoff Stearns - Missing
UFO - Bobby Van der Sluis - Missing- the JS are all missing . So I have used -Embed Flash Directly, don't use JavaScript replacement- and as I said it works in FF. I have to find out why I'm missing those JS programs.
Hopefully having those working is going to work on both browsers.
Last question I checked your site couldn't find an email , I started doing some work in Toronto and I have some questions about your drupal work consultancy.

Download JS separately

Because of licensing restrictions SWF Tools doesn't include the javascript packages. You have to download them separately and then activate the appropriate SWF Tools component.

For example, to use SWF Object download it from here, and then install the files under /modules/swftools/shared/swfobject. Then activate the SWF Object module under Administer > Site building > Modules.

Next, set this as your embedding method from Administer > SWF Tools > Embedding Settings > Javascript embedding. It should no longer show SWF Object as missing so you can activate it.

The base parameter is now properly supported and hopefully things will work under both IE and FF.

Alternative, try patching swftools.module to fix the missing base parameter.

Around line 430 in the module look for

<?php
$html
.= '<param name="align"   value="'. $P['align'] .'" />'."\n" ;
?>

and immediately after that add the line

<?php
$html
.= '<param name="base"   value="'. $P['base'] .'" />'."\n" ;
?>

Then see if things work with direct embedding. As a quick check I just "undid" this mod in my local copy of SWF Tools to check the outcome, and it breaks my content under IE but works under FF, so I am fairly sure your problem is due to this bug. I posted a bug report on this to the SWF Tools quite a while back, but unfortunately it's still open.

Hope this helps.

There's an SWF Tools Installation Guide here at drupal.org where people are sharing their experience and tricks! Might also be worth a look.

BTW - you can get in touch directly using my Drupal contact page.
________

Just five more minutes...

www.stuartandnicola.com

________

Just five more minutes...

www.stuartandnicola.com

swfobject1-5

I downloaded -SWFOBJECT 1.5 and uploaded as per your instructions still they show missing, so i tried to patch swftool.module couldn't find anything resembling

<?php
$html
.= '<param name="align"   value="'. $P['align'] .'" />'."\n" ;
?>

Below are files in swftools-module, which is the one to do the patch?
swftools.admin.inc
swftools_integrate.admin.inc
swftools_integrate
swftools_integrate (same ext.but different content)
Thanks Stuart.

Double check...

When you installed SWF Object's code make sure you now have the file swfobject.js in the directory modules/swftools/shared/swfobject.

If you go with the patching option then the file you need to patch is swftools.module - the main component of the swf tools package.
________

Just five more minutes...

www.stuartandnicola.com

________

Just five more minutes...

www.stuartandnicola.com

Example...

Example of swf, xml and images being combined via flash node using the above techniques, running on my site. There's a description on the page too that tries to explain the above in a little more detail.
________

Just five more minutes...

www.stuartandnicola.com

________

Just five more minutes...

www.stuartandnicola.com