I am trying to add a .swf to my first index page. When finishing playing the flash movie will redirect the user to the web site. But I can not get the .swf to work inside Umbraco. Can someone please tell me what I am doing wrong.
Step by step what I have done so far:
1. Created a doc type for my index page. (No media picker)
2. Created a xslt file and a matching macro. In the xslt file I put the code
Rik, I have already one seperate template for the welcomepage which I named the index page, because this is the first page the user will see. I made it work in Coda with only the autogenerated html code from flash, but now I need to make it work in Umbraco and also to make it possible for the end user to easily change the flash movie. I have been looking at many different examples but none of them works.
Thank you Dandrayne, I will have a look at the tutorial and I get back to you if I still cant get it to work!
How to embed .swf in Umbraco?
I am trying to add a .swf to my first index page. When finishing playing the flash movie will redirect the user to the web site. But I can not get the .swf to work inside Umbraco. Can someone please tell me what I am doing wrong.
Step by step what I have done so far:
1. Created a doc type for my index page. (No media picker)
2. Created a xslt file and a matching macro. In the xslt file I put the code
4. Added three parametrars in the macro, flashFile(mediacurrent), height(number) and width(number).
5. In my index template I put
When adding the macro I browsed for the .swf, named flashFile, located in the media file.
6. Created a new content page and publishing it. Nothing is shown in the browser and I do not get any errors.
What am I missing, have I forgot something? This is my first time using Umbraco...
Thankful for all the help I can get!
Why don't you make a seperate page template for the welcomepage including the flash code ?
You could try http://our.umbraco.org/projects/insert-flash-file
Dan
Rik, I have already one seperate template for the welcomepage which I named the index page, because this is the first page the user will see. I made it work in Coda with only the autogenerated html code from flash, but now I need to make it work in Umbraco and also to make it possible for the end user to easily change the flash movie. I have been looking at many different examples but none of them works.
Thank you Dandrayne, I will have a look at the tutorial and I get back to you if I still cant get it to work!
It works like a charm=) Thanks a lot Dandrayne!
is working on a reply...