3 Replies Latest reply on Feb 28, 2008 7:41 PM by smscentral

    swf loader

    smscentral
      can swfloader load a swf file whose mxml file does not contain <mx:application> tag.
      i get the following error

      type coercion to convert ----- to mx.managers.Systemmanagers.

      and when i put <mx:application> it works fine

      sample

      main.mxml
      <mx:application>
      <mx:form>
      <mx:swfloader source="example.swf"/>
      <formitem>
      <text>abcd</text>
      </formitem>
      </mx:form>
      </mx:application>

      example.mxml
      <panel id ="userpanel">
      <list>
      ---
      ---
      ----
      </list>
      </panel>

      here there is noy mx:application tag,i get the above error
      and when i put application tag..it works fine

      sorry for my unclear code,but i hope the issue is clear..
      swfloader can only load the application swf or any swf file??????