Scripty lightbox

I have the action working fine, but when viewed in Firefox or IE on PC, the flash file I’m calling in shows top left before showing in the centre.

Any ideas why or how to fix it? Is this happening to others?
http://www.austinwellsdesign.co.uk/lab/flash-banners.html

Nathan Garner

http://www.austinwellsdesign.co.uk

FW5.5 Pro | MacBook Pro | Snow Leopard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I can’t see your example page, because it requires a password. But I
can guess that your flash is not loading in quickly enough to beat the
clock (60 milliseconds) that determines when to cause that element to
appear.

There’s a tricky dance involved with this effect, and I don’t think
that timers are going to work in all cases. At issue is this: in order
to figure out how to center the player on the page, my script needs to
work out the dimensions of the resulting player with its content
loaded. So I load the player while it’s still hidden, then measure it
60ms later, then move it into position and then make it visible.

Unfortunately, what seems to be happening with Flash and QuickTime is
that the player uncloaks before it’s moved to center, so your eye
persists it in both locations on the screen and gives the illusion
that it has moved from one place to the other.

I’ll see if I can work around the issue another way.

Walter

On Feb 7, 2011, at 8:18 AM, Nathan Garner wrote:

I have the action working fine, but when viewed in Firefox or IE on
PC, the flash file I’m calling in shows top left before showing in
the centre.

Any ideas why or how to fix it? Is this happening to others?
http://www.austinwellsdesign.co.uk/lab/flash-banners.html

Nathan Garner

http://www.austinwellsdesign.co.uk

FW5.5 Pro | MacBook Pro | Snow Leopard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That makes sense Walter - as soon as you said about the flash loading I figured that was the issue.

Thanks

Nathan Garner

http://www.austinwellsdesign.co.uk

FW5.5 Pro | MacBook Pro | Snow Leopard

On Feb 7, 2011, at 1:42 PM, Walter Lee Davis wrote:

I can’t see your example page, because it requires a password. But I can guess that your flash is not loading in quickly enough to beat the clock (60 milliseconds) that determines when to cause that element to appear.

There’s a tricky dance involved with this effect, and I don’t think that timers are going to work in all cases. At issue is this: in order to figure out how to center the player on the page, my script needs to work out the dimensions of the resulting player with its content loaded. So I load the player while it’s still hidden, then measure it 60ms later, then move it into position and then make it visible.

Unfortunately, what seems to be happening with Flash and QuickTime is that the player uncloaks before it’s moved to center, so your eye persists it in both locations on the screen and gives the illusion that it has moved from one place to the other.

I’ll see if I can work around the issue another way.

Walter

On Feb 7, 2011, at 8:18 AM, Nathan Garner wrote:

I have the action working fine, but when viewed in Firefox or IE on PC, the flash file I’m calling in shows top left before showing in the centre.

Any ideas why or how to fix it? Is this happening to others?
http://www.austinwellsdesign.co.uk/lab/flash-banners.html

Nathan Garner

http://www.austinwellsdesign.co.uk

FW5.5 Pro | MacBook Pro | Snow Leopard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options