> > Oops, Kerry. You can play MPEG beautifully in DfW without an Xtra.
> > Assuming we're talking about 3rd-party Xtras here -- since Director's
> > QuickTime support comes via Xtras -- you can embed a Windows Media
> > Player ActiveX control in your app, for example. This uses ActiveX.x32,
> > which also ships with Director.
>
> Wow, how exactly do you do that?  I thougth Director could'nt use WMP?
> Could you give more details?
>

Insert>Control>ActiveX

>From there scroll down and choose the Windows Media Player control and click
OK.

You will get another dialog box from which you can view various
properties/methods/events for your WMP control. You can set your properties
in this dialog box or you can use lingo to do the same. For now click OK and
you will see your ActiveX WMP control in your cast.

Drag the ActiveX WMP control to your score or stage and attach the following
lingo to it:

--------------------------------------------------
on beginSprite me

  sprite(me.spriteNum).clickToPlay = FALSE

  sprite(me.spriteNum).enableContextMenu = FALSE

  sprite(me.spriteNum).open( myVideoFilePath )

end beginSprite
--------------------------------------------------

myVideoFilePath should be the absolute or relative file path to your MPG
file.

This is just a small snippet of what you can do, just to get you up and
running. Somebody recently posted a URL on one of the Director mailing list
that talks about ActiveX in more detail at UpdateStage.com:

http://www.updatestage.com/previous/980701.html#item3

This should give you more than enough info to get you on your way.

Hasta...

ck


[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!]

Reply via email to