Skip navigation
Currently Being Moderated

I can't get ExternalInterface to work!

Sep 13, 2007 12:49 PM

I have published and tested the sample ExtInt.FLA, uploaded it to a server and tested. It WORKS.

I copy all the scripts and content of ExtInt into my own project, as well as copying the JS from the HTML page too. Publish, upload and test. Does NOT work.

When I test locally, I put a TRACE in the main button function in both the example movie and in my own. The trace in the example executes every button click. The trace in my own project (with the EXACT same copied stuff) does not. I am beside myself and ripping my hair out trying to sort out this issue. The scripts are identical and yes, my project is set to AS2.0 and Flash 8, just like the example file.

Any ideas?
 
Replies
  • Currently Being Moderated
    Sep 13, 2007 1:38 PM   in reply to art_guy
    You did this, right:

    import flash.external.*;

    I can't think of why it wouldn't work. It works fine for me, outside of the
    sample you mentioned, so it's got to be something you're missing.

    --
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/


     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points