pui.shiftElements
Posted: Mon Feb 11, 2013 6:11 pm
I am trying to use the pui.shiftElements function on an onLoad event.
I coded it like this:
pui.shiftElements(1800,2800,get("OFFSET"));
Where OFFSET is an onscreen variable with a valid value of -1152 at runtime. I keep getting and invalid argument popup when I run it. What am I missing? There must be a way to substitute a value in. When I hardcode the -1152, it works fine.
I coded it like this:
pui.shiftElements(1800,2800,get("OFFSET"));
Where OFFSET is an onscreen variable with a valid value of -1152 at runtime. I keep getting and invalid argument popup when I run it. What am I missing? There must be a way to substitute a value in. When I hardcode the -1152, it works fine.