UpdateDisplayList doesn't work for skin when called from hostcomponent

I have skin class where I have overrided updateDisplayList like this:
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
     switch (hostComponent.index) {
            case 0:
              part.right = 100;
              part.top = 100;
              break;
            case 1:
              part.right = 50;
              part.top = 50;
              break;
every time I update index in hostcomponent, I want to call the updateDisplayList in skin so I have done this:
public function set index(value:int):void {
        _index = value;
        invalidateDisplayList(); // doesn't work
        //updateDisplayList(); // doesn't work either      
... but this does not work. Can you please help me figure out what the problem is? Thanks.

Is index in the host component?  Maybe you need
    skin.invalidateDisplayList()

Similar Messages

  • Help only for Windows, when called from a Mac

    I use Firefox 15.0.1 on a Mac mini with OS X 10.6.
    I want to change to Private Browsing, but when opening Help
    I only obtain help for Windows, not for Mac.
    Your customer service is not user friendly.

    See https://support.mozilla.org/kb/private-browsing-browse-web-without-saving-info#os=mac&browser=fx15

  • Web page not working for vi when launched from testsetand

    we've setup a web page for a vi in labview (web publishing tool) and its visible in IE until you close labview
    this vi is then run from teststand thou the web page isnt being updated?
    we need to be able to view the contents of the vi remotely

    Hi,
    Would it be possible for you to upload either the programs that demonstrate this (if not too large) or quickly create a program and run instructions in order to replicate this behaviour here? Also which versions of TestStand and LabVIEW are you running?
    Once I have this extra information and code I will replicate the issue here and look into it further for you,
    All the best,
    Applications Engineer

  • With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    This isn't an issue. Notice the screen prior to the one that shows usage has an iCloud section and a Manage Storage button. For this button to activate ios needs to download a few kb from icloud. Switching back to this screen forces ios to download those few kb.

  • I've bought an app called WhatsApp but I was not told that app doesn't work for ipod. So I would like to know how to turn back and get my money back.

    I've bought an app called WhatsApp but I was not told that app doesn't work for ipod. So I would like to know how to turn back and get my money back.

    Did you fail to look at the requirements before purchasing?
    All sales are final.  You can try contacting itunes support and asking for an exception

  • HT201263 Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTune

    Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTunes.Help! Thank you.

    Besweet, I'm having the very same problem with 60GB colour which was bought new and worked for 6 months before suddenly just not being recognised by PC. I hadn't changed anything at all.
    I've followed all troubleshooting advice and reinstalled and updated iTunes and iPod updater software but all troubleshooting routes seem to hit the dead end of either the need to access the iPod via the PC (which isn't possible as it's not showing up at all) or the iPod in disc mode stuck at "ok to disconnect".
    It's still under 1yr warranty so will have to take to a dealer.
    I'm sorry that's not much help for you but at least you know it's not a unique problem.
    PC   Windows XP  

  • When I double click home for audio playback doesn't work for movies since I synced it yesterday Why?

    When I double click the home button the audioplayback doesn't work for movies,  it did before I added and synced some items yesterday anybody know why?

    Jeanlewane wrote:
    Why, When I double click the home button and hold down the icon waiting for the red x to appear, it doesn't.?
    How to Close Apps
    Double Tap the Home Button... Then swipe the App (not the icon) Upwards... Tap the Home Button when finished.
    From Here  >  http://support.apple.com/kb/HT4211
    NOTE:  You cannot delete any pre-installed iOS app.

  • Ringer Sound doesn't work for phone calls.

    I can't get my iPhone 4S sound to work for receiving phone calls.  Sound selected along with vibrate for phone calls.  Miss calls everytime.  Volume turned up and turned on.

    Two things to check
    Is the Mute switch ON ?
    Do you have Do Not Disturb set ON ?

  • PSPaletteMenu category doesn't work for automation plugins

    Hello,
    I would like to have a menu item under Photoshop "Window" menu for my automation plugin.
    There is a notice in the PIPL.r file that goes with SDK:
    // Use PSPaletteMenu category to add a menu item on the Window (i.e., palette) menu.
    // This is currently only enabled for automation plugins.
    PSPaletteMenu ="**Palette**";
    However when write my PiPL res like in example below
    resource 'PiPL' (ListenerResourceID, plugInName " PiPL", purgeable)
    Kind { Actions },
    Name { plugInName "..." },
    Category { "**Palette**" }, // or Category { PSPaletteMenu }
    Version { (latestActionsPlugInVersion << 16) | latestActionsPlugInSubVersion },
    menu is not shown under Window menu :(
    Want to note that if I specify Category { PSHelpMenu } it works correctly and menu item is shown under Help menu. PSPaletteMenu also doesn't work for Listener plugin that ships with PS SDK.
    Looks like plugin is not recognized as automation plugin, but I have correct info.plist props (on MacOS X version)
    What should be done to have my plugin menu item under "Window" menu?
    Regards,
    Mac Developer

    Hi Tom, thanks for your reply. Actually I'm not asking about floating palette (which I actually created and there is no issues observed). I just need my automation (!) plugin entry point to be called with kPSDoIt ("Do It") selector action after menu item is chosen under Window menu. (like it works in case PSHelpMenu)
    In the PIPL.r file that goes with SDK it states that
    // Use PSPaletteMenu category to add a menu item on the Window (i.e., palette) menu.
    // This is currently only enabled for automation plugins.
    PSPaletteMenu ="**Palette**";
    Is it documentation issue?
    Regards,
    Mac Developer

  • Filter doesn't work for filter-servlet name mapping

              Filter doesn't work for filter-servlet name mapping.
              it only works for filtering url-pattern.
              Does anybody has some idea?
              BTW, does anybody know if filter will be invoked when
              call RequestDispatcher.include/forward?
              Version: WLS6.1 SP1 on solaris.
              Thanks a lot.
              Heng
              

    The Filter defined will only be run in the context that it is defined in. Since you are creating a new context, you will have to assign a new Filter. BTW, why not include the static content in the WAR with the dynamic stuff?

  • XPath: doesn't work for SOAP message?

    My method
         * Get value of the node specified by an XPath.
         * @param item The starting context (e.g. document, node, node list).
         * @param xPath XPath to select single node value (e.g. "/root/data/value[1]/text()")
         * @return Result of <i>xPath</i> (the node's value) or null if failed.
         * @throws XPathExpressionException if <i>xPath</i> is wrong.
        static public String getXPathValue(Object item, String xPath) throws XPathExpressionException {
            String result = null;
            if (item != null && xPath != null) {
                try {
                    result = XPathFactory.newInstance().newXPath().evaluate(xPath, item);
                } catch (NullPointerException npe) {
                    //XPathFactory.newInstance() throws NullPointerException when called from ActiveX bean
                    if (item instanceof Document) {
                        result = getXPathValueApache((Document) item, xPath);
            }//else: input values not available
            return result;
        }//getXPathValue()works good enough for plain XML files (no namespaces). Now I have a SOAP XML message and my XPath doesn't work with this code - but it works with other XPath tools or my old Apache method:
         * Get value of the node specified by an XPath.
         * @param document Document to get node value of.
         * @param xPath XPath to select single node value (e.g. "/root/data/value[1]/text()")
         * @return Result of <i>xPath</i> (the node's value) or null if failed.
         * @throws org.w3c.dom.xpath.XPathException if XPath result object is not of type XPathResult.
         * @see <a href="http://www.w3schools.com/xpath/default.asp">XPath Tutorial</a>
        static private String getXPathValueApache(Document document, String xPath) throws org.w3c.dom.xpath.XPathException {
            String result = null;
            if (document != null && xPath != null) {        
                org.w3c.dom.xpath.XPathEvaluator evaluator = new org.apache.xpath.domapi.XPathEvaluatorImpl(document);
                Object o = evaluator.evaluate(xPath, document, evaluator.createNSResolver(document), org.w3c.dom.xpath.XPathResult.FIRST_ORDERED_NODE_TYPE, null);
                if (o != null) {
                    if (o instanceof org.w3c.dom.xpath.XPathResult) {
                        org.w3c.dom.xpath.XPathResult xpResult = (org.w3c.dom.xpath.XPathResult) o;
                        Node node = xpResult.getSingleNodeValue();
                        if (node != null) {
                            result = node.getNodeValue();   
                    } else {
                        throw new org.w3c.dom.xpath.XPathException(org.w3c.dom.xpath.XPathException.TYPE_ERR, "XPath '"+xPath+"' didn't return an object of type  XPathResult!");
                }//else: no result for XPath
            }//else: input values not available
            return result;
        }//getXPathValue()The XPath is quite simple and I also had it in 2 ways: short and long:
    //rsp:SessionId[1]/text()
    /SOAP:Envelope/SOAP:Header/rsp:Response/rsp:SessionId/text()
    Why doesn't this work with the standard
    XPathFactory.newInstance().newXPath().evaluate(xPath, item)
    ?

    Hi,
    I have cancelled your Export PDF subscription for the order no.AD013879714.
    Your refund no.is 66181172.
    You will get the refund in 7 business days.
    Regards,
    Florence

  • Application Restart and Recovery APIs doesn't work for windows services

    I am using the Application Restart and Recovery mechanism (provided in Windows API Code Pack for Microsoft.NET Framework) to collect some information (i.e. stack information when there's an unhandledexception)  before my windows service crash down.
    It works well for windows form applications, but the callback method wouldn't be called if the host is a windows service. 
    I have checked the article: https://msdn.microsoft.com/zh-cn/subscriptions/downloads/cc303708
    But it doesn't specify clearly whether it works for a windows service. It seems that the recovery will only be activated when the user interacts with the error dialog of Windows Error Reporting (clicking "close" on the dialog, for example).
    So I am wondering is my guess right that the Application Restart and Recovery mechanism doesn't work for windows services. Or is there a better way to meet my requirement? 

    I would suggest trying ARR if that's what you want to use.  The restart portion won't work, but it doesn't need to as if you fail out of your service, the Windows service controller will handle recovery (up to and including restarting your service).
     You configure those recovery actions either through code or one of the built in administrative tools for services such as services.msc.  
    DebugDiag/ADplus and similar tools ultimately do use built-in APIs; you don't need to add anything external to collect debugging information.  You do however have to write a good deal of code to do somethings.  It's pretty simple to use the unmanaged
    function that I pointed out before and
    MiniDumpWriteDump to write a minidump when you hit an unexpected error(the dbghelp.dll that comes installed with Windows has it so you don't need anything additional installed).  You can even write a basic debugger that literally debugs a process using
    only kernel32 functions (see
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms679301(v=vs.85).aspx if you're interested).  
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • My mic for my iPhone 4S only works on speaker phone and doesn't work for Siri. What can I do?

    My mic on my 4s only works on speaker phone in calls. It also doesn't work for Siri or voice memos. Is there any way to fix this without having to buy new parts or exchange it?

    Hello there, mbrda92.
    The following Knowledge Base article provides some great, in-depth steps for troubleshooting your issue:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Particularly of note:
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Noise for recipient when calling w/iPhone plugged in

    When I make calls with my iPhone plugged into the Mac or the USB-charger-adaptor, the recipient of the call are bothered by noises. It has been described as sort of whine/microphone-speaker feedback, and has occurred with several recipients using different phones. The noises disappear when I unplug the phone. Am I the only one experiencing this? Is it worth having the phone sent to service? Grateful for all answers.

    This is something peculiar, normally that doesn't work that way
    when did this happen? if it just happened, then something probably went wrong with either the software or the hardware
    do charge the proper way, and see if it happens again
    or try completely draining the battery, and charge it to 100% and see if its gonna solve the issue with the alarm

  • CALLER ID not working for International incoming calls

    Hi,
    I've a strange issue where CALLER ID not working for International incoming calls, it shows INTERNATIONAL UNKNOWN NUMBER in the phone display, but the number shows correclty in Verizon Call assistant !!!
    Any clue?

    yashshankar wrote:
    Hi
    I recently  purschased an Online number but the caller id does not work for incoming calls.How do we resolve this problem?.
    Regards
    Yash
    You didn't mention what country your Online Number is in.  Not all of Skype's Online Numbers are eligible for use as Caller ID when calling telephones or sending SMS messages.  If your number is from one of these countries (Chile, Denmark, Estonia, Hong Kong, Poland, Sweden, the UK and the US), then it can be used this way.  Otherwise, you can use a mobile number from countries other than Japan or Mexico as Caller ID with Skype, after the number goes through a verification process where Skype sends SMS messages with codes to that number.
    To get to these settings, log into your Skype account here on the Skype web site using the "Account" link at the top of this page.  You'll see a screen that would include your current Caller ID settings, and a link to change that.  If your Online Number is from one of those countries I referenced above, just select it and you're done. 
    Hope that helps!
    Patrick
    Location/Ubicacion: Arizona USA
    Time Zone/Hora Local: UTC/GMT -7
    If this message has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.
    Si esto mensaje le ha ayudado, por favor haga clic en "Aceptar como solución". Si encuentra un mensaje útil, por favor "Da Kudos" al final del mensaje, por lo que esta información puede beneficiar a otros.
    I am not a Skype employee. No soy un empleado de Skype.

Maybe you are looking for

  • Is it possible to put an iMac G5 screen into a intel iMac of the same size?

    my white 17" intel imac screen is about 60% covered with the vertical line problem, ive tried openeing it and blowing air through it, in hopes it was just some crazy dust accumulation, and smc fan control, but its getting worse by the week. i have a

  • XML support in Oracle 8i

    Hi, I have a requirement of storing XML documents in the Oracle database. As Oracle claims support for XML in Oracle 8i, I would be thankful if the following questions could be answered. There will be around 15000 or more XML documents generated annu

  • Russian / Cyrillic tag encoding problems in iTunes 6

    Hello, I had an older version of iTunes (I think it may have been 4, not sure...) on my older PC. I have several thousand Russian music files, and spent considerable time cleaning up all the tags so that my Russian songs would be in Cyrillic and my E

  • Is there any way to do this:on action event,many times paint?

    now i am designing a gui game like russia, i want to record all the steps of the playing,liks enity[x] up entity[y] down when playser click the button ,I want to replay all the steps,unfornately, the repaint will happen only once. for(int i=0;i<allst

  • Count of windows in Safari returns one more than actual

    First of all I'm completely new to Applescript. What I do at the moment is to search for scripts that might do something similar to want I want and then modify them to suit my particular requirements. I have been trying to use a script that searches