Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    xhtml problem Flash menu - multilanguages

    I have created a flash menu (.sfw).
    I need that, the menu change when you choose different languages.

    So when you choose the english language, it bring's the english_menu.sfw , and so on...


    What code, I need to insert to do that?



    I would like to thank's in advance!

    Best regards.
    I love internet and the power of information... Best Wishes!!

  2. #2
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Flash menu - multilanguages

    The code for my menu is:

    <div id="flash_menu" style="position: absolute; top: 180px; centre: 0px; z-index:1;">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="488" height="95" >
    <param name="movie" value="main_menu.swf" />
    <param name="quality" value="high" />
    <param name="allowScriptAccess" value="always" />
    <param name="wmode" value="transparent" />
    <embed src="/includes/templates/1228/buttons/english/main_menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="505" height="95" allowScriptAccess="always" wmode="transparent">
    </embed></object>
    </div>


    I try to do as I have for my slogan image to change with different language:


    <div id="slogan">
    <?php
    echo zen_image($template->get_template_dir('/slogan.gif',DIR_WS_TEMPLATE,$current_page_base,'buttons/' . $_SESSION['language']).'/slogan.gif','Slogan');
    ?>
    </div><br style="clear:both" />
    I love internet and the power of information... Best Wishes!!

  3. #3
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Flash menu - multilanguages

    So when you change languages it pics the different .swf file (as I had set for the slogan image)


    Could someone please help me to summe the two code?



    Best wishes!
    I love internet and the power of information... Best Wishes!!

  4. #4
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Flash menu - multilanguages

    PHP Code:
    <param name="movie" value="/includes/templates/1228/buttons/<?php echo $_SESSION['language']; ?>/main_menu.swf"" />
    PHP Code:
    <embed src="/includes/templates/1228/buttons/<?php echo $_SESSION['language']; ?>/main_menu.swf" quality="high"
    then put each language's main_menu.swf in the .../buttons/language/ folder so english menu would be .../buttons/english/main_menu.swf and italian would be ../buttons/italian/main_menu.swf etc
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  5. #5
    Join Date
    Nov 2008
    Location
    Slovenija
    Posts
    119
    Plugin Contributions
    0

    Default Re: Flash menu - multilanguages

    bunyip

    Thank you for helping me!
    I love internet and the power of information... Best Wishes!!

 

 

Similar Threads

  1. Flash Menu
    By leest35 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Nov 2010, 12:00 PM
  2. Flash issue.. css flyout menu hides under flash..
    By Muzz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Sep 2009, 06:41 AM
  3. Flash Menu
    By toeyt in forum General Questions
    Replies: 5
    Last Post: 2 Jul 2009, 04:57 PM
  4. Multilanguages links
    By Jeet Kune Do in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jun 2009, 04:33 PM
  5. flash menu competition?
    By froldao in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 May 2008, 05:35 PM

Posting Permissions

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