In the follow Canvas, how do I change the property top at runtime?
<canvas top="10"/>
I tried:
<canvas top="{ topVariable }"/>
But the binding doesn’t seem to take effect. How can this be achieved?
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.
If this is Flex 3, then myCanvas.setStyle(“top”, 10); (top is a style not an ActionScript property).