Paste into overlay not working?
Hope somebody can enlighten me:
I'm trying to use Overlay Redux to "paste into overlay" but nothing happens. I've tried pasting into itself, pasting into a different Overlay Redux, using the Unique Fixed Value, using the Overlay Address, using absolute positions turned on/off, opaque/transparent overlays - nothing works!
I'm running the latest MMF2 build R244 on Windows XP SP2. I even went back to MMF 1.5 and have the same problems there.
Unfortunately the Click Wiki is very sparse on information on Overlay Redux and the Help file doesn't go into detail.
I'm only trying a very simple test:
New application (640x480)
Create an Overlay Redux in frame editor. Then create this event in the event editor:
Upon pressing "Space bar": (Overlay Redux):Paste Overlay Fixed("(Overlay Redux)") into Overlay
I used the coordinates:
Source X=0
Source Y=0
Source Width=100
Source Height=100
Destination X=100
Destination Y=100
Destination Width=100 (also tried with 0 as Help suggests)
Destination Height=100 (also tried with 0 as Help suggests)
This should copy the top left corner 100 pixels of the Overlay into a position 100,100 as I understand it.
Has anybody ever had this working? Can somebody point me to an example?
Thanks,
Kevin Ayre
Re: Paste into overlay not working?
tested in MMF 1.5 and it works perfectly fine, are you using:
ovlAddress( "Overlay Redux" )
for the fixed overlay value ?
Re: Paste into overlay not working?
No, I was using the Overlay's fixed value. You're right, using the Overlay Address works! (I'm sure I tried this once, but the Help file suggests using the Overlay's fixed value:
"The source Overlay is specified by fixed value. Do not use values that are not retrieved from the "Get Fixed Value" expression."
Thanks for the help, I can stop tearing my hair out now!