[flexcoders] How to make a Docking Window Framework/component like Eclipse/InfoDock/JDocking

2008-10-08 Thread nathanleewei
How to make a Docking Window Framework/Component like Eclipse/InfoDock/JDocking? +RootWindow | +--SplitWindow | +--SplitWindow | | | +--TabWindow | +--TabWindow | +--TabWindow | +--Tabbar +--ViewStack +--Max Buttton +--Min Button

[flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-10-09 Thread nathanleewei
maybe I should get some idea from SuperTabNavigator(flexlib/dougmccune)

[flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-10-09 Thread nathanleewei
Thanks for your suggestion. I have already browsed the source code of flexlib-MDI and idw(infonode.net). And I designed the structure according to idw: DockingWindow(abstract class in JAVA): Base class for all types of docking windows. View: content component and some buttons. RootWindow:

[flexcoders] How to set parentComponent.visible = false childComponent.visible = true?

2008-11-27 Thread nathanleewei
parentParentContainer +parentContainer | +childComponent I mean how to maximize a childComponent to parentParentContainer scope?

[flexcoders] How to set style of buttons' border in ButtonBar?

2008-11-27 Thread nathanleewei
top/bottom border alphas top/bottom border borderThickness

[flexcoders] How to embed icons in MenuBar?

2008-11-27 Thread nathanleewei
[Embed(source=/assets/document.png)] private static const document_icon:Class; mx:MenuBar id=menuBar width=100% labelField=@label iconField=@icon styleName=menuBar itemClick=onMenuBar(event) mx:XMLList menuitem label=File menuitem

[flexcoders] Re: How to set style of buttons' border in ButtonBar?

2008-11-27 Thread nathanleewei
://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleEx pl orer.html Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nathanleewei Sent: Thursday, November 27, 2008 6:29 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: How to set style of buttons' border in ButtonBar?

2008-11-28 Thread nathanleewei
I found the answer .buttonBar { firstButtonStyleName: mybuttonBarButtonStyle; lastButtonStyleName: mybuttonBarButtonStyle; buttonStyleName: mybuttonBarButtonStyle; } .mybuttonBarButtonStyle { selectedOverSkin: ClassReference(xx.MyButtonBarButtonSkin);

[flexcoders] How to set variableRowHeight = true in MenuBar

2008-12-02 Thread nathanleewei
I want make the same effect as following url: http://blog.flexexamples.com/2008/10/02/adding-a-horizontal-separator- to-a-flex-popupbutton-controls-pop-up-menu-redux/ I haved tried 2 methods to solve the problem, //method 1 private function onMenuBarInitialize():void {

[flexcoders] Re: How to embed icons in MenuBar?

2008-12-02 Thread nathanleewei
It must be public var documentIcon:Class; --- In flexcoders@yahoogroups.com, nathanleewei [EMAIL PROTECTED] wrote: no shown :(

[flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-12-02 Thread nathanleewei
http://flexrock.googlecode.com --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Somebody on this list has created exactly what you're looking for, and it's pretty reasonably priced, google the archives. -Josh

[flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-12-02 Thread nathanleewei
On Thu, Oct 9, 2008 at 7:16 AM, nathanleewei [EMAIL PROTECTED] wrote: maybe I should get some idea from SuperTabNavigator(flexlib/dougmccune) -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving

[flexcoders] Re: How to embed icons in MenuBar?

2008-12-02 Thread nathanleewei
menuitem label=New icon=documentIcon / menuitem label=Open... icon=documentIcon/ --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Try public instead of private From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nathanleewei

[flexcoders] Re: How to embed icons in MenuBar?

2008-12-02 Thread nathanleewei
no shown :(

[flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-12-02 Thread nathanleewei
What I am looking for is different from DockAreaFX. Pls see my project: http://flexrock.googlecode.com --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Somebody on this list has created exactly what you're looking for, and it's pretty reasonably priced, google the

[flexcoders] Re: How to set variableRowHeight = true in MenuBar

2008-12-02 Thread nathanleewei
The first time I click the MenuBar, the sub-menu show as below: +---+ | New | +---+ | Open | +---+ | Close| +---+ | Save | | Saveas.. | +---+ | Import...| | Export...| +---+ | Exit | | | | | |

[flexcoders] Re: problem with a simple XML Loader :(

2008-12-08 Thread nathanleewei
could u give the detail of modification? I am facing the same problem. thx

[flexcoders] Is there anything like EventListnerList in JAVA?

2008-12-10 Thread nathanleewei
Is there anything like EventListnerList in JAVA?

[flexcoders] Re: Is there anything like EventListnerList in JAVA?

2008-12-10 Thread nathanleewei
To maintain a clear communication among all components / objects, especially for objects do not in the same event bubble path. +---+ | containerObject | | +-+ +-+ | | | objectA | | objectB | | | +-+ +-+ |

[flexcoders] Re: Screen Resolution

2008-12-14 Thread nathanleewei
precentWidth precentHeight http://flexrock.googlecode.com/

[flexcoders] Re: Custom event--please help me

2008-12-15 Thread nathanleewei
BasePanel uses another EventDispatcher instance which is inherit from UIComponent. So U can try var basePanel:BasePanel = your BasePanel instance; basePanel.dispatchEvent(ev); instead var dipsatcher:EventDispatcher = new EventDispatcher(); dispatcher.dispatchEvent(ev); And U should have a

[flexcoders] Ridiculous Thoughts...

2009-02-17 Thread nathanleewei
Have you developed Commands/Front Controller of Cairngorm? Have you developed Event Map of Mate? Have you thought about a much nicer Framework? Here is my Ridiculous Thoughts of Open Infrastructure Solution for Flex Application Architecture. http://code.google.com/p/flexrock/ Any ideas or

[flexcoders] Re: how to wait for one event to finish?

2009-08-26 Thread nathanleewei
public class MessageEventBus extends EventListener { public static getInstance(): MessageEventBus { } } // public class ParentApplication { var messageEventBus:MessageEventBus = MessageEventBus.getInstance(); public ParentApplication { } public function

[flexcoders] Re: Find Actual Width After Setting Percent Width

2009-08-26 Thread nathanleewei
this.addEventListener(FlexEvent.CREATION_COMPLETE, onCreationComplete); public function onCreationComplete(event:FlexEvent):void { ChangeWatcher.watch(this,width, showWidth); } public function showWidth(e:Event):void { Alert.show(this.width); } --- In flexcoders@yahoogroups.com, valdhor

[flexcoders] Re: how to wait for one event to finish?

2009-08-28 Thread nathanleewei
sorry, my mistake! import flash.events.EventDispatcher; public class MessageEventBus extends EventDispatcher { --- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote: i see that you create a singlton to dispatch and addeventlistener. that makes sense. but what is this class

[flexcoders] how to show icon in ToggleButtonBar

2009-09-02 Thread nathanleewei
package com { import mx.controls.ToggleButtonBar; import mx.events.FlexEvent; public class MyToggleButtonBar extends ToggleButtonBar { [Embed(source=assets/java.gif)] public var iconJavaClass:Class;

[flexcoders] Re: how to show icon in ToggleButtonBar

2009-09-02 Thread nathanleewei
Are icons shown in ToggleButtonBar? What's your flex sdk version? --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Works for me. Do you get any errors?

[flexcoders] Re: how to show icon in ToggleButtonBar

2009-09-07 Thread nathanleewei
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Are icons shown in ToggleButtonBar? Yes What's your flex sdk version? 3.3 OK, I will take a try with flex sdk 3.3. Thanks!