1 Reply Latest reply on Aug 2, 2010 4:55 AM by CoreyRLucier

    Spark or MX ?

    danielexbss

      Hallo. I have a question. When i use tags for creating spark components like <s:Button/> the namespace s let me select if to create an mx components or a spark component. When i create it in actionScript and not with tags, for example:

       

      var myButton: Button = new Button();

       

      This button will be Spark or mx??

       

      Thx

       

      Max

        • 1. Re: Spark or MX ?
          CoreyRLucier Adobe Employee

          All depends on whether or not you import mx.controls.Button or spark.components.Button.

           

          Just an aside.  I recommend you breeze through an Actionscript tutorial prior to jumping in head first.  You'll have a much more pleasant time of it.

           

          -C