How to embed a swf flash rotator SOLVED :)
-
- Forum Members
- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
How to embed a swf flash rotator SOLVED :)
... ok i need a small bit of help here.
I want to embed this flash rotator into my ...
...
my flash gadget
now i have it working there as ...
... stand alone static page on my hosting ...
... . I now want to embed this into my content ...
... site.
the source for this page shown is this
Quote
if ( ...
... .macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
' ...
... ', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
...
... 'loop', 'true',
'scale', 'showall',
'wmode', 'window',
...
... .macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="590" ...
... :2083/viewer/home%2fpigsacom%2fcontent_management_system%2fflashcarousel/ ...
... .swf" />
...
... HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/ ...
... >
{stylesheet}
{* This is how all the stylesheets attached to this ...
... are linked to *}
but this is ...
... working as you can see here my site
i think its just a ...
... the javescript isnt linking right, can anyone suggest how to get it working?
...
... folder called mywebsitename.com/cms
and the flash content is inside a ...
... called mywebsitename.com/cms/flashcarousel
I want to embed this flash rotator into my ...
...
my flash gadget
now i have it working there as ...
... stand alone static page on my hosting ...
... . I now want to embed this into my content ...
... site.
the source for this page shown is this
Quote
if ( ...
... .macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
' ...
... ', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
...
... 'loop', 'true',
'scale', 'showall',
'wmode', 'window',
...
... .macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="590" ...
... :2083/viewer/home%2fpigsacom%2fcontent_management_system%2fflashcarousel/ ...
... .swf" />
...
... HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/ ...
... >
{stylesheet}
{* This is how all the stylesheets attached to this ...
... are linked to *}
but this is ...
... working as you can see here my site
i think its just a ...
... the javescript isnt linking right, can anyone suggest how to get it working?
...
... folder called mywebsitename.com/cms
and the flash content is inside a ...
... called mywebsitename.com/cms/flashcarousel
Last edited by buntrosgali on Wed Apr 08, 2009 11:42 am, edited 1 time in total.
-
- Forum Members
- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
Re: How to embed a swf flash rotator
ahh ok np sorry bout that. so any advice on how to do this?
Re: How to embed a swf flash rotator
Not really as it seems you are missing part of it in your post and it's not clear on what steps you are taking to try and get it to work...
-
- Forum Members
- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
Re: How to embed a swf flash rotator
here is the folder containing all the files to make the carousel work
folder
i have succesfully embed the swf into a static page here
working static page
what im trying to learn is how to embed this into cms page like this?
page i want to embed into
i just dont know how to link the code into the template to make it work, ive attempted it but havent had success
any help from this?
folder
i have succesfully embed the swf into a static page here
working static page
what im trying to learn is how to embed this into cms page like this?
page i want to embed into
i just dont know how to link the code into the template to make it work, ive attempted it but havent had success
any help from this?
Last edited by buntrosgali on Mon Mar 30, 2009 10:45 am, edited 1 time in total.
-
- Forum Members
- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
Re: How to embed a swf flash rotator
anyone shed any light on this for me?
-
- Forum Members
- Posts: 19
- Joined: Thu Feb 05, 2009 1:37 am
Re: How to embed a swf flash rotator
i had an issue with a similar component that ended up being solved by making the page uncachable. Its an option in page preferences, uncheck it and then give it a try.
-
- Forum Members
- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
Re: How to embed a swf flash rotator
tried that but it didnt make any difference i dont think i am linking the javascript properly anyone else any ideas please 
p,s making the page uncacheable would that not affect its search engine friendlyness?

p,s making the page uncacheable would that not affect its search engine friendlyness?
Re: How to embed a swf flash rotator
Use the swfobject module.
Nullig
Nullig
Re: How to embed a swf flash rotator
This looks like an issue with the path to the XML file. Have you checked that your XML is in the same directory as the SWF? When I go to http://www.pigsflymedia.com/cms/albuminfo.xml I get a "Not Found" page.
When loading XML into Flash, you need to place the file in a folder relative to where the SWF is embedded, not stored.
This is almost certainly the problem here.
When loading XML into Flash, you need to place the file in a folder relative to where the SWF is embedded, not stored.
This is almost certainly the problem here.
Green Sheep Design Ltd. - www.greensheep.co.uk
-
- Forum Members
- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
Re: How to embed a swf flash rotator
i have uploaded the swfobject tag
and simply put the tag line
{swfobject swf=http://www.mysite.com/cms/uploads/iTunesAlbumArt.swf}
but it doesn't show anything.
there was no swfobject.js in the download module and from reading the documentation i took that i need this in the uploads folder so i entered one in, however the js file for this particular flash component is AC_RunActiveContent.js so i made the code in the template this

my page
in regards to tomgsd the xml page is now in same uploads folder as the swf object.
http://www.mysite.com/cms/uploads/albuminfo.xml
this is driving me mad!!! any other suggestions?
and simply put the tag line
{swfobject swf=http://www.mysite.com/cms/uploads/iTunesAlbumArt.swf}
but it doesn't show anything.
there was no swfobject.js in the download module and from reading the documentation i took that i need this in the uploads folder so i entered one in, however the js file for this particular flash component is AC_RunActiveContent.js so i made the code in the template this
this isnt working either
{stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}

my page
in regards to tomgsd the xml page is now in same uploads folder as the swf object.
http://www.mysite.com/cms/uploads/albuminfo.xml
this is driving me mad!!! any other suggestions?
Last edited by buntrosgali on Wed Apr 08, 2009 11:43 am, edited 1 time in total.
Re: How to embed a swf flash rotator
If you read the help for the swfobject tag, you'll see how to format the tag parameters.
Nullig
Nullig
Re: How to embed a swf flash rotator
Try your SWF file in the /cms directory (ie, at: http://www.pigsflymedia.com/cms/albuminfo.xml). The location you posted (http://www.pigsflymedia.com/cms/uploads/albuminfo.xml) isn't working because your SWF is set up to look for the XML in the same directory as the page in which it is embedded.
Green Sheep Design Ltd. - www.greensheep.co.uk
-
- Forum Members
- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
Re: How to embed a swf flash rotator
i have read the documentation and followed it point by pont by i still cant get it working.
i have offered $10 to anyone who can explain this to me and help me get it working.
i have offered $10 to anyone who can explain this to me and help me get it working.
-
- Forum Members
- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
Re: How to embed a swf flash rotator
still havent got this working
anyone offer any other help?

Re: How to embed a swf flash rotator
Just checked the page you posted before (http://www.pigsflymedia.com/cms).
The code you are using to embed is the following:
This is currently looking for the SWF file in the wrong location (http://www.pigsflymedia.com/cms/uploads ... bumArt.swf). Try changing the path to: "http://www.pigsflymedia.com/cms/iTunesAlbumArt.swf"
here:
and here:
(if you are using the object tag I think both locations should change automatically).
When I browse directly to your SWF (at http://www.pigsflymedia.com/cms/iTunesAlbumArt.swf) I see it working fine. Don't move anything else, make the changes above and see if that works. If not, let me know and I'll have another look.
The code you are using to embed is the following:
Code: Select all
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="590" height="300">
<param name="movie" value="http://www.pigsflymedia.com/cms/uploads/iTunesAlbumArt.swf">
<param name="quality" value="high">
<embed src="http://www.pigsflymedia.com/cms/uploads/iTunesAlbumArt.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="590" height="300"></embed>
</object>
here:
Code: Select all
<param name="movie" value="http://www.pigsflymedia.com/cms/uploads/iTunesAlbumArt.swf">
Code: Select all
<embed src="http://www.pigsflymedia.com/cms/uploads/iTunesAlbumArt.swf" quality="high" .....
When I browse directly to your SWF (at http://www.pigsflymedia.com/cms/iTunesAlbumArt.swf) I see it working fine. Don't move anything else, make the changes above and see if that works. If not, let me know and I'll have another look.
Green Sheep Design Ltd. - www.greensheep.co.uk