flashactionscriptlingo

Lingo call to ActionScript not working


I have a Flash sprite in my Director project. Under the Properties of that sprite, under both the Member and the Sprite tabs, it has as its name "Assessment". In my Lingo script, I have the following call:

sprite("Assessment").displayGrade(75, 3, 4)

where displayGrade is a function defined in the Flash object's ActionScript as a method taking 3 numbers as parameters. However, I get an error on this line, and cannot determine why. Am I calling the Flash object's method incorrectly?


Solution

  • I browsed a little and I found this one:

    http://groups.google.com/group/macromedia.director.basics/browse_thread/thread/85203d2879267fe1?pli=1

    and this too:

    http://dreamweaverforum.info/director/23160-director-11-actionscript-3-a.html

    Of course, you should verify by browsing the Director 11 docs.

    Regards, Vyger