logo-dw

Go Back   Dreamweaver Club Forums > Graphic Design > Flash
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 11-30-2006, 01:03 PM   #1
indianleo
 
Join Date: Sep 2006
Posts: 343
Default sliding pages

Hi Friends

I had made a sliding page effect the script i had used is took from a net which is given below my problem is that i want to used next and prev btnand when i click on next or prev btn the page should slide respectively so please help me out

onClipEvent (load) {
_x = 0;
_y = 0;
spd = 8;
// this is the scrolling speed, the hight the number the faster it scrolls//
}
onClipEvent (enterFrame) {
_x += (endX-_x)/spd;
_y += (endY-_y)/spd;
_root.page1.onRelease = function() {
endX = 0;
endY = 0;
};
_root.page2.onRelease = function() {
endX = -364;
endY = 0;
};
_root.page3.onRelease = function() {
endX = -728;
endY = 0;
};
_root.page4.onRelease = function() {
endX = -1092;
endY = 0;
};
_root.page5.onRelease = function() {
endX = -1456;
endY = 0;
};
_root.page6.onRelease = function() {
endX = -1820;
endY = 0;
};
_root.page7.onRelease = function() {
endX = -2184;
endY = 0;
};
_root.page8.onRelease = function() {
endX = -2548;
endY = 0;
};
_root.page9.onRelease = function() {
endX = -2912;
endY = 0;
};
_root.page10.onRelease = function() {
endX = -3276;
endY = 0;
};
_root.page11.onRelease = function() {
endX = -3640;
endY = 0;
};
_root.page12.onRelease = function() {
endX = -4004;
endY = 0;
};
}
indianleo is offline   Reply With Quote
Old 12-01-2006, 01:42 PM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

hi mate

sorry i have taken time to reply

i have written an example on paging nav

i hope this helps. You should be able to tweak the Ascript to get this to work as you want
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk

Last edited by davidj; 03-25-2009 at 01:51 AM..
davidj is offline   Reply With Quote
Old 12-02-2006, 10:53 AM   #3
indianleo
 
Join Date: Sep 2006
Posts: 343
Default Thank you very much

Thanks Bro,

for sending this example I am very thankful If you dont mind can u add me my email ID is kundannaidu@hotmail.com I am online Actually sometime I have problem & I ned help and u r the right person who can help meso pls add me If you dont mind to
indianleo is offline   Reply With Quote
Old 12-02-2006, 10:58 AM   #4
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

you can add me but i dont give one to one help

that would make this forum pointless and if i did it for you others would expect the same service
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 12-02-2006, 12:06 PM   #5
indianleo
 
Join Date: Sep 2006
Posts: 343
Default but for being a friend u can add me

t for being a friend u can add me
indianleo is offline   Reply With Quote
Old 12-06-2006, 07:09 AM   #6
indianleo
 
Join Date: Sep 2006
Posts: 343
Default

Getting problem in sliding pages its not working ur file worksbut when i did its not and isthere any needtomake manually the slide moving backwards
indianleo is offline   Reply With Quote
Old 12-06-2006, 07:16 AM   #7
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

if your saying my movie works but yours doesnt then you havnt written it correctly!

Quote:
is there any need to make manually the slide moving backwards
there is no need to do this but let me point you to your original post...

Quote:
is that i want to used next and prev btnand
its always best to be able to navigate in both directions
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:54 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com