The NEXT thing to try!!

Icon

Random rants and tips about NETCF, WinCE, Emacs, Powershell etc.

<mx:ResizableTitleWindow>

ResizableTitleWindow Component Code is now available at the following link.

Resizable Title Window

Install instructions and the documentation is also there with the code.

Feel free to use and drop in your feedback.

About these ads

Filed under: flex, flex component

36 Responses

  1. jlafferty says:

    Nice job! I love that you even included a sample with your code.

  2. Hi

    Brillinant functionality. I just have one problem , I have added to swc to my build path , add the demo code with no issues in Flex Builder 3 demo but when I run the application off my Jboss server I get the following error :

    unable to load SWC ResizableTitleWindow.swc

    Exception flex2.compiler.swc.SwcException$SwcNotLoaded

    Any ideas on what the problem could be.

  3. prashant shelke says:

    Hi,
    first i want to give thanks for such component.

    I have place this file to lib folder
    \WEB-INF\flex\libs directory.

    Its showing error like
    Unable to load SWC ResizableTitleWindow.swc:multiple points

    Can u please help?

    Thanks,
    Prashant.

  4. Michel says:

    Hello,
    I have included the swc in the library path of the project (with flexbuilder 2) and I get the following error : unable to load SWC ResizableTitleWindow.swc.

    Am i missing some prerequisite ? Do you have an idea that could help ?

    Thanks in advance.

    Michel

  5. nisheet says:

    I dont understand why that should not work. Can you guys be little more specific?

    BTW fyi I have done some bug fixing in the code and you guys might me interested in updating yourself.

  6. nisheet says:

    Are you guys adding the namespace of the swc in your application

  7. Surendra says:

    Hi,

    I’ve a problem with this component. I’m trying to use ResizeableTitleWindow as PopUp but it’s giving the following Error #1034: Type Coercion failed: cannot convert _PopUpEXp_mx_managers_SystemManager@46140b1 to mx.core.IUIComponent.

    And also some times resize cursor is getting strucked after resizing the component.

    Surendra.

  8. Max Zimet says:

    I’m using the Flex Builder 3 beta (moxie). I installed your component, and I am getting the following error:

    Declaration of style ‘leading’ conflicts with previous declaration in C:\Program Files\Adobe\Flex Builder 3\sdks\moxie\frameworks\libs\ResizableTitleWindow.swc(mx/controls/ToolTip).

    I checked the online docs, and ToolTip does have a style named leading. However, I also searched through the source code of the component (in the src folder) and the word leading didn’t come up. Just in case the source wasn’t consistent with the binary, I rebuilt the swc, and I’m still getting this error. Do you have any idea where you hid the ‘leading’ style?

    Thanks.

  9. Andy says:

    What license is this released under?

  10. Andy says:

    For me it fails because of the catalog… I suspect flex 3 vs 2?

  11. Andy says:

    flexCorrectVerson:
    [java] Loading configuration file /home/andy/projects/buni/meldware/flex/frameworks/flex-config.xml
    [java] Error: unable to load SWC ResizableTitleWindow.swc: unknown element swc found in digests section in catalog.xml.

  12. Josue Aparicio says:

    I’am from Honduras

    The Component is very useful and wow…thanks for share your knowledge…

  13. aranud says:

    Hi Nisheet,

    I have used your ResizableTitleWindow component in my FlexSpy component.
    Check it out at

    http://coderpeon.ovh.org/?p=32

  14. […] fenêtre redimensionnable et non modale par […]

  15. Prashant Shelke says:

    In order to solve “unable to load particular .swc file:multiple points”
    this error, download source project for that .swc file, copy it in workspace,
    then import in mysclipse.
    As soon as project will get import, new swc will create.Now use that newly created .swc to get rid of problem :-)

  16. Yev says:

    Looks like this will only compile under Flex 3. Some of the imports are not there in v.2

    Very nice component, I wish i could use it.

  17. I have the same problem as Max Zimet:

    Declaration of style ‘leading’ conflicts with previous declaration in C:\Dev\Flex\3\SDK\frameworks\libs\framework.swc(mx/core/UITextField).

    I’m not sure where the mutiple i.e. second, declaration is coming from.

    This is FB3 on WinXP

    Help. Cheers

  18. Tester says:

    Hi

    Just a quick question, what kind of license is it? MIT…

    thanks

  19. Samuel says:

    Hi, i’m using the mx:ResizableTitleWindow as a Component. And i’m using this line to call it.
    metering=meterTest(PopUpManager.createPopUp(this,meter,false));
    When i click the button to create the popup, i get
    Main Thread (Suspended: TypeError: Error #1034: Type Coercion failed: cannot convert meter@436d851 to meterTest.)
    testArea/meterPopUp
    What am i doing wrong, i’ve followed the steps for the installation already.

  20. Jana says:

    Hi, Very nice component. I’m having problems though with the icons. When I maximize the window the icon doesn’t change so it is unclear that if I select the same icon that the window size will return to its original size. I have also found the same to be true when I minimize the window I don’t see a restore icon show up.

  21. Matt says:

    I can get it to work but when I add multiple windows when I click the buttons on the first one, it operates on the last one that was created as opposed to the one I clicked on.

    Not sure why this is?

  22. Basil says:

    Hi,

    Great component, but how does the close button works, does it remove the window from memory (as a window would close in windows) or does it just becomes invisible (somewhat like a window would close on a mac)?

    Thanks in advance

  23. Matchu says:

    Great peice of code. Have been looking for something like this for awhile. Even tried to create one myself but haven’t learned enough yet. At any rate, is there a way to have the window start minimized? Thanks.

  24. Tian says:

    Hello,

    The ResizableTitleWindow is working beautifully for minimized, maximized and restored functions. However when I added many of the resizable windows, the drag and drop actions got the overlapped problem.

    I would greatly appreciate that the Author can post the drag and drop code also to solve the overlapping problem on the ResizableTitleWindow call.

  25. Haitham says:

    I am using the following code:

    SearchResultsWindow = PopUpManager.createPopUp(this, SearchResults, false);

    where SearchResults.mxml contains my ResizableTitleWindow. But when i run the code, I get the following error:

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at ResizableTitleWindow/layoutChrome()[C:\depot\flex\components\ResizableTitleWindow\src\ResizableTitleWindow.as:554]
    at mx.core::Container/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2867]
    at mx.containers::Panel/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\containers\Panel.as:1264]
    at ResizableTitleWindow/updateDisplayList()[C:\depot\flex\components\ResizableTitleWindow\src\ResizableTitleWindow.as:678]
    at mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6351]
    at mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2677]
    at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
    at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:677]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]
    at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    What’s going on??

  26. caoxiaolong says:

    I use it as component,but how can I use PopUpManager to load this ResizableTitleWindow??????

  27. Kannan says:

    I have implemented in my Popups and its working fine. Thank you very much for such a great component!!!!!!……

  28. Andrew says:

    Same question caoxiaolong… how can this be used as a real popup?

  29. blackth3red says:

    We tried this but it kills the application. Nice work but need to enhance the performance.

  30. pepper says:

    I have the same question, how do you get this to work with popupmanager? I.e. I am also trying to do a PopupManager.createPopUp(this, theresizablewindow, false)
    and getting a
    Type Coercion failed: cannot convert __mx_managers_SystemManager@ to mx.core.IUIComponent.

    Any ideas?

  31. blackth3red says:

    We tried this and we found some memory issue and change back to SuperPanel.

  32. kumud says:

    i am not able to get the link to download the source code, plz specify the link.

    thanx

  33. Hilary says:

    Error:
    mx_managers_SystemManager@254d60a1 mx.core.IUIComponent。

    ResizableTitleWindow.as:554

    how can I use PopUpManager to load this ResizableTitleWindow

  34. paromitadey says:

    Unable to reach to the source. How to get the swc?

  35. kavitha says:

    Unable to reach the coding for resizable window..
    how to get the code?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: