[flexcoders] How can I set the selectedText's color?

2006-05-18 Thread calvin33castic
I defined a custom Text mx:text backgroundColor=#00 color=#FF selectable=true But when I selected the text, I noticed that the selected text's color and backgroundColor is same as the normal text. I can't find any property or method to change the selected text's color. I will be

[flexcoders] a problem of VideoDisplay and TabNavigator

2006-05-15 Thread calvin33castic
In my application, I used VideoDisplay and TabNavigator. But there's a problem, when I switched between the tab of TabNavigator. the videodisplay will auto paused. who can give me some idea? here's my code: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml mx:Canvas

[flexcoders] how to know the selectedItem in tree is a leaf or a branch in Flex2B3?

2006-05-12 Thread calvin33castic
in change Event, I got a selectedItem. but how can I know it's a leaf or a branch? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] Flex2.0Beta3 : Could not resolve Caption to a component implementation.

2006-05-10 Thread calvin33castic
I DL and reinstalled Beta3. Copy all the mxml to new project. rebuild the project. the problem is: error in main.mxml : Could not resolve Caption to a component implementation. Caption id=caption/ is a Custom Component. I place Caption.mxml in the directory with main.mxml. In beta2, It's