Hi i am not getting.I search.
my code is like that
for (var char:uint=0;char<myText.length;char++) {
//fte1.text = "Hello world";
//fte1.border = false;
var fte1:Label = new Label();
fte1.x = radius * Math.cos(degrees2radians(char*spacing
+angularOffset)) + center.x;
fte1.y = radius * Math.sin(degrees2radians(char*spacing
+angularOffset)) + center.y;
var dx:Number = center.x-fte1.x;
var dy:Number = center.y-fte1.y;
var angle:Number = Math.atan2(dy, dx);
fte1.text = myText.charAt(char);
can.addChild(fte1);
}
var oh:ObjectHandles = new ObjectHandles();
oh.height = 200;
oh.width = 200;
oh.x = 10;
oh.y = 10;
oh.rotation = 0;
oh.addEventListener
(ObjectHandleEvent.OBJECT_RESIZED_EVENT,onResize);
oh.addEventListener
(ObjectHandleEvent.OBJECT_ROTATED_EVENT,onRotate);
oh.addEventListener( MouseEvent.MOUSE_UP, onMouseUp );
oh.resizeHandleImage = resize_handle;
oh.rotateHandleImage = rotate_handle;
can.percentHeight = 100;
can.percentWidth = 100;
oh.allowRotate = true;
oh.allowHResize = true;
oh.allowVResize = true;
oh.addChild(can);
genericExamples.addChild(oh);
i am simply draw circle with text.
i am not using any font style.
i am just simply rotate this object handel. circle disappear..or it
may be font disappear
this happen also with text area.
can u help me ,actually what code i have to write for this.
Thanks
Dhara
On Nov 25, 7:56 pm, Marc Hughes <
flexcompone...@rogue-development.com>
wrote:
> Take a search through the recent archive for similar issues, it's an
> embedded font thing.
>
> -Marc
>
>
>
> On Wed, Nov 25, 2009 at 4:57 AM, Dhara <
dharakhachar...@gmail.com> wrote:
> > Hi !!!
>
> > I have a one textarea ,that is place inside Canvas.
>
> > Now that whole object is placed inside objecthandles.
>
> > while rotating objecthandles then text disappear inside teatara
>
> > Thanks.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Flex ObjectHandles" group.
> > To post to this group, send email to
object...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
objecthandle...@googlegroups.com<objecthandles%2Bunsubscribe@goog
legroups.com>
> > .
> > For more options, visit this group at
> >
http://groups.google.com/group/objecthandles?hl=en.- Hide quoted text -
>
> - Show quoted text -