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

  • SEARCH
  • Home
  • 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 6322403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:19:31+00:00 2026-05-24T16:19:31+00:00

I have a list of text files and when one is selected it is

  • 0

I have a list of text files and when one is selected it is read and assigned to a string variable. this string is then pushed to a view : pushView(viewer, string), where the string is displayed in a textarea. I want to also pass the relative path of the file also. Is this possible to pass two strings?

protected function view1_viewActivateHandler(event:ViewNavigatorEvent):void
            {
                if(data!=null){
                    mainTextField.text = data.toString();
                }else{
                    mainTextField.text = "";
                }
            }
  • 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-05-24T16:19:31+00:00Added an answer on May 24, 2026 at 4:19 pm

    Yes it is possible. Typically the way I do this in Flex is to add a data property on my view of type Object allowing me to pass any type of object into the view.

    In your case I would change pushView(viewer, string) to something like pushView(viewer, data) where data is some object that stores all the data you need to pass to the view. data might look like:

    var data:Object = { text: "my text to display", 
                        relativePath: "the/relative/path" };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list of files stored in a text file. I read the
Is there any tricky ways to do this: in my text files I have
I have a list of text files file1.txt, file2.txt, file3.txt .. filen.txt that I
I have a long list of text files (about 80 - 100 files) per
I have a list of timestamps in a text file. I want to figure
I have a list Dogs in a text file with the following format: id:fatherid:motherid:born:owner:breed
Okay, basically, I have a large list of phone numbers in a text file
I have a text file that contains a list of filenames, minus the extension,
I have a small Java program that reads list of IPs from text file
I have a list with images and text, Text change in every 1-2 second

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.