Is it possible to remove a dynamic class properties?

I have a dynamic ActionScript class that allows you to send parameters to a Web service. Some of these settings are still present, so that they are public properties of the class:

package
{
[Bindable]
public class dynamic WebServiceCriteria
{
public var property1:int;

public var property2:String;

public var property3:String;

public var property4:String;
}
}

But, I also add properties during execution that can change over time:

criteria.runTimeProperty = "1";

I'm not very familiar with the use of dynamic classes, so I was wondering if it is possible to 'remove' the new property. Let's say that the next time I call the Web service, I don't want the property sent - not even not as a null value. How can I remove it from the instance of the class without creating a new instance every time?

Hello

Please try to remove criteria.runTimeProperty. You can find more information about the operator delete the address below.

http://livedocs.Adobe.com/Flex/3/langref/operators.html#delete

I hope this helps.

Tags: Flex

Similar Questions

  • Is it possible to remove a safety class?

    I've added a class of bad security in shared services.

    Anyone know how I can remove it?

    Thank you!

    In the SSP when looking at or the definition of security, there is an icon small basket that can be used to delete a class. It's just to the right of the "available classes" and just above the scroll bar.

  • AS3 - Dynamic class names with * new * operator

    I use AcrtionScript 3 and Adobe Flash 9 Public Alpha.

    I have 50 clips in the library that use the binding to set the class name: Img1, Img2, Img3,..., Img50.
    I have a parent named RandImg class. I want the constructor of RandImg select one of the 50 film clips from the library randomly and display it. I could get this to work by generating a random number and then writes a statement to switch really huge to associate each random number to its name of library Movie Clip respective class, but I'd rather do it with a name of variable dynamic/class based on the random number, such as:

    var nImgChoice:Number = Math.floor (Math.random () * 50) + 1;
    var mcImg:MovieClip = new ["Img" + String (nImgChoice)] (of).
    addChild (mcImg);

    Note that this has been possible in AS 2 as follows:

    this.attachMovie ("Img" + String (nImgChoice), "mcImg", this.getNextHighestDepth ());

    Suggestions?
    Thank you
    ~ JC

    import flash.display.DisplayObject;
    import flash.display.Sprite;
    import flash.utils.getDefinitionByName;

    var nImgChoice:Number = Math.floor (Math.random () * 50) + 1;
    var ClassReference: Class = getDefinitionByName ("Img" + String (nImgChoice)) as
    Class;
    var object: instance = new ClassReference();
    addChild (DisplayObject instance (instance));

  • Is it possible to remove a file from your time Machine?

    Is it possible to remove a file (s) from your time Machine?  When I tried, I got a pop up says that backs up the items cannot be changed. How do you get the room on your Time Machine disk?

    Time Machine takes care of its own needs of storage itself, without interfere you in the process. When the TM drive is running out of storage space, TM will remove older backups if necessary.

    Time Machine backups are very sophisticated in what is backed up at what time. It is not as simple as just delete the backups 'elders '. Let TM its magic in itself.

  • Is it possible to remove pictures/videos from the iphone and have yet to back them up in the iCloud?

    Is it possible to remove pictures/videos from the iphone and have yet to back them up in the iCloud?

    At the moment the iCloud synchronizes only with what is already on my iPhone.

    This article should help you remove photos from my photo - Apple Support stream

  • Possible to remove the rechargeable battery (battery) for a long time?

    I have laptop Satellite U940. Is it possible to remove the rechargeable battery, for example, for several months, while I use the laptop with external power only? Is - harmful to the battery?

    When I'm at home, I usually use the laptop with external power supply only. I rarely need to the rechargeable battery.

    Of course, it is possible and you can do it, but I really put t know if it's so important. Long time ago, that it has a meaning, but today, when the laptop uses the latest battery technology something like this is unnecessary.

    I have old Satellite P200 and he is 5 years old. I ve never removed battery and even now I can use the laptop almost 2 hours on battery power (depends on the supply and usage parameters).

    My advice is to use your laptop with battery and from time to time it is empty. These circles are good for the life of the battery.

  • The photos in iPhoto and the same pictures? Is it possible to remove/save the photos to iPhoto?

    The photos in iPhoto and the same pictures?  Is it possible to remove/save the photos to iPhoto?

    Yes, they are literally identical. That is to say, time iPhoto Library and photo library (link) to point to the same files on your drive.

    The two libraries does NOT duplicate these files. If you delete the iPhoto library you will find very little storage space.

    My suggestion would be to leave in place iPhoto library until you have the habit of Photos and know with absolute certainty that all migrated to Photos correctly. Even in this case, you can copy, save a copy on a disk external backup and only remove them from your main drive.

  • 8610 all-in-one printer: I can't download the firmware update to remove the dynamic security

    "For not original hp ink users an update of the firmware option to remove the dynamic security is now available for select Officejet, Officejet Pro printers Officejet ProX."

    I have bee patiently for the "fix".   Following the posted signs: http://support.hp.com/us-en/document/c05308850?openCLC=true

    Step 2) "click your HP printer model in the table below and run the file to update the firmware downloaded from your Internet browser."

    Seems to have no option to run the download of my Internet browser.

    I use Safari (and that's all I intend to help).  When I click on the download, I get an error message that says: there is no application to open the file. I tried to right click 'open with' - any of these options are internet browsers.

    Can you offer any help?

    Hello

    Option updte to remove the functionality of dynamic security listed in the document is only intended for a Windows PC.

    Download and install the update by using the following link for Mac OS:

    http://FTP.HP.com/pub/softlib/software13/printers/OJP8610_R1640B.dmg

    Kind regards

    Shlomi

  • Is it possible to remove providers ranked game 5?

    Hi all

    I have a new HP desktop computer that included a HP/Wild Tangent game with trial games console, but I uninstalled it through uninstall programs.

    However, when I click on the games on the start menu, the following screen shows 5 suppliers of game related to Wild Tangent, such that, all casual, all family, all kids games games games, & so on, but I don't see any way to remove these other that hide them? These same elements also appear in the start menu > all programs > games > & appear in the upper part above Microsoft games.

    Does anyone know if it is possible to remove these, or are these icons that is supposed to be there, but not connected to the Wild Tangent?

    If anyone can help, then many thanks!

    Ian.

    Ian,
    If you are not able to right click and delete the icon then you may want to check with HP.  Given that these have been preloaded HP may be a tool of suppression for them.
    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Is it possible to remove the boot.ini through desktop remotely?

    If a user is logged on Windows XP or Windows 2003 via Office system remotely is it possible to remove him/herself the boot.ini by all means?

    In a typical installation only partition of XP, it will boot fine without a boot.ini file (if not, there is another problem).

    If the boot.ini file is missing, you will see a message like this:

    Invalid BOOT. INI file
    Booting from C:\windows\

    XP always starts very well despite the message, then you can fix the missing file if that's your desire.

    You're just a few experiences or y at - it any particular problem you're trying to solve?

  • Collage of album covers in the past I copied and pasted the album art to my music (MP3) have ripped off a disk files. Is it possible to remove the art I ad

    original title: collage of album art

    Hello everyone, I have a question... In the past I have copied and pasted album art to my music (MP3) have ripped off a disk files. Is it possible to remove the art that I added and to restore the original empty file?

    Hello
     
     
    Method 1:
     

    Album art should appear in the view "is on the air." However, if you select the album of the artist, the album art is not displayed.
     

    In the upper right corner there is Options to view fall down. Change the details to tiles view expanded and the cover of the album should reappear.
     

    If this does not help, then go to the center of the Action. Click on troubleshooting.
     

    Click Show all on the left side, and then select Windows Media Player troubleshooting
    Options.
     

    Refer to this link and check if it helps:
     
     
    Method 2:
     
    Try to clear the database of Windows Media Player. To do this, follow these steps:
     

    a. exit Windows Media Player.
    b. Click Start, run, type %LOCALAPPDATA%\Microsoft\Media Player and then click OK.
    c. Select all files in the folder and then click on Delete on the file menu.
     
    Note: You don't have to remove the folders that are in this folder.
     
    d. restart Windows Media Player.
     
     
    Note: Windows Media Player automatically rebuilds the database.
     
    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:
     

    a. exit Windows Media Player.
    b. Click Start, click Run, type % LOCALAPPDATA%\Microsoft and then click OK.
    c. Select the Media Player folder, and then click on Delete on the file menu.
    d. restart Windows Media Player.
     
  • Is several attempts to create add Hoc network, possible to remove traces of previous attempts?

    OT: Wireless networks.

    I tried several times to add an ADD - HOC network to my lap top.  I finally did, but because of my multiple attempts, I now have a wireless network called

    'name 6'  Is it possible to remove traces of previous attempts and my network called "name"?

    Hello

    How to remove a wireless network in Windows 7
    http://www.SevenForums.com/tutorials/120670-wireless-network-remove.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Is it possible to remove or disable the office bar see the taskbar?

    Show the desktop on the taskbar

    Is it possible to remove or disable the office bar see the taskbar?

    so doing several clicks is better than 1?

    Send your comments to MS and ask that the button can be deleted in Windows 8:

    http://mymfe.Microsoft.com/Windows 7/Feedback.aspx? formID = 195

    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • Is it possible to display the dynamic value in the ToolTip? I tried: this.assist.toolTip.value = this.rawValue; for a text field 'property MouseEnter', but it does not display the current raw value. It displays a previous raw value of the field... Guilty

    Is it possible to display the dynamic value in the ToolTip?

    I tried:

    this.assist.toolTip.value = this.rawValue; for a text field on 'ownership' MouseEnter

    but it does not display the current raw value. It displays a previous raw value of the field...

    I wrote 'YYYY', but is not displaying on the first mouseEnter event

    Capture_1.JPG

    When I show event mouseEnter for the 2nd time it gives good value.

    Capture_2.JPG

    Now, I changed the "BBBB" value but the first mouseEnter event it displays the value previous i.e. "YYYY."

    Capture_3.JPG

    I found the solution. I wrote the script ("this.assist.toolTip.value = this.rawValue ;") on 'property MouseEnter' but the need to write the script to the "Output" of the field event. ")

    Thank you.

  • Could someone please tell Adobe programmers to give the possibility to remove ' home, tools, documents, learn Adobe icon, link icon Mobile and sign in "from the Acrobat Reader toolbar.

    Could someone please tell Adobe programmers to give the possibility to remove ' home, tools, documents, learn Adobe icon, link icon Mobile and sign in "from the Acrobat Reader toolbar.

    Even assuming that we could achieve these programmers they don't make decisions like that, do marketing.

Maybe you are looking for