Accessing objects across keyframes and layers

Hello,

I’d like to have all my scripting in one layer and one keyframe, yet I can’t seem to find how to access the instances across keyframes and layers.

for instance, beeing in layer1 and timeframe 1, how to access the objects in layer1 and timeframe 2 ? a concrete example, I have a login screen that navigates to a main screen, and I’d like to make most the main screen components invible for the first navigation.

_root.gotoAndStop(2)
frame2Object._invisible = false
works OK.

however the screen flashes, and I’d like to do
(…).frame2Object._invisible = false
in the init of the flash doc and then
_root.gotoAndStop(2)

is this possible ?

thank you.

Sebastien.