This project is archived and is in readonly mode.

#727 ✓wontfix

AS3: Add something to the Swiff documentation on

Reported by roxlu | August 7th, 2009 @ 02:44 PM | in 1.3.0 rc2 (closed)

Besides that mootools rools, it would be even better when the documentation for the swiff would be updated with information on how to make use of the 'callBacks' option.

Each callBacks property is converted to a string which is used internally by Swiff. Therefore you cannot use the name of the property in you AS3, like:

.. new Swiff{...callBacks:{onLoad ...

One would expect that he can use:"onLoad","param") in you AS3 file.. though you should use:

var callback:String = LoaderInfo(root.loaderInfo).parameters.onLoad;,"param")


Comments and changes to this ticket

  • dc

    dc October 7th, 2009 @ 10:31 PM

    • Tag changed from documenttion to documentation
    • Title changed from “Add something to the Swiff documentation on” to “AS3: Add something to the Swiff documentation on”

    Thanks roxlu. You saved a few strands of my hair.

  • dc

    dc October 8th, 2009 @ 04:40 PM

    Great, AS3 ExternalInterface.addCallback() also changed.
    I don't think MT 1.2.3 Swiff.remote is supported for AS3 ExternalInterface.addCallback()

  • synax

    synax October 8th, 2009 @ 07:02 PM

    dc, as I said in IRC, Swiff.remote() works with AS3. If you're going to make generalizations that it doesn't, you need to attach code that clearly replicates the issue.

  • dc

    dc October 8th, 2009 @ 08:58 PM

    synax, thanks for your effort to help.

    I have spent a day's worth of time on this, so I wouldn't call this a "generalization".
    I have posted my code since then and you and others haven't provided a solution.

    But just for the record, I'm now posting an entire test case to show that it is not working.
    Not putting blame on Swiff, but could be an oversight of changes that happened between AS2 -> AS3.
    test.html // This is a working test page. Note that Swiff.remote does not work but everything else does.

    Thanks, and sorry if this is a non-issue.

  • dc

    dc October 8th, 2009 @ 09:03 PM

    This is a pastie of the source fla (included in the link posted above):

  • fakedarren

    fakedarren February 8th, 2010 @ 02:01 PM

    • Milestone changed from 2.0 to 1.3.0 rc2
    • State changed from “new” to “hold”
    • Assigned user set to “fakedarren”

    As with all other Swiff issues - I am putting this on hold whilst we determine if we will continue to support Swiff in future releases. Sorry it took so long to get an answer. We do know that our docs could be improved....but it's the way the methods are defined in AS3 not an issue with Swiff. I think.

  • Christoph Pojer

    Christoph Pojer November 9th, 2010 @ 07:25 PM

    • State changed from “hold” to “wontfix”
    • Milestone order changed from “0” to “0”

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