flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1344647 - /incubator/flex/whiteboard/tink/activity/README.txt
Date Thu, 31 May 2012 10:56:22 GMT
Author: tink
Date: Thu May 31 10:56:21 2012
New Revision: 1344647

URL: http://svn.apache.org/viewvc?rev=1344647&view=rev
Log:
Info about ActivityIndicator and it's uses

Added:
    incubator/flex/whiteboard/tink/activity/README.txt

Added: incubator/flex/whiteboard/tink/activity/README.txt
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/tink/activity/README.txt?rev=1344647&view=auto
==============================================================================
--- incubator/flex/whiteboard/tink/activity/README.txt (added)
+++ incubator/flex/whiteboard/tink/activity/README.txt Thu May 31 10:56:21 2012
@@ -0,0 +1,15 @@
+Example of ActivityIndicator using a Rotator in it's skin.
+
+The ActivityIndicator is basically a facade to it's indicator skin part.
+
+This is too keep the ActivityIndicator flexible, in that some people might want something
to spin, others might want a horizontal animating barbershop bar, others might want a movie
clip animation. The indicator skin part itself just need to implement IAnimator to be used.
+
+The Rotator is a some skinnable component that rotates its skin around it's centre point
when told to play. Anything can be used inside it's skin. You can change the amount of rotation
applied on each frame by setting the delta property.
+
+To have something look like the mobile BusyIndicator, in the past I have used a DataGroup,
with an item renderer which is a simple thin Rect. I then use a custom CircularLayout for
the DataGroup.
+
+Tomasz's design features circles of different sizes. The above concept could be used, but
use a standard itemRenderer with an Ellipse inside. The size of the Ellipse would be based
on the index of the renderer.
+
+I'll look at tidying up and committing the CircularLayout.
+
+I also have some containers that work well with the ActivityIndicator which I will tidy up
and add. They show the ActivityIndicator in a particular skin state which is where the autoAnimate
property comes in useful.
\ No newline at end of file



Mime
View raw message