Include a DB in an AIR Application

Written by BornA. Posted in Adobe AIR, English, Macro Blog, Technologies

Today, when I was reading my new Flex 4 cookbook, I saw the little, nice and almost old tip in there that will talk about that here, just as same as the book. The problem is including a database in an AIR application… We want to include an existing SQLite database with an Adobe AIR application. We can embed an existing SQLite database in our AIR application and copy it to another folder to interact with.

Ahora Quien?!

Written by BornA. Posted in English, Macro Blog, Music, Personal

These last and many next days will be torture for me. Anything is colorless and quiet! Anyway, I’m spending almost all of my times, with listening to Ahora Quien (Who will it be? – Who now?) from one of my favorite singers, Marc Anthony. And yes, now you are listening to it with my soundcloud plugin. Regardless of Marc’s great voice, I can mentioned that the lyrics of this song is awesome. It makes me calm. And now I want to share these little little calm and gracious times with you…

Container’s right side scroll-bar to left

Written by BornA. Posted in Adobe Flex, English, Macro Blog, Technologies

Few days ago, I was working on one of my Flex project in the office. I called a persian text with WCF webservice, and import that to my RichEditableText’s textFlow. everything was fine, except my RichEditableText scrollBar position that was in the right, and of course I don’t want that. So, googled that but I didn’t find a suitable way for myself. So, posted that in Adobe forums, in here and as you can see, there is no answer yet! So I got to work myself and did it at last. In the first block of codes below, You can see that I’m importing a common language text (such as English) with Left-to-Right direction to textFlow and then bind it to a RichEditableText. I’m using Scroller tag to make my text to have a little Scroll-Bar.