Layers are not objects in Flash that you can control that way. IYou can take whatever is on a layer and convert it to a symbol that you can manipulate.
Thanks a lot for your help!
Sorry to bother you again!
I try to use setSelectedFrames(frame1,frame2, false) to select multiple frames, but it seams this method can only select frames in one layer,
Is there a way I can select frames in multiple layers all at once?
thanks a lot!