Issue with FileReference.load() on Mac/Firefox 3.6/FlashPlayer 10.0.45.2

Hey there,
After several days of banging my head against my desk trying to figure out what my application is doing wrong, I think I stumbled across a problem that either I'm not handling correctly in my code or that is a bug in the Flash Player plugin for Firefox on the Mac (and on Linux).
Here are my specs:
MacBook Pro with Snow Leopard 10.6.3
Firefox 3.6.3 w/ Flash Plugin 10.0.45.2
Safari 4.0.5 w/ Flash Plugin 10.0.45.2
FlashBuilder 4.0 (272416)
Flex 3.5 SDK
I can't post the code I've been working on as it's for a work project; however, I found something on Adobe's site that manifests this problem:
http://www.adobe.com/devnet/flash/quickstart/filereference_class_as3/
If you open up this page in Firefox 3.6 on the Mac, you may notice that the crop box doesn't work properly (or at least I noticed this behavior).  What I would see is that the crop box would immediately fill to the lower right hand corner.
Open up the same link in Safari and it works properly.
The following is what I've noticed in my debugging efforts on my own application:
After completing a FileReference.load call, the Flash application appears to lose focus (perhaps to the operating system?)
Moving the cursor (both in my case and I think in the example on the site) results in getting undefined (and astronomical) values back when you poll for the mouse cursor's position.
Clicking outside of Firefox and clicking back in seems to resolve this.  It seems like leaving the window and returning solves the problem.
To provide another example of this behavior, I've altered some code that does a similar function to the example on Adobe's site to produce some statistics about where the mouse cursor is:
The code example:
http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the- filereference-class-in-flash-player-10/#more-766
My code (my changes are bolded):
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the- filereference-class-in-flash-player-10/ -->
<s:Application name="FileReference_load_test"
               xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/halo"
               xmlns:net="flash.net.*" xmlns:mx1="library://ns.adobe.com/flex/mx"
               creationComplete="init()">
  <fx:Script>
    <![CDATA[
      import mx.controls.Alert;
      import mx.utils.ObjectUtil;
      [Bindable]
      private var appX:Number;
      [Bindable]
      private var appY:Number;
      private function init():void {
        addEventListener(MouseEvent.MOUSE_MOVE, handleMove);
      private function handleMove(event:MouseEvent):void {
        appX = event.localX;
        appY = event.localY;
      private function btn_click(evt:MouseEvent):void {
        var arr:Array = [];
        arr.push(new FileFilter("Images", ".gif;*.jpeg;*.jpg;*.png"));
        fileReference.browse(arr);
      private function fileReference_select(evt:Event):void {
        fileReference.load();
      private function fileReference_complete(evt:Event):void {
        img.source = fileReference.data;
        Alert.show(ObjectUtil.toString(fileReference));
    ]]>
  </fx:Script>
  <fx:Declarations>
    <net:FileReference id="fileReference"
                       select="fileReference_select(event);"
                       complete="fileReference_complete(event);" />
  </fx:Declarations>
  <s:Panel id="panel"
            horizontalCenter="0"
            verticalCenter="0"
            width="500">
    <s:layout>
      <s:VerticalLayout />
    </s:layout>
    <mx1:Image id="img"
              verticalCenter="0"
              horizontalCenter="0"
              maxWidth="200"
              maxHeight="200" />
    <mx1:ControlBar>
      <s:Button id="btn"
                 label="Browse and preview..."
                 click="btn_click(event);" />
      <s:Button label="Upload..."
                 enabled="false" />
      <s:Label text="MouseX:" />
      <mx1:Text text="{appX}" />
      <s:Label text="MouseY:" />
      <mx1:Text text="{appY}" />
    </mx1:ControlBar>
  </s:Panel>
</s:Application>
If you compile and run this application in Firefox, you should see that the X and Y values for the mouse stop updating after the file is loaded.  On Safari they continue to update.
I couldn't find any reference to this problem searching on Google (perhaps not the right keywords?).
Anyone have any input on this issue?  Any help is appreciated

Updates:
I've opened a bug with Adobe regarding this issue:
http://bugs.adobe.com/jira/browse/FP-4362
Also, the Cancel operation on a FileReference causes the same issue to happen as does loading.  I really think it's an operating system focus issue.
UPDATE:
Looks like this has already been tracked and is scheduled to be fixed:
https://bugs.adobe.com/jira/browse/FP-2785

Similar Messages

  • Issue with site load time when exported as HTML. Addressed?

    Has the issue with website load time been addressed?
    I believe the site attempts to load the entire image content at the initial visit - meaning any galleries with numerous pictures are all included when first getting to the site. This is causing a HUGE increase in load time. I was told when I last brought it up that it was an apparent issue that needed to be addressed.
    Any type of resolution coming?
    Site for reference: www.dkrecollection.com

    Major updates of Muse are targeted to release roughly every quarter. The 1.0 release was in mid-May. The 2.0 release was in mid-August. A fundamental change to image loading would only appear as part of a major update due to the engineering and testing efforts required.
    As provided in your previous thread http://forums.adobe.com/message/4659347#4659347 the only workaround until then is to reduce the number of images in the slideshow.

  • Having An Issue With Site Loading In Firebox

    Hello,
    I'm having a small issue that I could use some help with. I'm not really sure what is going on, but I'm having an issue with one of the pages from my site not loading when trying to view the page in Firefox. But if I load this page in Safari or Chrome, it loads just fine.
    Here's the page URL to take a look: <!-- deleted ~J99-->
    <sub >Specific link removed from display by moderator ~J99 </sub> <sitename>.com/top-10/top...services/
    <!-- thread now solved, link removed -->
    Any idea on why this could be happening or how to fix it? I'm not sure if it's just my computer, or if others are having the same issue.
    Thanks in advance,
    Mike

    Hello Mike,
    I have no problem loading and seeing the page <site>.com/top-10/...monitoring-services . General advice would be to try clearing cache and site cookies on the machine you are using.
    *see [[Firefox can't load websites but other browsers can]]
    I imagine you will have easy access to other machines on which you can test with Firefox so hopefully you will be able to test and demonstrate that the page does normally load on Firefox.
    Website design is outside the scope of this forum, but you probably have a professional team working on that.
    I did note from <sitenname>.com/disclosure/
    <blockquote>Disclosure <br /> In regards to the new FTC regulations, we are making this page to be compliant with 100% transparency regarding disclosure of incentive and paid reviews. <br /> Every page on this site has been created to generate revenue. <br /> This site generates income through banner advertisements and affiliate links on product reviews.</blockquote>

  • Performance issues with class loader on Windows server

    We are observing some performance issues in our application. We are Using weblogic 11g with Java6 on a windows 2003 server
    The thread dumps indicate many threads are waiting in queue for the native file methods:
    "[ACTIVE] ExecuteThread: '106' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE
         java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
         java.io.File.exists(Unknown Source)
         weblogic.utils.classloaders.ClasspathClassFinder.getFileSource(ClasspathClassFinder.java:398)
         weblogic.utils.classloaders.ClasspathClassFinder.getSourcesInternal(ClasspathClassFinder.java:347)
         weblogic.utils.classloaders.ClasspathClassFinder.getSource(ClasspathClassFinder.java:316)
         weblogic.application.io.ManifestFinder.getSource(ManifestFinder.java:75)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.application.utils.CompositeWebAppFinder.getSource(CompositeWebAppFinder.java:71)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.utils.classloaders.CodeGenClassFinder.getSource(CodeGenClassFinder.java:33)
         weblogic.utils.classloaders.GenericClassLoader.findResource(GenericClassLoader.java:210)
         weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:160)
         weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:182)
         java.lang.ClassLoader.getResourceAsStream(Unknown Source)
         javax.xml.parsers.SecuritySupport$4.run(Unknown Source)
         java.security.AccessController.doPrivileged(Native Method)
         javax.xml.parsers.SecuritySupport.getResourceAsStream(Unknown Source)
         javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown Source)
         javax.xml.parsers.FactoryFinder.find(Unknown Source)
         javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
         org.ajax4jsf.context.ResponseWriterContentHandler.<init>(ResponseWriterContentHandler.java:48)
         org.ajax4jsf.context.ViewResources$HeadResponseWriter.<init>(ViewResources.java:259)
         org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:445)
         org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:193)
         org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    On googling this seems to be an issue with java file handling on windows servers and I couldn't find a solution yet. Any recommendation or pointer is appreciated

    Hi shubhu,
    I just analyzed your partial Thread Dump data, the problem is that the ajax4jsf framework ResponseWriterContentHandler triggers internally a new instance of the DocumentBuilderFactory; every time; triggering heavy IO contention because of Class loader / JAR file search operations.
    Too many of these IO operations under heavy load will create excessive contention and severe performance degradation; regardless of the OS you are running your JVM on.
    Please review the link below and see if this is related to your problem.. This is a known issue in JBOSS JIRA when using RichFaces / ajaxJSF.
    https://issues.jboss.org/browse/JBPAPP-6166
    Regards,
    P-H
    http://javaeesupportpatterns.blogspot.com/

  • Issue with a load from R3 to BW 3.5

    Hi Guys,
    We are having an issue here with a load from R3 to BW 3.5 to an ODS and
    a transactional infocube.
    In a daily basis we are running loads to BW from R/3 infosets and all
    of them but one loads fine.
    The one that is having problems is actually the one that loads more
    data, therefore the infopackage is divided into two infopackages.
    In the update rule of the first ODS we are running an initial routine
    in which we are doing a RSDRD_SEL_DELETION (selective deletion) of the
    data to be loaded to both the ODS and the infocube, and is actually
    here where we got the core dump.
    Our first assumption was that maybe there was any yellow request in the
    transactional infocube avoiding the selective deletion but we have
    discarded this.
    We think that, as the only one failing is the one that divides into two
    infopackages, the problem might be that at the moment that the first is
    triying to delete the second one is loading data into the ods and there
    we get the dump.
    The question here is ¿Could this be the problem? ¿How could we
    workaround this if this is the case?
    Thanks for any suggestion.

    Hi,
    Be carefull on ODS activation, if you're using 2 infopackage and/or deleting data from an ODS which is lock for an activation, you'll occurs a dump.
    Check SM12 / ST22 / SM21 and job logs in SM37.
    And if pb still occurs for a load, debug it in start routine.
    Regards,

  • Cache refresh issue with PI Load Balanced HA setup.

    Dear Experts,
    Wei have installed a HA Load Balanced PI Production Server with the below specifications. Its a four node cluster. Two nodes for Application Cluster and another two nodes for Database Cluster.
    Node1
    Physical Hostname  : axsappci
    Virtual Hostname  : axsapp00
    Instances         : CI,SCS and ASCS.
    Node2
    Physical Hostname : axsappdi
    Virtual Hostname   : axsapp00
    Instances          : Dialog instance installed with physical hostname axsappdi
    Node3
    Physical Hostname : axsappd1
    Virtual Hostname   : axsappdb
    Instances  : DB Instance.
    Node4
    Physical Hostname : axsappd2
    Virtual Hostname   : axsappdb
    Instances  : Standby DB Instance (passive).
    Web Dispatcher Hostname : h2h
    Application Switchover : CI,SCS and ASCS to switchover to Node2 and dialog instance Node2 forcing to go down
    Database Switchover : DB Instance switchover to Node2 if Node1 fails.
    We have changed all the parameters according to note 951910 -> NW2004s High Availability Usage Type PI
    I am facing an issue with the cache Notifications in the Integration Repository and Directory. The cache notifications are not happening properly particularly with the ABAP Cache.
    I get the below error in my ID when i try to do the manual cache notification.
    Unable to notify integration runtime (ABAP) of data changes
    Unable to establish http connection "http://h2h:8002/sap/xi/cache?sap-
    client=001"
    Kindly assist.
    Thanks and Regards
    Raghu.

    Hi Srikanth,
    Thanks for the reply.
    I have configured my web disptacher to use default HTTP and HTTPS ports i.e 80 and 443. According to note 951910 i have changed parameters in exchange profile to use these ports.
    Regards
    Raghu.

  • Anyone got Issue with Time Machine on Mac OS 10.9.5 on External Hard Drive?

    Mac Book Air June 2012, Mac OS 10.9.5 (fully updated) external Hard Drive, USB 3
    Dear all,
    Just realized that my regular Time Machine back-ups don’t work anymore: despite several back-ups, Time Machine tells me that I did not back-up for 10 days but I did not get any error message.
    Suspected an issue with my external Hard Drive, so took a brand new one 1TB, labelled Mac OS, USB 3, sold at Apple Corner.
    Registered this new drive in Time Machine, started a full back-up of about 350 Gb, and it is hanging up, 13Kb copied in one hour.....
    This become very critical as I don’t have back-up since a few days....
    Your help will be upmost appreciated.
    Best regards to all,
    Bernard

    Temporarily turn Time Machine "off". Make sure a backup is not in progress, then rebuild the Spotlight database according to the following instructions: Spotlight: How to re-index folders or volumes
    (summary: drag the entire source volume to the exclusions list, click OK, then remove it by clicking the minus ("–") button.)
    This will have no effect on any existing backups.
    Let Spotlight finish reindexing and then turn Time Machine back "on". Select "Back Up Now".

  • I am having an issue with Outlook 2011 for Mac.

    Emails show up in my Trash folder that are not trash or junk.  How do stop the Trash folder from snagging my emails? 

    I suggest you post your question on Microsoft's forums for their Mac products, as it's their software you're having issues with:  http://answers.microsoft.com/en-us/mac

  • Issue with Data Load Table

    Hi All,
           i am facing issue with apex 4.2.4 ,using the  Data Load Table concept's and in this look up used the
          Where Clause option  ,it seems to be not working this where clause ,Please help me on this

    hi all,
        it looks this where clause not filter with 'N'  data ,Please help me ,how to solve this or help me on this

  • Did this resolve my Safari 5 issue with not loading pages as fast?

    I've been having this problem every since I got my laptop a month ago... I have a wireless router that's connected to a PC, and I use wireless on my laptop. My old laptop was a PC, and the internet connection was just fine on it. However, I'm having issues with my MacBook Pro. When I first turned on my laptop after taking it out of the box, Airport detected my wireless router and connected me to the internet. Obviously, I used Safari 5 as my browser and although it works... it doesn't load the pages as fast as it should. It even stops loading at times. Usually, I quit Safari and reopen Safari and it works and if it doesn't, I click on the reload button or just keep re-opening Safari until it does work... buttt I am tired of doing that now. So after a lot of attempts by trial and error, I think I found the solution and was wondering if anyone could confirm this with me. I went to my router's IP address and I looked at the settings. I looked at the router's DNS settings and I copied and pasted that router setting into the DNS settings on my laptop for the wireless network. Now, my internet seems to be working... but then again it has only been 5 minutes. So my question is... the router's DNS has to match the wireless network's DNS address?
    Sorry if this sounds like a stupid question... I'm not an expert when it comes to internet, LAN, proxies, and etc. settings. Thank you!

    Further investigation has revealed that the following error message is being generated within Safari during the first time the that the page is loading,
    "Refused to load from document base URL. URL found within request."
    The <base> directive in the HTML, in this instance, is referring to a different URL than the one that the page is running from. The page with the problem is running on a remote server and back referencing to the home server for the <base> reference. This fails when the page first loads but seems to be accepted if a page-reload is done. It also works on all other browsers that have been tested.
    Is this related to a security setting in the browser?

  • Issues with external drive on Mac Mini / Lion

    I'm using an external SATA drive in a Newer Technologies Voyager dock (which I like to call the "toaster") with a brand new Mac Mini i5 2.3G via FW800.
    The drive was formatted using Disk Utility on a G4 running Tiger (10.4.11)
    With the drive mounted, the Mini's performance seems to slow down, and it randomly dismounts the drive, with the usual warning, "you disconnected your drive without dismounting it first, bla bla...)
    I think I remember when Leopard was new, there was a firmware issue that had to be dealt with, and when moving drives from OS 9 to X and back to 9, I lost access to the data on the drive.
    I'm also aware of the partitioning scheme difference when formatting drives for use on the Intel machines.
    Could either of the above have anything to do with the problem I'm having here?

    I'm not an expert in this, but as far as I know, GUID only comes into play if you want to boot from it, but...... you never know, it could - here is an excerpt from Disk Utility:
    If you’ll be using the disk only with Mac computers, choose GUID Partition Table.
    Another thought is: how old is that drive? All hard drives fail sooner or later - have you tried to check it with Disk Utility or something like Disk Warrior?

  • How can i fix Connection issues with back to my mac since yosemite upgrade.

    Ok I have been having nothing but problems with back to my mac since the upgrade. both machines are using yosemite and I have even reinstalled yosemite on both still having connection issues. anyone else know how I can fix this? I get one of 2 error messages one that says there is a problem connecting and i should make sure screen sharing is active and then another that says the server does not exist. So far to get it working it involves restarting back to my mac or both macs. This is not a good fix since once I disconnect and try to reconnect a few hours later it does it all over again. I am currently in France and needless to say my parents are starting to get really annoyed with constantly having to do things on there end so I can remote into my iMac.Before the yosemite upgrade I maybe had to do this once or twice.

    What I have done is open Disk Utility, Repair Permissions, and do that more than once if it returns a lot of errors in the permissions.  Then Restart the Mac.
    Also, go to System Preferences > Spotlight and try turning off a couple settings such as search suggestions...these things are taking a lot of resources now.

  • Repeated issues with Adobe Flash and Facebook Firefox 6

    I have had repeated ongoing issues since upgrading to Firefox 6. Adobe Flash crashes repeatedly, even after installing the newest. In particular having a ton of issues with Facebook. It all works fine in IE, so have narrowed it down.
    I think I would just like to go back to Firefox 5. Is that available somewhere?

    Anyone able to help please?
    Thanks.

  • Issue with Data Load to InfoCube with Nav Attrivutes Turned on in it

    Hi,
    I am having a issue with loading data to a InfoCube. When i turn
    on the navgational attributes in the cube the data load is failing
    and it just says "PROCESSED WITH ERRORS". when i turn them off
    the data load is going fine. I have done a RSRV test both on
    the infoobject as well as the cube and it shows no errors. What
    could be the issue and how do I solve it.
    Thanks
    Rashmi.

    Hi,
    To activate a navigation attribute in the cube the data need not be dropped from the cube.
    You can always activate the navigation attribute in the cube with data in the cube.
    I think you have tried to activate it in the master data as well and then in the cube or something like that??
    follow the correct the procedure and try again.
    Thanks
    Ajeet

  • Issues with Powerpoint on my MAC

    I am having an issue with Powerpoint for MAC. I am running Office 2008 on my MAC with OS X 10.6.8. As I work on a slide, all of sudden the deck jumps all over the place! I have to constantly scroll through the deck to get back to the slide I am working on, and then try to do as much editing before the deck goes crazy again. It's a probelm that's existe since the beginning but today I've had enough of it.
    Anybody have any idea as to what's going on? I use the Bluetooth mouse that came with the MAC . Could there be some sensitivity issue with it that's causing the eratic jumping?
    Thanks

    This forum is for troubleshooting Apple Software Update for Windows, a software package for Windows designed to update Apple products that run on Windows, and not related to Microsoft Office in any way. Therefore you will need to ask Microsoft or post Office related questions on Microsoft's own forums for their Mac products.
    http://www.officeformac.com/productforums

Maybe you are looking for

  • Dynamic Text in the Page Header

    Hi Gurus,      I have a small requirement i.e., changing the text of title on page header UI element based on condition. if create then create data else if it is display then display the info some thing like that.    Kindly can some help me regarding

  • Comportement de serveur non affiché dans le panneau des comportements de serveurs

    Bonsoir, Je dispose d'une page développée en PHP - MySql qui contient un formulaire d'ajout de données en base. Lors de la création de la page, le comportement de serveur d'insertion de données était bien affiché dans le panneau des comportements mai

  • BEx Query Cell Definition (If ..then...else with AND)

    Hello Experts, I am struggling with a requirement which I need to define in the Cell definitions in Query designer. I have tried going through the numerous posts regarding this if..then...else in SCN but were of no help to me. My requirement is as fo

  • Query data not displayed

    Hi Experts, I have trasported the standard report from DEV to production. The query(report) works fine in development and is built on multiprovider, so when i check in production the query say no data found. What would be the solution? can i re-impor

  • Safari isn't working properly, says it cannot find the Internet plug-in

    After I installed Mozilla Firefox, Safari is not working properly. It says: Safari cannot find the Internet plug-in The page "Now Casting - The Best in Guides & Labels" has content of MIME type "application/x-shockwave-flash". Because you don't have