Scruber bar not scrubbing can't find the error

hi all,
if you notice anything that might be tripping up this
scrubber code, I'd appreciate it if you could advise. I'm not able
to write this direct, and painstakingly transcribed from a known
source. It originally worked, but then I've changed some
graphics...but instance names, positions, etc...are all good. The
video object plays, and scrubber moves across the track I've
created for it, but it's not responsive to mouse interaction.
your help appreciated if you see anything. I've scanned it to
the best of my ability.
thanks,
Pow_haaweeese
my instance names:
"loader_mc"
is main movie clip containing loadBar and scrub handle
"loadBar_mc"
the loadbar movie clip of the bar graphic itself, separate
from the containment stroke
"scrub_mc"
a simple handle that moves along, and should let me grab it
code:

Please use code tags (see button above posting box) when posting code. It makes it much easier to read.
So, it appears that capicua means palindrome--the number reads the same backwards and forwards. Is that correct?
There are ways of doing this without converting the 121 to a number, but I won't explain that unless you want.
I think your problem is this line:
if (num == inverted)
You have changed "num" within your while loop. Therefore, num is no longer the original input 121.
Try adding println statements like this to watch what happens:
while(num > 0) {
  digit = num % 10;
  num = num /10;
  inverted = inverted * 10 + digit;
  System.out.println("digit = " + digit);
  System.out.println("num = " + num);
  System.out.println("inverted = " + inverted);
}

Similar Messages

  • I am trying to export my bookmarks to an HTML file, but the "organize" option does not appear when I click on the "bookmarks" option on the menu bar. How can I find the organize option?

    How can I find the "organize" option or export my bookmarks to HTML when no "organize" option appears when I click on the "bookmarks" word on the menu bar?

    Menu changed to show "Show All Bookmarks" see item #7 "Menu changes (wording)" in
    You can make Firefox 4.0.1 look like Firefox 3.6.17, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)]

  • Table in which RZ20 alerts are stored (Where can I find the error messages)

    Hi All,
    I want to know the table where i can see all the error messages poplulated as alerts in the TCode RZ20.

    hi,
    You can use the FM "BBP_GET_STATE_MONITOR" to get the avrious alert messages.
    BR,
    Disha.
    Do reward points for useful answers

  • Does Mozilla have a lifecycle policy for Firefox? If not, where can I find the end of life support dates?

    I'm trying to find the dates in which Mozilla stopped supporting versions dating back to Firefox 1.5.

    Basically, support ends when Mozilla decides to end it. There are parameters as to when support will end, but "stuff happens" and sometimes they postpone the EOL life date when they feel a security update is warranted.
    I found this via a Google Search for Firefox 1.5 EOL. <br />
    http://ubuntuforums.org/showthread.php?t=389977
    For Firefox 2.0 it was like 12-29-2008, when 2.0.0.20 was released. That version is dated 12-17-2008.
    http://en.wikipedia.org/wiki/Mozilla_Firefox#Release_history <br />
    Has the release dates for each version, but not the EOL dates.

  • Can't find the error on this small code :S

    Hi , i've just compiled this code and i can't find what is wrong! :(
    The compiler is ok, but the output print its not what i was expect.
    If u insert 121 (capicua) the answer is: This number its not a capicua :S
    what is wrong?
    thanks!!
    Note: Don't create another code plz.
    import java.io.*;
    public class Capicua {
         public static void main (String[] args) throws Exception {
              int digit, num;
              int inverted = 0;
                   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                   System.out.print(" Insert number: ");
                   num=Integer.parseInt(br.readLine().trim());
                   while(num > 0) {
                   digit = num % 10;
                   num = num /10;
                   inverted = inverted * 10 + digit;
                   if(num == inverted) {
                        // to be capicua the number inserted must
                        //be equals to the inverted
                        System.out.println("Its Capicua!");      
                   }else{
                        System.out.println("This number is not a Capicua!");
    }

    Please use code tags (see button above posting box) when posting code. It makes it much easier to read.
    So, it appears that capicua means palindrome--the number reads the same backwards and forwards. Is that correct?
    There are ways of doing this without converting the 121 to a number, but I won't explain that unless you want.
    I think your problem is this line:
    if (num == inverted)
    You have changed "num" within your while loop. Therefore, num is no longer the original input 121.
    Try adding println statements like this to watch what happens:
    while(num > 0) {
      digit = num % 10;
      num = num /10;
      inverted = inverted * 10 + digit;
      System.out.println("digit = " + digit);
      System.out.println("num = " + num);
      System.out.println("inverted = " + inverted);
    }

  • HT201413 I work at a school and I have been restoring ipads. This one particular ipad will not "restore" can i override the error code (9)?

    I need help restoring an ipad. I have done two others previous to this one however when trying to complete theis one gives me an error message of (9). Any ideas?

    Do you have the latest version of iTunes? Did you check for anti-virus software? One of the sections talks about interference from anti-virus software and firewalls. Also, you should not have to make any changes to your Host file unless your computer has been used to jailbreak a phone. I worry because you were using a number of software applications that are designed for jailbreaking devices. Excerpt from this support document. Get help with iOS update and restore errors - Apple Support
    Check for hardware issues
    Related errors: 1, 3, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    These errors mean that your device or computer might have a hardware issue that stops the update or restore from completing.
    Check that your security software and settings aren't blocking your device from communicating with the Apple update server.
    Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
    Make sure that your security software and settings are allowing communication between your device and update servers.
    If you still see the error message when you update or restore, contact Apple support.

  • I can't find the error

    It's coded correctly with it's opening and closing braces, why is it that line 19 indicating and error?

    Hi friend,
    Could you post your code ? We can't help you if there is no code. And which line is causing the error ...  Have you tried setting a  breakpoint  in the error class and stepping
    through each line in the debugger?
    Good day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Where can I find the error log of adobe premiere CC

    Adobe premiere CC is doing very weird things this last month.
    When I open adobe I get a really weird setup. When I move everything back in order it's ok again. I save the new order under the same name (overlapping) but when I start adobe again, everything is messed up again.
    Than premiere is veeeeeery slowly when I output to adobe media encoder. Very slow in choosing the codec, change settings and Render Que.
    I even got a very strange and long error within adobe, but I closed it....
    I guess that error was the problem and I need to find it back again.
    Does adobe premiere create a log file where I can see that error from today again?
    Many thanks!

    And now I got this error.....

  • ClassCastException -- Can't find the error

    i've searched through the forums regarding this error, and i can't pinpoint why i'm getting this error.
    i'm using a <jsp:useBean> tag with scope=application to declare a database connection pool. when the webserver starts, everything works fine for about 5 min, then i get the following error:
    java.lang.ClassCastException: DBConnectionPool
         at _0002faccount_0005flogIn_0002ejspaccount_0005flogIn_jsp_0._jspService(_0002faccount_0005flogIn_0002ejspaccount_0005flogIn_jsp_0.java:68)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)
    is my DBConnectionPool timing out? i KNOW the pool is working, since i'm able to access data in the DB for about 5 min. I could really use some help here. thanks everyone.

    thanks for the replies. here's the code in my login page:
    <!-- Connection Pool to User Database -->
    <jsp:useBean id="connPoolUser" scope="page" class="DBConnectionPool" >
         <jsp:setProperty name="connPoolUser" property="driver" value="interbase.interclient.Driver" />
         <jsp:setProperty name="connPoolUser" property="url" value="jdbc:oracle:thin:@ip:host" />
         <jsp:setProperty name="connPoolUser" property="username" value="user" />
         <jsp:setProperty name="connPoolUser" property="password" value="user" />
    </jsp:useBean>
    <!-- Connection Pool to Product Database -->
    <jsp:useBean id="connPoolProduct" scope="page" class="DBConnectionPool" >
         <jsp:setProperty name="connPoolProduct" property="driver" value="interbase.interclient.Driver" />
         <jsp:setProperty name="connPoolProduct" property="url" value="jdbc:oracle:thin:@ip:host" />
         <jsp:setProperty name="connPoolProduct" property="username" value="user" />
         <jsp:setProperty name="connPoolProduct" property="password" value="user" />
    </jsp:useBean>
    <jsp:useBean id="user" scope="session" class="User">
    </jsp:useBean>
    does it matter that i'm trying to declare 2 instances of the connection Pool? also, inside my pages that use the connection pool, i do the following:
    <jsp:useBean id="objConn" scope="page" class="DBConnection"></jsp:useBean>
    if (objConn.getConnection( connPoolProduct ) )
    perform my operations here
    sometimes, i also get an error:
    variable connPoolProduct undefined.
    wierd since it's an application variable. any suggestions?

  • I can't finde the recovery disc from my Satellite A100-163

    My A100 will not load - can't find the recovery disc. Can I use my A60 recovery disc on my A100 - 163 laptop?

    Sorry, but you cant use the recovery disk from the A60. It will not work.
    You can order a new recovery disk from Toshiba:
    https://backupmedia.toshiba.eu/
    Or you go to an ASP (authorized service provider) to get a new one:
    http://eu.computers.toshiba-europe.com => Support & Downloads => Find an ASP
    You can also use an original Microsoft disk, but there you must install all drivers manual and this takes a lot of time.

  • Can you find this error

    I am sure this is something really small I am over looking but i can't find the error
            for (int i=0; i<monthName.length; i++) {
                if(input == monthName) {
    Month monthName[i] = new Month(monthName[i], numberOfDays[i]);
    monthName[i].display();
    error message says i need another "]"

    try this...
    Month[] = new Month[monthName.length];
    for (int i=0; i<monthName.length; i++) {
    if(input == monthName) {
    monthName[i] = new
    nthName[i] = new Month(monthName[i],
    numberOfDays[i]);
    monthName[i].display();
    sorry ment to say this...
    Month[] months = new Month[monthName.length];
    for (int i=0; i<monthName.length; i++) {
    if(input == monthName) {
    months[i] = new Month(monthName[i], numberOfDays[i]);
    monthName[i].display();

  • How can i find my errors during project validation before burning my project

    How Can I find the errors during the project validation before burning the project??

    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    OT

  • I scanned an item from my computer to my documents and it said then scan was complete. However, when I searched my documents the Item was not there. Where can I find the item?

    I scanned an Item from my computer to my documents. The scan was completed.  However, when I searched in my documents, the Item was not there.
    Where can I find the item scanned?

    Most scanners default to Pictures folder or the Desktop.
    If you select All My Files and Arrange by Date Added you should be able to find the file.
    If you turn on Show Path bar and Show Status bar for your Finder Window under View in the Menu bar, when you select the file you will see the path of the file in the bottom of the Finder window.

  • My screen is magnified on full and i can't find the menu bar and the doc.

    My screen is mangified on full and i can't find the menu bar and the dock.

    Hello, Melorw44.
    Try pressing the <esc> (Escape) key.
    If <esc> doesn't clear your full screen, restart your Mac.  When you launch Safari after the restart, the normal sized window should open.
    BTW, three finger double tap applies to trackpads. From your responses, I infer that you are not using a trackpad.  However, if you are using a wireless mouse (or other wireless pointing device), low batteries in the device might be causing your inability to control your view.
    Message was edited by: EZ Jim
    Mac OSX 10.8.2

  • Fire Fox sent not all the data in text form. Reached only piece of information. Where can I find the cache of sent text?

    Fire Fox sent not all the data in text form. Reached only piece of information. Where can I find the cache sent the text?
    For example, I posted an article on a news site, but found that only a small part of my article was posted.

    I'm not sure whether Firefox saved that information. There is a chance that it is in the session history file, especially if you haven't closed that tab yet. To check that:
    Open your currently active Firefox settings folder (AKA your Firefox profile folder) using
    Help > Troubleshooting Information > "Show Folder" button
    Find all files starting with the name sessionstore and copy them to a safe working location (e.g., your documents folder). In order to read a .js file, it is useful to rename it to a .txt file. Or you could drag it to Wordpad or your favorite word processing software.
    The script will look somewhat like gibberish, but if you search for a word in your article that doesn't normally appear in web pages, you may be able to find your data.
    Any luck?
    For the future, you might want to consider this add-on, although I don't know how long it saves data after you submit a form: [https://addons.mozilla.org/en-US/firefox/addon/lazarus-form-recovery/].

Maybe you are looking for