Can I ask what you are really trying to do?  How did you come upon a  
class prototype and not have the class?

On 2006-08-22, at 14:13 EDT, Adam Wolff wrote:

> I have a reference to a class prototype, but not necessarily the
> class function itself. Is there a JS approved way to do get this? I  
> don't
> have an instance of the class (or I could look at its constructor.)
>
> There's a comment in the openlaszlo trunk version of lfc/core/ 
> LzClass.as
> that says:
>     // same as <instance>.__proto__.constructor
>     // or <instance>.__constructor__ in swf7
>     // included for backward compatibility
>     constructorF.prototype.class = constructorF;
>
> But this isn't true for the prototype itself -- the constructor of the
> prototype is unrelated in trunk, and it's a reference to the  
> superclass
> in Legals.
>
> I can use myproto.class in trunk. Is there a similar thing in  
> Legals? If
> not, I guess this is a feature request.
>
> A
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to