i have a question about dialog boxes

doan sephim ive been through the tutorials and have no problem with adding views to my dialog boxes...(btw the tutorials are excellent!)...but in any event, i dont know how to set the views in motion there. ive tried to discover it by checking out the dying sequence because that view is animated, but i think i confused myself more than i found anything helpful.
again, if this is a dumb question with a readily available answer in some obvious place, im sorry and i would love to be directed there...here is something like what i have coded:
(if(Said('talk/man'))
(if(< (send gEgo:distanceTo(aMan)) 40)
Print(
"Well hello!"
#title "Titan Says:"
#icon 4 0 0
)
thanks!
doan
Robin_Gravel If you're talking about an animated view in the window box,
sci0 might not support animated view in the window box.

sci1 or sci vga support animated view in the window box.

Peharps with a good scripting, you can do it with sci0 too.


Robin Gravel
doan sephim im pretty sure it is possible because the death icon from the the samples is an animated view in a dialog box (i suppose they are really called "windows" huh?)
but anyways, thanks!
doan
Brian_Provinciano Dialog boxes are a form of Window, yes, but there are many other types both in SCI, Microsoft Windows, and others.

Anyway, look in the death script, it's got all the info you'll need for animated icons in dialogs.
doan sephim "ive tried to discover it by checking out the dying sequence because that view is animated, but i think i confused myself more than i found anything helpful."

i dont mean to go on, but i did take your advice before you gave it...i prolly need to be more exact when i write. i wouldnt bother you very smart people unless i tried all methods i could, because i know you all have better things to do than answer (i take it) basic questions from some (it should seem) fellow just getting into object oriented scripting...im simply dumbfounded on this one.
thanks
doan
cloudee1 O.k. I'll help a little,
Brian likes for people to find the answers themselves. So I won't ruin that for him, but look through the scripts you'll find one named "Dying" and in this script it starts off like this...

(instance public DyingScript of Script
(properties)
(method (changeState newState)
   (var mbResult, message)
   = state newState
   (if(== state 0)
      ProgramControl()
      (send gTheMusic:fade())
      (send gRoom:setScript(0))
      Load(rsSOUND 2)
      = seconds 3
   )(else
    (if(== state 1)
      (send gTheSoundFX:stop())
      (send gTheMusic:
      number(2)
      loop(1)
      priority(-1)
      play()
    )


The answer is in there.