Web Design Forum: Please help with Actionscript code - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Please help with Actionscript code Rate Topic: -----

#1 User is offline   sravis 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 43
  • Joined: 14-September 11
  • Reputation: 0

Posted 26 January 2012 - 07:03 PM

Hello;
I'm writing actionscript code for creating online drawing board. Everything worked fine and i got the result too. But here users can only draw on the swf document. But i have created the movie clip with the instance name. And i want user to draw on this movie clip.

I tried something like
myMovieClip.onMouseDown = startDrawing; [<= function for drawing]
myMovieClip.onMouseUp = stopDrawing;

But after this if i draw, i can see lines under this movie clip not on top of it.

How do i write a code that enables me to draw on a movie clip or image except on the document area.

Please help..

Regards;
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users