![]() ![]() Var box1:String=r.toString(16)+b.toString(16)+g.toString(16) Ĭolors will always comes in alpha numeric & main color is red,green & blue so first we declare 3 variables and store the random number to that variable and we want to add the number and convert it to string using. You can get the different color randomly using action script 3.0 & 2.0 also This is the code we create a text boxes and button dynamically with out any designing in action script 3.0 We can able to do addition with out any designingĪnd we create a text boxes and button dynamically using action script 3.0ītn.addEventListener(MouseEvent.CLICK,fun)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |