RE: [flexcoders] How to draw a line on the canves which is in the panel?

2005-08-19 Thread Philippe Maegerman
What you are doing actualy is draw a line on the Application container, not on the canvas, because the function resides on the Application level, and you use the word 'this' to create your movieClip. You could pass a reference to the canvas to your function:

Re: [flexcoders] How to draw a line on the canves which is in the panel?

2005-08-19 Thread adit sathish
Hi, Only thingyou needed to do is to set the depth of the movie clip. Inyour case it is the line. Below is the updated code. Regards, Adit -- ?xml version="1.0"