Page 1 of 1

Macromedia Flash 8: Please help!

Posted: Tue Jun 26, 2007 1:03 pm
by skavoovie_blind9
Hi I wasn't sure where to post this but I figured most of the technical heads are on this forum.

I'm doing a website in flash 8 for a uni asignment.

I've made an animated intro to the site with a skip button taking you to a home page with buttons for audio and pictures in one flash aplication.

Then I've started a new project and done my page for pictures in that.

Then I've done another flash document with my audio on the page.


I dont have a clue how I can bring the Intro/homepage, the pictures gallery and the audio page together to navigate through one application.

Dont know if that makes sense but if anyone can help please do.


Cheers


Col

Posted: Tue Jun 26, 2007 3:13 pm
by skint
what you need is a container movie that loads in the other SWF's when the user clicks a button.

this container movie should also house your navigation buttons.

so make a new movie
put a blank MovieClip on the stage somewhere and give it an instance name like: "siteContainer"

so..u want the intro to load into that container movieClip

so let's say your swfs are named:
intro.swf
gallery.swf
audio.swf

in your container movie put this code:

siteContainer.loadMovie("intro.swf");
now when the site container loads it will tell intro to load into that container movieClip.

now for your navigation
you have 2 buttons "gallery" and "audio" give those instance names also
galleryButton and audioButton

put this code on the same keyframe as your other code

galleryButton.onRelease=function()
{
siteContainer.loadMovie("gallery.swf");
}

audioButton.onRelease=function()
{
siteContainer.loadMovie("audio.swf");
}

so when the user clicks on the buttons it will run their methods to load the associated SWF's into that container movieClip

make sense?

Posted: Tue Jun 26, 2007 3:53 pm
by skavoovie_blind9
Thanks ALOT for taking the time to post that mate!!

Greatly appreciated!!

I will have a go at that.


Thanks again


Col

Posted: Tue Jun 26, 2007 9:23 pm
by skint
let me know if you have issues..i can make a simple template for ya so u get the idea

Posted: Tue Jun 26, 2007 9:39 pm
by skint
got bored so i made a template for ya

http://www.alecoliver.com/dubstep_forum/test_flash/

here's the source files:

http://www.alecoliver.com/dubstep_forum ... T_SITE.zip

hope it helps!

Posted: Wed Jun 27, 2007 6:02 pm
by skavoovie_blind9
Thats wicked mate cheers!

I've got another question though.

I've set up my document that has the intro going to home page, when you click the pictures button it goes to a new page.
On that page I have imported my pictures.swf to the library, draged the movie onto the page, but when I test the movie I click the pictures button it takes me to the page alright, but the navigable pictures just keep flicking through each large image of the pictures really fast?


p.s. I've done 4 thumbnail pictures that you can click on to see larger image, which works fine untill I drag it onto the page.

Posted: Wed Jun 27, 2007 8:47 pm
by skint
make sure that you have stop(); on every keyframe