How to draw the vector form?

I use the following statement to draw a shape
[CODE] for (...) {
sprite.graphics.beginFill (.);
sprite.graphics.drawRect (x, y, 1, 1);
sprite.graphics.endFill ();
} [/ CODE]

But I find top shape is not vector shape. Because I change the size of IE, I find the size of shape don't automatic change. How to use sprite.graphics to create a vector shape?

Thank you

Value size of the Flash 100% x 100% in the HTML object - you will see that your drawing changes size when you resize the browser window.

--

Kenneth Kawamoto

http://www.materiaprima.co.UK/

Tags: Adobe Animate

Similar Questions

  • How to make the vector form

    Image1.gif

    Needless to say, I'm new to Illustrator... I hope that my request is very easy to explain "how"...

    I want duplicate meanings that it be a vector so it scales smoothly and large.

    Any help will be appreciated.

    Thank you

    All you really need to draw are 3 equal trails.

    This is the basic premise. You will need to play with it a little to get the path correct forms.

  • How to draw the graph of output?

    Hello

    How to draw the graph of an exit? is there any api for it?

    The short answer is that there is no API, but you can create your own field if you want to, and here are some samples:

    http://supportforums.BlackBerry.com/T5/Java-development/create-graph-fields/Ta-p/444968

    I recommend the search before you ask questions to see if other people have asked similar questions.  If you type chart in the search box you will find other similar topics.

  • How to draw the 3D dice?

    Anyone know of a tutorial or an example to learn how to draw the 3D dice in Adobe Illustrator?

    I actually found a link to a tutorial on how to do it, but don't know if the announcement of such a link is allowed in the forum. (I'm new here.) He quite far up to a certain time and then it becomes unclear how one of the steps, or I don't know enough yet about using Illustrator to understand what he says to do. In any case, I get so far and then I can not look polished. I understand the basics for creating a drawing in 3 dimensions, so don't looking for this.

    OK, I got quite a breakthrough!

    I went ahead and have materialized to where I got the same result as above, where only the side '6' watch points, while the other two are blue.

    But then I was playing with the outline, making visible/invisible parts. That's when I noticed, there was the '4' and '5', but they were BEHIND the blue. Not before blue as I expected.

    It's simple. Only, I selected the two blue faces and used object/rearrange/send backward to position behind the faces dotted.

    After that, I was also able to select the blue edges and put a radiant on them. It is not yet exactly as this step in the tutorial, not until I find how the gradient tool. But I'm certainly happen.

    At this point, it looks like:

    And that is a SIGNIFICANT improvement on what I had before, if I say so myself. At this point, I'm probably on my way to following through with the tutorial, I started from.

  • How to draw the line under STROKE and fill of an object in illustrator cc? Ideas: D...

    How to draw the line under STROKE and fill of an object in illustrator cc? Any ideas ...

    Aleksandar,

    If I (put) understand it, you will need to divide the object. You can:

    (1) select the object and Ctrl / Cmd + C + F, and then remove the filling of the copy and the blow of the original;

    Draw 2) and drag the new piece down between Division 1 objects) in the layers palette, or select 1 copy) and Ctrl / Cmd + C + F + X + F or similar.

  • How to select the same forms of color in the adobe flash program?

    How to select the same forms of color in the adobe flash program? for example, we assume that 10 forms of rectangle. 3 of them are red and others are green. I want to use only one method or click to select 3 of them. Please help me

    Thanks kunter

    You can use Ctrl + F.

  • How to check the oracle forms?

    Dear friends,

    OS: RHEL AS 3
    DB: 9i R2
    Forms: Developer 6
    pc clients: Windows XP sp2
    Forms Server: novell 4.8

    How to check the oracle forms? for example, we have developed the forms using Developer 6. We would like to know which user accesses the number 152 of the form or the form name hrform.fmx
    Because, every time make us changes in the forms we need more fmx if the user accesses this form so we can not crush him in our novell server.
    Usually, we use a windows scheduler in the night to copy forms. so, if we know the user who has not disconnected from our system. the next day, we ask the user.

    Thank you

    Take a look at

    sys. DBMS_APPLICATION_INFO.set_module

    and

    sys. DBMS_APPLICATION_INFO.set_client_info

    and call these package with good info in each of your form in for example the trigger a TIME NEW FORM INSTANCE...

  • How to place images and cultures to fit inside the vector form

    I am trying to place an image on top a vector shape and then I want to cut the edges of the image, it takes this form (essentially by filling in the form with the image)

    I try also to do with two layers of vector shapes, I want to install into one another and did not all block... the top or 'form fill' is an array of hexagons (make a honeycomb like structure) I want he made in the underlying (lime green) oval shape.  Here is a link if you want to see what I'm doing... It's the one on the right


    www.oregonstate.edu/ ~pearsoan/images/achieve3.ai

    How do you do that?

    Blue,

    Put the (vector) path formatting on top of the image, select both and opposition > clipping mask > make.

    I can't open the file to see what there is to see, and I have to go in a moment.

    If you upload an image, using the camera icon, all wizards can see here in the thread.

  • How to draw the average sensor values against an array of constant (long positions)?

    I have 7 microphones where I take the RMS value.  They are physically located in a line, and I would like to draw their values against their positions.  How can I think.  I guess I'll need to use the XY plot, but I don't know how to turn the 7 signals into a single table and how to create a table of constants for the positions.

    I think that I have, there are however a large number of conversions.  You see somehow I could simplify this, or is it as simple as I'm going to?  I have included my file to the post.

  • How to draw the symbol of the avalanche diode in multisim?

    Hi all

    I include a symbol for the network of diodes in multisim. SP0503BAHT, can someone offer you please how to draw it? I am very new to multisim.

    Thank you

    Hello

    The approach the simplest way to do this is to copy the symbol of a diode of the database and then change the symbol to meet your needs.

    In the wizard components, when you are prompted to enter symbol information, click copy of DB and choose a diode symbol you like. Click on Edit and then you can change the symbol.

    I hope this helps.

  • How to draw the drop command in the oracle database.

    Dear all,


    A DBA how can we draw the cammand drop in the database to find out who droped, removed tables or deleted data from tables or droped dba_directories directory.

    Thank you

    OK, you enabled the audit, but does not say what to check

    SQL > drop table audit on owner.table_name by session;

    Edit: my bad, can't remember the right syntax, but that's what documentation exists for

    Published by: Balazs Papp on June 23, 2011 11:11

  • Line of text well rolled on top of the vector form

    Hello!
    I know how to create a winding line of text using the pen and text attachment to the Path command. It's easy. BUT... What if I want to PLACE this text a little winding on a shape vector real, say an ellipse. What should be my workflow? As I do is... I first create a vector object, for example, ellipse. Then I create a text. Can I use the same way I described above (ie. Select two things with the SHIFT key then go to the text of attachment to the path). But the problem is... The vector object disappears! And all I have on the contrary is just a text well rolled on top where there USED to be the vector object.
    But I like to keep BOTH, the text and the object together. How this can be done?

    Duplicate your curvy object and then attach the text to the top in the list of layers.

  • How to draw the lines automatically

    In LabVIEW I must draw a line automatically (both vertically and horizontally) the user will define the vertical and horizontal number lines.

    Is this possible with LabVIEW

    Thanks in advance

    You move to the point of departure of the line using "move the pen", and then draw the line using "draw the line".

    Repeat for each line. (using for example a for loop and autoindexing on positions).

  • How to display the complete form of shape

    Apex 4.0.2.00.07

    I want to display the complete form, but always show the empty box (region position2), what should I do?

    model: form width 100%

    Thanks and greetings

    Found the solution.

    Defined as a level Tabs page template

  • How to draw the names of the items in the object

    Hello

    How to view the name of the object element. I had the object and I would get her child, but I don't know the name of this element. So I thought that I can find this name, but I don't know how.

    :

    for (var i: int = 0; i<>

    trace (dobjcontainer.getChildAt (i). (Name)

    }

Maybe you are looking for