Re: Copy image content for object image empty. (Image moving)

2005-09-17 Thread Gilberto Cuba Ricardo

Thank you another time.

Best regards,

Gilberto Cuba

- Original Message - 
From: Klaus Major [EMAIL PROTECTED]

To: How to use Revolution use-revolution@lists.runrev.com
Sent: Saturday, September 17, 2005 6:03 AM
Subject: Re: Copy image content for object image empty. (Image moving)



Buenos diaz Gilberto,


Hi,


you can simply put one image into another one :-)
But this only works with imported images, NOT with referenced images!

I understand this.


on mouseUp
   put image img01 into image Visor ##of cd 17 of stack  
another  cool stack

end mouseUp

This works to the a thousand marvels. Thanks.


Great :-)

This is a little less scripting and you do not have to take care  
that  the dimensions
As you spoke of the dimensions I stayed thinking and when carrying  
out a code I found a detail that   I wanted to be able to clarify.


I made the following script in the image.

on mouseUp
   lock screen
   put image img01 of stack myStack into image Visor
   set the width of image Visor to 200
   set the height of image Visor to 200
   unlock screen
end mouseUp

And it happens that when I press the click in the image, the image  
goes moving up in a position and me the only thing that I make is  
to change their dimensions.


Why does this happen?


Sorry, no idea...


I don't have neither the smallest idea.


I also found that setting height and/or width will also change
the loc of an object.

I ususally work around this with:

on mouseUp
   put the loc of img visor into tOldloc
   lock screen
   put image img01 of stack myStack into image Visor
   set the width of image Visor to 200
   set the height of image Visor to 200
   set the loc of img visor to tOldloc
   ## :-)
   unlock screen
end mouseUp


of both images are identical(!) as you have with imagedata.
Hope that heps.


Yes and thanks you.

Greetings,

Gilberto Cuba



Regards from germany
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


Greetings,

My name is Gilberto Cuba and I live in Cuba.


I almost guessed ;-)

Have a nice weekend.


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Copy image content for object image empty. (Image moving)

2005-09-16 Thread Gilberto Cuba Ricardo

Hi,


you can simply put one image into another one :-)

But this only works with imported images, NOT with referenced images!


I understand this.



on mouseUp
   put image img01 into image Visor ##of cd 17 of stack another  cool 
stack

end mouseUp


This works to the a thousand marvels. Thanks.



This is a little less scripting and you do not have to take care that  the 
dimensions


As you spoke of the dimensions I stayed thinking and when carrying out a 
code I found a detail that   I wanted to be able to clarify.


I made the following script in the image.

on mouseUp
   lock screen
   put image img01 of stack myStack into image Visor
   set the width of image Visor to 200
   set the height of image Visor to 200
   unlock screen
end mouseUp

And it happens that when I press the click in the image, the image goes 
moving up in a position and me the only thing that I make is to change their 
dimensions.


Why does this happen?

I don't have neither the smallest idea.


of both images are identical(!) as you have with imagedata.

Hope that heps.


Yes and thanks you.




Greetings,

Gilberto Cuba


Regards from germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de



Greetings,

My name is Gilberto Cuba and I live in Cuba.




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Copy image content for object image empty.

2005-09-15 Thread Gilberto Cuba Ricardo

Hello colleagues,

I am trying to copy an image that is in a stack for an object image empty, 
but it doesn't work; that makes it is to copy a dirty image for the object 
image.


Script in the object image Visor

on mouseUp
   put the imagedata of image img01 of this stack into tImageData
   put the tImageData into the imagedata of image Visor
end mouseUp

I'm tried too with the property paintcompression, but not work, i.e., i'm 
tried to put the paintcompression into object image Visor.


Some idea of as making it would be welcome.

Greetings,

Gilberto Cuba 




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Stack in runtime...

2005-09-08 Thread Gilberto Cuba Ricardo

Hello colleagues,

I'm a new in the use of the Revolution and recently I began their study.
Today studying many of their things, has been that when I make a stack in
runtime with the invisible property, then when I will show the stack, 
doesn't

make it, and neither closes it in case I doesn't put the invisible property.

This is my code the which they can check to see in what I have made a 
mistake.


In the script button:

on mouseUp numberButton
   if numberButton = 1 then
   create invisible stack MyStack
   set the visible of stack MyStack to true
   wait 10 seconds
   close the defaultStack
   delete stack MyStack
   end if
end mouseUp

Best regards,

Gilberto Cuba

PD: Excusame my english, i'dont know the english correctly.



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution