4 Replies Latest reply on Jun 21, 2011 7:09 PM by Kristin95762

    question about multiple <Script> declarations

    Kristin95762

      I'm reading Flash Builder 4 and Flex 4 Bible.

       

      On page 121 it states:

       

      "Any particular <fx:Script> element can contain nested ActionScript or use the source property to link to an external Actionscript file, but it cannot do both at the same time. You can, however, have as many <Script> declarations in a single MXML file as you need>"

       

      My questions are about the last sentence.

       

      1)  They specifically used <fx:Script> and <Script>. Are these two different entities?

      2)  I've never seen examples of using multiple <fx:Script> declarations in a project. How would this work?

      3)  Are they promoting bad practices by making this claim?

       

      Thank you

       

      Kristin