Results 1 to 4 of 4

Thread: [Solved] Flash issue in 2.8

  1. #1
    New user
    Join Date
    02-22-10.
    Posts
    4

    Default [Solved] Flash issue in 2.8

    Hi,

    I have a problem with displaying flash movie in Typolight 2.8.

    There wasn't any problem in previous 2.76, swfs always work good. I'm trying to publish typical swf file, but it's only alternate item displayed, my movie doesn't... I am confused. The same movie works fine in other page based on 2.76.

    My code:
    Code:
    <script type="text/javascript">
    <![CDATA[//><!--
    new Swiff("tl_files/restauracja/flash/flash-srodkowy/flash-srodkowy.swf", {
      id: "swf_9",
      width: 975,
      height: 313,
      params : {
        wMode: "window",
        allowFullScreen: true,
        flashvars: "URL=http://localhost/newyou/"
      }
    }).replaces($('swf_9'));
    //--><!]]>
    
    </script>
    However, code generated in 2.76 used to be a little different...

    Have anybody found the same problem? I do not know what to do, spent 3 hours today trying to solve that issue, if nothing happens I will go back to 2.76 - there wasn't any problems in that version.

    My current project is new, no update, currently being deceloped on my own server. As I said before, I pasted same movie to my old project based on 2.76 and it was working. On 2.8 wasn't.

    I'll appreciate your feedback.

    Regards,
    Sebastian

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Flash issue in 2.8

    I just did a test on a recently-upgraded site in TYPOlight 2.8. I first created a Flash module, then added it to an article. It worked without problems. The code, which looks very similar to yours is:

    Code:
    <script type="text/javascript">
    <![CDATA[//><!--
    new Swiff("tl_files/people/ad_leaderboard_1-5.swf", {
      id: "swf_19",
      width: 300,
      height: 100,
      params : {
        wMode: "window",
        allowFullScreen: true,
        flashvars: "URL=http://www.domain.com/"
      }
    }).replaces($('swf_19'));
    //--><!]]>
    </script>

  3. #3
    New user
    Join Date
    02-22-10.
    Posts
    4

    Default Re: Flash issue in 2.8

    And now I know the solution.

    Ben, thank you for help, you directed me on right track.

    I did new layout based on fe_page.tpl and it worked!

    Next I checked my layout file fe_restauracja.tpl and I saw a mess in a header. Probably I copied header from an old fe_page.tpl from 2.76 or I just messed up, I'm not sure.

    My layout file is now corrected and flash movie works and shines and pleases my eyes.

    Thank you for support.

    Regards,
    Sebastian

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: [Solved] Flash issue in 2.8

    Glad you got it sorted out, Sebastian. For these reasons, I avoid creating a custom fe_page unless it is the last resort.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •