=myCanves.createChild(mx.containers.Canvas,undefined,{width:1000});
ref_mc.createChild(arrow(target));
Please explain me little more.
Thanks
On 10/4/05, Prasad Dhananjaya [EMAIL PROTECTED] wrote:
Have a simple question about drawing on the canvas.
Below code draws an arrow between mousedown point
Hi,
Have a simple question about drawing on the canvas.
Below code draws an arrow between mousedown point and mouseup point.
It works well. But...
When I move canvas's scrollbar, arrow didn't move. Means it is NOT
on the canvas.Want to draw it ON the canvas. Tried several ways.
But failed. (I
Hi,
Have a problem with automatic Scrolling.
Can someone help me..
There are 2 canvas in my test application.
Size of the JobNetCanves is 10 times than fullMapCanves. On the
fullMapCanves there is a image(call selector) which is dragable
inside the canvas.
What I want to do is ..
when I
Hi all,
Is it possible to destroy child by specifying x,y coordinates.
I used createChild() to draw square.
--code-start--
var xvalue:Number=100;
var yvalue:Number=100;
var ref_mc1 =
Hi all,
Still I have a problem with destroyChild().I want to destroy only img1.
But it destroys every thing on the application including panel,canvas.
Not only selected child.
can someone tell me why it is destroying every thing.
thanks
Prasad
] On Behalf Of
Prasad Dhananjaya
Sent: Friday, September 30, 2005 06:05
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Questions about createChild() and destroyChildAt()
Hi all,
Still I have a problem with destroyChild().I want to destroy only img1.
But it destroys every thing
Hi all,
Need your help to solve 2 questions about createChild() and destroyChildAt().
My JobNetCanves have some images lines.They all are created by using
createChild().
1.How can I give mouseOver,mouseOverEffect,mouseOut,mouseOutEffect,mouseUp
events to createChild().(check ★).I want to give
Hi All,
Can someone tell me how to set
effects(mouseOver,mouseOverEffect,mouseOut,mouseOutEffect,mouseUpevents) to
createChild().Below line is not working(and giving no compile errors). Checked
several docs. But found nothing helpful.
var img=target.createChild(mx.controls.Image,,
-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Prasad Dhananjaya
Sent: Wednesday, September 21, 2005 7:21 AM
To: FlexML
Subject: [flexcoders] Question about mouseMove
Hi,
I have a small question about mouseMove action.
Below code draws an arrow between
Hi,
I have a small question about mouseMove action.
Below code draws an arrow between mouseDown point and mouseUp point.
It works well. But arrow displays only after mouseUp event.I want to
display arrow during moving of mouse (before I do mouseUp).
I think I have to add something to
Hi all,
I have a problem with moving of dragged image. Can someone help me to
solve this.
There is a image(job1.jpg) in the canvas cvs. DragDrop of job1.jpg to
canvas(JobNetCanves) is working well. After drop it to JobNetCanves, it
can't move again. I want to redrag it and drop freely inside
Hi,
Can someone tell me how to check existence of file.
Checked several docs. But found nothing useful. I tried
to do this with getURL(). But it is trying to open
test.txt. I don't want to open. Just want to check
it's existence.
thanks
Hi,
Can someone tell me how to check existence of file.
Checked several docs. But found nothing useful. I tried
to do this with getURL().When use it, it is trying to open
test.txt. I don't want to open. Just want to check
it's existence.
thanks
Hi,
I want to change the button's image(icon image) after click.
(use this as toggle button)
I tried several ways, but failed. Can someone tell me how to do this?
thanks
-
?xml version=1.0 encoding=utf-8?
mx:Application
Hello,
I hava a small problem with getting data from xml file.
What I want to do is get the image data from xml file and display
image on canves.
When I'm trying to run this application, getting the following error
Problem parsing external XML.
And also I am not sure of writing varible(is this
Hi all,
I want to drag a image from GridItem and drop it on Canvas
(Just drag drop).With referring flex samples(Dragdrop--Custom
class example) I wrote below code. But it is not working.
This is my first dragdrop(among components) code and I am not
sure what's wrong.
Can someone help...
Hi all,
I am making some test programs with the help of tutorials and Flex
samples. But have a problem with implementing below function.
I am very glad if someone can give me a advise, sample code or
url of document which I can refer.
what I want to make is:
1.In the application there is a
Hi All,
I want to draw some dots on the canvas(which are going to use as codinates)
and I did it. But when I move scrollbar(vScrollbar or HScrollbar)
these dots are not moving. They are fixed(may be not on the canvas).
But image12.jpgis on the canvas and when I move scrollbar it also moves.
Hi All,
I want to draw two squares inside the canves.
I define DrawIconsclass. My class file and MXML file is in the same
directory. When I run this, it says The class DrawIcons()could not
be loaded (line of error is var Square1:DrawIcons = new DrawIcons(100, 200);)
Can someone please tell me
Hi All,
I have a small question.
I want to call function line() and function arrow() from
function drawlinesArrows(). I tried sevaral ways. But failed.
Can someone tell me how to do this?
Best Regards,
Prasad
(Absolute beginner of Flex ActionScript)
/mx:Application
Best regards
Stanislav
On 8/23/05, Prasad Dhananjaya [EMAIL PROTECTED] wrote:
Hi All,
I have a small question.
I want to call function line() and function arrow() from
function drawlinesArrows(). I tried sevaral ways. But failed.
Can someone tell me how to do this?
Best
Hi,
I want to display context menu only inside the canves area.
But this code displays context menu in the whole application.
I think the problum is this[menu] part. Which
means the whole application. But I don't know how to specify
canves area.Is it possible to display only in the canvas area?
Hi All,
I want to display right-click context menu only in the canves area.
Can someone please tell me how to do this?.
My code displays context menu in the whole application. Not only
canves area.
Thanks,
Prasad
---
?xml
Hello all,
Can someone tell me how to draw a triangle. I started to use
Flex Actionscript from yesterday. So less experience knowledge.
There is a sample code(only a part) in Flex [help].But don't know
how to define triangle_mc(see code)?
Is there any other errors in this code?
Please
Dear all,
I want to draw some lines on the canves. Location of canves is
inside the panel.Without canvas panel tags it works.
(But if I set backgroundColor it didn't appear)
I tried to get some hint from manual.But failed.
Can someone please tell me how to draw a line on the canves
which is
25 matches
Mail list logo