Re: Lingo Quirk: case and points (was : case and (the globals))

2004-03-29 Thread Sébastien Portebois
ever case tXY of (point(0,1)): put "ok" otherwise: "missed" end case end Will work like a charm... cheers, séb This is weird and unexpected: case tValue of "endMove": (the globals).goNavMan.NavFlashEvent(ptFlashNavFrame, ptFlashNa

Lingo Quirk: case and (the globals)

2004-03-29 Thread roymeo
This is weird and unexpected: case tValue of "endMove": (the globals).goNavMan.NavFlashEvent(ptFlashNavFrame, ptFlashNavFrameName) pbDoneMoving = TRUE end case what is supposed to be a NavFlashEvent handler call on the goNavMan object (a global) is seen as a case c

Re: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 2:17 PM, Kerry Thompson wrote: Not so much of a problem with Director 10, fortunately. Though you're right to point out that with earlier versions a self-forgetting MIAW will kill a projector faster than hitting the system's power switch. That's good to know. When MX 2004 was fi

Re: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 2:15 PM, Mendelsohn, Michael wrote: BINGO! That was the issue. I do indeed have an elaborate stopMovie handler that voids things, and it was being executed by the MIAW. Ah. Glad you got it then. Warren, you are a genius. No, just bitten by the same thing before. What got me th

RE: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Kerry Thompson
> Not so much of a problem with Director 10, fortunately. Though you're > right to point out that with earlier versions a self-forgetting MIAW > will kill a projector faster than hitting the system's power switch. That's good to know. When MX 2004 was first announced, I asked Thomas Higgins thre

RE: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Mendelsohn, Michael
BINGO! That was the issue. I do indeed have an elaborate stopMovie handler that voids things, and it was being executed by the MIAW. Warren, you are a genius. Thanks, all for the feedback. I will wrap all the voids in the stopMovie handler with an if it's the ABC MIAW then... Thanks! - Michael

Re: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 2:02 PM, Kerry Thompson wrote: on mouseUp(me) -- "close button" is passed First question--where is your Close button? Is it in the MIAW or on the stage? Not so much of a problem with Director 10, fortunately. Though you're right to point out that with earlier versions a self-fo

RE: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Kerry Thompson
> Hello again... > I'm running into a MIAW roadblock when forget() is executed. > > In my previous post, I spawned a MIAW (gMIAW). When I close > it using this handler below, suddenly all becomes useless. Why? > > on mouseUp(me) -- "close button" is passed First question--where is your Close

RE: Window.forget() erases all globals? Was: finding th e last substring within a string

2004-03-05 Thread Thomas Higgins
> However, when I comment out the forget() line, and just use the > gMIAW.close() line right before it, all works fine. But that > seems like I'm not completing the task. Does forgetting the MIAW clear the last remaining references to these script objects? If so wouldn't you then be clearing the

Re: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 1:18 PM, Mendelsohn, Michael wrote: What does "suddenly all becomes useless" mean? Well, when gMIAW.forget() happens, seemingly all globals everywhere are voided. I'm using a couple of parent scripts that are instanced as globals, and they do a lot, so that&#

RE: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Mendelsohn, Michael
> What does "suddenly all becomes useless" mean? Well, when gMIAW.forget() happens, seemingly all globals everywhere are voided. I'm using a couple of parent scripts that are instanced as globals, and they do a lot, so that's why I'm saying everything becomes usele

Re: Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 12:50 PM, Mendelsohn, Michael wrote: Hello again... I'm running into a MIAW roadblock when forget() is executed. In my previous post, I spawned a MIAW (gMIAW). When I close it using this handler below, suddenly all becomes useless. Why? What does "suddenly all becomes useless"

Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Mendelsohn, Michael
Hello again... I'm running into a MIAW roadblock when forget() is executed. In my previous post, I spawned a MIAW (gMIAW). When I close it using this handler below, suddenly all becomes useless. Why? on mouseUp(me) -- "close button" is passed case pFeature of "close button": -- quit

RE: Globals question

2003-11-04 Thread Andrew Dempsey
> just a short complement, there is a very easy way to "hack" > the globals used by movies inside a projector: just put a > lingo.ini in the same folder as the projector containing the > following code: > Hi Valentin, Thanks for your two responses. My original pos

Re: Globals question

2003-11-04 Thread Valentin Schmidt
just a short complement, there is a very easy way to "hack" the globals used by movies inside a projector: just put a lingo.ini in the same folder as the projector containing the following code: on startUp the debugPlaybackEnabled=1 end which opens a message window, where you

Re: Globals question

2003-11-02 Thread Valentin Schmidt
no, as far as i know, each projector has its own space in memory, to "hack" the globals you would need a tool like softIce. But someone could extract the dir-files from the projector (eg with Swifty Xena Pro, or simply with a hexeditor and some knowlege about projectors), open them a

Globals question

2003-11-02 Thread Andrew Dempsey
Hi all, Is it possible for someone to "hack" into my globals if I am running a projector, by running another director movie they make (or any other type of program) and checking all the variables in memory? I am putting together an authentication routine to authenticate user priveli

RE: Flash globals inside Director -- revisited

2003-08-01 Thread Mendelsohn, Michael
Wouldn't you know it? If you use the right Flash syntax, things work. - Michael M. In Flash frame one... _global.gData = new Object(); //make sure "." is there!! gData.pTest = "hello"; In Director... put sprite(1).getVariable("_global.gData.pTest", false) -- "hello" ***or*** put sprite(1).get

RE: Flash globals inside Director -- revisited

2003-08-01 Thread Kerry Thompson
> Shouldn't global be a scope followed by "." like: > _global.gData = new Object(); Yes. It's worth noting that _global is new in Flash MX. In other words, you can only use it in Director MX. Of course, you need MX to create Flash objects on the fly, but--kids, don't try this on 8.5 ^_^ Cordially

RE: Flash globals inside Director -- revisited

2003-08-01 Thread Mathew Ray
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, August 01, 2003 10:27 AM To: [EMAIL PROTECTED] Subject: Flash globals inside Director -- revisited Hi all... Charlie Fiskeaux had a post on 5.20 that I'm trying to figure out...and failing at. Firs

Flash globals inside Director -- revisited

2003-08-01 Thread Mendelsohn, Michael
Hi all... Charlie Fiskeaux had a post on 5.20 that I'm trying to figure out...and failing at. First frame of the flash movie has the following code that creates two variables... _global gData = new Object(); gData.pTest = "hello"; gTest = "Massachusetts"; I run the movie and do all the combi

Re: Re: Setting globals in projector.ini??

2002-11-11 Thread Tab Julius
Just so you know, the "on startup" is optional. I did an article on Lingo.ini years ago, one of the things I found was that any handler name would do - and if, I recall correctly, no handler was even necessary. It was more of a convenience. You could call it "on macromedia" if you wanted, o

RE: Setting globals in projector.ini??

2002-11-11 Thread Clars Danvold
Thanks, that was it! -Original Message- From: [EMAIL PROTECTED] [mailto:lingo-l-admin@;mail4.fcgnetworks.net]On Behalf Of Ross Clutterbuck Sent: Monday, November 11, 2002 11:32 AM To: [EMAIL PROTECTED] Subject: Re: Setting globals in projector.ini?? As far as I can recall you put your

Re: Re: Setting globals in projector.ini??

2002-11-11 Thread [EMAIL PROTECTED]
As Ross said, the global should be in your lingo.ini file, reading as on startup global gMovie gMovie = "main" end startup an example of this should be in your director directory cheers Fraser [To remove yourself from this list, or to change to digest mode, go to http://www

Re: Setting globals in projector.ini??

2002-11-11 Thread Ross Clutterbuck
As far as I can recall you put your globals in lingo.ini, not projector.ini Ross __ 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

Setting globals in projector.ini??

2002-11-11 Thread Clars Danvold
Hello All- I'm sure this has come up before, but I can't seem to find the path to the archives. I was wondering about the syntax involved, if I want to set a global variable in the .ini file that I place alongside a projector. I tried Global gDestMovie gDestMovie = "startmovie" and the same w/o

Re: changing globals

2002-06-23 Thread Florian Bogeschdorfer
myGlobal=VOID don't use clearglobals, it will clear ALL globals "H.F. Duijndam" wrote: > > Hi all, > > I 'm using an script that has some globals > But the movie where i use the script has some markers where it jumps to > after the page is done, by usin

changing globals

2002-06-23 Thread H.F. Duijndam
Hi all, I 'm using an script that has some globals But the movie where i use the script has some markers where it jumps to after the page is done, by using an button. But because the globals are for the total movie it should be clreared when it reaches the next marker. can i put an cleargl

Globals in Shockwave movies

2002-05-13 Thread Jayp
If I have 2 sw movies on a webpage... How can I click on one and make another one perform and action Thanx Jayp [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

Re: globals

2002-02-27 Thread Rob Romanek
As Howdy says, the prop list is probably the way you want to go, I too am not sure what exactly you are trying to do but here is some other info about globals Using the globals director returns an object that contains all the globals, try the following in the message window (remember any

Re: globals

2002-02-27 Thread the nightboy
then put the globals.fred -- 2 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 PROTECTE

Re: globals

2002-02-27 Thread the nightboy
>anyone know how to name a list that is also a global... is there a way to >add globals on the fly? Yes, and yes. 1) global g_list g_list =[] 2) setAProp the globals, #fred, 2 Brian Douglas (:ub)

Re: globals

2002-02-27 Thread Howdy-Tzi
At 09:55 -0800 02/27/2002, Dustin Harris wrote: >anyone know how to name a list that is also a global... is there a >way to add globals on the fly? Hmm, based on the sample you sent along with this you might want to look into using a global property list instead. What is it you want

globals

2002-02-27 Thread Dustin Harris
anyone know how to name a list that is also a global... is there a way to add globals on the fly? on startMovie repeat with addLists = 1 to ((the number of members of castLib 1) - 1) gLocList & addLists = [] LocLists = gLocList&addLists gLayerList = [] add gLayerList, LocLists en