I’m tring to build a basic website so I can understand a little better. I’ve done the tutorial over and over. But I don’t understand how to make my own site. Can some one tell me how your suppost to hook up the navigation system and how to build a working site by my self?
Which tutorial are you having a hard time with, have you done the one dealing with loading methods? If not then please go through the full flash site tutorial, it will introduce you to loading methods and using actions. Here is the link.
I’ve done the tutorial and understand. How it works but when I build my own site with flash it wont work. So my question is Is there something that I should know that isnt on the tutorial? I when I build the site and preveiw it it dosent load the movie.
Do you have a link to the site your trying to get to work ?
Can you post the .fla so we can see it ?
I could but I deleted it because It wasnt working. But I found the type of site I would like to create. go to this website and see if you can tell me some steps on creating it.
As I dont know what part you are stuck on I will give my basic steps.
-
Make html page with open new window index.html.
-
Make flash site in scenes put in its own html home.html.
-
make preloader scene
4.make main page scene > create buttons that link to different scenes. (news, pictures, links, guestbook).
Perhaps this is putting it to simple for you, where abouts are you getting stuck ?
I’m getting stuck with loading the movie so when you click the link the movie appears on the index page. I havent yet put anything on the web I just want to get the page working. I’ll try and make a simple fla. and post on here so you can tell me what I’m doing wrong.
Ok I pieced up this piece of **** but It’s basically what I was doing before. I want the separate pages to load. But I want to keep the same index. Well when you get it open up the index.fla
on (release) {
_root.contents.loadmovie(“lsnews.swf”);
}
do you really need to load new movies…
if you want to keep the same index with all its buttons.
set up the page how you like it with all the buttons working and just link them to different scenes etc.
Then just duplicate scenes (all of them will look exactly the same and all the buttons will work the same.
Then just change each scene with the content you want. So it looks different.
Thats the easy way to create the site you pointed out… and I would guess the way they did it.
Thanks alot I hope I can do it!
I hope thats what you were talking about…
If it is and you need me to give you more detailed instructions let me know…
Or if you want me to slap something together quick for you to play with let me know.
Sorry this is probably a stupid question but how do you link to another scene?
on (press) {
HomeButton.onRelease = function() {
gotoAndPlay(“Home”, 1);
}
}
Same as a normal button
this one is set to jump to the scene Home
frame one.
Just make sure you get the names right… home Home are two different things.
To duplicate a scene… open window / scene then there is a duplicate button. (MX)
This is a old MX file I was playing around with… it has scenes and some of the buttons are set up to jump to scenes…
Its just rough cause it was a play toy… but you can play around with it…
its saved as a MX file…
if you need it in 5 let me know
its about 4.0kb ziped
Ok I’m lost I don’t know what I’m doing wrong I put the file on the bottom please have a look to see what is wrong. Or maybe you could fix and have me download it if you think it’s to complicated.
here is your file back… when it compiles it says some crap… but all the buttons work.
you have to make sure that you name all the buttons… give them an instance… and that you tell tem what scene to link to
you have to name all the scenes… or what are your buttons going to link to…
here play with this…
btw I am a newbie myself… so dont be surprised if one of the gods comes along and tells you a better way !
your file
Thank alot it’s working nicely! Do you know how to make a roll over effect for the navigation. Like just a simple color change or something.:cowboy:
sorry it was 2am I went to bed.
you double click on the mouse to see it various states…
then just change the over state.
here is your file, with the two bottom buttons with the mouse over frame changed.
It’s ok I figured it out after a while But I got everything to work nicely thANKS ALOT.:A+: