Sound Message

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
Mille
Art Contributor
Posts: 350
Joined: May 6th, 2006, 11:48 am
Location: Germany

Sound Message

Post by Mille »

Is there a way in WML to output a sound or ogg while displaying a message?
toms
Posts: 1717
Joined: November 6th, 2005, 2:15 pm

Post by toms »

Try simply add a [sound] tag after the message. I think it works, because when the message arrives, the sound starts immediatly after the message, faster than it can be clicked away if you read it. (and if you don´t, you don´t need the effects ;) )
First read, then think. Read again, think again. And then post!
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

I think it would make more sense to put the [sound] just before the [message]...although I haven't tried putting it after. I don't see how it could work that way, but of course that doesn't mean it can't.
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

Actually, as the wiki says, you can just use a sound= key directly in a [message].
toms
Posts: 1717
Joined: November 6th, 2005, 2:15 pm

Post by toms »

zookeeper wrote:Actually, as the wiki says, you can just use a sound= key directly in a [message].
If the sound= key becomes sound=_, that means translateable, it would end a very long discussion.
First read, then think. Read again, think again. And then post!
Post Reply