Page 1 of 2

FLASH in cmsms (swfobject)?

Posted: Fri Apr 04, 2008 12:49 am
by ripsnorta99
hey guys - im getting some animations done - they are in .swf

i tried adding them as a picture - comes up with invalid file?

so how do i get the animations on to my site.. do i have to get the file changed to .gif or is there a module i can add to accept this file type?

any help would be great - i really have no idea what or how things work.. it is a simple way for me to do a website but at the moment im a bit stuck!! soo if you can - could your reply be in really simple english ( layman's terms)

Thanks in advance

Re: total newbie question

Posted: Fri Apr 04, 2008 12:57 am
by Wiedmann
Maybe the plugin SWFObject can hep you.

Re: total newbie question

Posted: Fri Apr 04, 2008 1:53 am
by ripsnorta99
ummm - is it downloadable from the module manager within the site?

how do i go about it - im not real switched on hey..

Re: total newbie question

Posted: Fri Apr 04, 2008 2:09 am
by Wiedmann
is it downloadable from the module manager within the site?
No. Just click on the link from my last post.

Also interesting to read:
http://wiki.cmsmadesimple.org/index.php ... sions/Tags

In other words:
- download the zip
- put the extracted file in the cmsms plugin dir
- in cmsms admin go to "tags"
- click on"swfobject" and read the help

Re: total newbie question

Posted: Sun Apr 06, 2008 10:13 am
by ripsnorta99
thanks - ill have a look when i get a chance...

Re: total newbie question

Posted: Mon Apr 07, 2008 6:49 am
by ripsnorta99
- put the extracted file in the cmsms plugin dir
mmmm ok - apologies already.. how do i do this??

i reckon i can do everything else without a drama..

any help would be great!!

Re: total newbie question

Posted: Mon Apr 07, 2008 8:37 am
by ripsnorta99
nope it shouldnt be here :)

i need the dumb ass forum..  ;D ;D

its over my head - i will get my IT mate to give me a hand..

thanks for the help anyway guys..

Re: total newbie question

Posted: Sat Apr 12, 2008 10:25 am
by ripsnorta99
okay - im still having a few dramas

i can upload the .swf files to the image manager

{swfobject swf='  (image url)  '}

will not work for me.. any ideas??

any tips - im still lost..

Cheers

Re: total newbie question

Posted: Tue Apr 15, 2008 6:42 am
by ripsnorta99
Prerequisites:
You must have a copy of swfobject.js (version 2.x or 1.5) in the uploads directory of your site.
If you want use the expressInstall feature, put the file 'expressInstall.swf' into the same directory as the script 'swfobject.js'.
and it dont work, i put the files in the uploads directory, the images directory and the SWF folder i created and it dont work



im thinking it doesnt know what the file is as its not aware of them, thats why i think the template might need modifying, or alternatively more code then what that help file says


any ideas PLEASE!!!!

Re: total newbie question

Posted: Thu Apr 17, 2008 8:48 pm
by ripsnorta99
yeah i had a look at that.. it requires its own player doesnt it. and then it has to load and be played that way?

thanks for your reply..

id prefer the .swfobject.. surely someone has a step by step process..

Re: FLASH in cmsms (swfobject)?

Posted: Sat Apr 19, 2008 5:36 am
by ripsnorta99
anybody PLEASE..

surely out of the 600 views this topic has had - someone would be able to spend 2 minutes to type up a process on how to do it.. step by step..

i must have done something wrong? as it will not work..

so please can someone point me in the right direction or to another forum where i could get help?

Re: total newbie question

Posted: Sat Apr 19, 2008 12:03 pm
by Wiedmann
i put the files in the uploads directory,
- What's the value of "uploads_url" in your "config.php"?
  Or, you can access/see the script with "http://server/[uploads_url]/swfobject.js" in your browser?
- Which version of "swfobject.js" did you have?

{swfobject swf='  (image url)  '}
- You can access the flashmovie with '  (image url)  ' in your browser?
(Maybe a good idea to also give the width/height for the movie)
- Can you see anything flash related in the html sourcecode view in your browser?

Re: FLASH in cmsms (swfobject)?

Posted: Tue Apr 22, 2008 8:15 am
by ripsnorta99
all you have to do is download the fckeditor module.. change the user preference so it uses it rather then tinymce - there is a button that has upload flash..

im a dumbass with computers and cmsms is supposed to be dead easy - for anyone wanting to do the same it is that easy..

thanks to those who did try and help!!!

the fckeditor doesnt work with firefox and not even real well it IE.. but you can work your way around it..

Re: FLASH in cmsms (swfobject)?

Posted: Wed Jun 18, 2008 6:07 pm
by viebig

Re: FLASH in cmsms (swfobject)?

Posted: Fri Jun 27, 2008 11:10 am
by miles
you can put flash stuff directly into your page by editing your Templates directly..... (take a copy of your template & work with the copy and if it goes pear shape just delete it)!

In your Admin panel choose Layout , Templates, choose the template you want your flash to be in then the way i did it was to create a html page in dreamweaver, insert the flash file then copy the code and paste it directly into your CMSMS template. this is the code i inserted to make a flash header on my web page but if you need it on a different part of the page just paste the code between the apropriate {tags}.....

Code: Select all

   {* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet  "For template: Top menu + left submenu + 1 column" *}
<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="804" height="125">
  <param name="movie" value="/webs/images/cms/YOUR FLASH FILE NAME.swf">
  <param name=quality value=high>
  <embed src="/webs/images/cms/YOUR FLASH FILE NAME.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="125"></embed>
</object>

   {* End Header *}
then make sure you upload your flash file to the correct directory on your server, my file is in /webs/images/cms/FLASH FILE.swf

if you want different files in different pages just copy the template & apply it to different pages,

good luck!