Quantunet.com

My Account

Joins Us
Flash 8 Actionscript 2.0 QuickSkills

Drawing Lines With Actionscript

 

How to draw multiple lines with actionscript:

  • Click on the first keyframe then open the Actions panel.
  • Copy and Paste this code into the "Actions-Frame" panel.

_root.lineStyle(3,0x0000FF,100);
_root.moveTo(150,200);
_root.lineTo(400,250);
_root.moveTo(50,300);
_root.lineTo(100,50);

  • Press Ctrl + Enter to test the movie.
 

Note: To learn more about drawing with actionscript see [Actionscript Drawing Knowledgebase].

© 2008 Quantunet LLC All Rights Reserved | Intellectual Property | Terms of Use | Privacy
Home | About Quantunet | FAQ's | Contact Us