Re: Re: lingo-l New Error On Script for Scaling Graphic
At 10:26 PM -0400 4/15/01, Kurt Griffin wrote: David, You are getting this specific error message because the keyword "sprite" only takes one parameter - the spriteNumber. The question is, what are you trying to say when you keep referencing: sprite(1, "pictures") ??? sprite(1)refers to whatever cast member is in channel 1 in the score. Not to bust Irv's chops, but actually, "sprite(1).member" refers to whatever cast member is in channel 1. sprite(1) has a lot of other, non-member, properties that can be referenced through dot syntax. I consider my chops busted - Kurt is correct. snip Learning about debugging will help you immensely as well - those error messages usually point you toward the problem code (usually... ;)). I believe there are a few articles on DOUG related to that subject. Check out my article on using the debugger on DOUG at: http://www.director-online.com/accessArticle.cfm?id=871 Irv -- Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 OOP E BOOK
Yes, this is the correct address. It is the first seven chapters on a book on Object Oriented Programming in Lingo. Available for free. Enjoy, Irv At 5:02 PM +0100 4/15/01, Victor Wright wrote: Yes it is IRV KALB and the web address he gave was http://www.furrypants.com/loope Vic - Original Message - From: "mike massey" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 15, 2001 4:07 AM Subject: lingo-l OOP "E" BOOK also somebody gave link for an e book on object oriented programming in lingo and i forgot what his name was or the address does anybody remember what that adress was? -- Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 charToNum
To Tab: That was a great explaination of what is wrong with my script. Thanks for patiently explaining it to me. However, I'm still getting errors and I'm getting really confused. Could I send you the .dir file? If you're cool with this, thanks in advance. Nancy _ Get your FREE download of MSN Explorer at http://explorer.msn.com [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 Ticks -- seconds
on 4/11/01 7:42 AM, Mark A. Boyd at [EMAIL PROTECTED] wrote: At 01:33 4/11/2001, Rodrigo Peres wrote: hi to all, How the best way to convert seconds to ticks?? I'm usinng th HMSToframes to convert 00:00:13 to seconds and then put it * 60 to get the ticks, but it's not working. What I really need is: my user type a time in format 00:00:00 and then I use the movietime property to change the position of a quicktime. Use 60 for the tempo parameter: -- Welcome to Director -- put HMStoFrames("00:00:13",60,0,0) -- 780 put HMStoFrames("00:00:01",60,0,0) -- 60 put HMStoFrames("00:01:00",60,0,0) -- 3600 -- Mark A. Boyd Keep-On-Learnin' :) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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!] -- Sorry, but I think I didn't understand. If i use put movietime in my movie o 13 seconds, director replies 824 ticks? -- put HMStoFrames("00:01:00",60,0,0) -- but It doesn't means one minute (00:01:00)?? so how it marks 3600??? Thank's Rodrigo Peres [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 Xtra missing message
Clars, Thanks for the info. I'll give that it a shot. I did get my projector to play correctly. The help docs say that if you have dupes it can cause problems with director. I deleted the extra xtras that my TEMP folder had. As soon as I did this my probem went away. However, I'm getting several repeats of the same error message when I write my projector. Script error: Xtra not found -no text available- ",#name W32" Does anyone know how to fix THIS problem? It doesn't seem to be affecting creating a projector. I just keep canceling the window and then the projector gets written with the appropriate xtras included. It plays fine. Will Brown Creative Services -- From: clars danvold[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 10:25 AM To: [EMAIL PROTECTED] Subject: Re: lingo-l Xtra missing message The most reliable way to add Xtras to (at least) pre-D8 projectors is to copy the required Xtras to a folder named "Xtras" at the same level as the final projector. Make sure that the Xtras are not - NOT - added to the movies. Remove them as the final step before creating the projector. The reason is (as far as I get it): At runtime, a projector first looks for a folder named "Xtras" in its own directory. If it's there, the projector uses THEM. If not, the projector automatically creates new copies of added Xtras. These are created in the windows TEMP directory, and deleted when the projector shuts down. On different versions/updates/subversions of NT, The path to the windows/winNT/win32 TEMP directory varies. That's why projectors with added Xtras fail on *some* NT machines. Check out the technotes at macromedia for more details. Another thing worth considering: If you're branching to different movies, the movies, not the projector, require that xtras be added. This can be a repetitive task if you have a lot of movies. That's another argument for the "Xtras" folder approach. HTH, regard, Clars Danvold architect-designer-programmer "Brown, William K" wrote: I keep getting a missing xtra statement from my projectors when I know they've been added. In addition a recent project on CDROM plays perfectly without the Xtra statement on other computers but when play it on my authoring station it gives me the same message. This problem started last week. I'm on an NT box. 450 mHZ running Director 6. Anybody got any ideas? Should I reinstall Director? Thanks in advance. Will Brown Creative Services [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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/LUJ/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/LUJ/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 what is mazeRect + pRectList?!
Dear list, I'm really new to lingo and thought it was dead clever of me to use a script I found in Director online to help me pass the first year of my degree. I'm trying to build a simple maze game and used the example I found at www.director-online.com in the archives entitled more fun with maze games and when I try to run it it gives a script error message saying: "repeat with mazeRect in pRectList? -variable used before assigned a value" So I know what I'm doing wrong but can someone tell me how to fix it? sadie __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 Playing MPEG in Director - whats the story?
Oops, Kerry. You can play MPEG beautifully in DfW without an Xtra. Assuming we're talking about 3rd-party Xtras here -- since Director's QuickTime support comes via Xtras -- you can embed a Windows Media Player ActiveX control in your app, for example. This uses ActiveX.x32, which also ships with Director. Wow, how exactly do you do that? I thougth Director could'nt use WMP? Could you give more details? InsertControlActiveX From there scroll down and choose the Windows Media Player control and click OK. You will get another dialog box from which you can view various properties/methods/events for your WMP control. You can set your properties in this dialog box or you can use lingo to do the same. For now click OK and you will see your ActiveX WMP control in your cast. Drag the ActiveX WMP control to your score or stage and attach the following lingo to it: -- on beginSprite me sprite(me.spriteNum).clickToPlay = FALSE sprite(me.spriteNum).enableContextMenu = FALSE sprite(me.spriteNum).open( myVideoFilePath ) end beginSprite -- myVideoFilePath should be the absolute or relative file path to your MPG file. This is just a small snippet of what you can do, just to get you up and running. Somebody recently posted a URL on one of the Director mailing list that talks about ActiveX in more detail at UpdateStage.com: http://www.updatestage.com/previous/980701.html#item3 This should give you more than enough info to get you on your way. Hasta... ck [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 what is mazeRect + pRectList?!
Yes, plagiarism is a dead clever way to pass the first year of your degree. ;) Without actually seeing the code, you probably need to declare pRectList as a property at the top of the script property pRectList Cheers, Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of sadie Sent: Monday, April 16, 2001 1:58 PM To: [EMAIL PROTECTED] Subject: lingo-l what is mazeRect + pRectList?! Dear list, I'm really new to lingo and thought it was dead clever of me to use a script I found in Director online to help me pass the first year of my degree. I'm trying to build a simple maze game and used the example I found at www.director-online.com in the archives entitled more fun with maze games and when I try to run it it gives a script error message saying: "repeat with mazeRect in pRectList? -variable used before assigned a value" So I know what I'm doing wrong but can someone tell me how to fix it? sadie __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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/LUJ/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 downloading media
if i make a cd rom that has high quality video should i ask the user to download the movie files to their hard drive? not unless you want to make them mad. where exactly should they download them to on pc and mac. see previous then do i need to externally link to the files? you should play them in the score. that's how it is done. it's in the manual... what if they download them to the wrong place? see question 1 will this make the movies run better? perhaps a little, but only if their CD is really slow. don't worry about it. shoould i make different versions of say quicktime and windows media for cross platform reasons? do them all as Quicktime be done with it. besides, if you have high quality video you likely won't be able to have 2 sets of the same video in 2 different formats on 1 CD. have you looked at any commercial CD's which contain video? that might be a useful exercise. in fact I highly recommend it. HTH Al Hospers CamberSoft, Inc. alatcambersoftdotcom http://www.cambersoft.com A famous linguist once said: "There is no language wherein a double positive can form a negative." YEAH, RIGHT [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 what is mazeRect + pRectList?!
what are you going to do when the teacher asks you how the code works? "how's [being clever] working out for you?" - Tyler Durden (paraphrased) from Fight Club [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 Ticks -- seconds
At 12:43 4/12/2001, Rodrigo Peres wrote: on 4/11/01 7:42 AM, Mark A. Boyd at [EMAIL PROTECTED] wrote: At 01:33 4/11/2001, Rodrigo Peres wrote: hi to all, How the best way to convert seconds to ticks?? I'm usinng th HMSToframes to convert 00:00:13 to seconds and then put it * 60 to get the ticks, but it's not working. What I really need is: my user type a time in format 00:00:00 and then I use the movietime property to change the position of a quicktime. [snip] Sorry, but I think I didn't understand. If i use put movietime in my movie o 13 seconds, director replies 824 ticks? -- put HMStoFrames("00:01:00",60,0,0) -- but It doesn't means one minute (00:01:00)?? so how it marks 3600??? Odd that we had a 4-day delay since you sent this reply, but... 834 tics is less than 14 seconds (840 tics) and more than 13 seconds (780 tics). It works out to "00:00:13.54" seconds. 1 minute in movieTime is 3600 tics. (60 tics per second * 60 seconds) So, if the user types in "00:01:00" you can use the HMStoFrames function to set the movieTime of the sprite to 3600. If you want the QT to go to 00:00:13 seconds you would convert that to tics and set the movieTime to the result. userTime = member("input").text qtTime = HMStoFrames(userTime,60,0,0) sprite(1).movieTime = qtTime or sprite(1).movieTime = HMStoFrames(member("input").text,60,0,0) If you want to convert movieTime into HMS, use framesToHMS. This is a convenient way to display the QT's current time in a field or text member. More details about digital video and the HMStoFrames/framesToHMS functions are available in the docs. -- Mark A. Boyd Keep-On-Learnin' :) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 downloading media reply
hi tab what is the adress of " alt.comp.multimedia?? i am always lloking for good multimedia resources mike __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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 Firewall and postnettext?
Hey all - Created a director app that does a lot of calls, login, tracking, etc, to a server. One client can't even connect to the server, and they're behind a firewall.so trying to track down how a director connects from behind a firewallany leads [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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!]