Flash Teases

All about the past, current and future webteases and the art of webteasing in general.
---
Miss_Lisa
Explorer
Explorer
Posts: 47
Joined: Mon Dec 03, 2007 3:50 pm

Flash Teases

Post by Miss_Lisa »

Hey everyone...anybody know how to make a random ending in the flash editor? i can get it to go from page to page, but i want to press a button and make the following page a random choice of a few outcomes.

can anyone help?

Thankyou boys!

x x x
User avatar
Little Miss Jay
Experimentor
Experimentor
Posts: 6264
Joined: Sat Mar 22, 2008 9:34 pm
Gender: Female
Sexual Orientation: Straight
I am a: Domme (Female)
Location: South/West England

Re: Flash Teases

Post by Little Miss Jay »

Good question Miss Lisa,

I wanted to do that on my last flash tease but couldn't see how to do it! So it would be really helpful to know if it is possible! :smile:

Little Miss Jay x
deathby.curiosity
Explorer
Explorer
Posts: 98
Joined: Sun Mar 22, 2009 8:32 pm

Re: Flash Teases

Post by deathby.curiosity »

I wish I could say I figured this out myself, but I don't have much experience with Nyx. However, I did a wee bit of research and came up with this post:

http://www.milovana.com/forum/viewtopic ... ing#p21335

Should explain well enough... obviously this means you'll have to dabble in scripting, which you may or may not be terribly comfortable with.

From how I understand it, you would just create a "continue" button, then go into the script and change it to be:

Code: Select all

go(range(1,5))
Like texturedshroom says though, that would mean the random pages you want to choose from would be numbered 1-5.

I could also be totally off about this, but from my limited coding experience sure makes sense to me.
User avatar
Little Miss Jay
Experimentor
Experimentor
Posts: 6264
Joined: Sat Mar 22, 2008 9:34 pm
Gender: Female
Sexual Orientation: Straight
I am a: Domme (Female)
Location: South/West England

Re: Flash Teases

Post by Little Miss Jay »

Thanks for the reply Curiosity, I'll give it a go next time I want a random ending ;-)

Little Miss Jay x
deathby.curiosity
Explorer
Explorer
Posts: 98
Joined: Sun Mar 22, 2009 8:32 pm

Re: Flash Teases

Post by deathby.curiosity »

You're very welcome!

I tried making a quick test tease.. but it seems the buttons don't work in the preview? ... maybe just my browser?

Plus, solving problems is fun for me.. I love a good puzzle (which is all coding is imho)!
User avatar
all2true
Explorer At Heart
Explorer At Heart
Posts: 753
Joined: Fri Feb 08, 2008 3:42 pm
Gender: Male
Sexual Orientation: Straight
I am a: Slave
Dom/me(s): Looking for a dom/domme
Sub/Slave(s): I am a subby!
Location: Midwest USA

Re: Flash Teases

Post by all2true »

random pages in a flashtease is a lot of work
You HAVE to work in Nyx coding
you have to know several things.
A. using the random fuction works only Once, you also have to include a reset fuction if you
want to do a random page more than once (see my Flashtease Stoker's Challanged)
http://www.milovana.com/webteases/showflash.php?id=4218

B. You can not have more than 2 options when doing random pages
by that I mean you can NOT have a page with 3 buttons.

I am including the code from Stroker's Challange to help you with this.

Code: Select all

page8#page(
'<TEXTFORMAT ....   KERNING="0">hit the edge botton ONLY when you hit the edge.</FONT></P></TEXTFORMAT>',
pic("141cn3.jpg"),
delay(30sec, range(1,3))
);

1#page(
'<TEXTFORMAT LEADING="2>   ...   </TEXTFORMAT>',
pic("2*.jpg"),
buttons(page12#, "Edge"),
delay(32sec, range(1,3),style:secret),
hidden:mult(sound('45bps-30s.mp3'), unset(1#))
);

Please note the UNSET code after the page is needed
if you have a page that will be hit more than once by a random function
also the hidden sound now must include the Multi fuction if you are using the Unset feature
If you have any questions PM me.
For help actually working with the Script, Seraph was very helpful for me.
or PM the script.
User avatar
cumhardy
Experimentor
Experimentor
Posts: 1145
Joined: Wed May 28, 2008 10:54 pm
Gender: Male
I am a: None of the above
Location: UK

Re: Flash Teases

Post by cumhardy »

im kinda new to it but managed to do some random stuff. its not too hard once you get the code.
some advice:

I found it easier to name the random pages '#1,#2,#3' etc instead of '#page1,#page2,#page3'. just makes things simpler (in my mind).

also do as much as you can in the visual editor before you mess around with the script.
If you change something in the script and go back into visual editor, I find it adds some extra #'s into the script and messes it up.

Make sure you copy all the script into a text file incase you mess it up later.

When you change the script and try to preview it, sometimes it doesnt work till you have cleared your internet history/temp internet files. I dunno why.

Itys not too hard to put randomness into nyx. Im a complete novice and it sounds a lot harder than it is.

when i did it i used the post from texturedshroom where he showed the code to one of his teases. i copied the random script and pasted it into my own. easy
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Flash Teases

Post by avatarbr »

One tip:

Build all what you need in Visual Editor. Only after that, go to the Nyx code (you can copy and use a text editor, like notepad, then paste in nyx again).

In my experience, when you edit in Nyx Code and back to the Visual Editor, it´s mess all your code.
User avatar
slave alexander
Experimentor
Experimentor
Posts: 5059
Joined: Sun Jul 15, 2007 3:45 pm
Location: sophisticated & sunny SE England

Re: Flash Teases

Post by slave alexander »

My head hurts :-P
Image
User avatar
cumhardy
Experimentor
Experimentor
Posts: 1145
Joined: Wed May 28, 2008 10:54 pm
Gender: Male
I am a: None of the above
Location: UK

Re: Flash Teases

Post by cumhardy »

slave alexander wrote:My head hurts :-P
Lol! Btw, slave alexander I know you were asking about making multiple paths in teases. You dont need to know all this stuff to do that in a flashtease. Its really easy to use the editor, this is just for random outcomes. To make multiple paths you dont even need to edit the script.
User avatar
slave alexander
Experimentor
Experimentor
Posts: 5059
Joined: Sun Jul 15, 2007 3:45 pm
Location: sophisticated & sunny SE England

Re: Flash Teases

Post by slave alexander »

cumhardy wrote:
slave alexander wrote:My head hurts :-P
Lol! Btw, slave alexander I know you were asking about making multiple paths in teases. You dont need to know all this stuff to do that in a flashtease. Its really easy to use the editor, this is just for random outcomes. To make multiple paths you dont even need to edit the script.
Thanks cumhardy by the way are you red or blue, I`ll pm you anyway with a funny story!!
Image
User avatar
cumhardy
Experimentor
Experimentor
Posts: 1145
Joined: Wed May 28, 2008 10:54 pm
Gender: Male
I am a: None of the above
Location: UK

Re: Flash Teases

Post by cumhardy »

Neither! Ive only lived in manchester for a couple years and im getting stereotyped already :P lol
User avatar
slave alexander
Experimentor
Experimentor
Posts: 5059
Joined: Sun Jul 15, 2007 3:45 pm
Location: sophisticated & sunny SE England

Re: Flash Teases

Post by slave alexander »

cumhardy wrote:Neither! Ive only lived in manchester for a couple years and im getting stereotyped already :P lol
Sorry about that, perhaps if i sent you a meat and potatoe pie with mushy peas and gravy, a pint of bitter and a flat cap would this help as a peace offering!!!
:lol: :-P

Only messing, you may well drink boddingtons, what about a pipe and a bag of coal/ cotton, perhaps your horse is hungry I`ll stop now before things get really silly

ps please feel free to throw some southern jibes my way, i do love a nice shandy and am partial to the odd prawn sandwich

slave alexandro
Image
User avatar
cumhardy
Experimentor
Experimentor
Posts: 1145
Joined: Wed May 28, 2008 10:54 pm
Gender: Male
I am a: None of the above
Location: UK

Re: Flash Teases

Post by cumhardy »

slave alexander wrote:
cumhardy wrote:Neither! Ive only lived in manchester for a couple years and im getting stereotyped already :P lol
Sorry about that, perhaps if i sent you a meat and potatoe pie with mushy peas and gravy, a pint of bitter and a flat cap would this help as a peace offering!!!
:lol: :-P

Only messing, you may well drink boddingtons, what about a pipe and a bag of coal/ cotton, perhaps your horse is hungry I`ll stop now before things get really silly

ps please feel free to throw some southern jibes my way, i do love a nice shandy and am partial to the odd prawn sandwich

slave alexandro
Lol no I think Miss Jay is from down south, I dont wanna attract any undue attention :look:


............................................................... 'Ave a Banana!
User avatar
dix
Experimentor
Experimentor
Posts: 3784
Joined: Sun Aug 10, 2008 4:49 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above
Location: North-West England

Re: Flash Teases

Post by dix »

slave alexander wrote:
cumhardy wrote:Neither! Ive only lived in manchester for a couple years and im getting stereotyped already :P lol
Sorry about that, perhaps if i sent you a meat and potatoe pie with mushy peas and gravy, a pint of bitter and a flat cap would this help as a peace offering!!!
:lol: :-P

Only messing, you may well drink boddingtons, what about a pipe and a bag of coal/ cotton, perhaps your horse is hungry I`ll stop now before things get really silly

ps please feel free to throw some southern jibes my way, i do love a nice shandy and am partial to the odd prawn sandwich

slave alexandro
Ohhhhh..... You shandy drinking southern fairy Alex!!! :rant:

:lol:

d.
Post Reply