Windows- altering an images layer inside a repeat loop

Ian Wood ian at azurevision.co.uk
Tue Oct 21 14:41:33 EDT 2003


Thanks again!

alwaysBuffer of the player was set to false, because you cannot 
interact with the player when it is set to true.

I'll have to code in a change to true when the 'Make Movie' button is 
clicked.

Ian

P.S. I'll be trying out some of the Rev bits from your site, there are 
a few rather useful bits on there...

On Tuesday, October 21, 2003, at 05:46  pm, Ken Ray wrote:

> Ian,
>
> Is the alwaysBuffer of the player set to true? If not, set it to true
> and try again. If a movie is not buffered, you can't lay things on top
> of it.
>
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
>> -----Original Message-----
>> From: use-revolution-bounces at lists.runrev.com
>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ian Wood
>> Sent: Tuesday, October 21, 2003 10:17 AM
>> To: use-revolution at lists.runrev.com
>> Subject: Windows- altering an images layer inside a repeat loop
>>
>>
>> Yet another request for help!
>>
>> My application pans a cubic QTVR and saves out snapshots for a video
>> sequence.
>>
>> For the demo version I want to place an image "beta040.gif" over the
>> QTVR "player 1" as a watermark.  Which works fine on OS X & OS 9, but
>> on WinXP and Win2000pro the image doesn't appear over the QTVR.
>>
>>
>> repeat no_of_frames times
>>      set the pan of player "player 1" to current_pan
>>      put current_pan + pan_increase into current_pan
>>
>>      set the tilt of player "player 1" to current_tilt
>>      put current_tilt + tilt_increase into current_tilt
>>
>>      set the zoom of player "player 1" to current_zoom
>>      put current_zoom + zoom_increase into current_zoom
>>
>>      set the layer of image "beta040.gif" to top -- bring to front
>>
>>
>>      wait 100 milliseconds-- so that the screen updates
>>
>>
>>      put the windowID of this stack into savedID
>>      import snapshot from rectangle 160,0,(width of player 1 +
>> 160),(height of player 1) of window savedID
>>      export JPEG to file file_name & ".jpg"
>>      delete last image
>>
>>      put file_name + 1 into file_name
>>    end repeat
>>
>> Again, I may be missing something simple, but I've tried putting the
>> layer change in different places in the repeat, allowing a
>> longer wait,
>> sending the player to the back, and I am out of ideas.
>>
>> Ian
>>
>> P.S. Rev 1.1.1 on OS X 10.2.1 and Rev 2.1 trial on OS X 10.2.6.
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-> revolution
>>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the Use-livecode mailing list