Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2006
    Posts
    54
    Thanks
    3
    Thanked 0 Times in 0 Posts

    ExternalInterface API

    Hi..

    I'm using the ExternalInterface to try to talk to javascript. But I'm able to do this only if I write actionScript and call the js functions from the main timeline. If I try using the ExternalInterface API from within actionScript classes I have written, it fails. The javascript function does not get executed.

    Whats going on??

    Is there some special way of using the ExternalInterface from within actionScript classes? Also, my javascript code has got plenty of namespaces.. Will calling something like namespace.jsfunction cause any problems?

    Thanks in advance!
    raghu207

  • #2
    New Coder
    Join Date
    Apr 2008
    Location
    Makati Philippines
    Posts
    34
    Thanks
    0
    Thanked 1 Time in 1 Post
    how bout just simply using a getURL function like getURL("javascript:yourJSFunction")
    Hope is a good thing, maybe the best of things. And no good thing ever dies. -Andy Dufresne

    Jairus Bondoc PHP Programmer Philippines


  •  

    Posting Permissions

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