Hi there,
I'm Brazilian developer and I work with Flash in USA, so my English it isn't
the best, please forgive me for that.
I just started to work with pixlab and design pattern, I tried to find the
answers by myself but it didn't work that well, so, let's see if you can give
me some directions.
So, my sample test is about 5 buttons that it will be all in the same view
(ex.: view1.butt0 - view1.butt1 ...etc), when you click one of them I'll show
the content thats refer to that button in another view (view2 = myPrompt). My
plans is to work with these 2 views and one model, where the model will process
the information (load the proper information from the xml file), and give back
to both views that information. The only way that worked for me right now is
if I define a _global variable and when the user press the button, it save
there the information of which button was pressed. I read that you generally
should NOT be using a _global variable, so, How can I make the model identify
which button was pressed since Im using an event for call that model? How is
the efficient way for to do this communication?
Please let me know if I was clear enough and if somebody can give any help with
information or links about the subject.
Thanks for you help,
Adriana
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org