This is a discussion on "Need help - Bug in flash website" within the Flash & Multimedia Forum section. This forum, and the thread "Need help - Bug in flash website are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Need help - Bug in flash website
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Need help - Bug in flash website
I have a website with a menu bar composed of 18 buttons. Each button has a gotoAndPlay(X) action and seands the playhead to a target frame. On each target frame there's a movie clip, it's a wipe reveal of a photo if that helps you to picture it.
When you click a button the playhead advances to the target frame and plays the movie clip embedded in that frame. Fine. However if you then click the same button again (at this point the playhead should be on the target frame already) it plays the movie in the next frame rather than replaying the one in the target frame. Then if you click it for a third time it plays the correct clip. I think clicking the button whose target frame is the current frame causes the playhead to advance one frame for some reason. Then you are on the next frame so the button works properly again. Any ideas? |
|
|
|
|||
|
Re: Need help - Bug in flash website
I have noticed the same thing. I also know a way to prevent that.
I am supposing that you have a movie on consecutive frames. gotoAnd Play(12); gotoAndPlay (13); gotoAndPlay (14); etc... Instead of having 1 frame be the target, have 2. gotoAndPlay(12); gotoAndPlay(14); gotoAndPlay(16); these 12,14,16 frames should be blank keyframes with no scripting. Put the movie and stop(); on (13)(15)(17) etc.. so then gotoAndPlayrame(12) would send you to 12, which would pass you to 13 and stop and play. Clicking the same thumbnail would take you BACK to 12 and on to 13 again. Hope this helps. |
![]() |
| Tags |
| bug, flash, frame |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Looking for Flash Stars Rating System for our website investigation, Flash Stars Ra | ofcauseno | Starting Out | 2 | Feb 28th, 2008 12:54 |
| Looking for Flash Stars Rating System for our website investigation, Flash Stars Ra | henryf | Flash & Multimedia Forum | 1 | Feb 28th, 2008 00:55 |
| flash website HELP!!!!!!! | elementsk84 | Flash & Multimedia Forum | 1 | Aug 23rd, 2007 22:37 |
| FLASH a no-no in a website? | pmazolo | Flash & Multimedia Forum | 42 | Dec 1st, 2006 22:19 |
| A website in Flash | Diablo | Flash & Multimedia Forum | 1 | Oct 30th, 2006 17:22 |