PDA

View Full Version : slideshow like this



surya_mayekar
July 4th, 2005, 04:31 AM
hi all...

i want to make a slideshow/website like this... can anyone help me...

http://www.sri.soygeek.net/pictures/:)

msurgay
July 4th, 2005, 04:50 AM
Yes, I can. How many years do you use Flash ?

surya_mayekar
July 4th, 2005, 04:56 AM
Yes, I can. How many years do you use Flash ?

no one is there to help....???????????

pom
July 4th, 2005, 10:13 AM
Sure, we can help you, that's the point of this forum. But what's your problem?

surya_mayekar
July 5th, 2005, 09:51 AM
well i am attaching herewith what i have done... i could do this much only... i know there are other better ways to do this..
well my problem is that i want to load images and text from xml and the sliding animation smoother... so anyones help will be appreciated...
thanx in advance..

surya_mayekar
July 5th, 2005, 09:55 AM
the file

surya_mayekar
July 6th, 2005, 04:38 AM
need help on above....
:scream:

surya_mayekar
July 7th, 2005, 02:18 AM
no one is there to help me....
its urgent... i have to do slide show for my company...
thanx again...

surya_mayekar
July 11th, 2005, 04:35 AM
i think now one is there to help me...
well i am attaching another file in which i need help on following:-
i want to stop the slide for certain period (say 1 minutes) and then move right and as soon as it goes to right want to bring in another image with rotation.
i tryed... but its not hapening.. please help me...
thanx

surya_mayekar
July 12th, 2005, 08:55 AM
i think all u people decided not to help me..;(

surya_mayekar
July 15th, 2005, 03:27 AM
???????????????????????????????????????????????

newbie_geek
July 15th, 2005, 01:28 PM
Dude, i took a look at your second attached file, and now i am wondering what you are missing?

surya_mayekar
July 18th, 2005, 10:13 AM
Dude, i took a look at your second attached file, and now i am wondering what you are missing?

THANX NEWBIE_GEEK... CULD U FIND OUT WHAT I AM MISSING.... NEED HELP MAN....

Danno
July 18th, 2005, 10:52 AM
::laughing:: Hey... calm down there surya_mayekar...

it isn't our fault that you have a project due for your company. We are here to help, but just explain what it is exactly you are having problems with.

stringy
July 18th, 2005, 12:14 PM
http://www.fmx6.com/teststuff/tt/sildeShowMovie_1.swf


Stage.scaleMode = "noScale";
// back mc
movieWidth = 750;
movieHeight = 550;
rightX = movieWidth*2;
leftRotation = 180;
createEmptyMovieClip("p", 10);
var m = my_mc._width/2;
var n = my_mc._height/2;
my_mc._x = rightX;
my_mc._y = movieHeight;
my_mc._rotation = leftRotation;
speed = 10;
cEndX = rightX;
cEndY = movieHeight/2;
cEndR = leftRotation;
var l = 0;
myarray = [];
for (var i = 1; i<6; i++) {
myarray.push("p"+i+".jpg");
}
//
my_mc.startx = my_mc._x;
//
_global.setTimeout = function(a, b, c) {
var args = arguments.slice(3);
var func = function () {
a[b].apply(a, args);
clearInterval(arguments.callee.ID);
};
func.ID = setInterval(func, c, args);
};
function preloadf(clip) {
p.onEnterFrame = function() {
if (clip._width>0) {
delete this.onEnterFrame;
clip._parent.movealong(1);
}
};
}
MovieClip.prototype.moveIn = function() {
//trace(this)
cEndX = movieWidth/2-m;
cEndY = movieHeight/2-n;
cEndR = 0;
this.blank_mc.loadMovie(myarray[l]);
preloadf(this.blank_mc);
l>=myarray.length-1 ? l=0 : l++;
};
//
//
MovieClip.prototype.moveBack = function() {
trace(1);
clearInterval(int1);
cEndX = rightX;
cEndY = movieHeight/2;
cEndR = leftRotation;
this.movealong();
};
//
MovieClip.prototype.movealong = function(g) {
this.onEnterFrame = function() {
this._x += (cEndX-this._x)/speed;
this._y += (cEndY-this._y)/speed;
this._rotation += (cEndR-this._rotation)/speed;
if (Math.abs(cEndX-this._x)<1) {
delete this.onEnterFrame;
this._x = cEndX;
this._y = cEndY;
if (g) {
int1 = setInterval(this, "moveBack", 1500);
} else {
//heres a better way
setTimeout(this, "moveIn", 200);
}
}
};
};
my_mc.moveIn();
//

pixeldude
July 18th, 2005, 10:54 PM
Wow!!! great stuff stringy....

I tried copy and pasted the code in 1st frame and just give my image name p1,p2,p3.jpg...

it seems nothing appear ..i guess this portion of code are control the load pic if I'm not mistake..



for (var i = 1; i<6; i++) {
myarray.push("p"+i+".jpg");
}


what's is my wrong or this is got somethingt to do with the size u're define..

and one more thing stringy..how to go this effect transition if I'm using button for it..eg; I click btn1 and then it'll play the rotation animation and sort of...like the original link provided...

surya_mayekar
July 19th, 2005, 06:15 AM
thanx stringy...

blocDan
July 19th, 2005, 09:50 AM
I've not been here for more than a couple days.. but being a moderator at another forum i can tell you that your extremely impatient attitude, verging on the plain rude, surya_mayekar, isn't welcomed by people considering helping you.

stringy
July 19th, 2005, 12:35 PM
Wow!!! great stuff stringy....

I tried copy and pasted the code in 1st frame and just give my image name p1,p2,p3.jpg...

it seems nothing appear ..i guess this portion of code are control the load pic if I'm not mistake..



for (var i = 1; i<6; i++) {
myarray.push("p"+i+".jpg");
}


what's is my wrong or this is got somethingt to do with the size u're define..

and one more thing stringy..how to go this effect transition if I'm using button for it..eg; I click btn1 and then it'll play the rotation animation and sort of...like the original link provided...

you have correctly named your pictures.check they are non progressive.I made this file trying to keep as much of the code that was already there as possible, its not really ideal.
Have attached file with buttons,try with your pictures.
if you want to resize/position the picture in the thingy, do it in the preloadf function.

surya_mayekar- you are welcome

surya_mayekar
July 20th, 2005, 02:10 AM
I've not been here for more than a couple days.. but being a moderator at another forum i can tell you that your extremely impatient attitude, verging on the plain rude, surya_mayekar, isn't welcomed by people considering helping you.

hey buddy blocDan... why are you calling me rude... what i did man....
tell me my fault.... i am surprised and sad you calling me rude...:*(