RE: [flexcoders] mx:ScrollView not known to compiler?

2005-07-14 Thread Dirk Eismann
Ok - this wasn't a good example. I basically need a ScrollView as the base for 
a custom component - don't mind the HBox :)
 
Dirk.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, 
Nick
Sent: Thursday, July 14, 2005 5:16 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] mx:ScrollView not known to compiler?


Well, why would you want to create a ScrollView object?  Most Panels, and in 
your specific case, your HBox, have properties HScrollPolicy and VScrollPolicy 
which allow you to turn on/off/auto(default) those scroll bars.  
 
I also believe ScrollView is just a base class for objects that use scrolls(not 
sure if it can be instantiated or not;abstract class???not sure)
 
Nick Sauro + R O U N D A R C H + bus 212.909.2335 + mob 914.882.3687
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk 
Eismann
Sent: Thursday, July 14, 2005 10:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mx:ScrollView not known to compiler?


Maybe I'am missing something obvious here (or my brain just melted because of 
30°C/86°F in the office) but why can't I use mx.core.ScrollView inside mxml? 
The sample below does not compile and gives the following error: "Don't know 
how to parse element "http://www.macromedia.com/2003/mxml:ScrollView";. It is 
not a known type or a property of mx.core.Application."

http://www.macromedia.com/2003/mxml";>
  

  


I also tried to build a MXML component that subclasses ScrollView but still no 
go. 

Ideas?

Dirk.


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



--
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 
<http://groups.yahoo.com/group/flexcoders> " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 







--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] mx:ScrollView not known to compiler?

2005-07-14 Thread Sauro, Nick





Well, why would you want to create a ScrollView 
object?  Most Panels, and in your specific case, your HBox, have properties 
HScrollPolicy and VScrollPolicy which allow you to turn on/off/auto(default) 
those scroll bars.  
 
I also believe ScrollView is just a base class for objects 
that use scrolls(not sure if it can be instantiated or not;abstract class???not 
sure)
 
Nick 
Sauro + R 
O U N D 
A R C H + 
bus 
212.909.2335 + mob 914.882.3687
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dirk 
EismannSent: Thursday, July 14, 2005 10:54 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] mx:ScrollView not 
known to compiler?
Maybe I'am missing something obvious here (or my brain just 
melted because of 30°C/86°F in the office) but why can't I use 
mx.core.ScrollView inside mxml? The sample below does not compile and gives the 
following error: "Don't know how to parse element "http://www.macromedia.com/2003/mxml:ScrollView". 
It is not a known type or a property of 
mx.core.Application."http://www.macromedia.com/2003/mxml">  
      
I also tried to build a 
MXML component that subclasses ScrollView but still no go. 
Ideas?Dirk.--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



--
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.