[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Where is a bug?
- From: <stukov@...>
- Date: Mon, 16 May 2005 20:51:52 -0000
Hello all!
Windows has ActiveX component MediaPlayer which implements IMediaPlayer interface.
So if i'l write javascript code:
var player = new ActiveXObject("MediaPlayer.MediaPlayer")
player.FilePath="somefile.mp3"
player.Play()
, that works fine.
But the same code in Lua rise error:
local player=luacom.CreateObject("MediaPlayer.MediaPlayer")
player:AboutBox() -- ok
player.FilePath="somefile.mp3" --ok
player:Play() -- error
LuaCom ver 1.3
Lua 5.1 work5
____________________________________________________________
Бесплатная почтовая служба Gala Mail - http://mail.gala.net/
WEB, WAP и POP3 доступ, мощные фильтры и защита от спама.