I bet that would work. Maybe each interstitial could reference it's super class by name<div>in it's constructor or something. </div><div><br></div><div>var mysuper = $lzsc$mixin$LzFormatter$LzView;</div><div><br>
</div><div>I dunno if their compiler would optimize that away if it's not referenced. At one point</div><div>I was making a list of all the LFC classes, but once we started using the 'lz' table</div><div>I didn't need to do that anymore. </div>
<div><br><div><br><div class="gmail_quote">On Mon, Jan 18, 2010 at 12:24 PM, P T Withington <span dir="ltr"><<a href="mailto:ptw@pobox.com">ptw@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 2010-01-18, at 12:12, Henry Minsky wrote:<br>
<br>
>> ReferenceError: Error #1065: Variable $lzsc$mixin$LzFormatter$LzView is<br>
>> not defined.<br>
>><br>
>> Which is whacky. The definition of lz.text is:<br>
>><br>
>> dynamic class LzText extends $lzsc$mixin$LzFormatter$LzView {<br>
>><br>
>> I think the flex compiler is being too clever and not defining the<br>
>> interstitial class in the linked application since there are no direct<br>
>> references to it. Maybe it would be better if we just defined our own<br>
>> internal class property to support isSubclassOf in as3.<br>
>><br>
><br>
> Yeah I remember I had that problem with the swf9 kernel,there were LFC<br>
> classes which would not actually be linked in unless you referenced them<br>
> someplace. I forget how we solved that. I guess the 'lz' table gets a<br>
> reference to every user visible class now.<br>
<br>
</div></div>I guess I could make each mixin reference every interstitial that uses it?<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br><br>
</div></div>