Page 1 of 1

SOLVED Flash in CMS Made Simple

Posted: Thu Dec 16, 2010 7:18 pm
by chrisbar
I made a flash button in Adobe Flash called zomertraining.swf. I have placed this button via FTP in the directory of uploads/movies. I have downloaded en installed the swfobject-tag and placed the following 'code' in a page (sidebar) ->
{swfobject swf='uploads/movies/zomertraining.swf'}

When I try to open te page I get the follwing error:
Fatal error: Call to undefined function cmsms() in /home/users/r/e/redeag/www/test/cmsmadesimple-1.6.7-full/plugins/function.swfobject.php on line 54

I miss something and for sure I have forgotten something, but what??

Thanks for the help!

Chris

Re: Flash in CMS Made Simple

Posted: Thu Dec 16, 2010 7:28 pm
by Dr.CSS
You are using a CMSMS version that is older than the plugin...

This  cmsms()  is from the newer version of CMSMS...

Re: Flash in CMS Made Simple

Posted: Thu Dec 16, 2010 7:45 pm
by chrisbar
The error has left the building, but no button is still showed. I have uploaded a former version of swfobject.
swfobject.js has to be placed in the uploads folder, but where can I find this swfobject.js?

Re: Flash in CMS Made Simple

Posted: Thu Dec 16, 2010 8:24 pm
by Wiedmann
cmsmadesimple-1.6.7
As of SWFObject 2.1 you need at least CMSms 1.8.1.
(Should be mentioned in the forge *todo*)
but where can I find this swfobject.js?
You can get it from: http://code.google.com/p/swfobject/