Banal: i used your solution having a flash page inside my webssite. Running the site gives "swfobject is not defined"; i can't figure out why this is happening. Any idea how to solve this? btw i installed silverstripe 2.4 and just started a couple of days ago to het used to it
I suggest you use [url=http://getfirebug.com/]FireBug[/url] to see if the file loads or not.
I was using Firebug and i got the message "swfobject is not defined".
I followed the instructions as published at ssbits.org (Embed flash content using SWFObject) but maybe i have to add an include somewhere. Keep in mind that i just started using silverstripe so it can be that i missing something that's obvious for an experienced user.
When i checked the html code there is no doctype etc for the page where swobject.js is not loaded. Maybe this will help?
I was using theme BlackCandy but switching to theme Tutorial (putting FlashPage.ss in themes/tutorial/templates) i didn't got the problem with swobject.js. So it must have something to do with the theme and i will investigate further. Your help is still very welcome.
Works fine. But still one question ; where do I have to place the skin file ?
In the proposed solution, the flash file plays without a skin. I tried every possible location.
Normally you have to place the skin file at the same location as the swf file to play.