[haXe] Arctic 0.3.0
Asger Ottar Alstrup
asger at area9.dk
Thu Nov 2 16:08:48 CET 2006
On 11/2/06, Roberto Saccon <rsaccon at gmail.com> wrote:
>
> Great, and now I just saw that arctic 0.3 has also custom blocks,
> which make it easy to extend arctic !
>
> is partial refresh planned for the future ? I just have played with
> dynamically resizing the height of a flash-movie (via Javascript).
> Applied to Arctic, when dynamically adding a block after the gui has
> been built (not possible yet, AFAIK), only that block should be
> inserted and not the whole gui rebuilt.
I am thinking about adding update functionality: You would pass a new
ArcticBlock to the view, and it would morph the old block into the new
block: Delete blocks that are not in the new one, add new ones, and move
existing ones, potentially in an animation. That would be a very general
mechanism for making dynamic user interfaces that animate nicely as well.
However, it's not easy to modify an existing ArcticBlock without a lot of
recursive switches, so this would probably have to be combined with the
ability to insert id's in the ArcticBlock tree structure, such that you can
assign new blocks to those id's and thus update an ArcticBlock.
This id mechanism could also serve as a way to get a hold of the underlying
MovieClips for a given Arctic block - thus allowing you to hack away all you
want.
All in all, this is quite some work to implement, so I guess it might take a
while to get there.
Until then, you can always just add your own movieclips on top of the ones
that Arctic control. That *should* work correctly, although I haven't tested
it.
In the same category, you can also register several ArcticViews to the same
parent movieclip - they will just be added on top of each other, independent
from the other layers.
Regards,
Asger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20061102/d32ee6a0/attachment.htm
More information about the Haxe
mailing list