Need help - Bug in flash website

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 8th, 2007, 13:33
New Member
Join Date: Jun 2007
Location: UK
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote

  #2 (permalink)  
Old Jun 8th, 2007, 16:17
Junior Member
Join Date: Jun 2007
Location: Arkansas
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Reply

Tags
bug, flash, frame

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 16:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43