+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Create a Shapes in Flash CS3:

  1. #1
    satheesh's Avatar
    satheesh is offline x10 Elder satheesh is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Tamil Nadu,India
    Posts
    883

    Smile Create a Shapes in Flash CS3:

    Create a Shapes in Flash CS3:

    This tutorial help you to Create a Shapes in Flash CS3 at run time.

    Syntax:

    var name:Shape=new Shape() //To create a variable.
    name.graphics.beginFill(0); //Set Color to begin Fill
    name.graphics.drawCircle(50,50,40); //Draw Circle
    name.graphics.endFill(); //End Fill
    addChild(sha); //Add this shape to Stage.

    name
    means User Defined name.
    You want to Draw Rect: drawRect(2,2,95,95);
    You want to Draw RouRect: drawRoundRect(25,25,50,50,10);

    Example:
    To Draw Circle:http://svprm.x10hosting.com/shapes/index.php
    To Draw Rect:http://svprm.x10hosting.com/shapes/index.php
    To Draw RouRect:http://svprm.x10hosting.com/shapes/index.php

    If you this Tutorial help you means give some rep or Credits.
    I want to buy Some Scripts So Please Click This link:http://affiliate.tufat.com/index.php?id=4384
    Please rate my site:Click here




  2. #2
    stunna's Avatar
    stunna is offline x10 Sophmore stunna is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Jamaica
    Posts
    200

    Re: Create a Shapes in Flash CS3:

    Nice tutorial, pretty helpfull.

  3. #3
    satheesh's Avatar
    satheesh is offline x10 Elder satheesh is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Tamil Nadu,India
    Posts
    883

    Re: Create a Shapes in Flash CS3:

    Thanks.
    Please rate this.
    I want to buy Some Scripts So Please Click This link:http://affiliate.tufat.com/index.php?id=4384
    Please rate my site:Click here




  4. #4
    diabolo's Avatar
    diabolo is offline Community Advocate diabolo is on a distinguished road
    Join Date
    Nov 2007
    Location
    Jersey Shore
    Posts
    1,683

    Re: Create a Shapes in Flash CS3:

    could you explain what those coor. mean?
    You want to Draw RouRect: drawRoundRect("25,25,50,50,10");
    the part in quotes

  5. #5
    Blockis2 is offline Banned Blockis2 is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    x10 Secret HeadQuarters
    Posts
    225

    Re: Create a Shapes in Flash CS3:

    I think it's "Create a Shape in Flash CS3"

    Anyways, looks good.

  6. #6
    satheesh's Avatar
    satheesh is offline x10 Elder satheesh is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Tamil Nadu,India
    Posts
    883

    Re: Create a Shapes in Flash CS3:

    Thanks.

    @diabolo
    This is function to create Rounded Rectangle.

    ex:

    var name:Shape=new Shape() //To create a variable.
    name.graphics.beginFill(0); //Set Color to begin Fill
    name.graphics.drawRoundRect(25,25,50,50,10);//to Draw Rounded Rectangle.
    name.graphics.endFill(); //End Fill
    addChild(sha); //Add this shape to Stage.

    name means User Defined name.

    Demo:http://svprm.x10hosting.com/shapes/index.php?s=rr
    Edit:
    Thanks.

    @diabolo
    This function to create a Rounded Rectangle.
    Last edited by satheesh; 02-25-2008 at 05:42 AM. Reason: Automerged Doublepost
    I want to buy Some Scripts So Please Click This link:http://affiliate.tufat.com/index.php?id=4384
    Please rate my site:Click here




  7. #7
    Jesse's Avatar
    Jesse is offline Lord Of The Keys Jesse is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Manila, PH
    Posts
    1,357

    Re: Create a Shapes in Flash CS3:

    Woah! Nice Tutorial. This might help me in learning flash.
    x10HOSTING
    Member Since October 2007.

    JESSEMAN.ME
    | iMusicz.net

  8. #8
    satheesh's Avatar
    satheesh is offline x10 Elder satheesh is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Tamil Nadu,India
    Posts
    883

    Re: Create a Shapes in Flash CS3:

    Thanks for your comments.
    I want to buy Some Scripts So Please Click This link:http://affiliate.tufat.com/index.php?id=4384
    Please rate my site:Click here




  9. #9
    diabolo's Avatar
    diabolo is offline Community Advocate diabolo is on a distinguished road
    Join Date
    Nov 2007
    Location
    Jersey Shore
    Posts
    1,683

    Re: Create a Shapes in Flash CS3:

    but what do those numbers mean, what if I wanted to create a rounded rect. with a 30px, rounded-corner..
    I think you expand on what those numbers mean, like x, and y coord. maybe?

  10. #10
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Create a Shapes in Flash CS3:

    you are surely a good flash guru. nice tutorial.
    can you tell how to navigate to another frame automatically after some n seconds. is there a timer script to do this.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Biometric Flash Drives
    By mygorillanet in forum Computers & Technology
    Replies: 5
    Last Post: 01-14-2008, 08:04 PM
  2. Replies: 5
    Last Post: 12-14-2007, 11:50 AM
  3. Create a text Field during execution in flash.
    By satheesh in forum Tutorials
    Replies: 0
    Last Post: 10-20-2007, 01:49 AM
  4. Create Right Click Menu in Flash
    By satheesh in forum Tutorials
    Replies: 2
    Last Post: 10-04-2007, 06:42 AM
  5. Create a Flash Cursor in Flash.
    By satheesh in forum Tutorials
    Replies: 0
    Last Post: 10-04-2007, 01:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers