ok, i got it to work now, but i have another question, how can i detect the windows resolution setting, because if i have 1280x960 and i make my view larger than that, the window will become minimized, and when my view is to small, the places in the window that are not covered with the view are flickering between black and WED(the program "under" A6 engine)
ofcourse i can set the resolution right for my comp, but others might have problems with it.

BTW do i have to make new panels for other resolutions or can i scale them at runtime? and how can i make sure they are placed right?