Need help with loading analyzed text RSS

Hi, I've created an AS3 FLA where I am the analysis and displays the text of RSS. I've traced the analyzed text and the text displayed in the boxes of dynamic text on the stage without problem.
However the line breaks in the text will appear on stage as well.
How does a band on the < p > or </r > tags in the text to make the text a nice long line that ends with the length of the text as parameters box is?

OK, I found the answer, thanks all.

var myvar:String = myDynamicText.text;
myDynamicText.text = myvar.split ("\r").join("");
myDynamicText.text = myDynamicText.text.split("\n").join("");

Tags: Adobe Animate

Similar Questions

  • need help with loading Flash on Apple Mac Mini

    Lost my username, password & I am unable to load flash version 8 or better, totally computer illiterate & need HELP!

    Hi Michael,

    Please see what userid & password I need to install Flash Player?.

    --

    Maria

  • Need help with loading in a different place every time the page reloaded the film.

    Hello

    I have a Flash movie that I need to go to one of the 6 chosen images when say a user presses the button back or home page of the site. I don't want just the same user, see the flash movie to play again in the same place each time that they return home.

    Help with this is appreciated.

    Thanks advance.

    -Ann

    Here's what I wrote:

    var numbers: Array = [2,114,415,687,960,1195,1485];

    _root.firstTime = true;

    {if (Firsttime)}

    firstTime = false;

    The frame number: var = Math.floor (Math.random () * numbers.) (Length);

    gotoAndPlay ([frame] numbers);

    }

    I also tried this:

    Array.prototype.shuffle = function() {}
    for (var = this.length - 1; ivar ivar > = 0; ivar-) {}
    var p = random (ivar + 1);
    var t = this [ivar];
    This [ivar] = this [p];
    This [p] = t;
    }
    };
    ASSetPropFlags (Array.prototype, ["shuffle"], 1, 1);
    var Array_ar:Array = new Array (2,114,415,687,960,1195,1485);
    Array_ar.shuffle ();
    index = 0;
    function load_random() {}
    gotoAndPlay(Array_ar[index++]);
    If (index == Array_ar.length) {}
    (index = 0);
    }
    }
    load_random();

    But this Dungeon jumping whenever I hit the back of the frame 1 or refresh.

    Thanks again.

    use:

    var numbers: Array = [2,114,415,687,960,1195,1485];

    The frame number: var = Math.floor (Math.random () * numbers.length);

    gotoAndPlay ([frame] numbers);

  • need help with &amp; quot; contextual text &amp; quot;

    I want my user to "mouse in ' on a text, and when that happens, I want a legend to the pop-up window on the upper right of the text to describe the original text.
    I need help. When explain you it, be very detailed.

    Thank you
    It worked

  • Need help with scaling the text

    I need to make a text vertically taller, but seem to have a problem with the scale tool. That's what I'm starting with:

    Screen Shot 2015-09-25 at 9.50.15 AM.png

    And when I try to step up that I end up with this:

    Screen Shot 2015-09-25 at 9.50.49 AM.png

    Any help would be greatly appreciated. Thank you!

    Use the scale options in the character, as in this case Panel

  • Need help with a typewriter text effect

    Hi, could you guys look over my script and see what happens? I wish that the words in the string type in the allotted time, but for some reason any my apends the first and last letter function what anyone in the chain, so "Hello?" becomes "ello". It is not affected if I touch the text in the string with spaces, i.e. "Hello?" Neither this work if I start I have account to-1, not 0. Help, please.

    import flash.utils.Timer;
    import flash.events.TimerEvent;

    var str:String = "Hello";

    var i: int = - 1;
    var delay: int = 720%str.length;

    var: timer = new Timer (delay);

    Timer.Start ();

    timer.addEventListener (TimerEvent.TIMER, gotime);

    function gotime(e:TimerEvent)
    {

    textbox_txt. AppendText (Str.charAt (i));
    i ++ ;
    If (I > = str.length)
    {
    Timer.Stop ();
    }
    }

    I should start at 0.  The code works fine then you might need to see if you need to incorporate your policy in the textfield to get it to display.

  • Need help with the "stationary" text box

    Hola

    Why the "stationary" text box do not appear in this page? Welcome to TummyTime, 4 d 3D Ultrasound, Salida, Modesto, Ceres, Turlock area.

    The text of "stationary" should appear as you go over the photos at the bottom of the page in the ANGELS RECENT section.

    As see you in this page (under the heading 'Our projects'):model HOME - Arctic

    the "stationary" text box appear as you go "on" image, but in "my" page is not.

    Now, when I have "preview" in my computer, I can see the "text box" appear but when I download, it just does not work.

    Can you please check it out and help me with this you problem?

    Thank you.

    OK, now is fix.
    The problem is in a js.scripts, was a syntax error, and I stop the script of twitter to watch.
    It is therefore fix :-)

    A big thank you to you all.

    Saludos

  • I need help with dynamic input text

    I am developing a game and I have a problem with my dynamic input text. I am doing my input text appear on other images whenever I click on the button, well, I tried a few solutions I've seen here, but it hasn't really well.
    This is the first code I used:

    Stop();

    function handleClick(pEvent:MouseEvent):void {}

    var myfirstVariable = box1.text;

    Welcome.Text = "Welcome to the game" + myfirstVariable;

    }

    enter_button.addEventListener (MouseEvent.MOUSE_UP, handleClick);

    This works but only on an image. and this is the code I'm trying to use now:

    Stop();

    var enteredText:String;

    welcome.addEventListener (Event.CHANGE, updateString);

    function updateString(evt:Event) {}

    enteredText = welcome.text;

    }

    enter_button.addEventListener (MouseEvent.MOUSE_UP, handleClick);

    and on the other images:

    Stop();

    enteredText = welcome_2.text;

    Thank you much for the help ^^

    If you change the images have an another textfield on this new framework, you must set its text property to:

    enteredText = welcome_2.text;<-comment out="" this="" line="" and="">

    welcome_2.text = enteredText;

  • need help with loading the icon

    can I get help about icon loading in oracle forms?

    OK make a folder name it icons and copy all you are gif icons and paste into the same folder (icons), and then copy the icons folder and paste in
    D:\DevSuiteHome_1\forms\java\oracle\forms

    When you want to display the icon, then do not use .gif (Note: sometimes also works with .gif) and something more Stéphane on capital letter of gif - icons.it should be in letter.i hope that you understand.

    Sarah

  • need help with loading paper inkjet 4635

    I just bought a HP Office Jet 46635 and I can understand how to load the paper.   Can anyone help?

    Here's the Manual.  PG 24 illustrates how to load the paper. Happy new year!!

  • Need help with loading BSO cube with several data export files using the Regional service

    Hello

    We have BSO cubes that are huge and when I expoted data in files, it generated ABC.txt, ABC_1.txt, ABC_2.txt, like this.

    How to load this data in the Cube that sits on the other environments? We use Essbase 9.3.1.

    I can load the individual files using EAS data loading? If so, ABC_2.txt then ABC_1.txt and finally an ABC.txt would be the loading sequence back?

    Please suggest.

    As Essbase is written this block by block, each block will have its complete info if it is done as a single export or parallel export. You can easily prove this (and I have) If you export a database and load only files 2 or 3, it loads without error. don't forget that you load a file rules, the load fails when the first error. There is no error found, so a value of a complete block of information must be present. Also open export (large files can be opened with wordpad) and you will see a complete info for block exery

  • Need help with loading the XML file

    Hello

    I spent reviewing the web/forums for an example on how to do this for a few days now.  I managed to get this working in Flash Pro easily enough, but I think I'm missing something when I want to do the same thing in Flex.

    Basically, I want to load an XML file and then set the values of the text of labels 5, equal to the data in the XML file.

    So I have a button created in MXML and have put the following click event:

    Click = "dsSetup (Event)" "

    I also stated the following:

    public var myRequest:URLRequest = new URLRequest ("assets/myFile.xml");   folder located under the CBC in project

    public var myLoader:URLLoader = new URLLoader();

    public var myXML:XML;

    My function that loads is as follows:

    public function dsSetup(event:MouseEvent):void

    {

         trace ("dsSetup");

    myXML = new XML (myLoader.data);

    H3. Text = myXML.source.itemA;

    H4.text = myXML.source.itemB;

    H5.text = myXML.source.itemC;

    H7.text = myXML.source.itemD;

    H8.text = myXML.source.itemE;

    currentState = "MainMenu";

    }

    myLoader.addEventListener (Event.COMPLETE, dsSetup);   I think that this line is no longer as I put it in the MXML

    myLoader.load (myRequest);

    It's the way I did in Flash and it worked fine, but I must be missing something when it comes to Flex.

    Can you explain or point me to a good tutorial that shows how to load XML in Flex code?

    Those I've found seems to have about 50 lines of code just to load a file and add through a complex for a beginner.

    Thank you very much

    I suggest you save the data loaded in a variable that can be linked, then bind the properties of the text - who:

    [Bindable]

    var myXML:XML;

    public void dsSetup(event:MouseEvent):void

    {

    myXML = new XML (myLoader.data);

    currentState = "MainMenu";

    }

    ...

  • Need help with loading lightroom 6

    Loaded disc. happens by entering the serial number is application to choose a name. does not load program.

    You must go in the App Store, and then you could spend MAC

    You can also contact Apple Chat Support for the upgrade.

  • Need help with the path text tool

    How to use the type on path tool without the object that you type on the developing of disappearance?  I can't understand it, someone please help!

    Make a copy and add your copy type.

  • Hello, I need help with my photoshop, rececently the majority of my family disappeared merger options and I cant access AVC and other options ive tried reset preferences and it seems to come back but when I add an image and try add text again

    Hello, I need help with my photoshop, the majority of my family rececently disappeared options fusion and I can't access strokes and other options ive tried to reset the settings of preference and he seems to come back but when I add an image and you try to add text again, they'll only options I have are drop shadow , gradient, Chromakey, shine of satin overlay, inner (I use photoshop cc 2015) Please help, my Skype contact options are: RoblivionM8 and email:[email protected]

    Thanks for your time

    Your first screenshot shows the layer style dialog where not all types of effects are indicated on the left. Bottom left of the dialog box, you see a small icon fx with a menu arrow drop-down. Use drop down the menu and make sure all you click on show all effects or restore the default list. I don't know what you're trying the shoe on the second screen capture.

Maybe you are looking for

  • Loose DC Jack in a Qosmio F25

    Hi all, my Qosmio began to move back and forth between the battery and AC ankle a few nights ago. The next morning, he must have put in battery voltage, but I have not noticed and walked out my battery alone. Computer hibernated and I could not put i

  • HP Pavilion 15-p207tx: wifi does not

    Hi, I was using my wifi on laptop, but after awhile, I got an error of access so I trobleshooted it and from this point on, I'm not able to use my wifi. in the device also under Network Manager I'm not find my wireless adapter. I tried to install all

  • The font size of BBM for the BBM Messages on iPhone

    My friend has an iPhone 4 with the latest OS updates and the latest version of BBM, but he complains about the size of the small police messages I send to him. Apparently there is no way for him to set the font size. Is someone knows if it is a short

  • installation of photoshop

    Sorry, new to Apple!bought Photoshop yesterday. Got id adobe and connection ok.When I go to install it ask the serial number, I on the receipt.but the boxes only allow 4 x 6 24 numbers... the 30 serial numbers?When I entered the 24 first it says inva

  • Adobe cloud error 201 during installation

    Whenever I try to down load adobe cloud I get this error 201 someone knows what to do