RE: moviePath
i kind of figured it out. i was looking for something like "@//fileiwanttoopen" so it is relative to the file i have open. but you way is groovy too. thanks --carol > -- > From: [EMAIL PROTECTED] > Reply To: [EMAIL PROTECTED] > Sent: Friday, November 8, 2002 2:24 PM > To: '[EMAIL PROTECTED]' > Subject: Re: moviePath > > Sure > > tChar = the last char of the moviepath > set the itemdelimiter = tChar > > Then you can get your paths by something like this: > > tPath = the moviepath > > delete the last char of tPath > delete tPath.item[tPath.item.count] > > So if you have the moviepath as > "drive/dir1/dir2/dir3/whatever/mymovie.dir" then tPath is > "drive/dir1/dir2/dir3/whatever/" > > First delete the last character (the final path seperator) then just > delete the final item to go back up one dir. > > > > [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!]
moviePath
hey list -- is there a way to go back up a file structure? my file structure is like this: intro.dir english/intro.dir french/intro.dir i know how to go deeper using get moviePath, @ ect. but is there a way to go back up like on the web (ie ../ or ./). have been looking but am not sure if parsing the moviePath is the greatest idea or the only idea. please no xtras. just straight code. thanks -- carol [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: jaguar and director
well guys thanks for the advice and wary cautions. (charlie we'll see if that tidbit helps things) I didn't mean to start the platform war because i am well a bi-platform kind-of-programmer. There is good on both platforms and if you don't swear allegiance ... well open source philosophy (talk about holy war). But that is different to knowing limitations of any platform, any software and you guys have helped me out yet again. Just wish I had talked to you first before I took the leap. thanks. --carol > -- > From: Brad Hile > Reply To: [EMAIL PROTECTED] > Sent: Tuesday, November 5, 2002 9:15 PM > To: [EMAIL PROTECTED] > Subject: RE: jaugar and director > > Uh Oh it's a holy Platform War!! > Ron, Didn't you know MAC stands for Member of the Apple Church... > Your in for it now ;) > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:lingo-l-admin@;mail4.fcgnetworks.net]On Behalf Of Ron Woodland > > Sent: Wednesday, 6 November 2002 9:54 AM > > To: [EMAIL PROTECTED] > > Subject: Re: jaugar and director > > > > > > For Mac users, it's always Microsoft's fault. ;) > > > > > > Jeremy wrote: > > > > > Can someone explain how its microsofts fault if the mac version of > > > software, in this case director, doesn't work properly under osX ? > Just > > > wanting to understand this. > > > [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!]
jaugar and director
hey list-- I am having lots of problems running director 8.5.1 on mac osx jaguar. I switch to classic to run director but am having problems with dragging sprites to reposition them on the score duplicates them and crashing when i drag a sprite from the cast to the score or stage. Is anyone using director this way and is it just a bad install? Will rebuild in the am but just curious if I got myself in a world of hurt by installing osx. thanks --carol [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: is there a cross platform border Xtra?
don't forget the evil ass-biting goat -- that has gotten me a few times > -- > From: roy crisman > Reply To: [EMAIL PROTECTED] > Sent: Saturday, August 17, 2002 1:59 PM > To: [EMAIL PROTECTED] > Subject: Re: is there a cross platform border Xtra? > > > > > >This BTW is why art directors need to make up their minds *before* the > >program is written. ;) > > And why they need to work hand in hand with the programmers (same with > sales people) instead of just tossing stuff over the wall to the > programmers and going home. > > They think it's just a wall. They don't realize it's actually 2 walls, > each 20 feet high and 30 feet apart. > > With a moat in the middle. > > Filled with alligators. > > And flying airborne blood-sucking leech-bat-frogs. > > > roymeo > > [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: is there a cross platform border Xtra?
but if you use the miaw trick do you have to code all of your scripts as if they were in a miaw? I have the project done and the art director decided to go with a seemless white background (cd-based delivery) so all my stuff has been written and i know for somethings a miaw has different coding. I really don't want to do that if possible. -- carol > -- > From: Howdy-Tzi > Reply To: [EMAIL PROTECTED] > Sent: Wednesday, August 14, 2002 3:33 PM > To: [EMAIL PROTECTED] > Subject: Re: is there a cross platform border Xtra? > > On Wednesday, August 14, 2002, at 02:12 PM, Carol Mahaffy wrote: > > > I have the same problem warren. I have been working with border xtra > > but am > > really confused about how to implement. the site and the samples > > provided > > are unclear. > > Has the Xtra's author been able to offer any assistance? > > > From looking at the code it would seem as if on a mac you have > > to"patch" the projector. > > Possibly. There used to be a means to do this via ResEdit but it's a > giant pain. Near as I can tell there are basically two approaches: > > 1. Live with it; or > 2. Make a MIAW instead, using the trick documented at DOUG > ("Non-rectangular MIAWs") to set the window's rect to a 1-bit shape. In > this case the shape can be the exact dimensions of your movie. It will > remove the 1-pixel line. > > > 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://shop.osborne.com/cgi-bin/osborne/0072195622.html > > [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: is there a cross platform border Xtra?
I got the border xtra from http://www.mcmm.com/ If I remeber corectly it was around $99 maybe a little more. The support guy i think is the same guy that wrote it so i have talked to him via email. he has code and stuff that goes with it, but having never used 3rd-party xtras before i am really struggling with the way the are implemented and called ect. thanks for the tip I will try. --carol > -- > From: Lewis Fleming > Reply To: [EMAIL PROTECTED] > Sent: Thursday, August 15, 2002 5:39 AM > To: '[EMAIL PROTECTED]' > Subject: RE: is there a cross platform border Xtra? > > Carol, > > Are you developing a CD-Rom? Because if so you can use the ".ini" file > trick. > I got rind of the black line by having a text file called the same as > the projector but with the extension ".ini". In the "ini" file I had > > [Settings] > FullScreen=1 > UseTitleBar=1 > > This works a treat but because I am creating a screensaver out of my > projector I have no way of including the "ini" file. > So where did you get your Xtra from and how much did it cost? > > Lewis > > > -Original Message- > From: Carol Mahaffy [mailto:[EMAIL PROTECTED]] > Sent: 14 August 2002 20:12 > To: '[EMAIL PROTECTED]' > Subject: RE: is there a cross platform border Xtra? > > > I have the same problem warren. I have been working with border xtra but > am > really confused about how to implement. the site and the samples provided > are unclear. From looking at the code it would seem as if on a mac you > have > to"patch" the projector. For 4 hours I have been searching on the web for > reference to how to do this. Is there any better resources on the web that > tells how to implement? Xtras in general i am not proficient in. Maybe > that > is why i am having questions as well. > --carol > > > -- > > From: Howdy-Tzi > > Reply To: [EMAIL PROTECTED] > > Sent: Wednesday, August 14, 2002 1:40 PM > > To: [EMAIL PROTECTED] > > Subject:Re: is there a cross platform border Xtra? > > > > On Wednesday, August 14, 2002, at 12:17 PM, Lewis Fleming wrote: > > > > > Is there a cross platform boarder Xtra (that gets rid of the black key > > > > line) > > > and where can I find it? > > > > Do you see one listed at http://www.updatestage.com/products ? > > > > If not, then no. > > > > Depending on what you want to do you might be able to load your file as > > a MIAW with a custom 1-bit rect shape; this is one way (undoc'd, > > unsupported) to create MIAWs that do not have standard system edges to > > them at all. > > > > > > 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://shop.osborne.com/cgi-bin/osborne/0072195622.html > > > > [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!] > > > This e-mail (and any attachments) is confidential and may contain personal > views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system, do > not use, > copy or disclose the information in any way nor act in reliance on it and > notify > the sender immediately. Please note that the BBC monitors e-mails sent > or received. Further communication will signify your consent to this. > > [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: is there a cross platform border Xtra?
I have the same problem warren. I have been working with border xtra but am really confused about how to implement. the site and the samples provided are unclear. From looking at the code it would seem as if on a mac you have to"patch" the projector. For 4 hours I have been searching on the web for reference to how to do this. Is there any better resources on the web that tells how to implement? Xtras in general i am not proficient in. Maybe that is why i am having questions as well. --carol > -- > From: Howdy-Tzi > Reply To: [EMAIL PROTECTED] > Sent: Wednesday, August 14, 2002 1:40 PM > To: [EMAIL PROTECTED] > Subject: Re: is there a cross platform border Xtra? > > On Wednesday, August 14, 2002, at 12:17 PM, Lewis Fleming wrote: > > > Is there a cross platform boarder Xtra (that gets rid of the black key > > line) > > and where can I find it? > > Do you see one listed at http://www.updatestage.com/products ? > > If not, then no. > > Depending on what you want to do you might be able to load your file as > a MIAW with a custom 1-bit rect shape; this is one way (undoc'd, > unsupported) to create MIAWs that do not have standard system edges to > them at all. > > > 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://shop.osborne.com/cgi-bin/osborne/0072195622.html > > [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!]
border xtra
hey list -- i thought i had it working once but can't seem to find my sample. Using border Xtra i am using borderoff() but it seems to be throwing an error on winXP in projector mode. Has anyone else had this issue? seems to work fine on a mac. thanks -- carol [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!]
cd to web
hey list -- I have a cd that has been produced that the client wants to port over to the web (would have been nice if it was decided before it was finished!). I have lots of external linked assets ect so i placed everything in a "dswmedia" folder published and it works fine off my hd. But when placed on the web it doesn't find the director movies that it links to. Called tech support and they said that when i call a movie and frame I need to use goToNetMovie and goToNetPage. My question is why is it working on my hd with no issues? This will require a lot of new scripting so I am asking for any good tip on porting a "completed for cd project" to the web. Kind of lost here. thanks --carol [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: importing html files
more info -- I did a put on the html file and it is setting a between my and tags that is NOT coded within my html file.. help this is just plain confusing now.. > -- > From: Carol Mahaffy > Reply To: [EMAIL PROTECTED] > Sent: Wednesday, June 12, 2002 3:18 PM > To: Lingo List (E-mail) > Subject: importing html files > > hey list -- > I am trying to import a html file in a text cast member on begin sprite. > It > imports just fine. But after adding formatting I noticed that the file > does > not start at the very top most of the text box. I took all of the > formatting > off and it still brings it in as if there is a character hidden in the > top. > My html file is very bare bones. I was wondering if there is any > constraints > on what tags are recognizeable in an html file? thanks > --carol > [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!]
importing html files
hey list -- I am trying to import a html file in a text cast member on begin sprite. It imports just fine. But after adding formatting I noticed that the file does not start at the very top most of the text box. I took all of the formatting off and it still brings it in as if there is a character hidden in the top. My html file is very bare bones. I was wondering if there is any constraints on what tags are recognizeable in an html file? thanks --carol [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: XP again
one thing the upgrade did fix that i know of off the top of my head (the guy with the xp machine is out) was when you open two casts side by side and try to drag cast members from the one cast to the second cast it would crash -- hasn't happened since the upgrade. And i remember thinking that it seemed to be a seemless upgrade (at least he didn't bitch too much) -- carol > -- > From: Howdy-Tzi > Reply To: [EMAIL PROTECTED] > Sent: Friday, June 7, 2002 2:38 PM > To: [EMAIL PROTECTED] > Subject: RE: XP again > > At 19:56 +0200 06/07/2002, Preconet wrote: > > >ok if does not adversely affect Director 8.5, I¨ll do it. > > Neither the Mac nor Win installs of 8.5 I have have shown any > problems with the 8.5.1 update. I think you'll ne fine too. > > Of course it's not a bad idea to back up your 8.5 directory first > just to be sure. > > -- > > 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://shop.osborne.com/cgi-bin/osborne/0072195622.html > [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!]
Quicktime evil bastion of animation
hey list -- Seems like i have been working around this for a while and figured that now is the time to set it right. I have a continuous animation going on in in my background (just a bunch of lines moving horizontally across the stage). I have set this up in a pretty small repeat loop that operates fine... Until I encounter quicktime or another function runs. When it hits the quicktime it slows dramatically -- if i run another function it increases while processing the function after the function it runs fine. We have abandoned almost all continous background animations on previous cds because of this (we have a lot of quicktime which is essential). So I have included my script, but i don't really think that is the issue -- I think I am approaching continous animations wrong as far as thought process. Any clues -- thanks. -- carol property pStartPosition property pCurrentPosition property pEndPosition property pSpeedPosition on getPropertyDescriptionList me description = [:] addProp description, #pStartPosition,[#comment "Location start", #format #integer, #default 0] addProp description, #pEndPosition,[#comment "Location end", #format #integer, #default 800] addProp description, #pSpeedPosition,[#comment "Speed", #format #integer, #default 1] return description end on beginSprite me sprite(me.spriteNum).locH = pStartPosition end on exitFrame me pCurrentPosition = sprite(me.spriteNum).locH if pCurrentPosition < pEndPosition then sprite(me.spriteNum).locH = pCurrentPosition + pSpeedPosition else if pCurrentPosition > pEndPosition then sprite(me.spriteNum).locH = pStartPosition end if end [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: linked director movies
Thanks all! I have a great place to start. --carol > -- > From: Rob Romanek > Reply To: [EMAIL PROTECTED] > Sent: Thursday, June 6, 2002 4:31 PM > To: [EMAIL PROTECTED] > Subject: Re: linked director movies > > Hey Carol, > > If you haven't had a read of my article on DOUG > http://www.director-online.com/accessArticle.cfm?id=439 > > then you should have a look. It's getting a little old but it covers the > big problems with LDMs. Primarily the mouseEnter/Within/Leave issue. > Since the article (D7) support has been added for Quicktime movies to > play within LDMs but there is still no editable text. You can set text > to editable and it won't cause a crash like it used so that's a start. > If you are changing text dynamically you will have to force the LDM to > refresh it. There was a discussion on Direct-L about a month ago on > this. Basically when you update text set the visible of the sprite, > containing the text member, visible =0 then back to visible=1 and that > is enough to force the refresh. > > With audio you still have to work within the confines of 8 channels and > there are some problems with cuepoints. I can't remember them all > extactly but there always seems to be a workaround as well. So if you > find you have problems let me know and I'll dig through my code library > for a fix for you. > > hth, > > Rob > > > Carol Mahaffy wrote: > > > hey list -- > > I am thinking that linked director movies are way cool but I know from > > experience that first impressions are not what they seem in director. > Can > > anyone give me input in regards to pit falls? mainly audio, quicktime > ect. I > > want to use them in similiar fashion to a miaw. Before I get to far down > the > > road, feedback on horror stories or things gone well would be good. > 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!]
RE: linked director movies
these will be strictly release on cd -- no web application. Is there anywhere where there is a little more info about scripting between the ldm and the main movie? is it basically like talking to a miaw? > -- > From: brian > Reply To: [EMAIL PROTECTED] > Sent: Thursday, June 6, 2002 4:04 PM > To: [EMAIL PROTECTED] > Subject: Re: linked director movies > > >they're pretty solid. you have to watch out for how you are doing > >communication between the ldm and the main movie, and there can > >sometimes be freaky redraw (or lack thereof) issues, but in general they > >work swimmingly. > >if you use them in shockwave you have to deal with the whole > >downloadnetthing and member().filename stuff, but that's pretty solid > too. > > > member().filename will give you problems with firewall though. :( > > > 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!] > > [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!]
linked director movies
hey list -- I am thinking that linked director movies are way cool but I know from experience that first impressions are not what they seem in director. Can anyone give me input in regards to pit falls? mainly audio, quicktime ect. I want to use them in similiar fashion to a miaw. Before I get to far down the road, feedback on horror stories or things gone well would be good. thanks. -- carol [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: Text box with scroll.
are you using the built in scroller function that uses the system scroller? if so it is actually an function of whatever system you are running -- kind of like how quicktime or flash appear on top of everthing unless direct to stage. Director actually runs those apps on top of the current app. So it seems like there is a hirearchy of what is on the top layer, second layer ect. Please someone correct me if I am wrong. You might want to explore custom scroller functions (kind of like creating your own) but I know director ships with one that will do custom buttons and stuff. > -- > From: Sandeep Khomne > Reply To: [EMAIL PROTECTED] > Sent: Wednesday, June 5, 2002 6:38 AM > To: [EMAIL PROTECTED] > Subject: Text box with scroll. > > > Hi All, > > I have a small question regarding text box with scroll in Director. > > I have a text box [text area] sprite on the stage with scroll box. I am > bringing some other flash sprite over the stage at runtime. However the > scrollbar seems to persist over the new screen. > Why does this happen? any idea/workaround? > > TIA > ~ Sandy > > [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!]
navigation as text
hey list -- i have a problem. i am trying to limit the number of graphic cast members that i have for navigation. I was attempting to create 1 text cast member with return delimited lines. Then using mouseWithin i get the line loc and swap my colors ect. I have tried this before but had to abandon because it seemed as if when you are using mouseWithin it slow the rest of the animations down at the same time. I am including the code. Can someone guide me on the "right/better" way of accomplishing this? much thanks -- carol property spriteNum property initCrumb property itemNum property origDelimeter property line1 property line2 property line3 property line4 property crumbLines property currentDown on getPropertyDescriptionList description = [] addProp description, #line1,[#default "template2", #format#string, #comment"line1"] addProp description, #line2,[#default "template2", #format#string, #comment"line2"] addProp description, #line3,[#default "template2", #format#string, #comment"line3"] addProp description, #line4,[#default "template2", #format#string, #comment"line4"] return description end getPropertyDescriptionList on isOKToAttach (me, aSpriteType, aSpriteNum) case aSpriteType of #graphic return TRUE #script return FALSE end case end isOKToAttach on beginSprite me initCrumb = sprite(spriteNum).member member(initCrumb).color = rgb(186,188,181) crumbLines = member(initCrumb).line.count end on mouseWithin me itemNum = sprite(spriteNum).pointToLine(the mouseLoc) member(initCrumb).color = rgb(186,188,181) case itemNum of 1 member(initCrumb).line[1].color = rgb(255,255,255) 2 member(initCrumb).line[2].color = rgb(255,255,255) 3 member(initCrumb).line[3].color = rgb(255,255,255) 4 member(initCrumb).line[4].color = rgb(255,255,255) end case if currentDown <> void then member(initCrumb).line[currentDown].color = rgb(255,255,255) end on mouseLeave me case itemNum of 1 member(initCrumb).line[1].color = rgb(186,188,181) 2 member(initCrumb).line[2].color = rgb(186,188,181) 3 member(initCrumb).line[3].color = rgb(186,188,181) 4 member(initCrumb).line[4].color = rgb(186,188,181) end case if currentDown <> void then member(initCrumb).line[currentDown].color = rgb(255,255,255) end on mouseDown me put itemNum currentDown = itemNum end [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: while we are talking ESC, how about mapping CTRL, SHFT, and ALT
well in my searching there is a commandDown (if command key is held), shiftDown, controlDown and optionDown(all pretty self-explanitory). I guess if you piped them thru a keyDown or keyUp function you could check to see if they are release or not.. or well, hell i am not sure. --carol > -- > From: Randy Gillis > Reply To: [EMAIL PROTECTED] > Sent: Tuesday, March 26, 2002 2:23 PM > To: [EMAIL PROTECTED] > Subject: while we are talking ESC, how about mapping CTRL, > SHFT, and ALT > > anyone got a way to tell if these keys are being pressed or held? > > > [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: ESC keyDown
yep "the key" works. i actually looked at warrens site and picked up his "keyster" app. all my issues were resolved quickly with that handy program. Goes to show you that you guys have all the answers. thanks again. --carol > -- > From: Kerry Thompson > Reply To: [EMAIL PROTECTED] > Sent: Tuesday, March 26, 2002 3:11 PM > To: [EMAIL PROTECTED] > Subject: RE: ESC keyDown > > > "the key" doesn't work for the ESC or the arrow keys, look up the > > online help for more details. > > > Beg to differ, Michael. "The key" does work if you set the exitLock to > TRUE. Either that, or the code I've been using as a key handler is going > to suddenly start failing after all these years. > > "the key" returns 28, 29, 30, and 31 for the left, right, up, and down > arrows. > > Look up the online help for more details. Or test before you post. > > Cordially, > > Kerry Thompson > [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!]
ESC keyDown
hey list -- i am trying to capture the ESC key so that when pressed so that i can send it to a movie before it quits. I have set the exitLock to true on startMovie, i have also been able to capture the commandDown in combo with the "." or "q" key. my question is what is the key for the esc key? I have tried using -- keycode = "ESC" -- key = "58" -- key = "20" all of which i found reference to in books and on boards. none seem to be working. Can anyone help me out? thanks --carol [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!]
photoshop filters into director
hey list -- i am trying to apply a photoshop filter within director but am having trouble. I tried placing the photoshop filter into the xtras folder (not showing up). I made an alias of the photoshop filters folder and stuck it in my xtras folder (shows categories but crashes every time i try to apply and it only shows a few of the filters). Is there an xtra i have to load or anything? very small documentation and all of it is the same, so i think i am just an idiot right now. -- carol [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!]
stage border
hey list -- having major problems understanding border xtra. the code and readme aren't xactly intuitive. I'm trying to turn off the border on the stage. I am not really sure where to place the code and am not really sure what is out of date (most of it seems kind of old code). any help would be appreciated. Or if there is a different way... thanks carol on startMovie global gmac, gsep, stageborderon if the machinetype = 256 then set gsep = "\" set gmac = 0 else set gsep = ":" set gmac = 1 end if put "Movie started" global stageborderOn set stageborderOn = TRUE initborderxtra end on stopmovie closeborderxtra end on initborderxtra global gsep, gmac, myborder if not gmac then if the runmode = "Author" then if the platform contains "32" then openxlib(the moviepath & "xtras" & gsep & "border.x32") else openxlib(the moviepath & "xtras" & gsep & "border.x16") end if end if set myborder = new(xtra "border") end if end on switchborder global stageborderOn, myborder, gmac -- get new borderstate if gmac then alert "You cannot switch the Stage border on or off on the Mac during editing or runtime. You may switch the border off for the Projector by patching the Projector with the chekbox " & quote & "Borderless stage" & quote & " checked." else if stageborderOn = TRUE then set stageborderOn = FALSE put "the stageborder is now off" else set stageborderOn = TRUE put "the stageborder is now on" end if -- set border set i=getAppWin (myBorder) set j=getStageWin (myBorder,i) setBorder (myBorder, j, stageborderOn) end if end [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!]
xtras -- border xtra
hey list -- i am trying to use the border.xtra to remove the border from my stage but am having a heck of a time figuring out where to call it and how to call it. anyone with some insite? i have 4 main movies and when i switch between them i would like the stage border to be off seemlessly throughout the play. thanks --carol [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: quicktime + memory leaks
so i guess at this point it is safe to assume that the problem with my memory loss comes from the quicktime. does this happen with real or any other streaming media as well? i know you mentioned avi's warren. i assume that I am not the first to fill up my movies with qt ;-) it seems like there should have been more written or discussed about this before? just kind of seems like a big issue for a newbie to stumble across? ps. guys thanks for the diligence > -- > From: Howdy-Tzi > Reply To: [EMAIL PROTECTED] > Sent: Friday, February 22, 2002 12:16 PM > To: [EMAIL PROTECTED] > Subject: Re: quicktime + memory leaks > > At 11:46 -0500 02/22/2002, Colin Holgate wrote: > > >>What you did not do, though, with the optionDown, was this: > >> > >>if the optiondown then > >> sprite(1).movieRate = 0 > >> go frame 11 - the frame > >> exit > >>end if > >> > >>You see? > > > >Of course I knew that (you knew that I knew that you knew I knew). > > I knew that you knew that I knew that you knew that I knew. You know. > > >My test allowed me to see if there was a difference between playing > >and not playing. Your script is a potential work around (that > >happens not to work). > > OK, so much for that plan. I guess the next idea would be to either > rewind the movie to its beginning or make it jump to the end before > leaving the frame. > > >I really did mean 25 megabyte. I don't care if freebytes takes a few > >k of its own. > > I knew that too. ;) > > That Director keeps such stuff stored for a while sort of helps > explain what happened to me with Dir7 on WinNT -- when I had DV files > (actually an AVI) playing as a MIAW, if the window closed while the > DV was playing I got a crash every time. Pausing or stopping playback > *before* closing the window prevented it. I guess it might be a > related issue we're seeing here with memory in general. > > I wonder if it might not hurt to wishlist a keyword that does for DV > what clearCache does for net stuff or unloadMember does for cast > files. > > -- > > 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!]
quicktime + memory leaks
hey list -- i sent out a previous post about memory leaks on a cd i was creating. Well it seems that after much tracking that when you tart playing a quicktime then jump to a different section before that is done playing it doesn't release the memory. So my question is this, i know i can detect going somewhere else with in th cd but is there anything to (for lack of a better word) shut off the qt? or make it inactive? thanks to all for the previous help, I would have never gotten this far with out you. -- carol [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: WAV or AIF
i have been using them as you would a wav or aif. I had a question about puppeting the sounds and called macromedia and they told me that that was the old way of doing it that now with 8.5 all you have to do is call your sound with the sound command. I have eight different sounds (mp3's) i queue them, playNext and preload without any wierdness. > -- > From: Andreas Gaunitz P11 > Reply To: [EMAIL PROTECTED] > Sent: Thursday, February 21, 2002 4:54 AM > To: [EMAIL PROTECTED] > Subject: Re: WAV or AIF > > If you want to stream them you need to do insert->media > element->shockwave audio, otherwise use as AIF. > > I guess you can't use streaming mp3 in soundobjects (queue, playNext > etc) for obvious reasons (= preloading). > > -A. > > > >Do I have to do something special then for use with MP3 or do I just has > to > >handle them as an aif or wav. Place it in the soundchannels, puppetsound, > >lingo, any xtras needed? > > > > > >> > >> i seem to be having very good luck with mp3's for voice overs and bkgd > music > >> but for short rollover sounds i have been using wav files. the mp3's > >> compress down very well. > > > > > >>> > >>> What's better to use WAV or AIF files. Because now I'm using the IAF > files > >>> and I notice that on a PC gaps appearing when it changes from marker > or > >>> from > >>> dir file. I was wondering if i change them to WAV files it would be > >>> better. > >>> > >>> thx > >>> tom > >>> > >>> [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!] > > [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: WAV or AIF
i seem to be having very good luck with mp3's for voice overs and bkgd music but for short rollover sounds i have been using wav files. the mp3's compress down very well. > -- > From: [EMAIL PROTECTED] > Reply To: [EMAIL PROTECTED] > Sent: Wednesday, February 20, 2002 10:19 AM > To: direct-l; Lingo > Subject: WAV or AIF > > What's better to use WAV or AIF files. Because now I'm using the IAF files > and I notice that on a PC gaps appearing when it changes from marker or > from > dir file. I was wondering if i change them to WAV files it would be > better. > > thx > tom > > [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: memory leaks
that seems to make sense to me (but no not calling any getURL actions) . Tab was asking about the xtras i have loaded. Can i assume then if the leak is happening during and after the director movie is unloaded it is being evoked by an xtra? or by something that affects the xtras? I know i am not saying this right but i hope you get my meaning. I am not necessarily looking for the answer but the process to find the answer. (cryptic i know). thanks carol > -- > From: . > Reply To: [EMAIL PROTECTED] > Sent: Monday, February 18, 2002 10:39 PM > To: [EMAIL PROTECTED] > Subject: Re: memory leaks > > RE: > -- > >From: Carol Mahaffy <[EMAIL PROTECTED]> > >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > >Subject: RE: memory leaks > >Date: Mon, Feb 18, 2002, 4:08 PM > > >yeah I have lots and lots of quicktime and sounds (mp3s). xtras are > fileIO, > >animated gif, flash asset,,, > -- > > Do you happen to have some Flash movies or Flash buttons that call Lingo > with getURL actions from Flash? It's quite possible to have memory > issues with those. > > > 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!] > > [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: memory leaks
yeah I have lots and lots of quicktime and sounds (mp3s). xtras are fileIO, animated gif, flash asset, font asset, ineturl, jpeg, mix services, netfile, netlingo, pict agent, png, QTExportXtra, QuickTime Asset, QuickTime Agent, Script Agent, sound control, swa streaming, textxtra (kind of what i was considering was the basics). My project has seven movies that have about 500 frames each in them. One of the guys here want to go with one GIANT movie as opposed to a divided one (i think that is just plain crazy talk, but hey what do i know). I have stripped out all of the extra code, all casts members are external i do have some nasty repeat loops going on (and a couple of embedded repeats, but man i just can't do it any other way). So the movie is alot faster now and it seems to be runnning smoother but still... I want to find out where this is at cause usually i pick up code from my old files to do new projects. > -- > From: Howdy-Tzi > Reply To: [EMAIL PROTECTED] > Sent: Monday, February 18, 2002 3:22 PM > To: [EMAIL PROTECTED] > Subject: RE: memory leaks > > At 14:35 -0500 02/18/2002, Carol Mahaffy wrote: > > >permanently. only comes back on restart, which is plaquing me. > > Umm, you say you're not using 3rd party Xtras -- what about the ones built > in? > > QuickTime is notorious for leaking memory on Win, and I don't recall > for sure but I think it's a QT problem, not a Director problem. > > So what Xtras *are* you using? And if you take a bare bones projector > with (for instance) just linked sound files in it, does it leak too? > > -- > > 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: memory leaks
permanently. only comes back on restart, which is plaquing me. I would think when you exit the file (or Director) that it would dump anything related to it. > -- > From: Tab Julius > Reply To: [EMAIL PROTECTED] > Sent: Monday, February 18, 2002 11:31 AM > To: [EMAIL PROTECTED] > Subject: RE: memory leaks > > > I didn't mean it was impossible to leak in Windows (if only!). > > So, ARE you PERMANENTLY losing 4% with each successive run, or are you > reclaiming it after the program exits? > > > At 10:48 AM 2/18/02 -0500, Carol Mahaffy wrote: > > > 3) Do you get an additional 4% loss every time you run the program? > That > > > is, it keeps dropping by 4%, until you eventually have no memory? > Because > > > > > > that's much more in keeping with what a true "leak" is. > > > > >this is it exactly. The leak is evident on the windows side. Not running > any > >3rd party xtras. All cast members (sound ect) are linked external cast > >members. We had some crazy repeat loops for animation running but weeded > >them out substantially as well as some transparency loops with animation. > Is > >there a way i can see what is retained when i am quitting the director > file? > >I figured that would at least clue me in a bit. It is running pretty lean > >right now but that small leak is worrisome. thanks > >--carol > > > > > -- > > > From: Tab Julius > > > Reply To: [EMAIL PROTECTED] > > > Sent: Monday, February 18, 2002 10:03 AM > > > To: Lingo List (E-mail) > > > Subject: Re: memory leaks > > > > > > > > > Repeat loops in and of themselves aren't culprits (what you do inside > them > > > > > > might be). > > > > > > A little more information is needed: > > > > > > 1) Is this Mac or Windows? Macs (pre-OS/X) are notorious for horrible > > > memory management. > > > > > > 2) Is this 4% a permanent loss, or just while it's running? If you > exit > > > the program, is the 4% reclaimed? If so, then it's not a leak, just > what > > > it needs to operate. > > > > > > 3) Do you get an additional 4% loss every time you run the program? > That > > > is, it keeps dropping by 4%, until you eventually have no memory? > Because > > > > > > that's much more in keeping with what a true "leak" is. > > > > > > 4) What third-party Xtras are you using? > > > > > > 5) Are you using any Xtras that you're instantiating but not closing > when > > > you're done? > > > > > > - Tab > > > > > > At 09:29 AM 2/18/02 -0500, Carol Mahaffy wrote: > > > >hey list -- > > > >i have a cd that was created about 2 months ago that i need to help > the > > > >performance. The problem is that after you continously play the cd it > > > sucks > > > >up your system memory. (about 4%) Could anyone give me an idea of how > to > > > go > > > >about looking for this? I was thinking that repeat loops might be the > > > >culprit but after extensive removal it is still happening. I just > don't > > > know > > > >of a good way to logically disasemble this to see where the error > is. > > > >thanks > > > >-- carol > > > > > > [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!] > > [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: memory leaks
> 3) Do you get an additional 4% loss every time you run the program? That > is, it keeps dropping by 4%, until you eventually have no memory? Because > > that's much more in keeping with what a true "leak" is. > this is it exactly. The leak is evident on the windows side. Not running any 3rd party xtras. All cast members (sound ect) are linked external cast members. We had some crazy repeat loops for animation running but weeded them out substantially as well as some transparency loops with animation. Is there a way i can see what is retained when i am quitting the director file? I figured that would at least clue me in a bit. It is running pretty lean right now but that small leak is worrisome. thanks --carol > -- > From: Tab Julius > Reply To: [EMAIL PROTECTED] > Sent: Monday, February 18, 2002 10:03 AM > To: Lingo List (E-mail) > Subject: Re: memory leaks > > > Repeat loops in and of themselves aren't culprits (what you do inside them > > might be). > > A little more information is needed: > > 1) Is this Mac or Windows? Macs (pre-OS/X) are notorious for horrible > memory management. > > 2) Is this 4% a permanent loss, or just while it's running? If you exit > the program, is the 4% reclaimed? If so, then it's not a leak, just what > it needs to operate. > > 3) Do you get an additional 4% loss every time you run the program? That > is, it keeps dropping by 4%, until you eventually have no memory? Because > > that's much more in keeping with what a true "leak" is. > > 4) What third-party Xtras are you using? > > 5) Are you using any Xtras that you're instantiating but not closing when > you're done? > > - Tab > > At 09:29 AM 2/18/02 -0500, Carol Mahaffy wrote: > >hey list -- > >i have a cd that was created about 2 months ago that i need to help the > >performance. The problem is that after you continously play the cd it > sucks > >up your system memory. (about 4%) Could anyone give me an idea of how to > go > >about looking for this? I was thinking that repeat loops might be the > >culprit but after extensive removal it is still happening. I just don't > know > >of a good way to logically disasemble this to see where the error is. > >thanks > >-- carol > > [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!]
memory leaks
hey list -- i have a cd that was created about 2 months ago that i need to help the performance. The problem is that after you continously play the cd it sucks up your system memory. (about 4%) Could anyone give me an idea of how to go about looking for this? I was thinking that repeat loops might be the culprit but after extensive removal it is still happening. I just don't know of a good way to logically disasemble this to see where the error is. thanks -- carol [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: not statement
this worked perfectly! thanks guys for the input. Is this considered like a "push" or "pop" in a list? I am asking that beasuse my strength is in javascript and i would have never thought to use that logic for solving this. thanks again guys -- carol > -- > From: Daniel Plaenitz > Reply To: [EMAIL PROTECTED] > Sent: Friday, January 25, 2002 6:30 AM > To: [EMAIL PROTECTED]; Lingo List (E-mail) > Subject: Re: not statement > > At 18:32 24.01.2002 -0500, Carol Mahaffy wrote: > >hey list -- > >simple question.. i thought i saw something a while ago... a simple > toggle > >using a "not" to swap sprites but i am really getting the syntax wrong. > can > >anyone help? heres the code > > > >on mouseUp me > > member("music_on").name = not member("music_off").name > >end > > > >i know i am not calling the sprites right but i have spent a good portion > of > >the last 2 hours looking for where i saw the reference and have come up > >empty. thanks > >--carol > > Carol, > > supposed you have named the members "0" and "1" you might use a behavior > like this one: > > --- > property mySprite > > on beginsprite me >mySprite = sprite(me.spritenum) > end > > on mouseUp me >mySprite.member = \ >member(["0","1"][(not(["0","1"].getPos(mysprite.member.name)-1)+1)]) > end > --- > > best regards > > daniel plaenitz > [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!]