How to delete a shape for real in JSFL (possible bug)

I have this big JSFL project I'm working on that involves deleting a raw shape (ungrouped) and then replacing it with another one.  The problem is that the original shape doesn't always actually get erased (I haven't figured out the precise circumstances where this happens yet though).  Even if it does get deleted, though, when I draw the new shape on the stage (using Path.makeShape), the new shape has extra vertices where its edges cross those of the original shape.  So even if I end up with the correct-looking shape on the stage without the one that was there before, my shape I just created is likely to have extraneous vertices (and I need the vertices to be unchanged).
Some details:
First I select all the shape elements in a frame by looping through the frame elements, adding any with elementType == "shape" and isGroup == false to an array, and then set fl.getDocumentDom().selection to be that array.  Then I call  fl.getDocumentDom().deleteSelection().  Then I call myPath.makeShape() on a path I created previously.
So does anyone know of a workaround for this?  I've tried changing the selection and changing currentFrame to something else and back, but those didn't help.  I tried deleting the shapes earlier -- before I do the work of building my path -- but still the same problem.
One idea I've just had: perhaps I could group the shape I'm going to delete and then delete the group.  Maybe that would solve it?
Anyway, if anyone has any ideas about this please let me know.  If any Adobe people are hanging out here, does this sound like a bug?  If so, is there a workaround for it?
-David

I tried the grouping idea that I mentioned and yes, grouping the to-be-deleted shape before deleting it solved my problem.  The question still stands, though: Is this phenomenon a bug?  Can anyone from Adobe comment on this?
-David

Similar Messages

  • How to delete table content for particular filed in a table?

    Hi Experts,
    How to delete table content for particular field in table?
    Thanks
    Ravilla

    Is it a standard or customer table, changing a standard table with non-standard tool can raise database inconsistencies...
    Then use search tool for &SAP_EDIT (*) or look for BAPI/BDC...
    Regards,
    Raymond
    (*) Also look for notes from 1420281 - CO-OM tools: SE16N: Deactivating &SAP_EDIT to 1915828 - CO-OM-Tools: Technical enhancement of SE16N

  • How to delete the Infoobjects for a particular dimension?

    Hi,
    How to delete the Infoobjects for a particular dimension?
    ( when i was trying to delete dimensions it is saying that the dimension contains infoobjects , u can not delete the dimension, what 2 do?)
    Thanx in advance,
    Ravi.

    Ravi,
    If you want to remove the Infoobject from Dimension then you need to delete the data from the cube and then remove the infoobject from that particular Dimension. I mean delete the assignment for that Infoobject.
    Assign Points if it helps..
    Incase if you need more help.. Please call me..
    Gattu

  • I have an iPad and want to know how to delete email addresses for those that I have sent email to.

    I have an iPad 2 and want to know how to delete email addresses for those that I have sent mail to.

    Email addresses that are not in your Contacts app but which still show up in Mail will disappear after a period of time when they are unused. Just ignore them and they will eventually go away.

  • How to delete the index for the business object BUS0033

    Hi to all experts,
    I'm applying note 1349496 the error here is no records with F4 help for the funds center .
    solution from the note
    Implement the attached program corrections. Then, in the transaction, delete the index for the business object BUS0033, reactivate it, and start the indexing in the indexing mode "Full". The system then displays the data correctly in the F4 search help.
    how to do the second part i have already applied the note .

    any help

  • How to delete the line for 300SAP* in table USR02 in SQL Management studio

    Hello
    I used to delete the line for 300SAP* in table USR02 in SQL Enterprise Manager. After I could log on with “pass”.
    I wander how to delete it in SQL Management studio. When I expand tdatabase it takes so long time and it is uncontrollable

    Hello,
    you have to delete the row by a sql statement.
    Open a new query and run a script like this:
    use <Your SID DB>                 -- e.g. use PRD
    setuser 'your sid in lowercase'  --- e.g. setuser 'prd'
    delete from USR02 where MANDT = '300' and BNAME = 'sap*'
    go
    Run a complete backup before deleting data manually.
    Regards
      Clas

  • Urgent: How to Delete all Cards for a Crawler through SQL

    Folks,
    Good morning! I am trying to delete 2 million cards (should have been expired, and makes the search index rebuild take days) in a single folder in the Knowledge Directory in the 6.1 portal. The job to delete the folder ("Apply Later") has been running half of yesterday and then all night with nothing being logged in PTSpy or the joblog, little or no CPU activity.
    Does someone have a DB query that can zap the cards for this crawler? I know how to select the cards for a particular crawler ID, but don't understand how to delete them properly such that all references to those cards in other tables also get removed.
    Much appreciate !!!
    Cheers!
    Edited by: Plumtree on Jan 21, 2009 7:28 AM (fixed an 'oops')

    You obviously are looking for someone who has done and tested this before, which I have not...but when I delete a folder the following happens for each card:
    delete from:
    PTFolderCards
    PTCards
    PTCardProperties
    PTCardSecurity
    PTCardStatistics
    PTMigration
    update:
    PTInternalCardInfo (RefreshDate = null, ExpirationDate = null, RefreshRateUnits = null, RefreshRateNum = -1, MissingDeleteUnits = null, MissingDeleteNum = null)
    PTCardStatus (indexing status set to 3)

  • How to delete a shape from Pages document

    Hi
    Created a document in Pages, added some shapes, saved document, now a few days later want to delete certain shapes from that document but cannot select shape to remove it. Read Pages Help, searched online but cannot find any information on how to do it, so, please how do I delete a shape?

    Helps if you tell us what version of Pages.
    Menu > Arrange > Section Masters > Make Section Masters Selectable
    or
    Menu > Arrange > Unlock
    Peter

  • How to delete all objects for one user from SE80

    Hi all,
    If i want to delete the customer objects defined in the customer space Y or Z from SE80. Object of one user is defined in one package, if i want to delete the pakcage it says, it contain the subobject. So can anybody help me how to delete the customer objects from SE80.
    Your response will be highly rewared.
    Tahnks,
    Salahuddin.

    hi
    good
    i think here you want to delege the development class, if you want to delete the particular development class you have to go for se09 where after selecting the particular development class you can select the delete button.
    thanks
    mrutyun

  • How to Delete unwanted Apps for ever?

    Sometimes we download 'apps', which may turn out just duds or NOT as good and functional as we expect them to be. Then we decide to delete and though they are deleted from iPad ( 4th Gen) or iPhone, the same remain in the iTunes and show up at the time of synching under App section.  The "Remove " option works only for deleting an app available on the device but not from iTunes ( computer) apps section. How can we Delete unwanted Apps for ever?
    Sometimes I wonder why Steve infused so mauch control into such mundane issues as deleting undesirable stuff?It irritates to the extent sometimes I feel, whatever is said Windows based OS is much more user friendly and truly functional...

    kilpauk wrote:
    The "Remove " option works only for deleting an app available on the device but not from iTunes ( computer) apps section.
    Have you tried Control-Clicking on the offending app?
    Followed by a click on Delete?

  • How to delete an Update for an App that is not loaded on phone?

    I have an App Update for an application that is not (and has never been - to my knowledge) loaded on my phone!
    How do I get rid of this update?
    OR should I install it, or try to install and then delete the App. (if it loads).
    This update does NOT show on iTunes site when the phone is connected. (not sure if it would show updates anyway).
    It's a casino games application - so if I install and delete will I get inundated with unwanted gaming Apps?
    And why should I get an update for an App that is not loaded - is this a software glitch, or just speculation by the writers to get some money????
    This phone was pre-owned by family member, and all the updates to date have been for Apps that I have downloaded, during the year or so of my use.

    Hey darwinobambino,
    It seems like you are asking about how to delete some an album on your iPhone. If this album is one that you have downloaded, then you can use the following article to help you delete it:
    iCloud and iTunes Match - iPhone
    http://help.apple.com/iphone/8/#/iphb8d9fd5a6
    Remove a song that’s been downloaded. Swipe left, then tap Delete. The song is removed from iPhone, but remains available from iCloud.
    View only music that’s downloaded. Go to Settings > iTunes & App Store. Under Show All, turn off Music.
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • How configure Define Account Determination for Real Time Integration

    Hi All,
    I am doing configure of new company just know about how do i configure for Define account determination for real time intergration. what is the use? Pleaes give me some clarity with example.
    Thanks
    Pankaj

    Hi,
    Please go through the below link:-
    http://help.sap.com/saphelp_erp2004/helpdata/en/22/c2cf4031288131e10000000a1550b0/content.htm
    Regards,
    Gaurav

  • How to delete handling units for a delivery

    While deleting delivery note there are hundreds of handling units.
    please help me how to delete handling units
    Thanks for the help
    Rajendra Prasad

    Hi
    u can delete Handling Units in change view delivery document.. Click Packing it will show Handling Units..By there itself u can delete..
    IN VL02N

  • How to delete sales area for a customer?

    Hi Experts,
    Are there any BAPIs or Fucntion modules that can delete sales area for a customer? What are the correct parameters should I fill in?
    If there's no BAPI or Function module... Kindly please assist me on how to execute the correct transaction to delete it.
    Thanks in advance!

    Hi Prasanna,
    I checked transaction VD06, indeed that it shows details for the sales area of a customer... but how can I delete the sales area data? There is a deletion flag for it? I tried to flagged it to deletion but when I tried to display it again through transaction XD03, it just give me the warning message 'Customer 20000702 is marked for deletion in the sales area selected' then it displayed the sales area...
    I checked the KNVV table and the data still exists however the field for deletion flag is raised to 'X'.
    I'm not sure if this is the proper way to delete a sales area. Can you please confirm?
    Thanks in advance!

  • How to delete the coverages for an ACTIVE service contract ?

    Hi ,
         I have created coverages for few service lines for a service contract in R12. The contract is in ACTIVE status. If it was in ENTERED state, I could use OKS_COVERAGES_PUB.DELETE_COVERAGE to delete the coverages. But this contract is in  ACTIVE status.
         Basically I want the lines lse_id=2,3 removed for a particular line (lse_id=1) which were created by using OKS_CONTRACTS_PUB.CREATE_SERVICE_LINE. This contract has a standard coverage and hence there should not be lines with lse_id=2,3 for that particular service line .
         Also, I am not able to delete a coverage for an EXPIRED contract.
         Please let me know if you need more information on this.

    Hi 2619098
    Did you find a solution for this? I am having the same problem. Please advice.
    Regards

Maybe you are looking for

  • Ipod Not Working - Battery Issue?

    I have read some about the battery life of an Ipod not being that long. And you have to send it in to be replaced. Is that true? If so, how do you know when the issue is the battery and not something else. I havea problem with my Ipod that is9 months

  • Multiple signatures in Mail

    The instructions on how to create multiple signatures in Mail seems very straight forward. However, I can only get one signature to appear. I have created 2 signatures for two separate accounts. Yet Signature #1 always dominates and #2 never appears

  • System Process Running out of Control - Overheating!

    The other day I arrived home and went to check my e mail and found my computer running at full tilt with the fans going all out and the case quite hot.  I thought maybe I had left dashboard open all day as I have done this before with similar results

  • My lock button is not working,it doesn't click what should I do to fix this

    My lock button is not clicking and it won't lock unless I push really hard and I really want to fix it how do I do that or do I have to buy a new one

  • Information of free certification exam

    Dear All Please find the below mail which mentioned about the free certification exam .kindly advice how to proceed further also whether any friends have received the same Congratulations on being named a 2011 Top Contributor at the 2011 Tech Ed Las