[flexcoders] How do you do this in flex

2005-04-04 Thread nostra72




Make an if statement that will run based on two conditions rather than just one. Is this possible to do in Flex?







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 the Yahoo! Terms of Service.










Re: [flexcoders] How do you do this in flex

2005-04-04 Thread John Daharsh

This seems like a simple enough question...

Scenario 1, 1 condition:

if(condition1)
{
   execute code;
}

Scenario 2, 2 conditions:

if(condition1  condition 2)
{
   execute code;
}

You do that in Actionscript -- this is a very basic idea in
programming. Did I misread your question?



On Apr 4, 2005 9:49 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  
 Make an if statement that will run based on two conditions rather than just
 one. Is this possible to do in Flex? 
  
  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 the Yahoo! Terms of Service.


 
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] How do you do this in flex

2005-04-04 Thread Jim Laing

ActionScript supports all the standard boolean operators.  for and,
|| for or, etc. So if(cond1 || cond2) { ... } Is that what you mean?

On Apr 4, 2005 11:49 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  
 Make an if statement that will run based on two conditions rather than just
 one. Is this possible to do in Flex? 
  
  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 the Yahoo! Terms of Service.


 
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] How do you do this in flex

2005-04-04 Thread Abdul Qabiz





Hi,

If you are talking about 
some mx:If mxml tag, sorryits not there. Because there are 
better ways of doing the same. As suggested, you can use actionscript for such 
things...

Feel free to dig into 
archives or ask here for any further queries...

-abdul



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 9:46 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] How do you do 
this in flex
No you didn't you have to understand I am just starting out thanks 
for answering 







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 the Yahoo! Terms of Service.