Select to view content in your preferred language

Flex Test Runs in FF but not Chrome

1953
1
Jump to solution
08-02-2012 10:25 AM
JohnWall
Regular Contributor
I am having an issue with testing my application in Chrome, but it appears to run fine in Firefox. Previously, I was able to Run Tests using Chrome, but something seems to have gone wrong when I attempted to add an image to the controlBarContent. When I attempt to run a test in Chrome all I get is a blank screen which then flickers once.

I have subsequently removed the image tag and related code leaving only this block for the controlBarContent:
<s:controlBarContent>   <mx:Text color="#EC6500">    <mx:htmlText>     <![CDATA[     <b><font size="18" font-weight="bold">Institut für Angewandte Geowissenschaften</font></b>     <b><font size="12">Forschungsprojekte: Geo-Ressourcen und Geo-Risiken</font></b>     <font color="#000000" size="12">Created by John Wall [someEmail]@gmail.com</font>     ]]>    </mx:htmlText>   </mx:Text>  </s:controlBarContent>


Additionally, I have copy and pasted the code into two new packages seeing if something might be the issue there. The pathname of one of these packages contained no spaces or special characters while another one had the default "Adobe Flash Builder 4.6" file in the pathname. Yet, neither one of these worked.

I have also experimented with removing various parts of the HTML including the entire section of <mx:Text> code, but nothing changed.

This was the only section of code I was editing when I noticed the issue, thus why I figured it must contain the issue. If more code is needed, please let me know and I will provide it.
Thanks in advance,
John
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
JohnWall
Regular Contributor
After quite a bit of poking around on Flex specific forums, I was able to find a fix to the issue. It had to deal with Chrome and the Flash Debugger. It turns out that Chrome has been bundling Flash in each new release, but the debugger version does not always appear to be downloaded. So, I must have inadvertently updated Chrome causing the debugger to be killed thus the issues I seemed to be experiencing. I have found a blog post here which explains the workaround.

View solution in original post

0 Kudos
1 Reply
JohnWall
Regular Contributor
After quite a bit of poking around on Flex specific forums, I was able to find a fix to the issue. It had to deal with Chrome and the Flash Debugger. It turns out that Chrome has been bundling Flash in each new release, but the debugger version does not always appear to be downloaded. So, I must have inadvertently updated Chrome causing the debugger to be killed thus the issues I seemed to be experiencing. I have found a blog post here which explains the workaround.
0 Kudos