Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Denford 132 posts 323 karma points
    Dec 03, 2011 @ 16:42
    Denford
    0

    swf in master template plays on homepage and level2 pages but not level 3

    hi everyone,

    i am having problems with my flash swf file, basically i have a flash file on the main template and it plays on the home page and level 2 pages but doesnt play on any level 3 pages have tried to set the base to the websites root  as suggested in this post http://our.umbraco.org/forum/using/ui-questions/13109-swf-in-template-that-plays-on-a-page-at-root-level-but-not-on-sub but still no luck the website adress is http://www.oceancheshireltd.com please have a look and help if you can.

    denford

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Dec 04, 2011 @ 18:13
    Jan Skovgaard
    0

    Hi denford

    You're referecing the ourNations.swf (which I asume if the .swf file in question) with a relative path to the root of your website.

    You should make sure it's given an absolute url to the file like http://www.oceancheshireltd.com/ourNations.swf. Then it will work :)

    /Jan

  • Stephen 204 posts 246 karma points
    Dec 05, 2011 @ 12:16
    Stephen
    0

    Yes just what i was going to say....did this sort the issue?

    S

  • Denford 132 posts 323 karma points
    Dec 05, 2011 @ 20:40
    Denford
    0

    hi guys thanks for the help but that ddnt seem to help either even tried creating another folder ant placed the swf file init and still no luck the flash bit just flickers but doesnt run

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Dec 05, 2011 @ 21:07
    Jan Skovgaard
    0

    Hi Denford

    How exactly are you trying to call the file? Are you sure you have entered the correct path all the places you need to? When I checked this out yesterday I simply just added the absolute path using firebug and then the flash was working fine.

    /Jan

  • Kim Andersen 1447 posts 2197 karma points MVP
    Dec 05, 2011 @ 21:27
    Kim Andersen
    0

    Hi denford

    I think that your problem lies in the path to the swf-file.

    The paththat you are using right now is: ourNations.swf according to this snippet:

    <embed width="190" vspace="1" hspace="1" height="190" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" quality="high" base="http://www.oceancheshireltd.com/ourNations.swf" src="ourNations.swf" title="our nations">

    The flash will probably work on the lower levels as well if you change the path to /ourNations.swf . I guess that the file is located in the root of the file system, and then you need to include the /.

    Does this help?

    /Kim A

  • Denford 132 posts 323 karma points
    Dec 07, 2011 @ 12:24
    Denford
    0

    hi Kim A

    thanks that worked was just missing the / so just out of curiosity what difference does setting the base do because it wasnt doing anything until i added the / ( i no its supposed to tell it where the file is but that didnt have any effect)

    denford

  • Kim Andersen 1447 posts 2197 karma points MVP
    Dec 07, 2011 @ 16:16
    Kim Andersen
    0

    Hi Denford

    Great that you got it working! I think that Jan was trying to say the same as me when he talked about the absolute path though :)

    Actually I don't know what the base is supposed to do, I've never used it myself, so sorry can't help you there.

    /Kim A

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies