Wednesday, November 25, 2009

RoboHelp - Flash content isn't rendered under Mac OS

This bug was really interesting, but I've spent some time to fix it.

There was a generated help by Adobe RoboHelp 7.0.3 version. Everything was working fine under Windows OS, but not under Mac OS. Flash part of it wasn't rendered at all (it was rendering approximately one time per 50-70 launches).

It was pretty confusing, so I started analyzing JavaScript files generated by RoboHelp. I found out that JavaScript functions, which had to be called when Flash objects are loaded, aren't called at all. So I decided to investigate way of communication between Flash and JS in RoboHelp.

After decompiling .swf files of RoboHelp I saw that JavaScript is called from Flash with help of instances of LocalConnection class. So I started looking for known issues in Flash for this class under Mac OS and found this post - http://forums.adobe.com/thread/495868.

So it's became clear that newest version of Flash player should be installed - 10.1 http://labs.adobe.com/downloads/flashplayer10.html.

No comments:

Post a Comment