Hi, i read somewhere that i can put an animated avi movie into a dialog using the MDX.dll, so upon following the tutorial i made the following code.
alias mdx_fullpath { return $+(",C:\Program Files\MDXStudio\MDX.DLL,") }
alias mdx { dll $mdx_fullpath $1- }
alias mdxinit {
dll $mdx_fullpath SetMircVersion $version
dll $mdx_fullpath MarkDialog $dname
}
dialog anim1 {
size -1 -1 313 203
title "Dialog"
button "positioner",1001,0 0 0 0
button "OK",1,3 5 60 30, ok
button "",2,4 34 300 160
text "A bunch of text",3,63 6 173 17
}
on *:dialog:anim1:init:0:{
mdxinit
mdx SetControlMDX $dname 1001 positioner minbox > C:\Program Files\MDXStudio\dialog.mdx
}
on *:dialog:anim1:init:0:{
mdxinit
did -a anim1 2 open $scriptdir $+ test.avi
did -a anim1 2 play
}
I read that you needed a button placing in the dialog for the avi movie, so i have done that.
I did everything right, and put the test.avi into the scripts folder, along with this script, issued the /dialog -m anim1 anim1 command and i get the dilaog but no test.avi anywhere, could somebody please help me and tell me where i`m going wrong ?
btw the test.avi movie plays fine in my movie viewer, but not in the dialog
ShadowDemon
mIRC V6.03