Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
Subject: Delete item

Subject: Delete item

2004-05-04       - By julifos

 Back
Reply:     1     2     3     4  

Thanks, Eric!

jj

> The way to delete an element would be to do something like:
>
> var elt = fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0];
> var selArray = new Array;
> selArray[0] = elt;
> fl.getDocumentDOM().selection = selArray;
> fl.getDocumentDOM().deleteSelection();
>
> -Eric


__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Extendflash mailing list
Extendflash@(protected)
http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk