I am absolute beginner in Flash, and AS3.
I need to make dynamically some amount of buttons in web page. I must use Action Script and MXML.
If It will be PHP I will call echo function.
So help me please.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In AS you can use the class RemoteObject (example with amfphp) to communicate with the server. Then you can send an Xml or anything else to describe your GUI.
In actionscript you can add components to container like this:
You can do a loop to add multiple buttons.
HBox is the layout of the container. You have multiple type of layouts in Flex. I advise you to do a lot of tutorial to learn the basics of Flex.