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, 11:18 am
|
|
Dec 27 2005, 12:08 pm
|
|
iframes are used to display a HTML file not a value. You'd need to dynamically generate HTML to display at runtime.
|
In response to Nadrew
|
|
And I would do that.... how?
|
In response to Derekjeterisgod
|
|
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. |
In response to Nadrew
|
|
Gee, thanks. Lol, I'll reply with the correct html if I ever figure it out...
|
In response to Derekjeterisgod
|
|
Play(A as file) 2 errors, missing left-hand argument to < on both can you hint me? |
In response to Derekjeterisgod
|
|
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>")
|
In response to Nadrew
|
|
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. |
In response to Derekjeterisgod
|
|
Please look things up before attempting to use them, you need to specify who you're displaying the window to:
usr << browse("Your html")
|
In response to Nadrew
|
|
LMAO, oops.... I feel dumb right now.
|