<br>Fixed, where was cardchooser I've replaced with flashcontent<br><br>   var so = new SWFObject("media/cardchooser<div>.swf", "flashcontent", "945", "550", "8",   "#a6caf0");
<br>   so.write("flashcontent");<br></div><br><br>but now IE says<br><br>Object doesn't support this property or method<br><br>Although flash does comunicate with js and the functions are triggered.<br><br><br>
<br><br><br><br><div><span class="gmail_quote">On 5/19/06, <b class="gmail_sendername">Tiago Vale</b> <<a href="mailto:tiago.vale@gmail.com">tiago.vale@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi List,<br><br>I'm having a problem here.<br><br>Each time I try to get flash to call javascript the IE yelds an error <br><br>Line: 1<br>Char: 79<br>Error: 'cardchooser' is undefined<br>Code:0<br><br><br><br>heres my code
<br><br>function addCard(_card)<br>{<br>    try{<br>    insert_card(cards_to_arr, _card);<br>    }<br>    catch(er)<br>    {<br>        alert("foooo")<br>    }<br>}<br><br><br>   var so = new SWFObject("media/cardchooser.swf", "cardchooser", "945", "550", "8",   "#a6caf0");
<br>   so.write("flashcontent");<br><br>Inside flash I have<br><br>var card:String = "a card";<br>ExternalInterface.call("addCard", card); <br><br><br><br>Browser is Internet Explorer 6.0.2900.2180

 with SP2<br>With Firefox works as expected.<br></div><div><span class="sg"><br clear="all"><br>-- <br>Cheers Tiago Janz

</span></div></blockquote></div><br><br clear="all"><br>-- <br>Cheers Tiago Janz