Multiple Actionscript 3 layers
问题 I'm wondering if I split up certain bits of code that are meant for different sections into different layers will they have functionality between them or act as separate things. (will I be able to reference a variable on one layer from the other?) Basically I have a set of code that runs throughout every frame but also need code specific to certain frames but still be able to access the main code. Thanks 回答1: You could have code that spans multiple frames as well as individual frame script: