[haXe] Arctic with caching?

Johannes Strömberg johannes.stromberg at strusoft.com
Wed Jan 24 14:15:02 CET 2007


Hi,

No I don't have testcase. I have simply looked through the code and 
tried to understand it. My experience with Flash development is however 
very limited so I might be getting it wrong.

Example (as I understand it):
1. A resize calls ArcticView.onResize().
2. ArcticView.onResize() calls ArcticView.refresh(). (if (false)).
3. ArcticView.refresh() calls ArcticView.build() with construct=true.
4. For example Picture uses a Loader to load the clip.

Or I am simply getting it wrong.

/Johannes

Asger Ottar Alstrup skrev:
> Hi,
>
> The current arctic should cache images on resize already. If it does 
> not, then that's a bug that should be fixed. Can you provide a test case?
>
> Regards,
> Asger
>
> On 1/24/07, *Johannes Strömberg* <johannes.stromberg at strusoft.com 
> <mailto:johannes.stromberg at strusoft.com>> wrote:
>
>     Hi,
>
>     I am thinking of implementing an image view that dynamically resizes
>     itself to its area up to its original size and also has caching of
>     already loaded images so that they don't have to be reloaded on
>     each change.
>
>     Would this be feasible in the current version of Arctic (through a
>     CustomBlock for instance) or does it require changes to its design?
>
>     /Johannes
>
>     --
>     haXe - an open source web programming language
>     http://haxe.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070124/d74554e3/attachment.htm


More information about the Haxe mailing list