[Laszlo-dev] For Review: Change 20080715-maxcarlson-P, Summary: Fix onclick event for buttons in Flash 9
André Bargull
a.bargull at intensis.de
Thu Jul 17 12:48:34 PDT 2008
I haven't found a Flex3 documentation for the [Bindable]-metadata tag,
only for Flex2:
Flex2 - Metadata tags:
http://livedocs.adobe.com/flex/2/docs/00001651.html
Flex3 - Embedding Assets:
http://livedocs.adobe.com/flex/3/html/embed_1.html#122597
Flex3 - Modular applications:
http://livedocs.adobe.com/flex/3/html/modular_1.html#187239
(maybe interesting for <import>-tag, but haven't read yet)
On 7/16/2008 10:42 PM, Henry Minsky wrote:
> 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 <a.bargull at intensis.de> 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 maxcarlson at Roboto 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
>>>
>>
>
>
>
>
More information about the Laszlo-dev
mailing list