Page 1 of 1

nyx sound help

Posted: Wed Jan 16, 2013 8:03 pm
by tom13
I am putting together my first flash tease using the nyx editor, which is going pretty well, except for adding sound files. I have imported the MP3 files, and have been using the hidden:sound('xxx.mp3'), code to insert it on the page.
Example:
page14#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Stroke that beautiful cock to the beat. I want you nice and worked up for what I have planned.</FONT></P></TEXTFORMAT>',
pic("09-1.jpg"),
delay(30sec, page15#),
hidden:sound('100bpm.mp3'),
);

The page functions correctly, and the sound plays just fine in preview, but after saving and closing the editor and coming back to it later, the sound file lines are all gone and of course the sound doesn't play on any of the pages. Is anyone able to see what I am doing wrong and willing to help or had a similar problem and have a fix? I appreciate any advice for a noob trying to stumble thru the code. :-/

Re: nyx sound help

Posted: Wed Jan 16, 2013 10:11 pm
by SexualChoc
There is an entire forum on Nyx
and all the tricks to it
but I see a problem with your Coding.. it will not work as you have it and the error is Small..
http://www.milovana.com/forum/posting.p ... =2&p=17910
is where I found the help.
page14#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Stroke that beautiful cock to the beat. I want you nice and worked up for what I have planned.</FONT></P></TEXTFORMAT>',
pic("09-1.jpg"),
delay(30sec, page15#),
hidden:sound('100bpm.mp3'), :arrow2:
);
the Last comma (the red one should not be there!!
code needs to end ) );

Re: nyx sound help

Posted: Wed Jan 16, 2013 10:43 pm
by Sexytimes 5
Make sure you don't edit anything with the visual editor after entering the sound into the script. That's usually what causes the sound commands to be deleted from the script. I always open the script tab to preview a tease or edit it in any way after entering the sound lines. Hope this is the issue in your case so it's easy to fix and avoid in the future. If not you might be dealing with a nyx bug. I hope not! :wave:

If you like or need to use the visual editor just finish the whole tease before going back and entering all the sounds last and save on the script tab when finished.

Re: nyx sound help

Posted: Thu Jan 17, 2013 12:59 am
by tom13
Thank you SexualChoc and Sexytimes 5! I will follow your advice, and hope that it sticks this time! I appreciate your help. (Also thank you Sexytimes for the example, you taught me that I can loop the sound file from it! Good stuff.)
-Tom

Re: nyx sound help

Posted: Thu Jan 17, 2013 10:39 am
by Sexytimes 5
Hey tom13. Nyx ignores that loop command and will only play the mp3 one time. You have to use extra pages or timers that target the same page to replay the files. No need to have loops included. I don't include that anymore since it doesn't work. :wave: