creating components tutorial?

Hi,

Can anybody point me towards a thorough tutorial on creating components in Flash (or Flex Builder -- not mxml, just as3)?  I've looked around and found a couple of sites, but either they weren't complete or the files weren't readable.  I don't like the Adobe tutorial either.

Two parts in particular I'm looking for clarification for are how to expose variables as parameters and how to publish it so that it can be loaded as a component.

Thanks!

LVL 11
ugebAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IqAndreasCommented:
I believe you are looking for "Learning how to create classes in AS3"

Basically, components are classes. Classes are just a more general name, while components are classes that you can place directly onto the stage.

Here are a few links to get you started, and if you need more tutorials, just ask. I will also gladly explain any questions you have along the way.

http://www.kirupa.com/developer/as3/classes_as3_pg1.htm
http://www.flashandmath.com/bridge/intro/index.html
For more results: http://www.google.se/#q=as3+class+tutorial

Good luck with your programming,
Andreas
0
ugebAuthor Commented:
No, I'm sorry but you are not correct.  I've been doing OOP programming for 15 years and have degrees in CS.  

I am needing specific tutorials on components, hot classes.  Creating classes is easy.  Creating components requires other steps that I need clarification on.
0
IqAndreasCommented:
Sorry about that. I tend to assume that all people who ask questions are beginners. ;)

In ActionScript 3, components are classes that extend things like InteractiveObject (among other classes) so they can capture user input. You are talking about components such as "Buttons", "TextAreas", "Sliders" etc, correct?

Components in the mx.* package do not need to be imported via MXML. They can be imported with pure ActionScript. MXML is just a shorthand for designers to create components, but when the SWF compiles, all that MXML turns into regular ActionScript.

Could you elaborate a little more on what exactly you are looking for?

Do you want to export components to SWC format so they can be used like other SWC components?
Do you want to create components with bindable properties and events?
Do you want to add skinning capabilities to them?


Someone asked a similar question to yours recently on the Kirupa forums with several great replies, but for the life of me, I cannot find it again. However, if I track it down, I will reply back with the link.

Is there any reason you don't want to use any of Adobe's tutorials? The Flex in a Week video series was very informative, and I believe you would find a great deal of information on components there.
http://tv.adobe.com/show/flex-in-a-week/

I am also in the process of compiling a list of available flash component suites, and the list might be of some use to you. http://www.kirupa.com/forum/showthread.php?t=343020
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

IqAndreasCommented:
I think I see now.

Do you want to create components that can be dragged from the Flash Professional Components window onto the stage rather than be instantiated via pure ActionScript?

Perhaps this guide is of some use to you:
http://www.adobe.com/devnet/flash/articles/creating_as3_components.html

I can keep looking if that does not answer all your questions. And feel free to ask if there is anything I can help clarify.
0
IqAndreasCommented:
I found two more links on the same subject.
http://www.flexiblefactory.co.uk/flexible/?p=16
http://redbjarne.wordpress.com/actionscript-3-0-custom-components-from-hell/

Good luck with your programming,
Andreas
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ugebAuthor Commented:
Not exactly what I was hoping for, but I'll make do.  Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.