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 8471653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:51:15+00:00 2026-06-10T16:51:15+00:00

I have a textfile, that is loaded into a swf through a flashvars: The

  • 0

I have a textfile, that is loaded into a swf through a flashvars:

  • The data is stored in Mysql,
  • The data is stored using coldfusion and cfquery
  • the data is read out into a textfile by coldfusion
  • the data is loaded into the swf by passing the filename to flashvars, then being read into the actionscript.

the problem is, all the text is initialized until the first

&quote;

and I’m not sure how to escape this, and at what point I should.

I am storing the original text using coldfusion, and have it set the data to html edit format

#HTMLEditFormat(form.content)# />

The boy grinned as he led back to the trail.
"A big un, Granser," he chuckled

Below is the full actionscript

// This will be the starting position of the textbox

var starting_ypos:Number;

// Load the Flashvars into the script
text1.text = myVariable;
text2.int = mySecondVariable;

// Make a load vars object
my_data = new LoadVars();

// This will be how fast the text box will scroll 
var scroll_speed:Number = text2.int;

// Make my on load function
my_data.onLoad = function() {

// Fix the double space issue
var my_text = unescape(this.content).split("\r\n");
my_text = my_text.join("\n");
my_text = my_text.split("\r");
my_text = my_text.join("\n");

// Set the text in the text box
scroll_text.Text = my_text;

// Set the autosize
scroll_text.autoSize = true;

// Set the starting_ypos
starting_ypos = scroll_text._y;

};

// Load the external text file
my_data.load(text1.text);


// Start the scrolling
this.onEnterFrame = function() {

// Check for hit test with the mask and the mouse
if(!mask_mc.hitTest(_root._xmouse, _root._ymouse)) {

    // Check to see if we are in the mask
    if(mask_mc.hitTest(scroll_text)) {

        // Move the textbox
        scroll_text._y -= scroll_speed;

    } else {

        // Reset the text box
        stop();

    }

}

}

// Simple stop command 
 stop();
  • 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-10T16:51:17+00:00Added an answer on June 10, 2026 at 4:51 pm

    When entering variables into a flash file the ampersand is used to delimit the variables, much like URL parameters.

    so flash reads this:

    The boy grinned as he led back to the trail. "A big un,
    Granser," he chuckled

    as this:

    var1 = The boy grinned as he led back to the trail. 
    var2 = quot;A big un, Granser,
    var3 = quot; he chuckled
    

    try using URLEncodedFormat(FORM.content) so encode the vars for flash.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a textfile that I am I want to make into a list.
Now I am using Hadoop to process the data that will finally be loaded
So I have this foreign namebank in a textfile that I read from and
I have Text file that contains data separated with a comma , . How
I have a text file that contains cached data in JSON format. I'm trying
I have a text file that I want to edit using Java. It has
I have a Unicode (UTF-8 without BOM) text file within a jar, that's loaded
I'm using OleDB to import data into grid from text file with extension .K$$.
Beginner. I have a tab control that has content loaded dynamically via links. These
I have a textfile that contains authors and the books written by authors. I

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.