Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-20-2012, 03:24 PM   #1
Join Date: Oct 2005
Posts: 40
Default Delete a specific layer?

I'm trying to delete a specific layer but can't get it to work.

//Set timeline
var timeline = fl.getDocumentDOM().getTimeline();

//Find layer index
var layerIndex = timeline.findLayerIndex("Layer 1");

//This works

//This doesn't work

Any ideas would be appreciated...


101_North is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:21 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.