script not working when the stack is password protected, why?
Hello I have a stack for putting images together on a virtual board and make a new image from it. The following button script adds a image to the actual group kopfleiste which contains all images and texts etc. which then will be exported to a jpg file. This script does not work when the stack is password protected, but works when this is not the case. What line is the reason for this? on mouseUp put the number of images of group kopfleiste into bildanzahl copy image i1 of group vorlage of card 2 to group kopfleiste set the loc of it to the loc of group kopfleiste put (i the seconds) into bildname set the name of it to bildname put the layer of the group kopfleiste into kopfleistenlayer set the relayerGroupedControls to true set the layer of image bildname to (kopfleistenlayer + bildanzahl+1) set the relayerGroupedControls to false end mouseUp Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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: script not working when the stack is password protected, why?
Hi, the problem is in the line copy image i1 of group vorlage of card 2 to group kopfleiste It tries to cut an image of card 2 before copiing it to card 1. = can't cut object (stack is password protected) This is not allowed when the stack is password protected (in older versions I remember I could get image 1 of card 1 of this stack even when password protected - I am glad about this improvement - if I remember correctly). I try the following solution: on openCard if the environment development then set the passKey of this stack to xyz end if end openCard It seems to be secure ... in the standalone this allows the script to work, but not in the IDE. Does this be secure? My decompile stack, which I got from the net for decompiling a 2.2 runrev -standalone exe to a 2.2 runrev file and which worked till 2.7 does not work anymore. Any newer version of the decompile script on the market ;-) Greetings, Franz Original Messageprocessed by David InfoCenter Subject: script not working when the stack is password protected, why? (22-Aug-2008 10:46) From:[EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello I have a stack for putting images together on a virtual board and make a new image from it. The following button script adds a image to the actual group kopfleiste which contains all images and texts etc. which then will be exported to a jpg file. This script does not work when the stack is password protected, but works when this is not the case. What line is the reason for this? on mouseUp put the number of images of group kopfleiste into bildanzahl copy image i1 of group vorlage of card 2 to group kopfleiste set the loc of it to the loc of group kopfleiste put (i the seconds) into bildname set the name of it to bildname put the layer of the group kopfleiste into kopfleistenlayer set the relayerGroupedControls to true set the layer of image bildname to (kopfleistenlayer + bildanzahl+1) set the relayerGroupedControls to false end mouseUp Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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 To: use-revolution@lists.runrev.com ___ 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-2: script not working when the stack is password protected, why?
Hello, just got the info on chatrev that this approach on openCard if the environment development then set the passKey of this stack to xyz end if end openCard is not secure for a rev file because someone could open the rev file, make another substack with a script (go stack protectedstack (now the password is passed); go stack mynewsubstack; put script of stack protectedstack ... voila) I could not even think so evil ;-) I try: on anyhandler set the passKey of this stack to xyz do and let the script cut and work from the stack... set the passKey of this stack to empty end anyhandler ... Greetings, Franz ___ 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: Re-2: script not working when the stack is password protected, why?
--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, just got the info on chatrev that this approach on openCard if the environment development then set the passKey of this stack to xyz end if end openCard is not secure for a rev file because someone could open the rev file, make another substack with a script (go stack protectedstack (now the password is passed); go stack mynewsubstack; put script of stack protectedstack ... voila) I could not even think so evil ;-) I try: on anyhandler set the passKey of this stack to xyz do and let the script cut and work from the stack... set the passKey of this stack to empty end anyhandler ... Greetings, Franz Hi Franz, This is indeed not secure - your best bet is to move the handler into a separate password-protected library stack and make your 'work' stack a more-or-less empty shell where you only have the controls. At that point, frontScripts come in handy to intercept mouseUps and other events that need to call into the library stack. It's a pain, but it's your best shot. Jan Schenkel. Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) ___ 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