• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there No need to Import packages when working with Classes in Flex ??

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when working with Arrays or ArrayCollection , why is it not necessary that we dont include their package for example

we can use an Array directly as shown and we dont need to include an mx.Array class ??


and the same in the case of a String as shown



Please share your ideas

Thanks in advance
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In MXML some stuff is imported by default.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic