[SWFObject] External Interface
Geoff Stearns
geoff at deconcept.com
Mon May 22 05:40:27 PDT 2006
can you post a link to your page?
is there a form on the same page as your flash movie?
On May 22, 2006, at 6:45 AM, Tiago Vale wrote:
> Anyone?
>
> On 5/19/06, Tiago Vale <tiago.vale at gmail.com> wrote:
>
> Fixed, where was cardchooser I've replaced with flashcontent
>
>
> var so = new SWFObject("media/cardchooser
> .swf", "flashcontent", "945", "550", "8", "#a6caf0");
> so.write("flashcontent");
>
>
> but now IE says
>
> Object doesn't support this property or method
>
> Although flash does comunicate with js and the functions are
> triggered.
>
>
>
>
>
>
>
> On 5/19/06, Tiago Vale <tiago.vale at gmail.com > wrote:
> Hi List,
>
> I'm having a problem here.
>
> Each time I try to get flash to call javascript the IE yelds an error
>
> Line: 1
> Char: 79
> Error: 'cardchooser' is undefined
> Code:0
>
>
>
> heres my code
>
> function addCard(_card)
> {
> try{
> insert_card(cards_to_arr, _card);
> }
> catch(er)
> {
> alert("foooo")
> }
> }
>
>
> var so = new SWFObject("media/cardchooser.swf", "cardchooser",
> "945", "550", "8", "#a6caf0");
> so.write("flashcontent");
>
> Inside flash I have
>
> var card:String = "a card";
> ExternalInterface.call("addCard", card);
>
>
>
> Browser is Internet Explorer 6.0.2900.2180 with SP2
> With Firefox works as expected.
>
>
> --
> Cheers Tiago Janz
>
>
>
> --
> Cheers Tiago Janz
>
>
>
> --
> Cheers Tiago Janz
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060522/2090cb3a/attachment-0005.htm>
More information about the Swfobject
mailing list