> I have a main director movie which runs full screen (1024X768
> / 800X600) which opens a number of MIAWs. I've noticed while
> testing that the MIAWs when first opened, actually first
> appear in the lower right corner of the stage before jumping
> to their final position in the center of stage. My first
> instinct is to set their position off stage while first
> opening them and then after the MIAW is visible, move it to
> the center of stage. I was hoping I could get some feedback
> on this approach or possibly a better approach.
This is how I was originally opening the MIAWs:
on openDateSelection
window ("dateSelection").windowType = 2
window ("dateSelection").visible = TRUE
runTop = (the stageTop + 180)
runLeft = (the stageLeft + 143)
runRight = (the stageLeft + 885)
runBot = (the stageTop + 603)
window ("dateSelection").rect = rect (runLeft, runTop, runRight, runBot)
open window "dateSelection"
end
So then I thought to open it outside of the stage rect and then just move it into
position:
on openDateSelection
window ("dateSelection").windowType = 2
window ("dateSelection").visible = TRUE
runTop = (the stageTop + 2180) --position off stage
runLeft = (the stageLeft + 2143)
runRight = (the stageLeft + 2885)
runBot = (the stageTop + 2603)
window ("dateSelection").rect = rect (runLeft, runTop, runRight, runBot)
open window "dateSelection"
runTop = (the stageTop + 180) --move into position
runLeft = (the stageLeft + 143)
runRight = (the stageLeft + 885)
runBot = (the stageTop + 603)
window ("dateSelection").rect = rect (runLeft, runTop, runRight, runBot)
updatestage
end
But this approach still flashes for a split second in the lower right corner of the
stage. Even if I comment out the second set of rect positions. Does anybody have a
better approach or can you see what I'm doing wrong?
As alway, with much respect,
g fritzinger
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]