Page 1 of 1

Adding Sound

Posted: Mon Oct 15, 2012 2:00 am
by Dotti
I am having a very difficult time adding sound to my flash tease. I have tried EVERYTHING and have scoured the forums here. When I cut and paste scripts it still doesn't work. If I put the script in manually, it throws everything else off and my pictures don't cycle forward and I STILL don't have sound. I have even tried 2 different sound bytes. I just want a simple metronome beat. For example, this would be the first script I would want sound added:

page6#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">I think this library is getting hotter and hotter and I notice you have started to stroke your cock. That&apos;s it, stroke that cock nice and slow.</FONT></P></TEXTFORMAT>',
pic("aria-amor-glasses-no-tattoos-pornstar-shaved-striptease-thin-6.jpg"),
vert(buttons(page7#, "more please"),delay(1min, page7#)go(page7#))
);

I have added hidden:sound(id:'080-bpm.mp3') under the last line (not );but the line before that)

Please, if anyone can tell me what may be going wrong I would love the input.

Re: Adding Sound

Posted: Mon Oct 15, 2012 3:25 am
by Quiet Linda
The sound barrier,
when anyone figures out how to make this work, I will celebrate.

Re: Adding Sound

Posted: Mon Oct 15, 2012 6:45 am
by philo
You are more likely to get an answer if you post in the art of webteasing, rather than here

page6#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">I think this library is getting hotter and hotter and I notice you have started to stroke your cock. That&apos;s it, stroke that cock nice and slow.</FONT></P></TEXTFORMAT>',
pic("aria-amor-glasses-no-tattoos-pornstar-shaved-striptease-thin-6.jpg"),
vert(buttons(page7#, "more please"),delay(1min, page7#),go(page7#),hidden:sound(id:'080-bpm.mp3'))
);

Try the above with a comma between the delay and the go button and the sound within the brackets for the vert element.

I am posting from my tablet so can't double check my answer but I think that should work.

Re: Adding Sound

Posted: Mon Oct 15, 2012 7:44 am
by Venus
I don't know if Philo's solution works, but for me this code works fine:

Code: Select all

 page6#page('TEXT',pic("aria-amor-glasses-no-tattoos-pornstar-shaved-striptease-thin-6.jpg"),vert(buttons(page7#, "more please"),delay(1min, page7#),go(page7#)),hidden:sound(id:'080-bpm.mp3')); 
The sound statement is in the last line and not within the "vert"-statement.

I'm just curious. Why are there two Buttons each one points to the same page? :-)

Re: Adding Sound

Posted: Mon Oct 15, 2012 8:50 am
by Nezhul
first of all, you don't actually need vert() there.
Second, every paraneter (every line, if you please) is divided by comma.

Code: Select all

page6#page('TEXT'[color=#BF0000],[/color]pic("aria-amor-glasses-no-tattoos-pornstar-shaved-striptease-thin-6.jpg")[color=#FF0000],[/color]vert([color=#8000FF]buttons(page7#, "more please")[/color],delay(1min, page7#)[color=#FF0000],[/color][color=#8000FF]go(page7#)[/color])[color=#FF0000],[/color]hidden:sound(id:'080-bpm.mp3'));
Also, why do you have both buttons(), which is custom button with your text on it, and go(), which is a standart continue button, on the same page? You need only one of the two. You don't need both because the compiler is bound to trip on it.
All in all, you code should look like:

Code: Select all

page6#page('TEXT',pic("aria-amor-glasses-no-tattoos-pornstar-shaved-striptease-thin-6.jpg"),buttons(page7#, "more please"),delay(1min, page7#),hidden:sound(id:'080-bpm.mp3'));
Everything except the last line will be created using visual editor. Then, when you are done, you open the script editor, find your page and add the last line, and don't forget that comma after the delay line. Note, that due to nyx being a kind of monstrousity, it will remove any lines it doesn't have things for in visual view, IF you browse the page in visual view. So after adding a sound - save the tease and publish it without viewing anything in visual editor.