it's a known issue (bug) with the rewind behavior. If you convert your
button into a MovieClip, the behavior will work. It doesn't work with
buttons.
[quoted text, click to view] shamrockone wrote:
> As a registered owner of Flash MX 2004 Pro, I was trying to attach a behavior
> to a rewind button on one of your "How Do I" examples. While the Play and Pause
> options worked correctly, the "Rewind" option did not even appear on the drop
> down listing. The listing showed only hide, play, pause, show, stop. Yes, I had
> the layer correctly picked. I ran the updater and the problem still exists.
> What do I do now? Thanks for the help.
>
> Tom Hennessy
is there plan to fix it?
i saw this problem myself and thought, what the heck?
one question, if you convert it to a movie clip why does the button dance up
and down? is there a way to stop this? i'm not much on actual coding, but i
cant seem to see why the button dances as if being constantly pushed. any help?
I ran into the same issue when going through the initial tutorial in Flash MX
Pro.
I know this is not an ideal workaround, but what I did was open the completed
tutorial and then the movie explorer. I then looked under "rewind" (step back)
in the script, copied and pasted it into my tutiorial.
Here it is:
on (release) {
//FF video Behavior
//copyright Macromedia, Inc. 2003
if((this.video._parent._currentframe - 2) >= 0){
this.video._parent.gotoAndPlay(this.video._parent._currentframe
- 2);
} else {
this.video._parent.gotoAndStop(0);
}
}
Hopefully Macromedia will address this bug soon, but in the meantime, pasting
and editing this workaround works for me.
on (release) {
//FF video Behavior
//copyright Macromedia, Inc. 2003
if((this.video._parent._currentframe - 2) >= 0){
this.video._parent.gotoAndPlay(this.video._parent._currentframe
- 2);
} else {
this.video._parent.gotoAndStop(0);
}
}