FlashAlison
Programmer
Hi experts!
What I want to do is (what I've seen on a thousand flash-pages, but can't figure out how do to myself!) have each content-page of my homepage in seperate movie clips and control them with a menu movie clip. As I've done it so far is following:
Each movie clip (with content for each page) is placed in a seperate layer and in a seperate frame - first frame displays page with front page content, next frame displays the usual "About company", and so forth.
Each page-mc has a roll-down function, when the frame is entered, with following code:
onClipEvent (enterFrame) {
if (this._currentframe<this._totalframes) {
nextFrame();
}}
This works fine. The problem is that I want it to "roll back up" (play the movie clip backward) when I click the menu to enter another page - that is, just before I enter the next page, naturally. That, of course, presents the problem, that the content of the next page covers the rewinding content of this page, so I can't see it, even I figure out how to rewind it.
So, you see, several problems in one... I'm getting lost here.
I've tried the usual prevFrame code with several code snippets to play the mc backward, but the problem is, right now I don't even know how to handle the organizing of the movie clip pages, so they don't cover eath other.
I've fiddled with the idea of whether it's possible to first rewind the ongoing content movie clip, and then jump to another frame (with another mc) by the click of a button in a third mc (the menu mc). If this is possible, I think this would solve it all.
Please advise. My deadline has passed!
What I want to do is (what I've seen on a thousand flash-pages, but can't figure out how do to myself!) have each content-page of my homepage in seperate movie clips and control them with a menu movie clip. As I've done it so far is following:
Each movie clip (with content for each page) is placed in a seperate layer and in a seperate frame - first frame displays page with front page content, next frame displays the usual "About company", and so forth.
Each page-mc has a roll-down function, when the frame is entered, with following code:
onClipEvent (enterFrame) {
if (this._currentframe<this._totalframes) {
nextFrame();
}}
This works fine. The problem is that I want it to "roll back up" (play the movie clip backward) when I click the menu to enter another page - that is, just before I enter the next page, naturally. That, of course, presents the problem, that the content of the next page covers the rewinding content of this page, so I can't see it, even I figure out how to rewind it.
So, you see, several problems in one... I'm getting lost here.
I've tried the usual prevFrame code with several code snippets to play the mc backward, but the problem is, right now I don't even know how to handle the organizing of the movie clip pages, so they don't cover eath other.
I've fiddled with the idea of whether it's possible to first rewind the ongoing content movie clip, and then jump to another frame (with another mc) by the click of a button in a third mc (the menu mc). If this is possible, I think this would solve it all.
Please advise. My deadline has passed!