RE: Pathing
> Lucas has done a lot of this, but I'm not sure if he's on lingo-l. This comes up a lot on the dir-game-l list (to which Lucas is a frequent poster). The subscribe page for the list is at: http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l If you want to search it, the archive search is down - but the list admin suggests the following: "Use google and postfix site:nuttybar.drama.uga.edu to your search qualifications." HTH, Kurt [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: access to the name of a parent script from withinthe script
99% of the time this will get you what you need. The 1% question is if the name of the script is actually "Some Code" (with quotes around it). That, as opposed to the script name being Some Code (w/o quotes around it). The code below will return different results: -- "MouseDown = " -- "MouseUp = "Some Code"" Thought I'd point that out just in case you are up against the 1% bug. Regards, Kraig on getScriptName(me) tScriptName = string(me.script) tName = EMPTY repeat with tWord = 2 to tScriptName.word.count tName = tName && tScriptName.word[tWord] end repeat tName = tName.char[3..(tName.char.count) - 2] return(tName) end getScriptName on mouseUp(me) put "MouseUp = " & me.getscriptname() end on mouseDown(me) the itemdelimiter = quote put "MouseDown = " & item 2 of string(me) end > A self reference contains the info. > For example, using a script member named "Some Code" > > on new me >put me > end > -- > > or > > on new me > the itemdelimiter = quote > put item 2 of string(me) > end > -- "Some Code" [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!]
AW: access to the name of a parent script from within the script
Hi Andreas and Kraig! I just played with your suggestions and found out that me.script gives the name of the ancestor script, not its own name. In my case, the name of my parent script is "oPPC04": on new me me.ancestor = new(script "oPPC") put me -- gives put me.script-- gives (script "oPPC") return me end Thanks anyway! Michael [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: access to the name of a parent script from within the script
If its the name as a string I find this works for me... Regards, Kraig --- --PURPOSE: Determine the name of this script. --ACCEPTS: 'me' as an instance of this script. --RETURNS: 'tName' as a string. --- on getScriptName(me) tScriptName = string(me.script) tName = EMPTY repeat with tWord = 2 to tScriptName.word.count tName = tName && tScriptName.word[tWord] end repeat tName = tName.char[3..(tName.char.count) - 2] return(tName) end getScriptName [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: access to the name of a parent script from withinthe script
Something like this: on new me sMe = string(me) -- gives you something like "" pMyName = word 2 of sMe -- gives you ""myScript"" delete char 1 of pMyName -- gives you "myScript"" delete the last char of pMyName -- gives you "myScript" return me end Irv At 1:37 AM +0100 3/6/02, Michael von Aichberger wrote: >Hi, > >simple question: > >Suppose you have a parent script named "myScript". > >How can I access that name from within the parent script, something like: > > >property pMyName > >on new me > me.pMyName = me.member.name > return me >end > >??? > >Thanks > >Michael > >[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 / 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/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: access to the name of a parent script from withinthe script
>Suppose you have a parent script named "myScript". > >How can I access that name from within the parent script, something like: > > >property pMyName > >on new me > me.pMyName = me.member.name > return me >end on new me pMyName = me.script return me end -A. [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!]
AW: access to the name of a parent script from withinthe script
Thanks Mike! Michael A self reference contains the info. For example, using a script member named "Some Code" on new me put me end -- or on new me the itemdelimiter = quote put item 2 of string(me) end -- "Some Code" Mike [EMAIL PROTECTED] > simple question: > > Suppose you have a parent script named "myScript". > > How can I access that name from within the parent script, something like: > [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: MAIW
- Original Message - From: "Howdy-Tzi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 05, 2002 10:43 PM Subject: Re: MAIW > At 22:22 + 03/05/2002, Wobbly wrote: > > >use > > tell the stage to quit > > You don't even need the tell. Quit is global. > > >don't forget to close the miaw and forget the miaw > > That's not an issue with a quitting application (in theory). It's > inferred that a quitting projector is closing and forgetting its > resources. ;) > > That said, I've had problems in the past with MIAWs playing video > that cause system hosage when the MIAW is closed without first > pausing the video (Win only). So it's probably a good idea, yeah, to > close a window before you take its app offline. At the very least, > it's a good habit to be in! :D > > -- > -- WthmO > > You know you're getting used to Wisconsin winters > when a forecast of 25F sounds like a "warming trend". I started with the plain quit command but having to follow it with the three finger salute got boring :) hence the verbose belt and braces... Best Wishes Wobbly in a tide-ravaged Eastbourne. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/2002 [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: access to the name of a parent script from withinthe script
A self reference contains the info. For example, using a script member named "Some Code" on new me put me end -- or on new me the itemdelimiter = quote put item 2 of string(me) end -- "Some Code" Mike [EMAIL PROTECTED] > simple question: > > Suppose you have a parent script named "myScript". > > How can I access that name from within the parent script, something like: > [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!]
access to the name of a parent script from within the script
Hi, simple question: Suppose you have a parent script named "myScript". How can I access that name from within the parent script, something like: property pMyName on new me me.pMyName = me.member.name return me end ??? Thanks Michael [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: MAIW
At 22:22 + 03/05/2002, Wobbly wrote: >use > tell the stage to quit You don't even need the tell. Quit is global. >don't forget to close the miaw and forget the miaw That's not an issue with a quitting application (in theory). It's inferred that a quitting projector is closing and forgetting its resources. ;) That said, I've had problems in the past with MIAWs playing video that cause system hosage when the MIAW is closed without first pausing the video (Win only). So it's probably a good idea, yeah, to close a window before you take its app offline. At the very least, it's a good habit to be in! :D -- -- WthmO You know you're getting used to Wisconsin winters when a forecast of 25F sounds like a "warming trend". -- [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: How to select individual lines within a scroll textfield?
Centre Generation Emploi <[EMAIL PROTECTED]> wrote: > Is there any way to select individual lines within a scroll text field? Bonjour Ann, * You can use the hilite command to highlight one block of text at a time in a field member * You can use the selection property to highlight one one block of text at at time in an _editable_ text member * You need to use additional sprites to highlight separate blocks of text in either type of member, or to highlight a single block of text in an uneditable text member. You can find an example of using two shape sprites to select a line in an uneditable member at http://perso.planetb.fr/newton/hiliteText.dir Below is a behavior that you uses Imaging Lingo to highlight any number of individual paragraphs in a text member. (Paragraphs end with a hard Return character). The behavior assumes that there is a bitmap sprite in the channel above the text sprite that it is attached to. Cheers, James -- property mySprite -- sprite(me.spriteNum) property myMember -- Text member of mySprite property myLineHeight -- Assumes fixed line height -- property myBitmap -- Bitmap member in sprite in following channel on beginSprite(me) mySprite = sprite(me.spriteNum) myMember = mySprite.member -- Assume fixed line height in myMember myLineHeight = myMember.charPosToLoc(1).locV - 1 tColor = rgb(0, 0, 255) -- HARDCODED blue hilite -- Prepare the bitmap member in the following sprite tSprite = sprite(me.spriteNum + 1) tSprite.loc = point(mySprite.left, mySprite.top) myBitmap = tSprite.member tHilite = image(mySprite.width, mySprite.height, 32) tHilite.fill(tHilite.rect, tColor) tHilite.setAlpha(0) tHilite.useAlpha = TRUE myBitmap.image= tHilite myBitmap.regPoint = point(0, 0) end beginSprite on mouseUp(me) -- Permanently hilites the word under the mouse tLine = mySprite.pointToLine(the mouseLoc) tChar2 = myMember.text.line[1..tLine].char.count if tLine = 1 then tChar1 = 0 else tChar1 = tChar2 - myMember.text.line[tLine].char.count end if tLoc1 = myMember.charPosToLoc(tChar1 + 1) - [0, myLineHeight] tLoc2 = myMember.charPosToLoc(tChar2 + 1) + [0, 1] tRect = rect(tLoc1, tLoc2) tHilite = myBitmap.image.extractAlpha() if tHilite.getPixel(tLoc1) = paletteIndex(0) then -- Hilite the word tColor = rgb(128, 128, 128) -- 50% transparency else -- A subsequent click removes the hilite tColor = rgb(255, 255, 255) end if tHilite.fill(tRect, tColor) myBitmap.image.setAlpha(tHilite) end mouseUp [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: MAIW
use tell the stage to quit don't forget to close the miaw and forget the miaw HTH wobbly - Original Message - From: "Mattie Wells" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 05, 2002 11:21 PM Subject: MAIW > Hello, > Ive got a simple question for you all (I think). I need to quit a > projector.exe from a MIAW. > I thought that halt would do it? Any ideas of answers? > > Thanks, > Mattie Wells > > [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!] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/2002 [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: MAIW
At 15:21 -0800 03/05/2002, Mattie Wells wrote: >Ive got a simple question for you all (I think). I need to quit a >projector.exe from a MIAW. Do you mean the 'quit' command is not functioning? -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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!]
MAIW
Hello, Ive got a simple question for you all (I think). I need to quit a projector.exe from a MIAW. I thought that halt would do it? Any ideas of answers? Thanks, Mattie Wells [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: URGENT antialiasing in projectors
at 05.03.2002 19:37 Uhr, Colin Holgate wrote: >> which Xtras should I include in order to activate AntiAliasing in >> projectors?? >> >> I can't get it to work. > > > Font and Text ones. IIRC you need the Flash Xtra too (at least on Windows) But I maybe wrong... -- Andy Fuchs -- silent movie media -- mailto:[EMAIL PROTECTED] -- http://www.silent-movie-media.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: The new director?
At 7:11 AM 3/5/2, Ken Prat wrote: > Please stop this thread now. Anyone who thinks Flash will > replace Director doesn't have any idea what the other tool does. > It's ridiculous. Thanks, Ken, Kurt, others. I'm getting really tired of trying to reassure people of the obvious myself. Recap: Director makes good money for Macromedia and, I hope, for you. The Shockwave Player is a dramatic success, and its standalones have no peer. Director's biggest problem is likely the people who try to scare others away from using it! jd John Dowdell, Macromedia Tech Support, San Francisco CA US Search technotes: http://www.macromedia.com/support/search/ Offlist email risks capture by the spam filters. I may not see your email if it's not on the list. Private one-on-one email options are available via Priority Access: http://www.macromedia.com/support/ [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: Pathing
> Imagine a maze, and a piece of cheese, and a mouse. Pathing routines allow the mouse to move around the maze to find the piece of cheese, they are related to AI. A Star is the most famous one. Oh that A * ! I've done quite a bit of this sort of stuff over the past few years. It's a frightfully complex subject, though, so what particular issue do you have in mind? Pez [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: Pathing
> > >Has anybody done any pathing routines in lingo, such as a star? >> >> You mean search functions and such? Depending on what you want to >> accomplish, the PRegEx Xtra from openxtras.org might do what you want. > >I'm interpreting the question as meaning sprite animation paths. No, he means Star paths. It's deep. Lucas used it a lot when preparing the Lego shockwave 3D thingy. -- [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: URGENT antialiasing in projectors
>which Xtras should I include in order to activate AntiAliasing in >projectors?? > >I can't get it to work. Font and Text ones. -- [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: Newbie Question
At 17:35 + 03/05/2002, Phil Calvert wrote: >I've just started using lingo, and am struggling to >resize a rectangle within a movie when using the scale >command. > >I'm getting the following error: >Script error: Property not found >#scale Well, what is the code you're currently using to do that? Generally to set a rectangle's size, I believe all you have to do is set its rect to some other value: sprite(whatever).rect = rect ( left, top, right, bottom ) ...you can do something similar by changing various other values in combination, such as width, height, etc. Does that help? -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: Pathing
At 17:11 + 03/05/2002, Peter King wrote: >Imagine a maze, and a piece of cheese, and a mouse. Pathing routines >allow the mouse to move around the maze to find the piece of cheese, >they are related to AI. A Star is the most famous one. Aha. I thought you were referring to such things as using globals in directory pathnames to search for files and/or text content! Must get some more coffee... -- -- WthmO You know you're getting used to Wisconsin winters when a forecast of 25F sounds like a "warming trend". -- [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: How to select individual lines within a scroll text field?
Are you talking about highlighting lines? One thing I've noticed in the past (and I'd love to be corrected if I'm wrong) is that you can only highlight a contiguous set of characters. So if you're trying to create a text field that the user can select multiple lines in, you're out of luck with the built in field properties. In the past I've solved this by setting the color of the characters themselves on the different lines to show that they are selected. When I've really needed to have them be *highlighted*, I use multiple rectangular transparant sprites placed over the desired lines. This looks nice but there's a bit of programming involved because the highlights have to turn themselves on and off as the field is scrolled. --- Centre Generation Emploi <[EMAIL PROTECTED]> wrote: > Hi, > Is there any way to select individual lines within a scroll text field? > Thanks. > > Ann. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.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!]
URGENT antialiasing in projectors
which Xtras should I include in order to activate AntiAliasing in projectors?? I can't get it to work. Luiz GUSTAVO Castelan Póvoas mailto:[EMAIL PROTECTED] 3Di - Inovação Digital. http://www.3di.com.br Rua Lauro Linhares, 589 88036-002 - Florianópolis Fone: +55 48 333-4963 Fax: +55 48 333-3745 BRAZIL [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: The new director?
RE: -- >From: Stuart Heimdal <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: Re: The new director? >Date: Tue, Mar 5, 2002, 12:33 AM >OK, so I've just spent the last year of my life learning Director for what? >Now it looks as though I'll get to learn ActionScript and JavaScript in the >near future. (not that that's such a terrible thing). Just a little >frustrating is all. -- Sounds like a year well spent. I think they're gonna have to add a FEW more things to Flash yet for it to make Director go away. Funny, but I've had zero requests for CD-ROM development in Flash alone, but a few decently long jobs trying to salvage CD-ROM projects _begun_ in Flash alone by wanna-be Flash hotshots. That's not an indication of much, though, beyond the coolness of having an increasing variety of options. I'm all for Flash getting bigger and better - and Director, and everything possible. I'll use 'em all. More importantly, when will Director be able to run Flash MX? I'm looking forward to running Flash, HREF, and Sprite Tracks inside QuickTime inside Flash inside Director movies alongside QuickTime movies and Flash movies running each other, with ActionScript and Lingo passing commands to each other, and to web browsers and back-and-forth with server scripts. Steve Bennett www.ifmp.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!]
Re: Pathing
> >Has anybody done any pathing routines in lingo, such as a star? > > You mean search functions and such? Depending on what you want to > accomplish, the PRegEx Xtra from openxtras.org might do what you want. I'm interpreting the question as meaning sprite animation paths. Grab a high school maths text book and study up on parabolic curves, sines, cosines and possibly calculus if you really wanna be a clever dick. Then get into the Lingo dictionary and look into loc, locH, locV and remember that the higher up on the screen a sprite is, the lower is its locV. As far as getting a sprite to follow a curve (like a motion guide in Flash), that's something I've wondered about, but never bothered trying. Pez [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: Pathing
>Imagine a maze, and a piece of cheese, and a mouse. Pathing routines >allow the mouse to move around the maze to find the piece of cheese, >they are related to AI. A Star is the most famous one. Lucas has done a lot of this, but I'm not sure if he's on lingo-l. -- [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: The new director?
At 12:05 -0500 03/05/2002, Colin Holgate wrote: >My request in the past has been to make a Macromedia Web Studio kind >of product, that includes both Flash and Director. I'm not against >using Flash at all, and used inside Director it becomes better than >either on their own. I agree; this kind of product melding would be spectacular. It might be nice too if there were some kind of really modular approach, something that had elements of both engines in it in some kind of meta-package. With Director, for instance, I've thought it might be nice to have a score module, and a cast module, etc., so if something gets wonky with one of the *modules* that segment could be updated quickly instead of with the next full revision. Sort of like libraries for lower-level languages. It might be extry wilde kewl to have something like that in place with a DirFlash super developers kit. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: The new director?
But y'all have to agree that Flash has had more high-profile exposure than director, and seems to have been helped along by Macromedia as well. I don't blame them, as I too would push the product that was getting attention. With that in mind, it's sometimes been a hard sell with director in terms of what a cleint may want - ie shockwave flash / shockwave director branding. Personally I find that the years of director programming help out with my flash stuff, and I'll concentrate on more flash work since there are more paying gigs for flash right now than director. You've got to at least admit that - buzzword and all. [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!]
Newbie Question
Hi, I've just started using lingo, and am struggling to resize a rectangle within a movie when using the scale command. I'm getting the following error: Script error: Property not found #scale Can anyone help me please? It's been annoying me all day now! Thanks, Phil __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.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: The new director?
At 11:35 -0500 03/05/2002, the nightboy wrote: >But to move from Lingo to actionscript is quite simple; it is a shame how >people on both direct-l and flashcoders get so bent out of shape when the >other software make leaps forward. Agreed, but it happens largely because flame-trolling folks make fatuous and untrue comments about how one platform is "killing" the other, which leads to stampedes in the herd. (This is not to be confused with legitimate expressions of concern; rather, I am referring to deliberate tree-shakers, all of whom know who they are, and all of whom appear only every once in a while to make some inane negative comment, *never* to post anything of merit.) What it comes down to is that many people seem to want things to remain absolutely unchanging, as this is comfortable. Unfortunately the world *is* change, so that's not possible. It makes the most sense to become reasonably skillful with one platform, and then to expand into whatever direction seems most comfortable. For some this is Flash; for others, Java or C++ or VBasic or whatever. And in the meantime, there's no reason to worry, and certainly no use in doing so. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: Pathing
Imagine a maze, and a piece of cheese, and a mouse. Pathing routines allow the mouse to move around the maze to find the piece of cheese, they are related to AI. A Star is the most famous one. -Original Message- From: Howdy-Tzi [mailto:[EMAIL PROTECTED]] Sent: 05 March 2002 17:03 To: [EMAIL PROTECTED] Subject: Re: Pathing At 16:38 + 03/05/2002, Peter King wrote: >Has anybody done any pathing routines in lingo, such as a star? You mean search functions and such? Depending on what you want to accomplish, the PRegEx Xtra from openxtras.org might do what you want. If that isn't it, you might also look into the various file/folder list functions available in FileXtra3 or Buddy API. If that doesn't help either, some description regarding what you want to do would certainly be useful. ;) -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: The new director?
>But to move from Lingo to actionscript is quite simple; it is a shame how >people on both direct-l and flashcoders get so bent out of shape when the >other software make leaps forward. Why not just learn both instead of beind >tunnel visioned individuals. My request in the past has been to make a Macromedia Web Studio kind of product, that includes both Flash and Director. I'm not against using Flash at all, and used inside Director it becomes better than either on their own. -- [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: Pathing
At 16:38 + 03/05/2002, Peter King wrote: >Has anybody done any pathing routines in lingo, such as a star? You mean search functions and such? Depending on what you want to accomplish, the PRegEx Xtra from openxtras.org might do what you want. If that isn't it, you might also look into the various file/folder list functions available in FileXtra3 or Buddy API. If that doesn't help either, some description regarding what you want to do would certainly be useful. ;) -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: Flash MX--less likely to slow Director projectors?
the flash player still has weird fps issues on the mac. [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!]
Pathing
Has anybody done any pathing routines in lingo, such as a star? [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: The new director?
>>The fact of the matter is that actionscript and lingo are very similar in >>syntax, actionscript being slightly more "proper", in terms of traditonal >>programming languages, and I find it quite simple to move back and forth. > > >That's a bit misleading. It's true that using dot syntax in Director >can have similarities to ActionScript using dot syntax, but one of >the attractions of Director is how near-English the language can be, >which for many people who haven't used more formal languages is a >nice feature. > But to move from Lingo to actionscript is quite simple; it is a shame how people on both direct-l and flashcoders get so bent out of shape when the other software make leaps forward. Why not just learn both instead of beind tunnel visioned individuals. Brian Douglas (:ub) [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: Flash MX--less likely to slow Director projectors?
At 15:16 + 03/05/2002, Nmuta Jones wrote: >But I have read on this list, and in a few books, about Flash >bringing Director to a "crawl", so I have only been integrating >small Flash stuff like buttons. I wonder what can MX promise us in >this area. That's actually a very subjective assessment. DTS Flash on a reasonably fast machine in no way reduces Director to a "crawl", at least not to me. Now if you put non-DTS Flash, plus video, plus a 3D sprite, plus #text on the stage at one time, yes, you can expect slowdowns. Have you personally seen Director take a serious performance hit because of Flash you've added? Bear in mind that your idea of "performance hit" might be very different from my idea of "performance hit" -- what you see as intolerably slow i might see as more or less acceptable. It might not hurt to try a few tests yourself and see what happens with FL5; could be what you see is tolerable to you. Meanwhile according to MACR the Flash6 Xtra is ideally going to be available within 90 days of the FL6 ship, so we might not have long to wait for performance tests. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: The new director?
Alright, alright, - enough. ;) I'll quit worrying. Take it easy on the new guy. :P [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: The new director?
>The fact of the matter is that actionscript and lingo are very similar in >syntax, actionscript being slightly more "proper", in terms of traditonal >programming languages, and I find it quite simple to move back and forth. That's a bit misleading. It's true that using dot syntax in Director can have similarities to ActionScript using dot syntax, but one of the attractions of Director is how near-English the language can be, which for many people who haven't used more formal languages is a nice feature. -- [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: The new director?
I wonder if Macromedia will build upon Director's 3d support, while keeping Flash 2d? That would help keep the two product lines different, because there is def a lot of (unwelcome?) crossover between the two packages. -Original Message- From: Kurt Griffin [mailto:[EMAIL PROTECTED]] Sent: 05 March 2002 15:33 To: [EMAIL PROTECTED] Subject: RE: The new director? It's funny - the same sentiments have been voiced since '97, when Flash was introduced, though they get more paranoid with each upgrade. I remember way back in the early 90s, designers worrying that the new Photoshop filters were going to do them in, because "now anybody can make a drop shadow". With this upgrade, Flash is encroaching on some formerly shockwave turf, but it's far from replacing Director. I, for one, see the fact that Unicode support is one of the main features, and it makes me think that Director will get the same... but I'm an optimist. -Kurt [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: The new director?
The fact of the matter is that actionscript and lingo are very similar in syntax, actionscript being slightly more "proper", in terms of traditonal programming languages, and I find it quite simple to move back and forth. Brian Douglas (:ub) [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: The new director?
Wow, we have been discussing it on flashcoders, but the examples look pretty damn good. Brian Douglas (:ub) [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: How to select individual lines within a scroll textfield?
At 09:57 -0500 03/05/2002, Centre Generation Emploi wrote: >Is there any way to select individual lines within a scroll text field? Yes. What do you want to do? There are lots of different approaches... for #field you can use mouseLine, for instance; for #text pointToParagraph can work. There's also selectedText, selStart, selEnd, etc. The first dozen or so pages of the Lingo manual have a "lingo by feature" cross-reference -- probing those for #text members can yield a really rich mine of keywords to explore. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: The new director?
It's funny - the same sentiments have been voiced since '97, when Flash was introduced, though they get more paranoid with each upgrade. I remember way back in the early 90s, designers worrying that the new Photoshop filters were going to do them in, because "now anybody can make a drop shadow". With this upgrade, Flash is encroaching on some formerly shockwave turf, but it's far from replacing Director. I, for one, see the fact that Unicode support is one of the main features, and it makes me think that Director will get the same... but I'm an optimist. -Kurt [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!]
Flash MX--less likely to slow Director projectors?
I am wondering aloud if Flash MX will work better with Director in terms of animation speed. Having started with Flash, I must admit that it is easier for me to create animations in Flash and then import them into Director. One thing I like about Flash is how easy it is to create multiple "nested" timelines with MCs. But I have read on this list, and in a few books, about Flash bringing Director to a "crawl", so I have only been integrating small Flash stuff like buttons. I wonder what can MX promise us in this area. nj _ Chat with friends online, try MSN Messenger: http://messenger.msn.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: The new director?
At 23:33 -0700 03/04/2002, Stuart Heimdal wrote: >OK, so I've just spent the last year of my life learning Director for what? Oh for Pete's sake quit panicking. Macromedia has made it VERY CLEAR they intend to keep Director going. Any implication to the contrary is flame bait laid by a pro-Flash wannabe. OK? -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: Re: dcr to dir?
>is there a "flash conterpart" for this type of file unprotector? Check the list archives. There are answers aplenty to this question to be found there. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: Windows title bar font
At 17:44 -0500 03/04/2002, Charlie Fiskeaux II wrote: >Ummm, it's whatever font you set it to be... >Try looking under the Appearance tab in your Windows Display dialog. If you spring for peghole.com's OSCXtra suite, you can find it out easily by adding an OSText box cast member, setting its font to systemLarge and then querying it for font face, size, etc. The OSCXtra suite is one of the best damned htings to happen to Director developers since... well, since BuddyAPI. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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: The new director?
Please stop this thread now. Anyone who thinks Flash will replace Director doesn't have any idea what the other tool does. It's ridiculous. Do we really need another Flash kills Director thread in our lives ever again? > Why will you have to? Would you like to explain this statement? > Are we being spammed by the I love Flash and want to marry it > user group? ;) > OK, so I've just spent the last year of my life learning Director > for what? Now it looks as though I'll get to learn ActionScript and > JavaScript in the near future. (not that that's such a terrible thing). > Just a little frustrating is all. (I'm just starting to get the hang > of lingo - fairly easy to learn and understand for a guy like me who > is DEFINITELY not a code guy) [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!]
How to select individual lines within a scroll text field?
Hi, Is there any way to select individual lines within a scroll text field? Thanks. Ann. [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: preload...
There is a preload frame option, where you just preload the frame you want to be sure that it's loaded. Sometimes I do a manual version of that, by placing all the cast members I want to be loaded on an earlier frame than the one the user sees. For example, let's say that you have an animation, at the end of which you want there to be a lively menu with lots of buttons and rollovers. You could Cast to Time spread all the parts needed for the menu, over the range of frames occupied by the animation (but in a lower sprite channel). As the animation plays, the elements needed for the menu are being loaded. Director doesn't know that they are hidden behind the animation, and so it loads them anyway. All being well, the load of each element doesn't slow down the animation. Once you get to the menu screen, you can be sure that the members needed are loaded. A click through of the animation will defeat that approach, but then the menu will load as quickly as it can, and the user is no worse off than they are as you have it now. [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!]
preload...
Hi, the question is this: I have a movie loading from CD-ROM. I'm trying to set the preload so that all the buttons work as soon as the movie is loaded. I have tried the following options: preloading the cast after frame one. This loads perfectly - but the time it takes makes for a static frame one for quite some time. usng the idle load command: with this I can put an animation in frame one that will end once the selected frames are loaded. the problem with this is that the loaded assets still have to be decompressed, so causing the movie buttons to once more become unresponsive. Does anyone know a way of setting the start of a movie up so that the effectiveness of the preload option can be combined with having an animation in frame one? - ie work around decompression problem and/or work around the need for the director movie to remain static whilst the cast is loading. is there any lingo command to force decompression once the selected frames have been loaded? Is there any way of running an effective, small animation whilst director preloads a cast before frame one? the movie cast size is about 6 to 7 MB excluding three qt movies, which I can use in a different cast if necessary. Any help would be appreciated Simon [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!]
grabbing antiasiased cast members
How do I get a shockwave3D sprite's bitmap? (sprite x).member.image gets the non-antialiased image of it, I want the antialiased one. any help would be appreciated Luiz GUSTAVO Castelan Póvoas mailto:[EMAIL PROTECTED] 3Di - Inovação Digital. http://www.3di.com.br Rua Lauro Linhares, 589 88036-002 - Florianópolis Fone: +55 48 333-4963 Fax: +55 48 333-3745 BRAZIL [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: The new director?
Why will you have to? Would you like to explain this statement? Are we being spammed by the I love Flash and want to marry it user group? ;) -Original Message- From: Stuart Heimdal [mailto:[EMAIL PROTECTED]] Sent: 05 March 2002 06:33 To: [EMAIL PROTECTED] Subject: Re: The new director? OK, so I've just spent the last year of my life learning Director for what? Now it looks as though I'll get to learn ActionScript and JavaScript in the near future. (not that that's such a terrible thing). Just a little frustrating is all. (I'm just starting to get the hang of lingo - fairly easy to learn and understand for a guy like me who is DEFINITELY not a code guy) On 3/4/02 8:07 AM, "Ian Johnson" <[EMAIL PROTECTED]> wrote: > http://www.macromedia.com/software/flash/ > > And then there was one? > > > Regards, > > IanMJ > > [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!] [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!]