Code:
Play(A as file)
if(A) usr<IFRAME: [A]")
Problem description:
Brings me to cannot find server page instead of playing the song!
</<browse>
ID:145744
![]() Dec 27 2005, 12:18 pm
|
|
![]() Dec 27 2005, 1:08 pm
|
|
iframes are used to display a HTML file not a value. You'd need to dynamically generate HTML to display at runtime.
|
The browse() proc lets you display any HTML you want in the browser, all you have to do is know which HTML is used to play a sound file, then you just need to display that HTML using browse(). I'm not up to date on how you play sounds using HTML (never had to) but I'm sure there are tons of websites explaining how, after that it's just a matter of:
browse("<html><whatever_html_you_use_for_sound_here></longtag></html>")
Note: This is just an example, I leave figuring out the details to you. |
Play(A as file) 2 errors, missing left-hand argument to < on both can you hint me? |
Take the quotation marks from around the "[A]" and put them after the ( and before the )
browse("<HTML>Hello [src]!</HTML>") If you still want to use quotation marks in your HTML you need to escape them:
browse("<HTML><font color=\"blue\">Blue text!</font></HTML>")
|
Play(A as file) warning: statement has no effect browse :warning: unused label The verb just lets me select a file now, its pointless though. |
Please look things up before attempting to use them, you need to specify who you're displaying the window to:
usr << browse("Your html")
|