Re: [flexcoders] Code-only Flex apps

2005-11-10 Thread Daniel Cascais
Manish,

Thanks for the info. I'll play arround with it, just to get the grip on things.

Daniel

  You'll need some setup MXML, like so:

  Application initialize=main()
 Script source=main_script.as /
  /Application

  In your main_script.as you write your main function (which is an
  instance method on the Application-derived class).  From there it's
  all yours.

  It'll be hard to do it without a _single line of MXML_ -- there's just
  so much setup code required (see the -generated.as file) that it's
  not work writing by hand.


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

--
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] Code-only Flex apps

2005-11-09 Thread Manish Jethani
On 11/3/05, Daniel Cascais [EMAIL PROTECTED] wrote:
 I've just started playing around with Flex 2's alpha and AS 3, so I
 might be missing something.

 Are we [going to be] able to build code-only Flex apps, using Flex
 components without a single line of MXML?

You'll need some setup MXML, like so:

 Application initialize=main()
   Script source=main_script.as /
 /Application

In your main_script.as you write your main function (which is an
instance method on the Application-derived class).  From there it's
all yours.

It'll be hard to do it without a _single line of MXML_ -- there's just
so much setup code required (see the -generated.as file) that it's
not work writing by hand.


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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




[flexcoders] Code-only Flex apps

2005-11-03 Thread Daniel Cascais
I've just started playing around with Flex 2's alpha and AS 3, so I
might be missing something.

Are we [going to be] able to build code-only Flex apps, using Flex
components without a single line of MXML?

I can't see any drawbacks with code-only (if you look at other
languages), but there might be, for which I would also like to hear
comments besides the yes/no answer.

Thanks,
Daniel Cascais


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

--
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] Code-only Flex apps

2005-11-03 Thread JesterXL
You could do insanity like this:
http://www.helpqlodhelp.com/blog/archives/000140.html

But then, you are missing out of the benefits of using MXML.  Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.

- Original Message - 
From: Daniel Cascais [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 10:04 AM
Subject: [flexcoders] Code-only Flex apps


I've just started playing around with Flex 2's alpha and AS 3, so I
might be missing something.

Are we [going to be] able to build code-only Flex apps, using Flex
components without a single line of MXML?

I can't see any drawbacks with code-only (if you look at other
languages), but there might be, for which I would also like to hear
comments besides the yes/no answer.

Thanks,
Daniel Cascais



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








 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

--
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] Code-only Flex apps

2005-11-03 Thread Mink, Joseph





The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





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

   
  







  
  
  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.



  









Re: [flexcoders] Code-only Flex apps

2005-11-03 Thread JesterXL





Don't get me wrong; 90% of my work currently in 
Flex is ActionScript; mainly because I'm building just what you said, extremely 
dynamic components.

...however, using those components is lovely, easy, 
MXML.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:20 AM
Subject: RE: [flexcoders] Code-only Flex apps

The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





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



  









RE: [flexcoders] Code-only Flex apps

2005-11-03 Thread Mink, Joseph





Yes indeed! Nothing like the convenience of MXML when 
you can use it...and it's easy to forget to use MXML if you're a developer fresh 
off another programming project (Java, C++, etc).

From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:27 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps

Don't get me wrong; 90% of my work currently in 
Flex is ActionScript; mainly because I'm building just what you said, extremely 
dynamic components.

...however, using those components is lovely, easy, 
MXML.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:20 AM
Subject: RE: [flexcoders] Code-only Flex apps

The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





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

   
  







  
  
  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.



  









Re: [flexcoders] Code-only Flex apps

2005-11-03 Thread JesterXL





Most definately. It took me months to feel 
comfortable working in MXML... months I tell you! I kept wanting to go 
back to my ActionScript comfort zone.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:29 AM
Subject: RE: [flexcoders] Code-only Flex apps

Yes indeed! Nothing like the convenience of MXML when 
you can use it...and it's easy to forget to use MXML if you're a developer fresh 
off another programming project (Java, C++, etc). 

From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:27 AMTo: flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] Code-only Flex apps

Don't get me wrong; 90% of my work currently in 
Flex is ActionScript; mainly because I'm building just what you said, extremely 
dynamic components.

...however, using those components is lovely, easy, 
MXML.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:20 AM
Subject: RE: [flexcoders] Code-only Flex apps

The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





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