Adobe Flex For The OI Guy – Part 2 – Operators
Last Updated on Sunday, 10 January 2010 12:11 Written by admin Thursday, 24 December 2009 11:09
.gif)
In this edition of "Adobe Flex for the OI Guy", we will discuss Actionsscript Operators and how they compare to OpenInsight's Operators. First I will give you some links for you to review Actionscript operators, then I will go into detail on how it differs from OpenInsight Basic +.
For you to review Actionscript operators, visit http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/operators.html. This will give you a good overview of what the operators are all about.
Actionscript your OI
Arithmetic is essentially the same.
Comments
Comments are also the same, however '*' (astericks) are not supported.
Comparison Operators
Comparison operators are quite a different concept all together.
In OpenInsight:
In Actionscript:
Notice the "==" instead of just "=". This is to differenciate between assigment of a variable and comparison of a variable. It is much more strict than OpenInsight, but you can see that there is no mistaking the action that is taking place.
"Not equal to" is also a bit different.
In OpenInsight:
In Actionscript:
Or you can use:
Logical Operators
Logical operators are also quite a different concept.
In OpenInsight:
In Actionscript:
Strings
Dealing with strings is another different aspect to going from OpenInsight to Actionscript, but for the purpose of operators… Not so much different.
In OpenInsight:
In Actionscript:
Now, by the book strings are enclosed in double quotes ("), however, single quotes (') also work is Actionscript 3.0.
Obviously there are more operators. But, the focus of this article was to show you how operators in Actionscript relate to your knowledge of OpenInsight programming. As we get deeper into how to make you OpenInsight database and web service "talking" with each other, these topics will be covered. Next article — "Conditionals"
- 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
ok, good post.
Hello there, amazing web site you’ve gotten right here, however I simply had to tell you about what might most likely be a internet browser compatibility matter. I’m using Windows XP 32 bit with Ie, and the format is screwed up. It’s a little bit difficult to see a number of portions of the blog, and I am running my screen resolution at 1680 x 600. I believe you didn’t aim for your web-site to appear so strange, so could there be any way you’ll be able to help me deal with this issue?
When purchasing SEO softwares, always make sure that you are careful with automation and try not to spam too much.
You write really interesting, the topics are cool. I like your web site. For how long have you been blogging? How much time do you spend on on blogging? I hope that I can use some of your opinions on my blog. Yours, Peter