Nyx(Flash Tease Editor) Tips and Tricks

All about the past, current and future webteases and the art of webteasing in general.
---
Myasnik
Curious Newbie
Curious Newbie
Posts: 2
Joined: Tue Jan 03, 2012 3:38 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by Myasnik »

rob204 wrote: Tue Apr 25, 2017 3:57 am So just go into the script editor, change it to delay(random(10, 20), page1#) and never use the visual editor again.
It is working, thank you.
User avatar
lolol2
Explorer At Heart
Explorer At Heart
Posts: 507
Joined: Mon Feb 20, 2017 10:33 am
Gender: Male
Sexual Orientation: Straight

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by lolol2 »

Is there a way to combine the random page generator with custom buttons?

Like this command which is randomly going to a page between 101 - 105.

Code: Select all

go(range(101,105,'page'))
But I want to have an own description on the button not the "Continue" or even put more than one button on the page.
I expected it is as easy as with the delay action but the code below is not working.

Code: Select all

buttons(range(101,105,'page'),"Custom text")
Any ideas?
My creations:
Spoiler: show

[Tutorial] Building your own DIY E-Stim Stereo Device

Videos:
06/2020 - Estim Sync Hero Vol. 01

Teases:
04/2020 - Estim Mansion under Quarantine
12/2019 - Estim Challenge
12/2018 - Estim Distraction
03/2018 - The Estim Tower - Endless Mode
01/2018 - The Estim Tower
05/2017 - The Estim Mansion
User avatar
Sissy Elise
Explorer At Heart
Explorer At Heart
Posts: 307
Joined: Sat Oct 10, 2015 1:52 pm
Gender: Femboy
Sexual Orientation: Open to new ideas!
I am a: Submissive
Dom/me(s): Miss Tress

Preloading Images

Post by Sissy Elise »

With Nyx if you need a page to show a page for 1 second only and require that page to show a picture, you can always use a preloader at the start of your tease to cache all the images so they show for that 1 second.

to create a preloader use something like this:

preload1#page(
'<P ALIGN="LEFT">PreLoading.</P>',
pic("picname1.jpg"),
delay(0.1sec, preload2#,style:hidden)
);

and cycle through the images quickly

Here is a html /javascript page I created to make 1 of my preloaders quickly: Download zip
  
TEASES   VIDEOS   GAMES   ART
💕  Latest Tease:    Rock Paper Scissors - Visual Game
📼  Latest vids:      Sissy Trainer 22     🆕

Image
User avatar
Sissy Elise
Explorer At Heart
Explorer At Heart
Posts: 307
Joined: Sat Oct 10, 2015 1:52 pm
Gender: Femboy
Sexual Orientation: Open to new ideas!
I am a: Submissive
Dom/me(s): Miss Tress

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by Sissy Elise »

lolol2 wrote: Wed May 24, 2017 6:26 pm Is there a way to combine the random page generator with custom buttons?

Like this command which is randomly going to a page between 101 - 105.

Code: Select all

go(range(101,105,'page'))
But I want to have an own description on the button not the "Continue" or even put more than one button on the page.
I expected it is as easy as with the delay action but the code below is not working.

Code: Select all

buttons(range(101,105,'page'),"Custom text")
Any ideas?
I'm hitting the same problem, The work around I am going to use is to use a button to goto a page with a 0.1 second delayed range on it
  
TEASES   VIDEOS   GAMES   ART
💕  Latest Tease:    Rock Paper Scissors - Visual Game
📼  Latest vids:      Sissy Trainer 22     🆕

Image
rob204
Explorer
Explorer
Posts: 87
Joined: Mon Dec 09, 2013 3:26 am
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by rob204 »

Sissy Elise wrote: Sun Jun 04, 2017 1:27 pm I'm hitting the same problem
Yes, I think it is supposed to work but the resulting syntax is too complex for the parser. I assume the buttons actually work but somehow the media loader goes berserk over the crippled mediainfo or something and they stay hidden.

When you put something like

Code: Select all

buttons(range(2,3), "next page")
into start# then metainfo will contain a line like

Code: Select all

start#2,3,range(from:2,to:3
and then the media loader assumes that there are 4 possible following pages for start#:
  • 2#
  • 3#
  • range(from:2#
  • to:3#
User avatar
Sissy Elise
Explorer At Heart
Explorer At Heart
Posts: 307
Joined: Sat Oct 10, 2015 1:52 pm
Gender: Femboy
Sexual Orientation: Open to new ideas!
I am a: Submissive
Dom/me(s): Miss Tress

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by Sissy Elise »

Is it possible to center align swf files in nyx when using img tags? :huh:
  
TEASES   VIDEOS   GAMES   ART
💕  Latest Tease:    Rock Paper Scissors - Visual Game
📼  Latest vids:      Sissy Trainer 22     🆕

Image
rob204
Explorer
Explorer
Posts: 87
Joined: Mon Dec 09, 2013 3:26 am
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by rob204 »

Sissy Elise wrote: Sun Jul 16, 2017 6:36 pm Is it possible to center align swf files in nyx when using img tags? :huh:
Apparently there's like no way at all to align images in flash textfields at all.

You could use the hspace attribute to move the image manually. But that wouldn't work with different window sizes.

I thought by using the horiz command you should be able to put the image into the center third. But it would still look weird and I couldn't make it it work anyways.

I think your best bet is by creating an swf that center aligns its content itself and then make its width="100%".
User avatar
Sissy Elise
Explorer At Heart
Explorer At Heart
Posts: 307
Joined: Sat Oct 10, 2015 1:52 pm
Gender: Femboy
Sexual Orientation: Open to new ideas!
I am a: Submissive
Dom/me(s): Miss Tress

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by Sissy Elise »

Thank you rob, I tried horiz and couldn't get it to work and tried putting it inside a paragraph with a center align and no joy there either.

The swf files I was wanting to use are already hosted on another site, I didnt really want to have to host them myself), so I think I will try and use hspace even though it may look weird on some screens
  
TEASES   VIDEOS   GAMES   ART
💕  Latest Tease:    Rock Paper Scissors - Visual Game
📼  Latest vids:      Sissy Trainer 22     🆕

Image
edgeallday
Explorer At Heart
Explorer At Heart
Posts: 207
Joined: Thu Sep 13, 2012 8:51 am
Gender: Transsexual/Transgender
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): Jillian

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by edgeallday »

I noticed in the original post the set command examples have the # sign before the page number like this:

Code: Select all

3#page('Set page one and unset page 2', pic("*"), mult( set(#1), unset(#2), go(start#)) );
Maybe I'm just crazy but I can't get it working that way at all. The way it works for me is with the # sign after the page name like:

Code: Select all

3#page('Set page one and unset page 2', pic("*"), mult( set(1#), unset(2#), go(start#)) );
TrashDick
Explorer
Explorer
Posts: 41
Joined: Sun May 07, 2017 5:35 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by TrashDick »

Is there any way for the tease to remember something?
For instance, when the button to go to a certain page is pressed, could a variable be set and then checked for later?

I really would like to implement a "choose a button to set currency amount" page at the start of my tease. Is that just beyond Nyx?
Archive of full-sized pictures that I've used in my teases:
Pussy-Free Archive: (For those who aren't allowed to see pussies)
http://imgur.com/a/qnzuv
Pussy-Visible Archive: (All pics that show pussy)
http://imgur.com/a/k5XeA
SkyHill
Explorer
Explorer
Posts: 20
Joined: Wed Jan 06, 2016 11:01 pm

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by SkyHill »

TrashDick wrote: Mon Nov 06, 2017 2:08 am Is there any way for the tease to remember something?
For instance, when the button to go to a certain page is pressed, could a variable be set and then checked for later?

I really would like to implement a "choose a button to set currency amount" page at the start of my tease. Is that just beyond Nyx?
You can use the range command with numbered pages, in combination with the set and unset command. Set marks a page as viewed, where as unset marks a page as not viewed. The range command can be used to pick a random page out of a set of numbered pages, but it will not pick any page that is viewed. So by using the set and unset commands, you can control which pages the range command will pick.

Code: Select all

start#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Start.</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
go(optionsStart#)
);

optionsStart#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Set default option to 1 and Redirect to menu</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
mult(
set(2#),
goto(menu#)
)
);

menu#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Menu.</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
buttons(options#, "Change Option", optionCheck#, "Check Option")
);

options#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Pick an option.</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
buttons(option1#, "Option 1", option2#, "Option 2")
);

option1Selected#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Option 1 was selected.</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
go(menu#)
);

option2Selected#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Option 2 was selected.</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
go(menu#)
);

option1#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Apply option 1 and redirect to menu</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
mult(
unset(1#),
set(2#),
goto(menu#)
)
);

option2#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Apply option 2 and redirect to menu</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
mult(
unset(2#),
set(1#),
goto(menu#)
)
);

1#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Redirect to option1Selected</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
mult(
unset(1#),
goto(option1Selected#)
)
);

2#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Redirect to option2Selected</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
mult(
unset(2#),
goto(option2Selected#)
)
);

optionCheck#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Redirect to 1 or 2</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
goto(range(1, 2, "page"))
);
This could have been done with less pages, but I wrote it this way so that any page that is going to be viewed by the player, can be edited in the visual tab. Also, if you view a page that got a range command and then save, it will add # after the range command which will break it.

If you want another example, please check out the quiz script generator in a tool I'm working on: https://milovana.com/forum/viewtopic.php?f=2&t=20288
TrashDick
Explorer
Explorer
Posts: 41
Joined: Sun May 07, 2017 5:35 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by TrashDick »

Does anyone know what the optimal size range for a picture is in regards to Nyx?
I'm having trouble with my images turning out pixelated and blurry when Nyx displays the tease, I can't seem to pinpoint the size that it wants the image to be. Nyx always ends up re-sizing it to its preferred size and pixelating the crap out of it.


SkyHill wrote: Mon Nov 06, 2017 5:53 am
Thanks for the feedback. That won't work for my purposes unfortunately, but it's helpful information to have access to none-the-less.
Archive of full-sized pictures that I've used in my teases:
Pussy-Free Archive: (For those who aren't allowed to see pussies)
http://imgur.com/a/qnzuv
Pussy-Visible Archive: (All pics that show pussy)
http://imgur.com/a/k5XeA
User avatar
lolol2
Explorer At Heart
Explorer At Heart
Posts: 507
Joined: Mon Feb 20, 2017 10:33 am
Gender: Male
Sexual Orientation: Straight

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by lolol2 »

The first post with the examples for the random stuff is a bit outaded, took me a while to find how it is really working, so I will share it, maybe someone else is trying to get this work. ;-)

First:
The numactionsfrom() and numactions() functions are not working or I have no idea how to get them work but the function must() and mostnot() have nearly the same features.


The most important thing... the functions have to be placed outside the pages in the first rows of your tease!
You can add multiple functions.
Here is a short example for how you can create a range command with one page that can only be triggered when the others have been displayed before.

In this example page 1 and 2 have to be displayed before page 3 can be shown.
The command is very easy to use and can have endless pages.
must(self#,page1#,page2#,page3#,pageN#);

Of course you have to reload the tease everytime you try this to reset the flags.
The set and unset commands are still valid and work like posted in the first post.

Code: Select all

must(3#,1#,2#);

start#page(
'start',
pic("*.jpg"),
go(range(1,3,'page'))
);


1#page('1',
pic("*.jpg"),
go(start#));
    

2#page('2',
pic("*.jpg"),
go(start#));


3#page('3',
pic("*.jpg"),
go(start#));
);
My creations:
Spoiler: show

[Tutorial] Building your own DIY E-Stim Stereo Device

Videos:
06/2020 - Estim Sync Hero Vol. 01

Teases:
04/2020 - Estim Mansion under Quarantine
12/2019 - Estim Challenge
12/2018 - Estim Distraction
03/2018 - The Estim Tower - Endless Mode
01/2018 - The Estim Tower
05/2017 - The Estim Mansion
User avatar
Sissy Elise
Explorer At Heart
Explorer At Heart
Posts: 307
Joined: Sat Oct 10, 2015 1:52 pm
Gender: Femboy
Sexual Orientation: Open to new ideas!
I am a: Submissive
Dom/me(s): Miss Tress

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by Sissy Elise »

lolol2 wrote: Mon Feb 12, 2018 5:03 pm The numactionsfrom() and numactions() functions are not working or I have no idea how to get them work but the function must() and mostnot() have nearly the same features.
Here is a working example of numactionsfrom()

Code: Select all

start#page('Page 1 will only show after Page 2 and 3 have been shown.',
pic("*"),
go(range(1,3,'page'))
);

1#page('This page shows up if range generated a 1',
pic("*"),
mult(
numactionsfrom(1#,2#,1),              
go(start#));
);
    
2#page('This page shows up if range generated a 2',
pic("*"),
go(start#));

3#page('This page shows up if range generated a 3',
pic("*"),
go(start#));
The reason they don't work in greens example is that he has added a comment which makes it fail.

numactions() is slightly different and has to be placed before all other script eg:

Code: Select all

numactions(1#,2);

start#page('Page 1 will only show after Page 2 and 3 have been shown.',
pic("*"),
go(range(1,3,'page'))
);

1#page('This page shows up if range generated a 1',
pic("*"),            
go(start#));

2#page('This page shows up if range generated a 2',
pic("*"),
go(start#));

3#page('This page shows up if range generated a 3',
pic("*"),
go(start#));
  
TEASES   VIDEOS   GAMES   ART
💕  Latest Tease:    Rock Paper Scissors - Visual Game
📼  Latest vids:      Sissy Trainer 22     🆕

Image
jake_slave
Curious Newbie
Curious Newbie
Posts: 4
Joined: Thu Sep 15, 2011 12:59 pm

Re: Nyx(Flash Tease Editor) Tips and Tricks

Post by jake_slave »

Hi,

I'm creating a webtease and I tried adding the 'sound' feature to it, including the with the code used, but every time I save the file, the script keeps removing the sound... and I have no clue what I can do to avoid it.

Basically, how do I add sound?

Also, can a webtease be complete, but not published? Can I create a flashtease for my personal use only? Or do I need to make it public to be able to view it?
Post Reply

Who is online

Users browsing this forum: letsplay and 43 guests