Creating a scroll bar

Ok what I have is a site I am building for school.  I have some textfields loaded from a outside file.  Some of the fields have more text then will show in the size of the box, and you can sroll it down to read it all but unless you try to scroll there is really now way to tell you can do it just buy looking at the text box.  So I want to add a scroll bar and we have not covered that in class. 
Note everything has to be added using AS3 we can have no content on the timeline.  I have look to try to find something so show me how to dod this but all I can find are videos on doing it using the stage and adding items to it.

Can you make it a little more plane please.  I am working on so much other sruff along with this I am drawing a blank.  I tried a couple things but get this arroa code.
TypeError: Error #1034: Type Coercion failed: cannot convert fl.containers::ScrollPane@311540b1 to flash.display.MovieClip.
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at beta_fla::MainTimeline()

Similar Messages

  • How to create 2 scroll bar in 2 canvas

    Hello All,
    I will appreciate if somebody knows how to create 2 scroll bars in 2 Content canvases and all items text item belongs to one data block.
    In data block property it shows only one scroll bar. Their is no property of scroll bar in canvas.
    Regards,
    Atif

    Go to the layout editor.
    Take the Stacked canvas tool in the toolbox
    draw a stacked canvas on the content canvas (the stacked can could be larger than the content one)
    edit you item properties to display on the content canvas
    adjust the window to the same width and weight properties than the content canvas.
    The simplest way it to use the datablock wizard to create the data block, then indicate to show items not on the content canvas but the stacked canvas.
    Francois

  • How to create simple scroll-bar table dashboard in Excel 2003?

    How to create simple scroll-bar table dashboard in Excel 2003?
    Pl mention from step 1 as I am new to this 

    Hi UltraDev,
    We discuss SQL Server PowerPivot for SharePoint related issue in this forum. In your case, I suggest you post the question in the following forum for better support:
    Excel IT Pro Discussion:
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
    Regards,
    Elvis Long
    TechNet Community Support

  • Text editing window expands instead of creating vertical scroll bar

    In the last few days, I have noticed that when I try to edit or post to Wordpress.com the vertical scroll bar no longer appears on the text editing box. Instead the box just gets progressively larger which makes it very difficult to get to other items on the WordPress editing screen, such as tags and categories. This problem seems to have arisen during the v31.0 auto-upgrade. Is anybody else having this issue and what steps can I take to solve it? (FYI, I tried modifying the setting described in another response about a similar issue using the about:config screen, with no success.)

    I don't know whether your dashboard has the "Visual" and "Text" buttons, but I believe the Visual uses CKEditor or another WYSIWYG editor and the Text editor might be a simpler design. Are both affected?
    I searched around to see whether I could find Wordpress.com support threads or other stories about it and I can't. So I'll fall back on some general suggestions:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * (menu bar) Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove WordPress.com cookies without affecting other sites.
    Then try reloading the page. Does that help?
    To rule out extensions as a possible culprit, could you try the site in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions, some advanced features, and some custom settings. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * (menu bar) Help menu > Restart with Add-ons Disabled
    Note: Flash and other plugins still run
    After Firefox closes, a small dialog should appear: click "Start in Safe Mode" (''not'' Reset)
    Any difference?

  • Looking to create a scroll bar within a section of a webpage

    I think the best example of this is in the iTunes store i.e. you have a section of say, music, and you scroll left to right to see more.
    I'd appreciate any help with this, whether it be the proper coding techniques or pointing me in the right direction.
    Thanks!

    Muse does not currently provide this functionality, so it will require a bit of hand coding.
    You may want to take a look at this thread:
    http://forums.adobe.com/message/4819276#4819276
    Best of luck,
    Julia

  • Multi Select Listbox - Horiz Scroll Bar available?

    I'm using the Standard - Multi Select Listbox and would like to see a horizontal scroll bar on it down at the bottom when the contents are too long to display in their entirety (and many of my items in the list start off the same with the distinguishing text at the end of the line).
    What's puzzling is that in the JSC IDE Design Tab, when I set some of the Default items to a long string, the control is shown on the Design Tab WITH a bottom, horizonal scroll bar! I was so hopeful! But when deployed the vertical scroll bar is there, but the Horiz scroll bar is gone :-(
    Has anyone gotten a horizontal scroll on a Multi Select Listbox to work in Creator??
    Suggestion to Creator Team: Please add a horizontal scroll bar OR at least allow a cursor on items in the list so that the user can manually move thru the line to see what it says.
    Thanks!

    Please help -
    These work arounds don't work for me. I'm using the latest Creator2 with all updates applied. Any chance of seeing a property for this soon?
    Work around 1:
    ===========================
    <div style="height: 72px; left: 144px; top: 192px; position: absolute; width: 288px; overflow: auto;">
    <ui:listbox binding="#{weblinkpl_page1.listbox1}" id="listbox1" items="#{SessionBean1.listOptions}"
    onChange="common_timeoutSubmitForm(this.form, 'tabSet1:weblink_tab2:layoutPanel2:listbox1');"/>
    </div>
    => Gives me listbox with no width at top left corner of page. Populating with very long file, changes the width of the box rather than creating a scroll bar.
    Work around 2:
    ======================
    <div style="overflow: auto;">
    <ui:listbox binding="#{weblinkpl_page1.listbox1}" id="listbox1" items="#{SessionBean1.listOptions}"
    onChange="common_timeoutSubmitForm(this.form, 'tabSet1:weblink_tab2:layoutPanel2:listbox1'); style="height: 72px; left: 144px; top: 192px; position: absolute; width: 288px; "/>
    </div>
    => Gives me good looking listbox but long filenames get truncated in display. No horizontal scroll bar.

  • Scroll bar on legend for xy graph

    Is there a way to create a scroll bar for the legend of an XY graph?  The number of entries in the legend will be changing programmatically so the legend needs to be able to grow dynamically (which I have figured out how to do using property nodes).  Any ideas?
    Cheers
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

    Ultimately I will have 6 xy graphs in my vi, I would like to have a seperate scroll bar for the legend of each graph.  Each graphs legend will both grow and shrink as the program runs and I would like to use the scroll bar to keep the legend from growing off of the screen.  I would like to be able to dislpay the data from the point (6 m/s for example) along with its symbol on the xy graph (red dot for example) in the legend.  If I am umderstanding you correctly I need to bundle the type and color of the plot into a cluster with the data and then link that cluster to the scroll bar, I assume I can read the property node for each data point (setting it to active plot first) for both plot style and color?  Let me know if I am thinking about this correctly or if I have misinterpreted what you are saying.  Thank you very much for your help!
    Cheers!
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • 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 bar creation

    I am attempting to create a scroll bar for my text and am following the tutorial provided by Adobe.
    Problem: I am unable to select parts of the scroll bar (i.e. up arrow, bar, thumb) to convert their behaviour. I have followed the tutorial to the letter, but when it comes time to select each part of the scroll bar I only can select the entire scroll bar...not any one part.

    I've come to the same conclusion, it's the software.  I had the same results when I ran the project in IE.  It worked although the scroll bar was shorter than I had set it, but it worked.  When I tried to go back and reset the length, it stopped working.  I have shortened my text and reduced the font to make it fit without the scroll bar.
    There are a number of other odd things that happen.  After spending hours and hours on it, essentially testing the software, it's easy to come the conclusion of 'wonky' software.  I love the idea of Flash Catalyst and someday the bugs will be smoothed out, but until then...
    Bill Rankin
    Rankin Imagery Productions, Inc.
    Corporate ~ Weddings ~ Events 
    www.rankinimagery.com
    713-621-3384
    Click on the image below.

  • I have a problem with interactive report in  horizontal scroll bar

    hi all,
      in my interactive report the horizontal scroll bar is not visible and i have created a scroll bar with the html code and i have a problem in that scroll bar when ever i will click the select list and if i will move the scroll bar and the select list is also moving but it the select list dont have to move .pls give me a solution for this urgent.
    thanks in advance 

    Kishore suresh wrote:
    hi all,
      in my interactive report the horizontal scroll bar is not visible and i have created a scroll bar with the html code and i have a problem in that scroll bar when ever i will click the select list and if i will move the scroll bar and the select list is also moving but it the select list dont have to move .pls give me a solution for this urgent.
    thanks in advance
    Hi,
    How you think anybody can help if you do not post single line how you have try create that scrolling report ?
    And if your issue is urgent, you are seeking help from wrong place.
    Regards,
    Jari

  • Double Scroll Bars, Side By Side, End To End, In A JScrollPane

    I'm trying to create double scroll bars next to each other, end to end. One scroll bar is for the position in the grid, while the other, smaller scroll bar controls the zoom level. I am masquerading a JPanel as a JScrollBar. I'm adding two scroll bars to the panel, and encapsulating the panel in a subclass of JScrollBar. You might wonder why I would do that. Because JScrollPane only accepts JScrollBar classes in setHorizontalScrollBar() and setVerticalScrollBar(). I tried to override every painting method I could think of that was important, but when I test it, nothing is shown. It is completely blank. Here is the code below. I know I still have to override the general JScrollBar methods and pass them to the primary scrollbar. Does anyone have any ideas on how to do somethink like I am attempting to do?
    import java.awt.*;
    import javax.swing.*;
    import java.lang.reflect.*;
    * <p>Title: </p>
    * <p>Description: This class masquerades as a JScrollBar, but it wraps two scrollbars next to each other. The
    * main scrollbar, and the secondary scrollbar which is smaller. Any calls which treat this as a regular scrollbar
    * will return the main scrollbar's values, while the special methods can be used to return the seondary scrollbar's
    * values.
    * </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author not attributable
    * @version 1.0
    public class DoubleScrollBar extends JScrollBar {
      JPanel panel = new JPanel();
      JScrollBar primary;
      JScrollBar secondary;
      public DoubleScrollBar(int orientation) {
        init(orientation);
      void init() {
        panel.setLayout(new GridBagLayout());
        if ( orientation == JScrollBar.HORIZONTAL ) {
          primary = new JScrollBar(JScrollBar.HORIZONTAL);
          secondary = new JScrollBar(JScrollBar.HORIZONTAL);
          GridBagConstraints gbc = new GridBagConstraints(0, 0, 1, 1, 0.75, 0.0,
              GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0);
          panel.add(primary, gbc);
          gbc.gridx = 1;
          gbc.weightx = 0.25;
          gbc.anchor = GridBagConstraints.EAST;
          panel.add(secondary, gbc);
        } else if ( orientation == JScrollBar.VERTICAL ) {
          primary = new JScrollBar(JScrollBar.VERTICAL);
          secondary = new JScrollBar(JScrollBar.VERTICAL);
          GridBagConstraints gbc = new GridBagConstraints(0, 0, 1, 1, 0.0, 0.75,
              GridBagConstraints.NORTH, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0);
          panel.add(primary, gbc);
          gbc.gridy = 1;
          gbc.weighty = 0.25;
          gbc.anchor = GridBagConstraints.SOUTH;
          panel.add(secondary, gbc);
      public Dimension getPreferredSize() {
        return panel.getPreferredSize();
      public void setPreferredSize(Dimension d) {
        panel.setPreferredSize(d);
      public Dimension getSize() {
        return panel.getSize();
      public void paint(Graphics g) {
        panel.paint(g);
      public void paintAll(Graphics g) {
        panel.paintAll(g);
      protected void paintComponent(Graphics g) {
        try {
          Method m = panel.getClass().getMethod("paintComponent", new Class[] {Graphics.class});
          m.invoke(panel, new Object[] {g});
        catch (SecurityException ex) {
          System.out.println("SecurityException");
        catch (NoSuchMethodException ex) {
          System.out.println("NoSuchMethodException");
        catch (InvocationTargetException ex1) {
          System.out.println("InvocationTargetException");
        catch (IllegalArgumentException ex1) {
          System.out.println("IllegalArgumentException");
        catch (IllegalAccessException ex1) {
          System.out.println("IllegalAccessException");
      public void paintComponents(Graphics g) {
        panel.paintComponents(g);
      public void repaint(long tm, int x, int y, int w, int h) {
        if ( panel != null ) {
          panel.repaint(tm, x, y, w, h);
      public int getWidth() {
        return panel.getWidth();
      public int getHeight() {
        return panel.getHeight();
      public static void main(String[] args) {
        JFrame f = new JFrame();
        DoubleScrollBar dsb = new DoubleScrollBar(JScrollBar.HORIZONTAL);
        dsb.setPreferredSize(new Dimension(200, 50));
        f.getContentPane().add(dsb);
        f.pack();
        f.show();

    I know this isn't zooming, but maybe it will help.import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test3 extends JFrame {
      MyPanel mp = new MyPanel();
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        JScrollBar jsb = new JScrollBar();
        jsb.addAdjustmentListener(new AdjustmentListener() {
          public void adjustmentValueChanged(AdjustmentEvent ae) {
            mp.setSize(ae.getValue()*5);
        content.add(jsb, BorderLayout.EAST);
        mp.setPreferredSize(new Dimension(500,500));
        content.add(new JScrollPane(mp), BorderLayout.CENTER);
        setSize(300, 300);
      public static void main(String[] args) { new Test3().setVisible(true); }
    class MyPanel extends JPanel {
      int size;
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        g.setColor(Color.red);
        g.drawRect(10,10,size,size);
      public void setSize(int size) {
        this.size=size;
        repaint();
    }

  • No scroll bar on emal or safari, anyone else experiencing this?

    I have to make my window a little smaller and this creates a scroll bar. Then I immediately grab the scroll in order to scroll because it doesn't stay there long ..

    Glad to help.
    Cheers
    Pete

  • Where is the Scroll bar of the page?

    Hello,
    When I start doing my website on Flex 4 using flash builder eclipse plugin, and when I test my pages how they looks I can't see the scroll bar to to see the buttom of the page!! well I thought can be a bug or something but until now I still unable to see the buttom of the pages !
    I read this http://stackoverflow.com/questions/4627659/flex-4-scroller-skin, but I didn't understand what should I do exactely !
    should I create my scroll bar manually to be able to make a scroll ?
    Please I need a solution
    Anyone !

    see an example in action:
    http://trumpboston.com/helpothers/example03521/scroll.html
    it came from this example source code:
    http://blog.flexexamples.com/2010/11/03/adding-scroll-bars-to-an-spark-application-contain er-in-flex-4/
    the first module make it be your application mxml
    the second one, under your src directory, create a "skins" folder and save in there the file:
    skins/CustomScrollingApplicationSkin.mxml
    notice the slider on the top that will increase the height of your content to show the scrollbar jumping around in its height.

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

  • Scroll bar colour

    Does anyone know the clever trick to turn the scroll bar down
    the left of the persons web browser transparent or the same colour
    as there background, or better still rid of it. Basically i have a
    block of text under my main home page icon, there only for google
    ranking and i dont want people to scroll down as it doesn't read to
    well iut's just stacks of cool buzz words that google likes.
    Any help would be greatly appreciated.
    Matt

    Matthew Seed wrote:
    > Does anyone know the clever trick to turn the scroll bar
    down the left of the
    > persons web browser transparent or the same colour as
    there background, or
    > better still rid of it. Basically i have a block of text
    under my main home
    > page icon, there only for google ranking and i dont want
    people to scroll down
    > as it doesn't read to well iut's just stacks of cool
    buzz words that google
    > likes.
    >
    > Any help would be greatly appreciated.
    > Matt
    >
    1. Trying to fool Google is not a good idea.
    2. You can't get rid of the browser scroll bar.
    3. Then, there are many ways to have text in your code (that
    will be indexed by Google), without
    showing that text on your page.
    For example:
    <div style="display:none;">all the text you want here
    for search engines</div>
    This will be invisible to the user, but visible to search
    engines.
    You can also place your text in a div that will show in the
    page, but NOT expand to accomodate the
    text size:
    <div style="height:200px;overflow:hidden">all the text
    you want here for search engines</div>
    This won't create a scroll bar, and the text will desapppear
    below the specified height of the div.
    4. Google is of course trying its best to detect any attempt
    at fooling its fair and objective
    ranking system, and nobody kknows exactly how far they will
    go into such detection. You can bet that
    if they do detect your attempts to fool them, your siite will
    be banned from Google results, or
    thrown all the way down the list.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

Maybe you are looking for

  • VAT on Down Payment in Indonesia ***URGENT***

    Hi, In Indonesia, We are Calculating VAT (Input Tax Credit) on Down Payments and when the Invoice is Raised we are Calculating  VAT (Input Tax Credit) Only on the remaining amount For Eg. 10,000 IDR VAT calculated on Down Payment and on invoice, norm

  • Physical and Logical Partioning

    Hi Friends,            I would like to know what is the difference between these 2 types of partioning?? Is there any OSS notes to gain knowledge on this?? thanks,

  • PRT Rounting prob for counter updation for Repetitive manufacturing

    Hi Experts, Is it possible to do update measuring counter thr production specially in case of Repetitive manufacturing scenario .If we try the same counter thr discrete then it will update the counter . Pl guide ,is there any customization for these

  • Zen plus V stopped working--won't turn on, less than 1 month old............

    I have had my zen plus V less than month and I tried turning it on and it would not. What is wrong with it's How can I get it fixed or a new one? I got it from walmart.com Frustateddddddddddddddddd

  • [SOLVED] Trouble getting initrd-image to work

    Hello everyone I'm trying to get plymouth to work and for that reason I'm messing with initrd images for the first time in my life. I had no issues generating the image, but once I rebooted, nothing happened. It looks like lilo fails to load the imag