I've build a topotrainer in Flash consisting of 50 states. For every state I made a frame. The code of these 50 frames should be the same for all, while the graphics defer. If I put the code on the first of the 50 frames it is only working there. If I put the code at every frame I get a lot of errors, because all the functions are doublated.
Is there a way for all the 50 frames to run the same code?
Thanks for your time,
Justin
