Em continuação do meu Tutorial (Adobe Flex a partir do Zero), coloco a terceira parte para acesso publico, apesar de não ter tido muito tempo e de não ter obtido grandes comentários ao meu trabalho, decidi continuar com ele até porque as poucas reacções que tive foram bastante construtivas e incentivadoras.Esta terceira parte do tutorial ficou um pouco mais extensa, cerca de 11 páginas.Alterei a forma de como colocava o código nos documentos, desta vez a coloração sintáctica está como no flex builder para se mais fácil a compreensão. In continuation of my tutorial (Adobe Flex from the Zero), put the third party for public access, despite not having much time and not have been great comments on my work, decided to continue with it because the few reactions that I had been very constructive and incentivadoras.Esta third part of the tutorial was a bit bigger, páginas.Alterei to about 11 as a way to put the code in documents, this time the color is syntactic and the flex builder to be easier to understand .
O documento permite neste momento a cópia do seu conteúdo para colar directamente no Flex Builder, os artigos anteriores não permitiam isso até porque não tinham grandes extensões de código. It now allows the copying of their content to paste directly into Flex Builder, the previous articles did not permit it because they had large stretches of code.
Esta novo parte foca essencialmente os seguintes pontos: This new part focuses mainly on the following points:
- States, entendendo a sua disposição. States, considering its disposal.
- Transições e seus efeitos. Transitions and effects.
- Programação do exemplo oláMundo totalmente em action script. Schedule example oláMundo fully into action script.
- Efeitos e eventListners Effects and eventListners
Dentro destes tópicos já se encontram bastantes funções e técnicas que não foram explicadas anteriormente, mas foram sendo explicadas à media que foram sendo usadas, como EventListners, Childs, arrayCollections, Construção e atribuição de um dataProvider para uma dataGrid, creationCompleteEffect e mais alguns pontos. Within these topics are already many functions and techniques that were not explained previously, but were being explained to the media that were being used as EventListners, Childs, arrayCollections, construction and allocation of a DataProvider to a DataGrid, creationCompleteEffect and a few more points.
Demorou um pouco a ser elaborada esta terceira parte, e gostava bastante de saber as vossas opiniões sobre o novo tipo de organização do tutorial, bem como criticas a possíveis erros e sugestões. It took a while to be drafted this third party, and quite liked to know your views on the new type of organization of the tutorial, as well as criticisms and suggestions of possible errors.
Qualquer duvida: Perguntem! Any doubts: Ask!
Opiniões precisam-se!! Surveys need to be!

Discussão: Talk:
Parte I : http://msdevstudio.com/blog/2008/01/05/adobe-flex-a-partir-do-zero/ Part I: http://msdevstudio.com/blog/2008/01/05/adobe-flex-a-partir-do-zero/
Parte II : http://msdevstudio.com/blog/2008/01/31/adobe-flex-a-partir-do-zero-parte-ii/ Part II: http://msdevstudio.com/blog/2008/01/31/adobe-flex-a-partir-do-zero-parte-ii/
Download:
Parte I: Adobe_Flex_a_partir_do_zero_1.pdf Part I: Adobe_Flex_a_partir_do_zero_1.pdf
Parte II: Adobe_Flex_a_partir_do_zero_2.pdf Part II: Adobe_Flex_a_partir_do_zero_2.pdf
Parte III: Adobe_Flex_a_partir_do_zero_3.pdf Part III: Adobe_Flex_a_partir_do_zero_3.pdf
Parte IV: Adobe_Flex_a_partir_do_zero_4.pdf Part IV: Adobe_Flex_a_partir_do_zero_4.pdf
edit:
Noticias fresquinhas. Fresh News.
Quem estiver interessado pode fazer o download de todo o conteudo dos 4 tutoriais (Partes I, II, III, IV) em apenas um ficheiro e agora com permissão para copiar e imprimir já que muita gente pediu com jeitinho :=) Anyone interested can download the entire contents of the 4 tutorials (Parts I, II, III, IV) in a single file, and now with permission to copy and print as many people asked to jeitinho: =)
aqui está: Flex Book Parte I, II, III e IV (actualizado, ver topico ) here it is: Flex Book Part I, II, III and IV (updated, see topic)
abraço! hug!
versão pdf temporariamente indisponivel. PDF version temporarily unavailable.
34 Comments
Hello, msdevweb (What is your name?)
Our friend, the material was very good! congratulations same !!!!!
Sure you have a good feed-back!
There I took the liberty to publish the schedules Brazilian here.
Thanks for the comment and the publication ..
Ah .. my name is Mario Santos
A hug!
Very show
I am anxiously next Pellas
and provide valuable these items
even more because I am about to start a course of flex
Very good brother! Even more for beginners from scratch
like me. Congratulations!! His blog is already on my list of Favorites, rsrsrs!
and as the Leonardo, waiting for the next articles.
Hug!
Congratulations on your dedication. For those who are starting, is a hand on the wheel. Some simple things are a lot of work done by when we do not know where.
Thank you and have already downloaded the 3 files to move to the staff who are interested in Flex (here at work).
Inté.
Show ball to Mario. Very cool its attitude to be offering a free course for beginners to flex. The way you expressed in this tutorial, we will not find anywhere. Congratulations and I do not see the time the fourth part is available.
Thanks Abel.
'm Already working on the fourth part
Hug.
My friend, you show much I did not know anything of flex, now I have a good idea ta beast even getting their jobs.
Only a doubt, as you must provide the enabling pdf be printed PORQ I prefer to read in the paper and go in applying hors off to not always off in front of a microwave.
But in ta wonder even more.
Congratulations for the initiative.
Fresh News.
Anyone interested can download the entire contents of the 3 tutorials (Parts I, II, III) in just a file, and now with permission to copy and print as many people asked to jeitinho: =)
here it is: http://www.msdevstudio.com/mywork/FlexTutor/Flex_Book_Part_1_2_3.pdf
hug!
Now close friend Mario 100%. Ta perfect flex with the study and that you take the credit because too funny to you that this favoring a good gang with these tutorials. Very didactic material for its people be at the beginning of the long journey that awaits us to be traveled.
It's just fantastic to have such material. Well we are here and looking forward to another party. RSS
Success is what we all want for you and for us too.
Friend,
The tutorials are very good. Congratulations. If you have some material to start off this marvel that you did then please send me. Okay?
Congratulations,
Jomar Kleber.
Hello!
I'm new to Flex. Novice literally!
I created a button in flash where I move the mouse it changes color .. simple, just go sevir for example.
I was in Flex and insert this button through the tool SWFloader.
That is ... What that SWFloader turn a link you that when I click on it to change it for another page that I direct?
If you have any material explaining that part of links through the feature "SWFloader" if you can send me!
If you can help me! Thank you! 1!!
Junior Rocha.
Junior Hi ... well, you could make your button in flex, if not quite prepared would be easier, but good .. to do their swfLoader open a URL, simply do the following:
to look in your inha MXML code that has:
and put it the following parameters:
click = "loadUrl ()" buttonMode = "true" useHandCursor = "true" would like (note that the positions xey may vary, so methodologically xxx and yyy)
then copy and paste the code we write down, immediately after that line of SWFLoader:
< mx:Script>
< ![CDATA[
loadUrl private function (): void
(
var url: URLRequest = new URLRequest ( "http://www.gmail.com");
navigateToURL (url);
)
]]>

</ Mx: Script>
then save your file and run again ... the application by clicking on SWFLoader must open the site http://www.google.com in a new window ... and ... is ready, learned a little bit of ActionScript
Would it?
Hug.
Good news for the followers of my tutorial, is available here Wednesday to share with 14 pages of tutorial that increasingly people were asking for.
Look in: http://msdevstudio.com/blog/2008/04/08/adobe-flex-a-partir-do-zero-parte-iv/
Hug.
Hello John!
First thank you for helping me to be ready in the second and my congratulations on your work here, making his tutorials (fine) so that we all want to help beginners. It is very rare people like you! Congratulations same!
Well ... but come on ..
Still remain "stuck" with that component SWFloader.
Here my cheat code that you can understand how I am doing.
But I think the way I explained above ...
When has not visualize anything. It was as if even without action. as before.
---------------------------
---------------------------
I await your return Mario!
I thank now!
Junior RC.
Mario, I can not paste the code here. What you show?
Hi junior Rocha, does the following, or create a record / post in the mini-forum (link is at the top of the blog) and places there, so there can discuss your code.
hug.
Excuse me ... Mario worked out that way but ...
the site I'm doing, created an animated banner in flash, kind of "promotion" means, and through it worked out (he is like a movie clip). Already the buttons I made (as are the buttons flash) not worked out that way that I passed.
Would it be right just after you create the buttons I convert them for a movie clip?
What if instead of clicking, and go to any URL, I click and go to an Estate inside my same page, as I do?
Thanks Mario!
Hey Junior ...
Well, becoming a movie clip as they probably will give .. as to click, or go to an estate within the flex is it?
or want to go to a frame within your HTML page?
if you want to go to a frame, simply the "trigger" click on your swfloader (where he drew the line loadURL ()), place:
this.currentState = "nome_do_state";
and then return to the state of root places
this.currentState = "";
if it is to go to a frame on your html, the role gave up places:
loadUrl private function (): void
(
var url: URLRequest = new URLRequest ( "http://www.gmail.com");
navigateToURL (url, "nome_do_frame");
)
would it?
hug.
Mario beauty, that's right! Thank you very much!
Goodbye!
Hello Mario!
Following the series of booklets (congratulations once again ...) in the fourth folder, where the topic 6.3
You manda add the following command in abrePainelLogin function:
painel.inputUser.text = "test". To save the project and run the following error I made:
TypeError: Error # 1009: Can not access the property or method of a null object reference.
at olaMundo / abrePainelLogin () [C: \ Documents and Settings \ abel.OBER \ My Documents \ Flex Builder 3 \ olaMundo \ src \ mainScript.as: 102]
at olaMundo/___olaMundo_Button1_click () [C: \ Documents and Settings \ abel.OBER \ My Documents \ Flex Builder 3 \ olaMundo \ src \ olaMundo.mxml: 8]
You know informed me why?
Thank you for your attention!
Good Abel.
This is strange ...
Depending on that little thing can go wrong, check the id of your field (inputText), to put the user is with the id = inputUser (in this dbConf.mxml in the login screen).
I think it may be that ... if not, show me the line 102. (was that?).
hug.
Hey there Mario ...
Below follows passage of the code ...
private function abrePainelLogin (focused: Boolean): void (
var panel: dbConf = new dbConf ();
painel.showCloseButton = true;
painel.inputUser.text = "test"; / / Line 102
PopUpManager.addPopUp (panel, this, true);
if (focus == true) PopUpManager.centerPopUp (panel);
)
Just below and the code of dbConf
//************************************************ ************************************************** ************//
//************************************************ ************************************************** ***********//
Thanks T .
worsened .. rsrsrsr
Depending on that little thing can go wrong, check the id of your field (inputText), to put the user is with the id = inputUser (in this dbConf.mxml in the login screen).
you found it? is in its dbConf.mxml the field inputUser exist? (it's supposed to be the field where it puts the user name)
I think it may be that ...
And then Mario, beauty?
I made it ... Actually resolve the error happened because I was booting the property textinput before calling PopUpManager ...
Below follows the function
private function abrePainelLogin (focused: Boolean): void (
var panel: dbConf = new dbConf ();
painel.showCloseButton = true;
painel.inputUser.text = "test"; / / line 102
PopUpManager.addPopUp (panel, this, true);
painel.inputUser.text = "test", / / Putting works perfectly here.
if (focus == true) PopUpManager.centerPopUp (panel);
)
//************************************************ *****************////
Below follows the component dbConf:
//************************************************ *****************////
//************************************************ *****************////
Thanks ... Regards!
Glad that worked, I was feeling strange because at the time was tested, and I see in the tutorial and confirmed:
but here I have noticed an error in the tutorial, where is this text that should be:
It is a mistake, but who is to give attention to by him!
So are all invited to report errors found!
Hug!
Congratulations! His tutorials are great ... is helping me a lot.
When I do a download some tutorials and files came to me download a file named
download-manager who can not open ...
I wonder what is the program used to open this type of file?
Now I thank ...
Already some people have encountered with this error, the extent of packages and sources are. Rar and tutorials itself is. Pdf
'll find out what it may be happening.
Hug.
Material v. mm good, thanks for the tips
Henrique de nada!
I found it very interesting development in FLEX, Mario you could indicate a course online, a site something for beginners
Ari Araujo good!
Sorry reply so far, I have been with a lot of work ...
Besides the tutorials offered here: "Flex from scratch" and "trace (" action script 3 ")" can find plenty of information on blogs like http://vedovelli.com.br screencasts that have some great and not for beginners only.
There are also some courses in e-Genial: http://www.egenialsas.com.br/cursos
Such are the only ones who know ...
Hug.
caracas face, same pattern, the way we have a writer,
^ ^
when you leave the first edition of the book,
msdevweb - falling from head
FLEX from basic to advanced
AHuAHHauHAuhu very good to me sends a copy Aid.
Hug