Using FireBug, I found that the DetectFlashVer() wasn't firing. Huh?
I checked the files, made sure I hadn't changed any configuation, double checked with the team that I all the code. Everything was there, as they had it.
Only upon further investigation did I realize that I was missing the AC_OET.js and /history from my template. This seemed strange in the beginning, but the client insisted everything was running fine for them. I had to assume it was my configuration, trying to run Flex 3.5 from Flashbuilder 4.6, I must've been doing something wrong.
My only guess is that because AC_OET.js didn't exist a long time ago (I actually don't know when it was introduced to the SDK), when I tried to build the package, because it wasn't in the html-template folder, it wasn't going to just show up, and because the html template was probably based on the newer SDK, it was looking for the javascript, and because it couldn't find that, never loaded...
Case solved.
Old html:
if(DV(6,0,65)&&!hV){document.title=document.title.slice(0,47)....
New html:
var hasProductInstall = DetectFlashVer(6, 0, 65);
This made a big difference. Hope this helps you.
No comments:
Post a Comment