PDA

View Full Version : Hide WMP object on autoplay start



feign3
03-31-2003, 05:22 PM
I was using an AVI object in a project where I had it hide when the autoplay cd started (to show a cool transparent 'movie screen' behind it), but when I changed the object to a WMP movie, the same method doesn't work. It only hides when I click stop.

I'm using the following method:

On Stop
MediaPlayerObject[AVI1].Stop
Page.HideObject("AVI1")

I suppose there is another way to do this but as far as I can remember, it worked with my AVI object before.

eric_darling
03-31-2003, 08:13 PM
Are you sure you named the media player object "AVI1"? Perhaps you had scripted, then changed from AVI to Media Player Object, then encountered the error because you did not assign the previously used title for the Media Player Object.