This has been a part of Flash since at least Flash Player 6 - though I
thought it actually went back to Flash Player 4.
From
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002581.html
Flash 8 Documentation
ActionScript 2.0 Language Reference > ActionScript classes > Object >
hasOwnProperty (Object.hasOwnProperty method)
hasOwnProperty (Object.hasOwnProperty method)
public hasOwnProperty(name:String) : Boolean
Indicates whether an object has a specified property defined. This
method returns true if the target object has a property that matches the
string specified by the name parameter, and false otherwise. This method
does not check the object's prototype chain and returns true only if the
property exists on the object itself.
Availability: ActionScript 1.0; Flash Player 6
Parameters
name:String -
Returns
Boolean - A Boolean value: true if the target object has the property
specified by the name parameter, false otherwise.
strk wrote:
On Sun, Mar 04, 2007 at 02:10:50PM -0500, Henry Minsky wrote:
The make() functions is the first thing compiled into the LFC library. If
you maybe comment out all the other #includes in
WEB-INF/lps/lfc/LaszloLibrary.lzs, and just leave this then rebuild the LFC
// Compiler runtime support first
#include "compiler/LzRuntime.lzs"
It would define enough to handle the make() declarations on built-in
Javascript objects.
make seems now to work. Next one failing is hasOwnProperty.
This method seems to be never defined, and I can't find
it's definition in the sourcecode. Hints ?
--strk;
--
Jason Stafford
Principal Developer
Inspiration Software, Inc.
The leader in visual thinking & learning
InspireData(tm), the newest innovative thinking and learning tool from
Inspiration Software(r), extends the proven power of visual learning to
data analysis. Learn more at www.inspiration.com.
503-297-3004 Extension 119
503-297-4676 (Fax)
9400 SW Beaverton-Hillsdale Highway
Suite 300
Beaverton, OR 97005-3300
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev