The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.34 / 5.00 31,296 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 10,082 ViewsAt 8/12/06 10:48 AM, True_Darkness wrote: fadeSound= new Sound()
fadeSound.attachSound("soundInLibrary")
fade=100
onEnterFrame=function(){
fade-=2
fadeSound.setVolume(fade)
}
my script works using time intervals... not frame intervals...
when you're using frame intervals, the fading speed depends on your frame rate...
oh and I was just joking bout posting it on AS: Main...
i just wanna show my technique on sound follows mouse...
and teach other noobs out there bout sound scripting...
please check more sound scripting techniques here:
for me, mouse move is better...
onClipEvent(onEnterFrame){
cash=cash+10;
}
i dont know about the sponsors...
// this are my scripting techniques with sounds. i hope youll like this tutorial. Add it to AS: Main...
//DECLARING YOUR SOUNDS
var soundvar:Sound = new Sound();
soundvar.attachSound("filename"); vol=100;
soundvar.setVolume(volume_you_want);
ppos=0; // initiaizes pause position
//PAUSE
ppos=soundvar.position; // records the current pause position of the music
soundvar.stop(); // stops the music from playing
//PLAY
soundvar.start(ppos/1000); // plays music from the recorded pause position
//SOUND PANNING (DIRECTION)
soundvar.setPan(-100); // LEFT SPEAKER ONLY
soundvar.setPan(100); // RIGHT SPEAKER ONLY
soundvar.setPan(0); // CENTER
// or any integer in the parameters
// more negative number is to the left...
// more positive is to the right...
// soundvar.setPan(number);
// SOUND FOLLOWS YOUR MOUSE
function dragonj(){
per=((_xmouse/Stage.width)*200)-100; // calculates the location of mouse
soundvar.setPan(per); // sets the sound pan direction
} setInterval(function(){ dragonj(); },1); // pans every millisecond using timer
//FADE-IN EFFECT
setInterval(function(){ if(vol<100){vol=vol+10; if(vol>100){vol=100;}} soundvar.setVolume(vol); },300);
//FADE-OUT EFFECT
setInterval(function(){ if(vol>0){vol=vol-10; if(vol<0){vol=0;}} soundvar.setVolume(vol); },300);
// NOTE: fade effects wont work:
// (1) if the music is not playing (eg: paused, stopped)
// (2) if you use fade-in and fade-out together
any hentai animator who wanna help?
or scripter who would like to debug my program?
yeah now I know...
there is NO way...
time=600; // initialize time with 600 seconds (10 mins)
function djs(){
// actions here when timer reaches zero...
}
function dragonjet(){ time=time-1; // the function to run every second
if(time==0){ djs(); }} // checks if timer is zero...
setInterval(function(){dragonjet();},1000)
; // the timer syntax
is it an FLV...
cant submit that here... only accepts SWF...
but... to update videos, you cant use flash even if its an FLV...
you need something like, uLead... or cinemaforge for converting...
any many more... try checking google...
why didnt you just edited it. dont need to delete and re-submit...
maybe wade didnt allow it coz of dual submission...
ask him or tom...
but for me, tell us first what kind of error youre getting...
what is the error message?
At 7/23/06 02:13 PM, phyconinja wrote: duplicateMovieClip(_root.langhus,"new_lang
hus"+_root.i,1000+_root.i);
_root["new_langhus"+_root.i]._x=xsted;
i++;
i think _root is not a movie clip... try:
_root.movieclip.dupliacteMovieClip(newname
,depth);
coz from what i know, type mismatch is for variables...
if my syntax doesnt work, try to declare it first...
var...
i got some suggestions...
dont use this... specify the name of the movieclip...
for example... _root.bullet.hitTest(_root.enemy)
oh and try any of these:
_root.enemy.removeMovieClip();
removeMovieClip(_root.enemy);
if we arent any help... try searching for answers HERE
well... that works in my computer...
maybe you just had some typo errors in the text box or anything...
check the variables for the output text boxes...
try to make a loading bar in the preloader. helps dialup users...
some error i saw... in the MANUAL, the word "attempt"...
so... can i help?
whats the script problem?
no... im exporting is as images but the files are still SWF...
using macromedia prof 8, all exports are swf..
i havent seen any exports like jpeg or gif...
At 8/10/06 08:25 AM, KaynSlamdyke wrote: I'll take it that if you have to say it in Tagalog, you're trying to keep it purposely so I can't understand it. Rest assured I'll find someone who can translate that for me.
no... its just a translation of the whole thing... every word i said in tagalog is in the english sentences i posted.
oh and about the rape sim. i know many people with same opinion as yours. its in the reviews of bathroom girl 1. but im trying to find animators who are in my side. if other artists are against the idea, im not forcing them to help.
for "exporting as image"...
import it...
drag the name of your music from the library to your frame...
then tada!...
test movie and youre playing...
you say that we are just exporting one frame and its just like a pic...
so the file still SWF...
so it means that the other frame wont be exported and just discarded?
if you have scripts on it, will it run?
Phantasmagor already made his FLASHCRAFT for war3: reign of chaos.
im making a game for war3: frozen throne... i need a title... any suggestions...
does the AS: Main have it?
just check it here:
hey guyz i have a releated question...
whats the difference between
"export as image" and "export as movie"?
Stage.showMenu=false;
it also shows the menu but only with Settings and About Flash....
but we dont want any menus to show...
_focusrect = false;
i used this but nothing happened...
i know this is used to disabled the focusing in text boxes using tab key...
but it does nothing to the menus...
what Hornby wanted was, on right click, previous frame and no menu...
am i right Hornby?
ya need scripting here?
i can help with your AS...
alright... so this is the animation: main..
creted to be like AS: main....
so...
where are the tutorials?
can we post the tutorial links here?
alright... thats the script...
but how do you remove the menu?
oh im sorry...
i thought you asked "outside the flash movie"....
i know the script for clicking inside the flash and that script given above is correct..
but for the right-click... no such...
but you can have your own right click menu... you wanna know?