I haven't been able to find a good document that explains the
[Bindable] metadata directive.


On Wed, Jul 16, 2008 at 4:19 PM, André Bargull <[EMAIL PROTECTED]> wrote:
>
>>> > 2) I'm always leery of polling.  Is there not some event sent when a >
>>> > resource is loaded that could be reacted to?
>>>
>>
>> Not that I could find  :( .  There's almost no documentation on the
>> [Embed] pragma, much less what happens after you 'new' one of the magic
>> resource objects.
>>
>
> According to this site
> "http://www.adobe.com/devnet/flex/quickstart/embedding_assets/#EmbeddingSoundFiles";,
> an embed asset like:
>>
>> [Embed(source="assets/pie-yan-knee.mp3")]
>> [Bindable]
>> public var Song:Class;
>>
>
> is actually an instance of SoundAsset:
>>
>> public var mySong:SoundAsset = new Song() as SoundAsset;
>
> And in the "mx.core"-package, I see several other asset-classes:
> BitmapAsset, ButtonAsset, ByteArrayAsset, FontAsset, MovieClipAsset,
> MovieClipLoaderAsset, SoundAsset, SpriteAsset, TextFieldAsset.
>
> Maybe this helps to find some events to satisfy Tucker :-P
>
>
>>
>>>
>>> > Otherwise, approved.
>>> > > On 2008-07-16, at 02:11EDT, Max Carlson wrote:
>>> >
>>>>
>>>> >> Change 20080715-maxcarlson-P by [EMAIL PROTECTED] on 2008-07-15 >>
>>>> >> 22:11:31 PDT
>>>> >>    in /Users/maxcarlson/openlaszlo/trunk-clean
>>>> >>    for http://svn.openlaszlo.org/openlaszlo/trunk
>>>> >>
>>>> >> Summary: Fix onclick event for buttons in Flash 9
>>>> >>
>>>> >> Bugs Fixed: LPP-6505 - Button events clogged up in swf9?
>>>> >>
>>>> >> Technical Reviewer: promanik
>>>> >> QA Reviewer: ptw
>>>> >>
>>>> >> Details: LzSprite.as - Creating and destroying child display objects
>>>> >> >> interferes with the mouse.  Instead, create a bitmap object that 
>>>> >> >> holds >>
>>>> >> the resource data and replace its contents directly.  Compiled assets >>
>>>> >> take a while to instantiate, added a callback to deal with this.
>>>> >>
>>>> >> LzGlobalMouse.as - Add missing event.
>>>> >>
>>>> >> Tests: See LPP-6505.  Lzpix and other examples running in swf9 look
>>>> >> good!
>>>> >>
>>>> >> Files:
>>>> >> M      WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
>>>> >> M      WEB-INF/lps/lfc/services/LzGlobalMouse.lzs
>>>> >>
>>>> >> Changeset: >>
>>>> >> http://svn.openlaszlo.org/openlaszlo/patches/20080715-maxcarlson-P.tar
>>>>
>>>
>>> >
>>
>> -- Regards, Max Carlson OpenLaszlo.org
>
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to