Adobe Flex For The OI Guy – Part 3 – Conditionals
Last Updated on Sunday, 10 January 2010 12:12 Written by admin Friday, 8 January 2010 03:24
.gif)
In this edition of "Adobe Flex for the OI Guy", we will discuss Actionsscript conditionals and how they compare to OpenInsight's conditionals. First I will give you some links for you to review Actionscript conditionals, then I will go into detail on how it differs from OpenInsight Basic +.
For you to review Actionscript conditionals, visit here. This will give you a good overview of what conditionals are all about.
Actionscript your OI
The if statement
In OpenInsight:
In Actionscript:
Notice the parenthesis around the condition in Actionscript. Also, instead of the "then" keyword in Basic +, Actionscript uses the "{" and "}" curley braces.
Using Boolean Operators
As shown in an earlier post on Operators, the below code shows boolean operators in your conditional statement.
In OpenInsight:
In Actionscript:
Case Statements
In OpenInsight, Case statements are utilized for conditional branching. In actionscript, it is not called a Case statement, it is known as a Switch statement.
In OpenInsight:
In Actionscript:
"Default" is basically an "otherwise" statement.
Next week — Loops!
- Share this on Facebook
- Share this on Linkedin
- Share this on Tumblr
- Blog this on Blogger
- Share this on Tipd
- Share this on del.icio.us
- Share this on Blinklist
- Digg this!
- Post this on Diigo
- Share this on Reddit
- Buzz up!
- Stumble upon something good? Share it on StumbleUpon
- Share this on Technorati
- Share this on Mixx
- Post this to MySpace
- Submit this to DesignFloat
- Tweet This!
- Email this to a friend?
- Suggest this article to ToMuse
- Subscribe to the comments for this post?
- Seed this on Newsvine
- Share this on Devmarks
- Add this to Google Bookmarks
- Add this to Mister Wong
- Add this to Izeby
- Share this on PFBuzz
- Mark this on BlogMarks
- Submit this to Twittley
- Share this on Fwisp
- Moo this on DesignMoo!
- Share this on BobrDobr
- Add this to Yandex.Bookmarks
- Add this to Memory.ru
- Add this to 100 bookmarks
- Add this to MyPlace
- Submit this to Hacker News
- Send this page to Print Friendly
- Bump this on DesignBump
- Add this to Ning
- Post this to Identica
- Save this to Xerpi
- Share this on Wikio
- Tip this to TechMeme
- Sphinn this on Sphinn
- Post this to Posterous
- Grind this! on Global Grind
- Ping this on Ping.fm
- Submit this to NUjij
- Submit this to eKudos
- Submit this to Netvouz
- Submit this to Netvibes
- Share this on Fleck
- Share this on Blogosphere News
- Blend this!
- Add this to Wykop!
- Engage with this article!
- Share this on Hyves
- Push this on Pusha
- Bookmarks this on Hatena Bookmarks
- Store this link on MyLinkVault
- Submit this to SlashDot
- Add to a lense on Squidoo
- Submit this story to Propeller
- Submit this to FAQpal
- Clip this to Evernote
- Submit this to Meneame
- Submit this to Bitacoras
- Submit this link to JumpTags
- Share this on Bebo
- Submit tip to N4G
- Submit this to Strands
- Promote this on Orkut
- Add this to Stumpedia
- Post this to Current
- Share this on Plurk
Tags: Actionscript, Flash, Flex, OpenInsight, Tutorial
Fantastic goods from you, man. I’ve understand your stuff previous to and you are just too wonderful. I really like what you’ve acquired here, really like what you are stating and the way in which you say it. You make it entertaining and you still care for to keep it sensible. I can not wait to read much more from you. This is really a wonderful site.
As you see your rankings climb you must see a corresponding improve in web traffic and a substantial increase in sales enquiries.
Hi there Tonette Richarson right here, I was simply looking for info about CLB IT – » Adobe Flex For The OI Guy – Part 3 – Conditionals in google. So happy to have arrived at http://clb-llc.com/index.php/openinsight/adobe-flex-for-the-oi-guy-part-3-conditionals to understand about this info. Ended up saving me a ton of energy, thank you.
Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy.The overall look of your site is wonderful, let alone the content!
Nice blog here! Also your site loads up fast! What host are you using? Can I get your affiliate link to your host? I wish my site loaded up as fast as yours lol.