Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

How to Erase Multiple Layers in Flash Application?

$
0
0

So I am out-of-the-box new to AS3 programming, and I wanted to try out a tutorial.

I ended up using this one, and getting it to work properly: Erase an image using your mouse in AS3 | Jonathan Nicol

But now I want a few additions to the application, and have been tearing my hair out in attempting to get them to work.

If anyone can help me out, or direct me to where I can find out how to do any of the following, I'd be extremely grateful:

 

1. Being able to erase another image under the base image. So what you would have is first erasing the top image to reveal the middle image, then erasing the middle to erase the bottom. This could possibly go on for 6 or 7 layers.

     - Some sort of trigger that detects when a certain area has been  completely masked, so it can move on to the next image to erase?

2. A softer alpha brush? Just with something that doesn't seem so rigid when you erase

3. Some sort of regeneration property, in which after a certain amount of time the erased parted begin to slowly regenerate the image you're erasing.

4. Getting the image to be larger. I'm assuming that "400x400" line had something to do with it, but I wanted to make sure.

 

The second 3 aren't required, but would be appreciated if they were included, but I really need help with the first one.

Thank you for all the help!


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>