954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Button only works for first 3 frames?

Ok i have included a next button on my first 5 frames and placed the one code for that button in another layer so it corresponds to all the next buttons.

once published i have noticed that it works fine if i have the next button on every page, however the problem occurs when i remove one next button from say frame 3 and then once i skip to frame 4 using a sidrebar button the next btuuon does not operate on that page? Its as if flash wants me to have it on every page so that it works?

snitch321
Junior Poster in Training
63 posts since Nov 2007
Reputation Points: 9
Solved Threads: 2
 

Cant help much without looking at source fla. But why whould you need to put same button with same code on every keyframe. Rather make a new layer and say you have 5 keyframe, just put frame till there on button layer.

PS: Be careful, Keyframes and Frames are different.

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

yes that is what im saying, ive put the one code for the next buttons on a different layer (action layer) so that i dont have to write the code individually for every frame.

snitch321
Junior Poster in Training
63 posts since Nov 2007
Reputation Points: 9
Solved Threads: 2
 

Yeah, but you still have inserted button on every keyframe. Better put it one one keyframe on another layer and extend the frame till end. Again I cant help much without source!

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

ok just attached the source file so you can have a look at m8, as requested.

Attachments Teaching_tool.zip (353.18KB)
snitch321
Junior Poster in Training
63 posts since Nov 2007
Reputation Points: 9
Solved Threads: 2
 

Oups, I think you've got Flash CS4 because I cant open the FLA. I have CS3.

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

yes i have got cs4 i thought you knew that. despite this altercation and it not being solved i must say i really appreciate you spending your time and the length of your efforts to solve my problem m8.
I made this rule up that for every post i put on i should attempt to solve at least one of someone else's.

snitch321
Junior Poster in Training
63 posts since Nov 2007
Reputation Points: 9
Solved Threads: 2
 

Hey, do this....File>Save As... and on "Save as Type" combo select CS3 version. Every version of flash till now has an option to save FLA in its predecessor's format.

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

Actually you have not use the next button in a single frame, Instead of that you used the next button in several frames.

You should place more codes relevant to the button location (frame).Please look into the attachment for your solution.

Attachments Teaching_tool.zip (450.52KB)
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
 

yea cheers rajar, i decided to do what you suggested and to individually provide the code for each cluster of frames i put the button on, instead of providing one piece of code for all the buttons on another layer. Im starting like you rajar

snitch321
Junior Poster in Training
63 posts since Nov 2007
Reputation Points: 9
Solved Threads: 2
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: