Try member(ms).scripttext = aString
HTH/Christoffer
[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
I am using this code similar to this :
repeat with xx = 1 to 450
repeat with yy = 1 to 400
rgbval = member(firstImg).image.getPixel(xx, yy)
-- some calculations here and then
member(secondImg).image.setPixel(xx,yy, newrgbval)
end
Hi
is it possible to loop through all sprites in the score and detect whether
each sprite has a certain custom property.
If the sprite has any custom properties then i can use
repeat with k = 1 to the lastChannel
repeat with l = 1 to sprite(k).count()
if sprite(k).getPropAt(l) =
There is a hack. If you have your cd in the cdplayer and a file on that cd
in a folder called dswmedia then you can try to hook up that file to a
member. for instance a textmember and a textfile:
repeat with drive in [c,d,e] --etc...
member(mytextmember).filename = drive \dswmedia\check.txt
Here is an overview of what the inks does matematically
http://www.matic.at/dirtr/ink.html
Maybe you can use that.
When everything else fails use getPixel and setPixel, though they are very
slow, you get full control.
--this will make a blackwhite image out of the difference between image1 and
http://groups.google.se/groups?q=enedahl+shockwave+cdhl=svlr=ie=UTF-8oe=UTF-8selm=b54hfd%24bsr%241%40forums.macromedia.comrnum=1
HTH/Christoffer
- Original Message -
From: Alan Neilsen [EMAIL PROTECTED]
To: mailto:
Sent: Wednesday, April 07, 2004 8:39 AM
Subject: lingo-l Shockwave
stagecolor = the stagecolor forces director to redraw the entire stage.
It's a flaw in communication between directors drawing-engine and flash in
this case. *what I know anyway*
/Christoffer
- Original Message -
From: Mendelsohn, Michael [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Whoha!
Will it be shockwave safe? If so I'd use it for the mod/mx support only and
have the other features as a bonus :) Mac support would be of much use.
/Christoffer
- Original Message -
From: Neil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 3:35 AM
This came from Andrew Morton on a similar thread that grew very large.
on ceiling ( aNumber )
return bitOr(aNumber,0) + (aNumber0) - (aNumber0)
end
on floor ( aNumber )
return bitOr(aNumber,0)
end
/Christoffer
[To remove yourself from this list, or to change to digest mode, go to
Hi there. (sort of X-post, sorry about that)
I'm coding 2d softshadows, but director is messing with my quads as seen on
this page:
http://www.enedahl.com/index.asp?page=shockwave_softshadow
Does anyone have a workaround for it?
/Christoffer
[To remove yourself from this list, or to change to
- Original Message -
From: Luke [EMAIL PROTECTED]
snip removed=on getImage/
#ScaleConstrained:
if inputImg.width inputImg.height then
I belive the above line is faulty, it should have the returnRect in mind
here, like this:
WidthScale = returnRect.width / inputImg.width
you could let a script do it for you
property active
property spritenum
on beginsprite me
active = true --active on start
end
on mouseUp me
if active then
--do you stuff
alert(Button works!)
end if
end
on deactivate me
sprite(spritenum).blend = 50 --make
vProp = firstList[#county]
WantedValue = secondlist[vProp]
or as one statement:
WantedValue = secondlist[ firstList[#county] ]
/Christoffer
- Original Message -
From: Lee Blinco [EMAIL PROTECTED]
Hi all,
a problem i always seem to face but seem to sort out in different ways, is
Filextra can rename files
http://kblab.net/xtras/FileXtra4
/Christoffer
- Original Message -
From: Fabrice Closier [EMAIL PROTECTED]
is it possible to change the name of a file via Director?
[To remove yourself from this list, or to change to digest mode, go to
You prolly have a fieldmember not a textmember. That wount work on fields
with dotsyntax...
HTH/Christoffer
- Original Message -
From: Igor [EMAIL PROTECTED]
To: lingo-l [EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 12:58 PM
Subject: lingo-l Field member and fontstyle property
Great! I tried it and it worked.
Good to know this is possible, I'll have that in mind in our future
projects.
Cheers! /Christoffer
- Original Message -
From: Valentin Schmidt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 4:50 AM
Subject:
OK. I have the values of bytesSoFar and bytesTotal. So, how to calculate
the remaining time?
Pseudocode here:
--When starting the download, get the time and place that in a variable,
StartTicks = the ticks
--calculate how much of the file is downloaded, (will be a value between 0
and 1),
Newly created images is NOT transparant, you'll have to set that alpha image
your self.
-- create buffers
ilCanvas = image(200, 150, 32) -- no need for a palette when 32 bits.
ilImage1 = image(160, 120, 8)
ilImage2 = image(160, 120, 8)
ilCanvas.useAlpha = TRUE
vTransparantAlpha =
I never worked with it, but I imagine that vList only saves the scriptname
and the currents values of it's properties, no need to save the scriptcode.
If you want to save the scriptcode, you can access it with
member(myScript).scriptText. Getting the scripttext this will only work in
movie script (email lingo ;)
on keyUp
put the key the keycode
end
or
on ShowKeyCodes
repeat with i=1 to 256
put i numtochar(i)
end repeat
end
keycode is not equal to ascii, director has it's own mappings
HTH/Christoffer
- Original Message -
From: Pino [EMAIL PROTECTED]
To:
It sounds like the cd's were replicated poorly, How did you replicate them?
burn or glass-master?
- Original Message -
From: Andrew Dempsey [EMAIL PROTECTED]
To: [EMAIL PROTECTED] Com [EMAIL PROTECTED]; Direct-L List
[EMAIL PROTECTED]
Sent: Sunday, October 19, 2003 11:28 AM
Subject:
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christoffer Enedahl
Sent: Monday, October 20, 2003 8:46 AM
To: [EMAIL PROTECTED]
Subject: Re: lingo-l Fluke in Windows XP
It sounds like the cd's were replicated poorly, How did you
replicate them? burn or glass-master
22 matches
Mail list logo