Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7874739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:51:45+00:00 2026-06-03T02:51:45+00:00

I am developing an AIR application for android using flex 4.6 and air 3.1.In

  • 0

I am developing an AIR application for android using flex 4.6 and air 3.1.In the application i have a view in which there is a textinput and a search button.After typing some text and clicking search button will take to the result view.From the result view user can go back to searchview by clicking back button.The destructonPolicy of SearchView is kept as never and I use navigator.popView() to go back to searchview.The problem is when I come back to search view the textinput is empty wherein it should show the txt that was previously typed.But when focus is on the textnput,the text appears. I want the text to be shown as soon as that view is shown again.Any idea why this issue is happening

P.S- This issue is happening when I check aftr installng the apk in an android emulator(OS 2.3.3).I dont have an android device to check this.So not sure if it is just an issue with emulator.If i use flex 4.5.1 sdk this issue is not happening

Here are the codes

Main mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                            xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.HomeView">
</s:ViewNavigatorApplication>

HomeView.mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" destructionPolicy="never">

    <fx:Script>
        <![CDATA[
            protected function button1_clickHandler(event:MouseEvent):void
            {
                navigator.pushView(ResultView);
            }
        ]]>
    </fx:Script>
    <s:layout>
        <s:VerticalLayout horizontalAlign="center"/>
    </s:layout>
    <s:TextInput prompt="Enter some text"/>
    <s:Button label="Search" click="button1_clickHandler(event)"/>
</s:View>

ResultView.mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
        xmlns:s="library://ns.adobe.com/flex/spark" title="ResultView">

    <fx:Script>
        <![CDATA[
            protected function button1_clickHandler(event:MouseEvent):void
            {
                navigator.popView();

            }
        ]]>
    </fx:Script>

    <s:navigationContent>
        <s:Button label="&lt;" click="button1_clickHandler(event)"/>
    </s:navigationContent>
</s:View>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:51:47+00:00Added an answer on June 3, 2026 at 2:51 am

    Since the issue exists on Flex 4.6; but not Flex 4.5 it is probably a side effect/redraw issue with the new default TextInput skins that use StageText. I wrote a bit about that here.

    In your 4.6 application, try setting the default Flex 4.5 skin:

    <textInput skinClass="spark.skins.mobile.TextInputSkin" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a chat application for Android, using AIR/Flex and Red5. But Acoustic
I'm developing an application using Flas Builder / Flex for Adobe Air. This application
I'm developing an Adobe Air application for Android using ActionScript 3.0 (I'm not using
I am developing an interactive video application using AIR on Android. The application is
I spent hundreds of ours developing an Adobe AIR Application with Flex 4.0 and
I'm developing a desktop application with AIR. I wanted to have a contact window
I'm developing an application with Adobe Flex and AIR, and I've been banging my
I have no experience with Adobe Air/Flex and want to know, are there some
I am developing an air application where I have to drop an image and
I am developing an application using Adobe AIR. How can we get absolute path

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.