Re: action called on attaching behavior to sprite

2001-07-30 Thread Buzz Kettles


At 3:27 AM +0100 7/28/01, LePhuronn wrote:
>The only way I could get the routines I wanted to run ONCE was to call them
>from the "isOKToAttach" handler, although this may cause some erratic
>behaviour

like to live dangerously, eh?
-Buzz


>if you're cropping images through Lingo - it was fine for me to
>send messages around, but actual sprite manipulation might mess things up.
>
>Give it a try though...
>
>Thinking about it, are you wanting to set any properties for the crop or
>not? If it's fully automated then I think the "RunPropertyDialog" handler
>only runs the once and runs before "GetPropertyDescriptionList" if it
>exists.
>
>LePhuronn
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: action called on attaching behavior to sprite

2001-07-30 Thread Buzz Kettles

after the GPDL props are returned to the score, they get put in the 
sprite's scriptList.
(sprite(1).scriptlist)

one could call a movie script to fiddle with them.

hth

-Buzz

At 8:50 AM -0700 7/30/01, Morgan Bonar wrote:
>I like your ideas, but unfortunately, I do need to have access to the
>properties for the action to function properly.
>I tired "isOKToAttach", but again I don't have the props. set yet...
>Is there some place after the list is returned (so that we have access to
>the props.) that an action can be called??
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
>LePhuronn
>Sent: Friday, July 27, 2001 7:27 PM
>To: [EMAIL PROTECTED]
>Subject: Re:  action called on attaching behavior to sprite
>
>I actually used this feature in one of my uni projects not so long ago - an
>interactive tutorial system then talks between Director in authroing mode
>and MIAWs.
>
>The only way I could get the routines I wanted to run ONCE was to call them
>from the "isOKToAttach" handler, although this may cause some erratic
>behaviour if you're cropping images through Lingo - it was fine for me to
>send messages around, but actual sprite manipulation might mess things up.
>
>Give it a try though...
>
>Thinking about it, are you wanting to set any properties for the crop or
>not? If it's fully automated then I think the "RunPropertyDialog" handler
>only runs the once and runs before "GetPropertyDescriptionList" if it
>exists.
>
>LePhuronn
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: action called on attaching behavior to sprite

2001-07-30 Thread Buzz Kettles

The trick that we used was to time between them.

Look at some of James Newton's d8 behaviors - we used it to trap some 
of his error messaging so that it wouldn't fire twice ...

-Buzz

At 6:35 PM -0700 7/27/01, R. Bhakti Klein wrote:
>oh i didn't see that post of buzz's. that's interesting, although i
>don't see why it should have to call it twice. anyhoo, yes setting a
>boolean property the first time is a fine and dandy workaround...
>-bh
>
>Kerry Thompson wrote:
>>
>>  >Does anybody know the way to call a handler as soon as a behavior is
>>  >attached(after getPropertyDescriptionList has been initialized) to a sprite
>>  >in authoring?
>>
>>  I think Buzz Kettles posted something about this the other day. If I
>>  remember right, he said that GPDL is called twice--once to put up the
>>  dialog, and again when you finish.
>>
>>  Maybe you could check to see if the properties have been set, then call
>>  your handler. I haven't tried it, but it's an idea.
>>
>>  Cordially,
>>
>>  Kerry Thompson
>>
>>  [To remove yourself from this list, or to change to digest mode, go to
>>  http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>>  email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>>  Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>--
>R. Bhakti Klein
>Instructional Media Developer, Distributed Learning Workshop
>http://www.dlworkshop.net/
>··
>Baritone, Wicki6
>http://www.wicki6.com
>···
>"On Earth, you can only do little things;
>but you can do them with a lot of Love."
>   -- Mother Theresa
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: Type 2 Crash. a cautionary tale

2001-07-30 Thread Buzz Kettles

What you are asking for was functionality that was available in 
Director 6, but hasn't worked since.

You used to be able to create a Dir movie (such as a set of scripts) 
& save it & then in the Finder's getInfo, you could mark it as a 
Stationary file.

Then when you opened this file, the OS would peel off an unsaved copy 
of this file for you to start from = your 'template'.

Alas, this lost capability has never been seen as important enough to 
get fixed.

-Buzz

At 12:51 AM +0300 7/27/01, Pekka Buttler wrote:
>I've once had an insider explain to me that the reason is that that type of
>function calling is reserved for built in functions, not custom lingo.
>Understandable, but an oversight nevertheless...
>
>Which brings me to another idea.
>
>Would someone second my vote for the following concept.
>
>The user would be able to create a castlib of scripts (handlers, functions,
>methods, whatever), which would be attached, not to the movie (as an
>external CastLib) but to the Application (Director, Projector,
>Shockwave(?)). The Castlib could be protected, and the functions within the
>castlib would on startup of the Application be "embedded" into Lingo's own
>sphere of functions. and could therefore be more readily at hand and
>hopefully faster to execute)
>
>This would allow users to make their own "expansions" to the Lingo Function
>set.
>(Naturally everyone can write their 2000x functions and store them in an
>external cast even now, but I'd really love the feel of being able to modify
>the platform instead of just the files run with it)
>
>What I'm offering is not in any way revolutionary (except making custom
>lingo faster by enabling its integration into the application's core
>function set), just a very nifty feature.
>
>For Example I have long since made myself a wide set of geometric
>calculation functions Like
>somePointValue = MidPointOfRect(Myrect)
>or
>IntegerValue = distOfPoints(the MouseLoc,
>MidPointOfRect(sprite(MySprite).rect))
>etc.
>
>IMHO, it would give a new aspect to custom functions...
>
>1 dime (or am I valuing it too high)
>Pekka
>
>>  -Original Message-
>>  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
>>  Behalf Of Slava Paperno
>>  Sent: 26. heinakuuta 2001 21:53
>>  To: [EMAIL PROTECTED]
>>  Subject: Re:  Type 2 Crash. a cautionary tale
>>
>>
>>  I haven't done the tracing that you have, but I think my Type 2
>>  crashes of
>>  D8 on Mac OS 9.04 started when I started using the same type of calls...
>>  Does this Cautionary Tale apply to D8.5?
>>
>>  Slava
>>
>>  At 12:43 PM 7/26/2001 -0400, you wrote:
>>
>>  >Two days ago I started getting catastrophic crashes on my Mac that made
>>  >Director simply vanish from my screen with a Type 2 error*...
>>  >The line was something very like:
>>  >  sprite(29 + x).setprops(foo, bar, rabnicky)
>>  >
>>  >It was suggested that calling a handler that way, while it works most of
>>  >the time, is not actually supported and that 'call' or 'sendsprite' are
>>  >the ways to go. (thanks Dan S.)
>>  >
>>  >now I use:
>>  >sendsprite(29 + x,#setprops,foo, bar, rabnicky)
>  >
>  >
>  > [To remove yourself from this list, or to change to digest mode, go to
>  > http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>  > email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>>  Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>>
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: how do I get the QTmov to play all the way through?

2001-07-30 Thread pranavn


Actually Charlie, using the movieRate property works fine too. While the
movie is not playing (i.e. when it reaches the end of the file), the
movieRate is set to 0. Zero is also interpreted as FALSE by Lingo, so it's
ok to check the movieRate.

One reason why this might be failing is that the QT cast members loop
property is set to TRUE. So it keeps on playing infinitely and the
movieRate is never equal to 0. Check that out Steffanie.

Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.




the movieRate property isn't true or false; it's a number.  Standard speed
is 1, double speed is 2, half speed is 0.5, etc.  (you
can even go negative to -1, -2, -0.5, etc.)  You'll need to use the
movieTime property of the QT to test for its end.  (The easiest
way to find out the movieTime property (called duration in the properties
tab) is to change the properties tab to list view and then
it's down at the bottom.)

I am needing to know how to get the QT movie that I just imported into  my
dir. movie to play the entire way through before moving on to the next
marker.




[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: delay 3*60 ¬ go next

2001-07-30 Thread Irv Kalb

I would do it like this (not sure if I understand the implications of 
gNarration and gTour):


global gNarration
global gTour
property pEndTicks

on beginSprite me  -- This only executes once
if gNarration = 1 then
play soundfile-- not sure what this to do, not correct syntax
end if
if (gTour = 1) and (soundBusy(3) = FALSE) then
   pEndTicks = the ticks + (3 * 60)  -- now plus 3 seconds
else
   pEndTicks = the ticks  -- now
end if
end

on exitFrame me
   if the ticks > pEndTicks then
  go next
   else
  go the frame
   end if
end

This allows for interactivity (if that's what you want) while waiting 
on the frame for 3 seconds.

Irv

At 4:12 PM -0500 7/30/01, Tyler F Gamsby wrote:
>I have a frame that has a script like this:
>
>on exitFrame
>   global gNarration
>   global gTour
>
>   if gNarration=1 then play soundfile
>
>   if gTour=1 and soundbusy(3) = FALSE then
> delay 3 * 60
> go next
>   end if
>
>   go loop
>end
>
>
>Everything works fine, except the:
>   delay 3 * 60
>   go next
>
>Is there a bug with delay in this instance, or am I just doing 
>something wrong?  It is my understanding that delay will stop the 
>playback head for the set amount of ticks, and then carry on... am I 
>mistaken?
>
>(I know that some of the script above might be broken, but I am 
>doing this at work away from my scripts...)
>
>Thanks...
>Tyler
>--
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


-- 

Lingo / Director / Shockwave development for all occasions. 
  
   (Home-made Lingo cooked up fresh every day just for you.)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: delay 3*60 ¬ go next

2001-07-30 Thread R. Bhakti Klein

what's wrong with it? not getting a delay before the go next? not
getting a go next?

Tyler F Gamsby wrote:
> 
> I have a frame that has a script like this:
> 
> on exitFrame
>global gNarration
>global gTour
> 
>if gNarration=1 then play soundfile
> 
>if gTour=1 and soundbusy(3) = FALSE then
>  delay 3 * 60
>  go next
>end if
> 
>go loop
> end
> 
> Everything works fine, except the:
>delay 3 * 60
>go next
> 
> Is there a bug with delay in this instance, or am I just doing
> something wrong?  It is my understanding that delay will stop the
> playback head for the set amount of ticks, and then carry on... am I
> mistaken?
> 
> (I know that some of the script above might be broken, but I am doing
> this at work away from my scripts...)
> 
> Thanks...
> Tyler
> --
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]

-- 
R. Bhakti Klein
Instructional Media Developer, Distributed Learning Workshop
http://www.dlworkshop.net/
··
Baritone, Wicki6
http://www.wicki6.com
···
"On Earth, you can only do little things;
but you can do them with a lot of Love."
  -- Mother Theresa

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: V12's mGetSelection

2001-07-30 Thread Allan Evans

on 7/30/01 2:20 PM, Gene Fritzinger at [EMAIL PROTECTED]
wrote:

> Hi List,
> I'm using the section of code below to search for values of "3" in the
> PARENT01 field. I'm using mGetSelection to populate a field with the results.
> The problem is, it populates the field with all of the fields from the gTable.
> I only want to populate the field with the value in the "DESCRIPT" field. Can
> I still use mGetSelection or should I be using mGetField???
> 
> set gDB = 0
> set gTable = 0
> set gDB = new(XTRA "V12dbe", the moviePath & "GEO.v12", "ReadWrite", "top
> secret")
> CheckV12Error()
> set gTable = new(Xtra "V12table", mGetRef(gDB), "regmast")
> mSetCriteria(gTable, "PARENT01", "=", "3")
> mOrderBy(gTable, "PARENT01")
> mSelect(gTable)
> put mGetSelection(gTable, "LITERAL", 1, mSelectCount(gTable), ";", RETURN)
> into field "RegionSelectedGeographies"

In your mGetSelection line above, replace RETURN with "DESCRIPT" (w/quotes.)
(FYI, I found this answer on p. 13 of the V12 User Reference...)

HTH,

Allan

Allan Evans[EMAIL PROTECTED]
Multimedia Production and Programming
now serving greater Los Angeles. Really.
"No matter where you go, there you are." - BB


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: how do I get the QTmov to play all the way through?

2001-07-30 Thread Steffanie Grindle

Thanks Irv for the suggestion it worked.

Steffanie
-Original Message-
From: Irv Kalb <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, July 30, 2001 10:04 AM
Subject: Re:  how do I get the QTmov to play all the way through?


>Here's the code:
>
>property pDuration
>property spriteNum
>
>on beginSprite me
>   pDuration = sprite(spriteNum).member.duration  -- do this once!
>end
>
>on exitFrame
>   if sprite(spriteNum).movieTime < pDuration then
>  go to the frame
>   else
>  go to "Homepage"
>   end if
>end
>
>But instead of hard-coding the label to go to, you could generalize
>this by having a GetPropertyDescriptionList handler where you allow
>yourself to type in a label to go when the movie is finished playing.
>Then you could re-use this behavior in all places.
>
>Irv
>
>At 1:29 AM -0500 7/30/01, Steffanie Grindle wrote:
>>I am needing to know how to get the QT movie that I just imported into  my
>>dir. movie to play the entire way through before moving on to the next
>>marker.  I have already done this with 2 other QT files within this same
>>movie, but for some reason the same script won't work.  Here's what I have
>>used already:
>>on exitFrame
>>   if the movierate of sprite 2 = true then
>> go to the frame
>>   else
>> go to "Homepage"
>>   end if
>>end exit frame
>>
>>I don't know what else to do.  Any suggestions would be great.
>>
>>Thanks
>>Steffanie
>>
>>
>>[To remove yourself from this list, or to change to digest mode, go to
>>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>>Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>
>--
>
>Lingo / Director / Shockwave development for all occasions.
>
>   (Home-made Lingo cooked up fresh every day just for you.)
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: delay 3*60 ¬ go next

2001-07-30 Thread Tab Julius



Delay is a bit obsolete, if I recall.

If you want it to wait for 3 seconds you could just do this:

   endTime =the ticks + (60 * 3)
   repeat while the ticks < endTime
   end repeat

It's not the greatest idea to lock things up in a loop, and there are other 
ways to keep it on the same frame and keep things alive, looping with a 3 
second delay, but this is a quick way to pull it off, as long as you don't 
abuse it.

As an alternative, if you're using the score, and this is the last frame in 
a "scene" and the next frame is blank, you could put a tempo-frame delay of 
3 seconds in the next one, and just hop to the next one which will have the 
delay and then go on to the next marker, but I don't know how involved your 
project is.  In other words, instead of "go to next" do a:  go to the frame 
+ 1  and that frame has a delay before departing to the next marker.

- Tab


At 04:12 PM 7/30/01 -0500, Tyler F Gamsby wrote:
>I have a frame that has a script like this:
>
>on exitFrame
>   global gNarration
>   global gTour
>
>   if gNarration=1 then play soundfile
>
>   if gTour=1 and soundbusy(3) = FALSE then
> delay 3 * 60
> go next
>   end if
>
>   go loop
>end
>
>
>Everything works fine, except the:
>   delay 3 * 60
>   go next
>
>Is there a bug with delay in this instance, or am I just doing something 
>wrong?  It is my understanding that delay will stop the playback head for 
>the set amount of ticks, and then carry on... am I mistaken?
>
>(I know that some of the script above might be broken, but I am doing this 
>at work away from my scripts...)
>
>Thanks...
>Tyler
>--


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: keeping miaw in foreground always

2001-07-30 Thread nik crosina

i am still experimenting with different types, but as i explained in another rplyto 
the original post: i should have mentioned (sorry) that i am also using the pdf xtra 
which is a bit of an attention grabber: everytime the pdf on the main stage is clicked 
on the pop-up disappears...

will keep you posted,
thanks
nik



On Mon, 30 Jul 2001 10:21:27 -0700 Irv Kalb <[EMAIL PROTECTED]> wrote:
> What "windowType" are you using?  I am doing this type of thing on a 
> current project using a windowType = 49 (floating) and it working 
> fine in D8.5.
> 
> Irv
> 
> At 5:40 PM +0100 7/30/01, nik crosina wrote:
> >No i am using Director v8.5
> >I think it is naturall that a window becomes active when it is 
> >clicked on, so I can understand that my main stage is becoming the 
> >active window when clicked on. Only this covers up my pop-up which - 
> >even though not momentarily active - needs to be visible as it is to 
> >be used to navigate to the next / previous search result.
> >
> >Nik
> >
> >On Mon, 30 Jul 2001 12:35:07 -0400 Colin Holgate 
> ><[EMAIL PROTECTED]> wrote:
> >>  >As the main movie is full screen, after the window pops up and I
> >>  >click on the main movie, it disappears behind the main movie.
> >>  >
> >>  >Is there a way of preventing that and keeping the pop-up in the
> >>  >foreground until i specifically close it with 'close' or 'forget'?
> >>  >possibly without an xtra, as I am already using 2..
> >>
> >>  I think this was fixed in Director 7.02. Are you using 7.0?
> >>
> >>
> >>  --
> >>
> >>  [To remove yourself from this list, or to change to digest mode, go to
> >>  http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> >>  email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> >>  Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> >>
> >
> >[To remove yourself from this list, or to change to digest mode, go to
> >http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> >email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> >Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 
> 
> -- 
> 
> Lingo / Director / Shockwave development for all occasions. 
>   
>(Home-made Lingo cooked up fresh every day just for you.)
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: keeping miaw in foreground always

2001-07-30 Thread nik crosina

yes i know about this command,
added trouble - and i should have mentioned this earlier, excuse - one of the other 
xtras i am using is the pdf xtra. 

this becomes the active everytime it is clicked on; which people will do to scroll 
down and magnify the pdfs they view.

i set up a testbed withouth the pdf xtra and it works nicely" opening a  small pop up 
miaw in front of a full screen backdrop just means that htat the popupo is greyed out 
when it looses focus but it stays visible.

will keep you posted on this one, but would appreciate any further ideas

nik.





On Mon, 30 Jul 2001 15:04:46 -0400 Slava Paperno <[EMAIL PROTECTED]> wrote:
> Do you know about the moveToFront command?
> 
> At 01:21 PM 7/30/2001 -0400, you wrote:
> >At 05:40 PM 7/30/01 +0100, you wrote:
> >>No i am using Director v8.5
> >>I think it is naturall that a window becomes active when it is clicked 
> >>on, so I can understand that my main stage is becoming the active window 
> >>when clicked on. Only this covers up my pop-up which - even though not 
> >>momentarily active - needs to be visible as it is to be used to navigate 
> >>to the next / previous search result.
> >>
> >>Nik
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: setvariable FLASH - DIRECTOR

2001-07-30 Thread Kerry Thompson


>You need to make sure that the text field that is getting passed the
>variable has the font embedded.

There's something more than that going on. The font (the full range) is 
embedded.

It turns out that Windows 2000 is even worse--it doesn't matter if the 
album is open or not. The high ANSI characters get corrupted. The only way 
we can get them to display properly is by using charToNum().

Cordially,

Kerry Thompson


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: QUICKTIME TIMECODE

2001-07-30 Thread Ray Broussard

Is this what you need:

  currentMovieTime = sprite(gMyVideoSprite).movietime
  myFrameRate = 15  --this constant is your QT's frames per second
  put string( movieTimeToHMS(currentMovieTime,myFrameRate))


Ray Broussard
http://PhotographicVR.com

on 7/30/01 3:46 PM, Dominic Villiard at [EMAIL PROTECTED] wrote:
> does anybody knows if it's possible to have a timecode using quicktime in
> director 8.5
> and how can we control it?
> i can't anything on the macromedia web site


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: mpg files on cdrom

2001-07-30 Thread Robert Wingate

> thought I let you know that the DriectShow Xtra works really well

I'm guessing you mean DirectMediaXtra, as opposed to DirectShow Xtra.
OTOH if there is a DirectShow Xtra floating around somewhere, I'd love
to know about it.

I've also used DirectMediaXtra, and agree it rocks. Before Mark B. told
us, I didn't know it used DirectShow, although yep, it says so right
here:

http://xtras.tabuleiro.com/products/direct/whatis.htm

Thanx Nik
Rob

/*
* Rob Wingate, Software Human*
* http://www.vingage.com *
* mailto:[EMAIL PROTECTED] *
*/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: moving MIAW's

2001-07-30 Thread Buzz Kettles

MIAWs open at their own screen location -
to have them track the stage,when you move the stage, send tells to the MIAWs.

-Buzz

At 4:28 PM +0100 7/30/01, Paul Fletcher wrote:
>Hi guys,
>
>I have a small problem where MIAW's are concerned.  I have a main
>control movie - which opens center screen with a title bar, and
>several MIAW's that open above it.  These are called and the window
>positions and properties are then set.   Having just changed the
>setting of 'full screen' to 'show title bar' I find that you can move
>the main movie and the MIAW's stay in there set location.
>How will the rest of the MIAW's know the main movie has moved?  I
>thought they would automatically follow it's location?
>
>Any suggestions?
>
>Paul
>
>
>
>Past Forward Limited, England, UK
>mailto:[EMAIL PROTECTED]
>http://www.pastforward.co.uk/
>
>CONFIDENTIALITY AND DISCLAIMER NOTICE
>This email and any attachments are private and confidential.  It is 
>intended for the
>recipient only.  If you are not the intended recipient, any use, 
>disclosure, distribution,
>printing or copying of this email is unauthorised.  You must not 
>read, use or take any
>action in reliance on it.  If you have received this email in error 
>please notify the sender
>immediately by replying to this email and permanently delete the 
>email from your computer.
>
>The contents of any attachments to this e-mail may contain software 
>viruses which could
>damage your own computer system.  While we have taken every 
>reasonable precaution to
>minimise this risk, we cannot accept liability for any damage which 
>you sustain as a
>result of software viruses.  You should carry out your own virus 
>checks before opening
>any attachments.
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: QUICKTIME TIMECODE

2001-07-30 Thread Al Hospers

> does anybody knows if it's possible to have a timecode using
> quicktime in
> director 8.5
> and how can we control it?
> i can't anything on the macromedia web site

I don't know what you mean by Timedoce. are you talking about SMPTE or
the like? if so then this is likely something that you will not be
able to do in Director.

Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft.com

A famous linguist once said:
"There is no language wherein a double
positive can form a negative."

YEAH, RIGHT



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




V12's mGetSelection

2001-07-30 Thread Gene Fritzinger

Hi List,
I'm using the section of code below to search for values of "3" in the PARENT01 field. 
I'm using mGetSelection to populate a field with the results. The problem is, it 
populates the field with all of the fields from the gTable. I only want to populate 
the field with the value in the "DESCRIPT" field. Can I still use mGetSelection or 
should I be using mGetField???

set gDB = 0
set gTable = 0
set gDB = new(XTRA "V12dbe", the moviePath & "GEO.v12", "ReadWrite", "top secret")
CheckV12Error()
set gTable = new(Xtra "V12table", mGetRef(gDB), "regmast")
mSetCriteria(gTable, "PARENT01", "=", "3")
mOrderBy(gTable, "PARENT01")
mSelect(gTable)
put mGetSelection(gTable, "LITERAL", 1, mSelectCount(gTable), ";", RETURN) into field 
"RegionSelectedGeographies"

Thanks in advance,
g fritzinger


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: Exporting Image Files (Projector, not Shockwave)

2001-07-30 Thread Al Hospers

> I use FileXtra3 to export content.  I don't the link off hand but it
> shouldn't be too hard to find.  Try http://www.behaviors.com.

Bill,

you use FileXtra3 to export graphics files from Director? am I missing
something here? it certainly does a lot of stuff, but I didn't think
that was one of 'em.

Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft.com

A famous linguist once said:
"There is no language wherein a double
positive can form a negative."

YEAH, RIGHT



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




delay 3*60 ¬ go next

2001-07-30 Thread Tyler F Gamsby

I have a frame that has a script like this:

on exitFrame
   global gNarration
   global gTour

   if gNarration=1 then play soundfile

   if gTour=1 and soundbusy(3) = FALSE then
 delay 3 * 60
 go next
   end if

   go loop
end


Everything works fine, except the:
   delay 3 * 60
   go next

Is there a bug with delay in this instance, or am I just doing 
something wrong?  It is my understanding that delay will stop the 
playback head for the set amount of ticks, and then carry on... am I 
mistaken?

(I know that some of the script above might be broken, but I am doing 
this at work away from my scripts...)

Thanks...
Tyler
-- 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: action called on attaching behavior to sprite

2001-07-30 Thread Brennan Young


> But if the handler is called before the list is returned, then we don't have
> access to the properties, no??

You have access to the script, so theoretically, you could hide some data in
some property there with any of the authortime handlers (runPropertyDialog
being the most obvious choice). At runtime, the instance could query its
script using D8's 'script' property, or (cleaner) call a special 'static'
handler designed for this purpose.


-- example of inheriting 'static' values
property pocket
property myThing

on runPropertyDialog me -- only called once when running the dialog

  if ilk(pocket) <> #proplist then
pocket = [:]
  end if  

  setaprop pocket, #thing, "value" -- this should be more interesting really

  pass -- run dialog as normal
end

on beginsprite me

  myBytecodeClass = me.script
  v = getAprop(myBytecodeClass.pocket, #thing)

  if not voidP(v) then
myThing = v
  end if

end


I wrote an article about as exhaustive detail as I could stomach about
runPropertyDialog, which is up at DOUG. You can use it to create
author-level (as opposed to script-level) static variables shared by all
instances of a given behavior. Check it out.



Actually, this is part 2 of a series which begins with 



...so you should read that first.

> oh i didn't see that post of buzz's. that's interesting, although i
> don't see why it should have to call it twice.

It uses the first call to get the structure ( = GUI layout ) of the box, so
it know which widgets to use, with defaults if necessary, then the second
call to get the values selected by the author in the box.

The property dialog and its associated lingo are very strange beasts.

-- 
_

Brennan Young

Artist, Composer and Multimedia programmer

mailto:[EMAIL PROTECTED]

"The devotee believes that Krishna appears when his name is called. The guru
understands that Krishna appears in the spaces between the name calling."

-Swami Wassermann

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




QUICKTIME TIMECODE

2001-07-30 Thread Dominic Villiard

does anybody knows if it's possible to have a timecode using quicktime in
director 8.5
and how can we control it?
i can't anything on the macromedia web site

thanks





[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Populating a field based on values from a field in a V12DBE

2001-07-30 Thread Gene Fritzinger

Hi List,
I have a field member that is populated by a V12 file. The user can select one or more 
entries from this field and copy them to another field member. The selected entries 
can be identified by a unique identifier within a field in the V12 file (the field 
name in the DB is "Descript"). I need to repeat through the selected entries and read 
another field in the DB named "Geokey". and save those values as a variable. Then 
repeat through another entire table in the DB to select all thoses entries that have a 
value in another field equal to that of the variable, all those enties need to be put 
into another field member.
I'm not sure where to begin. I'm half tempted to create a property list of all the 
records in the V12 dbe but I can't help but to think, that is why I have V12 and I 
shouldn't need to create a property list basically duplicating the records in the 
V12dbe. Any idaes

Thanks,
g fritzinger


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Flash troubles

2001-07-30 Thread Sharon Moeller

I haven't done much flash in director but here's my question.

I have a flash file that times out to a specific beat of music.  When I 
bring that into Director there is about a 1 second delay between the audio 
and video finishing.  Is there any way to control that in Director so it 
times out a little bit better.  Don't worry I know I probably can't get it 
perfect.


Sharon Moeller


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: Exporting Image Files (Projector, not Shockwave)

2001-07-30 Thread Bill Numerick


>What solutions have people come up with for exporting an image file?
>
>Some things we've been looking into:
>
>DirectXport Xtra, RavWare Image Export Xtra, the JPEG Export Xtra in a
>movie with a *.DIR extention, an externally linked file that is changed and
>copied, etc.
>
>But this has to be a STABLE solution.
>
>Am I missing any obvious lingo solutions?


I use FileXtra3 to export content.  I don't the link off hand but it 
shouldn't be too hard to find.  Try http://www.behaviors.com.

HTH

- Bill

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: setvariable FLASH - DIRECTOR

2001-07-30 Thread the nightboy

>>i actually did :
>>if FlagSPGL = false then
>>setVariable(sprite 1,"OwnSPGL","x")
>>
>>but it still doesn't work... :(
>
>We've had some interesting experiences with setVariable--I don't know if
>this is relevant.
>
>Our Flash movie has a photo album that opens and closes. There's a variable
>we display on the cover--if we're in English, we display "My album." In
>Spanish, "Mi Álbum."
>
>If we pass the Spanish version while the album is closed--i.e., the cover
>is showing--it displays fine. If we set the variable while the album is
>open, and the cover isn't showing, Flash corrupts the variable. When the
>album closes, it says "Mi ‡lbum".
>
>So there seems to be some relationship, at least in high Ansi characters,
>between being visible at the time it is set or not.
>
>Cordially,
>
>Kerry Thompson
>
>

You need to make sure that the text field that is getting passed the
variable has the font embedded.


 Brian Douglas  (:ub)


I refuse to use code as a method to describe myself. instead, I will use
noises:

rant = [teewart/blamberDOH!!!/crrrleftnk/erop]

http://www.imaginarystudio.com --check it out!






[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: keeping miaw in foreground always

2001-07-30 Thread Slava Paperno

Do you know about the moveToFront command?

At 01:21 PM 7/30/2001 -0400, you wrote:
>At 05:40 PM 7/30/01 +0100, you wrote:
>>No i am using Director v8.5
>>I think it is naturall that a window becomes active when it is clicked 
>>on, so I can understand that my main stage is becoming the active window 
>>when clicked on. Only this covers up my pop-up which - even though not 
>>momentarily active - needs to be visible as it is to be used to navigate 
>>to the next / previous search result.
>>
>>Nik


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: Working with a list from XML

2001-07-30 Thread Robert Wingate

> The first attribute in a resulting list is the "ROOT OF XML DOCUMENT",

> and I can not access this attribute, because a comma is expected 
> between XML and DOCUMENT ??

First, you should take a look at the how-to here:

http://www.macromedia.com/support/director/internet/using_xml_parser_xtr
a/

The "Parser objects and XML nodes " section is of particular interest
here. You'll find where the docs explain the "ROOT OF XML DOCUMENT"
node.

> put XML_List.ROOT OF XML DOCUMENT.quiz

This syntax is incorrect -- spaces aren't allowed in dot-syntax
notation. Use XML_List[1] instead to refer to the root node.

If you want the 'quiz' attribute, try this:

put XML_List[1].quiz
-- ["!ATTRIBUTES": ["easy": "no way"], "!CHARDATA": "blablabla"]

You'll also notice that .quiz is a property list with two elements:

put XML_List[1].quiz.count
-- 2

put XML_List[1].quiz[1] -- OR put XML_List[1].quiz["!ATTRIBUTES"]
-- ["easy": "no way"]

put XML_List[1].quiz[2] -- OR put XML_List[1].quiz["!CHARDATA"]
-- "blablabla"

> put XML_List.getLast().quiz

You wouldn't want to use getLast(), since the position of elements could
change within your XML file before you're finished.

HTH
Rob

/*
* Rob Wingate, Software Human*
* http://www.vingage.com *
* mailto:[EMAIL PROTECTED] *
*/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: setvariable FLASH - DIRECTOR

2001-07-30 Thread Kerry Thompson


>i actually did :
>if FlagSPGL = false then
>setVariable(sprite 1,"OwnSPGL","x")
>
>but it still doesn't work... :(

We've had some interesting experiences with setVariable--I don't know if 
this is relevant.

Our Flash movie has a photo album that opens and closes. There's a variable 
we display on the cover--if we're in English, we display "My album." In 
Spanish, "Mi Álbum."

If we pass the Spanish version while the album is closed--i.e., the cover 
is showing--it displays fine. If we set the variable while the album is 
open, and the cover isn't showing, Flash corrupts the variable. When the 
album closes, it says "Mi ‡lbum".

So there seems to be some relationship, at least in high Ansi characters, 
between being visible at the time it is set or not.

Cordially,

Kerry Thompson


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Lingo gui dumping

2001-07-30 Thread Garman Herigstad


Is there a way in dump the entire (or parts of) director file to one big
lingo script that could be editied, used to rebuild call the casts,
properties, etc?

This would be similar to Houdini being able to dump an entire .hip file
using opscript.


-- 

__

Garman 
www.storycity.net/~Garbox

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: setvariable FLASH - DIRECTOR

2001-07-30 Thread Ray Broussard

> i'm sorry
> i didnt't write it down correctly
> 
> i actually did : 
> if FlagSPGL = false then
> setVariable(sprite 1,"OwnSPGL","x")
> 
> but it still doesn't work... :(
> 

That does look like it should work.

Ray Broussard
http://PhotographicVR.com


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: setvariable FLASH - DIRECTOR

2001-07-30 Thread the nightboy

>i'm sorry
>i didnt't write it down correctly
>
>i actually did :
>if FlagSPGL = false then
>setVariable(sprite 1,"OwnSPGL","x")
>
>but it still doesn't work... :(
>
I have not read the full thread, but flash refers to it's global variables
using _root.


 Brian Douglas  (:ub)


I refuse to use code as a method to describe myself. instead, I will use
noises:

rant = [teewart/blamberDOH!!!/crrrleftnk/erop]

http://www.imaginarystudio.com --check it out!






[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: RE: Tab's New Book (was: South Africa or something)

2001-07-30 Thread Kurt

>>> whatever you do, please don't loose that approach.
>> 
>> Gee, and Karina was so postive about the book...
> 
> ;p ;p ;p ;p ;p ;p ;p
> 
> I meant lose :)
> 
> It took me a while to see what you meant, and did I ever mention that
> English may not be my native tongue? :P
> 
> And BTW, it's "positive" ;>

No offence meant... I just thought it was a humorous typo.

-Kurt


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Exporting Image Files (Projector, not Shockwave)

2001-07-30 Thread Roy Crisman

What solutions have people come up with for exporting an image file?

Some things we've been looking into:

DirectXport Xtra, RavWare Image Export Xtra, the JPEG Export Xtra in a 
movie with a *.DIR extention, an externally linked file that is changed and 
copied, etc.

But this has to be a STABLE solution.

Am I missing any obvious lingo solutions?

roymeo
-
Roy Crisman
Senior Macromedia Programmer
(716)724-4054
[EMAIL PROTECTED]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: Lingo-L Digest V1 #2087

2001-07-30 Thread Adam Fletcher

Thankyou for your email.

Adam is out of the office until Tuesday 31st July.

He will reply to your email at the earliest convenience.

Have a good day!


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: Working with a list from XML

2001-07-30 Thread Watson, Christopher

Erik,

Congratulations. You have now experienced the abomination which is the
"makeList" method of the XMLParser Xtra. Now...forget it.

Instead, keep the XMLParser Xtra object around after creation and parsing,
and use the Lingo interface it provides to access the nodes in the document
tree. To access the value for the "easy" attribute of the  element,
you do this:

goXML = new(xtra "XMLParser")
goXML.parseString(lsMyXML)
lsAttrVal = goXML.child[1].attributeValue[1]

The first child of the XMLParser Xtra object is always the document element.
In this case, the  element. That child object has a list of attribute
names and values. It's an empty list if there are no attributes for the
element. In this case, the first item in those lists pertain to the first
attribute; attributeName[1] is the attribute's name ("easy"), and
attributeValue[1] is the attribute's value ("no way").

Using the dot-syntax Lingo interface from the Xtra is a whole heck of a lot
easier than trying to deal with the property list that the "makeList" method
returns.



In DOM-Lingo, you would go about it this way:

goDOMParser = new(script "DOM_Parser")
goDOMParser.parseString(lsMyXML)
lsAttrVal = goDOMParser.getDocument().getFirstChild().getAttribute("easy")



Christopher Watson
Sr. Software Engineer
Lightspan, Inc.


-Original Message-
From: Erik Phalet [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 5:43 AM
To: '[EMAIL PROTECTED]'
Subject:  Working with a list from XML


I want to use the xml Xtra in a project, with the makeList() method, and
just plain list-handling from there

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: mpg files on cdrom

2001-07-30 Thread Mark A. Boyd

At 06:45 30/07/2001, Robert Wingate wrote:
> > WMP is just an application that uses the DirectShow technology,
> > much like Tabuleiro's DirectMediaXtra
>
>Thanks Mark for calling me on this one. I don't mean to evangelize WMP
>or anything. There are good alternatives, and my experience with
>Tabuleiro Xtras or support has never been anything less than excellent.
>
>And I'm interested to learn that DirectMediaXtra & StreamingMediaXtra
>use DirectShow. Having done a couple of DirectShow-based console apps
>that I call from Director, I now wonder if I should've tried to do them
>as Xtras instead. Great -- now I'll be thinking about this all week!

Since you've already created the apps, you may not gain from it. I might 
throw in a teaser, though. DirectMediaXtra also allows you to add cuePoints 
to its cast members, even for file formats that don't support cuePoints. 
(Note that it doesn't add them to the files, just the cast members).

There are some other cool features with the Xtra, too, such as panning the 
audio and adjusting the cpuBoost for playback. It also does true full 
screen playback (not a stretched sprite). I wonder why the QT3 Asset Xtra 
still doesn't do full screen?

I'm not sure if those features are included with the StreamingMediaXtra, 
but they might be.



--
Mark A. Boyd
Keep-On-Learnin' :)


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: keeping miaw in foreground always

2001-07-30 Thread Roy Crisman

At 05:40 PM 7/30/01 +0100, you wrote:
>No i am using Director v8.5
>I think it is naturall that a window becomes active when it is clicked on, 
>so I can understand that my main stage is becoming the active window when 
>clicked on. Only this covers up my pop-up which - even though not 
>momentarily active - needs to be visible as it is to be used to navigate 
>to the next / previous search result.
>
>Nik


Check out the window types, Nik.  You can set a variety of window types, 
modal, etc.
"0  Movable, Sizable, No Zoom",
"1  Alert Box or Modal",\
"2  Plain Box, No Title",
"3  Plain Box w/Shadow, No Title",\
"4  Movable w/o Size or Zoom",
"5  Movable Modal",
"8  Standard Document",\
"12  Zoomable Non-Resizable",
"16  Rounded Corner",
"49  Floating Palette, Authoring"

Give those a try...I'm pretty sure one of them will keep the stage from 
coming to front.  I know what you are trying to do is possible...I've done 
things with several navigation panels that were MIAW's which sat on top of 
the stage the entire time.

roymeo


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: setvariable FLASH - DIRECTOR

2001-07-30 Thread Dominic Villiard

i'm sorry
i didnt't write it down correctly

i actually did : 
if FlagSPGL = false then 
setVariable(sprite 1,"OwnSPGL","x") 

but it still doesn't work... :(


- Original Message - 
From: Ray Broussard <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 12:17 PM
Subject: Re:  setvariable FLASH - DIRECTOR


> > if flagOBC = 1 then
> > setvariable(sprite 1, "X")
> 
> What are you setting the variable to? Try this syntax:
> 
> sprite(gMyFlashSprite).setVariable( "MyVariable_01", "0")
> 
> Ray Broussard
> http://PhotographicVR.com
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 
> 


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: keeping miaw in foreground always

2001-07-30 Thread Irv Kalb

What "windowType" are you using?  I am doing this type of thing on a 
current project using a windowType = 49 (floating) and it working 
fine in D8.5.

Irv

At 5:40 PM +0100 7/30/01, nik crosina wrote:
>No i am using Director v8.5
>I think it is naturall that a window becomes active when it is 
>clicked on, so I can understand that my main stage is becoming the 
>active window when clicked on. Only this covers up my pop-up which - 
>even though not momentarily active - needs to be visible as it is to 
>be used to navigate to the next / previous search result.
>
>Nik
>
>On Mon, 30 Jul 2001 12:35:07 -0400 Colin Holgate 
><[EMAIL PROTECTED]> wrote:
>>  >As the main movie is full screen, after the window pops up and I
>>  >click on the main movie, it disappears behind the main movie.
>>  >
>>  >Is there a way of preventing that and keeping the pop-up in the
>>  >foreground until i specifically close it with 'close' or 'forget'?
>>  >possibly without an xtra, as I am already using 2..
>>
>>  I think this was fixed in Director 7.02. Are you using 7.0?
>>
>>
>>  --
>>
>>  [To remove yourself from this list, or to change to digest mode, go to
>>  http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>>  email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>>  Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


-- 

Lingo / Director / Shockwave development for all occasions. 
  
   (Home-made Lingo cooked up fresh every day just for you.)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: RE: keeping miaw in foreground always

2001-07-30 Thread nik crosina

Thanks for the hint,
I will give that a try.

I am not so much worried about the technical issues as there is usually always a way 
to do what you want to do with a good or reasonabole performance. I ti s more the 
financial side my studio manager and axxount handler are worried about..

cheers,
Nik.

On Mon, 30 Jul 2001 09:43:02 -0700 "Morgan Bonar" <[EMAIL PROTECTED]> wrote:
> Try the Buddy API xtra... it is a great resource for this situation, as well
> as managing all open windows.
> Don't worry too much about using multiple xtras... I have had projects that
> use dozens of xtras, and havent seen any major performance issues.
> 
> Morgan
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> nik crosina
> Sent: Monday, July 30, 2001 9:29 AM
> To: [EMAIL PROTECTED]
> Subject:  keeping miaw in foreground always
> 
> Hi !
> 
> I am working on a CD-ROM that includes a littl epop-up window showing search
> results obtinae from a search across multiple pdf file.
> 
> As the main movie is full screen, after the window pops up and I click on
> the main movie, it disappears behind the main movie.
> 
> Is there a way of preventing that and keeping the pop-up in the foreground
> until i specifically close it with 'close' or 'forget'? possibly without an
> xtra, as I am already using 2..
> 
> Thanks guys,
> Nik
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: keeping miaw in foreground always

2001-07-30 Thread Morgan Bonar

Try the Buddy API xtra... it is a great resource for this situation, as well
as managing all open windows.
Don't worry too much about using multiple xtras... I have had projects that
use dozens of xtras, and havent seen any major performance issues.

Morgan


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
nik crosina
Sent: Monday, July 30, 2001 9:29 AM
To: [EMAIL PROTECTED]
Subject:  keeping miaw in foreground always

Hi !

I am working on a CD-ROM that includes a littl epop-up window showing search
results obtinae from a search across multiple pdf file.

As the main movie is full screen, after the window pops up and I click on
the main movie, it disappears behind the main movie.

Is there a way of preventing that and keeping the pop-up in the foreground
until i specifically close it with 'close' or 'forget'? possibly without an
xtra, as I am already using 2..

Thanks guys,
Nik

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: moving MIAW's

2001-07-30 Thread nik crosina

hi,

you could calculate the relation ship between the main stages coordinates and the 
miaws coordinates and then once the stage moves, you jus thave to keep this 
relationship intact (ie if the main stage mves 5 px to right and down, then so have 
your miaws to move..)

nik

On Mon, 30 Jul 2001 16:28:07 +0100 Paul Fletcher <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> I have a small problem where MIAW's are concerned.  I have a main 
> control movie - which opens center screen with a title bar, and 
> several MIAW's that open above it.  These are called and the window 
> positions and properties are then set.   Having just changed the 
> setting of 'full screen' to 'show title bar' I find that you can move 
> the main movie and the MIAW's stay in there set location. 
> How will the rest of the MIAW's know the main movie has moved?  I 
> thought they would automatically follow it's location?
> 
> Any suggestions?
> 
> Paul
> 
> 
> 
> Past Forward Limited, England, UK
> mailto:[EMAIL PROTECTED]
> http://www.pastforward.co.uk/
> 
> CONFIDENTIALITY AND DISCLAIMER NOTICE
> This email and any attachments are private and confidential.  It is intended for the
> recipient only.  If you are not the intended recipient, any use, disclosure, 
>distribution,
> printing or copying of this email is unauthorised.  You must not read, use or take 
>any
> action in reliance on it.  If you have received this email in error please notify 
>the sender
> immediately by replying to this email and permanently delete the email from your 
>computer.
> 
> The contents of any attachments to this e-mail may contain software viruses which 
>could 
> damage your own computer system.  While we have taken every reasonable precaution to 
> minimise this risk, we cannot accept liability for any damage which you sustain as a 
> result of software viruses.  You should carry out your own virus checks before 
>opening
> any attachments.
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




moving MIAW's

2001-07-30 Thread Paul Fletcher

Hi guys,

I have a small problem where MIAW's are concerned.  I have a main 
control movie - which opens center screen with a title bar, and 
several MIAW's that open above it.  These are called and the window 
positions and properties are then set.   Having just changed the 
setting of 'full screen' to 'show title bar' I find that you can move 
the main movie and the MIAW's stay in there set location. 
How will the rest of the MIAW's know the main movie has moved?  I 
thought they would automatically follow it's location?

Any suggestions?

Paul



Past Forward Limited, England, UK
mailto:[EMAIL PROTECTED]
http://www.pastforward.co.uk/

CONFIDENTIALITY AND DISCLAIMER NOTICE
This email and any attachments are private and confidential.  It is intended for the
recipient only.  If you are not the intended recipient, any use, disclosure, 
distribution,
printing or copying of this email is unauthorised.  You must not read, use or take any
action in reliance on it.  If you have received this email in error please notify the 
sender
immediately by replying to this email and permanently delete the email from your 
computer.

The contents of any attachments to this e-mail may contain software viruses which 
could 
damage your own computer system.  While we have taken every reasonable precaution to 
minimise this risk, we cannot accept liability for any damage which you sustain as a 
result of software viruses.  You should carry out your own virus checks before opening
any attachments.

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: keeping miaw in foreground always

2001-07-30 Thread nik crosina

No i am using Director v8.5
I think it is naturall that a window becomes active when it is clicked on, so I can 
understand that my main stage is becoming the active window when clicked on. Only this 
covers up my pop-up which - even though not momentarily active - needs to be visible 
as it is to be used to navigate to the next / previous search result.

Nik

On Mon, 30 Jul 2001 12:35:07 -0400 Colin Holgate <[EMAIL PROTECTED]> wrote:
> >As the main movie is full screen, after the window pops up and I 
> >click on the main movie, it disappears behind the main movie.
> >
> >Is there a way of preventing that and keeping the pop-up in the 
> >foreground until i specifically close it with 'close' or 'forget'? 
> >possibly without an xtra, as I am already using 2..
> 
> I think this was fixed in Director 7.02. Are you using 7.0?
> 
> 
> -- 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: keeping miaw in foreground always

2001-07-30 Thread Colin Holgate

>As the main movie is full screen, after the window pops up and I 
>click on the main movie, it disappears behind the main movie.
>
>Is there a way of preventing that and keeping the pop-up in the 
>foreground until i specifically close it with 'close' or 'forget'? 
>possibly without an xtra, as I am already using 2..

I think this was fixed in Director 7.02. Are you using 7.0?


-- 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




keeping miaw in foreground always

2001-07-30 Thread nik crosina

Hi !

I am working on a CD-ROM that includes a littl epop-up window showing search results 
obtinae from a search across multiple pdf file.

As the main movie is full screen, after the window pops up and I click on the main 
movie, it disappears behind the main movie.

Is there a way of preventing that and keeping the pop-up in the foreground until i 
specifically close it with 'close' or 'forget'? possibly without an xtra, as I am 
already using 2..

Thanks guys,
Nik

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: setvariable FLASH - DIRECTOR

2001-07-30 Thread Ray Broussard

> if flagOBC = 1 then
> setvariable(sprite 1, "X")

What are you setting the variable to? Try this syntax:

sprite(gMyFlashSprite).setVariable( "MyVariable_01", "0")

Ray Broussard
http://PhotographicVR.com


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: Re: Directmedia CpuBoost setting

2001-07-30 Thread Mark A. Boyd

At 06:56 30/07/2001, Ravi Garimella wrote:
>Hi All,
>I want to set up all my DirectMEdia cast members CPUBOOST to 50. The only 
>problem is that i cannot check it because my media is being loaded from 
>the CDROM. I want to find out if the below code will set the CPUBOOST to 
>50 of all the DirectMedia Cast members.

I'm certain I replied to this somewhere else. See if my reply in that forum 
helped.



--
Mark A. Boyd
Keep-On-Learnin' :)


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




setvariable FLASH - DIRECTOR

2001-07-30 Thread Dominic Villiard

is it normal that setvariable doesn't work with flash 5 and director 8.5???

i have a flash movie on sprite 1
the name of the variable in the flash movie and the director is the same

if flagOBC = 1 then
setvariable(sprite 1, "X")

getvariable works but not setvariable

any solutions??
thanks



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: action called on attaching behavior to sprite

2001-07-30 Thread Morgan Bonar

I like your ideas, but unfortunately, I do need to have access to the
properties for the action to function properly.
I tired "isOKToAttach", but again I don't have the props. set yet...
Is there some place after the list is returned (so that we have access to
the props.) that an action can be called??

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
LePhuronn
Sent: Friday, July 27, 2001 7:27 PM
To: [EMAIL PROTECTED]
Subject: Re:  action called on attaching behavior to sprite

I actually used this feature in one of my uni projects not so long ago - an
interactive tutorial system then talks between Director in authroing mode
and MIAWs.

The only way I could get the routines I wanted to run ONCE was to call them
from the "isOKToAttach" handler, although this may cause some erratic
behaviour if you're cropping images through Lingo - it was fine for me to
send messages around, but actual sprite manipulation might mess things up.

Give it a try though...

Thinking about it, are you wanting to set any properties for the crop or
not? If it's fully automated then I think the "RunPropertyDialog" handler
only runs the once and runs before "GetPropertyDescriptionList" if it
exists.

LePhuronn


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: action called on attaching behavior to sprite

2001-07-30 Thread Morgan Bonar

But if the handler is called before the list is returned, then we don't have
access to the properties, no??

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
R. Bhakti Klein
Sent: Friday, July 27, 2001 6:36 PM
To: [EMAIL PROTECTED]
Subject: Re:  action called on attaching behavior to sprite

oh i didn't see that post of buzz's. that's interesting, although i
don't see why it should have to call it twice. anyhoo, yes setting a
boolean property the first time is a fine and dandy workaround...
-bh

Kerry Thompson wrote:
>
> >Does anybody know the way to call a handler as soon as a behavior is
> >attached(after getPropertyDescriptionList has been initialized) to a
sprite
> >in authoring?
>
> I think Buzz Kettles posted something about this the other day. If I
> remember right, he said that GPDL is called twice--once to put up the
> dialog, and again when you finish.
>
> Maybe you could check to see if the properties have been set, then call
> your handler. I haven't tried it, but it's an idea.
>
> Cordially,
>
> Kerry Thompson
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]

--
R. Bhakti Klein
Instructional Media Developer, Distributed Learning Workshop
http://www.dlworkshop.net/
··
Baritone, Wicki6
http://www.wicki6.com
···
"On Earth, you can only do little things;
but you can do them with a lot of Love."
  -- Mother Theresa

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Q: Word automation - can we do this ?

2001-07-30 Thread Yvan Caron (Alphatek)

Hi,

I have sent this post to the other director list DIRECT-L but I
thought it would be more appropriate to send it to this list.
Sorry for those of you that have already read it.

***

Has anyone ever tried to automate MS Word from a Director script ?

In other words, can we create a Word object in Lingo and then invoke a method from 
this object to open a Word document to execute a Word Macro command ?

Basically, I need to create something similar to this in Lingo:

1) create a Word object
2) Specify a path to a word document
3) Open a document
4) Execute a macro command

(this is a VBScript handler hosted inside an HyperText Application
that does exactly what I would like to do with Lingo)


Word automation from VBScript

  


Sub InvokeMacro()
   Dim oWord
   'oWord represents the MS Word application
   Set oWord = CreateObject("Word.Application")
   with oWord

 .Visible = True
 .ChangeFileOpenDirectory "C:\WINDOWS\Desktop\"
 .Documents.Open "Doc1.doc"
 .Run "Project.VBAModule.myMacro"
 
   end with
end Sub






  
  
   
 




Can we do this on both platforms PC/MAC with Director ?

Any comments would be greatly appreciated.

-Yvan
Alphatek inc.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: RESEND - creating a handler that executes on every frame

2001-07-30 Thread Kendall Anderson

Charlie Fiskeaux II wrote:
 
> Will you please respond to what I actually said instead of what you think I said?  
> I didn't say that using the actor list was too hard or even hard.  Overall, it's 
> pretty easy.  What I said was that it was too much trouble; in other words, it's 
> not worth the trouble to use it for this project.  I don't need that particular > 
>functionality that badly.  

Whoa.. easy.. relax. I suppose this is why a few of us responded with
the actorlist - it's an easy way to globally receive frame events
without requiring a sprite. Additionally it's very easy to slide into
any existing project regardless of whether it's score/timeline-based or
programming-based. I'm confused as to why it's any trouble whatsoever,
or what extra functionality is not required of it - it does simply that
which you asked for.

> I just figured out another easier way to do it.

So what was the easier way?


Kendall.

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: how do I get the QTmov to play all the way through?

2001-07-30 Thread Irv Kalb

Here's the code:

property pDuration
property spriteNum

on beginSprite me
   pDuration = sprite(spriteNum).member.duration  -- do this once!
end

on exitFrame
   if sprite(spriteNum).movieTime < pDuration then
  go to the frame
   else
  go to "Homepage"
   end if
end

But instead of hard-coding the label to go to, you could generalize 
this by having a GetPropertyDescriptionList handler where you allow 
yourself to type in a label to go when the movie is finished playing. 
Then you could re-use this behavior in all places.

Irv

At 1:29 AM -0500 7/30/01, Steffanie Grindle wrote:
>I am needing to know how to get the QT movie that I just imported into  my
>dir. movie to play the entire way through before moving on to the next
>marker.  I have already done this with 2 other QT files within this same
>movie, but for some reason the same script won't work.  Here's what I have
>used already:
>on exitFrame
>   if the movierate of sprite 2 = true then
> go to the frame
>   else
> go to "Homepage"
>   end if
>end exit frame
>
>I don't know what else to do.  Any suggestions would be great.
>
>Thanks
>Steffanie
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


-- 

Lingo / Director / Shockwave development for all occasions. 
  
   (Home-made Lingo cooked up fresh every day just for you.)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: OT Video and Matrox G300 Video Capture Card

2001-07-30 Thread Bastien Bouchard

> At the same time will it be a fair assumption that there might some third
> party software that might get around the problem???

I am not shure... SCMS protection could be hardware implemented. Try by
yourself and let us know...

Bastien Bouchard
Logique multimédia
[EMAIL PROTECTED]
>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: RESEND - creating a handler that executes on every frame

2001-07-30 Thread Charlie Fiskeaux II

Will you please respond to what I actually said instead of what you think I said?  I 
didn't say that using the actor list was too
hard or even hard.  Overall, it's pretty easy.  What I said was that it was too much 
trouble; in other words, it's not worth the
trouble to use it for this project.  I don't need that particular functionality that 
badly.  I just figured out another easier way
to do it.

Charlie Fiskeaux II
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883


- Original Message -
From: "Terry R. Schussler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 28, 2001 10:30 PM
Subject: Re:  RESEND - creating a handler that executes on every frame


At 3:29 PM -0400 7/27/01, Charlie Fiskeaux II wrote:
>yes, it is too much trouble to use the actorlist.  But I can't only use
>the dummy sprite method either, because then the enterFrame
>handler would never get passed to the frame scripts.  The only thing I
>have found that helps is to use the pass method which passes
>the event message on up the hierarchy to the next in line.

Charlie:

Too much trouble? Really?

-- Parent script "frameTrapper"

on stepFrame
  -- your code here
end stepFrame

-- Movie script handler

on prepareMovie
  (the actorList).add( (script "frameTrapper").rawNew() )
end prepareMovie

Regards,
--

...---===|  Terry R. Schussler  |===---...
...---===|  Chief Investigator  |===---...

on visitWebsite yourSelection
 coolSites = [ \
   #advancedSeminars : "http://www.macromediaSEMINARS.com/";, \
   #directorUniversity: "http://www.directorU.com";, \
   #multiuserUniversity: "http://www.multiuserU.com";, \
   #flashUniversity: "http://www.flash5U.com";, \
   #dreamweaverUniversity: "http://www.dreamweaverU.com";, \
   #freeBehaviors : "http://www.behaviors.com/";]
 gotoNetPage coolSites[yourSelection]
end visitWebsite


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: how do I get the QTmov to play all the way through?

2001-07-30 Thread Charlie Fiskeaux II

the movieRate property isn't true or false; it's a number.  Standard speed is 1, 
double speed is 2, half speed is 0.5, etc.  (you
can even go negative to -1, -2, -0.5, etc.)  You'll need to use the movieTime property 
of the QT to test for its end.  (The easiest
way to find out the movieTime property (called duration in the properties tab) is to 
change the properties tab to list view and then
it's down at the bottom.)

Charlie Fiskeaux II
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883


- Original Message -
From: "Steffanie Grindle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 2:29 AM
Subject:  how do I get the QTmov to play all the way through?


I am needing to know how to get the QT movie that I just imported into  my
dir. movie to play the entire way through before moving on to the next
marker.  I have already done this with 2 other QT files within this same
movie, but for some reason the same script won't work.  Here's what I have
used already:
on exitFrame
  if the movierate of sprite 2 = true then
go to the frame
  else
go to "Homepage"
  end if
end exit frame

I don't know what else to do.  Any suggestions would be great.

Thanks
Steffanie


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: RE: mpg files on cdrom

2001-07-30 Thread nik crosina

Hi Rob,

just saw teh post below and thought I let you know that the DriectShow Xtra works 
really well and does have all the controls you need for most projects involving dig 
video files. I just completed a show reel for a big advertising company with it and it 
worked without a hitch!

Cheers,
Nik Crosina


On Mon, 30 Jul 2001 09:45:25 -0400 "Robert Wingate" <[EMAIL PROTECTED]> wrote:
> > WMP is just an application that uses the DirectShow technology, 
> > much like Tabuleiro's DirectMediaXtra
> 
> Thanks Mark for calling me on this one. I don't mean to evangelize WMP
> or anything. There are good alternatives, and my experience with
> Tabuleiro Xtras or support has never been anything less than excellent.
> 
> And I'm interested to learn that DirectMediaXtra & StreamingMediaXtra
> use DirectShow. Having done a couple of DirectShow-based console apps
> that I call from Director, I now wonder if I should've tried to do them
> as Xtras instead. Great -- now I'll be thinking about this all week!
> 
> Rob
> 
> /*
> * Rob Wingate, Software Human*
> * http://www.vingage.com *
> * mailto:[EMAIL PROTECTED] *
> */
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: Re: Directmedia CpuBoost setting

2001-07-30 Thread Ravi Garimella

Hi All,
I want to set up all my DirectMEdia cast members CPUBOOST to 50. The only 
problem is that i cannot check it because my media is being loaded from the 
CDROM. I want to find out if the below code will set the CPUBOOST to 50 of 
all the DirectMedia Cast members.

Thanks in advance

Ravi


on searchDirectMember me
  directmedialist = []
  maxCastLib = the number of castLibs
  repeat with theCastLib = 1 to maxCastLib
maxMember = the number of members of castLib theCastLib
repeat with memberNumber = 1 to maxMember
  theMember = member(memberNumber, theCastLib)
  if theMember.type = #TBDIRECTMEDIA then
set the cpuboost of theMember to 50
  end if
end repeat
  end repeat
  return directmedialist
end



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: mpg files on cdrom

2001-07-30 Thread Robert Wingate

> WMP is just an application that uses the DirectShow technology, 
> much like Tabuleiro's DirectMediaXtra

Thanks Mark for calling me on this one. I don't mean to evangelize WMP
or anything. There are good alternatives, and my experience with
Tabuleiro Xtras or support has never been anything less than excellent.

And I'm interested to learn that DirectMediaXtra & StreamingMediaXtra
use DirectShow. Having done a couple of DirectShow-based console apps
that I call from Director, I now wonder if I should've tried to do them
as Xtras instead. Great -- now I'll be thinking about this all week!

Rob

/*
* Rob Wingate, Software Human*
* http://www.vingage.com *
* mailto:[EMAIL PROTECTED] *
*/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Working with a list from XML

2001-07-30 Thread Erik Phalet

hello all,

I want to use the xml Xtra in a project, with the makeList() method, and
just plain list-handling from there.
The first attribute in a resulting list is the "ROOT OF XML DOCUMENT", and I
can not access this attribute, because a comma is expected between XML and
DOCUMENT ?? Can somebody explain to me what is happening / why ?
I think it has something to do with the spaces in the attribute's name, or
lingo recognising XML as a lingo term or something.
I am using director 8.0 on windows.
For now, I made a workaround using getLast().

To track the problem, I used the following XML file:


blablabla

After parsing & makeList(), I could do the following in the message window:

XML_List = ["ROOT OF XML DOCUMENT": ["!ATTRIBUTES": [:], "quiz":
["!ATTRIBUTES": ["easy": "no way"], "!CHARDATA": "blablabla"]]]

put XML_List.ROOT OF XML DOCUMENT.quiz

//This produces following script error: comma expected - put XML_List.ROOT
OF XML? DOCUMENT//

put XML_List.getLast().quiz
-- ["!ATTRIBUTES": ["easy": "no way"], "!CHARDATA": "blablabla"]

XML_List_2 = ["ROOT_OF_XML_DOCUMENT": ["!ATTRIBUTES": [:], "quiz":
["!ATTRIBUTES": ["easy": "no way"], "!CHARDATA": "blablabla"]]]

put XML_List_2.ROOT_OF_XML_DOCUMENT.quiz
-- ["!ATTRIBUTES": ["easy": "no way"], "!CHARDATA": "blablabla"]

sincerely,

Erik Phalet

mailto:[EMAIL PROTECTED]
+32/15/28 73 00

Option Facilities nv
Zandvoortstraat 8, 2800 Mechelen
Belgium

#&*^#($@&%#* computer! Do what I want, not what I tell you! 



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




lingo-l@penworks.com

2001-07-30 Thread Joris

Hi all,

has anyone ever had problems with playing large/long media files ?
They seem to stop/stutter after a while.  especial Real media  and  .mp3 files

tested on both mac and windows ...


greetz J.

-- 

Joris Sewandono ReloadMedia

Tel:+31.6.24235496
mail:   [EMAIL PROTECTED] http://www.siroj.net
[EMAIL PROTECTED] http://www.jamby.net


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: Tab's New Book (was: South Africa or something)

2001-07-30 Thread Karina Steffens

>
> > whatever you do, please don't loose that approach.
>
> Gee, and Karina was so postive about the book...

;p ;p ;p ;p ;p ;p ;p

I meant lose :)

It took me a while to see what you meant, and did I ever mention that
English may not be my native tongue? :P

And BTW, it's "positive" ;>

Karina



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]