Re: lingo-l cast to wav

2006-03-02 Thread Buzz Kettles

for a small numbers of members,
one can copy/paste a sound member into a sound program  save from there

but you have more than a small number ...  ;)

-Buzz

At 12:10 AM +0200 3/3/06, you wrote:

Thanks for your help everyone... a new question.

If I have a cast of 1000 .wav sounds in a director cast and I want to
save each member as a .wav onto my computer somewhere as individual
files, is there an xtra to do this too? Or can I use some simple code?


Michael Nadel
MediArt.Corp
Creativity is more powerful than knowledge -- Albert Einstein
***
Tel: (972-2) 5807-454
Email: [EMAIL PROTECTED]
Web: http://www.mediarthome.com


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l SCORM-compliant Director (was LAN-served projectors)

2006-01-31 Thread Buzz Kettles

At 1:48 PM + 1/31/06, you wrote:

Thanks for the input so far, but PLEASE don't tell me to leave it alone!

My client is seriously stuck in the early 90s in regards to their 
internal processes and their opinion of great design (yes, 
spinning 3D logos with star wipes and sparkles are the cutting edge 
of design to these people), but as they are a global corporation 
little old me has no chance to convince them that SCORM aint worth 
bothering with.


Any other views?

Ross


Be sure to mention to your client that you can make blinking text.  ;)
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l prop list to xml

2006-01-30 Thread Buzz Kettles

At 5:32 PM +0100 1/26/06, you wrote:

Hi List!

The XML Parser Xtra converts XML-formatted text into a Lingo property list.

Now, I need to do the opposite: I have a property list and would like to
convert that into an XML text.

Should be possible to code that in Lingo, but I don't know XML very well nor
am I good in programming recursions which I think would be necessary.

Is there an Xtra or script out there that does that for me?

Thanks
Michael


Hi Michael,

While setting the #type to #field will get you a GPDL popup with all 
the field members of a movie, you might need a smaller sunset of 
them.  This is also doable.


If you build a list of the fields that you want to use within the 
GPDL, it can be used as the elements of the GPDL popup.  The below 
offers a list of the names of the fields that are within castLib 1  
ignores any other fields within the movie.


If you want to limit it to a set of known members. just make a list  use that.

on getPropertyDescriptionList me
  GPDLprops = [:]

  -- make a list of fields
  castNo = 1
  castCnt = the number of members of castLib castNo
  fieldNames = []
  repeat with i = 1 to castCnt
if member(i, castNo).type = #field then
  fieldNames.append(member(i, castNo).name)
end if
  end repeat

  if fieldNames  [] then
-- if there are fields, then use the list elements in the GPDL popup
GPDLprops[#myListChoice] = [ \
   #comment: Field choices, \
   #format: #string, \
   #range: fieldNames, \
   #default: fieldNames[1] \
  ]
  else
-- if NOT, exit so the behavior won't get attached !! ( ALERT)
ALERT no valid fields
exit
  end if

  return GPDLprops
end getPropertyDescriptionList

hth
-Buzz
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


lingo-l misconstrued response

2006-01-30 Thread Buzz Kettles

sorry I answered a question using the wrong source thread!
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l maintaining proportions

2006-01-16 Thread Buzz Kettles

At 3:58 PM +0100 1/16/06, you wrote:

HI Michael,

you can scale the rect and then set the rect of sprite to it.

var_rect = sprite(me.spriteNum).rect
var_scaledRectUp = var_rect * 1.5  -- larger
var_scaledRectDown = var_rect * .5   -- smaller
sprite(me.spriteNum).rect = var_scaleRectUp

There is also a way of resetting the sprite back to its original rect with
lingo, but I can't think of it right now.


sprite().stretch = 0



Frank

- Original Message -
From: Michael Nadel [EMAIL PROTECTED]


 This question has been plauging me for a long time and I'm sure there must
 be a simple answer. Is there a way to make a repeat loop to make a sprite
 grow and shrink in a way that will maintain proportions?


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l #dialog miaw not returning focus to stage

2006-01-12 Thread Buzz Kettles

At 4:40 PM -0500 1/11/06, you wrote:
When I forget a #dialog miaw on windows, focus is not returned to 
the stage. Pressing keys produces sysbeeps and the keydown script of 
my stage does not fire. If I click on the stage, it regains focus 
and all is well. If I switch to type #document, the problem goes 
away. This is in a D10.1r11 windows projector. Reproduced on XP and 
Win98.


I've tried various combinations of moveToFront and moveToBack, with no effect.

Has anyone else noticed this and/or has a workaround?

Thanks for any help!


did you try setting keyboard focus to a field on the main stage?

or if the #dialog is really the issue why not make it invisible, 
change it's type  then forget it?


hth
-Buzz



--
Cole

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l How multi threaded is Director/Lingo and mutexes..

2005-12-20 Thread Buzz Kettles

At 11:44 PM +0100 12/20/05, you wrote:

another place where Dirctor is multithreaded is with the net  operations

getNetThing, etc.

 the multi-user stuff, of course

 Are you sure ?

I know they are asynchronous but multi threaded ?


there is a distinction, but for all intents  purposes, these net ops 
create parallel threads that the main director playhead/lingo thread 
doesn't wait for ...


 multiuser can definitely execute on it's own up on the server ...

-Buzz




Bart Pietercil
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Shockwave installed

2005-12-17 Thread Buzz Kettles

At 6:11 PM +0200 12/17/05, you wrote:
Is there a way in HTML or somehow to check if the user's computer 
has Shockwave installed, and if not, to redirect the page to another 
URL? Or does the user manually have to choose which site he wants, 
the Shockwave or regular...


Look at MACR for tech notes - it has changed over time





Michael Nadel
MediArt.Corp
Creativity is more powerful than knowledge -- Albert Einstein
***
Tel: (972-2) 5807-454
Email: [EMAIL PROTECTED]
Web: http://www.mediarthome.com


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


RE: lingo-l flickering button (was: a question)

2005-12-07 Thread Buzz Kettles

Hi Kerry:

Could those few sprites that flicker perhaps have been slightly 
resized sprites?


** just guessing **

-Buzz

At 5:03 PM -0500 12/7/05, you wrote:

  In reply to Kerry's issues, different reg point locations

 might also be at play in addition to whether the images were
 the same size before importing into Director and somehow one
 had extra white space trimmed on import/insert while the
 other did not. Either of those an issue in your case Kerry?


Nope. Same reg point, same size, same location.

One clue is that I use the same base class for all buttons, and only a
couple do the flickering. Those two are in simulated dialog box
comprising a background with a semi-transparent alpha (a scrim) and two
buttons. The buttons are on top of a bitmap, and do not overlay any
buttons underneath the scrim.

Interestingly, the flickering doesn't seem necessarily to happen at the
edges. In fact, I just looked at it closely, and it's not actually the
button that's flickering, but the cursor (the button has its own
rollover cursor).

Hmmm. It seems to happen at the edges, and in spots where the text is
white. I'm using copy ink, so it shouldn't be a transparency issue, but
the cursor I'm getting IS the cursor for the bitmap underneath the
buttons.

Cordially,

Kerry Thompson


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: 网易邮箱自动回复: Re: lingo-l make screen into member

2005-12-05 Thread Buzz Kettles

AAACK!  They're back

At 10:02 AM -0800 12/5/05, you wrote:

[EMAIL PROTECTED]



[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Buzz Kettles

 BTW - Tom,  did you get elected?
Nope. It was a bad night to be a Republican in the Commonwealth of
Virginia.


Sorry about that -
I had forgotten that the Republican for Gov didn't get elected even 
w/Dubya's help ...


Better luck next time.

-Buzz
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l little script for those who want to brag.

2005-11-02 Thread Buzz Kettles

ah - fun with repeat loops!

At 4:55 PM +0100 11/2/05, you wrote:

about how many lines of code they wrote

on countLines


Since you're timing it, I'd improve the performance when including 
blank lines  add a param that lets you make that decision without 
re-editing the code.


change the above to

 on countLines skipBlanks


  nrLines = 0
  nrScripts = 0
  nMems = 0
  nC=_movie.castlib.count
  t=_system.milliseconds
  repeat with n=1 to nC
nMembers=_movie.castlib[n].member.count
nMems=nMems+nMembers
repeat with o=1 to nMembers
  if _movie.castlib[n].member[o].type=#script then
nrScripts = nrScripts + 1
lCount=_movie.castlib[n].member[o].script.text.line.count


-- to include blank lines, pass in skipBlanks = 1
if skipBlanks then
  nrLines = nrLines + 
_movie.castlib[n].member[o].script.text.line.count

else


repeat with m=1 to lCount

  -- comment this IF statement out if you want to count 
emtpy lines as well

  if _movie.castlib[n].member[o].script.text.line[m] then

nrLines=nrLines+1

-- and if you comment it out, don't forget thisone as  well... :)
  end if
end repeat


end if


  end if
end repeat
  end repeat
  t=( _system.milliseconds-t )/1000.
  return Counted nrLines lines of code in nrScripts 
scripts. Searched nC casts, containing nMems castmembers in 
total. Search took t seconds to complete.

end


-Buzz

[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


RE: lingo-l no running program twice?

2005-10-25 Thread Buzz Kettles

At 9:10 AM -0700 10/21/05, you wrote:

All,


 of course one might ask ... Why isn't this the default setting?
 (multi-instance is certainly the non-standard usage for Projectors
 AND for Auth)


It's tough, which way is best to have it the default?


perhaps the way that is used most often ( that which doesn't waste 
system resources)?  :)



Given your post
and then Daniel's that came after it's obvious that one setting or the
other will always leave someone feeling less than pleased, so...


please see my previous response to Daniel's ideas.

my logic has to do with this definition of 'default':

A situation or condition that obtains in the absence of active intervention.



   an ECR was entered eons ago ... (directly into the Director

 internal bugbase)

 Tom, could you tell us it's status?  (if it's still to be
 found of course)


While I couldn't find a particular record associated with this issue in
my quick search I don't know that I need to, peep this:

1. Launch Director MX 2004
2. Open a new movie for editing
3. Go to File  Publish Settings...
4. Clik on the Projector tab
5. Change any settings you like (including single instance)
6. Click that lil' button that says Save as Defaults

Done! Now *you* can choose your default setting for this option and any
others. ;) Have at it!

Cheers,
Tom Higgins - Technical Product Manager
Macromedia Director and the Shockwave Player
http://weblogs.macromedia.com/thiggins/


Thanks Tom - this is a good improvement over editing the INI.

 of course Director Auth would still behave multi-instance, so 
double-clicked .DIRs still open N copies of Auth, right?


Sorry for the nudging - it's this kid of MS Windows dumbage that 
bothers people raised on Macs.


-  of course overall, it is a small Director issue.

thanks again, Tom

-Buzz
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


RE: lingo-l no running program twice?

2005-10-20 Thread Buzz Kettles

of course one might ask ... Why isn't this the default setting?
(multi-instance is certainly the non-standard usage for Projectors 
AND for Auth)


 an ECR was entered eons ago ... (directly into the Director internal bugbase)

Tom, could you tell us it's status?  (if it's still to be found of course)

-Buzz

At 8:07 PM -0400 10/20/05, you wrote:

  Is there a way to asure that the user doesn't press on the

 projector twice
 and run your program twice, once in the background?


What is your platform? MX 2004? MX? Windows? Mac?

In XP 2004, there is a publish setting for that. Look for it in the
Projector tab, I believe.

Before 2004, you need to make an ini file with the same name as your
executable. E.g., if your executable is projector.exe, you will create a
projector.ini file with these lines in it:

[Settings]
SingleInstance=1

Cordially,

Kerry Thompson


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Curved path between two points

2005-10-17 Thread Buzz Kettles

curved above the horizontal or below?

how many points on the path?

-Buzz

At 12:38 AM +0100 10/18/05, you wrote:

Hi list

It gets rather embarrassing when you come to what's supposed to be a 
simple task then you realise hang on, my mathematics ability is 
dire just as a deadline is due.


I want to animate a sprite between two points along a curved path 
and having looked around various resources for examples I find 
myself sadly lacking in being able to adapt them to my needs. So, 
until I have the time to dig out my old maths books and bring myself 
up to speed, can anybody give me a few pointers on what I should be 
looking at?


My requirements are simple as at this stage it's just for a little 
visual garnish so it doesn't have to be too adaptable, just take a 
start and end loc then animate between those two points with a nice 
curve thrown into the motion path.


TIA

Ross




___ How much 
free photo storage do you get? Store your holiday snaps for FREE 
with Yahoo! Photos http://uk.photos.yahoo.com
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l omitting linked scripts as protection

2005-10-08 Thread Buzz Kettles

At 2:35 PM -0400 10/8/05, you wrote:

Hi James,

At 6:47 PM +0100 10/8/05, James Newton wrote:

If you option-drag a script with a missing link to a new cast member slot,
it creates an unlinked script, with the entire script text visible.  So this
technique is about as good as locking the door and leaving the key in the
lock.


I didn't realized that a copy of the external scriptText remained in 
the cast file. Now I'm glad I asked. Thanks!


Saving a Director file causes linked script members to be saved, so 
they update their scriptText.


hth
-Buzz

[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


lingo-l just testing aliveness

2005-10-05 Thread Buzz Kettles

[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l xtra to read data from a USB/Serial device?

2005-10-05 Thread Buzz Kettles

I agree - directComm worked great for me too

-Buzz

At 10:06 AM -0700 9/28/05, you wrote:

Hi all,

anyone know of an xtra (besides DirectStage's DirectCommunication Xtra)
that will allow me to read the data being sent from a USB and/or serial
device?

Thanks,
Mike
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l just testing aliveness AGAIN

2005-10-05 Thread Buzz Kettles

At 12:36 PM -0500 10/5/05, you wrote:

on 10/5/05 11:19 AM, Rob Romanek at [EMAIL PROTECTED] wrote:


 Hey Buzz,

 I got both your tests. As a result I have determined that you are
 definitely alive.

 Rob


I concur. ;)



thanks all who responded.

here's my results:
1) Lingo-L msgs stopped arriving on 9-23 (only got 1 that day)
2) I sent the first 'alive checker' on 9-30 (but it didn't come back to me)
3) I signed up again for Lingo-L on 10-4 - got no Lingo-L email other 
than the email robot msg: 'you signed up'.
4) on 10-5 (today), I rcvd a few batches of msgs with dates back as 
far as the 27th  then the usual trickles

5) conclusion (?) - Lingo-L got confused about my status.

This seems to happen periodically to my Lingo-L account.
Anyone else get behavior like this?

tia
-Buzz


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l dot syntax to replace a char in a string?

2005-10-05 Thread Buzz Kettles

At 2:33 PM -0400 10/5/05, you wrote:
Just can't seem to get it. The following verbose works, so I should 
just use it and be done with it. But I'm still curious. How would 
the following look in contemporary syntax:


  put - into char 5 of someString

--
Cole



Hi Cole,

Here's my 'true' dot syntax solution :
(using 'put' feels like cheating to me)


someString = someString.char[1..4]  -  
someString.char[6..someString.char.count]



That having been said, 'put' works so straightforwardly that the 
hybrid (verbose + dot) seems like a much better approach.  :)


hth
-Buzz

[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


RE: RE: lingo-l Dir -- Flash communication (static)

2005-09-19 Thread Buzz Kettles
The way I understand it, static variables are 'global' to a class (as 
are static methods).


They get created only once (as the class is loaded), instead of 
getting a separate copy with each instance.


The primary usage example of one is to have it hold a count of the instances.

 the traditional syntax to access them is class.variableName instead 
of instace.variableName


hth
-Buzz

At 4:33 PM -0400 9/19/05, you wrote:

Hi Mark...

Thanks for the answer.  I understood most of what you said, and I think
this is giving me the clues I need.  I'll post again if I'm stumped.

Very much appreciative (and Tom too),
- MM


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


RE: RE: lingo-l Dir -- Flash communication (static)

2005-09-19 Thread Buzz Kettles

I only know it from the Java world - glad it's all the same
 I like them too ...  )

I'll have to checkout Moock's books at some point - I've heard they're great!

glad it all worked out

-Buzz

At 6:47 PM -0400 9/19/05, you wrote:

Yes, Buzz.  That's how static things operate.  I read the AS2.0 book
by Colin Moock that explains it.  Actually, I really, really like the
static attribute and hope it may find its way into lingo at some point.
I've found it to be quite useful.  In that book, it explains that
referencing a static prop is class.prop, not instance.prop, so you're
right, it's just that I forgot that point when I was trying to reference
it from my MIAW.  Mark Jonkman reminded me...thankfully!  :-)

- MM


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Quicktime resets on clicking video area using shockwave

2005-09-08 Thread Buzz Kettles



At 10:19 PM -0700 9/7/05, you wrote:

Hello Everyone,

Does anyone know a workaround for preventing Quicktime from resetting to the
begginning of the clip if the user clicks within the movie.  This does not
happen when in the Director application itself.  I created a mouse-handler,
but Shockwave ignores that.  Any suggestions for preventing the clip from
resetting?


Have you tried having the mouse handler do movieRate = 1 ?
that should restart it (hopefully smoothly)

hth
-Buzz



Thanks,

Scott


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


RE: lingo-l Quicktime resets on clicking video area using shockwave

2005-09-08 Thread Buzz Kettles
moviePlayer exhibits this behavior, so this feature may be built into 
modern versions of the QuickTime playback engine ...


maybe turning DTS off would let a Director bhnr catch the first click 
( then toss it away)?


* just thinking out loud *
-Buzz

At 11:02 AM -0700 9/8/05, you wrote:

  Does anyone know a workaround for preventing Quicktime from

 resetting to the begginning of the clip if the user clicks
 within the movie.


I'm not aware of that as any sort of a general issue so it leaves me to
wonder what's unique about your movie in particular. You have a QT
sprite on stage, and in Shockwave when someone clicks anywhere within
the Shockwave movie the QT sprite resets to a movieTime of zero??? Are
you certain there is not code in your file to do that or that jumps
frames or anything? Is there a sample/demo file you have posted others
can look at (source file too please)? Also, you say there's a mouse
handler that Shockwave ignores, but you don't say where that handler is
or what it does, any details you can share on that?

Sorry that I don't have something more concrete to share, or of course
if I've misunderstood the question.


Cheers,
Tom Higgins - Technical Product Manager
Macromedia Director and the Shockwave Player
http://weblogs.macromedia.com/thiggins/

...


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Tab key

2005-08-17 Thread Buzz Kettles

At 9:25 AM -0700 8/17/05, you wrote:

DIR 8.5.1 / XP PRO

The following behavior is attached to 3 editable sprites. The idea is
to tab to the next sprite if the user hits the RETURN KEY instead of
the TAB KEY.  Trying to program for user behavior, you see.  I hit
the Return Key and it does nothing, the new user said.  So, in my
attempts to write simple, elegant code, I have failed in performance.
Clues? Hints?


it sounds as if you would like the RETURN key to move the focus to 
the next editable field?


try setting the 'the KeyboardFocusSprite' (it's in the Lingo dictionary)

-Buzz



on keyDown me
  if the key = ENTER or the key = RETURN then
TAB
  else
pass
  end if
end keyDown

TIA,
John

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-lscript error in projector only

2005-07-26 Thread Buzz Kettles
Also if the Projector is reading or writing, check to make sure that 
you have you have the appropriate rights (on certain Win versions).


hth
-Buzz

At 3:11 PM -0400 7/26/05, you wrote:

 I'm having an issue were there is a script error when I create a

projector and try to run my project.

It runs fine when editing it in Director?

Any ideas?

Missing xtras is always a good place to start.
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Occurrences in a list

2005-06-30 Thread Buzz Kettles

-- here's my take (similar to others)
-- it creates a proplist with
-- propnames = the occurance names
-- values = the counts
-- (email Lingo)

on cnt inList
  testList = inList.duplicate()
  testList.sort()

  outPList = [:]
  pCount = testList.count
  repeat with i = 1 to pCount
pTarget = testList [i]
outPList[string(pTarget)] = outPList[string(pTarget)] + 1
  end repeat
  put outPList
  return outPList
end

hth
-Buzz


At 3:09 PM -0300 6/30/05, you wrote:

Hi,

How is the best way to count the occurrences of values in a list? I have a
list with 6000+ random generated numbers and I need to count how many times
each of one appear.

Thank's in advance



Rodrigo Peres

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l How to prevent copying a file from CD to HD or another CD

2005-06-20 Thread Buzz Kettles

Wow - it sounds like you don't trust this client.
Here's some ideas off the top of my head.

1) you could put in a timeout into the projector  inform the client 
that they have 1 week or however much you deem appropriate.


OR

2) you could put a file on your website that contains a 'key'  read 
it with getNetText (of course this requires that the client be 
connected to the web)  inform the client that the application can be 
remotely disabled (remove the key).


 the projector could display 'authenticating demo display' or 
something along that line, so that they understand/believe this.


 then of course you can remove the key so that even if they copy the 
CD,  nothing will work.
( then the projector could put up a big pirate skull  crossbones or 
something like that)


hth
-Buzz

At 11:41 PM -0700 6/19/05, you wrote:

Hi Tom,

Actually i want the client to see the demo only, I
want to prevent him from making its illegal copies and
distribute to any 3rd parties by replicating the  CD.

I know its not easy, but can you guide me in a proper
way. Its very critical for me.

Can I use any Xtras/other plugins for this, client is
ready to pay for this stuff.

Thanks,
Biu George.

--- Thomas W.J.C. McCrystal
[EMAIL PROTECTED] wrote:


 How can i make the user only run the projector from
 CD
 drive and sere the presentation and prevent him
 from
 making copies of the file/s onto HDD / another CD.
 That's not hard. Somewhere in your startup script,
 attempt to write a
 file to a directory underneath (the moviePath). If
 it fails, you're
 running from read-only media and all is well.

 If he copies the content using windows explorer, i
 want to see the error Can not copy file:error
 message.  I don't want all files to be protected in
 such a way but want atleast my exe to do that.
 That's lots harder and involves DRM. Stuff like the
 above is a lot easier.
 [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 lingo-l@penworks.com
 (Problems, email [EMAIL PROTECTED]). Lingo-L
 is for learning and helping with programming Lingo.
 Thanks!]







Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l hiding some globals from clearglobals

2005-06-16 Thread Buzz Kettles

you could use one of the Xtras that saves Lingo objects in a file.
(PropSave or the other one (whose name escapes me now))

Then you'd just have to determine WHEN to restore (optimally just 
after that movie clears)


BUT - if they are clearing to get rid of stuff, you run the risk of 
returning whatever it was that they wanted gone ..


-Buzz

At 4:40 PM -0400 6/16/05, you wrote:

Hi,

I'm working on a project that needs to go movie some 
existing_movie. The problem is that this existing_movie calls 
clearglobals a couple times and tromps on my global space. I could 
get access to existing_movie and toss a reference to 
gMySpecialPlist into a temp variable and restore it after 
clearglobals. But ideally, I'd like a solution that does not touch 
the code in existing_movie.


I think the timeOutList might be a safe place (I don't think that 
gets zapped). I was also considering an off screen MIAW to hold some 
of my props in static movie script, but I think a timeout object 
would be cleaner.


Has anyone tried anything similar?

--
Cole

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Conversion of string into variable name

2005-06-16 Thread Buzz Kettles

this question came up fairly recently -

what you probably want is a proplist with unique names in some way 
related to particular spritenums


Irv did a great description last time, so I'll let him find his older 
response  :)


-Buzz

At 8:24 AM +1000 6/17/05, you wrote:

Hi list.

It's been a while since I've touched programming. I have string that 
I would like to convert as a variable-name so that I can use that to 
call a variable with different values on them.


basically this is what it's supposed to do roughly

on beginspite
myVariable = myVariable  the spriteNum of me
end

on mouseUP
put myVariable

end


lingo.ini
-- then you have this here
myVariable1 = dfddf
myVariable2 = etc
myVariable3 = etc etc

thanks for the help

Elvin.


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l projector in a window opens another Director movie fullscreen

2005-06-10 Thread Buzz Kettles

At 11:13 AM +0200 6/10/05, you wrote:

Hi List,

this one's slightly off topic as I suppose no Lingo is involved, but maybe
some of you can point me in the right direction anyway:

I have 2 movies, after completion of the first, a go to movie
blalba-command is issued that opens the next. What do I have to do to have
the first movie running in a window and the second fullscreen?


if by 'fullscreen' you mean having the stage surrounded by black 
nothingness up to the screen's edge, I don't believe that you can do 
that.


fullscreen is a projector option  as such, applies to all movies 
played by that projector.

If you set it OFF, then it stays off  vice versa.

you can approximate it though, by fiddling with the stage rect of the 
second movie (using negative numbers for the left  top to get your 
real stage inset towards the middle ..)


hth
-Buzz



(Dir MX2004, Win)

Thanks and my apologies for the non-Lingo-related question.

Michael

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Sprite Image

2005-06-01 Thread Buzz Kettles

(the stage).image.crop(theSprite.rect)

At 12:15 PM -0400 6/1/05, you wrote:

Is there a way to get the image of a sprite?

I have the DirectImage Xtra, but it looks like I can only get the image
of the stage or a member. I need to get a sprite's image, with its
rotation, transparency, scaling--all the tricks you can do with sprites.

Oh, yes, I need to preserve the alpha as well.

Cordially,

Kerry Thompson


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Shockwave and External Casts issue

2005-05-31 Thread Buzz Kettles

are you using preloadnetthing to get it down?

-Buzz

At 2:25 AM + 6/1/05, you wrote:

Hey Valentin,

Thanks for the response...I did check my webserver and I assure you 
the file does exist (I checked twice) and it's 268kb.  Mind you this 
is merely a test movie I have built to try to troubleshoot this 
problem.  I have seen this error in (at this point) a number of 
different files.


I didn't mention previously that this project works fine from within 
the dswmedia folder on my local machine.


This makes me think this the cast isn't preloaded but I have tried 
preloading the cast and I still get the same error...


Thanks again!  If you have any further suggestions I would 
appreciate them very much.


Kind Regards,

Bryan






From: Valentin Schmidt [EMAIL PROTECTED]
Reply-To: Lingo programming discussion list lingo-l@lists.fcgnetworks.net
To: Lingo programming discussion list lingo-l@lists.fcgnetworks.net
Subject: Re: lingo-l Shockwave and External Casts issue
Date: Tue, 31 May 2005 19:10:12 +0200

Hi Bryan,

the file
http://www.phillymojo.com/test/oldcst.cct
doesn't exist, as you can check by trying to open the link directly 
in a browser. That's why director complains, the server returns an 
error page (of type text/html) instead of a castLib file. Propably 
just some mispelled filename, or maybe you forgot to upload that 
file to the server?


Valentin


Bryan Lowes wrote:

Hey All,

I am having an issue with navigating between movies in shockwave when
using external casts.

I have set up a test movie here:

http://www.phillymojo.com/test

It is supposed to load the first movie which it does successfully,
and when it loads the second movie...which it does as you see when the Here
we are text appears...It is also supposed to display an image that is
located in the external cast.  As I suspect you will see an error 
msg appears

informing the visitor that the file.is not a director file.

This is a bare-bones test movie, so there isn't anything too
complicated that can be causing this error (at least that I added).

I have searched the forums and archives of Direct-L and I have seen
others having this problem but I have yet to come across the solution.

Any assistance would be very appreciated.  Also is Direct-L still
around?  I can't seem to find a page that accepts subscriptions.

Thanks Again,

Bryan


[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 lingo-l@penworks.com  (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo.  Thanks!]


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]



[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l concatenating text members (and the problem with member().html)

2005-05-28 Thread Buzz Kettles

At 4:02 PM -0400 5/28/05, you wrote:

I need to concatenate several text members into one new member.


did you try?

holder = 
repeat with CurrMem in locMemList
  holder = holder  CurrMem.text
end repeat
newMember = new(#text)
newMember.text = holder

hth
-Buzz



The script below works, but all hyperlinks in the text are lost:

repeat with CurrMem in locMemList
   member(NewMem).rtf = member(NewMember).rtf  member(CurrMemr).rtf
end repeat

I suppose the rtf of member doesn't know anything about hyperlinks.

This other script does preserve the hyperlinks, but messes up many 
of the characters in the 128-255 ANSI range:


repeat with CurrMem in locMemList
   member(NewMem).html = member(NewMember).html  member(CurrMemr).html
end repeat

For example, try putting the smart quotes (dec 132 and 148) into a 
text member and then trace the member's HTML: you'll see that they 
are represented by HTML entities Ntilde; and #211; respectively 
(in Windows). Now try this:


member(1).html = htmlheadtitle/titlebodyNtilde; 
#211;/body/html


and you'll see very different characters in the member's text, not 
the smart quotes.


Director does this with several other characters in the upper-ANSI; 
they do not survive the round trip in the HTML property.


How can I accomplish what I want?

Thanks,

Slava

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l GPDL not holding values

2005-05-25 Thread Buzz Kettles

At 4:49 PM -0400 5/25/05, you wrote:

Hi list...

I'm stumped - my getPropertyDescriptionList values aren't being held.  I
drop the behavior on the sprite, set my values in the GPDL, and then in
the behavior panel, the values are gone.  I've looked over the code
again and again.  What silly obvious thing am I overlooking?

Thanks,
- Michael M.


Michael -
#! - are the variables used in the GPDL (#myProp) declared as 
properties on the behavior?


#2 - If you dropped the behavior onto the sprite  THEN coded up the 
GPDL  then recompiled  choose 'current values' from the 'something 
in the GPDL has changed' dialog, then you can end up with the 
situation you have described (blank  un-changeable values in the 
PI's behavior pane).


solution - edit the GPDL again (put in a space  remove it)  then 
recompile  you should get the 'something has changed' again - choose 
'defaults'  the PI should start working (set to default values)


If this isn't your situation, the post your GPDL  we can take a look at it.

hth
-Buzz




[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l replace string question

2005-05-24 Thread Buzz Kettles

At 12:44 AM +0200 5/24/05, you wrote:
besides, is there any chance MM will have unix/osx-style paths 
implemented in director in the future?


if you mean using / as the delimiter, that support was put in during d6

-Buzz



gr+tnx
arri

---8---

On 23 mei 2005, at 22:51, Daniel Nelson wrote:

Check out the free PregEx extra.  Search and replace made easy and 
processor friendly.


---8---

On 23 mei 2005, at 23:05, Thomas Higgins wrote:


In addition to PregEx if you're in DMX'04 you could create a JavaScript
syntax regular expression object and do all this a bit faster and
cleaner.


[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l greek characters

2005-05-24 Thread Buzz Kettles

At 2:38 PM +0100 5/24/05, you wrote:

Hi

I need to display greek (and following on from that a whole range of 
global characters) in my dir app.
While I am doing my research as well, is there a good articel out 
there or resource?


Thanks for any though!

Nik


Are you looking to having your movie auto-translate into whatever 
language the OS is running?


-Buzz




___
Share diaries and photos with your friends and family.

http://www.homemaster.net - Homemaster. Come Together. Online.

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l External editor for field mbrs?

2005-04-27 Thread Buzz Kettles
At 9:22 PM -0400 4/27/05, you wrote:
Greetings all.
We're doing a lot of xml work and prefer using an external editor.  Does
anyone know if an external editor can be linked to field members?
Win/DMX 2K4
Thanks.
Bryan Thompson
Backbone Entertainment
Hi Bruce -
Sorry, Fields are internal only - so no launch  edit for them.
BUT
I'd suggest editing externally  pulling that text in thru a script 
member (to get the nice coloring added)  then cutting/pasting that 
text into your field (or setting up a Lingo script to do it).

That's what has worked for me in the past.
(If you leave the XML in the script member Dir complains when it recompiles).
hth
-Buzz
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Interpret a string as a variable?

2005-04-25 Thread Buzz Kettles
At 1:05 PM -0400 4/25/05, you wrote:
Hi, all.
I have an existing local variable by name xyz.
I have a list containing the message This is  xyz  in context.
When I call it, the complete phrase arrives as a string.
I need a way to 'interpret' the 'xyz' portion of the message as the 
local variable.
If I understand your question, you need to get the middle part back out?
xyz = some stuff
arrivalString = This is some stuff in context.
numWords = arrivalString.word.count
extractedContents = arrivalString.word[3..numWords-2]
put extractedContents
-- some stuff
 if you're trying to get a number back, then use the value of 
extractedContents

hth
-Buzz

Any suggestions? Thanks, in advance.
Steve Taylor
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l OT - Adobe and Macromedia

2005-04-22 Thread Buzz Kettles
At 4:15 PM -0400 4/22/05, you wrote:
It should be obvious that this is a big waste of time talking about this. If
there's a list to tell Adobe how much Director means to its users, that
would make sense. Should one be started? But speculation on either side is
pointless.
The involved parties can't comment and, even if they could, that doesn't
mean it would always be fact. Remember when Quark PROMISED not to kill
mTropolis? Did it even last a week after the purchase?
There was a case to be made that it was dead already
-Buzz
I'm sure there are other such examples.
Rich Shupe

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Member.erase()

2005-04-19 Thread Buzz Kettles
At 11:53 AM -0400 4/19/05, you wrote:
Hi all you Adobe Director fans...
Documentation under erase() method states:
For best results, use this method during authoring and not in
projectors. Using this method in projectors may cause memory problems.
My question is, what kind of memory problems in the projector, and is it
always fatal?  Will it crash the projector?
I think that reference is a warning that you can't erase() LOTS  
LOTS of members (thousands)
Or using a strategy that creates  destroys continuously may get you 
into trouble

 yes, if a projector runs out of memory it can crash
If you are needing to erase() lots of members, why not watch the 
memory while in authoring  see what impact your particular situation 
has.

If you really need to do it, working within an external castLib  
using saveCastLib periodically may clean up the issues.

hth
-Buzz
Regards,
- Michael M.
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


RE: lingo-l Delete Shortcut

2005-04-12 Thread Buzz Kettles
Mac aliases are files too - it should work the same
hth
-Buzz
At 8:19 PM +0530 4/12/05, you wrote:
Thanks to all for your suggestions. Wondering if this would work on Mac as
well.
Thanks and Regards,
Anand Ravi
-Original Message-
From: Andrew Dempsey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 7:29 PM
To: [EMAIL PROTECTED]; Lingo programming discussion list
Subject: Re: lingo-l Delete Shortcut
directOS also works, using the same method pointed out by Johan (getting a
path to the desktop then deleting the .lnk file).
Andrew
- Original Message -
From: Anand [EMAIL PROTECTED]
To: 'Lingo programming discussion list' lingo-l@lists.fcgnetworks.net
Sent: Tuesday, April 12, 2005 2:46 PM
Subject: lingo-l Delete Shortcut

 Hi List,
 Does anyone know if there are any xtras available that can be used to
 delete
 desktop shortcuts. I am using BuddiAPI to create them. However, Buddy does
 not seem to have this very required function. Any pointers will be highly
 appreciated.
 Thanks and Regards,
 Anand Ravi

 [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
 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L
 is for learning and helping with programming Lingo.  Thanks!]

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l SES 10 questions

2005-04-11 Thread Buzz Kettles
At 10:17 PM +0200 4/11/05, you wrote:
the systemdate actually is NOT undocumented AFAIK, it even made its 
way into the manual.
the only thing, which is undocumented since the beginning (dunno why 
though and can't figure it either) is the VERY useful seconds 
property of the date object.
Not really 'undocumented' - just not described in the help entry for 
the systemDate.

What's 'left out' is that since the systemDate returns a data object 
and 2 properties of all date objects are .seconds  .minutes that 
therefore (the systemDate).seconds  (the systemDate).minutes are 
included within that returned object.

note - these props have been viewable (in action) in the list view of 
a castLib.
... member().modifiedDate()

 sure, the docs for the systemDate could include examples of this 
... (to expose this subtlety)

hth
-Buzz
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


Re: lingo-l joining lists in lingo

2005-04-11 Thread Buzz Kettles
At 8:17 PM +0200 4/11/05, you wrote:
... and it's dangerous if you want to user other value types than
numbers.
as an example, try
put value( string( [1,2,3,QUOTE] ))
Valentin
I was going to mention this aspect too, but figured the performance 
difference was enough of a good enough reason.

Many people don't find out about list-to-string mutation until they 
write some big list out  then it doesn't come back as they expected 
-  then they watch the process closely  see what is really going on.

-Buzz
Buzz Kettles wrote:
 While the below looks good, doing the 2 list-to-string conversions
 make that approach much slower than repeat-and-append.
 hth
 -Buzz
 At 4:09 PM +0200 4/11/05, you wrote:
 Hi Tim,
 maybe this could fit
 
 list1 = [1,2,3,4]
 list2 = [5,6,7,8]
 ---
 s1 = string(list1)
 s2 = string(list2)
 ---
 res1 = s1.char[1..s1.length - 1]
 res2 = s2.char[2..s2.length]
 ---
 put value(res1  ,  res2)
 -- [1, 2, 3, 4, 5, 6, 7, 8]
 
 Dam
 On Apr 11, 2005 3:16 PM, Valentin Schmidt [EMAIL PROTECTED] wrote:
  Hi Tim,
  it won't help you in this situation, but in DMX2004 for javascript
  there is the concat() function for arrays:
  var a = Array(1,2,3);
  var b = Array(4,5,6);
  trace(a.concat(b));
  // 1,2,3,4,5,6
  Valentin
  Tim Welford wrote:
   Hi,
  
   Thanks, that's similar to the method I am using at the moment. I
  was  hoping for some undocumented way of doing a simple join to
  get rid of  the repeat loop and hence improve the efficiency of
  the code. 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Ozkan
   ALTUNER
   Sent: 11 April 2005 13:15
   To: Lingo programming discussion list
   Subject: Re: lingo-l joining lists in lingo
  
   Hello Tim,
  
   You can do it by appending list two to list one, by using a loop
  and  getAt(), getPropAt(), addProp() and addAt() methods.
  
   repeat with i = 1 to list2.count()
 addProp(list1, getAt(list2, i)
   end repeat
  
   i'm not exatcly sure of the syntax, however, it clearly should
   give  you
an idea.
   
Ciao,
Ozkan
   
   
-Orjinal mesaj-
From: Tim Welford [EMAIL PROTECTED]
   
Date: Mon, 11 Apr 2005 14:28:10 +0300
To: lingo-l@penworks.com
Subject: lingo-l joining lists in lingo
   
Greetings List...
   
I'm sure this is a daft question, but it escapes me.
Is there away of joining 2 lists together other than looping
 through
   the
   second list and using .add to add it to the first list.
  
   i.e.
   list1 = [1,2,3,4]
   list2 = [5,6,7,8]
  
   list1 + list2 = [1,2,3,4,5,6,7,8]
  
   rather than a result of [6,8,10,12]
   or [1,2,3,4,[5,6,7,8]]
  
   This is just an example, I actually need to do it with a list of
   property lists, whilst the list is quite complicated, the
  format of  the
   2 lists being joined will always be exactly the same, although
  the  number of elements may change.
  
   Thanks
  
   Tim
  
  
   [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
   lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]).
   Lingo-L is for learning and helping with programming Lingo.
  Thanks!] 
   [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
   lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]).
   Lingo-L is for learning and helping with programming Lingo.
  Thanks!] 
  
  
   [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 lingo-l@penworks.com  (Problems, email
   [EMAIL PROTECTED]). Lingo-L is for learning and helping
  with  programming Lingo.  Thanks!]
  [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 lingo-l@penworks.com  (Problems, email
 [EMAIL PROTECTED]). Lingo-L is for learning and helping with
 programming Lingo.  Thanks!]
 [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 lingo-l@penworks.com  (Problems, email
 [EMAIL PROTECTED]). Lingo-L is for learning and helping with
 programming Lingo.  Thanks!]
 [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 lingo-l@penworks.com  (Problems, email
 [EMAIL PROTECTED]). Lingo-L is for learning and helping with
 programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping

Re: lingo-l joining lists in lingo

2005-04-11 Thread Buzz Kettles
At 12:11 AM +0200 4/12/05, you wrote:
Am 11.04.2005 um 23:42 schrieb Buzz Kettles:
I was going to mention this aspect too, but figured the performance 
difference was enough of a good enough reason.
after all I don't quite understand, what is so bad about the little 
repeat loop.
I for one like repeat loops... ;-)
if only I could collapse them in the script editor at last... :-)
Hahaha - I am also a big fan of repeat loops  :)
I couldn't code w/o them  :)
but it sure would be nice if there was an appendElements function for 
lists  proplists.

listA = [2,4,6]
listB = [1,3,5]
listA.appendElements(listB)
put listA
-- [2,4,6,1,3,5]
I guess it's not a built-in Lingo function because it seems like an 
easy user-defined function.

on appendElements, listA, listB
 c = listB.count
 repeat with i = 1 to c
   listA.append(listB[i])
 end repeat
 return listA
end
hth
-Buzz

---
  |||
a¿ex
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]

[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l SES 10 questions

2005-04-11 Thread Buzz Kettles
At 12:11 AM +0200 4/12/05, you wrote:
Am 11.04.2005 um 23:36 schrieb Buzz Kettles:
What's 'left out' is that since the systemDate returns a data 
object and 2 properties of all date objects are .seconds  .minutes 
that therefore (the systemDate).seconds  (the systemDate).minutes 
are included within that returned object.
minutes ??
never heard of that.
is that win only ?
sorry - I mis-remembered
There's only seconds  one must use division to get minutes and hours 
out of that

---
  |||
a¿ex
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]

[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l GPDL Multiple Selecection?

2005-03-17 Thread Buzz Kettles
group the items together in the beginSprite
for instance:
your GPDL could have a bunch of checkboxes to pick from
or a series of popups
 then use beginSprite (or a handler called by beginSprite) group 
those props into the list or proplist that you need.

hth
-Buzz
At 8:31 AM -0600 3/17/05, you wrote:
I am working on a solution to create a mulitple selection within a GPDL?
For example:
---
---
property plSomeList
---
on getPropertyDescriptionList
propertyList = [:]
c = Select the items for the list 
f = #string
d = 
r = [red, yellow, blue, orange, green, purple]
propertyList.addProp (#plSomeList, [#comment: c, #format: f, #default:
d, #range: r])
return propertyList
end getPropertyDescriptionList
---
on beginSprite me
plSomeList = value(plsSomeList)
end beginSprite
---
---
What I like for plSomeList to equal something like [red, yellow] or
[blue, orange, purple] or whatever combination the user chooses.
I realize the above code does not exactly work.  Also, the colors list in
the above is only an example.  The actually list might actually have 50 or
more items to choose from.
Any thoughts?
Anthony
www.lifelinestudios.com
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Problem 1: Imaging Lingo

2005-03-04 Thread Buzz Kettles
At 4:33 PM -0800 3/4/05, you wrote:
Thank you for the quick response.
I am still wondering how would I do something like this:
tImage = new image(C:\myimage.jpg)
or something to that effect if you get my drift.  (an image that hasn't been
imported into the director's cast yet).
can't get at a member's .image until it's a member
you can make a linked member  then get it's image
linkMember = new(#bitmap)
linkMember.filename = C:\myimage.jpg
then you can use linkMember.image
hth
-Buzz
- Original Message -
From: Buzz Kettles [EMAIL PROTECTED]
To: Lingo programming discussion list lingo-l@lists.fcgnetworks.net
Sent: Friday, March 04, 2005 12:42 PM
Subject: Re: lingo-l Problem 1: Imaging Lingo

 At 5:10 PM + 3/4/05, you wrote:
 Hi there,
 Unfortunatly it doesnt work.
 
 The image does resize to the dimensions for the window.rect
 
 Is it possible to copypixels directly into a members image?
 yes - (just as Kraig wrote)
 member().image.copypixels(sourceImage, ...
 will copy the sourceImage into the member().image
 hth
 -Buzz
 
 Regards
 Jon
 
 
 
 On 4 Mar 2005, at 16:20, James Newton wrote:
 
 On 4/3/05 3:54 pm, Jayp [EMAIL PROTECTED] wrote:
 
 I cant seem to get the lingo right for copying the image into a
 member rather than the window.image
 
 
 Hi Jayp,
 
 Does this work:
 
tBitmap = new(#bitmap) -- or an existing bitmap member
tImage  = image(R, B, 32)
tImage.copyPixels(bg, rect(0,0,R,B), rect(0,0,R,B))
tBitmap.image = tImage
 
 Cheers,
 
 James
 
 [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 lingo-l@penworks.com  (Problems, email
 [EMAIL PROTECTED]). Lingo-L is for learning and helping with
 programming Lingo.  Thanks!]
 
 
 [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 lingo-l@penworks.com  (Problems, email
 [EMAIL PROTECTED]). Lingo-L is for learning and helping with
 programming Lingo.  Thanks!]
 [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
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l field and Text member

2005-02-23 Thread Buzz Kettles
At 10:18 AM -0800 2/23/05, you wrote:
I get that the difference between field and text is that text is anti-aliased.
can the text act as a field allowing the user to input text, select 
characters?
can lingo higlight characters in the text?

thanks
Laurie
yes - however the Lingo used is different for the two member types
hth
-Buzz
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


RE: lingo-l w3d sprite re-scaling in windows projector

2005-02-16 Thread Buzz Kettles
===
Thanks God, i figured out the solution now.little
later - only for the exe... . exe now looks like the
same one as in authoring. So exe is ok now.
But the published shockwave in browser-ie- still looks
awkward.
=
thanks again Tom.
Regards,
Biju George.
It sounds like your Shockwave 'Stretch' setting is on in Publish Settings
-Buzz
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


RE: lingo-l Cast member visuals

2005-01-21 Thread Buzz Kettles
At 2:27 PM -0500 1/21/05, you wrote:
You can use any size you want. Doesnt matter in the least bit.
Thumbnails do have an optimal size, 21 X 21 or whatever it is, at which
they do not get scaled up or down. Anything else gets its thumbnail
scaled which can be detrimental to some well thought out artwork. Its
not that the image data for the thumbnail gets whacked, its the
thumbnail itself that gets scaled.
There is a known bug in the cast thumbnail that causes thumbnails to
sometimes not fill the member window properly which is likely what you
are running up against.
Kraig
 there's workarounds for that bug (if it's the same one) (at least on mac)
I don't remember which gets it:
a) dragging the member to a new slot
b) duplicating the member
c) pasting the member back into it's own slot
d) using cast prefs to resize them, forcing a re-calc
 back on the original issue (being able to identify #type in the castlib)
- aren't the 'picons' (petite icons) distinct enough?
- are you displaying those, Kerry?
hth
-Buzz


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Roy Crisman
 Sent: Friday, January 21, 2005 2:07 PM
 To: Lingo programming discussion list
 Cc: Lingo programming discussion list
 Subject: RE: lingo-l Cast member visuals
 And I tell you I've been using 55x41, 110x81, and 165x123 for
 quite a while.  They store as-is, don't lose pixels, fill the
 cast boxes on my screen fully, and are large enough to
 actually get some decent amount of info into them.  The
 Library Palette (once I figured out how to get that back up
 on the screen) images tend to use square 26x26
 imagesobviously not the regular rectangular
 cast-thumbnail sizedragging and dropping them into my
 cast gives me a lot of whitespace not only on the edges, but
 the top and bottom too, in the medium view.
 roymeo
 At 10:44 AM 1/21/2005, Mentor, Kraig wrote:
 I think the only standard size is that which matches the
 thumbnails in
 the Behavior Libraries. I think thats 21 X 21 pixels off
 memory. There
 is some scaling involved with your cast preferences, and the
 dimensions
 of the source image. All of which play into the quality of
 the thumbnail
 image. A good way to start is to copy a Behavior Lib thumbnail then
  paste it into the Paint window. That will give you the most suitable
  dimension.
  
  
  Kraig
  
-Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
   Roy Crisman
   Sent: Friday, January 21, 2005 1:34 PM
   To: Lingo programming discussion list
   Subject: Re: lingo-l Cast member visuals
  
   Property Inspector.
   Right click the icon for the cast member.
   You can clear, copy, or paste the bitmap.
   Some of the standard sizes are: 55x41, 110x81, and 165x123.
   
roymeo
   
At 10:13 AM 1/21/2005, you wrote:
In the cast window, thumbnail view, there's a way to set
  a bitmap or
pattern for cast members. E.g., you could have all your
   parent scripts
   red, all your behaviors yellow, and so on. You can also do
   patterns like stripes.
   
   How do you do that? It's a great visual cue when you have a
   lot of cast
   members.
   
   Cordially,
   
   Kerry Thompson
   
   
   [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 lingo-l@penworks.com  (Problems, email
   [EMAIL PROTECTED]).
   Lingo-L is for learning and helping with programming
 Lingo.  Thanks!]
  
   -
   roymeo(AT)brokenoffcarantenna.com
   -
Flash MX Professional 2004 - Now Without Manuals!
  
   [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 lingo-l@penworks.com  (Problems,
   email [EMAIL PROTECTED]). Lingo-L is for learning and
   helping with programming Lingo.  Thanks!]
  
  
 
 [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
 lingo-l@penworks.com  (Problems, email
 [EMAIL PROTECTED]). Lingo-L
 is for learning and helping with programming Lingo.  Thanks!]
 [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 lingo-l@penworks.com  (Problems,
 email [EMAIL PROTECTED]). Lingo-L is for learning and
 helping with programming Lingo.  Thanks!]

[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  

Re: lingo-l Name of a good resource to begin Game programming

2005-01-13 Thread Buzz Kettles
Hi -
Gary Rosenzweig wrote a book a few years back called 'Advanced Lingo 
for Games' -

It covers a great deal of territory very well  comes with a CD-ROM 
for the examples

-Buzz
At 11:37 PM -0800 1/12/05, you wrote:
Hi all,
Does anybody have the name of a good pdf/resource to
begin game programming in Director and or Flash?  We
will get several links in the net net when searched.
But, the stuff should be able to describe step wise
the concepts in gaming and as well as the coding
methods from basic to advanced level. 

I want the reply not from the authors of the book but
from used developers who really followed it to master
the subject.  Math and physics to control the objects
should be explained to understand a beginner.
Thanks in adv,
Biju George.

__
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


RE: lingo-l number of sprite channels.

2005-01-12 Thread Buzz Kettles
At 10:13 PM +0200 1/12/05, you wrote:
Buzz Kettles
 there's also a lingo property to set it with (lastChannel)
Hi Buzz,
In the Message Window of D8 if I do:
the lastChannel = 200
I get a script error: Cannot set this property. Besides, the D8
documenations says that this is a read-only prop. Did this feature change
with next generations of Director?
All the best
Petro
I don't think the feature changed - I was just presuming (wrongly),  
considering it posts a warning dialog when you change it using the 
graphical view of the PI, I guess it must need to be read-only.

Thanks to Tom for suggesting to look at the PI's list view - I should 
have done that before posting.

As you might guess, lastChannel isn't a feature I use a lot ... :)
-Buzz
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Fastest way to count specific words in a big text?

2005-01-09 Thread Buzz Kettles
look up 'offset'
hth
-Buzz
At 9:15 PM +0100 1/9/05, you wrote:
Hi,
I need to count how many times specific words or parts of words 
exist in a text. Is there a fast way to do this? Since I also need 
to find words inside other words (for example the word lotion 
should also be found in sulotions etc) I can't just repeat through 
the words and compare them.

Any ideas?
Thanks in advance,
/Karl Cifius
_
Lättare att hitta drömresan med MSN Resor http://www.msn.se/resor/
[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 lingo-l@penworks.com  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]

[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 lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: AW: lingo-l dynamic outlined text

2004-12-17 Thread Buzz Kettles
At 7:12 PM -0500 12/17/04, you wrote:
There may be some font options that are Mac only.  I think Buzz is a 
mac guy and I'm guessing you aren't (the Mac part, not the guy part).
I had thought that those archaic font options had been ported - NOPE!
I just checked my Win development system  Roy is correct.
 - it's not available in that same context menu.
But the Lingo apparently functions completely:
the property sticks  is clearable  displays in the PI
(so a Shockwave movie can run 'unimpaired'?)
the display engine doesn't seem to support it
(probably an old mac toolbox call).
Vectors sound much nicer
-Buzz
roymeo88
At 06:22 PM 12/17/2004, you wrote:
Hello everybody and thank you everybody for your help.
To Buzz:
 depending on the font, you may be able to use 2 identical field
 members to 'build it'

 place them onstage on top of one another  set the text of the front
 one to outline
you said depending on the font. I have tried it in DIR 8.5.1 and DIR 2004
MX (win) with several fonts, including some very common ones like Verdana. I
have tried texts and fields but I never had the option outline Can you
name a font, where you should have that option?
Thanks!
Michael
[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 
programming Lingo.  Thanks!]
---
Roy Crisman
Macromedia Director Programmer, Lingo Guru, Multimedia Producer
277 N. Goodman St.
Rochester, NY 14607-1162
(585)473-3492 home
(585)615-2873 cell
roymeo(AT)brokenoffcarantenna.com
[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 
programming Lingo.  Thanks!]
[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 programming Lingo.  Thanks!]


Re: lingo-l problem sound, please help me?

2004-12-13 Thread Buzz Kettles
use the sound object Lingo (see the Lingo dictionary)
sound().queue()
sound().setPlayList()
sound().getPlayList()
 sound().playNext()
 the other related commands
hth
-Buzz
At 11:38 PM -0800 12/11/04, you wrote:
Hi
I want read some music (mp3) files from a specific
cast that when one music is finished automatically
playing next member of cast member. Now I want change
them with the next and prev button. some of my codes
are:
---
on exitFrame
  mySound=2
  i=1
  if mySound = 6 then mySound=2
  if mySound = 1 then mySound=5
end
on mrev
  mySound=mySound-1
  sound(i).play(member(mySound, music))
end
on mnext
  mySound=mySound+1
  sound(i).play(member(mySound, music))
end
on mplay
  sound(i).play(member(mySound, music))
  sound(i).enabled=true
end
on mpause
  sound(i).stop(member(mySound, music))
  sound(i).enabled=false
end
---
* next problem is my play and pause buttons don't
work, why?

__
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
[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 
programming Lingo.  Thanks!]
[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 programming Lingo.  Thanks!]


Re: lingo-l Dynamically assigning cast members to sprite

2004-12-01 Thread Buzz Kettles
At 10:46 PM +0100 11/30/04, you wrote:
Hi,
 I read somewhere that it's possible to assign a cast member to a sprite
with lingo. I just can't remember where I read it.
Anybody who can enlighten me?
Thanks.
sprite(someSprieNumber).member = member(someMemberName)
hth
-Buzz
Torben Nielsen
Starvision Studios
[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 
programming Lingo.  Thanks!]
[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 programming Lingo.  Thanks!]