Flex layout : Changes made to a single state -


I was modifying the layout of the Flex application in the flex builder. What I did not know was that the changes I made were made for a particular state. There are about 6-7 states in my application. Now, I need those changes in all the states. How do I do this? So far, there are several rows in such a state:

  & lt; Mx: SetProperty target = "{accno}" name = "x" value = "116" /> & Lt; Mx: SetProperty target = "{accno}" name = "y" value = "826" /> & Lt; Mx: SetProperty target = "{phone}" name = "x" value = "116" /> & Lt; Mx: SetProperty target = "{phone}" name = "y" value = "866" />  

If the condition is relative, you can use math in your binding. Why do not you buy X & amp; For the variables on aquoons and phones, and do math for relative status?

  & lt ;? Phonetag? X = '{accno_x}' y = '{accno_y + 40}' ... />  

Will this work? So you just need accno_x and accno_y variables on your page. You just call the X & amp; Relative to Accno:

  & lt; Phonetag? X = '{accno.x}' y = '{accno.y + 40}' ... />  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -