Re: lingo-l Multiple statements in one line
Hi Peter I wonder, can Director script window have multiple statements in one line? e.g. instead of varA = 5 varB = 10 yes you can, but is it totally inefficient ;¬) Here's the stupid workaround: do(varA = 5 RETURN varB = 10) Now that you've readi it, you can forgot about it :¬) cheers, séb [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Multiple statements in one line
hi peter, you can easily simulate a multiline-command message window by your own tool xtra. I've send you an example, just put lingo.dir in your xtras folder, restart director and invoke it from the xtra menu. it supports copy and paste, and instead of a slow do() command it uses a faster: on mouseUp member(foo).scripttext=on fooreturnmember(input).textreturnend foo() end as a simple test, type e.g. repeat with i = 1 to 10 put 23 end repeat in the window and press the GO button. best, valentin Sébastien Portebois wrote: Hi Peter I wonder, can Director script window have multiple statements in one line? e.g. instead of varA = 5 varB = 10 yes you can, but is it totally inefficient ;¬) Here's the stupid workaround: do(varA = 5 RETURN varB = 10) Now that you've readi it, you can forgot about it :¬) cheers, séb [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
RE: lingo-l Multiple statements in one line
Thanks all for the suggestions. Now I see, that I have to sacrifice subtlety to expediency. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
lingo-l Script window flushing
Hi, Just a quick question: when working with big scripts how do I get rid of constant flushing (or flashing) of script window whenever I typed in a new character? When you spend a considerable amount of time you get really irritable of this. TIA [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Script window flushing
You can't, in my experience...I think saving and then relaunching works for me...but there's nothing else you can do AFAIK. J On Friday, Dec 5, 2003, at 16:07 US/Eastern, Peter Bochan wrote: Hi, Just a quick question: when working with big scripts how do I get rid of constant flushing (or flashing) of script window whenever I typed in a new character? When you spend a considerable amount of time you get really irritable of this. TIA [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
lingo-l setScriptList
Hello all, I have been trying to attach a behavior dynamically to a sprite with the properties of the behavior also dynamically added/changed using values from a db at runtime. I've been using setScriptList and at first am having wonderful success at attaching the behavior and setting it's properties however this being a db app, the behavior's properties to a given sprite need to change many times throughout the lifetime of the application. This is where the problem is. If I change the behavior properties with setScriptList again there is a lag in it's response, the sprite seems to hold the values of the previous state. What is confusing is the fact that if I change the behavior properties again they are again one state behind. I hope someone out there understands what I'm trying to say. Any help would be greatly appreciated. Clay Atfield [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Script window flushing
Try turning off syntax hiliting and/or line numbers? On Dec 5, 2003, at 3:10 PM, 2702NET wrote: You can't, in my experience...I think saving and then relaunching works for me...but there's nothing else you can do AFAIK. J On Friday, Dec 5, 2003, at 16:07 US/Eastern, Peter Bochan wrote: Hi, Just a quick question: when working with big scripts how do I get rid of constant flushing (or flashing) of script window whenever I typed in a new character? When you spend a considerable amount of time you get really irritable of this. TIA Warren Ockrassa | [EMAIL PROTECTED] Publisher, nightwares eBooks A division of | http://www.nightwares.com/ebooks/ nightwares LLC | http://www.nightwares.com/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Script window flushing
Well, yeah...turning off syntax hiliting does the trick...but I find I rely pretty heavily on syntax hiliting. On Friday, Dec 5, 2003, at 18:14 US/Eastern, Warren Ockrassa wrote: Try turning off syntax hiliting and/or line numb [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Script window flushing
Just a quick question: when working with big scripts how do I get rid of constant flushing (or flashing) of script window whenever I typed in a new character? I've had a degree of luck with turning OFF line numbering, either from Edit - Preferences - Script, or right-click in an open script window and de-select Line Numbering. HTH, -Sean. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
lingo-l How to extend a score sprite through Code.
Hi All, Hi every body, I have some problems working with lingo through Code pls help me out from my issue. 1.) I want to increase the sprite frame through code. 2.) I want to reduce the width of the flash file through Code by finding the sprite which contains width is equal to 800 and change that to 790. 3.) Is there any way to change the external cast link to another specified file.. pls let me know if any one have solved this problem and pls send me some sample code for that. - Click here to find your dream partner! Know more at http://www.bharatmatrimony.com/partner/sify.html Sify Power mail- a Premium Service from Sify Mail! know more at http://mail.sify.com [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l How to extend a score sprite through Code.
1.) I want to increase the sprite frame through code. sprite(n).endframe = 1234 2.) I want to reduce the width of the flash file through Code by finding the sprite which contains width is equal to 800 and change that to 790. You could repeat through the sprites, and set the widths: repeat with a = 1 to 1000 if sprite(a).width = 800 then sprite(a).width = 790 end repeat 3.) Is there any way to change the external cast link to another specified file.. castlib(cast name).filename = pathToCST The answer 1 and 2 above will need score recording to be on. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l How to extend a score sprite through Code.
On Friday, December 5, 2003, at 11:46 PM, Saravanan appya wrote: I have some problems working with lingo through Code pls help me out from my issue. 1.) I want to increase the sprite frame through code. Consider Puppeting the sprite channel instead. 2.) I want to reduce the width of the flash file through Code by finding the sprite which contains width is equal to 800 and change that to 790. Change the rect or width property of the sprite. 3.) Is there any way to change the external cast link to another specified file.. Change the cast's filename property. To do these things, lookup puppet, rect, and cast.filename in the manuals. -- Troy RPSystems, Ltd. http://www.rpsystems.net [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]