PDA

View Full Version : Flash freezeing on Firefox working OK in IE



areks
April 28th, 2009, 05:12 PM
Hi All,

It is my first post on this forum. I am just starting developing in AS3 using Flash CS3 and now CS4. I created flash banner: www.esluch.home.pl/flash/serie.html (http://www.esluch.home.pl/flash/serie.html)
It is my first project where I am not using timeline, all is created in AS3. Problem is when go to this page in IE7 or IE8 all is working OK but when go with Firefox 3 it is not stable. What i mean - not stable. Some times it start ok, all MC's are loaded, but some times it freeze after 2,3 maby 4 MC's. Please, press arrow on left or right and imediatly after that move very fast in different directions mouse over flash file - it will start creating strange things, not all is refershed correctly even it freeze flash player. Same problem is in projector or when playing movie in Flash CS4, but in Internet Explorer it working 100% correctly (can moving mouse like creazy and no problem). What I am doing wrong? For sure I have newest flash players on my computer even on other comtuters problem is same.
I am really confused what I am doing wrong :(

Best wishes
ArekS

Pier25
April 28th, 2009, 09:17 PM
are you using wmode=transparent ?

This causes problems with firefox

areks
April 29th, 2009, 02:24 AM
are you using wmode=transparent ?

This causes problems with firefox

I am not sure I understand You. Where I should find wmode=transparent parameters? Should I look in to html or in AS3 or in Flash CS4 settings? If in html then I am not using it, in AS3 not using this parameter to but do not know about Flash CS4 is it default setting?
Whatever, please consider fact problem is evident when preview file in Flash CS4 (Ctrl + Enter). Of course it is not as common as in Firefox but it is. Only previewing in IE is completly OK. Maby I should send You FLA file?

Best wishes
ArekS

Pier25
April 29th, 2009, 03:15 PM
wmode = transparent is set in the HTML. If you don't know what it is I'm pretty sure you're not using it.

Some things you can check:
- Do you have the same player installed on both browsers?
- Is the problem happening consistently on all machines and all OS (windows, mac, linux)?
- I've seen you've got lots of JS on your HTML, maybe it's a JS problem?

In my machine (firefox 3, mac os 10.5) the banner you posted loads ok but then I press an arrow and it stops working.

Please post you AS3 code if nothing works.

areks
April 29th, 2009, 04:20 PM
wmode = transparent is set in the HTML. If you don't know what it is I'm pretty sure you're not using it.

Some things you can check:
- Do you have the same player installed on both browsers?
- Is the problem happening consistently on all machines and all OS (windows, mac, linux)?
- I've seen you've got lots of JS on your HTML, maybe it's a JS problem?

In my machine (firefox 3, mac os 10.5) the banner you posted loads ok but then I press an arrow and it stops working.

Please post you AS3 code if nothing works.

Yes, I have newest player installed on both browser.
No, problem is not happening consistently on all machines. It work 100% OK on all machines when viewed in Internet Explorer.
All HTML and JS is automatically generated when publish in Flash CS4, but even when I play movie (Ctrl + Enter) in Flash CS4 it is working very unstable.
You wrote it stops working on Your machine after pressing arrow, in my expirience if You refresh site few times it will work OK, until You will move mouse over moved movie clips. Problem exist even when I remove all eventListeners. It still can freeze.
Link to FLA file I sent in private message.
I really appreciate Your help :)

Best wishes
ArekS

areks
April 29th, 2009, 04:57 PM
It was 700 lines of code it i reason why I send it to You as FLA file :)
Now I removed all not importand lines and past code. Why it still freeze in standalone player or all not Internet Explorer browser?

... code romoved...

areks
May 4th, 2009, 08:23 AM
Found solution. Need to Tween var make global because garbage collector sometimes collect it before tween was end.

Best wishes
ArekS