Draw lines and rectangles using actionscript
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Draw lines and rectangles using actionscript

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    15

    Draw lines and rectangles using actionscript

    I bumpped into a trouble that a lot of mathematical functions are unavailable in FL
    is there any functions that accepts points or coordinates than draws a line or a rectangle?

  2. #2
    Junior Member
    Join Date
    Oct 2004
    Location
    Newcastle upon Tyne, UK
    Posts
    8
    Unfortunatley there are no Classes in Flash Lite, including the Drawing API.
    Paul Lamonby - BlueskyNorth
    www.blueskynorth.com

  3. #3
    curmudgeon
    Join Date
    Sep 2000
    Location
    Bay Area, CA
    Posts
    32
    while you can't just plug into a function there are ways of creating dynamic drawings using a movie clip that has a line in it and then changing the _xscale and _yscale of the movie clip to make it the right length and pointing in the right direction.

    normally this means to draw a hairline (very important that it be a hairline since that won't add any dimension to the line to throw things off. your hairline should be at a 45 degree angle pointing down and to the right starting at the registration mark.
    Justin Everett-Church
    http://www.infinitumdesign.com
    http://messenger.yahoo.com/imvhome.php

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

Poll by Flashkit.com