Skip to main content
Inspiring
July 5, 2007
Answered

referencing layer names

  • July 5, 2007
  • 1 reply
  • 243 views
can layer names be referenced and manipulated in the AS of a swf? i know they serve a great purpose when editing and debugging a fla file, but they can they be used beyond that? let's say, something like using _visible to toggle the visibility of entire layer.
This topic has been closed for replies.
Correct answer kglad
no, layers only exist in the authoring environment. upon publication layers are used by flash to assign depths to your objects. depths can be controlled using actionscript, but not layers.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
July 5, 2007
no, layers only exist in the authoring environment. upon publication layers are used by flash to assign depths to your objects. depths can be controlled using actionscript, but not layers.