Re: lingo-l Defying gravity :)

2004-08-26 Thread Christoffer Enedahl
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

Re: lingo-l get and set pixel

2004-07-14 Thread Christoffer Enedahl
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

Re: lingo-l detect sprites with a certain property

2004-07-02 Thread Christoffer Enedahl
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) =

Re: lingo-l Checking file (and path) validity

2004-04-19 Thread Christoffer Enedahl
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

Re: lingo-l Differencing images?

2004-04-13 Thread Christoffer Enedahl
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

Re: lingo-l Shockwave finding movies on CD-ROM

2004-04-07 Thread Christoffer Enedahl
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

Re: lingo-l the stagecolor = the stagecolor

2004-02-10 Thread Christoffer Enedahl
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:

Re: lingo-l XPOST: Audio Xtra interest

2004-02-10 Thread Christoffer Enedahl
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

Re: lingo-l Math.ceil()...lingo style

2004-01-26 Thread Christoffer Enedahl
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

lingo-l SoftShadow Quad issues

2004-01-25 Thread Christoffer Enedahl
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

Re: lingo-l Imaging lingo question

2004-01-14 Thread Christoffer Enedahl
- 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

Re: lingo-l Disable button

2004-01-12 Thread Christoffer Enedahl
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

Re: lingo-l using the property value of one list as a property in another list

2004-01-12 Thread Christoffer Enedahl
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

Re: lingo-l Changing name of a file

2003-12-14 Thread Christoffer Enedahl
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

Re: lingo-l Field member and fontstyle property

2003-12-09 Thread Christoffer Enedahl
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

Re: lingo-l PDF CLASS for creating PDF with lingo

2003-11-25 Thread Christoffer Enedahl
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:

Re: lingo-l Download speed

2003-11-24 Thread Christoffer Enedahl
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),

Re: lingo-l Transparency with Imaging Lingo Headache

2003-11-16 Thread Christoffer Enedahl
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 =

Re: lingo-l Vlist question

2003-10-23 Thread Christoffer Enedahl
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

Re: lingo-l KeyCode

2003-10-23 Thread Christoffer Enedahl
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:

Re: lingo-l Fluke in Windows XP

2003-10-20 Thread Christoffer Enedahl
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:

Re: lingo-l Fluke in Windows XP

2003-10-20 Thread Christoffer Enedahl
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