A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: drawing a rectangle from a dot..

  1. #1
    Junior Member
    Join Date
    Dec 2002
    Posts
    2

    drawing a rectangle from a dot..

    hi everyone, this is my first post here

    i'm trying to make a movie which is about drawing a rectangle starting from a dot. this is what i did, and how i failed:

    i started with a line at lower right corner (height:0, width:1) then i created a tween from it. i managed to draw the line from right corner to the left corner at bottom but when i try to go up now with a new layer, i have to make (i think) height: 300px width:0. and when i do that, the line becomes huge in both width and height.

    am i thinking all wrong? i'm sure there is a better way, if there is not, can you help me in turning my drawing to up there? thanks

    kale

  2. #2
    Old Member gecko2's Avatar
    Join Date
    Aug 2000
    Location
    New Yorkshire, UK
    Posts
    627
    Welcome to Flashkit Kale.

    One way to do would be to draw the rectangle to start off with, then add a frame and erase a little, not too much though, then add another frame and erase a little more, then just keep doing this until the rectangle has totally gone. You'll have a line of keyframes, select them all and 'right-click' and choose 'reverse frames'.

    Now when you play it back it looks like it is being drawn, and not erased as you originally did it.
    Keep it rural.

  3. #3
    Junior Member
    Join Date
    Dec 2002
    Posts
    2
    thank you,
    i'll definately try that

    kale

  4. #4
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    Draw your outline..and use masking to 'fake' like it is being drawn...just tween your mask to reveal your outline...one side at a time.

    -whispers-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center