You said - then you attach a movie symbol that you want the user to draw on - and that you can draw everywhere but on this new symbol. Are you sure that you aren't simply drawing behind the new symbol - as by default the new clip would be attached at a higher depth than prior ones. -- Dave - www.blurredistinction.com/director www.macromedia.com/go/team
:confused; Hi I know that this is possible but I get the feeling that I am not going about it the right way. At the present moment I have a drawing application. My program creates an empty movie clip where I can draw. Then I attach a movie symbol which I want the user to be able to draw on. Actually I would like to make it so that they can only draw on the picture. At the moment I can only get flash to allow the user to draw in the movie clip everywhere but on the picture. Can anyone help me? Denise
Hello, Do you have the .fla of your drawing application, then load it on an upper layer and the drawing on a lower layer. That solves it I guess but you need to limit the drawing tool mouse to your image region.
Hi thanks for everyone help. I figured out what I was doing wrong, I had attached my picture to the wrong movie clip so I was drawing behind the photo. Now I just need to figure out how to make my erase function work, now that my background isn't white. Denise
do it the other way: attach your movieclip that you want to use as your canvas and create an empty child movieclip child of your attached canvas. trigger your drawing code using this child only if the canvas is being drawn on.
This post reminds me... I can't wait for Flash 8!
you'll either have to do a lot of masking if you want to be able to do general erasures or if you can live with erasing entire segments, use a separate movieclip for each segment. you can then remove or clear the movieclips.
Don't see what you're looking for? Try a search.
|