Twitter Feed within a Flex/Air Application

I'm trying to move forward an appilcation I created so that it integrates a live webcam that is twitter account when users access the application their own Twitter account is shown it contains and is updated live.

I have no experience in using either twitter itself or how to integrate twitter feeds specifically in a flex/air application and I was wondering if someone can tell me exactly what I need to do to get there?

Another addition that my client asked is the use of live images. The application itself is basically an interactive favorites with users clicking menu on and adding links to sites within the app. Each of these links is represented by an icon that is actually a screenshot of each site. I want to change this so that those images, direct change AS the site themselves so that they are constantly updated. Is this also possible at all, and if so someone can give me advice on how this could be done?

Get your twitter RSS feed

Put it in a flex RSS reader

Tags: Flex

Similar Questions

  • SQLite error in Flex/Air application:

    I'm doing a simple query from inside and demand for Air SQLite:

    Statement.text = 'SELECT Ingredient' +
               'FROM Ingredients'+ 
               'WHERE FoodCatagory_FK = 6'
    

    It works fine when I exicute the query in SQLite Manager, however in the Air, I get the following error:

    SQLError: 'Error #3115: SQL Error.', details:'near 'FoodCatagory_FK': syntax error', operation:'execute', detailID:'2003'
    

    Don't know why it doesn't work, it seems pretty Strait forward.

    Thank you

    Hello

    You must leave a space either after

    Ingredients
    

    or before

    WHERE FoodCatagory_FK
    

    Thank you

    Tamil

  • Lock a Mobile Flex/Air application in landscape mode?

    Hi all

    Is there an easy way to lock an application in landscape mode?

    I have passed through the web and API, but can't really find out how do.

    Kind regards

    / Lars

    Lars salvation,

    You can doe this in the application descriptor file.

    Just add:

    fake
    landscape
    true

    Welcome them

  • Tutorial on the edition of Flex/Air app for Mac App Store, or simply using Developer ID for general distribution

    Everyone set up a tutorial on the publication of a Flex/AIR application for distribution as an OSX desktop application, or through Mac App Store, or just simply using the developer Certificate ID?

    In my time as a Flex developer, I've seen some well documented things and some that you had to dig for, but find clear instructions on this is really hard! I would have thought post your Flex/AIR application as a standalone application (captive runtime) users directly or through the Mac App Store (Apple Developer ID certificate signature) would be something that many people are trying to do. But most of the useful post there are dated or incomplete, as well as specifically targeted to iOS. In addition, whenever the AIR SDK changes it seems that many of the recent posts are no longer valid at certain stages.

    Many thanks for anyone who can provide some pointers or suggestions!

    The page of the official doc on presentation of the Mac App Store has been updated there is a little more than two months, recent changes in the recent SDK:

    http://helpx.Adobe.com/Flash-Player/KB/posting-air-app-Mac-app.html

    It must be current, even if I think I see typo in one of the appeals of command line that mentions "textcodesign", when it should just be "codesign".

  • What do I need build and deploy a standalone Flex/Coldfusion application?

    I've been a CF developer for almost 10 years, but have no experience with Flex. I have a new opportunity to create stand-alone Windows-based applications. I studied .NET and I'm not impressed because it just seems to be unnecessarily complex and bloated. Instead, I look through my experience of CF and taking a serious look at Flex with ColdFusion.

    My application must run on the PC which can be found on ships at sea. Their only link to the Internet is through a satellite modem. The stand-alone app must have entered data, which are stored in a local database. When the boss is ready, he or she turn on the modem, will transmit the backup data (it takes about 10 seconds) and turn off the modem. This means that the application code, the environment of execution, data base and services (for example ColdFusion CFC) must all be loaded on the PC. In addition, I don't want the application runs in a web browser (a lot of boats have older versions of Windows and IE).

    I understand that I should be able to do using the AIR runtime.

    Here are my questions/challenges:

    (1.) the application itself must be provided free of charge. I had to purchase a license for each copy installed the ColdFusion application?

    2.) if I have to pay a license for each installation of CF, Flex 4 will work with an engine open source CF for example open BlueDragon or Ralio instead?

    (3.) the suggestions about the database should I use (e.g., Derby, H2, SQL Server Express)?

    Installation 4.) should be simple. Skippers should be able to download an installation file (for example a .exe) and run it. The installer must install the database, the last player Flash for Windows, the engine of the CF and the .swf files generated, swc files, etc.. Can all this be delivered upward when FlashBuilder and/or AIR prepares an application for deployment? When the application is run, it has to start the database engine and the CF engine and more front-end Flash.

    I'm looking forward to your answers with your fingers crossed. This project has the potential to create a very cool and unique app!

    Tools:

    (1) flash builder to build flex/AIR applications

    (2) sqlite by all means

    (3) see 1.

    (4) no need to use anything, but air to talk to sqlite.

    seems you almost "managed", perhaps a few examples will help to clarify:

    a little Googling & to search the adobe website (http://www.adobe.com/devnet/air/flex/) should turn up many others.

  • Air applications require Flash Player?

    Well, this question may sound silly, but you please help me with my basic doubt. Applications created in Flex (AIR application) requires Flash Player on the client side or simply install AIR on the client side will do?

    No, just the AIR runtime is enough. Air application uses the airglobal.swc for compilation.

  • Running files in Flex/AIR

    Hello.
    I created a simple Flex/AIR application and I wanted to start a presentation power point the application when the user clicks a button "launch". I need not the presentation power point to run in my application, it can work on the desktop (Windows XP). Wasn't sure if it was possible to launch files from AIR.

    Thank you.

    "jcahill23" wrote in message
    News:gqnpg7$R75$1@forums. Macromedia.com...
    > Hi.
    > I have created a simple Flex/AIR application and I wanted to start an outlet
    > presentation of the application when the user clicks a button "launch". I have
    > do not need the power point presentation to run it in my application
    > can work
    > on the desktop (Windows XP). Wasn't sure if it was possible to launch
    > removal of in the AIR.

    http://www.jeffryhouser.com/index.cfm/2008/4/22/using-air-to-launch-other-applications

  • convert adobe flex web app for playbook air application?

    Hey, I am very new to this sort of thing and was using a Visual tool to help me create applications web flex. My question is can I convert these to operate as air apps on the playbook?

    Given that I don't really know action script.

    Also, can you recommend any good books, tutorials, or interactive Web sites that would help me to learn action script? Thank you!

    Some MX controls (OK, a lot) are not supported under the BB SDK.  For example, mx. Alert does not work, you must use the AlertDialog QNX class.  See docs QNX to:

    http://www.BlackBerry.com/developers/docs/airapi/1.0.0/index.html

    In addition, FlashBuilder is the IDE that is supprted, Flex Builder (3.x) is not supprted.  FlashBuilder 4.x is what you need, but which is not supported under Linux.  You should be able to download the 0.9.1 BB SDK for Linux and the use of the CLI version for a project of will.

    If you are a Flex application, you need to change the root node of a node (Application or WindowedApplication) AIR (if not already done).  If so, act like and more taking orders from MX which are not supported, I keep your business logic and simply change the front-end server with native controls of QNX/BB.

    But first, I would try just get a "Hello World" application to compile and run as an AIR application and then send it on the Simulator to get their feet wet.  then see what it would take to get your application scope.

    Hope that helps.

  • Help! Run any AIR Applications without Adobe AIR.

    Hello, I wanted to ask that is it possible to run AIR applications without having Adobe AIR on your computer. It is really annoying when you have to give your application to use someone, and then the person needs Adobe Air to run it. Any suggestions?

    Where to start...

    AIR is a bit like Java, in the sense that it requires a runtime must be installed. This engine has all the "stuff" that allows the application to run. Similarly, applications like 3DMax or Word require the operating system to be present for them to run. These programs are written using the API calls that are in the target operating system. Similarly, AIR and Java apps are written using the API calls that are present in their execution. To bring a full turn, the AIR is an application written in C, that uses the API for the target operating system. Thus, when you perform certain functions within the AIR, he knows how to execute the necessary functions of the operating system (if necessary). AIR also provides a large number of higher level and management features that make your life as a programmer much easier.

    Look at iOS or Android, we have the occurrence of the thing. Some developers write applications using Objective-C (iOS) or Java (Android) which are using the APIs specific to these operating systems. It's the same as writing your application in C like 3DMax.

  • Scrolling the entire screen in an AIR application

    Gidday

    I have an AIR application that is implemented for the laptop screen resolutions - of the datagrids in it's 1200 wide.

    To add an ease of use for users of 1024 x 768, I want the screen to be horizontal scrolling.

    Is the only solution for this to place the entire project within a scrolling region, or is there a way to configure things in the publication settings, to project scroll if it extends beyond the width of the screen?

    See you soon

    only publishes setting you could use would be to change the size of your original app scene, choose the option across all.

  • Desperately need help with AS3 and Twitter Feed!

    Hi all

    I took another developer and try to add a Twitter feed to my flash application. The twitter feed has, but only the first title and loops. It does not show the other tweets, just the first title and repeat over and over again. Please help me with this because I'm desperate to fix.

    Here is my source code for Twitter.as

    I use Flash develop to make it the main.swf, but I don't know the code below for the Twitter account is wrong because it shows more then 1 tweet.

    package src.main

    {

    import com.greensock.TweenMax;

    import com.theppc.cmstools.CmsVars;

    import com.theppc.cmstools.TextTool;

    import com.theppc.visualtools.DrawBox;

    import flash.display.MovieClip;

    import flash.display.Sprite;

    import flash.errors.IOError;

    import flash.events.Event;

    import flash.events.IOErrorEvent;

    import flash.events.SecurityErrorEvent;

    import flash.events.TimerEvent;

    import flash.net.URLLoader;

    import flash.net.URLLoaderDataFormat;

    import flash.net.URLRequest;

    import flash.text.TextFieldAutoSize;

    import flash.utils.Timer;

    Import src.utils.TitleBlock;

    import com.greensock.easing.Back;

    import com.greensock.easing.Strong;

    import of CBC. Main;

    Import src.utils.HandleXml;

    /**

    * ...

    * @author Joshua King

    */

    SerializableAttribute public class extends MovieClip TwitterBox

    {

    private var _title:TitleBlock;

    private var _bg:Sprite

    private var _width:int;

    private var _height:int;

    private var _tweetholder:MovieClip;

    private var _txt:ContentTxt;

    private var _mask:Sprite;

    private var _user:String = "PPC_Creative";

    private var _tweetcount:int = 5;

    private var _tweets:Array = [];

    private var _times:Array = [];

    private var _gap:Number = 55;

    private var _tweetmove:int = 0;

    public void TwitterBox (_w:int, _h:int)

    {

    _width = _f;

    _height = _it;

    init();

    }

    private function init (): void

    {

    _bg = new Sprite();

    addChild (_bg);

    _bg. Graphics.LineStyle(1,0x00ccff);

    _bg. Graphics.beginFill (0xFFFFFF);

    _bg. Graphics.drawRect(0,0,_width,_height);

    _bg. Graphics.endFill ();

    _tweetholder = new MovieClip();

    _tweetholder.y = 55;

    _tweetholder.x = 5;

    addChild (_tweetholder);

    _MASK = new Sprite();

    _MASK. Graphics.beginFill (0xF09FFF);

    _MASK. Graphics.drawRect (0, _gap, _width, _height - _gap - 5);

    _MASK. Graphics.endFill ();

    addChild (_mask);

    _tweetholder. Mask = _mask;

    _txt = new ContentTxt();

    _txt.txt.text = ";

    _txt.Alpha = 0;

    _txt.txt.width = 537;

    _txt.txt.height = _height - _gap - 5;

    _tweetholder. AddChild (_txt);

    addContentboxes();

    }

    private function addContentboxes (): void

    {

    _title = new cartridge (Main._sitedata ['text'] [5] .we, 547);

    addChild (_title);

    addTweets();

    }

    public function addTweets (): void

    {                    /*

    var urlReq:URLRequest = new URLRequest (_url);

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, getTweets);

    loader.addEventListener (IOErrorEvent.IO_ERROR, IOError);

    loader.addEventListener (SecurityErrorEvent.SECURITY_ERROR, SError);

    Loader.Load (urlReq);

    */

    var loader: URLLoader = new URLLoader();

    loader.dataFormat = URLLoaderDataFormat.TEXT;

    loader.addEventListener (Event.COMPLETE, getTweets);

    var url: String = " " https://API.Twitter.com/1/statuses/user_timeline.RSS?screen_name=PPC_Creative ";

    must use a proxy due to security sandbox issues if you call this twitter url directley to flash

    var req:URLRequest = new URLRequest ("rssProxy.php? rss =", CmsVars.PHP_ROOT + url)

    trace (CmsVars.PHP_ROOT + ' rssProxy.php? rss =' + url);

    Loader.Load (req)

    }

    private void getTweets(evt:Event):void

    {

    var twitterXML:XML = new XML (evt.target.data);

    var tweetList:XMLList = twitterXML.children ();

    var tweetItem:String;

    var timeItem:String;

    var _counter:int = 0;

    _tweetmove = 0;

    _tweets = [];

    for (var i: int = 0; i < tweetList.length (); i ++)

    {

    tweetItem = cheat [i]. *: title;

    trace (tweetItem);

    If (tweetItem! = "")

    {

    _tweets.push (tweetItem);

    _Counter ++

    If (_counter > = _tweetcount)

    {

    break;

    }

    }

    }

    moveTweet();

    }

    private function moveTweet (): void

    {

    _txt.Alpha = 0;

    TextTool.setText (_txt.txt, _tweets [_tweetmove], true);

    TweenMax.to (_txt, 1, {delay: 1, alpha: 1, replace: 0});

    TweenMax.to (_txt, 1, {delay: 12, alpha: 0, crush: 0, onComplete:moveTweet});})

    _tweetmove ++

    If (_tweetmove > = _tweets.length) _tweetmove = 0;

    }

    private void IOError(e:Event):void

    {

    trace ("io error!");

    }

    private void SError(e:Event):void

    {

    trace ("security error!");

    }

    }

    }

    First of all, your cheating XMLList length is only 1. I like to use E4X rating rather than the old children() as you're here, so I might suggest to change this:

    var tweetList:XMLList = twitterXML.children ();

    in your getTweets() method to:

    var tweetList:XMLList = twitterXML.channel.item;

    Then you have all your items. I liked so much out of each of them:

    for (var i: int = 0; i< tweetlist.length();="">

    {

    trace (tweetList [i] .title);

    }

    Also, I had no trouble calling Twitter directly from Flash using:

    var loader: URLLoader = new URLLoader();

    Loader.Load (new URLRequest ("https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=PPC_Creative"));

    loader.addEventListener (Event.COMPLETE, getTweets);

    However, there is a typing error in what you had posted - you had a space in the URL - after the C in C reactive...

  • AIR application to hide

    I was wondering if there was a way to get an AIR application that is hidden in the tray on a PC. I have a screenshot here:

    screenshot_notification_bar.jpg

    Does make sense? I can't hide my AIR application in this bar? Everything has a link that might help? Or, better yet, a code?

    Thank you

    Alex Liebscher

    This might help: http://www.adobe.com/devnet/air/flex/quickstart/articles/stopwatch_dock_system_tray.html

  • The video game Android via the AIR application is jerky

    Hi all

    We develop an AIR mobile applications targeted for Android 2.2 or higher. One of the requirements is to play H.264 videos on the mobile of the current folder (local file system). We conducted a show of Cork while trying to implement this feature, here are the details-

    1. we use OSMF that comes with Flex Builder 4.6

    2. using Adobe AIR 3.1 and Flex SDK 4.6

    When the video quality MPEG4 H.264 1280 * 720 30 fps with input flow 2000 is played on the mobile device (android), however, the video frame rate is jerky on the desk, he plays very well... StageVideo is something I want to try however, right now I have no access to Android 3.0 which is required for StageVideo...

    What do we lack? 3 AIR is not able to play H.264 videos on android, although the native Android video player it plays very well?

    Concerning

    Basset

    Hello

    Video encoding is very important.

    For example, to use base profile level 3.1 to H264 for mobile

    (and not high profile level 4.1 recommended for desktop).

    For more information, see the MAX of Fabio Sonnati session:

    "Encoding for performance on multiple devices.

    And if you have an Android phone/tablet, there is my AIR application

    Watch the Adobe MAX 2011 videos:

    https://market.Android.com/details?ID=air.fr.INWAY.maxVideos2011

    Search for "Sonnati" video for this session.

    (For the record, I use a video player based on OSMF 1.6)

    The pdf presentation is available on the blog of Sonmati:

    http://Sonnati.WordPress.com/

    Philippe

  • CLOSE AN AIR APPLICATION

    I am writing an air application.  If a user clicks the close button upwards in the title bar, I want to be able to create a pop up asking if they would like to save their project before returning.  The problem is that the program stops just without display the popup window.  I'm listening for a 'close' event and then calling a Manager to deliver the pop-up.  Using tracing instructions, I can confirm that this is what makes my manager, but the application closes even if I do not issue a statement close() or exit().  Here are the XML and actionscript code I (States and import instructions are not included for brevity):

    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                                                         xmlns:s="library://ns.adobe.com/flex/spark" 
                                                         xmlns:mx="library://ns.adobe.com/flex/mx" width="1050" height="765"
                                                         applicationComplete="init()"  close="closeApplication(event)">
    
         <fx:Script>
              <![CDATA[               
    
                        protected function closeApplication(event:Event):void
                   {
                             if (this.currentState == "main" || this.currentState == "first" || this.currentState == "second"){
                                       trace("true");
                                       var savePopUp:SaveComponent = PopUpManager.createPopUp(videoGroup, SaveComponent, true) as SaveComponent;
                                       savePopUp.title = "Save";
                                       PopUpManager.centerPopUp(savePopUp);
                              }
                             else {
                                            trace("false");
                                        this.exit();
                             }
                   }
              ]]>
         </fx:Script>
    
    </s:WindowedApplication>
    
    

    If the application is in some States, I want the user to receive a popup used to back a project before the program ends, but the program does not wait for give me the order exit() or close().  Is it possible to substitute for inercept, or something?  Or listen to a different event?

    I found this one on my own.  At the top of the closeApplication Manager, simply add this line:

    Event.preventDefault ();

    This causes Flex to not close the program that is the default setting by clicking on the close"" button.  In addition, you must use NativeApplication.nativeApplication.exit () to close all windows of the application instead of this.exit () like I did.

  • Flex AIR for Flex Mobile

    I made a Flex AIR 4.5.1 for office project using Flash Builder 4.5 and I want to convert a Flex Mobile for use on Android.

    Is this possible?

    The answer to your last question is no, it does not work like that. The final construction must be configured and optimized for the target platform.

    What you need to do is put a little thought into the design of your project so that you can split your shared code that is platform-dependent code. Shared code would go in a separate and is library project used by your main application.

    You then create a project (or the configuration, if you are using a build advanced environment) for each platform that you plan to deploy to (desktop, mobile, web, etc.). The main application should contain little or no code. Above all, it serves just as a wrapper for the shared library code. This allows the application to be configured and optimized for the target platform while allowing you to use a library shared between platforms.

Maybe you are looking for