This project is archived and is in readonly mode.

#681 ✓invalid
Pete Duncanson

Examples for using Swiff to JS comms out of date

Reported by Pete Duncanson | June 2nd, 2009 @ 11:42 PM | in 2.0 (closed)

Been trying to get this to work for two days now following the examples here:

http://mootools.net/blog/2008/02/12/whats-new-in-12-swiff/#more-63

and

http://mootools.net/docs/core/Utilities/Swiff

and various other sites that give tips on how to patch the above up to get them working but nothing is happening.

My onload event (callBack?) in the js never gets called, how do I know when the flash file it loaded, etc.

Would love to write something up myself but can't get the damn thing working to start with. Can we have either an updated tutorial or a whole new one please?

Comments and changes to this ticket

  • Sebastian Markbåge

    Sebastian Markbåge June 4th, 2009 @ 09:39 PM

    You should try asking your question at the user group where people might be able to help you out: http://groups.google.com/group/mootools-users

    Make sure you include a sample that we can easily see where you might have a problem.

    Please note that Swiff doesn't have a built in onLoad event. You should trigger a call back from your ActionScript using ExternalInterface.call("onLoad"); when everything you need in your Flash file has loaded completely (Note the String). Using a debug version of Flash Player, make sure that your Flash file actually sends that callback.

  • Christoph Pojer

    Christoph Pojer June 4th, 2009 @ 10:42 PM

    • State changed from “new” to “invalid”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages