Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
I am migrating a site to Umbraco that has a single flash (swf) file.
I need to hardcode the flash object in the template.
What steps would I need to achieve this?
I am using Umbraco V6.1.3 MVC & Razor
Thanks
Hi Eugene,
We recommend you to use Umbraco Media. Just create new media item in Umbraco and then use it's ID in Razor template.
var dynamicMediaItem = Umbraco.Media(CurrentPage.mainImage); <img src="@dynamicMediaItem.umbracoFile" alt="@dynamicMediaItem.Name"/>
http://our.umbraco.org/documentation/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors/Media-Picker
Thanks, Alex
Thanks Alex
The flash object consumes XML so I guess I just add the SWF as above and reference the XML feeds in the razor script?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Add flash file (swf) to Umbraco v6.1.3 template
Hi
I am migrating a site to Umbraco that has a single flash (swf) file.
I need to hardcode the flash object in the template.
What steps would I need to achieve this?
I am using Umbraco V6.1.3 MVC & Razor
Thanks
Hi Eugene,
We recommend you to use Umbraco Media. Just create new media item in Umbraco and then use it's ID in Razor template.
http://our.umbraco.org/documentation/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors/Media-Picker
Thanks, Alex
Thanks Alex
The flash object consumes XML so I guess I just add the SWF as above and reference the XML feeds in the razor script?
is working on a reply...