quickblueink
Technical User
imagine a resume page. To the left are buttons for experience, skills, education, etc. When you press the button a "file card" scrolls up from the bottom with the info. if you press another button, the "file card" that is up scrolls down, and the new one scrolls up.
it works OK now, with a few exceptions. What happens is the button you pressed checks to see if others are open, if so it closes, then it duplicates the card and scrolls it up.
for some mysterious reason, the button only works AFTER the 2nd time you hit it. Also, is there any way to duplicate a movie clip that is NOT on the main timeline, just in the library (i have flash 5). I have tried every version of code i can think of. So far, the one that works best looks like this:
(Skill button)
on (release) {
if (expClip._currentframe == 15) {
expClip.play();
i--;
}
if (eduClip._currentframe == 15) {
eduClip.play();
i--;
}
i++;
duplicateMovieClip ("mainCard", "skillCard", i);
setProperty ("skillCard", _x, "364"
;
setProperty ("skillCard", _y, "302.5"
;
_root.skillCard.textCard.gotoAndStop(2);
skillCard.Play(1);
}
you can check out what i have so far @ geocities.com/quickblueink
only experience, skills, and education work...if you click "contact" you can download the .fla
thanks,
M.austin
it works OK now, with a few exceptions. What happens is the button you pressed checks to see if others are open, if so it closes, then it duplicates the card and scrolls it up.
for some mysterious reason, the button only works AFTER the 2nd time you hit it. Also, is there any way to duplicate a movie clip that is NOT on the main timeline, just in the library (i have flash 5). I have tried every version of code i can think of. So far, the one that works best looks like this:
(Skill button)
on (release) {
if (expClip._currentframe == 15) {
expClip.play();
i--;
}
if (eduClip._currentframe == 15) {
eduClip.play();
i--;
}
i++;
duplicateMovieClip ("mainCard", "skillCard", i);
setProperty ("skillCard", _x, "364"
setProperty ("skillCard", _y, "302.5"
_root.skillCard.textCard.gotoAndStop(2);
skillCard.Play(1);
}
you can check out what i have so far @ geocities.com/quickblueink
only experience, skills, and education work...if you click "contact" you can download the .fla
thanks,
M.austin