thanks jim, this is exactly what I was looking for.
diego

Jim Berkey wrote:
> Of course, change the actual swf names also - I forgot to do that in the 
> example :-(
> ----- Original Message ----- 
> From: "Jim Berkey" <[EMAIL PROTECTED]>
> To: "Open Source Flash Mailing List" <osflash@osflash.org>
> Sent: Wednesday, February 22, 2006 5:38 PM
> Subject: Re: [osflash] more than one flashobject in the same page
>
>
>   
>> You can have as many id's replaced by flash as you need. For instance:
>>
>> <div id="flashcontent">
>>  This is replaced by the Flash content.
>>  Place your alternate content here and users without the Flash plugin or
>> with
>>  Javascript turned off will see this. Content here allows you to leave out
>> <code>noscript</code>
>>  tags. Include a link to <a
>> href="flashobject.html?detectflash=false">bypass the detection</a> if you
>> wish.
>> </div>
>>
>> <script type="text/javascript">
>>  // <![CDATA[
>>
>>  var fo = new FlashObject("fo_tester.swf", "fotester", "300", "300", "6",
>> "#FF6600");
>>  fo.addVariable("flashVarText", "this is passed in via FlashVars"); // 
>> this
>> line is optional, but this example uses the variable and displays this 
>> text
>> inside the flash movie
>>  fo.write("flashcontent");
>>
>>  // ]]>
>> </script>
>>
>> <div id="flashcontent2">
>>  This is replaced by the Flash content.
>>  Place your alternate content here and users without the Flash plugin or
>> with
>>  Javascript turned off will see this. Content here allows you to leave out
>> <code>noscript</code>
>>  tags. Include a link to <a
>> href="flashobject.html?detectflash=false">bypass the detection</a> if you
>> wish.
>> </div>
>>
>> <script type="text/javascript">
>>  // <![CDATA[
>>
>>  var fo = new FlashObject("fo_tester.swf", "fotester", "300", "300", "6",
>> "#FF6600");
>>  fo.addVariable("flashVarText", "this is passed in via FlashVars"); // 
>> this
>> line is optional, but this example uses the variable and displays this 
>> text
>> inside the flash movie
>>  fo.write("flashcontent2");
>>
>>  // ]]>
>> </script>
>> <div id="flashcontent3">
>>  This is replaced by the Flash content.
>> </div>
>>
>> <script type="text/javascript">
>>  // <![CDATA[
>>
>>  var fo = new FlashObject("fo_tester.swf", "fotester", "300", "300", "6",
>> "#FF6600");
>>  fo.addVariable("flashVarText", "this is passed in via FlashVars"); // 
>> this
>> line is optional, but this example uses the variable and displays this 
>> text
>> inside the flash movie
>>  fo.write("flashcontent3");
>>
>>  // ]]>
>> </script>
>>
>>
>> ----- Original Message ----- 
>> From: "Diego Guebel" <[EMAIL PROTECTED]>
>> To: "Open Source Flash Mailing List" <osflash@osflash.org>
>> Sent: Wednesday, February 22, 2006 5:16 PM
>> Subject: [osflash] more than one flashobject in the same page
>>
>>
>>     
>>> Hi there,
>>> I know it might be a little off topic but I didn't found a better place
>>> to ask....
>>> I want to have more than one flashobject in the same page, the issue is
>>> how the replace works since the id of the div to be replaced is fixed.
>>> It means I only can use it onces.
>>> any clue?
>>> thanks
>>>
>>> _______________________________________________
>>> osflash mailing list
>>> osflash@osflash.org
>>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>>>       
>> _______________________________________________
>> osflash mailing list
>> osflash@osflash.org
>> http://osflash.org/mailman/listinfo/osflash_osflash.org 
>>     
>
>
> _______________________________________________
> osflash mailing list
> osflash@osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>   

_______________________________________________
osflash mailing list
osflash@osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to