Flash losing focus causing problems

Hi.
I’ve come to the final stages of building this site for a client, but now I’ve found a problem which I honestly have no idea how to fix. Any help appreciated :smiley:

Basically sometimes when the user clicks outside the window, it causes random problems in the movie. My client, (who uses OSX, it doesn’t happen to me in xp), has sent me screenshot showing me that when he clicks outside the browser window an image randomly disappears in the website. Moreover, I found that sometimes if I click outside the window text also dissappears occasionally. I cannot understand, are any changes made in flash when it loses focus?

Unfortunately I can’t show you the site, or the source :frowning: and I can’t seem to replicate the problem, but if anybody has any idea as to why this would happen it would be geratly appreciated :smiley:

It happens on OS X yeah… once you click outside the stage some weird numbers are reported for mouseX and mouseY (in the millions I think :P)

Listen for Event.Deactivate And fix what might need to be fixed there (static values etc)

And JFYI, noone is interested in stealing your source, and without posting source problem-posting is pretty redundant : )

Thanks I’ll look into it :smiley:

I know that no one would steal it, (its hardly good enough to be worth stealing :P) but IMO revealing your source is rude (probably not the right word…) to your client. + I like to think I can solve most of my own problems once I know what could be causing it :stuck_out_tongue:

Anyway thanks a lot again you have no idea how much this has been bugging me :smiley:

You bet, but please note it should be Event.DEACTIVATE

Flash is a caps-lock screaming kid

:stuck_out_tongue:

lol thanks for the tip

btw I fixed the problem :love: thanks again :stuck_out_tongue: