Skip to main content
Participating Frequently
May 28, 2019
Question

Multiple games with the same script on timeline

  • May 28, 2019
  • 0 replies
  • 113 views

I have an HTML5/js  project that contains the Main UI and four types of games (drag and drop;...etc) and a script for each type of game, that types will be repeated in the project 80 times.

To do that. I make  80 movieclips in the lib and copy/paste the script that corresponds to each type of game on the timeline..which results in a big js file with multiple repeated scripts.

Is there a best strategy for doing that?

This topic has been closed for replies.