For the past week, I have been catching up with the ActionScript 3 then Flex, which is a more appropriate way to learn them. As I read along, this question come to my mind, shall I code more in ActionScript or MXML? The answer is both for now, but the more the former the later. For the time being, since I am just coding little pieces to test my understanding of the language and the procedures of fetching data from HackyStat derby database, it will be wiser for me to use the existing component and bind them with the data that I want. However, in the long term, ActionScript is the one that will be dominating since Flare is a feature plugin for Flex builder which gives more control.
For testing for my understanding of the material, a demo will be a nice and fast way to show, hence, make me feel more comfortable in coding in ActionScript 3.
Since I was not very experienced with both things, so the demo was intended not to be ideal. It updates the list of users' id on those events from a listener embedded in a button. For then I was about to find out the format of the raw data from HackyStat server and as well as how shall I get them, which will be my goal next week. For now, my demo just have a method that generate random user_id and updates the data grid using bindable arraycollection data structure on events from mouse down listener.
For testing for my understanding of the material, a demo will be a nice and fast way to show, hence, make me feel more comfortable in coding in ActionScript 3.
Since I was not very experienced with both things, so the demo was intended not to be ideal. It updates the list of users' id on those events from a listener embedded in a button. For then I was about to find out the format of the raw data from HackyStat server and as well as how shall I get them, which will be my goal next week. For now, my demo just have a method that generate random user_id and updates the data grid using bindable arraycollection data structure on events from mouse down listener.

