[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] How do I implement a function in a flash package?

From: Tom Stellard
Subject: [Gnash-dev] How do I implement a function in a flash package?
Date: Mon, 25 Aug 2008 22:04:18 +0800

I am trying to get the Haxe test case to work with AVM2, and I am running into a problem when AVM2 tries to call the "getQualifiedClassName" function in the flash.utils package.  It seems to me like the AVM2 is expecting the "getQualifiedClassName" function to be a accessible from the global object.  I have tried adding the package to the native class array, but  the AVM2 still cannot find the function when I search the global object, using the as_object::findProperty function.  I didn't see any other already implemented packages that contained any global functions, so I was wondering if someone could spot what I am doing wrong or suggest a better way.  I have attached a patch of what I have done so far.



Attachment: flash.utils.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]