Ability to override internal SDK class?

frozenInTime's Avatar

frozenInTime

08 Sep, 2011 10:46 AM

Hi all,

I'm not sure whether this is a pure Robotlegs question, or more general Flex problem - but was wondering whether there was a way in Robotlegs to override an internal class to the SDK.
We're running 3.3; and the issue we're getting is arouind errorstrings running off the screen, as mentioned here: https://bugs.adobe.com/jira/browse/SDK-18693

The solution, it seems, is to override the ToolTipManagerImpl.as class with a patched version rather than building a custom SDK.

Anyone know there is a way to do this (easily) in Robotlegs?

Thanks

  1. 1 Posted by Michal Wroblews... on 08 Sep, 2011 07:55 PM

    Michal Wroblewski's Avatar

    It's purely Flex problem. You don't need to override the implementation. Just use the solution as provided in comments:

    private static var classConstructed:Boolean = staticInitializer(); 
    private static function staticInitializer():Boolean 
    { 
        Singleton.registerClass("mx.managers::IToolTipManager2",
            com.mycompany.managers.ToolTipManagerImpl); 
        return true; 
    }
    

    Fix the problem in your own Impl class (copied from Flex's ToolTipManagerImpl to your own class), Put this piece of code into your main app class

    Michał

  2. Support Staff 2 Posted by Ondina D.F. on 02 Nov, 2011 03:51 PM

    Ondina D.F.'s Avatar

    Feel free to reopen this discussion in case you have more questions or you need further assistance with this issue. Please open new threads for new issues.
    Thank you for posting.
    Ondina

  3. Ondina D.F. closed this discussion on 02 Nov, 2011 03:51 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac