[flexcoders] Strange Issue with img in htmlText of TextField

2010-04-29 Thread xmwang1982
Hi gurus, I use the following code to display a text field with img tag inside. The image source is OK(the Image object works), but no picture was displayed in the text field. And one more issue is, if no chars before the img tag in htmlText, even the data of image was not loaded. Anybody

[flexcoders] Can't move titlewindow in an Application

2010-03-05 Thread xmwang1982
Hi experts, I have a class inheriting TitleWindow, and I add the following code to enable drag/drop of the title window by press on the title bar: private function onCreationComplete(evt:Event):void {

[flexcoders] Re: Can't move titlewindow in an Application

2010-03-05 Thread xmwang1982
...@... wrote: in creation complete add this.isPopUp = true; Make sure u get rid of all the listeners ... C From: xmwang1982 ask...@... To: flexcoders@yahoogroups.com Sent: Fri, March 5, 2010 4:30:30 PM Subject: [flexcoders] Can't move titlewindow

[flexcoders] Re: Remote Object and Session ???????

2008-09-15 Thread xmwang1982
or not. Dimitrios Gianninas RIA Developer Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of xmwang1982 Sent: Wednesday, September 10, 2008 9:18 PM To: flexcoders

[flexcoders] Remote Object and Session ???????

2008-09-10 Thread xmwang1982
Hi experts, How to add variables into the session of a remote object? Because, we can set channels to other servers in code. In order to do something like single sign on, I want to store something like session UUID into the session of HTTP connection of the remote object. Any idea? Thanks a lot.

[flexcoders] Re: Remote Object and Session ???????

2008-09-10 Thread xmwang1982
Of *xmwang1982 *Sent:* Wednesday, September 10, 2008 6:07 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Remote Object and Session ??? Hi experts, How to add variables into the session of a remote object? Because, we can set channels to other servers in code. In order to do

[flexcoders] Dynamic destination of remote object?

2008-09-09 Thread xmwang1982
Hi, So far as I know all destinations of remote object must be defined in remote-cofig.xml. Can we do it by programming? If we could set destination properties in code, it is much more flexible. Anybody knows how to do that? Here is my code for dynamic channel setting:

[flexcoders] Re: Dynamic destination of remote object?

2008-09-09 Thread xmwang1982
[EMAIL PROTECTED] wrote: channel = new AMFChannel('my-amf', 'http://{server.name}: {server.port}/flex/messagebroker/amf'); in your as file. --- In flexcoders@yahoogroups.com, xmwang1982 askycn@ wrote: Hi, So far as I know all destinations of remote object must be defined in remote

[flexcoders] The same CSS skin looks different after local compiling

2008-06-14 Thread xmwang1982
hi gurus, I downloaded the vista blue skin sample from scale nine. The skin look quite good in the sample. However, it looks quite different in my machine. The sample on scale nine's site: http://www.scalenine.com/themes/vistaBlue/VistaBlue.html However, in my machine, the title of this

[flexcoders] How to get all itemrenderer instances of a tree?

2008-02-26 Thread xmwang1982
Hi experts, I want to listen to the MouseDown event of some of the tree nodes. So maybe I need to get their itemrenderer instances then add event listeners to them. However, I have no idea to get a list of item renderers... seems no such a method exists. Could you please give some hints?

[flexcoders] Re: How to get all itemrenderer instances of a tree?

2008-02-26 Thread xmwang1982
PROTECTED] On Behalf Of xmwang1982 Sent: Tuesday, February 26, 2008 6:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to get all itemrenderer instances of a tree? Hi experts, I want to listen to the MouseDown event of some of the tree nodes. So maybe I need to get

[flexcoders] problem with XMLListCollection addItem()

2008-02-23 Thread xmwang1982
Hi experts, that's strange if you append a XMLList object into a XMLListCollection object using addItem() method. It automatically add the following XML into the XMLList object: mx_internal_uid xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; B93F361A-9266-CE11-76D1-467B259373F8

[flexcoders] Re: Tree Branch???

2008-02-21 Thread xmwang1982
) { [EMAIL PROTECTED] = true; } return [EMAIL PROTECTED]; } --- In flexcoders@yahoogroups.com, xmwang1982 askycn@ wrote: Hi Ryan, Thanks. It seems data decriptor is only for reading properties, not changing

[flexcoders] Re: Tree Branch???

2008-02-19 Thread xmwang1982
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 askycn@ wrote: Thanks Raf, However, what I need is something called isBranchFunction, in which we can set

[flexcoders] Re: Tree Branch???

2008-02-18 Thread xmwang1982
://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/ raf --- In flexcoders@yahoogroups.com, xmwang1982 askycn@ wrote: Hi experts, Can we determine the isBranch property of a tree node in a function? I need to set this property according to XML node

[flexcoders] Re: Key Down event lost after add a child component

2008-02-17 Thread xmwang1982
to something specific that you've named. --- In flexcoders@yahoogroups.com, xmwang1982 askycn@ wrote: Hi, I have an component base on Canvas. It allows adding new child component via drag-drop. the problem is, every time after a new child is added, its Key Down event

[flexcoders] Key Down event lost after add a child component

2008-02-16 Thread xmwang1982
Hi, I have an component base on Canvas. It allows adding new child component via drag-drop. the problem is, every time after a new child is added, its Key Down event is not triggerred anymore. The event will be back after click on one of the children. No code exists for the mouse events of

[flexcoders] Tree Branch???

2008-02-16 Thread xmwang1982
Hi experts, Can we determine the isBranch property of a tree node in a function? I need to set this property according to XML node name. It would be nice if we can define a function like labelFunction. However it seems not existing. I don't want to translate my XML to new XML node lable=...

[flexcoders] Problem to re-render a Connector component

2008-02-15 Thread xmwang1982
Hi experts, I am going to design component called connector, which draws a line between the point at which you press your mouse and the point at which you release your mouse. Before release mouse, the line end point should follow the mouse -- like you see in MS visio when you draw a line to

[flexcoders] Re: Problem to re-render a Connector component

2008-02-15 Thread xmwang1982
Hi, I solved the re-render issue by myself. I just have added one row to call validateNow() method of UIComponent. However, it is still better to know some visio-like examples for me. Please help. Thanks. --- In flexcoders@yahoogroups.com, xmwang1982 [EMAIL PROTECTED] wrote: Hi experts, I

[flexcoders] Bring a component to the top layer

2008-02-15 Thread xmwang1982
Hi, how to bring a component to the top layer dynamically? I couldn't find out the method in AS3 help. Please give me a hint. Thanks.