helpme in graphics

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phanimadhav
    New Member
    • Jun 2007
    • 78

    helpme in graphics

    Hello exports.Any one please help me in graphics i don't know about how to draw the Circles rectangles by using Actionscript.pr easently my clent requirement is working on flexbuilder3.so please any one please send the example about graphics especially Drawings.Advanc ed Thank you.
  • Rabboni
    New Member
    • Feb 2008
    • 3

    #2
    function draw_box(w,h,c) {
    var new_box = this.createEmpt yMovieClip("new _box", this.getNextDep th());
    new_box.beginFi ll(c);
    new_box.lineSty le(0,0xCCCCCC,0 );
    new_box.moveTo( 0, 0);
    new_box.lineTo( w, 0);
    new_box.lineTo( w, h);
    new_box.lineTo( 0, h);
    new_box.lineTo( 0, 0);
    new_box.endFill ();
    return new_box;
    }

    draw_box(305,20 ,0xCCCCCC);

    Comment

    Working...