Drawing lines dynamically

This is a discussion on "Drawing lines dynamically" within the Flash & Multimedia Forum section. This forum, and the thread "Drawing lines dynamically are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 27th, 2003, 13:42
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
Drawing lines dynamically

Hey. how do I draw lines dynamically in flash? Would love detailed explanations

  #2 (permalink)  
Old Nov 27th, 2003, 18:02
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
www.actionscript.org Just about everything and anything you need to know can be found here.
  #3 (permalink)  
Old Nov 28th, 2003, 07:33
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
Dont' seem to find anything regarding this...
  #4 (permalink)  
Old Nov 28th, 2003, 08:10
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Let me look into this... Don't know if it can be done literally without you first bulding a little "Engine"...
  #5 (permalink)  
Old Nov 28th, 2003, 16:59
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
This should be helpful:

http://www.actionscripts.org/tutoria...sh/index.shtml

The rough idea, as I see it, is this:

Code: Select all
createEmptyMovieClip("Line", 1);
Line.lineStyle(1, 0x000000, 100);
Line.moveTo(0,10);
Line.lineTo(120,160);
You create your movieclip and set your linestyle(width, colour, opacity).
The moveTo is your starting point and lineTo is your end point. Flash automatically draws that line.
  #6 (permalink)  
Old Nov 28th, 2003, 17:27
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Yep.. Once again, Actionscript.org comes in handy!!! I am telling you, it has most of your answers for flash problems.
Closed Thread

Tags
drawing, lines, dynamically

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
why are there lines on two sides of my graphic Matty Brown Web Page Design 3 May 18th, 2007 12:20
good drawing tools wmw Graphics and 3D 3 Apr 22nd, 2006 12:42
Dividing lines? joel Databases 0 Nov 3rd, 2005 19:46
curved lines gwx03 Graphics and 3D 5 Jun 1st, 2004 14:45


All times are GMT. The time now is 22:37.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43