Page 14 of 24

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Mon Aug 16, 2010 12:03 pm
by cumhardy
aucun26 wrote:I metronome sounds and I'd like to insert them in the pages.
Not sure if tyou mean you have already got the metronome sounds on your computer.

if you have them in mp3 format, upload them to nyx the same as you would with an image file.

Then go to script and insert:
hidden:sound('metronome.mp3')

rename 'metronome' for whatever your sound file is called.

so if the script for your page looks like this originally:

Code: Select all

start#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">TEXT</FONT></P></TEXTFORMAT>',
pic("image.jpg"),
go(page2#)
);
it will look like this afterwards

Code: Select all

start#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">TEXT</FONT></P></TEXTFORMAT>',
pic("image.jpg"),
go(page2#),
hidden:sound('metronome.mp3')
);

Also note (sorry if this is obvious to you, but it took me a while to work out)

in the script:

Code: Select all

go(page2#),<<<ADDING THIS COMMA IS VERY IMPORTANT!
hidden:sound('metronome.mp3')
);

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Thu Dec 23, 2010 10:31 pm
by sxxx_fxxx
Just discovered the site 2 days ago, decided to contribute my own flashtease. Was easy enough to use, would love to see a password input feature for part 2.

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Fri Dec 24, 2010 5:54 am
by Nezhul

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Tue Dec 28, 2010 12:55 am
by sxxx_fxxx
Nezhul wrote:I'v answered your question:
http://www.milovana.com/forum/viewtopic ... 512#p82512
wow thank you! :D

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Thu Feb 03, 2011 10:05 pm
by cockgod
It's too bad there isn't a better way to do metronome. I've got a 70 page tease ready to go, everything except the metronome. It's gonna take me forever to find the time to organize, upload, and script the metronome with the current system.

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Fri Feb 04, 2011 12:19 am
by masterstroke
I agree. Its a pain in the posterior adding sound. I've done 38 pages with sound, I can't imagine doing 70. I don't know if Nyx can be updated but it would be nice if an audio tab was added so you could just upload and add a sound file the way you add a picture.

Hopefully, the next generation of Nyx will have some kind of audio tab. :yes:

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Thu Feb 17, 2011 4:32 am
by ponderhk
Hi all - I'm getting right into the cripting stuff - love it. I'm writing something a little complicated, and a have a couple of questions:

1 - is it possible to have a page which isn't displayed? I want to go to a page, do some sets, some must/mustnot checks, then goto a range of pages. Can I have this page with say no image, and no delay, so that the person viewing the tease does not actually see this page?

2 - This is probably due to my buggy scripting at the moment - but does anyone else have the problem that when you script something and it doesn't work, you go back and script it correctly, then try preview again but it's not updated? I've tried saving, then closing the IE tab that I have the editor in, then reopening another tab, opening Nyx, loading tease and previewing again, but it doesn't work?

It seems sometimes that if I close it all, take a break, then come back and review it it will then work?
If this is something I'm doing wrong please let me know as it makes scripting even a single page extremely slow.

Thanks!

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Thu Feb 17, 2011 9:37 am
by Nezhul
1) Yes, use delay with 0 sec duration on that page, or use goto(page1#) command (that's just an example, you can make it go to any page you want).

2) give me a piece of code (WHOLE PIECE) you are refetting to, and I'll tell you where you are wrong.

Also I recomend you reading those 2 threads before scripting and asking further, because at least your 1st question is already answered by me there:
http://www.milovana.com/forum/viewtopic ... 55&start=0
http://www.milovana.com/forum/viewtopic.php?f=2&t=5926

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Thu Feb 17, 2011 4:59 pm
by ponderhk
Hi Nezhul - thanks for the reply - I have honestly tried to read as many threads as possible on the Nyx but has not seen those. Thanks.

Not trying to turn down your help debugging my scripts, but I should learn from my mistakes as I go best I've found for me anyway.
Can you tell me if the Nyx editor would present the symptoms I described with buggy scripts, or if this is something that might be more related to flash versions or something else I have on local pc?

If it is caused by bad scripting - fine, I fix it with better script. But if local pc or something, then I need to try and rectify there.
Thanks.

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Thu Feb 17, 2011 5:11 pm
by ponderhk
PS. I automatically assumed i had not read the links you posted in your reply to me as everything I had read (to my knowledge) did not refer to the limits of the delay command. I have actually read and studied them both previous to my post. I could not see any reference to the delay command being able to handle a zero, and in my attempt to use that so far i have the scripting issues I've previously mentioned.

I'm also already experimenting with the goto command - both native and with a precursor of action:

In general, I think that the Nyx scripting offers a heck of a lot of potential, I'm just coming to grips with the pararmeters that may be used with the commands which aren't really documented in the command lists posted so far. Again, trial and error and experience will be my method of progressing rather than bothering all the helpful people here every 5 minutes.

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Fri Feb 25, 2011 7:54 am
by ponderhk
Hi - can anyone help with a simple must command?

In the documentation from green, he says:

This Example Requires page 1 to be set in order to call page3.
must(3,1#)

Attention: theres must not be a # after the page number for some reason.


But then, in the example right below that text, it shows:

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



So there is a # after a different number in each example. Should the hash go after the Self, or the Action?

Or both? Every combination I'm trying is not working so far.

Thanks!

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Fri Feb 25, 2011 8:08 am
by Nezhul
the # must be after BOTH numbers.
Moreover, if the must(3#,1#) is in the page 3#, then that page actually might be shown BEFORE any constraints will be laid on it, therefore BEFORE page 1#, despite what command says. The constraint must be laid before the page has any chance to be shown, that meens before range() command. In the example it lays constraints on itself only AFTER it's shown. What has no sence whatsoever.
Note also thet direct linking ignores all constraints. That meens constraints apply only to result of range().

Check out my instruction, it lacks this mistakes:
http://www.milovana.com/forum/viewtopic.php?f=2&t=5926

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Fri Feb 25, 2011 7:52 pm
by ponderhk
Thanks for the help Nehzul - I had actually seen your post there and even commented on the thread - doh! Problem has been that I had bookmarked green's thread topic for my reference while scripting - I will add yours too.

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Fri Mar 04, 2011 6:18 pm
by ponderhk
Hi Nezhul,

Your helpful page has saved me HOURS of errors and head scratching - thanks.

I was wondering if you've has any experience with the command repeatadd? I seem to be having some problems with it.

If i set a page to repeat say 10 times, it works perfectly. So essentially it is unsetting that page for a value of 10 instances, and then the page is set.
Works fine.

But if I interupt that repeat of 10 times, say on the fourth repeat, then go back to a page where I use the set command to set repeated page, it should now be set.

Instead it seems to remember the previous unsets from the repeatadd, so that when I set tht page after the fourth repeat, it appears to subtract that set from the remaining 6 unsets left on it, meaning that it is still unset, and will remain unset until I continually set it another 5 times until it is well and properly set.

So other pages which use must and mustnots refering to the repeat page are not working properly.

Seen this before?

Thanks for the help.

Re: Nyx - The FlashTease Editor - Public Preview Release

Posted: Thu Aug 04, 2011 4:30 am
by Stair_Car
Sorry if this question has been posted before.

At first the editor worked fine for me, but then I started getting this error message any time I tried to upload an image:

[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]

This was the case even for images which I uploaded for a different tease without incident. What does it mean and how do I fix it? I tried googling the solution, but sadly all of these terms return too many results that have nothing to do with flash. Thanks for you help.