currently, we are developing a prototype of our system, and have faced with strangenesses. preview mode working as it should. but after publishing, project behavior totally different. our application simply moves one element to the coords of another element using system.gui.moveComponent. it is not tied to absolute values. here is a sample:
rail_part = root_container.getComponent(name)
system.gui.moveComponent(event.source, rail_part.x, rail_part.y)
in preview mode everything is ok, but after publish, element starts to appears in strange places.
what we are doing wrong?