Hi,

Just wondering, has anybody actually ever uses pixelsToPrecent() and had
success with it?

I tried using it in a current component I'm developing and realized that the
equation seems flawed or I am not using it right, or have the wrong
expectations.

I understand what it is supposed to 'try' and do but for a simple HBox
parent with the

#1 child of 300 pixels,
#2 child 100%(438px)
#3 child now at 474px (this is the child I am calcing the percent for),

the method returns -1316.6666666666667 percent for the #3 child!

Anyway, anybody ever had success?

Peace, Mike
-- 
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to