Saturday, June 23, 2012

[Action Script] Flash issues June,2012

I have a project I been working on and it is pretty huge. Has a file loading and unloading a lot of child swfs and each child swf doing a lot of stuff on its own. Its all set up using the pureMVC framework and it works fine. Well just about.

We have clients using different versions of flash players . And some of them dont want to upgrade flash players or cant upgrade flashplayers .And some still use flash player 9 . So we end up targeting the file to flashplayer 9. I use cs5.5 and code in as3 .

So issue is this. I create a swf file with the required functionality. Works fine on its own.No issue what so ever . When I publish the main swf that handles the loading and unloading of child swf that works fine as well. The problem comes when we start to embed the main swf in html. There are these weird cases where sometimes the child swf doesnt tween completely. Like a simple gotoAndPlay will stop mid way during a tween. so will never hit a stop frame on the timeline at all or does any functionality that needs to happen when the timeline reaches the frames. or it wont read the timeline scripts due to which it will just miss the stops on the timeline and keep looping through the movie and stuff like this.To make it even worse the same child swf works fine one time. then the next time it is buggy and this is random and sporadic. To cap it all off sometimes it works on one computer running a different browser different flash player version and not on other computers. I dont know if there is anywhere I can look to find a fix for this issue .Or atleast explanation for why this happens. Is there a as3 loader code I m missing ?

Sorry to have wrote a essay there .This problem just does my head in.
Flash issues

Related Post



0 comments: