[Extendflash] parameter.removeItem() fails silently
Robert Davies
Robert.Davies at theboardworks.co.uk
Wed Mar 15 14:18:38 GMT 2006
I'm having trouble trying to remove objects from a parameter of type
Array on a stage element (using JSFL). I want do this so that I can
write a script to copy the parameters from a compiled clip to an
uncompiled one.
InsertItem() seems to work fine, however I run into a brick wall when I
try and remove the objects (so that the Array is clear if there are no
objects in the array on the source element). removeItem() works fine
until the last item, at which time the script ceases to execute, and
does not report any errors. This leaves me with one item left in the
list that I would then have to check for, and delete manually.
I have found a post on another forum about this, but they did not arrive
at any real solution:
http://www.actionscript.org/forums/archive/index.php3/t-60571.html
Robert Davies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20060315/d27cd3b0/attachment.htm
More information about the Extendflash
mailing list