I'm creatng a new script for media monkey which embeds an html page inside a dockable panel. Inside which is embedded a fullframe flash file.
however, I do have a focus issue that's only occuring in Media monkey.
if I open the html page in Internet Explorer or Firefox, I can have any other program in focus, but when I rollover flash in the browser window.. everything reacts accordingly and when I click, flash reacts as if it was in focus already (eg. does the onPress or onRelease commands).
however, in Mediamonkey, if I have focus in the tracklist or in the playlist or in the tree, my first click on the flash file will not do anything... though strangely enough.. the onRollover actions still work - (if I hold it down it will actually think that the mouse isn't even within the flash window anymore).
this problem is making the advanced useability controls that I'm including too difficult to use.
perhaps it is the way the window is created?
below is the code I'm using to create the panel and html window:
Dim path : path = SDB.IniFile.StringValue("PrettyPictures","FilePath")
if Pnl.IsNew then
Pnl.DockedTo = 3
Pnl.Common.Height = 200
Pnl.Caption = "PrettyPictures"
Dim HtmlPnl : Set HtmlPnl = UI.NewActiveX(Pnl, "Shell.Explorer")
HtmlPnl.Common.Align = 5
HtmlPnl.Interf.Navigate path &"FlashPage.html"
SDB.Objects("PrettyPicturesPanel") = Pnl
Set Mnu = SDB.UI.AddMenuItem(SDB.UI.Menu_View,1,-1)
Mnu.Caption = "PrettyPictures Panel"
Mnu.shortcut = "Ctrl+Shift+a"
Mnu.Checked = Pnl.Common.Visible
Script.RegisterEvent Pnl, "OnClose", "PnlClose"
Script.RegisterEvent Mnu, "OnClick", "ShowPanel"
also... it's interesting to note that if I open another program and have that in focus.. if I click directly from the other program into flash within mediamonkey.. it reacts 'correctly'... the problem is only seen if the focus is different "within" mediamonkey...
anyone have any idea if I'm doing anything wrong or if there's a work around.. or if it's an issue only the dev's are able to address in a future release?