Another good option would be to say ICloseable extends IUIComponent
b/c IUIComponent is a Flex interface defined for you that has most of
what you want.
-Ryan
--- In flexcoders@yahoogroups.com, b_alen [EMAIL PROTECTED] wrote:
I wouldn't suggest you uptype to an IClosable interface. By doing
There's a bug on this. Unfortunately, this didn't make it for Flex 3.
Voting on bugs is always helpful to let us know what's useful btw.
https://bugs.adobe.com/jira/browse/SDK-12409
The bug also includes some ideas on how to implement a workaround to
get it to work.
-Ryan
--- In
Per your original question with the drop lines, there's a method
called showDropFeedback() you can override. In the Flex Tree
implementation, most of the work is done in a private function,
updateDropData, so check that out for what you want to do.
I'm not too familiar with the dragComplete
Check out dataDescriptor. You should be able to google (or search
these forums) for it and get something on how to use this feature. If
not, post back.
-Ryan
--- In flexcoders@yahoogroups.com, xmwang1982 [EMAIL PROTECTED] wrote:
Thanks Raf,
However, what I need is something called
be always displayed as a
branch. However, the default of flex tree is, if the node doesn't
have sub nodes, display it as leaf.
So the question comes up, how to set isBranch property base on node
names?
Thanks a lot.
--- In flexcoders@yahoogroups.com, Ryan Frishberg rfrishbe@
wrote
From what I was told, there's no runtime benefit; you just get an
extra compile-time check for you. However, you could run a simple
test to see. In the future, there may be some performance benefit to
it as optimizations are made to Tamarin.
-Ryan
--- In flexcoders@yahoogroups.com, rueter007
Containers are really containers of UIComponents (Flex stuff only).
You could add to rawChildren, but I think what Jason did is a better
idea. He created a UIComponent, and then just added the non-Flex
component to that.
-Ryan
--- In flexcoders@yahoogroups.com, Daniel Thompson [EMAIL
It's because selectedChild takes a Container, not a String. Just change
the type in your method declaration to:
public function switchStack(stack_id:Container,title:String):void {
When you call it, you are passing in a Container, so it should be fine.
-Ryan
8 matches
Mail list logo