Professional Web Applications Themes

parameters for Flash ? - Macromedia Flash

Hi I am doing multilingual Flash. For every language I have a XML-file where I do have all language dependent text like [url]http://noppa5.pc.helsinki.fi/koe/flash/mean/meanmedn.html[/url] there I do give the language parameter in the form <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="550" HEIGHT="400" id="meanmed" ALIGN=""> ----------------------------------- <PARAM NAME=movie VALUE="meanmed.swf?lang=en&udata=4"> <= here are the parameters lang=en and udata=4 ----------------------------------- <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="meanmed.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="meanmed" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> the language dependent file is [url]http://noppa5.pc.helsinki.fi/koe/flash/mean/gmean-en.xml[/url] This works in explorer, but not in Mozilla where it reads the Finnish (default) file Is there any solution ? How I can send ...

  1. #1

    Default parameters for Flash ?

    Hi


    I am doing multilingual Flash.

    For every language I have a XML-file where I do have all language
    dependent
    text

    like

    [url]http://noppa5.pc.helsinki.fi/koe/flash/mean/meanmedn.html[/url]


    there I do give the language parameter in the form

    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    WIDTH="550" HEIGHT="400" id="meanmed" ALIGN="">

    -----------------------------------
    <PARAM NAME=movie VALUE="meanmed.swf?lang=en&udata=4"> <= here are the
    parameters lang=en
    and udata=4
    -----------------------------------
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#FFFFFF>
    <EMBED src="meanmed.swf" quality=high bgcolor=#FFFFFF WIDTH="550"
    HEIGHT="400"
    NAME="meanmed" ALIGN="" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>


    the language dependent file is

    [url]http://noppa5.pc.helsinki.fi/koe/flash/mean/gmean-en.xml[/url]


    This works in explorer, but not in Mozilla where it reads the Finnish
    (default) file

    Is there any solution ?

    How I can send parameters to Flash in other browsers than IE


    Juha
    --
    Juha Puranen
    Department of Statistics
    P.O.Box 54 (Unioninkatu 37), 00014 University of Helsinki, Finland
    [url]http://noppa5.pc.helsinki.fi[/url]
    Juha Puranen Guest

  2. #2

    Default Re: parameters for Flash ?

    > I am doing multilingual Flash.
    >
    > For every language I have a XML-file where I do have all language
    > dependent text like
    >
    > [url]http://noppa5.pc.helsinki.fi/koe/flash/mean/meanmedn.html[/url]
    >
    > there I do give the language parameter in the form
    >
    > <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="http://..."
    > WIDTH="550" HEIGHT="400" id="meanmed" ALIGN="">
    >
    > -----------------------------------
    > <PARAM NAME=movie VALUE="meanmed.swf?lang=en&udata=4">
    > <= here are the parameters lang=en and udata=4
    > -----------------------------------
    > <PARAM NAME=quality VALUE=high>
    > <PARAM NAME=bgcolor VALUE=#FFFFFF>
    > <EMBED src="meanmed.swf" quality=high bgcolor=#FFFFFF WIDTH="550"
    > HEIGHT="400"
    > NAME="meanmed" ALIGN="" TYPE="application/x-shockwave-flash"
    > PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    > </OBJECT>
    Do this for Netscape and Mozilla:
    ....
    <EMBED src="meanmed.swf?lang=en&udata=4" ...
    ....
    > the language dependent file is
    >
    > [url]http://noppa5.pc.helsinki.fi/koe/flash/mean/gmean-en.xml[/url]
    >
    > This works in explorer, but not in Mozilla where it reads the
    > Finnish (default) file
    >
    > Is there any solution? How I can send parameters to Flash in other
    > browsers than IE. Juha Puranen
    The object tag is not enough. For Netscape and Mozilla you have to
    include and modify the embed tag as well. I have a sample online:
    [url]http://birdy1976.com/2002/pass-variable-to-movieclip.html[/url]

    Best wishes, Martin ;) * [url]http://birdy1976.com/[/url] * ICQ# 237743398
    Martin Voegeli, vom Guest

Similar Threads

  1. Passing colour parameters from asp to flash
    By Sarastro31 in forum Macromedia Flash Data Integration
    Replies: 2
    Last Post: February 8th, 11:09 PM
  2. Setting Parameters flash from php
    By onelotusguy in forum Macromedia Flash Data Integration
    Replies: 13
    Last Post: April 18th, 03:28 AM
  3. Sending parameters to Flash from html (asp)
    By Lolomedia in forum Macromedia Flash Data Integration
    Replies: 0
    Last Post: March 13th, 09:04 PM
  4. Can I send parameters TO a flash file?
    By Jayenkai in forum Macromedia Flash
    Replies: 2
    Last Post: September 22nd, 10:54 PM
  5. html parameters to flash movie
    By tkj webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: October 27th, 07:28 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139