10 Replies Latest reply on May 10, 2011 11:19 AM by Adrien.

    Two questions for Flex developers

    Adrien. Level 1

      1)

       

      How do I remove the default flex chrome after setting the system chrome to none? this is for a s:WindowedApplication. apparently showFlexChrome="false" doesnt work as its not apart of the spark.componets.WindowedApplication

       

      2) For loops....Out side the script section...thats right .....

       

      have something like:

       

              <s:DropDownList includeIn="CharacterRecord,MainWindow,ManinWindow_Menu,Priest,Pub,Shop"
                              x="168" y="104"
                              buttonMode.CharacterRecord="true"
                              buttonMode.MainWindow="true">
                  <s:ArrayCollection>
                      <fx:String>Lorem</fx:String>
                      <fx:String>Ipsum</fx:String>
                      <fx:String>Dolor</fx:String>
                      <fx:String>Sit</fx:String>
                      <fx:String>Amet</fx:String>
                  </s:ArrayCollection>
              </s:DropDownList>

       

      I need to place a for loop around the fx:string (just one) to populate the collection with a series of items. How ever since this is not HTML and PHP I am wondering how this would get done.

       

      Because in PHP i would initilize my array list at the top of the page call my for loop around a list, walk it - populate the list and be on with life. How is that done in Flex?