Hello Prasanna,
To develop a custom component, here is a brief guide from me :)
Step 1:
Decide what are the parameters which developer can use as input to
your component, e.g. dataProvider is available in List but not in
TextInput. Also decide if you are going to provide style values e.g.
paddingLeft, paddingRight etc. These things you need to finalize
before beginning to code, because you need to have a clear idea on
what are the possibilities which a developer can try on your
component.

Step 2:
Now, go through these five methods, you are trying to develop a
component and not a Container so you need to focus on the following 5
methods:
createChildren
measure
commitProperties
updateDisplayList
styleChanged

Step 3:
Start coding your component, create some basic and then move to some
advanced version. For examples, you have flex sdk full of all source
code, just open and start digging.

If needed a training program for a group then you can contact me :)

Note: Also have a look at cksachdev.blogspot.com for an easier
understanding of "Flex Component Life Cycle - in my way"

Thank you

--
Chetan Sachdev
www.riageeks.com

On Mar 2, 10:51 am, "prasanna.d prasanna.d" <[email protected]>
wrote:
> i need to create an custom component in action script for image gallery, for
> example the images in thumbnail should appear in a canvas on click, the
> problem is creating it in action script,pls help me out with some examples
> and links

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to