RE: [flexcoders] {flexcoders} Beta 2: Absolute class reference

2006-04-13 Thread Matt Chotin










Imports are required no matter what, fully
qualifying the class doesnt necessarily get it linked in.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Langeberg
Sent: Friday, April 07, 2006 5:53
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] {flexcoders}
Beta 2: Absolute class reference





Any ideas why this doesn't work, without the imports? (I get a class
definition not found error). 
I should be able to reference classes this way,
without the imports!

NOTE: This code is being executed in an MXML app. 

 
 import com.cpds.nested.*;
 
 import com.cpds.nested.commands.*;
 
 
 
 function init() {
 
  var t1: com.cpds.nested.Test = new
com.cpds.nested.Test(); 
 
  var t2: com.cpds.nested.commands.Test =
new com.cpds.nested.commands.Test()
 
 } 

: : ) Scott 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] {flexcoders} Beta 2: Absolute class reference

2006-04-07 Thread Scott Langeberg



Any ideas why this doesn't work, without the imports? (I get a class definition not found error). I should be able to reference classes this way, without the imports!NOTE: This code is being executed in an MXML app.
   import com.cpds.nested.*;   import com.cpds.nested.commands.*;  function init() {var t1: com.cpds.nested.Test = new com.cpds.nested.Test();
var t2: com.cpds.nested.commands.Test = new com.cpds.nested.commands.Test()   } : : ) Scott






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.