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 01-02-2007, 02:20 PM   #1
indianleo
 
Join Date: Sep 2006
Posts: 343
Default Links for upload unload of pages

Hi friends I had made different swf such as Home, Contact us, About us

And in that ihad made page load animation and page unload
means how the page wil start and how it will end

so now I want to give action script in such a way that suppose the page home is loaded and Iclick on contact us or anyother page the home page first should unload and than whichever link is clicked should load

Please if possible send some example file
indianleo is offline   Reply With Quote
Old 01-02-2007, 03:04 PM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

I have written a flash movie which i think your after

you need to tweak this to suit your needs. This is very basic flash so you can easily understand it
__________________
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 01-03-2007, 05:10 AM   #3
indianleo
 
Join Date: Sep 2006
Posts: 343
Default

No friend U didnt got me even this script I know but i am talking about the the animation

Suppose i made that page 1 animation like load in and load out

and on clicking on anyothr page the current page should play the load out first than it should load the page which i had clicked
indianleo is offline   Reply With Quote
Old 01-03-2007, 07:11 AM   #4
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

if your using that method with seperate swf's then all you have to worry about is the loading of each swf as the unload should be handled automatically
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 01-03-2007, 09:11 AM   #5
indianleo
 
Join Date: Sep 2006
Posts: 343
Default

yeah so how to di it
indianleo is offline   Reply With Quote
Old 01-03-2007, 09:24 AM   #6
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

on your button use an onload action

Code:
on(release) {
loadMovie("mymovie.swf");
}
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 01-10-2007, 10:34 AM   #7
indianleo
 
Join Date: Sep 2006
Posts: 343
Default

u r not getting me just check this website www.greycellsltd.com
the home page animation started and when u click on track record or talk 2 us
u will see that the home page will first unload that the size of the bg will change and the specific link on which u had clicked will open

so i want that animation of changing bg size and that script of when u click on link the current page willl first play the unload animation than the load animation of that link
indianleo is offline   Reply With Quote
Old 01-10-2007, 11:03 AM   #8
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

say you have your complete page animated and sized correctly at frame 300
then just add another 50 or so frames to display the unload-resize-small animation but put a stop() action at frame 300. When the movie loads it will stop at the required place.

When you click a button you would just use a gotAndPlay(301) which would play the remaining timeline which shows the unload animation before loading the required movie

personally i would just use a scene per page to do this then pass the scene number/name when you click a link so it knows which scene lo play next
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 01-10-2007, 11:23 AM   #9
indianleo
 
Join Date: Sep 2006
Posts: 343
Default

no that script even I know but there some other script also never mind

What about the bg I had seen 1 example in which 1 square shape changes the size with ease in or out effect but i misplaced that example canu please send similar to that
indianleo is offline   Reply With Quote
Old 01-10-2007, 11:30 AM   #10
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

Quote:
no that script even I know but there some other script also never mind
What? I just answered your question!! This is what you asked...

Quote:
What about the bg I had seen 1 example in which 1 square shape changes the size with ease in or out effect but i misplaced that example canu please send similar to that
Eh ... you know already how to do what i explained but you dont know how to tween a simple shape!..

Im going mad... cluck cluck cluck ... look at the giant mushrooms
__________________
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 05:09 PM.


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