<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Actionscript 3 Question in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/actionscript-3-question/m-p/278931#M6614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm a programming newbie and this forum has been a great resource. I'm hoping someone can answer this simple question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a form dynamically in actionscript by adding a checkbox to a formitem and then adding the formitem to the form. My question is, how do I access the checkbox programatically?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jul 2010 15:03:24 GMT</pubDate>
    <dc:creator>JamesKo</dc:creator>
    <dc:date>2010-07-16T15:03:24Z</dc:date>
    <item>
      <title>Actionscript 3 Question</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/actionscript-3-question/m-p/278931#M6614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm a programming newbie and this forum has been a great resource. I'm hoping someone can answer this simple question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a form dynamically in actionscript by adding a checkbox to a formitem and then adding the formitem to the form. My question is, how do I access the checkbox programatically?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 15:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/actionscript-3-question/m-p/278931#M6614</guid>
      <dc:creator>JamesKo</dc:creator>
      <dc:date>2010-07-16T15:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Actionscript 3 Question</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/actionscript-3-question/m-p/278932#M6615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could probably just get a child by name..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Be sure to set the &lt;/SPAN&gt;&lt;STRONG&gt;name &lt;/STRONG&gt;&lt;SPAN&gt;property when creating your controls dynamically so you can later refer to them.. then try a method like below to get your checkbox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private function getCheckBoxByName(name:String):CheckBox
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var chk:CheckBox = myForm.getChildByName(name) as CheckBox;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return chk;
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where &lt;/SPAN&gt;&lt;STRONG&gt;myForm &lt;/STRONG&gt;&lt;SPAN&gt;is the id of your form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:34:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/actionscript-3-question/m-p/278932#M6615</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2021-12-11T13:34:25Z</dc:date>
    </item>
  </channel>
</rss>

