hello all, i need your help on something.
ok, i want to make a flash site all in one, i have tried linking all my movies together…i didn’t like that to much…but say i want to make it simple. what i was trying to do is i have say a block, and when you click it something ellse shows up what i was trying to do in the action script is i say goto frame 5. So i tried clicking…it dose not goto frame 5, this is the code i put in, is this correct, cause it says it is on the flash check but dose not work…any other codes?
Code:
on (press) {
You don’t need the inverted commas, and you may not be targeting the script correctly. Say if the button played something on the main timeline of the movie you would need to write:
[AS]
on (release) { //better to use ‘release’
_root.gotoAndStop(5); //_root targets something in the main timeline
}
[/AS]
It might be easier to see what you are talking about if you posted your *.fla file.
thank you that helped me out alot, one more thing though… say i want it like a menu no say i press one button and (the contact page come up) well can i make it somehow so that when i press another button that (contact page) goes away?
thank you very much
i can not post my fla. because i have not done it yet, i want to know how to do it, sorry maybe i did not explane good. What i want is ok a menu at the bottom (contact, news, portfolio…)
and when i click on portfolio lets say…the portfolio info comes up.
and that was what the code was for at the top…but when i press contact i want the portfolio info to go away not stay…cause it all gets cluttered up… thank you all.
I really suggest you take a look at this site I hope it can answer your questions, if not reply and let me know. The problem I have is picturing what you want to do.
You said the code above is for your site right? Then are you saying all the pages are gonna be on one scene? I really think you shouldn’t do this, it would be better if you made a scene for a different page, or a new swf for each page.
And the second problem depends on how you want it to go away. And if the pages are swfs, movieclips or anything else.
keeping a “nav” area visible and changing the “content” area only is easy enough, external swf’s loaded into the same space displace the previous ones
content can be loaded either into a container clip or use layers it’s just a matter of sizing and lining everything up to not overlap.
but first, why are you opening the site in a java pop window ??
maybe you should try to consolidate everything onto one main page and just change the view. One of the greatest beauties of Flash is being able to see the whole show without ever having to leave (go from page to page).
You could have your “entry” on frame one, preload on the next, then the third houses all your “static” (nav, backgrnd) content. Everything else could be loaded in from external movies and the whole bit fills the screen giving you some rooooom !
Once you have a ‘spot’ where you want your changeable stuff to appear, mark it off with guide line boundries in a “guide layer”…
then ‘save as’ to get a copy of this, on the copy delete everything except your guides layer and build your content within the lines.
If you load this in at “level1” it will lay over perfectly on top of your main page like as if a sheet of transperency film (it won’t have it’s own background) … it’s late now… hope that gets you started at least