Flex panel not shown as disabled.

I am creating a flex panel and a C++ plugin for Photoshop CS5 and CS6 on both Win and Mac. My C++ plugin captures events like layer selection change, document view change etc and dispatch events to flex. In flex I register these events and appropriate functions get called. All this works perfectly.
For example, when user selects another layer from Layer Palette of Photoshop my plugin dispatches an event. This event is captured in flex and a method is called. Inside this method i need to disable my panel, do some processing and then again enable my panel. This works fine on Win XP and on Photoshop CS5 but not on Mac and Win 7. And if I do a mouse over on my panel when some processing is going on then my panel is displayed as disable otherwise it is displayed as enabled. I am using the following code:
In C++ the layer selection change event is dispatched. In flex it is captured and a function "LayerChange" is called.
public function LayerChange(event:CSXSEvent):void { this.enabled = false; CursorManager.setBusyCursor(); //do some processing
this.enabled = true; CursorManager.removeBusyCursor(); }
Can someone tell me why the panel is not shown as disabled until and unless mouse moves over the panel?
Thanks

Paul,
In the future, simplying your use case will improve your chances of getting an answer. I ran your app and ran into an infinite loop here:
                while (true) {
                    trace("Calling draw()");
                    draw();
                    trace("Calling updateUniverse()");
                    updateUniverse();
The Flash Player is single-threaded. So it will not render anything while it is in the middle of a function stack. You need to truigger your updating logic with a Timer in order to see anything rendered.
Jason

Similar Messages

  • Extension Panel Not Shown in InDesign Extensions Window

    I finally managed to view Maria Gutierrez' tutorial on building a plug-in. The demo <sarcasm>very cleverly</sarcasm> does not provide instructions or a downloadable sample file for either the manifest.xml or the <my-project>.mxml file. I actually had to freeze the frame and manually write out what I saw in the demo.
    I followed her instructions for copying the bin-debug folder (actually, she only gives instructions for MAC, and I copied them to the "C:\Users\<user>\AppData\Roaming\Adobe\CS5ServiceManager\extensions\" folder on my Windows 7 as per the "Using the Adobe Creative Suite 5 SDK" PDF. I also set the registry value to allow debugging.
    When I opened InDesign, I couldn't see my extension in Windows->Extensions.
    However, if I copied the extension directly into the "D:\Program Files\Adobe\Adobe InDesign CS5\Plug-Ins\Panels" folder, the extension appeared in the list and functioned just fine.
    I have csaw_indesign.swc refernenced correctly in my list of libraries and <Host Name="IDSN" Version="7" /> in my manifest.xml.
    I'd really appreciate help here.
    TIA
    mlavie

    Maybe take that as a lesson to not be so sarcastic...
    They really did very good work with the CS SDK. Documentation is always a little sparse in a 1.0 version of anything...
    Anything missing in the docs is more than made up by this forum!
    Harbs

  • Origianlly Flex Application not shown properly in google chrome browser

    When I launch my flex application in Google Crome it does not fit properly. It falls short of the full height . On clicking 'restore down' button at top right corner followed by 'maximize' , then the application fully fits within the browser window.
    Any input why it happens ??

    We run our app in Mozilla. I need to check it out in IE.
    I noticed in our app (one of my developers uses Safari on a Macintosh), that the tree control looks much different in Safari, and has huge gaps and blank spots in the text labels of the leaf nodes.
    We logged it as a bug in our app, but it appears it's a bug in the FLEX framework??

  • PDF with Flex/Flash not running on iPhone

    Dear all
    I have a pdf document including Flex content running perfectly in the Acrobat or Reader on Windows.
    On the iPhone the Flex is not shown.
    Is there any solution to this?
    Many thanks

    Flash has never been and never will be supported on the iPad. Furthermore, Adobe has withdrawn Flash support from other mobile devices so you're out of luck.

  • Front panel is not shown completely.

    Hi.
    I have worked on a project more than three months and last week I was faced with a strange problem. When I switch from 'block diagram' to 'front panel' window it is not shown completely. I had this problem in LabVIEW 8.0 then I removed it completely and installed LabVIEW 8.5 but after two or three days it happened again. I do not think it is related to my laptop because I tested it on three different computers. I deleted all objects in 'block diagram' and 'front panel' windows but the file still has this problem. I attached my file and some images. When I compile and make an executable file it still has the problem. The 'image3.jpg' shows that file. When switch from another window like word to this window it is not shown completely. I do not know what to do.
    Thanks a lot.
    Attachments:
    Main.vi ‏5 KB
    image2.JPG ‏147 KB
    image3.JPG ‏127 KB

    I tested your VI in 8.6.1 and observe similar redraw problems. I suspect something is corrupt.
    Have you tried starting with a new VI and copying you old code over?
    LabVIEW Champion . Do more with less code and in less time .

  • Are there any disadvantages to writing data to front panel indicators when the vi's panel is not shown during execution?

    Hi,
    In the case where a sub vi's panel is not shown during execution, does it matter if I include front panel indicators on the sub vi's panel? (these indicators were there for debugging purposes). Is there any performance penalty for this? Thanks!

    If the frontpanel is not loaded it has no time penalties. But a frontpanel is sometimes loaded because of property nodes!
    greetings from the Netherlands

  • Total records not shown in bottom panel

    Hi all,
    I am running Forms 10g. When my forms runs, the total record count does not shown in the bottom panel but a question mark instead. For example it would show 1/?
    Could you tell me why it would do that?
    Thank you.

    This is because forms do not know, how many records will be retrieved from the database.
    If you go to the last record, forms will show you how many records are in your block.
    You can set the Query All Records block-property to yes to see immediately how many records there,
    but if there are a lot of records to fetch, it might results in a long query time.

  • Why are clipping adjustments in the basic panel not being saved, updated or shown in the histogram? I am using LR 5.7 on a MAC OSX 10.8 etc.

    Why are clipping adjustments in the basic panel not being saved, updated or shown in the histogram? I am using LR 5.7 on a MAC OSX 10.8 etc.

    Here is more information and hopefully a better explanation. My version of
    LR-5.7 (OS X 10.8.5) apparently does not save the .NEF (Nikon RAW) edits
    done in the basic module. That means that I can correct exposure,
    highlights, shadows etc. but once I go to another picture and returned to
    the edited one the histogram (on the edited photo) and specifically the
    clipping triangles are white or some other color. This is normally suppose
    to indicate that some channel or all channels are clipped in the
    highlight/shadow areas. If I adjust any slider in the Basic panel even as
    little as one +/- value or press the J-key, the histogram will now show the
    original edit. Moving on to another photo and then returning to to
    previously edited one and again the edits are "not saved" and I have to hit
    the J-key or adjust a slider to see the previously edited information
    reflected in the histogram.
    This is especially frustrating for fours reasons. If I have edited a shoot
    and return to it I cannot see from the clipping information whether the
    original edit was correct and of course I might re-edit it (to some now
    incorrect value). This brings up the second issue synchronization. I can't
    rely on it because if I go back to fine tune a specific image in the batch
    the triangles are white or some other color for that and every image. I have
    to hit the J-key to show/hide clipping or the back slash key to see
    before/after previews. This is the third issue which is very time consuming
    and inefficient regarding my workflow. The forth issue is that I have
    noticed that normally when an image is saved in PS, LR adds a copy of the
    saved version to its catalogue. I have noticed that the PS to LR saves are
    all wrong in terms of exposure (they are much lighter in tone) than the
    original LR edit and the PS edit on my screen. If I check the PS to LR photo
    in LR I notice that the Basic panel values have been changed and that I have
    to sync the image with the originally edited RAW/NEF LR file to get it to
    look the same.
    Note 1). I am using an Apple cinema display and a calibrated Eizo ColorEdge
    monitor to view my NEF files. I have reverted back to using LR 4 however I
    am not sure if I should expect compatibility problems with Camera Raw 7.4 in
    LR 4 vs. Camera Raw 8.6 in LR 5.
    Note 2.) I am going to do an import converting everything to .dng  to see if
    this is a work around.
    Note 3). I would be interested in knowing if this issue is related to the PS
    RAW engine ver. 8.6, the Adobe created NEF calibrations or LR 5.
    Note 4). I have duplicated this issue in OS X 10.8.5, OS X 9.xx and OS X
    10.10.1
    Hopefully someone else has noticed this problem. Any shared information
    would be valuable. Thanks for the reply.

  • Distribution patch not shown in control panel

    Hello everybody,
    I have following question:
    After installing a distribution patch it is not shown in the software applet of control panel either as separate product nor as an update to the existing one, even if the "show updates" checkbox is on.
    Is a problem of the patch or general problem of LabWindows/CVI 2010?
    Regards,
    Marek

    Hi,
    Some packages don't show their exact version in MAX or in The Windows Control Panel. For example  LabVIEW 2010 with the F1 patch (2010F1).
    In MAX : Open Max. Look at the software versions. 
    Some packages show their exact version 
    One way to view the version :
    Please keep in mind the patches are typically released on a per issue basis and the primiary intent is to provide a fix that typically needs immediate attention.
    Houssam Kassri
    NI Germany

  • Remote Panel not working in Windows 7 Starter

    Hi all,
    We have an application that can be controlled via remote panel. This is working fine in Windows XP PC. But when I try to access the same by opening Internet Explorer in a PC running Windows 7 Starter OS, I only get the 'Downloading 0.00% of 0 bytes'. I have disabled the Windows Firewall and there is no antivirus software also. What could be the reason for this? How could I solve this?
    Thanks in advance,
    Priyadarsini
    Solved!
    Go to Solution.

    The system which had the problem was a netbook that came with Windows 7 Starter. We found out recently that there was some parental controls utility in the netbook that prevented the LabVIEW Remote Panel access. We were not aware of its presence & it had not shown any indication that it had blocked Remote Panel communication. We uninstalled this utility & the Remote Panel started working as intended. Thanks again for your help.

  • Yosemite 10.10.1: Finder/CIFS mount problem: wrong folder count/folders not shown @samba shares

    Hello to all,
    we have several MacBook Pro (15" MBP Retina 2012/13"MBP Retina 2014) running. After upgrading to Yosemite 10.10.1 we had one nightmare after the other.
    Most problems could be solved with 3rd party software upgrades but there are several problems with the operating system itselve which can not really  be called a professional productive system at the moment...
    Ok., one thing after the other...here is one of our biggest problems:
    After upgrading from Mavericks or Mountain Lion to Yosemite 10.10.1 the CIFS/SMB mounts to our samba 3.x servers, running on Ubuntu Linux LTS 12.04 makes trouble. We could mount the server shares but after browsing with the Finder the beach ball occures and the Finder hangs forever. Sometimes we could not refresh the Finder, killing the process ended in a complete hang-up of the system which ended in a switch off death blow. This is not amusing because we have 30Tb of customer data there, which has to be worked out.
    We heard about the SMB3 protocol which will be used per default in Yosemite and so we decided after some testings to upgrate our Ubuntu servers to the latest LSF 14.04. release with samba 4.1.6 installed. There was no message from Apple for this SMB protocol release upgrade, never heard something related to Yosemite (Why?).
    Ok, after these server upgrades and disabling most of the Spotlight functions the performance to the CIFS shares was a little bit better as before but now we have another problem with the Finder...if you browse to the shares there are folders missing which have lots of files in it. For example there is a folder with 60 subfolders and 3562 files on the first level in it, the Finder shows 220 files and 15 folders. The Terminal shows a different count with "find . -maxdepth 1 -type d | wc -l" or "find . -maxdepth 1 -type f | wc -l" but there is also a difference to the original file and folder count. It doesn`t matter if the clients are connected via WiFi or Gigabit Ethernet. We have no access problems. We have the same behavior if we set the files and folders to 0777 permissions on the servers. The deletion of the preferences files of the users on the MacBooks does not solve the problem. If we use the "Go To Folder" option and type the path to a folder which is not shown in the Finder you get an result or not. But it is also possible that the result is not correct and there are also still files or subfolders missing.
    In my opinion this is a timeout problem and a "special SMB3 protocol interpretation" which is buggy. We have one hint found in /var/log/system.log:
    "Jan 23 14:35:49 wsosx33.clients.getcom.de KernelEventAgent[69]: tid 54485244 type 'smbfs', mounted on '/Volumes/customersdata2015', from '//x144067:@srvlxp013.servers.getcom.de/customersdata2015', not responding"
    We had no problems with Mavericks at all, we still have no problems with Windows 7 Pro/Ultimate, Windows 2008R2 (native or virtual) or Linux Mint 17/17.1 clients, neither with samba 3.x nor with our actual environment and different newer samba releases.
    We believe that this is a big bug in Yosemite, but we cannot go back to Mavericks because of incompatible TimeCapsule backups. Our workarround at the moment is that we have installed Linux Mint on our MacBooks to get 80% of our daily jobs done, rest has to be done with Windows 7 installed over virtualbox @Linux.
    We have no clue at the moment how to solve this problem, the samba logs do not give any hint. The access from other operating systems is perfect and very fast, but not with Yosemite. We checked different tips found in the internet but nothing helped.
    Does anybody has another idea to get Yosemite working or should we keep Linux Mint until Apple will provide a CIFS/SMB patch and going on with our workaround solution, which is productive at the moment ??? Our staff is not amused and wants one solution and not this workaround with two operating system. We have to decide wether we wait until Apple will get this fixed or we have to switch to Microsoft Windows (which is a No Go for me, but I will not be asked...).
    Thanks in advance
    C.

    Hi William,
    thank you for your response.
    As you can read in my post I talked about CIFS/SMB.
    It makes no difference if we mount the share over CIFS or SMB.
    Folders with lots of files will not be shown even if we use SMB3 or an older protocol.
    As mentioned I believe this is a timeout problem.
    Does anybody know how the CIFS/SMB timeout setting in Yosemite could be changed?
    Kind regards
    C.

  • I AM STUCK WITH MOZILLA FIREFOX / NOT SHOWN ON MY LAPTOP SCREEN / USING HUGE AMOUNT OF RAM IN GENERAL - CAN YOU HELP????

    Hi,
    I have copied these problem on you site, as I could explain better then what they did, wich my problem remain the same as they have. And part me explaining what is really happen to my Laptop.
    ''Mozilla/Firefox 4 will not SHOW on my computer SCREEN.
    Firefox won't load onto my computer. I have Windows 7, and each time I try to run the program to install it, it tells me I have another version still waiting to be installed that requires my computer to reboot. When I check "yes" to reboot, my computer reboots but still no Firefox. When I try to uninstall the the old Mozilla program from my Control Panels, there is no Mozilla files or programs listed not in my list of programs but when I go directly to the Windows File on the C: Drive, there's a Mozilla program file there. WHen I go into that file check, I attempt to open the uninstall program. I get an error message that says something to the effect of: "the version Mozilla on this computer is not compatable with my OS." Something about it being and 86bit program. My Firefox 3.6 worked fine 2 days ago. What's wrong??? ''
    '''Firefox 4 using huge amounts of RAM on sites with Java scripts
    I have been observing Firefox using huge amount of RAM when I am on sites that use Java Scripts to rotate images. I have tried a couple of different sites and have monitored the RAM usage. With Java script enabled Firefox 4 continues to grow its RAM usage by about 10MB a minute. I have had the usage hit as high as 1.5GB. As a comparison I have monitored the same sites in Internet explorer and have not seen the same issue. - Just to eliminate a site issue.
    Turning off Java Script solves the issue and eventually frees the RAM.
    I am using XP Pro, 3 GB RAM. '''''
    My experince with Mozilla Firefox:
    Here what really happen when I install the Mozilla Firebox on my La[top you can see the file is there but when I click the program to open its does not shown on the screen but when I check with WTM (Windows Task Manager) its shows that is ON and you can only witness the laptop going very slow and I have to reboot it, and I can not install any other Mozilla :( because of the same problem and all the above.
    I really need Mozilla to work as soon as possible due to important deadlines I have pendent, and i can only use Chrome but is not my ideal program. Can you help me , please ?????
    Thank you
    Vitor Mendes

    If it opens in safe mode, you may have a problematic add-on. Try the procedure in the [[Troubleshooting extensions and themes]] article.

  • How to deactivate the rosetta option if it is not shown in information page

    Hi,
    by accident or why ever I clicked the option "start with rosetta" on my eyetv.app. STRANGE now the option is no longer viewable in information field and I can't start the application inside of the application folder because I get then the message "EyeTV can't run under Rosetta-Emulation" please deactivate the Option via Menu Ablage and unmark the option. BUT I can't see this option in information field. AND if i try to start the eyetv.app in an folder outside of applications it works.
    Anyone an idea

    Hi,
    thank you for the hint with command+i BUT THIS DOES NOT help of course, because I already wrote that I used this.
    I solved it now in different way which leads to a general question that somewhere the osx seems to note versions of programs and how to open them.
    Description of this issue now in detail:
    - I installed EyeTV in Version 3.0 on OSX 10.6 and started it.
    - a message appears that this program is not made for this OSX version (it was made for 10.5)
    - stupidly Elgato has no direct access to update from 3.0 to 3.1.2 which works with 10.6 WHICH means EyeTV has a buildin update BUT is useless if you can't start this app
    - OK this leads me to idea to enable the "Start with Rosetta option"
    - Didn't work
    - I took then an 3.1.2 Version from my TimeMachine Backup and copied it over the old ones
    - tried to start it and the message appear "This cannot run in Rosetta Mode"
    - HERE IT COMES the little option field where you can disable or enable Rosetta in the information of the eyetv 3.1.2 is not shown so I was unable to disable it of course
    - so i copied the file to a different directory and it works there normally
    - ..... AFTER 2 hours i remembered that I had set the "Start with Rosetta" option on version 3.0 and the Snow Leopard seems to have noted this somewhere and i need a trick to see this option and the only way is to use a version 3.0 file maybe the option will appear there again
    - ok copied Version 3.0 over the 3.1.2
    - AND AH the rosetta option appears and was enabled and I had here the possibility to disable or unmark it
    - then copy back the 3.1.2 Eyetv version file and AH it runs
    So imagine that someone else uses today an application which really needs rosetta, and a user activates this and after some month a Snow Leopard 64bit version comes and nobody tells the user to deactivate the rosetta version on old package before installing new one.... poor user, I guess the 64bit version will tell the crap "This application can't run under rosetta" and the user will never find the way to disable it.
    Hope there is a better way to find out for which application in which version was set the "start with rosetta" option in the system.
    IF ANYONE KNOWS PLEASE let me know

  • I did a backup from my 3G and want to get the backup now on my iPhone 4, but the backup from the old 3G is not shown as an option to configurate. How do I get the information on my new phone?

    I did a backup from my 3G and want to get the backup now on my iPhone 4, but the backup from the old 3G is not shown as an option to configurate. How do I get the information on my new phone?

    First, back up your old iphone manually:
    Disable autosync in iTunes, connect your phone to your new computer and right click on it in the device list and choose backup. iTunes will backup your phone without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    When you connect your old phone for the first time, all media content will be erased. But you can restore your settings and app data from your manual backup afterwards.
    Don't forget to set up at least one contact and event on your new computer to be able to merge calendars and contacts when you sync the phone for the first time.
    About backups and what's saved: http://support.apple.com/kb/HT1766
    How to back up and restore: http://support.apple.com/kb/HT1414
    How to download apps for free again:http://support.apple.com/kb/HT2519
    After that, connect your new phone and let iTunes set it up. iTunes will detect the old 3G backup and ask you, if you want to use it to restore the info on your new iphone. If you agree, all settings and data will be present after the process is finished.
    This is also explained in this article: http://support.apple.com/kb/HT4137

  • Ipod classic not shown in itunes

    I have recently been having A LOT of problems with my 3 month old 80gb ipod classic. i used to get the (-48) error and then i started to get the (-69) error. i tried some suggestions and nothing seemed to be working and then earlier this week i got the (-50) error. i used the link that is supplied on this board to solve it, but it only made things worse! now when i plug my ipod in, nothing shows up in itunes although it shows that my ipod is plugged in in My Computer. Also, i have read that i should go to Disk Manager in the control panel, but my ipod is not shown there like i am told it should be. someone please help me, I'm going crazy!!

    I'm very disappointed with this problem, which I had also. Suddenly, I couldn't sync my ipod u2 special edition with the provided firewire cable. The ipod just wasn't shown in itunes. Happily, my wife have a newer ipod with was shipped with an usb sync cable. So now I have to sync my ipod with the usb cable, just because Apple decided to leave old ipod owners without sync capabilities. Ah, of course, if you don't want to buy a new cable....very disappointing.
    This strategies reminds me of the times were Steve Jobs wasn't in the company and I had to go for a Windows machine because buying an old RAM memory was simply impossible. Don't do it again, please, don't leave old mac users at the side of the road.

Maybe you are looking for

  • Drivers error recovering Windows Vista on Satellite A200

    Hello, I replaced the HD of my Toshiba Satellite A200. I replicate the original disk partitioning in the new disk and installed the original SO (Windows Vista) from the recovery disk. Everything went well. However, when I started Windows for first ti

  • File name completion

    I am running Korn Shell on Solaris (on SUN Ultra 60) and have a problem with file name completion. Prior to Korn I ran C-shell and after set filec=on the filename completion worked ok. Although my understanding is that Korn shell have this feaure bui

  • First day on new contract and a fault on the line....

    I never normally bother writing in these forums but wanted to vent my frustrations somewhere after spending hours on the phone to BT and bascially getting no where. Have been a BT phone customer for quite a few years and decided to move the broadband

  • Attribute Value missing in Display Mode in BP transaction

    hi All, I am facing an Issue. In the production system, while in display mode a particular marketing attribute value for a Business Partner is not present in the marketing attrbute tab of the BP transaction. As soon as I switch to the Edit mode, the

  • Cannot compile nigpib-0.8.2 on redhat 8.0

    I tried to compile nigpib-0.8.2 linux driver on redhat 8.0, and it didn't work. The errors it got are: # ./INSTALL NI-488.2 GPIB Driver for Linux/x86 (Beta Release 0.8,2) Copyright (C) 1999-2001 National Instruments Corporation. Supports AT-GPIB/TNT,