Smooth scrolling dynamic txt box

Hello all,
I am trying to adjust the speed of the scroll box. It is a little too quick.
I am not sure where to start.....I tried adjusting the button (_root.TextBox.scroll -= 1;) but it won't accept any smaller numbers.
Can someone point me in the right direction?
Ta,
DsyD
PS. How do I attach the .fla here?

You cannot attach the fla file in the forums.  You should have posted this in the AS2 forum since you are working with AS2 code.  Since you appear to be using the scroll property of a dynamic textfield and are scrolling vertically, you can only increment one line at a time as a minimum.

Similar Messages

  • Dynamic Text box with linking to frames

    I have a problem. I've tried everything I can think of and what I have Googled, but nothing has helped. I have a scrolling dynamic text box and I need some words in that text box to link to frames, like buttons (Not a URL). This is the file and the frame I'm on is "conflictNorthernPlains"     https://dl.dropbox.com/u/72608572/civilWarEra7.zip
    Thanks

    use:
    var tf:TextField = new TextField();
    addChild(tf);
    tf.htmlText = "<a href='event:frame1'>link to  frame1</a><br/>";
    tf.htmlText += "<a href='event:frame2'>link to frame2</a><br/>";
    tf.addEventListener(TextEvent.LINK, tfF);
    function tfF(e:TextEvent):void{
    gotoAndStop(e.text);
    p.s.  please mark helpful/correct responses, if there are any.

  • How can I load a .TXT file into a dynamic text box?

    I am sure that many people know how to load a .txt file into
    a dynamic text box. But I do not. I want to be able to reference a
    txt file from the server into the text box. So that when I change
    the text file it changes in the flash movie without even editing
    the flash file itself. Thank you.

    http://www.oman3d.com/tutorials/flash/loading_external_text_bc/
    I think this is the simplest way to go :)

  • Scrolling text / Dynamic text Box

    Hi guys,
    Hopefully someone can help me. I am quite new to flash and
    scripts so excuse my stupidity..!!! I am creating a media player
    (CS3), and have almost finished it except on small thing that is
    driving me round the twist.
    I have a few dynamic text boxes that take info from id3 tag
    of the mp3 file and I want to make the info inside the boxes scroll
    as ideally some of the information will be longer that the text
    box.
    The code to populate the boxes is:
    function id3Handler(evt:Event):void {
    songInfo.text = song.id3.artist;
    songName.text = song.id3.songName;
    album.text = song.id3.album;
    I have set the boxes to be scrollable but nothing happens,
    hopefully this will be simple for someone to me.
    Thanks in advance.

    Just bumping this back up. I'd really like to figure this one
    out

  • 2 days ago my FF3.6.3 started becoming extremely slow/delayed on EVERYTHING/ALL ACTIONS (I have been using 3.6.3 for a few months with NO problems, until 2 days ago). Scrolling going in delayed/slow 'waves' motion (not smooth & fast), Right-click box ver

    2 days ago my FF3.6.3 started becoming extremely slow/delayed on EVERYTHING/ALL ACTIONS (I have been using 3.6.3 for a few months with NO problems, until 2 days ago). Scrolling going in delayed/slow/jerky 'waves' motion (not smooth & fast), Right-click box very delayed/hangs in coming up, Text typing lagging/intermittent, activity extremely slow/delayed when pointing mouse over anything, changing from tab to tap extremely slow. Bascially EVERYTHING has become sooo slow, delayed, lagging etc. I have tried ALL possible checks (extensions, add-ons, plug-ins, download history, cache, cookies) & viewed nearly ALL the FF help sites. Is this a sudden/recent bug?? It doesnt only happen with Facebook, but EVERY window I open!!
    == This happened ==
    Every time Firefox opened
    == approx. 2 days ago

    I've personally not seen this behaviour since Firefox version 2. It however re-appeared for me in 3.6.6 and 3.6.7 (current) and it's bloody awful. Makes everything I do take 50% longer ..... great for efficiency in the modern world.
    This 3.6 branch is so riddle with flaws which seem never to be fixed. Each fix / update brings with it more problems ... worst of all I see version 4 is already in development but they cannot even get 3.6 right ??? WTF ????
    Mozilla must stop chasing version numbers as has become the trend in the software world. Fix an existing version to perfection then start working on a new branch of the product.

  • How to link one scroll bar with two dynamic text boxes.

    How to link one scroll bar with two dynamic text boxes.
    If i move scroll bar in one text box,automatically text will
    be moved in another text box.But scroll bar is not visible.
    Can you please help me.
    Thanks in advance.

    See the following article:
    JavaScript - setFocus Method for tabbing to next form field
    And see if iOS can even handle the sample form.
    iOS and android devices are not a powerful as your desktop of laptop computer and have limited support for JavaScript within PDF forms. This limitation for specific apps ranges from none to quite a bit but not all JavaScript.

  • Dynamic Text Boxes / Resizing text boxes

    I have a site with a dynamic text box that I have initialized
    (I'm not sure that that is the correct term) at the beginning with:
    myText = new LoadVars();
    myText.onLoad = function()
    { textBox_txt.htmlText = this.content;
    myText.load("text/bio.txt");
    stop();
    Then I have just used a text box throughout with the same
    instance name, although sometimes I have it on a new keyframe. I
    assumed I could just keep loading text into it on different frames
    with:
    stop();
    myText.load("text/performances.txt");
    This appears to be working, except that sometimes it seems to
    be confused and the text box on a certain frame has the wrong text
    in it. Do I have to initialize one for each frame in order for them
    to display the right code? What could be causing it to load another
    text file if it's frame action is telling it to load something
    else? It seems unnecessary to have to re-initialize it for a new
    text box instance in every new frame, but is that the way it has to
    be done?
    Also, I'm not clear on resizing text boxes. It seems like if
    I use the width and height numbers to resize this text box on
    different pages then it changes the size of the text inside, and
    the scroll bar (the UIScrollbar) is a little squishy looking
    sometimes. How does this work?
    Thanks for any help.

    You will find it much better to create a new LoadVars object
    for each of the frames, just call them myText1 myText2 etc.
    The name of the text box instance in this case is irrelevant
    but best practice would be to give them individual names.
    As for the stretching effect use setSize() for UI
    components.

  • Dynamic text box, HTML Text with Image

    Hello Everyone,
    I am using Flash version 8. I have used the text tool and
    created a dynamic text box and have attached the UIScrollBar
    component to it. This text box is configured to allow the use of
    html text to be inputted to it. I have code that reads a file which
    contains a list of text files that I then read and place them into
    the text box. The user can use the scroll bar to scroll through all
    the text.
    I have created an image that is a picture of the tab portion
    of a file folder. On the tab I have place some text. This was all
    done in Photoshop. This tab image is used to separate the different
    stories in the text box. The image is save as a jpeg file
    Everything you have just read works with out any problems.
    Now for the problem!
    This image is only 20 pixels tall and the text is not very
    readable. As we all know the HTML tags are very limited in Flash 8.
    Ideally I would like to put the text and image in to the text
    box as I would normally do. Then place text on top of the image and
    have it all scroll properly with in the text box.
    I have taken the tab image and converted it in to a graph
    symbol and then put the text on top of the image. This looks good;
    however I don’t know how (or if it is even possible) to place
    the graphic symbol in to the text box at the correct place within
    the text.
    Does anyone have ideas on what may work? Remember that the
    image I am working with is only 20 pixels tall which is why the
    text quality on the image is so poor.
    Thank you all for any help you may provide,
    Steve

    Yes Tim I am using the <img> tag and I know that I
    can’t place text over the image. I have set the height and
    width to be the exact size of the image. However When you go to the
    webpage it will open the movie to the maximum size based on the
    resolution of your display; however I do maintain the aspect ratio
    of the movie. For testing I did set a fix size to the size of the
    movie. Sometimes the fix size (1000x750) looks better and sometimes
    a larger size (example 1280x1024). I believe that the main problem
    is the fact the size of the image is 670 pixels wide by 25 pixels
    high and of the 25 pixels the text is only 18 pixels tall. In
    Photoshop this makes it about a 1.75 point font. As you can see the
    real problem is that I don’t have enough pixels to make up
    the text. This is why I am looking for an alterative way to create
    the text.
    I tried importing the image into flash as a graphic symbol
    and then using the text tool to create the text. The results looked
    real sharp, the text was nice and crisp (just what I wanted). The
    problem is that I could not find a way to place the graphic symbol
    into the dynamic text area like id did using the <img> tag.
    This symbol needs to scroll as you scroll the text in the text
    area.
    This is why I am asking for help. I am looking for some ideas
    that may work.
    Thank you,
    Steve

  • Text arrays (variables) and Dynamic Text Box

    Hello everyone. I have a text file (let's call it sample.txt)
    that has numerous variables or arrays in this format:
    &info=This is some information
    &stuff=This is more stuff
    &whatever=Even more stuff again....
    Anyway, I need to load a particular variable via individual
    buttons from this same sample.txt file into a dynamic text box
    (let's call it dynText), and I am a bit lost as to how to do it.
    Please provide me a solution thank you.
    Glenn

    Thank you very much, it's greatly appreciated. It worked
    perfectly except that it does not like variables that begin with
    numbers like:
    &401_2b=401_2b
    The above doesn't work, but if I do this...
    &h401_2b=401_2b
    Everything is fine. Problem being, I am generating the
    variables via PHP and therefore cannot "change" them. Can you
    provide me with a way that ActionScript can "see" the variable that
    starts with a numeric value? Thanks for your time.
    Glenn

  • Smooth scrolling strip chart

    I am using meas. studio for visual basic 6.0 and am trying to do the
    following
    a. Set a predefined stripchart width (x axis) ...5 minutes
    b continuously acquire data and chart it with the ChartXvsY method.
    c. when the data reaches the end of the chart, have the chart smoothly
    scroll so that new data (on the right) pushes old
    data (on the left) off of the screen.
    d. the x axes refect a fixed width of (max-min)= 5 minutes, but changes
    dynamically to scroll with the data.
    I have been able to get close by the following
    upon startup of the graph
    CWGraph1.Plots(1).ClearData
    CWGraph1.ChartLength = 1200
    CWGraph1.Axes(1).AutoScale = False
    CWGraph1.Axes(1).Minimum = 0
    CWGraph1.Axes(1).Maximum = 5
    then when the chart is running
    If (currtime > 5 And CWGraph1.Axes(1).AutoScale = False)
    Then
    CWGraph1.Axes(1).AutoScale = True
    CWGraph1.Axes(1).AutoScaleNow
    End If
    CWGraph1.Plots(1).ChartXvsY Xdata, Ydata
    This doesn't exactly work, as the autoscaling extends the tail end of the
    chart (left) beyond the last retained point so that the chart disapears in
    the air. I would like it to clip AT the left margin so that it appears as
    though the data is simply scrolling off screen.
    Any Suggestions?
    Thanks in advance!!
    Steve S

    Steve,
    I had a similar requirement to provide smooth scrolling, and in the end I found the the best way was to just set the X Max, and then set the X Min to be X Max minus the graph width, and not use the auto scaling.
    Doing it this way also means that you can retain a history by allowing the chart length to be longer than the number of displayed plots, which can be viewed just by changing the X min back to the first required plotted point.

  • Restoring previous UltraNav driver to disable smooth scrolling

    The latest system update installed UltraNav driver 16.1.1.0 of 4/6/2012.  This apparently implements smooth scrolling which is very nice to use BUT it significantly reduces my battery life.  I'd like to optimise battery life and return to my previous scrolling functionality. 
    I'd appreciate advice on how to determine which version of the driver I was running before this update, and how can I restore that version of the driver.  (I tried using the roll-back function in Windows Device Manager but that installed version 7.5.27.24 of 7/6/2007 which disbaled scrolling altogether.)
    T61
    7658CTO 
    Windows XP SP3

    I stumbled onto the Fn-F8 facility for managing UltraNav and realise that I was confusing the smooth-scrolling function introduced in recent versions of FireFox with the EdgeMotion function in UltraNav which was presumable introduced on my system when I upgraded UltraNav from 7.5.17.24 to 16.1.1.0.  I have disabled smooth-scrolling in FireFox but enabled EdgeMotion in UltraNav which seems like a nice compromise between convenience and power consumption.
    I still have minor quibbles with UltraNav, specifically, when I try to scroll within drop-down boxes in my usual Web applications (like Redmine, for example) the drop-down pane immediately disappears.  I have to drag the pane control on the right (sorry, don't know the correct name for this) to find the option to select.  Before the upgrade I could scroll within dropdowns on the trackpad.  I also have a little block with up and down marks appearing to the left of the pointer arrow when I scroll which wasn't there before.  I'd appreciate any advice about addressing these issues.

  • Displaying the result of a calculation in a dynamic text box

    Hi folks,
    I'm having a very minor issue here (operator error, I'm sure ). With the help of some folks here, I've created a series of calculations, and I've got that part down. Now, I just need it to show up in the movie.
    I've created the dynamic text box in Flash (CS3), but when I hit test, it won't show up.
    After all the calculations, I should have a figure that I call totalmoney. My dynamic text box is called total. The user doesn't need to hit anything for it to appear. It just appears as part of the movie.
    Here's my code:
    stop();
    var startDate:Date = new Date(2010,0,12);  // use your  startyear, startmonth, startdate in the new Date() parameters.
    var  currentDate:Date = new Date();  // assuming user's clock is correct and in your  timezone.  else use server date/time.
    var numberOfSeconds:Number =  (currentDate.getTime()-startDate.getTime())/1000;
    var interest:Number =  (numberOfSeconds*0.74356);
    var totalmoney:Number =  (interest+15,000,000);
    function displaytotal(evt:TextEvent):void {
         total.text = "totalmoney";
    Any thoughts?
    Thanks!
    Napo

    You didn't have to bury any of the calculations in the function--leaving it as you had it is better.  They could remain where they a=werew, and you'll probably find you want them outside it if you have other plans for using them.  If left inside, they only have scope inside.  In the programming world, it's good to think of functions as things that do one thing and one thing only (though it isn't often practiced that way)--it's called modular design.
    When you place an event as an argument for a function, it typically means that there is an event listener that initiates the call to the function.  If you work with buttons you'll see what I mean.  But if the plan is to create your own call to a function when you desire it as such, not have it driven by an event listener, then you don't need to pass any event to it, though you may pass some other type of variable to it if need be.
    For instance, what you have now will call the function without an argument because the function has the value built into its code....
    displaytotal();
    But you could also make the function a little more generic and set it up to recieve the value instead as an argument...
    function displaytotal(amt:Number):void {
         total.text = String(amt); // an earlier error of mine
    displaytotal(totalmoney);
    That would make your function a little more useful.  Now it could be used to display other Number variables as well.
    // my earlier error was that a textfield displays text, so you need to convert the Number value to s String.
    Hope I'm not confusing you.

  • How can I get back the two button smooth scroll with Logitec optical marble mouse since Adobe Acrobat or FireFox updates on 10/26/2010 made it quit?

    Oct 25, 26 or 27 both Adobe Acrobat and Mozilla Firefox alerted me they had updates to install. Since I trust them both I installed them. However, since then my optical marble mouse from Logitech acted strangely different. The cursor did not move as usual. It didn't respond right. I thought it might have needed the dust wiped out, so I did that. It still acted sluggish when I tried to move it, it was as though it was "spinning its wheels" not going anywhere. I went to the Control Panel clicked on Mouse, and proceeded to look at the settings and set them to default. I then tried to use the universal scroll by clicking the two big buttons which showed a circle with cross hair arrows as usual. When the marble was moved forward or backward, the scroll had always been smooth allowing one to read the screen evenly and without holding any button down. Now it was jerky. Is this a problem from the last update? My version of Firefox is 3.6.12
    Thank you

    I am happy to see another person is having this jerky scroll situation with the latest update to Firefox on October 27. I did check my I.E browser and '''THAT BROWSER''' still does the nice smooth scroll....let's get 'er fixed Mozilla! I know you can!

  • How can I make the Smooth Scrolling option in the Advanced menu apply ONLY to the tab bar?

    So, I'm one of those people who usually have 60+ tabs open at any given time. I'm also on a Lenovo laptop with a trackpoint (that may be relevant later).
    Right now, I have smooth scrolling disabled.
    In previous versions of Firefox, if I sat my cursor on the tab bar and scrolled either up or down, it would scroll across my tab bar at a constant, quick rate, usually taking about two or three seconds to reach the end. This wasn't an animated scroll (I've disabled that animated scroll via about:config in the current Firefox version).
    However, now, it's doing something different. There's acceleration to the scroll. If I just tap the scroll in either direction, it scrolls only a few tabs. However, if I hold the scroll for a second, it instantaneously takes me to the far end of the tab bar, completely skipping at least thirty tabs in between.
    I have tab scroll buttons added by Tab Mix Plus (smooth scrolling is also not enabled in that addon), and the same accelerating behavior occurs there. One or two taps of the button moves the bar a few tabs to the left or right, but several taps in quick succession takes me all the way to the far end of the bar.
    I can restore the old scrolling behavior for the tab bar by turning on smooth scrolling in the Options > Advanced menu, but that turns on smooth scrolling for web pages at the same time. I don't like the web page smooth scrolling, and would rather not have it on.
    Or if there's any other way to make it so that scrolling the tab bar moves the tab bar a fixed amount no matter what, that would be great.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Is there a way to list all the file names (automatically) in a folder to dynamic text box?

    Hi,
    I would like to know whether FLASH AS3 has some option to get all the files names from a folder specified and show it in a dynamic text box? Whenever some new files added to this folder it should update the list accordingly.
    Thanks for any information in this regard.

    Not particularly experienced in this field myself, but I've found its just easier to implement an XML file which lists the contents of the folder. It just means that when you upload a new file you have to add it to the list in the xml file also. No real hardship once you figure out the mechanics of it

Maybe you are looking for

  • ODBC Gateway error - hgopoer, line 159: got native error 0 and sqlstate HYC

    Hi, I am trying to connect to a RTDB by using the ODBC Gateway and a Simba Driver. When testing the connection I get the following error. I am using Oracle 11gR1(standard edition) on a 32bit Windows 2003 R2 server. Link : "SIMBA" Error : ORA-28500: c

  • Problem with mail setup in E63

    I'v been trying this for months and still m unable to set up email in my nokia E63.everytime i try to setup it shows 'unable to connect to server'.pls help.

  • Zoom problems in ios8

    it's a neat feature to have the keyboard not zoomed. However, i want my default to be a full screen zoom. I find it easier for navigating. Every time I do typing, any time the keyboard pops up, the next time I zoom there's a window as if the keyboard

  • Why There's No Font In Hebrew

    I bought My Ipod A week ago I uploaded many songs but whereever it's with hebrew I cannot see anything when will be published a update that contains hebrew? I can upload many updates that not from apple but then my warranty will be expired what do I

  • Importing movies to itunes. Please help!

    Hi all, So far this discussion board has been my saviour as am new to all this ipod business. Hopefully someone can answer this question too... I have some movie files on my computer but they are AVI files. When I try to import them into itunes (by s