[SWFObject] swf loading external swf

Aran Rhee aran.rhee at qdc.net.au
Thu Aug 31 00:49:46 PDT 2006


Sibrand 

On the swfObject implementation, it is trying to load a file called:
"/sebastiaan/efolders.swf" which doesn't exist.

This is what the server is spitting back behind the scenes:


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /sebastiaan/efolders.swf was not found on this
server.</p>
<hr>
<address>Apache/2.0.52 (Red Hat) Server at efolderstest.cust.ilse.nl Port
80</address>
</body></html>


The preloader seems to be hard coded to load: gMovieName = "efolders.swf";


So it is not loading from the expected subfolder correctly:

(what you want): 
http://efolderstest.cust.ilse.nl/sebastiaan/data/uploads/folders/13/efolders
.swf

(actually happening):
http://efolderstest.cust.ilse.nl/sebastiaan/efolders.swf


This is not an SwfObject issue, but how you have a single location to start
the process. The only thing I can think of to try without modifying the .swf
(which as you say you don't have access to the .FLA) is to try adding the
BASE param to the swfObject code. This MIGHT allow flash to set the correct
relative path when it tries to load the efolders file.


so.addParam("BASE", "
http://efolderstest.cust.ilse.nl/sebastiaan/data/uploads/folders/13");


Other than that, you somehow need to be able to set what file location to
load within your preloader file.

Regards,
Aran









> -----Original Message-----
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of 
> Sibrand Hoekstra | Buyways B.V.
> Sent: Thursday, 31 August 2006 5:15 PM
> To: swfobject at lists.deconcept.com
> Subject: Re: [SWFObject] swf loading external swf
> 
> Well then, lets just post the url here.. :')
> 
>     
> http://efolderstest.cust.ilse.nl/sebastiaan/nl-Folders-Single.
php?folder_id=13
> 
> which *should*  work like this:
> 
>     
> http://efolderstest.cust.ilse.nl/sebastiaan/data/uploads/folde
> rs/13/folderpagina.html
> 
> I can't get into the fla file, as it is again being developed 
> by en external party and also, i don't expect this to be the 
> swf's problem..
> 
> 
> Siep
> 
> 
> 
> 
> Geoff Stearns wrote:
> 
> >nope, no known issues with that...
> >
> >we would need a lot more info, as there's probably 50 
> different ways  
> >to set up what you are explaining...
> >
> >
> >
> >On Aug 30, 2006, at 10:24 AM, Sibrand Hoekstra | Buyways B.V. wrote:
> >
> >  
> >
> >>Hi all,
> >>
> >>to be honest i mostly skip the incoming swfobject emails, cause i
> >>generally only get to deal with html, css and javascript so if this
> >>question has been answered before my apologies in advance. It must  
> >>be a
> >>simple one though..
> >>
> >>Im using the old workhorse swfobject.js to display a swf, 
> which works
> >>like a charm, but then this swf loads another swf.
> >>And it doesn't. Is this a known issue ? And, more 
> important, are there
> >>any workarounds?
> >>
> >>Any help is very much appreciated :')
> >>
> >>Siep
> >>
> >>-- 
> >>Sibrand Hoekstra       BuyWays BV            T +31 50 3118123
> >>sibrand at buyways.nl     Friesestraatweg 217c  F +31 50 3118124
> >>http://www.buyways.nl  9743 AD  Groningen    M +31 6 41910167
> >>
> >>"The information contained in this e-mail message may be 
> confidential
> >>information, and may also be privileged. If you are not the intended
> >>recipient, any use, interference with, disclosure or copying of this
> >>material is unauthorised and prohibited. If you have received this
> >>message in error, please notify us by return email and delete the
> >>original message."
> >>_______________________________________________
> >>SWFObject mailing list
> >>SWFObject at lists.deconcept.com
> >>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> >>    
> >>
> >
> >_______________________________________________
> >SWFObject mailing list
> >SWFObject at lists.deconcept.com
> >http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> >
> >  
> >
> 
> 
> -- 
> Sibrand Hoekstra       BuyWays BV            T +31 50 3118123
> sibrand at buyways.nl     Friesestraatweg 217c  F +31 50 3118124
> http://www.buyways.nl  9743 AD  Groningen    M +31 6 41910167
> 
> "The information contained in this e-mail message may be confidential 
> information, and may also be privileged. If you are not the intended 
> recipient, any use, interference with, disclosure or copying of this 
> material is unauthorised and prohibited. If you have received this 
> message in error, please notify us by return email and delete the 
> original message."
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com



More information about the Swfobject mailing list