Click here to Skip to main content
15,884,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Code that goes to another frame

btnstring.addEventListener(MouseEvent.CLICK,functionOnClick);

functionOnClick(event|MouseEvent)|void
{
	gotoAndPlay(4);
}


doesn't goes to frame 4, is that due to the flash version

and the scene keeps on playing itself

btnstring
is the instance name for button

What I have tried:

changed code and functions added script
Posted
Updated 19-May-19 6:12am
Comments
Richard Deeming 21-May-19 10:37am    
Flash is effectively dead at this point:
Flash & The Future of Interactive Content | Adobe Blog[^]
"Adobe is planning to end-of-life Flash ... will stop updating and distributing the Flash Player at the end of 2020"
four systems 22-May-19 8:51am    
thats true was good sw security vulnerability probably now its js css and html

1 solution

Try another "flash file". Or Browser. Or security setting. Or Flash version. Or different frame. Or different OS.

https://lifehacker.com/you-really-shouldnt-be-running-adobe-flash-player-anymo-1829721122
 
Share this answer
 
Comments
four systems 19-May-19 12:18pm    
would worc with html css and javascript thats more relevant; thancs

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900