Adobe Flex For The OI Guy – Part 4 – Loops
Last Updated on Thursday, 28 January 2010 06:36 Written by admin Monday, 25 January 2010 03:46
.gif)
In this edition of "Adobe Flex for the OI Guy", we will discuss Actionsscript loops and how they compare to OpenInsight's loops. First I will give you some links for you to review Actionscript loops, then I will go into detail on how it differs from OpenInsight's Basic +.
For you to review Actionscript loops, visit here. This will give you a good overview of what loops are all about.
Actionscript your OI
The For Loop statement
In OpenInsight:
In Actionscript
Notice in the Actionscript example, the set up is a bit different. We set "i" to 0 and set "z" to 10. The second part of the For loop setup is the condition for when the loop runs. In this case the loop runs until "i" is greater than or equal to "z". Finally, the third part of the setup is how we increment "i". In this example, "i" is incremented by 1 each loop (i++).
The Loop statement
In OpenInsight:
Until
While
In ActionScript:
While
Do While
There are other loops in ActionScript, however the scope of these articles is a comparison of OpenInsight's Basic + and Adobe's ActionScript. Next week, Functions!
- 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