ataList - therefore no need to generate runtime variables, and
therefore no need for 'do', which is very slow, and should be avoided if at
all possible.
hope this goes some way to helping you.
Christian
Christian Wach
[EMAIL PROTECTED]
-
command.
can you give more details about the goal?
Christian
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [
ect... it's a longwinded process,
but does avoid the flickering.
Christian
----
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post mess
round...
Anyway, I ended up unable to decide how to put the 'code family tree'
together as a result... which should inherit which? Is this a common
problem?
Christian
Christian Wach
[EMAIL PROTECTED]
[To remove yourself f
and properties of the monitoring
object, then surely there's no need for the global... and no need to do
the registration.
Christian
----
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
ht
s fine.
add
> on exitFrame
> if gCloseMiaw then
> gOpenMiaw.close()
> gOpenMiaw.forget()
gCloseMiaw = 0
> end if
> go the frame
> end
after the forget command, otherwise you'll be forever trying to
close and forget the window.
Christian
---
I think Kerry was concatenating all his scripts into one text file.
um, not true:
Kerry Thompson wrote:
> I wrote a little utility to copy the script text out to text files
regards,
Christian
Christian Wach
[EMAIL PROTECTED]
[T
y to create a file with a name
> that's too long, Director simply crashes. It doesn't even return an error.
> Bad, bad.
interesting...
thanks for posting your solution - one to watch out for.
am I right in thinking that ".ls" is the usual suffix for external
lingo scripts?
teration...
try moving the xtra instantiation code before the loop starts, and
set theFile = 0 after the loop finishes, so that only a single
instance of the xtra is used for all operations.
might also be worth errorchecking each operation with status(theFile)
before moving on to the next
regards,
Chr
Kendall Anderson wrote:
> 'crop a pure
> rectangle' method (AutoCropper) took 1.28s, and using the 'return an
> image with only the different pixels and lots of white space' method
> took 0.42s.
not quite clear about the context here, but are they huge images?
I ran a quick test using a 1024x51
ur.dcr"
pluginspage="<A HREF="http://www.macromedia.com/shockwave/download/"">http://www.macromedia.com/shockwave/download/"</A>; width="320"
height="240" sw1="' + nav_loc + '"><\/EMBED><\/OBJECT>');
ian
----
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and help
et command, it must forget itself, but if it has done
so, what is it forgetting... etc etc. I recommend using the same strategy
for objects too.
regards,
Christian
--------
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to ch
ffstage
until you are certain that it is no longer needed?
Christian
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (P
sing it (at the time or writing) for setting callbacks,
and it seems to work fine... you had me concerned that there
were issues with it I wasn't aware of.
Christian
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list
t; set abcxyz = "hello"
>
> Gosh, please don't do do in your code.
forgive my ignorance... but what makes you say this Terry?
I have used the do command for ages in numerous situations
with no apparent difficulties.
regards,
Christian
Christi
Jakob Hede Madsen wrote:
> You can teach your objects to leave the actorList in a polite way,
> where they relay the stepFrame event to the next object:
sweet... you're a gent!
Christian
----
Christian Wach
[EMAIL PROTECTED]
o with all those
(the actorList).deleteOne(me)s... still on D7, so no timeOut
objects to migrate to. Guess I'll have build an event object.
been meaning to for ages for those tempo-independent movies.
I guess I have the reason to do this now.
thanks Jakob,
Christian
--
ot a test movie for this?
regards,
Christian
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL
e found the most consistent
way of opening documents is to use BuddyAPI with:
baOpenFile(pathToYourFile, "")
this mimics double-clicking the file's icon, and therefore works when
folks have (for example) custom WinNT systems, or other unusual setups.
Christian
-------
ed that gNetID is being set to
void every frame...
on exitFrame
if not(voidP(gNetID)) then
if netDone(gNetID) then
serverString = netTextResult(gNetID)
parsePacket(serverString)
gNetID = void
end if
end if
go the frame
end
may work better
Christian
-
t the manual says:
"If no net ID is specified, netTextResult returns the result
of the last network operation."
maybe you've got multiple operations in progress... I tend to
specify the netID...
serverString = netTextResult(gNetID)
...with no problems.
Christian
--
the pictures.
> 3) Using a single frame with a single bitmap member and
> using member(x).filename to swap the pictures.
>
> All give me the same type of memory leak!
have you tried issuing 'unload' and/or 'unloadMember' commands
either before or after the sw
tage's movie script, that closes that window?
in my experience, it is still an unstable way to close a MIAW. Likewise,
one cannot void an object from within itself. Since MIAWs are a kind of
object, the same logic applies. Tab's method is the most reliable.
regards,
Christian
ch can easily be read in Director using something like
on getParamFromHTML whichParam
if externalParamName(whichParam) = whichParam then
--alert (whichParam && externalParamValue(whichParam))
return externalParamValue(whichParam)
else
alert "No '" & which
heck out the scriptInstanceList property
regards,
Christian
----
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMA
steve wrote:
> How do a return a value from a child object?
put parentScriptName.childName.someHandler()
regards,
Christian
----
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
h
ng + 1
if pPlaying > pEDL.count then exit
pSprite.member.filename = pEDL[pPlaying]
end if
end
hth,
Christian
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/
ou can filter this by checking extensions,
or filetypes, or whatever, before appending the path to the list.
instantiate the object, and call:
completeFileList = myObj.getFileStructure(rootFolderPath)
good luck,
Christian
Christian Wach
m: +44 (0) 7980 549 556
g(defaultFolderPath, thisFilename,
dialogPrompt)
end if
return thisPathAndFilename
end
hth,
Christian
Christian Wach
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ
30 matches
Mail list logo