UIScrollBar - how? tutorial doesn't work

I don't know what be added to the Flash 8 UIScrollBar
manual's examples, skimpy as it is, but if so, what?
I can't get the example to work. I of course put in a path to
a real text file rather than their URL (helpful, guys).
when I do a test movie, the text appears and scrolls, but no
scrollbar appears.
I even imported the StandardComponents.fla and copied the
ScrollBar assets folder into my library.
nobody said what you are supposed to do after that. I would
be happy to have the default scrollbar.
I even used actionscript to set the scrollbar object's
graphics symbols. nothing.

I have that with this code
// Requires:
// - UIScrollBar component in library
// Create text field.
this.createTextField("txt", 10, 0, 0, 600, 480);
txt.wordWrap = true;
this.createClassObject(mx.controls.UIScrollBar, "sc", 20);
// Set the target text field for the scroll bar.
sc.enabled=true;
sc.visible=true;
sc.setScrollTarget(txt);
//size it to match the text field.
sc.setSize(29, txt._height);
//move it next to the text field.
sc.move(txt._x+txt._width, txt._y);
// Load text to display and define onData handler.
sc.upArrowUpName('uparrow');
sc.upArrowOverName('uparrow');
sc.upArrowDownName('uparrow');
sc.downArrowUpName('downarrow');
sc.downArrowOverName('downarrow');
sc.downArrowDownName('downarrow');
sc.scrollTrackName('track');
sc.scrollTrackOverName('track');
sc.scrollTrackDownName('track');
sc.thumbTopName('thumb');
sc.thumbMiddleName('thumb');
sc.thumbBottomName('thumb');
sc.thumbGripName('thumb');
var my_lv:LoadVars = new LoadVars();
my_lv.onData = function(src:String) {
if (src != undefined) {
txt.text = src;
} else {
txt.text = "Error loading text.";
my_lv.load("
http://www.jesusnjim.com/code/gpl.txt");
but all the customizations to the scrollbar do not work as
advertised. I remember reading that in order to customize a
scrollbar, you must draw each of 30 pieces manually (ugh).
now if only I could scroll graphic buttons. I can't even wrap
my head around that one.

Similar Messages

  • Problems with building web services - tutorial doesn't work

    I've been going through this tutorial from technet.oracle.com -
    trying to deploy the example stateless session bean service.
    First problem comes when running the deploy command -
    java -jar <j2ee_home>/admin.jar ormi://<host> <uid> <pwd> -deploy -file ejbws.ear -deploymentName ejbws.
    This command fails insisting that it can't find application.xml (even though it is clearly in the .ear file).
    Got around this by manually editing the server.xml file and bouncing OC4J. Then did the bind command. The first steps of compiling and running the client application then worked fine - I could see the .wsdl file and download the proxy jar.
    But when I came to actually run the client I got the error:
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
    pported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.j2ee.xanadu.JasperGenerationError: no source generated during code generation!: error: I/O error in UrlBridge to: file:E:\ORACLE\j2ee\home\application-deployments\ejbws\ejbws\temp\__session_bean_rpc\Hello.class.<br>binary class definition not found: Hello
    By manually copying the Hello.class file into the __session_bean_rpc directory I was able to get the example to run.
    But how do I get it do deploy correctly in the first place????
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    I ran into the EXACT same problem described by Tracy, and I assembled my .ear file manually.
    According the error message, it would appear that the server is looking for the EJB remote interface in the ../temp/__session_bean_rpc directory when it is trying to generate its session bean wrapper class. As Tracy notes, when the file Hello.class is copied into the directory, the problem goes away. Furthermore, once the wrapper class has been generated, Hello.class is no longer needed and can be deleted from the directory.
    Better still, I found a way to deploy the web services web module and make the error go away. I created the ejbws.war file with a copy of the remote interface Hello.class in the WEB-INF/classes directory. This makes the class available when the wrapper class is generated.
    The WebServicesAssembler tool doesn't copy the EJB remote interfaces into the .war web module, which would appear to be
    necessary.
    Hope this helps.

  • XML Tutorial doesn't work

    I tried the one xml tutorial listed under http://otn.oracle.com/sample_code/tutorials/xml.html and I got the error:
    XMLNormalization.java:1: Package oracle.xml.parser.v2 not found in import.
    import oracle.xml.parser.v2.*;
    ^
    .\MyDocumentBuilder.java:2: Package oracle.xml.parser.v2 not found in import.
    import oracle.xml.parser.v2.*;
    ^
    .\MyDocumentBuilder.java:4: Superclass DocumentBuilder of class MyDocumentBuilde
    r not found.
    public class MyDocumentBuilder extends DocumentBuilder
    ^
    3 errors
    I believe the problem is that it can't find xmlparserv2.jar, which seems to be packed up in an ext directory as xmlparserv2.jar!_1076361799.ojpd. Must be some proprietary compression format. Let me know when you have something that works with java or an example that explains how to unpack your proprietary format.
    Regards

    Yes, you are true : the xmlparserv2.jar is missing from CLASSPATH in your environment.
    If you have installed Oracle9i JDeveloper, then the xmlparserv2.jar is available at JDEV_HOME\lib\ directory.
    If you are not using Oracle9i JDeveloper, then you need to download Oracle XDK for Java at location http://otn.oracle.com/software/tech/xml/xdk_java/content.html
    This is specified in Required Software Section of the tutorial. After downloading the Oracle XDK (xdk_java_9_2_0_5_0.zip for windows or similar for windows), unzip/unjar the zip file.
    You can find xmlparserv2.jar file as part of the unzipped version of xdk_java_9_2_0_5_0.zip or similar equivalent on Unix.
    You need to embed xmlparserv2.jar as part of the CLASSPATH.
    Please let me know if you need any other help.
    Thanks
    -- Umesh

  • Association Rule Tutorial Doesn't Work

    Dear All,
    I couldn't run Assocation Rules tutorial on my machine. I got the following error message
    Error Message: An abnormal failure was encountered.
    Exception Message: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    class java.lang.SecurityException
    Stack Trace: java.lang.SecurityException: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
         at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
         at java.util.jar.JarVerifier.processEntry(Unknown Source)
         at java.util.jar.JarVerifier.update(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at oracle.dmt.jdm.task.OraBuildTaskFactory.create(OraBuildTaskFactory.java:71)
         at oracle.dmt.dm4j.wizard.director.minings.ModelBuildBuilder.getMiningTask(Unknown Source)
         at oracle.dmt.dm4j.wizard.director.minings.MiningBuilder.run(Unknown Source)
         at oracle.dmt.dm4j.browser.ProgressBar.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Many thanks.
    DataMiner

    Hi Husnu,
    Many thanks for your reply.
    I'm now using Oracle 10g EE Data Mining. Following the same procedure, I have installed the package on two PCs. When running a data mining task, however, one of them always failed at the last stage: Bulid - Run - Failed - Error Message.
    For DT
    Error Message: An abnormal failure was encountered.
    Exception Message: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    class java.lang.SecurityException
    Stack Trace: java.lang.SecurityException: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
    at sun.misc.Resource.getBytes(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at oracle.dmt.jdm.task.OraBuildTaskFactory.create(OraBuildTaskFactory.java:71)
    at oracle.dmt.dm4j.wizard.director.minings.ModelBuildBuilder.getMiningTask(Unknown Source)
    at oracle.dmt.dm4j.wizard.director.minings.MiningBuilder.run(Unknown Source)
    at oracle.dmt.dm4j.browser.ProgressBar.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    For AR
    Error Message: An abnormal failure was encountered.
    Exception Message: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    class java.lang.SecurityException
    Stack Trace: java.lang.SecurityException: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
    at sun.misc.Resource.getBytes(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at oracle.dmt.jdm.task.OraBuildTaskFactory.create(OraBuildTaskFactory.java:71)
    at oracle.dmt.dm4j.wizard.director.minings.ModelBuildBuilder.getMiningTask(Unknown Source)
    at oracle.dmt.dm4j.wizard.director.minings.MiningBuilder.run(Unknown Source)
    at oracle.dmt.dm4j.browser.ProgressBar.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Please help. Thank you again.
    Regards
    DataMiner

  • The link, Lesson 2 : Examining the Metadata Layers, the tutorial, Oracle Business Intelligence Enterprise Edition Suite Overview, doesn't work

    The link for the tutorial for OBIEE suite is, http://download.oracle.com/technology/products/bi/demos/FoundationSuite/LessonIndex.htm
    Unfortunately, the link for Lesson 2 in this tutorial doesn't work. Could anyone help me on this? Or who should I contact to solve this issue?

    Moderator Action:
    This post has now been moved from "Download Issues" forum space to the "Documentation" forum space for closer topic alignment.
    The problem seems to be a malfunctioning Flash program, not any issue with retrieving such program.
    Thus this is an errata issue.
    Somehow, the maintainer of that page need to correct whatever is there.
    To O.P. (user3801117),
    You may need to open a service request with Support to get through to whoever maintains that page.

  • Distcc configuration file doesn't work

    I have followed the arch wiki http://wiki.archlinux.org/index.php/Distcc. but it seems like this following that how-to doesn't works.
    I have this in /etc/conf.d/distccd
    # Parameters to be passed to distccd
    # You must explicitly add IPs (or subnets) that are allowed to connect,
    # using the --allow switch. See the distccd manpage for more info.
    DISTCC_ARGS="--user nobody --allow 127.0.0.1"
    DISTCC_HOSTS="localhost"
    When i start the daemon DISTCC_HOSTS is blank.
    However /etc/rc.d/distccd with the
    /usr/bin/distccd --daemon ${DISTCC_ARGS}
    command uses the DISTCC_ARGS variable just fine, and if i put something wrong i get an error.
    distccd: ERROR: --typo: unknown option
    Currently i use export to set, but can it be set directly from the config file?

    Hi menchar,
    This is a known and documented issue for CVI 2009.  You can check the readme files for future releases to see if if has been fixed, the Corrective Action Request number is 202065. In the meantime, if you still have the MSDN DVD that was included with CVI 9.0 or 9.0.1, you can try installing this and see if it allows you access to the help.  It is okay even if you have already installed the 2009 MSDN DVD.
    Ryan T
    National Instruments
    Applications Engineer

  • Apex Workspace Login Works on few machines and doesn't work on others

    Hi,
    I am working on APEX 4.2, Oracle 11g R2 Database.
    select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    I created an Apex workspace ABC_XYZ/ADMIN/abcxyz
    The issue is, the login credentails work on a few machines and don't work on a few.
    Has anybody comes across this issue?
    What may be the blunder I might be doing here?
    Can someone please suggest?

    Yes, i can suggest.
    Please explain how "it doesn't work" looks like. Is there an error message? What happens when they press submit? Do they get a new session-id?
    The more Info we have, the better we can help.
    brgds,
    Peter
    get Syntax Highlighting for the Application Builder: http://apex.oracle.com/pls/apex/f?p=APEX_DEVELOPER_ADDON:ABOUT:0:::::
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at
    Fantastic Plugins for APEX: http://www.tryfoexnow.com

  • What should I do if the iphoto keeps on saying that "Plz wait for import to complete" when i click the close button but it is not importing photos? How can I close the iPhoto? I try to switch my mac off but it doesn't work. Thanks.

    What should I do if the iphoto keeps on saying that "Plz wait for import to complete" when i click the close button but it is not importing photos? How can I close the iPhoto? I try to switch my mac off but it doesn't work. Thanks.

    You should be able to select Force Quit from the menu beneath the Apple icon in Finder
    and choose to Quit iPhoto from there, without messing up the Mac OS X in the process.
    OS X - Support
    Not sure if rebuilding the iPhoto library would help this issue. However if you had to
    turn off the computer without the correct method (unplug, etc; instead of menu choice)
    the system may have accrued damages and should be checked, maybe repaired by
    use of the Disk Utility in the system. Or restart the computer in Safe Boot mode, then
    run 'repair disk permissions' while it is running in that reduced mode; then restart after.
    •Understanding Safe Mode - tuts+ computer skills tutorial:
    http://computers.tutsplus.com/tutorials/understanding-safe-mode--mac-59897
    •OS X: What is Safe Boot, Safe Mode?
    Suggestions on how to use Safe Mode in article, to resolve issues, may be helpful.
    There likely are other means to rectify troublesome applications, including reinstall.
    Be sure to backup your music, image, video, and other work on an external drive
    or suitable device as a precaution against loss should there be a hard drive failure.
    iPhoto - Mac Apps - Apple Support
    There should be some tips and help information using iPhoto via this tiny Support link.
    Good luck & happy computing!

  • In my dock there was this weird program called "tutorial". While throwing away this program I had to fill in my password. Afterwards I tried to change my password, but my old password doesn't work anymore. Who can help?

    In my dock there was this weird program called "tutorial". While throwing away this program I had to fill in my password. Afterwards I tried to change my password, but my old password doesn't work anymore. Who can help?

    What was this program for, or did you just assume it's something you shouldn't have and therefore arbitrarily decide to "throw it away"? Exactly how did you supposedly throw it away?
    If you didn't change your administrator password, there's no reason it shouldn't work now, so that suggests you did something else, or changed it and then forgot what it was.
    You can't recover that password; you can only change it. To do that, you would need to boot from your Snow Leopard DVD, choose your language, then choose Reset Password from the Utilities menu in the top menu bar.

  • My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    http://support.apple.com/kb/TS2005
    http://support.apple.com/kb/HT1861
    https://ssl.apple.com/support/proapps/serialnumbers/

  • I cannot figure out how to make the text larger on an incoming email.  The finger method doesn't work and I cannot find any toolbar with which to do it.  I could find nothing in settings also.  Plese help and thank you.

    I cannot figure out how to make the text larger in a received email.  The finger method doesn't work and I can find no tool bar as I can for composing emails.  I can find nothing in settings.  Please help and thank you in advance.

    Hi there,
    Download a piece of software called TinkerTool - that might just solve your problem. I have used it myself to change the system fonts on my iMac. It is software and not an app.
    Good wishes,
    John.

  • How do I use a NORMAL headset (dual 3.5mm) on my new Macbook pro retina? No usb ports available and headset buddy adapter doesn't work.

    Title says it all:
    How do I use a NORMAL headset (dual 3.5mm) on my new Macbook pro retina? No usb ports available and headset buddy adapter doesn't work.

    Hi Auracles1,
    Here's a pretty discussion regarding wireless printing with this device and a Mac.
    http://h30434.www3.hp.com/t5/Printer-networking-and-wireless/HP-Officejet-6500-E 709n-wireless-issue/m-p/258853
    I have a similar OfficeJet and it was a multi-step process. (1) Install printer drivers on the machine, (2) Add the printer queue in print & fax, (3) Run the "setup wizard" from the disc for wireless printing.

  • How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activ

    How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activated. HELP?  I really need to continue using this product for my home business.It works fine not activated but the threat is that it will stop working in 13 more days if I don't get it activated, and none of the activation methods they list seem to work.

    The new serial number is to the right of your chosen download.

  • The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on that  wifi network

    The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on my school wifi. I have an iPhone 4S on AT&T and iOS 7.04

    In a roaming network, your "main" router is the device that would require port mapping/forwarding to be configured in order to access the IP camera from the Internet. This router is also the one that would be provide the private IP address for the camera which you will want to be a static one.
    So as you described your network, the IP cameras should be getting an IP address or you assigned it a static one and this is the address that you would enter in the Private IP address (or equivalent depending on the router used) field when setting up port mapping.
    If you are not able to access this camera from the local network, then this should be troubleshot first.

  • Windows 8 - hyperlink doesn't work....how do I fix? I already tried PDF/A Never...still doesn't work.

    Windows 8 - hyperlink doesn't work  how do I fix? Already tried to PDF/A Never, still doesn't work.Collaboration & Commenting

    What country are you in?  Is YouTube legal there?

Maybe you are looking for