If you don't subscribe to the Aware List, I strongly suggest you sign up. The list is a great way to learn from what others are doing. For example, Keith Renfield posted a great Tip just this week on the Aware list…
I have a technique for applying a transition to icons erased with the EraseIcon() function which has worked very well for me in the past. These are the basic steps:
- Drag a new Erase Icon to the flow line.
- In the Erase Icon properties, Uncheck Prevent Cross Fade.
- Draw a graphic with a calculation and set this Erase Icon to erase it.
- Select an erase transition to apply to the icons
- Create a linear list of icons to erase (I call mine IconsToErase) that are erased in the Calculation Icon that we set up to be erased earlier
Drag a Calculation Icon to the flow line directly below the Erase Icon.
Now for the specifics. The calculation should be set up originally to draw a large box, like this:
SetFill(TRUE , RGB(0,0,0))
Box(1, 1, 100, 1, 100)
Next, we'll set up the Erase icon to erase this box.
Run your piece. When the flow reaches the empty Erase Icon, click the Box, then click OK.
Once that is done, you can replace the Box() code with the real code:
repeat with I := 1 to ListCount(IconsToErase)
EraseID := IconsToErase[i]
EraseIcon(EraseID)
end repeat
Now, because of the Cross Fade from the Erase Icon transition, whatever you erase with the EraseIcon function will also receive the transition. You can set up a Subroutine Framework to apply other transitions too. |