Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-08-2004, 08:45 PM   PM User | #1
CooperTheGr8
New Coder

 
Join Date: Oct 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
CooperTheGr8 is an unknown quantity at this point
Question Flash, linking scenes & making them appear

O.k i have to scenes with i wish to link in Flash MX 2004. I wont to do this for a web page, just a simple one to get to grips with everything.

So i have scene 1 and scene 2, what do i do? and also what code do i need?

i know its asking alot

Chris
CooperTheGr8 is offline   Reply With Quote
Old 11-08-2004, 10:29 PM   PM User | #2
bradyj
Senior Coder

 
Join Date: Apr 2003
Location: San Francisco, CA
Posts: 2,469
Thanks: 0
Thanked 0 Times in 0 Posts
bradyj is an unknown quantity at this point
Let me get this organized a bit:
so you have two scenes -- and you want to link them together. Would you like to link them by an action (say, someone clicks on a button and it goes to the second scene) - or do you want scene 1 to automatically go to scene 2?

At the end of the scene, on the final frame - load your actionscript menu (right click, actionscript). Use the beginner mode, and select goto - you can now set it up to goto and play scene 2 automatically. Essentially you would use similar code for a movie clip or a button to do the same thing.
__________________
// Art is what you can get away with. <-- Andy Warhol
...:.:::: bradyjfrey.com : htmldog : ::::.:...
bradyj is offline   Reply With Quote
Old 11-09-2004, 09:47 AM   PM User | #3
CooperTheGr8
New Coder

 
Join Date: Oct 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
CooperTheGr8 is an unknown quantity at this point
i have two scenes, for this web site. and i wont the second scene to load when the user clicks a button, like a button on a HTML web page another web page comes up. I wont to do that bt in flash, i have beentold to use seperae swf files but then how do i get a seperate swf file to load when the button is pressed?

thanks for the help

Chris
CooperTheGr8 is offline   Reply With Quote
Old 11-09-2004, 04:22 PM   PM User | #4
chilipie
Senior Coder

 
chilipie's Avatar
 
Join Date: Jul 2004
Location: Shrewsbury, UK Age: 16
Posts: 1,117
Thanks: 0
Thanked 0 Times in 0 Posts
chilipie is an unknown quantity at this point
Why do you need a button - what's wrong with a link ?
chilipie is offline   Reply With Quote
Old 11-09-2004, 04:45 PM   PM User | #5
CooperTheGr8
New Coder

 
Join Date: Oct 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
CooperTheGr8 is an unknown quantity at this point
well how do i do that then? i thought a link and a button did the same thing don't they?
CooperTheGr8 is offline   Reply With Quote
Old 11-09-2004, 05:19 PM   PM User | #6
chilipie
Senior Coder

 
chilipie's Avatar
 
Join Date: Jul 2004
Location: Shrewsbury, UK Age: 16
Posts: 1,117
Thanks: 0
Thanked 0 Times in 0 Posts
chilipie is an unknown quantity at this point
Buttons were originally intended for forms and stuff like that. Links built the web I suppose. "Hyper-Text" was the making of the WWW as we know it. Anyways...

Code:
<a href="page.htm" title="Page">Page</a>
a - defines a link
href - the location of the document (the URL)
title - the title/description of the link
Page - the only part that is visible; the text you click on to got to the page
chilipie is offline   Reply With Quote
Old 11-09-2004, 05:38 PM   PM User | #7
bradyj
Senior Coder

 
Join Date: Apr 2003
Location: San Francisco, CA
Posts: 2,469
Thanks: 0
Thanked 0 Times in 0 Posts
bradyj is an unknown quantity at this point
If you're doing it in flash, then that's a different story. You can do two separate HTML files with separate .swf files embedded in them -- or you can do 1 movie, with two scenese, and link them like I said above in flash (gotoandplay scene 2). The benefit of two files is that it may be faster to download each one separatly -- the downfall is that you may not get to do all the effects, and essentially, you're splitting your movie up -- this all depends on what you think is best for the project. Do you have it up yet?
__________________
// Art is what you can get away with. <-- Andy Warhol
...:.:::: bradyjfrey.com : htmldog : ::::.:...
bradyj is offline   Reply With Quote
Old 11-09-2004, 09:40 PM   PM User | #8
CooperTheGr8
New Coder

 
Join Date: Oct 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
CooperTheGr8 is an unknown quantity at this point
no i havn't got it up because its still in the making .

see next message

Last edited by CooperTheGr8; 11-10-2004 at 07:38 AM..
CooperTheGr8 is offline   Reply With Quote
Old 11-09-2004, 09:45 PM   PM User | #9
CooperTheGr8
New Coder

 
Join Date: Oct 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
CooperTheGr8 is an unknown quantity at this point
Right here is a better example

http://www.kwalitysweets.com/

that is what i wont to design and hope to achieve

Chris
CooperTheGr8 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 +1. The time now is 07:37 PM.


Advertisement
Log in to turn off these ads.