Scrolling bar with external text

Hi,
I'm trying to create a scroller bar with external text on Flash, but not suceeding much. I want to do it in AS 2.0, as my whole website is created in AS 2.0. I found a tutorial on Kirupa for Flash MX 2004, but does not work with Flash CS4, which is what I'm running.
What I need is, basically, to have a scroll bar to scroll up and down an external text (XML or .txt). I just don't seem to be able to do it. Also, is there a way of customizing the scroll bar?
Thanks for the help!
N.

Hey, I had to do a VERY similar thing for a student project a
few months ago. If you go to
Flashkit.com, you can find
tutorials on how to import XML and CSS or XSL. I was able to do it
and I don't know a lot of actionscript. If you want to see how I
used it, go to
the University of Scranton's MIT
website.
Hope that helps!

Similar Messages

  • Scroll bar with external text file

    Hello all,
    I need to make a flash movie with a graphic background with
    text from an external file.
    Ideally:
    1) The text file would NOT have to be imported into the flash
    movie. It would simply be in the same web folder as the flash file.
    2) Even better the text file would have a separate css file
    so I can change font size etc, while I tweak the movie, and get
    client approval.
    If 1 and 2 are not possible, then I can live with importing
    the text file. But CSS would sure be a nice addition!
    BTW I have Flaxh MX Professional 2004.
    Thanks
    Rowby

    Hey, I had to do a VERY similar thing for a student project a
    few months ago. If you go to
    Flashkit.com, you can find
    tutorials on how to import XML and CSS or XSL. I was able to do it
    and I don't know a lot of actionscript. If you want to see how I
    used it, go to
    the University of Scranton's MIT
    website.
    Hope that helps!

  • 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.

  • Adding scroll bar to a text box

    Is there a way to add a scroll bar to a text box? I am designing a website using ID (in the web view) which I am then giving to a web person to implement. I have one page that is longer than the others, where I would like to be able to scroll the text. I would really appreciate a step by step instruction on how to add a scroll bar to this text box.
    Thank you so much.

    The point is that exporting to Flash makes creating the webpage in ID seamless.  I am not familiar with a
    way to import an ID file into a Dreamweaver HTML.  ID relies on pages that get converted to
    frames on the Flash timeline which makes switching between pages, if you know enough ActionScript, a breeze.
    However I did find this link which outlines some compatibility between ID and DW:
    http://livedocs.adobe.com/en_US/InDesign/5.0/help.html?content=WS82C401A9-E844-40d5-B9B4-5 40CA374B0C6.html
    Message was edited by: markerline

  • How to make a scroll Bar with buttons

    Hi all,
    I am using Flash cs6 on an iMAC running 10.7.2
    I would like to know if anyone could please point me to a tutorial, showing "how to create a scroll bar with buttons". I am having a heck of a time finding a tutorial.
    Many thanks in advance.
    regards,
    DH

    http://learnola.com/2008/10/27/flash-tutorial-create-a-custom-scrollbar-with-actionscript/

  • Scroll bars onto a text box

    Hello,
    I've got a dynamic text box in my flash file that reads a txt
    file in a directory for information. I'd like for it to have scroll
    bars like the ones in the component scrollpane.
    In the help file, it says that the scrollpane can be added to
    a text box, but when I click on it further for more information it
    only says it can hold swfs, jpgs etc...
    is it possible to make those flashmx default scroll bars onto
    a text box?
    I'm using Flash MX 2004.

    You can do that but you would have to install the MX
    componentes into MX2004 first. They used to be availabele at
    Macromedia for downlaod, I guess they are somewher to be found at
    Flash donloads at adobe still now.

  • Adobe Captivate 4 Adding a Scroll Bar to a Text Caption

    I have a lot of text information to show on one slide and I'd like the user to have the ablility to stay on one slide but scroll down. 
    Is there any way to add a Scroll Bar to a Text Caption to allow this to function as described?

    There is no way to add a scrollbar to a normal Captivate text caption.
    There DOES however exist a widget that provides something simlar:
    http://www.dorna.nl/?p=574

  • Why is there a vertical scroll bar with short page export from FW CS4?

    When I view my exported page that is 400 pixels tall, I see a vertical scroll bar on the right of my IE7 browser even though the page is no where near the bottom of the browser.  How do I eliminate that scroll bar?

    Unfortunately this is not working in IE7.  Below is my body tag (I edited the SLICES.XTT to prevent the margins) where I've added the overflow option:
    body </style>
    But I still see the vertical scroll bar with a 400 px image exported as html, see attachments.

  • Scroll bar with different color

    I want my scroll bar to not the default one but a different
    color one. Am I able to do this on Dreamweaver.
    WHen I set a layer with the scroll property if the text goes
    beyond the area it becomes scrollable but the scroll is the default
    one , so I would like to chage the properties of the scroll
    bar(collor, size, etc...), is that possible using Dreamveaver?, I
    know you can do different using flash but I am trying to don't use
    too much flash on my website.

    You can but it will only work in IE5.5 (I don't think it
    would work with
    IE6, either) - which, IMHO - isn't worth your trouble. If you
    want to
    control your scrollbars cross-browser, use Flash but then
    again - not every
    user will have Flash installed.
    If you insist - this will actually generate the CSS-code for
    you. Use this
    at your own risk as I have NOT taken the time to check the
    produced CSS code
    for validity:
    http://www.newtutorials.com/changing-scrollbar-color.htm
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    ===============================
    Proud GAWDS Member
    http://www.gawds.org
    Delivering accessible websites to all ...
    ===============================
    "OscarSSS" <[email protected]> wrote in
    message
    news:e5ialr$e53$[email protected]..
    >I want my scroll bar to not the default one but a
    different color one. Am I
    > able to do this on Dreamweaver.
    > WHen I set a layer with the scroll property if the text
    goes beyond the
    > area
    > it becomes scrollable but the scroll is the default one
    , so I would like
    > to
    > chage the properties of the scroll bar(collor, size,
    etc...), is that
    > possible
    > using Dreamveaver?, I know you can do different using
    flash but I am
    > trying to
    > don't use too much flash on my website.
    >

  • Scroll bar with rounded ends

    Hi,
    First I'm not sure this is the right forum to be posting
    about CS3 components, if there is a better one, please direct me to
    it.
    I want to make a scrollbar that has rounded end caps. If I
    use the CS3 scroll bar component for this purpose, it doesn't look
    right, because when the bar skin is scaled according to the bar's
    progress, it scales the end pieces. What I really want is to have
    only the middle scaling/stretching, while the end caps remain
    constant sized.
    Is this possible with the CS3 component? Or any tips about
    finding or making one that does this?
    Thanks,
    Ryan

    You can but it will only work in IE5.5 (I don't think it
    would work with
    IE6, either) - which, IMHO - isn't worth your trouble. If you
    want to
    control your scrollbars cross-browser, use Flash but then
    again - not every
    user will have Flash installed.
    If you insist - this will actually generate the CSS-code for
    you. Use this
    at your own risk as I have NOT taken the time to check the
    produced CSS code
    for validity:
    http://www.newtutorials.com/changing-scrollbar-color.htm
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    ===============================
    Proud GAWDS Member
    http://www.gawds.org
    Delivering accessible websites to all ...
    ===============================
    "OscarSSS" <[email protected]> wrote in
    message
    news:e5ialr$e53$[email protected]..
    >I want my scroll bar to not the default one but a
    different color one. Am I
    > able to do this on Dreamweaver.
    > WHen I set a layer with the scroll property if the text
    goes beyond the
    > area
    > it becomes scrollable but the scroll is the default one
    , so I would like
    > to
    > chage the properties of the scroll bar(collor, size,
    etc...), is that
    > possible
    > using Dreamveaver?, I know you can do different using
    flash but I am
    > trying to
    > don't use too much flash on my website.
    >

  • Object with External Text

    I am new to Flash/ActionScript and hope I can explain this
    problem, because I am completely lost as to what went wrong. I am
    working on a hurricane tracker.
    First I have comboBoxes with a list of storm names, when
    selected an XML file is loaded and tracks the storm, using
    different color mc's for the storm's intensity.
    Then I have some buttons that when clicked, pop-up a white
    background and load some external text.
    The problem is that both of these work, until one of the
    storms in the comboBox is selected, then the pop-up will not work.
    I'm sorry for the inability to phase this in
    ActionScript-speak, but appreciate any help and thanks in advance.

    Can you attach some code wrt the combobox and the buttons and
    how they command other movie elements?

  • Horizontal scroll bar with Line charts

    Hi,
           I want  a scrollable bar attached to x-axis as in this example(fourth one in the following URL---http://www.connectedpixel.com/blog/scrollingcharts).I able to find these feature only with ColumnCharts .Can any one tell whether can we apply the same to LineCharts .I request you to send some docs/examples of scrollbar with Line Charts
    Regards
    Kalavati
    [email protected]

    Kalavati,
    it's all fairly straightforward ActionScript stuff. Create a new ActionScript class derived from Panel. In a suitable handler create the line chart and scroll bar (HScrollbar), position them wherever you want with the x/y/height/width properties, and add them as children (otherwise they won't show up).
    I'm not sure what you're wanting to do with the scroll bar but let's suppose that at the start you show all the x-axis data (which is the default) and have the scrollbar thumb pointer at 100% (ie scrollPosition=maxScrollPosition). Then catch the scroll event. In the handler, work out the percentage across of the current position (this is a whole lot easier if you've set maxScrollPosition=100 to start with), then work out the implied change to the line chart in terms of data values. I don't know if you know in advance the data values or not, but it doesn't really matter. Suppose the horizontal axis is a LinearAxis. keep hold of the data max value along this axis for later use (say max_data_value), then do
    LinearAxis(chart.horizontalAxis).maximum = max_data_value * [the percentage worked out from the scroll bar]
    Richard

  • Appending The Scroll Bar to the Text Area

    Hey, im having some serious problems setting the scroll panel to my text area, here is what i have done so far, could anyone offer me a hand please
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class MyPanel extends JPanel implements ActionListener
        private JButton forloopbtn;
        private JButton doloopbtn;
        private JButton whileloopbtn;
        private JTextField inserttxtfield;
        private JLabel insertlbl;
        private JTextArea countingtxtarea;
        private JScrollPane myscrollpane;
        public MyPanel()
            //construct components
            forloopbtn = new JButton ("For Loop");
            doloopbtn = new JButton ("Do Loop");
            whileloopbtn = new JButton ("While Loop");
            inserttxtfield = new JTextField (5);
            insertlbl = new JLabel ("Insert Number To Count To Here");
            countingtxtarea = new JTextArea (5, 5);
            myscrollpane = new JScrollPane();
            //adjust size and set layout
            setPreferredSize (new Dimension (485, 351));
            setLayout (null);
            //add components
            add (forloopbtn);
            add (doloopbtn);
            add (whileloopbtn);
            add (inserttxtfield);
            add (insertlbl);
            add (countingtxtarea);
            add (myscrollpane);
            //add actionlistener
            forloopbtn.addActionListener(this);
            doloopbtn.addActionListener(this);
            whileloopbtn.addActionListener(this);
            //set component bounds (only needed by Absolute Positioning)
            forloopbtn.setBounds (90, 50, 100, 20);
            doloopbtn.setBounds (200, 50, 100, 20);
            whileloopbtn.setBounds (310, 50, 100, 20);
            inserttxtfield.setBounds (320, 20, 30, 20);
            insertlbl.setBounds (135, 15, 185, 25);
            countingtxtarea.setBounds (165, 90, 145, 205);
         

    ive tried to do it again and this is what my code now looks like, still no scroll bar tho
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class MyPanel extends JPanel implements ActionListener
        private JButton forloopbtn;
        private JButton doloopbtn;
        private JButton whileloopbtn;
        private JTextField inserttxtfield;
        private JLabel insertlbl;
        private JTextArea countingtxtarea;
        private JScrollPane scrollpane;
        public MyPanel()
            //construct components
            forloopbtn = new JButton ("For Loop");
            doloopbtn = new JButton ("Do Loop");
            whileloopbtn = new JButton ("While Loop");
            inserttxtfield = new JTextField (5);
            insertlbl = new JLabel ("Insert Number To Count To Here");
            countingtxtarea = new JTextArea (5, 5);
            scrollpane = new javax.swing.JScrollPane(countingtxtarea);
            scrollpane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
            //adjust size and set layout
            setPreferredSize (new Dimension (485, 351));
            setLayout (null);
            //add components
            add (forloopbtn);
            add (doloopbtn);
            add (whileloopbtn);
            add (inserttxtfield);
            add (insertlbl);
            add (countingtxtarea);
            add(scrollpane);
            //add actionlistener
            forloopbtn.addActionListener(this);
            doloopbtn.addActionListener(this);
            whileloopbtn.addActionListener(this);
            //set component bounds (only needed by Absolute Positioning)
            forloopbtn.setBounds (90, 50, 100, 20);
            doloopbtn.setBounds (200, 50, 100, 20);
            whileloopbtn.setBounds (310, 50, 100, 20);
            inserttxtfield.setBounds (320, 20, 30, 20);
            insertlbl.setBounds (135, 15, 185, 25);
            countingtxtarea.setBounds (165, 90, 145, 205);

  • Scroll Bar with achor-type functionality

    Hi all,
    I was wondering if anyone has any reference to a horizontal
    scroll bar that scrolls a MovieClip and its functionality includes
    the ability to jump to a specific y position of the movieClip
    inside of the ScrollBar MovieClip and of course the scroll bar
    would move to its correct coordinates. For example, I need the
    MovieClip to go 333 pixels down (this is pretty easy) and then tell
    the scroll bar to go to its corresponding location. Anyone have a
    good example of this that is pretty dynamic?
    I have an example of this which is close to working, but I
    would like to know if there is a better more dynamic way of doing
    it.
    Thanks!!!

    Continuing this conversation with myself, I opted to use the
    ScrollPane component and use the vPosition property. We had to use
    all the event listeners before it worked,
    my_sp.addEventListener("complete", listener);
    my_sp.addEventListener("progress", listener);
    my_sp.addEventListener("scroll", listener);
    This worked well and I could feed the vposition and wind up
    where I needed to go in the scroll pane.
    So now I am having a problem with skinning the scroll pane. I
    can skin it just fine. But seeing as my scroll bar, the scroller in
    the middle of the scroll pane that you drag to get to the location
    you want to go is different in size from the original (aka scroll
    thumb). It does not adjust its size so it believes it has something
    like 56 more pixels in either direction.
    What happens is the scroll thumb will start 56 pixels below
    where it should and it stops about 56 pixels before it should stop.
    So, your content finishes scrolling and your scroll thumb does not
    finish its entire scroll - it is hanging 56 pixels above where it
    should. You drag it back to the top, the content that is being
    scrolled is back at it original position where it should be while
    the scroll thumb is hanging about 56 pixels below where it should
    ultimately be.
    Is there a way to adjust the size of the middle scroller
    – what in the skins is called the scroll thumb? I need it at
    a constant size. I can re-skin it so it looks like it should but it
    does not function as it should.
    Any suggestions?
    Anybody I can call at Adobe? (Should I send smoke signals?
    Rent the Goodyear blimb to post my Flash follies in desperation to
    solve this problem?)

  • No Scroll bar with JTextArea on unix machine

    hi am using JTextArea with Unix machine... The problem is not enabling scroll bars
    can anyone help me

    JTextArea agreeTxt;
    agreeTxt = new JTextArea(11, 42);
    agreeTxt.setAutoscrolls(true);
    agreeTxt.setLineWrap(true);
    agreeTxt.setEditable(false);
    JScrollPane pane = new JScrollPane( agreeTxt );Now add the JScrollPane object to your JPanel or where ever you have your JTextArea

Maybe you are looking for

  • Pre8 crashes when saving as AVI

    Hello, I've have a couple of MiniDV tapes of HD video that I need to convert to SD. I've tried putting them in the timeline - 1 clip at a time, and saving them as an AVI.  I can get 22% finished or so, and the computer will either crash, or I'll get

  • Powerline/Homeplug Issues with Homehub 5

    Hello all, Having an intensely annoying intermittent issue with Powerline adapters & HH5. Set up is: BT Broadband Extender flex connected to HH5 upstairs with a BT Wifi Home Hotspot downstairs (just to increase wifi coverage) TP Link TL-PA211 Powerli

  • Tags on thumbnails in organizer

    I have lost the tags on each of the thumbnails --- they are not visible.   It appears they are tagged but I am unable to see them on each of the thumbnails.  They were there, now are not.  How can I get them visible again?

  • TOC book in parent doesn't expand (OK from subproject, OK in past)

    I have a merged project. The TOCs of the subprojects work fine if I open the webhelp from the subprojects (...mergedProjects/subproject..), but if I open the project from the parent, although the TOC seems fine at first sight, when I click on a book

  • XML Schemas: Regex for empty string?

    Hi Folks, It appears that the new Oracle schema processor has a bug in processing regular expressions. Example. Create a regular expression which allows a string of characters 5-10 characters in length, or empty. Here's the regex: [a-zA-Z]{5-10}|() W