PDA

View Full Version : How to set component x&y property while using flashvar


praveen_2016
03-15-2009, 08:27 AM
Hello,

I am doing one Scrollbar in flex.I have binded array of number of pages to scrollbar control.Actually I have parent container (mc1) then inside it one child container & then inside that child container(mc2) have one Horizontal scrollbar.so on scroll event i am moving child container(mc2) horizontally.So actually problem is when i pass array index statically then everything works ok. But if I use flashvar for runtime value passing then x-property of mc2 got disturbed & it automatically comes to 0.if i furthure set x- property of mc2 then also it does not work proeprly...wat should I do???plz any help is accepted.I have wasted 2 days on this & now on holiday also am working on it...plz plz help

box86rowh
03-16-2009, 03:37 PM
please post the code you are using to access your flash vars.