09-06-2009, 03:38 AM
Here is my advice
PUT PLAYLIST I DIALOG
1 Get the Stand Alone URL
2 Make a Web Browser in the Dialog
3 Put The Playlist In It
STOPPING IT
lets say he id of the web browser is 5
make something like this
str stopmusic = "www.google.com"
stopmusic.setwintext(id(5 hDlg))
Try that and let me know
Here is an your example i made that is kind of like making a new webpage appear so the OLD one(the playlist) will go away
Function Dialog82
PUT PLAYLIST I DIALOG
1 Get the Stand Alone URL
2 Make a Web Browser in the Dialog
3 Put The Playlist In It
STOPPING IT
lets say he id of the web browser is 5
make something like this
str stopmusic = "www.google.com"
stopmusic.setwintext(id(5 hDlg))
Try that and let me know
Here is an your example i made that is kind of like making a new webpage appear so the OLD one(the playlist) will go away
Function Dialog82
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "3"
str ax3SHD
ax3SHD=
;<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"> <object width="435" height="270"> <param name="movie" value="http://www.profileplaylist.net/mc/mp3player_new.swf"></param> <param name="allowscriptaccess" value="never"></param> <param name="wmode" value="transparent"></param> <param name="flashvars" value="config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black.xml&mywidth=435&myheight=270&playlist_url=http%3A%2F%2Fwww.indimusic.us%2Floadplaylist.php%3Fplaylist%3D69581931%26t%3D1252146333&wid=os"></param> <embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player_new.swf" flashvars="config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black.xml&mywidth=435&myheight=270&playlist_url=http://www.indimusic.us/loadplaylist.php?playlist=69581931&t=1252146333&wid=os" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" border="0"/> </object> <br/> <a href="http://www.profileplaylist.net"><img src="http://www.profileplaylist.net/mc/images/create_black.jpg" border="0" alt="Get a playlist!"/></a> <a href="http://www.mysocialgroup.com/standalone/69581931" target="_blank"><img src="http://www.profileplaylist.net/mc/images/launch_black.jpg" border="0" alt="Standalone player"/></a> <a href="http://www.mysocialgroup.com/download/69581931"><img src="http://www.profileplaylist.net/mc/images/get_black.jpg" border="0" alt="Get Ringtones"/></a> </div>
if(!ShowDialog("Dialog82" &Dialog82 &controls)) ret
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 344 200 "Dialog"
;1 Button 0x54030001 0x4 246 164 48 14 "OK"
;2 Button 0x54030000 0x4 244 182 48 14 "Cancel"
;3 ActiveX 0x54030000 0x0 20 10 282 122 "SHDocVw.WebBrowser"
;4 Button 0x54032000 0x0 30 144 76 38 "Stop Music"
;END DIALOG
;DIALOG EDITOR: "" 0x2030108 "*" "" ""
ret
;messages
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,
,case 4
,str stopmusic = "www.google.com"
,stopmusic.setwintext(id(3 hDlg))
,
,
,case IDOK
,case IDCANCEL
ret 1