How to remove objects that are created with the new

Hello

I'm having a problem create a behavior or a script to remove the new sprites created in the channels. I have a behavior script that creates new sprites using the following (Simplified) script:

First of all, a Beginsprite creates a gChannel_list and assigns a value of gChannel from the beginning. pSprite is used to set the sprite that is clickon in the mousedown .

on Beginsprite me
gChannel_List =]
gChannel = 70
pSprite = sprite (Spritenum)
end


In the mousedown gChannel is incremented and the newly created channel is added to the gChannel_list.

on Mousedown me

gChannel = gChannel + 1
theChannel = addat (gChannel_List, gChannel)
Members = pSprite.member

........

(gChannel) channel .makeScriptedSprite (Member, point (80,160))
Sprite (gChannel) .width = thememberW
Sprite (gChannel) .height = thememberH
Sprite (gChannel) .rotation = theMemberR
Sprite (gChannel) .moveablesprite = 1
Sprite (gChannel) .encre = 36
........

etc.

After the creation of several sprites based on the gChannel, globals include, for example, are returned.

-Global Variables-
gChannel_List = [71,72,73,74]
gChannel = 74


My problem is that I cannot delete these created gchannel sprites with a command of jargon. Remove them from the list, for example, using deletat(gChannel,1), does nothing to remove them from the scene (they disappear from the list). And while I can view their attributes such as width [n = getat (gChannel_list, x); put .width sprite (n)], nothing seems to relate to the removal of these gchannel sprites.

How do we?

Hope this is enough information. If this isn't the case, please let me know. I can give you everything that you could possibly need. Help, please.

Stem




You used "makeScriptedSprite()" to add a sprite channel. Try to use the reverse: "removeScriptedSprite()."

Tags: Director

Similar Questions

  • How to remove photos that are NOT on the photo stream

    I downloaded pictures from my camera to the computer, then on my iPhone.

    I cannot delete them now.

    The only way is to delete them from my computer I DON'T want to do.  I want to just delete from my iPhone because they take up far too much space.

    Help please.

    Hello Dolek,

    Welcome to Apple Support communities.

    It sounds, you want to know how to remove the pictures that have been synchronized to your iPhone, but you want to make sure that these photos are not deleted from your PC. Try to take a glance at the article below, the link that describes the process of synchronization of photos to a folder on your PC to your iPhone, and remove photos from the selected folder or choose a different folder that you want to synchronize the photos since.

    Sync photos from your computer to your device via iTunes - Apple Support iOS

    So long.

  • How to stop objects that are not on the scene that appears in a browser?

    I have text scrolling in my ActionScript 3.0 code and implies the full text of scrolling in from outside the area of the visible scene on the stage, then he again.

    However, when I view it in a web browser all that is outside of the scene is also displayed? How to stop browser view objects outside the scene and only show items when they're onstage?

    Thank you very much.

    Rhys

    If you want just a balance left - right, then just wrap the Flash content in a

    tag and then set it to center alignment.

  • Mix together 2 objects that are made with the NET tool

    Hello

    Please could someone give me a little advice in this regard?

    In the image below, you can see that I am trying to add a few stems look at the head, both the stems and the head is made with a gradient mesh.

    Is there a way to get the stems blend smoothly into the head?

    Set just behind looks not right, somehow.

    Thank you

    Sally

    help.png

    Try to make the nodes in the mesh to the transparent edges.

    Or choose the color of the mesh edge slot.

  • How to remove programs that are not in the folder "programs". Especially must delete Incredimail and Blekko other programs.

    I would like to uninstall programs Blekko like Incredimail and others.

    Hello JEFoulke,

    In addition to information from SC Tom, you can try the uninstall from the FixIt Solution Center:
    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    If this does not help, you can search the Internet for programs uninstall 3rd party software.

    Let us know if that helps.

    Thank you!

  • How to reject records that are incompatible with the definition ODI 11 g data store?

    Buenas tardes.

    Como puedo girls los looking than any stupid fulfil the definition of length of atributos as hay in el data do not store? For example, in a process of integration llega a cuyo campo has a length of 50 characters first_name registro, pero base datos solo supports 40 characters. ODI in este falla y being the run y yo Necesito UN than rechace este registro y con continue the run. How I can control this event?

    Of photos muchas gracias.

    Hello

    Ah yes, I forgot about it.

    You can fool ODI by changing the logical length of the column in the data store in the model.

    In this way the I$ table will have a length of more than time and you won't have the problem.

    Kind regards

    JeromeFr

    PS: Your English is above the average on this forum, don't you worry. Most of us is not English-speaking.

  • How to make the color of ScrollBar that are created using the css code is displayed in Windows 8

    I wish I could understand how to get the color of ScrollBar that are created using the css code appears on my web design theme games. But I can't see them in Windows 8. Is there something that I need to enable to see colorful scroll bars? I'm used to be able to see them on my Windows XP computer. It is important for me because a lot of people like models with colorful scroll bars.

    Open the Tools menu and turn on "Compatibility view" to do.  Note that this works only in the desktop version of Microsoft Internet Explorer.

  • My students use the filling and the signature on a package of .pdf tool I'm going to fill them, but when they record and open the next day their text boxes, that they created with the bucket fill tool and sign all went and many are overlapping.

    My students use the filling and the signature on a package of .pdf tool I'm going to fill them, but when they record and open the next day their text boxes, that they created with the bucket fill tool and sign all went and many are overlapping.

    Hi chbradshaw,

    Instead of filling & signature, tool, use the text comment comment tool, KB doc option. using comments in the PDF, Adobe Acrobat DC files (keyword: Add a text comment).

    Kind regards

    Nicos

  • Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine

    Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine. My questions is the correct statement to the variable: $VmCreated7DaysAgo: $_CreatedOn "-lt" $CDate7.

    # #SCRIPT_START

    $file = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\VM-Repo.csv".

    $Import = import-csv $file

    $VMCreatedLast7RDayRepoFile = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\Last7Days.csv".

    $start7 = (get-Date). AddMonths(-1)

    $CDate7 = $start7. ToString('MM/dd/yyyy')

    $VmCreated7DaysAgo = $Import | Select-object - property name, Powerstate, vCenter, VMHost, Cluster, file, Application, CreatedBy, CreatedOn, NumCpu, MemoryGB | Where-Object {$_.} CreatedOn - lt $CDate7} | Sort-Object CreatedOn

    $TotalVmCreated7DaysAgo = $VmCreated7DaysAgo.count

    $VmCreated7DaysAgo | Export-Csv-path $VMCreatedLast7RDayRepoFile - NoTypeInformation - UseCulture

    Write-Host "$TotalVmCreated7DaysAgo VMs created in 7 days" - BackgroundColor Magenta

    Invoke-Item $VMCreatedLast7RDayRepoFile

    # #SCRIPT_END

    You can use the New-Timespan cmdlet in the Where clause, it returns the time difference between 2 DateTime objects.

    An example of this cmdley

    New-TimeSpan-start (Get-Date). AddDays(-7)-end (Get-Date). Select days - ExpandProperty

    In your case, you could do

    Where {(New Timespan-démarrer ([DateTime] $_.))} CreatedOn) - end $start7). {7 days - gt}

    But beware of negative numbers.

  • How to remove a specific email inbox with the client application code?

    Hello

    How to remove a specific email inbox with the client application code?  Please suggest useful links.

    Advanced thanks.

    Concerning

    Sunil.G

    Your question is a bit broad, so it is difficult to give you details.

    First of all, you must have the ID of the original message. Usually, you get either by hanging the message when he came into the Inbox (by implementing FolderListener), or by retrieving a list of mail of enamel "Store".

    Once you have this message ID, you call Folder.deleteMessage ().

    Here, there is a laboratory of Developer:

    http://NA.BlackBerry.com/eng/developers/resources/Labs/listeningforemail.jsp

    Moreover, classes to look in the API of reference:

    Store

    Folder

    FolderEvent

    FolderListener

    Session

    ServiceConfiguration

    Message (message RIM, not the J2ME)

  • The wizard of the driver NI-VISA creates drivers that are compatible with the 64-bit Windows XP/Vista version?

    The wizard of the NI-VISA driver creates drivers that are compatible with 64-bit Windows XP/Vista?

    InfiniteNothing-

    If you use a 64-bit compatible version of the NI-VISA driver, then the Assistant of the Driver NI-VISA is expected to create device drivers compatible 64-bit running in 32-bit mode.  You can find the various drivers of NI-VISA at http://joule.ni.com/nidu/cds/fn/p/sn/n23:1640/lang/en.

    Take care!

  • How to get data that are created the or before the last Wednesday

    Hi, can someone please tell me how to write a query to retrieve the data that are created the or before last Wednesday.

    Thanks in advance...

    Hello

    Here's one way:

    WHERE created_date< next_day="" (="" trunc="" (sysdate="" )="" -="">

    , "THURSDAY".

    )

    "Before Thursday' means the same as 'the or before Wednesday '.

    This assumes that NLS_DATE_LANGUAGE is English.  If you are not sure what is NLS_DATE_LANGUAGE, you can do this:

    WHERE created_date< next_day="" (="" trunc="" (sysdate="" )="" -="">

    , TO_CHAR (DATE ' 2014-03-06' - or any Thursday)

    , 'DAY '.

    )

    )

    There is nothing magical about March 6, 2014; will do any Thursday.  To_char will return the translation of 'Thursday' in all that is the current NLS_DATE_LANGIUAGE, and NEXT_DAY can use this value.

  • How can I preview of objects that are outside of the artboard.

    Hello

    When I placed an illustrator file in Indesign, I would choose cmd + D > select "Show Import Options" and we have a preview of the image. On some occasions, the preview will include all foreign objects that are outside the artboard and other times, it only displays the image within the artboard or the bounding box. (See attached examples)

    Anyone know the reason behind this?

    Thank you

    Sutagami

    The only way I can reproduce what you feel is if I save to an .eps and am not aware of the artboard check box on the save dialogue. If you deselect this checkbox you will get all the content in the file, if you select this check box, you will only get the bounding box designated on the artboard. But you never said what you are recording format or what version of Illustrator that you use. I have to assume you are in CS4.

  • Firefox wants to update (again!) now at version 6. How will I know that my extensions are compatible with the new version?

    I checked with the developer of the extension sites, but they do not yet report if the extension has been tested with Firefox 6.0. 3.6-4.0 switch left me with a gap in functionality of my extensions, although the switch of 4.0 to 5.0 went smoothly. I remember that the installer for 4.0 tested my extensions for compatibility before asking me to confirm if I wanted to install. 6.0, however, says he is already downloaded and just waiting for me to restart Firefox. Mozilla seems to be getting less polite and more aggressive on updates.

    When Firefox starts to install the updated version, it shows you the Add-ons that won't be Compatible with the new Firefox version that is being installed. You can cancel the Installation at this stage.

    I'm not sure about this, but you can also use - Add-on Compatibility Reporter 0.8.7

    Check and tell if its working.

  • Why can't I remove photos from files created with my new Lightroom Mac from PC Lightroom?

    I got a PC with Lightroom, I used to change a lot of pictures.  I have a Mac Book Pro, Rameau and installed the Mac with Lightroom version on it.  I imported the files that have been made using the PC version, but I can't delete them.  How can I solve this?

    Marvin

    According to exactly how you imported the files it is possible that you copied with the files defined in read-only.

    Search for one of the problem of the files in the Finder, right (or control), click on the file and select information.  Check the area of sharing & permissions.

Maybe you are looking for

  • Please cancel order

    Jin I just received an email indicating that I bought the order number "candy crush soda gold bar", W341734. May I know what is happening. I never made this purchase and I don't even play crush candy! To cancel this order.

  • When I select multiple messages by using SHIFT, Thunderbird crashes immediately.

    Relocation and Safe Mode do not solve the problem. A Google search reveals nothing.

  • Redirect one * site

    Hey guys,. I have a 2016 macbook pro 13 inches. So I was on a game forum, and I clicked on a link that will redirect me to a Web site called xvideos.com. IM afraid that my macbook has caught a virus or something - I couldn't open google or youtube fo

  • HP EliteBook: encrypted HD

    Hello My father PC is a HP elitebook. Today, he was unable to access his computer because it says "HP Drive Encryption" he no could not connect he doesn't know the password because he didn't fill it anywhere. You guys not the slightest idea where he

  • Necessary hinges

    Hello I have Lenovo Thinkpad T61. When I was with my laptop, I thought to tilt the screen a little bit. I heard a noise of 'TICK '. And I'm not able to close the laptop screen. If I try to close, the border of the LCD is bulging. I first thought that