At 6:34 PM +1000 8/22/01, Luke Wigley wrote:
>
>
>I agree with Mark. The difficulty for me is establishing effective lines of
>communication between the various objects that respect the principles that
>accessors tend to indicate sloppy encapsulation, and that 'mutual references
>are evil'.
>
>Lea
YesSireeBob. Works great. I'm using this feature as a key element
of my current project.
Irv
At 11:12 AM -0500 8/21/01, [EMAIL PROTECTED] wrote:
>Does the emailXtra handle attachments at all?
>
--
Lingo / Director / Shockwave development for all occasions.
(Home-made Lingo
For another approach, see my article at Director Online:
http://www.director-online.com/accessArticle2.cfm?id=340
Basic idea: Have a generic button behavior that you attach to any
and all buttons. When the button is clicked it does a sendSprite to
the current sprite number calling a stand
I think Mark did a great job of explaining it here. The key is that
QT behavior just broadcasts a message about the percentage completion
of the QT movie, and the receiver (the slider behavior) does whatever
it needs to do to represent that amount of completion. The slider
behavior could be
At 4:03 PM -0400 8/20/01, Al Hospers wrote:
>Irv,
>
>
>
>yes. in my last post I said that both should be behaviors in this
>example. at first I was trying to talk about this as an object just
>for the sake of argument. then I realized that this was getting
>confusing & so I just stripped it down t
Al Hospers (and others) wrote:
>OK,
>
Sorry, I've been working on other stuff, and finally have a chance to
jump in here. A couple of things ...
I think the article that was originally cited here is very good.
However, it is slanted toward the Java programming point of view. I
don't know J
I think that you can't do this the way you want to do. That is, you
can't determine which record from the original database the user has
clicked on. Instead, you have to get all your data in advance and
save it away in a local or global variable. For example:
global glAdditionalInfo --
My suggestion would definitely be to move up to D8.5. Many bugs were
fixed from 7.02 and 8, and more were fixed in D8.5. If you are not
using the 3D code in your project you won't be impacted by it being
there. The media loading problem (which to the user appears to be a
problem with sound)
You need to add a return character yourself. Change:
put mGetSelection(gTable, "LITERAL", 1, mSelectCount(gTable), ",
", return, "DESCRIPT") after field "RegionSelectedGeographies"
to:
put mGetSelection(gTable, "LITERAL", 1, mSelectCount(gTable), ",
", return, "DESCRIPT") & RETURN
I would do it like this (not sure if I understand the implications of
gNarration and gTour):
global gNarration
global gTour
property pEndTicks
on beginSprite me -- This only executes once
if gNarration = 1 then
play soundfile-- not sure what this to do, not correct syntax
What "windowType" are you using? I am doing this type of thing on a
current project using a windowType = 49 (floating) and it working
fine in D8.5.
Irv
At 5:40 PM +0100 7/30/01, nik crosina wrote:
>No i am using Director v8.5
>I think it is naturall that a window becomes active when it is
>c
Here's the code:
property pDuration
property spriteNum
on beginSprite me
pDuration = sprite(spriteNum).member.duration -- do this once!
end
on exitFrame
if sprite(spriteNum).movieTime < pDuration then
go to the frame
else
go to "Homepage"
end if
end
But instead of hard
Too much trouble to do the parent script/stepFrame thing??? Here's
all the code you need (untested):
-- Movie script
global goExitFrame -- global object Exit Frame
on prepareMovie
goExitFrame = new(script "ExitFrame")
end
on stopMovie
goExitFrame.mCleanUp()
goExitFrame = 0
end
--
According to the manual, the only things you can't do in a
prepareMovie handler are go, play, and updateStage.
I create global objects from parent scripts in the prepareMovie
handler all the time.
Irv
At 4:34 PM -0500 7/27/01, Alex Smith wrote:
>Tom could you elaborate on what is not possible
Yes it is. If you want to execute code before the beginSprite
handler of sprite 1, use the "on prepareMovie" handler.
Irv
At 2:07 PM -0400 7/27/01, Slava Paperno wrote:
>In my tests, the beginSprite handler of the sprite in channel 1
>executes before the startMovie handler. Is this the normal
Peter Small had some errors in his book and put an errata sheet on
his website. You can find it at:
http://www.avatarnets.com/sitejuly2001/popUpPage.html?overview/lserrata.htm
However, many people feel that his book is somewhat difficult to
understand and his presentation of objects is no
In the message window type:
showglobals
Irv
At 3:43 PM -0400 7/25/01, Gene Fritzinger wrote:
>Hello List,
>I have a director movie with many MIAWs and many global variables. I
>am testing my projector by displaying the message window (thanx to
>an earlier post). Is there a way to have my p
From your post, it's unclear what you are checking, and what you
assigning, but I'll give you a general idea using a Lingo list
(untested):
on BuildString theEndingWord, theWordListIn
stringOut = ""
repeat with thisWord in theWordListIn
if thisWord = "yes" then
stringO
I agree with Karina, that "you have to walk before you can run".
Once you start to get the hang of simple Lingo, then I would strongly
suggest my online LOOPE (Lingo Object Oriented Environment) book.
It still is available (and still unfinished) at
http://www.furrypants.com/loope although I ju
I was looking for this exact thing last week and could not find a way.
If there is a way, I'd like to know also
FyI: You can find out about about which hot spot was clicked on like this:
property spriteNum
on beginSprite me
sprite(spriteNum).triggerCallback = #mTrigger
end
on mTrigger me,
Sounds like a job for score recording. I would build an author-time
utility that builds your list. I had forgotten about "the
frameScript" but you could easily use that to get the name of the
behavior. Something like this (untested):
on BuildListOfKeyFrames
beginrecording
MyStack =
I can't imagine why you would want this. But assuming that you have
a good reason - here's an untested approach ...
The frame script channel is zero. So first you get the
scriptInstanceList of sprite 0
lBehaviors = sprite(0)scriptInstanceList
This returns a list, but frame scripts only
If you are using integers, use the "mod" function, as in
if (a mod b) = 0 then
-- divisible
else
-- not evenly divisible
end if
Irv
At 12:50 PM -0400 7/16/01, Bill Numerick wrote:
>Hey All,
>
>How can I find out if something is divisable by a certain number?
--
Lingo / D
Check out the "playing" property as in:
on exitFrame me
if sprite(1).playing then
go to the frame
else
go to the frame + 1
end if
end
Irv
At 11:44 PM +0700 7/16/01, Victor Iwan wrote:
>Hello !
>
>I wonder if there any basic detection in lingo when flash movie is
>playing the
For a different approach on how to handle buttons (one generic button
script which does a sendSprite to another "action" behavior attached
to the same sprite) see my article on DOUG at:
http://www.director-online.com/accessArticle2.cfm?id=340
Irv
At 8:29 AM +0200 7/12/01, Darryl Cousins wr
I'll answer the other part of your question. There is no speed
difference between different type of scripts.
When trying to evaluate speed of execution of different methods, the
standard approach is to build a quick test and compare. For your
question, I tried this:
on speedTest
startTim
Mike,
Obviously, you need to have the state name and capitol for each state
somewhere. The question is where should they be. Your approach has
this information is a global property list. I'll throw out two other
strategies for you to consider.
#1) Have the information in the name of the c
Actually, it's kind of the inverse of A.
When the playhead reaches the beginning of a sprite span, Director
"instantiates" the behavior for you. That is, it allocates enough
memory to store a copy of the properties of the behavior (and also
calls the beginSprite handler in the behavior). Wh
What version of Director are you using? If you are seeing this with
7.0, there is a free upgrade to 7.0.2 on the Macromedia site that
fixes this.
Irv
At 3:07 PM -0700 6/29/01, David Tannenbaum wrote:
>I am getting an error when I launch my Director file. "Director
>Player Error. Problem Re
This just came up again yesterday, and I said, "We have had
discussions in the past here on Lingo-L about this. Many people
commented that they felt that it is OK to get the value of such a
property, but it is not OK to set such a value. Again, I am strongly
of the opinion that if you want t
1. Have a talk with them and ask them not to do it.
2. Talk with their manager and have the manager ask them not to do it.
3. When you leave, copy your source files to a removable media, then
delete the source files from your hard disk.
Irv
At 4:44 PM -0500 6/28/01, Fred Westermeyer wrote:
Short answer: 4
There is an excellent article with free code written by Will Turnage
on DOUG on a "NetMgr" that will manage your Net requests for you
(track the 4 active ones and queue up others and activate them when
appropriate). Check it out at:
http://www.director-online.com/accessArt
Three answers:
First, I agree with Chris' comment for using about 100 global
variables, there should be no problem with that many (as long as you
can remember what each one does :) ). While V12 is an excellent
product, using it to save a large number of global variables would be
not be th
Andy,
I'm not sure I fully understand your approach, but if it works for
you - great. However, I do want to comment a line of code in your
suggestion, specifically:
if objectP(myObj) AND myObj.pFlag = TRUE then
There are two problems with this, one serious and the other is a
matter of
Yes, the problem is that when you have a tight repeat loop as you
show, everything is locked out until that loop ends. Your
description of a solution is exactly what I would suggest. If you
are into OOP, build a single CommandProcessor object which maintains
a list of commands and a state pr
Here's another variation, similar to Pekka's. To use this, you need
to assign a number of sprites (1 for each digit) each with a zero
pixel or one pixel cast member in them. Then, have cast members
representing the digits, "Digit0", "Digit1", "Digit2"... "Digit9",
and "Digit " (for blank cha
ecause
>sound is continuous media.
>
>*a guy who's sick of sound taking the blame*
>
>-Buzz
>
>
>At 1:50 PM -0700 6/26/01, Irv Kalb wrote:
>>You probably don't want to hear this at this late stage in your
>>production cycle, but ...
>>
>>The
You probably don't want to hear this at this late stage in your
production cycle, but ...
There was a bug in D8 dealing with sound breaking up when Director
loads large graphics. (I ran into this exact problem on my current
project.)The fix was to upgrade to Director 8.5 I was able to
u
Try parsing the undocumented "the commandLine" at the beginning of
your program. See if that's what you are looking for.
Irv
At 10:37 PM +0200 6/25/01, Jochen Bergdolt wrote:
>Dear list,
>
>just another try ;-)
>i need to know how to get the parameters passed through the following
>command in
At 2:31 PM -0700 6/23/01, Colin Kettenacker wrote:
>
>For more information may I suggest Irv Kalb's online reference:
>
>http://www.furrypants.com/loope/
>
Thanks for pointing giving out the URL, Colin. There's an intro to
using "me" in chapter 3, and much more detail in chapter 6. Enjoy.
Irv
At 3:25 PM -0400 6/22/01, Carl West wrote:
>Irv Kalb wrote:
>>
>> Others have already pointed out the need for the "me" variable. But
>> I'll add something else. If you have a behavior where to want to
>> send something to the same sprite number, in
At 11:20 AM -0400 6/22/01, Bill Numerick wrote:
>Is there a way to send a large group of sprites with a script
>attached params without using the sendAllsprites and without using a
>repeat loop?
Why do you not want to use either of these approaches? These are the
two standard ways.
>
>It see
rote:
>Correct me if I'm wrong - I mean this - CORRECT me if I'm wrong -
>but in the case below wouldn't "spriteNum" hold a reference to the
>sprite that the behaviour was attached to - and in effect, the
>behaviour would be sending the message to itself?
>
Others have already pointed out the need for the "me" variable. But
I'll add something else. If you have a behavior where to want to
send something to the same sprite number, instead of hard coding the
sprite number, use the built in "spriteNum" variable. For example,
instead of:
sendSpr
My guess is that it is "vestigial" from debugging. If developing a
handler, you sometimes want to put a breakpoint on the first line of
code so you know when you enter a routine. But often, the first line
of code changes, or deleted, or you add new code at the top of a
handler. A quick fix
At 2:47 PM -0500 6/20/01, Fred Westermeyer wrote:
>
>I need some information on how to set up a button to e-mail me or
>someone back when the data is enter in the form. I found a small
>program called formdata, but how do I edit the e-mail section.
The most comprehensive email solution from Di
I know almost nothing about Authorware, but I can relate to you a
personal experience. As a freelancer, I am currently working on a
college level training course. The company I am working for started
writing this project in Authorware. They had been working on it for
about a year, as a prot
At 5:42 PM -0700 6/19/01, Kerry Thompson wrote:
>
>Also, if you use FileXtra3, you have to instantiate it, like that
>curmudgeon Irv showed us ;-) The older FileXtra didn't have to be
>instantiated.
>
>As far as I know, FileXtra still works fine with 8.5. Has anybody
>found any different?
>
Ke
At 5:13 PM -0700 6/19/01, Buzz Kettles wrote:
>OUCH!
>You're being mean today, Irv.
>
Hey Buzz. No, not really, this is all in jest. Bhakti made a
reference to the TV Show "The Weakest Link" and I was just adding
some additional typical light hearted banter.
But as for you, now we know whose
>
>
>so,
>does anyone know how i can create a new, empty folder?
>
Bhakti,
I use Kent Kersten's free FileXtra to do this.
http://www/kblab.net/xtras
Here's the code:
fullPathToFolder = ...
xFileXtra = XTRA("FileXTRA3").new()
fFolderExists = xFileXtra.fx_FolderExists(fullPathToFol
e next one
nextSound = plSounds[1]
puppetSound 1, nextSound -- or sound(1).play ...
deleteAt(plSounds, 1)
-- A new sound has started.
-- Do whatever you want with the name of the sound which is in
the variable: nextSound
end if
end if
go to the frame
end
Irv
Ellen,
A couple of problems/concepts here.
(First, your clock is set a few hours into the future, so all
responses show up before your question :) )
There is no need for any of the "global" statements in your
"compute_prices" handler. These variables are only used in that
handler - that is
But Al, there is no need to do this extra work. As Tab pointed out,
the beauty of "halt" is that it does this check for you. At
author-time, halt will just stop the movie and keep you in Director.
At execution-time, it will quit the executable. I've been using it
for years this way.
Irv
A
For historical reasons. "Quit" was in Lingo from the beginning. But
people complained that executing "quit" when running in Director also
quit Director. So, Macromedia, (being the nice folks that they are
and not wanting to break any existing application where you might
want the existing fu
If you don't want to (or can't) upgrade to 8.5 which apparently fixes
the problem, here is an entirely different approach.
Create a "sound manager" (or if you are not into object oriented
programming, a set of related routines a bunch of globals). Build a
list of the sounds you want to play
Yes, lists of lists.
Or, if you want to think about your data as though it really is a
grid (or "array" in other programming languages), feel free to read
my description of an array object that can be used for this type of
thing. I have a description with code in my object oriented
programmi
In addition to the extra comma, "spriteNum" is a keyword. If you declare:
property spriteNum
it will automatically be given the correct value - the current
sprite number. If you want to use your own property variable (e.g.,
mySprite), you must add something like this:
on beginSprite me
Definitely use "halt" instead of "quit". It will save you much time
in development mode.
If the problem is trying to quit from within a repeat loop, you could
change the structure to something like this and see if it has any
effect:
fOK = TRUE
repeat with a = 1 to the MaxInteger
i
Here's an overall approach. Whenever you want to draw, and you know
the start and enddates, do a sendAllSprites like this:
sendAllSprites(#ShowIfInRange, startdate, endDate)
And in the behavior attached to all these sprites, have a handler like this
property myRedBoxDate
property sp
Here's another simple approach - cue points. If you are in control
of these sounds, just add a cue point at the beginning of the sound
(or end depending on your design) with a cue point name giving the
name of the sound. Then have an "on cuePassed" handler where you
would do whatever you wa
Use some QuickTime editing program to insert cuePoints into the
QuickTime movie. Then in Director, use the "on cuePassed" handler
(see the Lingo dictionary for details) to take whatever action you
want at each cue point.
Irv
At 4:22 PM -0400 6/7/01, [EMAIL PROTECTED] wrote:
>Friends:
>I have
Yep, it's called a list. Here's the approach (untested):
on GetWords theLineOfText
-- may want to fiddle with "the itemdelimiter" here
nWords = the number of words in theLineOfText
listOfWords = []
repeat with i = 1 to nWords
thisWord = word i of theLineOfText
append(listOf
At 4:48 PM -0400 6/5/01, Bill Numerick wrote:
>Hi All,
>
>How can i set properties of a dynamically attached script to a sprite?
>
Add an extra handler to your behavior, call it whatever you want -
something meaningfull like, "on SetProps", "on FakeBeginSprite",
and right after you the script
At 10:55 AM -0400 6/4/01, Roy Pardi wrote:
>At 8:10 AM -0400 6/4/01, Al Hospers wrote:
>>> Someone's got to be really idle to actually take time out to
>>> memorize the
>>> keystrokes of a font like Wingdings.
>>
>>but that's what hackers do my friend. what you are describing is a REALLY
>>inse
At 6:09 PM +0530 6/4/01, [EMAIL PROTECTED] wrote:
>
>
>Thanx to Irv for that idea and to Al for pointing out the flaws. I'll keep
>them in mind.
>
As I said in my original message, this was not my idea - I just
thought it was very clever. I certainly can write my own behavior
(in fact I did on
A few months ago, someone on this list discussed an extremely clever
approach they had to letting a user enter a passworded field. Their
approach was to simply use a special font on a password entry field
which consisted of all asterisks or filled circle characters. This
way, the user would
At 4:06 PM -0700 6/3/01, Kerry Thompson wrote:
>
>
>Are you using any "call" functions? I ran into this back when I
>first started using Director, and the symptoms you're describing
>sound a lot like what I was getting.
>
>If you call a handler, be aware that Director will return to the
>next s
I don't know of any problems using the FileXtra. But you can get the
latest version (which works fine with D8 and D8.5) at:
http://www.kblab.net/xtras
I don't know if you are using object oriented programming on your
project. But if you are you can easily create "memory leaks" by not
fr
If I remember correctly, this means that the
GetPropertyDescriptionList dialog box won't fit on your screen.
Either buy a bigger monitor (recommended, but probably not doable in
the short term) or reduce the number of parameters or the length of
the descriptions or selections in the GPDL of th
Mark already gave you the correct answer of using the value function
(using the string function before writing, and the value function
when reading back). However, if as you say, you are saving
information into an external cast (stored on a hard disk), ther is an
alternative approach. Check
I wrote this the other day. My comment of "I don't know and I don't
care" was not meant to be short-tempered, over-the-top, off-putting,
nor was I attempting to scare newbies or put an alarming feel to the
list, and I certainly did not intend to come off as an ogre.
If you re-read that questi
Michael,
As you said, you really don't want to use an array structure to
represent your data since you do not have the same number of
subchapters, subsubChapters, etc. in all chapters.
First thing to do is to seperate out (in your mind), the underlying
data structure - and the code used to di
At 10:58 PM +0100 5/19/01, Alan Robinson wrote:
>Hi all you gurus
>Just wondering if you can tell me how field names are stored internally. I
>have named two fields with the same name expecting them to receive identical
>data from a list but only one actually receives it. I was wondering if it
>wa
At 3:02 PM -0700 5/19/01, Kerry Thompson wrote:
>>Looks like I'm right.
>
>Cool--thanks, Irv.
>
>I wasn't disputing your claim :-)
>
>In fact, your post didn't even mention speed--you mentioned it as an
>easier way (which I agree with).
Yes, it's definitely easier. And while I had assumed that
At 2:24 PM -0700 5/19/01, Kerry Thompson wrote:
>>if you declare "spriteNum" as a property at the top of your script,
>>then you can just use "spriteNum" instead of "me.spriteNum"
>
>Just curious, Irv--have you run any tests to see which is faster?
>
What you want me to prived data to prove my
Try this:
on beginSprite me
pNormalState = sprite(me.spriteNum).member.number -- <-- use the
number of the member
pOverState = pNormalState + 1 -- then you can add offsets
pDownState = pNormalState + 2
end
(As a side note, if you declare "spriteNum" as a property at the top
of your
Leon,
In your code, if the user types a symbol (pound sign for example
where the key = 35), it will fall through all your case tests and
land in the otherwise clause. The code of the otherwise clause is
"pass". Pass means to pass this key through to the field - which is
exactly what is happ
At 11:05 AM -0400 5/15/01, I R wrote:
>hello!
>
>is it possible to rotate a textfield? how would we do it?
>
You cannot rotate a field member. If you want rotated text, you must
do it with a text member.
You can set the rotation of a sprite in the score window (look for
the icon that looks li
Rob,
I can't answer your question, but I would like to know what your
application for this functionality would be. How would you use this
information if it was available?
Irv
At 5:34 PM -0400 5/11/01, Robert Wingate wrote:
>ScriptObj.handlers() is _nearly_ useful, but the ability to get the
I have absolutely no idea about how to use Arrays created in
VisualBasic or about using ActiveX controls to bring them in to
Director. However, if you want to create and manipulate
multi-dimensional arrays purely in Lingo, there are two articles you
may want to read at the Director On-Line Us
Bjarne,
Aha. The problem is that net operations need to be asynchronous.
That is, you have to issue the operation and then come back every
once in a while and check. But a tight repeat loop doesn't give the
processor any time to do this. Instead, use a behavior something
like this (unteste
This may just be a typo in your message, the name of the folder needs
to be "Xtras" (with an "s" at the end).
Irv
5:56 PM -0500 5/8/01, Colby Dodson wrote:
>I have created a movie using the Buddy API xtra to print a pdf file.
>I create a projector out of the movie place it in a separate fo
3 quick things:
1) Make your targets (things that you click on) big. Fingers are
very big in relation to an arrow cursor.
2) Do your action on mouseDown rather than the more typical on
mouseUp. (And do your own hilight of buttons that are pressed - turn
to a down state for a quarter secon
>
>I would definitely use Lingo's OOP capabilities. Irv Kalb is one of
>our resident OOP gurus, and I know he's written some articles on OOP
>programming.
Stop it you're making me blush.
>If you ask him nicely, he'd probably give you a couple of URLs.
Tr
Perhaps this is the confusion. This is a kid's game based soley on
the screen. There no musical keyboard instruments here. I am not
"recording" something that is played on an instrument. As the user
clicks on what notes they want to play, I am building up a song on
the fly, then I need to
nik as well.
>
>I guess I'm not seeing how you're locking to quarter notes, eigth notes,
>etc....how are you keeping track between note values in relation to each
>other, ie tempo?
>
>
>
>On 5/3/01 11:43 AM, "Irv Kalb" <[EMAIL PROTECTED]> wrote:
>
When using the Sequence XTRA, I build up a list of notes that the
user wants to hear, then turn them into a MIDI sequence. For
example, the notes E, F, G, gets turned into:
[[[1, 1, 1, 1], [[0, 144, 52, 100, 480], [480, 144, 53, 100, 480],
[960, 144, 55, 100, 480
Then I pass this list to
An easy way is to take use a string version of the object reference,
take word 2 of it, then strip the first and last characters. I've
got one right here:
showglobals
-- Global Variables --
version = "8.5"
goGame =
goSongPlayer =
theRef = string(goGame)
theName = word 2 of theRef
put theNa
i've fixed some of those glitches by changing the
>sounddevice, the soundkeepdevice property, and other platform-specific
>sound controls.
>
>
>Irv Kalb wrote:
>>
>> Well, while Al is the audio engineer, I am just a programmer type.
>> What I know is that if I
Well, while Al is the audio engineer, I am just a programmer type.
What I know is that if I try to string together a bunch of notes
(even if they are the same note like, C, C, C, C, etc.), using a
Director sound object, I can hear the click between notes. I don't
know or care if the problem l
At 1:13 PM -0400 5/2/01, Gene Fritzinger wrote:
>I have a field member which has 1500+ lines of text at varying
>lengths. I'm trying to write a repeat loop that will go through
>each line, count the characters and add one space at the beginning
>of the line and then x number of spaces at the e
At 10:38 AM -0400 5/2/01, Roy Pardi wrote:
>At 7:25 AM -0700 5/2/2001, Irv Kalb wrote:
>>I'll guess I'll answer my own question. Bought it, downloaded it,
>>got it started, ran into some difficulties, wrote SourceForce, they
>>wrote me back within hours with the
PM -0700 5/1/01, Irv Kalb wrote:
>I am considering using the Sequence XTRA from SoundForce for some
>kid's music games I am working on - to create and play MIDI
>sequences on the fly. However, I can't seem to find much feedback
>about it on the net. Does anyone have any re
I am considering using the Sequence XTRA from SoundForce for some
kid's music games I am working on - to create and play MIDI sequences
on the fly. However, I can't seem to find much feedback about it on
the net. Does anyone have any really good or really bad experinces
with this XTRA that
At 11:15 AM -0400 5/1/01, b_douglas wrote:
> >Your array (list) functions work fine, but you are missing a key
>>concept of object oriented programming. The key is that objects are
>>all about data and code working together. Your "Array Parent" has a
>>fine set of handlers, but that's all it is
Your array (list) functions work fine, but you are missing a key
concept of object oriented programming. The key is that objects are
all about data and code working together. Your "Array Parent" has a
fine set of handlers, but that's all it is, a set of handlers. Given
what you have shown,
At 11:43 PM -0400 4/30/01, b_douglas wrote:
>In lingo,
>when you write a function can you get a list of arguments passed, so that
>if you have more than the number specified on the function you can use them?
>
>like the argument array in javascript?
>
Yes, check out: the paramCount()and par
I remember one big project I was working on where this became a real
problem. My solution was to work around the problem by creating a
"FrameManager". The basic idea is this.
The FrameManager is a global object that inserted itself into the
actorList. It is the only thing that is ever in th
Second question first. Simply add a "global" statement, e.g.,
global gSomeVariableName
The first letter of "g" is a common convention indicating that the
variable is a global. You need to include this line at the top of
every script where you want to use the variable.
To answer the secon
I'm not sure if I'm completely understanding what you are trying to
do, but I'll take a stab at it.
My guess is that you are moving a graphic across the screen using the
mouse, and while you are doing that, you want other stuff to happen -
like the ability to move something else on the screen.
1 - 100 of 271 matches
Mail list logo