Ask a Question related to Macromedia Flash Ad Development, Design and Development.
-
__Sheep__ #1
Pics
Hey I've only just recently started using flash so im not that aware of what it
can do!! I want to have the front page of my site to have a few pictures and i
want one to fade into the other kinda thing. So it is in a loop where the
pictures keep changing after a a few seconds. does anyone know how to do this ?
and to make them fade / dissolve into the next photo
Someone please help me
Thanks
__Sheep__ Guest
-
animated pics..??
is it possible to use fireworks to create animated pics? like, do you just make like for an example 10 layers showing all the movements?? -
pics from pentax SMC 75-150 M f4 ANYONE?
Does anyone have pics taken with an pentax SMC 75-150 M f4 lens that you'd be willing to show me via a link or e-mail or something? I'm trying to... -
Sharing pics via CD
These manuals may be the cats pyjamas for doing the clever stuff, but they do assume a lot, so thanks to Bethan and Dorothy for helping with the... -
Pics of the moon
I'm somewhat of a newbie. I have a Minolta XG-1 camera that's about 20 years old and I LOVE it. Love taking pics with it.... especially since I have... -
new pics please look
"wayne" <adfoto@datafast.net.au> wrote in message news:3f16984d@usenet.per.paradox.net.au... Contrast is a little too stark for my tastes. Lost... -
megnathamuthan #2
Re: Pics
:camera;
i hope u can understand what u asked from the flash sample file
"load_images.fla"
the path-- when u have flash mx with u in window machine "C:\Program
Files\Macromedia\Flash MX\Samples\FLA\load_images.fla"
so this will clear u with ease
and foget all the coding,
the vital thing there is the fuction is executed
only when u clicked the button so if u want this
happen continuesly plz add the function in enterframe event.
Regards,
Amuthan meganathan.
//initialize variables and properties
square._alpha = 0;
whichPic = 1;
//initiate change to new image when buttons are clicked
next.onPress = function() {
if (whichPic<5 && !fadeIn && !fadeOut) {
fadeOut = true;
whichpic++;
input = whichPic;
}
};
back.onPress = function() {
if (whichPic>1 && !fadeIn && !fadeOut) {
fadeOut = true;
whichpic--;
input = whichPic;
}
};
_root.onEnterFrame = function() {
// when a new Photo is selected, fade out, load new image, and fade in
if (square._alpha>10 && fadeOut) {
square._alpha -= 10;
}
if (square._alpha<10) {
loadMovie("../images/image"+whichPic+".jpg", "square");
fadeOut = false;
fadeIn = true;
}
if (square._alpha<100 && fadeIn && !fadeOut) {
square._alpha += 10;
} else {
fadeIn = false;
}
// limit input field
if (input>5) {
input = 5;
}
// initiate change to new image when Enter key is pressed
if (Key.isDown(Key.ENTER)) {
fadeOut = true;
whichpic = input;
}
};
// if a number is entered in the input field but Enter is not pressed, change
// back to current Photo number when clicking anywhere else
inputField.onKillFocus = function() {
input = whichPic;
};
megnathamuthan Guest



Reply With Quote

