Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / June 2008



Tip: Looking for answers? Try searching our database.

Buttons not responding correctly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bill_mpls - 27 Jun 2008 06:48 GMT
Help
I am trying to get a simulation to work but I have problems with buttons not
responding to actionscript properly.
Here is how I have it layed out:
I have a labels layer with 12 keyframes labeled scn2A, scn2B...scn2L
I have a buttons layer with all of the buttons on it.
The buttons layer has 12 keyframes.
One button advance to the next frame, the other advances to the next scene.
Each keyframe has the same buttons but different instance names. scn2DwnA_btn,
scn2DwnB_btn...scn2DwnK_btn.
The last keyframe uses a different button with an instance name of scn2Ok_btn
here is the problem, when I test the movie everything works fine until the
last frame.
The DOWN button is used to advance each frame and then the OK button is used
to advance to the next scene
The down button has no script in the last frame but it is advancing to the
next scene upon a mouse click.
I would be glad to email source to anyone who would like to help.
Thanks
rritchey - 27 Jun 2008 17:06 GMT
How about simply posting some code....
bill_mpls - 30 Jun 2008 15:05 GMT
The code is just basic button code:
scn3Ok_btn.onRelease = function...
all code for each button is on a frame in an actions layer. each frame is a
keyframe.
So frame one actions would reference the instance names for the buttons in
frame one of the timeline.
Frame two actions would reference the instane names for the buttons in frame
two of the timeline.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.