Masking
Author |
Message |
Fashoomp

|
Posted: Fri Mar 23, 2007 4:20 pm Post subject: Masking |
|
|
How, if even possible can you create (in flash terminology) masking. I cant really see how it would be done, because turing does not work with layers. Would it be possible to have an image. Only visible within a 50 pixel radius to the cursor? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Clayton

|
Posted: Fri Mar 23, 2007 4:39 pm Post subject: Re: Masking |
|
|
It would be kind of hard, as you would need to do a pixel-pixel check to see if they are the same color as the one that you had clicked on (this screams recursion) and keep going through your picture based on possible paths from the last possible spot that you were at. I highly suggest you check out zylum's recursion tutorial in the Turing Walkthrough to figure out how this could even begin to be done.
If you mean what I think you mean for your mouse cursor, then, no, I do not believe there is a (built-in) way to see only a part of an image within a 50 pixel radius of the mouse cursor. However, you could try and work something in with Pic.New() and other functions/procedures from the Pic module. Make no mistake, this will end up being a huge project should you try to take this on. |
|
|
|
|
 |
ericfourfour
|
Posted: Fri Mar 23, 2007 9:28 pm Post subject: RE:Masking |
|
|
There is a Turing application at View.ClipAddOval in the Turing help that does what I think you are asking in the last sentence. |
|
|
|
|
 |
|
|