Thanks, yes, I've been looking at that Henry. :-)

On Fri, Feb 11, 2011 at 9:36 AM, Henry Minsky <[email protected]>wrote:

> You could look at how I implemented the TLFTextField class in the LFC.
>
> It is a work-alike to the flash.text.TextField class, using the TLF
> framework.
>
> It's in kernel/swf9/TLFTextField.as
>
> On Fri, Feb 11, 2011 at 12:06 PM, Raju Bitter <
> [email protected]> wrote:
>
>> Thanks, Tucker & Henry. I know about the flexlib directory, but I'm not
>> looking at visual component using Sprite as the base class, but support of
>> specific features in the TLF.
>>
>>
>> On Thu, Feb 10, 2011 at 8:24 AM, Henry Minsky <[email protected]>wrote:
>>
>>> Note that if yYou coulou have built Flex .swc libraries, you can link  to
>>> them at compile time if you put them into the
>>> WEB-INF/flexlib directory. Our compiler adds that directory to the
>>> external library path when it calls flex. See the example
>>> lps/components/incubator/googlemap.lzx
>>> which links in the Google Maps API.
>>>
>>> That is probably the way to go if you have Actionscript 3 code which
>>> needs to put code into packages, because our compiler doesn't know how to
>>> deal with as3 package declarations, and will put every class file goes into
>>> the top level namespace.
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Feb 10, 2011 at 11:18 AM, P T Withington <[email protected]> wrote:
>>>
>>>> That will work, but note you can do this all outside the kernel too.
>>>>  See for instance lps/components/extensions.  If anything, our goal is to
>>>> move more stuff out of the lfc than into it!
>>>>
>>>> On 2011-02-10, at 11:06, Raju Bitter wrote:
>>>>
>>>> > What would I need to do to add custom classes to the build process for
>>>> the
>>>> > SWF9 runtime?
>>>> >
>>>> > 1) Create the .as class file
>>>> > 2) Add it to
>>>> >
>>>> http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/Library.lzs
>>>> > 3) Add a view wrapping the AS3 component to
>>>> > http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/views/
>>>> >
>>>> > And re-build the LFC?
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Henry Minsky
>>> Software Architect
>>> [email protected]
>>>
>>>
>>>
>>
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>

Reply via email to