Need help with video-scroll

Hello,
I need some help with a project. What I eventually want is that a webcam controls the mouse position and the mouse position
controls a video. But first I would like the part where the mouse position controls the video.
So if the mouse is on the left on your screen the video will be at the first frame and when you move you're mouse to
the right the video will play accordingly to the movement. and stop when the mouse is all the way to the right.
Effectivly the mouse scrolles through the video. It only needs to be on the x-axis.
I'm not that formilliar with flash so any help would be great
Thx!
Thijs

I fixed it in an other way.
Made a imgseq and following code (with some help ):
          stop();
          stage.addEventListener(Event.RESIZE, resizeHandler);
          stage.addEventListener(FullScreenEvent.FULL_SCREEN, resizeHandler);
          stage.addEventListener(MouseEvent.MOUSE_MOVE, inputHandler);
          stage.scaleMode = StageScaleMode.NO_SCALE;
          stage.align = StageAlign.TOP_LEFT;
          var imgSeq:ImgSeq = new ImgSeq();
          var columnWidth;
          var numColumns;
          stage.addChild(imgSeq);
          imgSeq.x = 350
          imgSeq.gotoAndStop(1);
          columnWidth = stage.stageWidth / imgSeq.totalFrames;
          numColumns = stage.stageWidth / columnWidth;
          function resizeHandler(e:Event):void {
          // verdeel het scherm in kolommen, iedere keer dat het scherm geresized wordt.
                    // breedte van 1 kolom (schermbreedte gedeeld door aantal plaatjes)
                    columnWidth = stage.stageWidth / imgSeq.totalFrames;
                    // totaal aantal kolommen dat binnen het scherm past (breedte gedeeld door breedte van één kolom )
                    numColumns = stage.stageWidth / columnWidth;
          function inputHandler(e:MouseEvent):void {
          // voer dit iedere keer dat je de muis beweegt uit.
                    // kijk voor iedere kolom of de muis er binnen valt.
                    for(var i = 1; i <= numColumns; i++){
                              //vergelijking die checkt of de muispositie binnen de waarden van kolom valt.
                              if(mouseX <= i * columnWidth && mouseX >= (i * columnWidth) - columnWidth ){
                                        // zet het framenummer van de imageSequence gelijk aan de huidige kolom.
                                        imgSeq.gotoAndStop(i);
many thx!

Similar Messages

  • Need Help With Videos on Zen V P

    I need help putting videos on my Creative Zen V Plus. I convert them to avi using Super Converter and I drag and drop them into the folder for the videos on my zen. When I turn on my Zen and go to the videos the video is there however when I try to play it it says video format not supported.

    Original?Creative software after internet upgrades easy convert any video to Zen format and automaticaly transfere it to player.

  • NEED HELP WITH VIDEO SOUND PLS

    just bought a 30 GB ipod, updated itunes to make the videos compatible. uploaded 3 music videos, they work perfect except they have no sound. dont know what the problem is. i havent' restarted my compute yet, maybe that's it but i highly doubt it. anyones opinion would be highly appreciated. thanks for your help guys.
    -MIKE

    Neither Quicktime Pro or iTunes have the ability to successfully encode a muxed video file with audio. You'll end up with video and no audio.
    You'll need to use some other third-party software to do the conversion. There's a handful of software available. Just search the forums and you'll find many titles mentioned.
    Videora iPod Converter seems to be popular amongst Windows users, although I've read that you might get mixed results using it.

  • Need help with video problems

    Hi!
    Back in May I was having problems with video on my Mac. I was helped by this site and am hoping for more help. I downloaded the realaudio, but was still having problems. I assumed because I was on dial up. It was so slow. It would take forever to load and then play for a few minutes then need to load some more. I now have DSL and was looking forward to kissing the video problems good-bye! My new problem is that when I try to watch or listen to anything like innertube it "stutters." Is there something else I should be doing? How can I fix this problem?

    With those specs you should be absolutely fine. I would suggest that you update to 10.4.10 at least (download the full Combo updater). Once you are on that:
    These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
    It is known to work in the great majority of cases with Safari 3.0.4, QT 7.3 and OS 10.4.11. (If you are running Leopard, ensure that all plug-ins have been updated for OS 10.5)
    Assuming you already run Tiger versions OS 10.4.9 or above (this has not yet been verified with Leopard) and have Quicktime 7.2 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer 10 for Mac from http://forms.real.com/real/player/blackjack.html?platform2=Mac%20OS%20X&product= RealPlayer%2010&proc=g3&lang=&show_list=0&src=macjack
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    Adobe FlashPlayer from http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS. This: http://www.macworld.co.uk/news/index.cfm?email&NewsID=19845 may also interest you.)
    In Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    See also the very informative post from QuickTimeKirk dated Dec 3, 2007 in this thread: http://discussions.apple.com/thread.jspa?threadID=1268489&tstart=0
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them).
    Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them).
    Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz.
    Important: Now repair permissions and restart.
    The world should now be your oyster!
    You should also consider having the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.

  • Need help with videos!!! Please

    i need help! i have a 30G ipod video and my videos are being weird. They used to play on my ipod but now there is no picture or sound. it plays on itunes too so i dont understand. Also, my purchased music plays on itunes but skips past them on my ipod-they used to play on my ipod. PLEASE help me!

    Welcome to Apple Discussions!
    For Videos:
    So what are they doing? Are the videos showing up under "Videos" on the iPod? What happens when you try to play them? Have you tried these?
    Resetting iPod
    Restore the iPod
    For Purchased Music Skipping:
    Have you played the songs in iTunes for a few seconds? This will authorize them. Now sync your iPod. Do they play?
    If not, make sure everything is up to date on your computer and iPod..
    iTunes
    iPod Updater
    Updating iPod's Software
    If that doesn't work, in iTunes, go to advanced-->deauthorize computer. Now play the songs in iTunes. It will ask for your account information (from the iTunes Music Store). Enter that. Now play a few purchased songs for a few seconds. Sync your iPod. Do the songs work now?
    If they don't, try this...
    Deauthorize the computer. (Go to advanced-->deauthorize computer in iTunes)
    Create a new user in the system. (Start-->control panel-->user accounts-->create a new account)
    Download the free song of the week in the new user account. (First, log out of the current user and log in to the new user account. Then open iTunes and download the free song)
    Play the song in that username to authorize it.
    Restore the iPod in the New User account, sync just the Free song of the Week and see if it plays on the iPod.
    If it plays fine on the iPod when syncing with this user name (after you followed the above instructions), it would indicate a bad iTunes Library File. Post back for instructions on how to fix that.
    Now, if it still won't work (you followed the above instructions with the new user account) and the iPod still won't play the songs, then post back.
    btabz

  • Need Help With Video In Flex Mobile

    Hi,
    I have been searching quite a bit for information on this and have found really nothing useful for my problem. So far, I've converted the actionscript code posted here: http://www.adobe.com/devnet/flash/articles/osmf-media-player.html
    to work within my ios mobile project. The problem is that no matter what I have tried, I can hear the video but not see it. That codes uses the OSMF framework, which uses StageVideo I think, so I've tried setting the application background alpha to 0 as has been posted about; still no video though. The project is also set to use direct rendering. I've even tried some bare bones AS code to implement the StageVideo, as others have posted here, but still same thing. So can anyone either show me a working example or provide any suggestions on what I might be doing wrong?
    thanks

    Hi, Keith Lee -
    I'm sorry that I cannot help with your problem, but I'm posting a few URLs that may perhaps help - 
    Working with video: http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e1a.html
    Getting started with stage video: http://www.adobe.com/devnet/flashplayer/articles/stage_video.html
    Stage video articles and tutorials: http://www.adobe.com/devnet/flashplayer/stagevideo.html
    ActionScript reference: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageVideo. html
    Thanks,
    Mallika Yelandur
    Adobe Community Help & Learning

  • Need help with video uploading in flex 4

    hey guys... so i need to create a video uploading application... with video chunking...
    basically i need to break up the video file (may be 1Gig or more in size) in pieces and send it to the server using a method i call from my webservice...
    any ideas??
    i believe this process is called chunking... not sure how to do this...
    thank you very much in advance!!!

    dude. some time itunes just doesnt support drag and drop techniques . just try the simple copy and paste(ctrl(c+v)). if that file is gonna be played on the ipod u get a small tab box in the itunes that the file which u r copying is being processed .
    even if this technique doesnt work , then thats a faulty format . u can try another video converter . say videora or Aplus video converter . u will find them in www.download.com

  • Need help with Video Categories Movies, Music Videos, ETC.

    Is there anyway to put ripped videos into other categories besides just Movies? I would like to put some of them under Music Videos, is that possible?

    Neither Quicktime Pro or iTunes have the ability to successfully encode a muxed video file with audio. You'll end up with video and no audio.
    You'll need to use some other third-party software to do the conversion. There's a handful of software available. Just search the forums and you'll find many titles mentioned.
    Videora iPod Converter seems to be popular amongst Windows users, although I've read that you might get mixed results using it.

  • I need help with videos?

    I need help. I have a video in my library AND iPod. The problem is - the video PLAYS when I click it on iTunes, but when I try to play it on my video iPod, all it does is let me hear what they're saying, it doesn't show the video. Can somebody help me?

    Hey, what is the link to downloading Videora? Ivé tried downloading it but it doesn't work. The program does not open after installing it. I get some sort of error message. I clicked on the Full Install one when downloading it.

  • Need help with video installation

    Hi,
    I'm no DW guru, as I know just enough to do some damage... so I did
    Anyhow, I am trying to install a video into my (ahem) purchased responsive web template, but each time I try a new approach, I keep getting "Invalid Source" when I "F12" it  -- Any Ideas?

    It might be better to test video in a plain, unstyled web page first to ascertain exactly where your problems are.
    Below is all the code necessary for a responsive HTML5 video player.  Change YourVideo.mp4, .ogv and .webm to your actual path & video file names. 
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Video</title>
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <style>
    video {width:100%;}
    </style>
    </head>
    <body>
    <!--IE8 End of Life-->
    <!--[if lt IE 9]>
    You're using an outdated browser that limits your web experience. 
    Please upgrade to a modern browser.
    <![endif]-->
    <!--begin video-->
    <video controls>
         <source src="YourVideo.mp4" type='video/mp4' />
          <source src="YourVideo.webm" type='video/webm' />
          <source src="YourVideo.ogv" type='video/ogg' />
    </video>
    <!--end video-->
    </body>
    </html>
    Nancy O.

  • FCP Novice needs help with video quality and FCP 5!!

    Hi,
    I have a real problme that I cannot seem to fix. I think its because I am doing something really wrong!
    I have a Sony HC42E MiniDV Camcorder which by default records video in full widescreen. I recorded several tapes this way and have now begun trying to edit them in FCP 5.04 (Tiger 10.4.6). Whenever I log and capture my clips they appear to be fuzzzy and unclear on the Mac monitor whilst being totally crisp and sharp on the camcorder viewfinder. I tried capturing using the DV PAL 48Khz Anamorphic Preset which keeps everything the right size (the final output needs to be true widescreen and not with black bars added) but the resulting video on screen is blurry and bitty. I then tried capturing using the DV PAL 720 x 576 normal preset and the video is a little clearer on the screen (for both presets I have chosen lower field dominance) but when I play back it plays back in widescreen on the mac canvas window but at 4:3 on the camera's viewfinder.
    I then assumed that maybe this is just becuase the mac screen (CRT by the way) doesn't use fields. So I exported the sequence as a QT movie using DV PAL 16:9 and used quicktime (OS9 Classic - my compressor has never worked because of the dreaded "unable to connect to baackground process" problem which I've never managed to correct) to convert it to MPEG2. When I import this as an asset into DVD Studio pro 4 and set the track size to 16:9 it comes through at the right aspect ratio. However it looks blurry on screen. Thinking that this will be fine on a TV I burned the disc - inserted it into my DVD player (a good one!) and watched it on my new 32" widescreen TV (a good one!) and the picture qualitty is poor. Its so much blurrier and bittier than the original footage looks when played through the camcorder's viewfinder!
    The final footaage looks like an old VHS recording that's a year or two old!
    Does anyone know how I can capture my footage in FCP with the maximum quality, edit it without quality loss and the export it for DVD again without such significant quality loss whilst all the time keeping it at proper 16:9 widescreen?
    Is there some presets I should be working to?
    I'm tearing my hair out! Help!

    Hi Guys,
    thanx for your replies.
    here's the latest:
    Brian, I followed your instructions and the DVD burned successfully. However the video quality of the dvd when viewed on my TV ('ve tried on all 3 of my tvs now) is still a lot poorer than the quicktime movie that was imported into DVDSP4. When I play the original QT Movie on my Mac CRT monitor it looks a little blurry and grainy because I guess its non interlaced however when viewed on an external Video monitor it looks great - very sharp.
    When I view the burned DVD on my television the picture quality looks like the non interlaced version of the original QT Movie that appeared on my Mac CRT and not the sharp interlaced (lower field) version that appeared on my external video monitor.
    Its almost like taking a sharp jpeg into Photoshop and applying a gaussian blur of about 0.3 followed by jepg compression compressing it down to 5% quality!
    I'm totally mystified. Can the conversion to Mpeg2 be removing all interlacing so that you get the less sharp computer monitor look? I just want the video on my final DVDs to be as good as the original source footage! I appreciate that along the way there might be loss of some quality but surely not that much?
    Does this make sense to you guys or am I still doing something very wrong?
    Robert: I have tried setting all manner of drives including a fresh external firewire HD with nothing on it (clean out of the box) but it doesn't seem to help.
    Brian: I tried the no network suggestion a few months back but I'm not sure if I got it right. At the moment I have broadband through an external speedtouch usb modem and am also connected (occasionally although not for the last 3 months) via a crossover cable to my PCs ethernet card. When I last tried the No Network solution I had immense trouble getting my internet to work again! Can you please help me by directing me to the best ay to do this while protecting my internet settings?
    any more help guys would be greatfully appreciated.

  • Need help with video on older Mac Pro

    I have a 2008 Mac Pro that more than meets all of the specs for FCP X, except the Mac App store won't let me buy and download because the video card in the system doesn't meet specs.  I've found an apple support page that lists the compatible video cards for FCP X.  Here's my issues:
    1. Most of the cards on the list are older and not easily obtainable anymore.
    2. Even with models that are newer, it's had to find one labeled for Mac - so can I just use any old model of, say, a Radeon HD 5670 or do I need one specificlaly made for Macs?
    3. Bottom line is what card can  I use in a 2008 Mac Pro that will meet the specs and that I can actually purchase?
    Thanx...Jon

    jhyiesla wrote:
    I've found an apple support page that lists the compatible video cards for FCP X.
    . . . . . . . . . so can I just use any old model of, say, a Radeon HD 5670 or do I need one specificlaly made for Macs?
    A Radeon HD 5670 is a Radeon HD 5670 - if it's on the compatible list, it will work in your Mac.
    This is my pet checklist for questions regarding FCP X performance - you may have already addressed some of the items but it's worth checking.
    Make sure you're using the latest version of the application - FCP X 10.0.5 runs very well on my 2009 MacPro 2 x 2.26 GHz Quad-Core Intel Xeon with 16 GB RAM and ATI Radeon HD 5870 1024 MB. I run it with Lion 10.7.5.
    First, check that you have at least 20% free space on your system drive.
    For smooth playback without dropping frames, make sure 'Better Performance' is selected in the FCP X Preferences - Playback Tab.
    If you have not already done so, move your Projects and Events to a fast (Firewire 800 or faster) external HD. Make sure the drive's formatted OS Extended (journalling's not required for video). You should always keep at least 20% free space on the Hard Drives that your Media, Projects and Events are on.
    Check the spec of your Mac against the system requirements:
    http://www.apple.com/finalcutpro/specs/
    Check the spec of your graphics card. If it's listed here, it's not suitable:
    http://support.apple.com/kb/HT4664
    If you are getting crashes, there is some conflict on the OS. Create a new (admin) user account on your system and use FCP X from there - if it runs a lot better, there's a conflict and a clean install would be recommended.
    Keep projects to 20 mins or less. If you have a long project, work on 20 min sections then paste these into a final project for export.
    If you ever experience dropped frames, I strongly recommend you use ProRes 422 Proxy - it edits and plays back like silk because the files are small but lightly compressed (not much packing and unpacking to do) - but remember to select 'Original or Optimised Media' (FCP X Preferences > Playback) just before you export your movie, otherwise it will be exported at low resolution.
    If you have plenty of processor power, for the ultimate editing experience, create Optimised Media - most camera native files are highly compressed and need a great deal of processor power to play back - particularly if you add titles, filters or effects. ProRes 422 takes up much more hard drive space but is very lightly compressed. It edits and plays back superbly.
    Hide Audio Waveforms at all times when you don't need them (both in Browser and Storyline / Timeline). They take up a lot of processor power. (Use the switch icon at the bottom-right of your timeline to select a format without waveforms if you don't need them at the moment, then switch back when you do).
    Create folders in the Project and Events libraries and put any projects you are not working on currently, in those folders. This will help a lot. There's a great application for this, called Event Manager X - for the tiny cost it's an invaluable application.
    http://assistedediting.intelligentassistance.com/EventManagerX/
    Unless you cannot edit and playback without it, turn off Background Rendering in Preferences (under Playback) - this will help general performance and you can always render when you need to by selecting the clip (or clips) and pressing Ctrl+R.
    The biggest single improvement I saw in performance was when I upgraded the RAM from 8 GB to 16.
    Andy

  • Need help with smooth scrolling of a sprite

    Hi All,
    Something that i have had many problems over the years with
    is creating the same nice smooth scrolling effect that i see on
    many sites (my scrolling always appears jerky in AS2 even when done
    on a movieClip with a high framerate - with onEnterFrame updates).
    At the moment i am building my first AS3 site, and want to
    use it as an opportunity to "do things right".
    So far i have a very simple setup that is scrolling a sprite
    that contains a series of loaded images based on the position of a
    scrollbar. As one would expect from something this simple - it is
    rather jerky.
    I tried a number of variations of using a Tween to do the
    scroll, and kill/update that tween when the mouse moves again.
    However in all cases the results were not good (multiple tweens
    seemed to still be active - so killing the tween wasn't working).
    So clearly i am doing something wrong.
    I have searched extensively, but have not come across any
    examples that seem appropriate (some predefined components - but
    that does not help me understand the fundamentals) . I have seen
    some examples that register a timer, and manually calculate the
    offset for each frame, is this the correct approach?
    Below is my existing simple (jerky) implementation.
    All help to understand how to make this scrolling smooth
    would be hugely appreciated.
    One more thing to add incase it is relevant, is that the
    contents of the Sprite are a series of jpg images loaded with the
    Loader class (although i plan on switching to using the BulkLoader
    class created by a developer in the AS3 community).

    nope. the approach for the smoothest tween would be to:
    1. initialize your parameters
    2. create your timer.
    3. add your timer's listener method when needed (when your
    slider is clicked).
    4. in your timer's listener function repeatedly poll the
    slider's position and update your sprite using the parameters
    determined in 1.
    5. remove your listener when the slider is released.

  • Need help with video shoot

    Not sure if this is the right place for something like this or not, but here goes. Anyway, looking for some help for a shoot I want to do. I'm pretty experienced, use FCP. Not exactly sure of how to describe what I'm needing to do, but it seems like it's just a lighting technique, with what maybe is a Lens Flare effect added. Just a black background with a light behind the subject that makes the effect (and obviously front light on the subject). A better way to see what I mean is by watching a video like this, starting at :08.
    So, I think I pretty much know how it'd be done, but just need to get some better insight since it's something I haven't done before. I don't have access to a studio or anything really. So my main questions on getting this to work...how far back does that light need to be? And behind the light can you just use a black backdrop or does it need to be in a big studio with open, non-lit space behind it? Any help here on the best way to get something like this done would be greatly appreciated!

    I use Sapphire Edge lens flare effect for this type of thing it is a little expensive (well to me it was) but you get a year of collections each month and they are very useful have a look here.
    http://www.genarts.com/fx-central/look-collections/sapphire/lens-flares-flare-sa pphire-v6-and-sapphire-edge-october-2011
    I am sure there are many other ways .. for example Motion so this is only intended to show you that it can be done..
    All the best
    Jimkells

  • Need help with a scroll pane

    Hello all. I am trying to get a scroll pane to work in an application that I have built for school. I am trying to get an amortization table to scroll through for a mortgage calculator. It isn't recognizing my scrollpane and I am not sure why. Could someone give me a push in the right direction.
    import javax.swing.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.text.*;
    public class MortCalcWeek3 extends JFrame implements ActionListener
         DecimalFormat twoPlaces = new DecimalFormat("#,###.00");//number format
         int L[] = {7, 15, 30};
         double I[] = {5.35, 5.5, 5.75};
         double P, M, J, H, C, Q;
         JPanel panel = new JPanel ();//creates the panel for the GUI
         JLabel title = new JLabel("Mortgage Calculator");
         JLabel PLabel = new JLabel("Enter the mortgage amount: ");
         JTextField PField = new JTextField(10);//field for obtaining user input for mortgage amount
         JLabel choices = new JLabel ("Choose the APR and Term in Years");
         JTextField choicestxt = new JTextField (0);
         JButton calcButton = new JButton("Calculate");
         JTextField payment = new JTextField(10);
         JLabel ILabel = new JLabel("Annual Percentage Rate: choose one");
         String [] IChoice = {I[0] + "", I[1] + "", I[2] + ""};
         JComboBox IBox = new JComboBox(IChoice);
         JLabel LLabel = new JLabel("Term (in years): choose one");
         String [] LChoice = {L[0] + "", L[1] + "", L[2] + ""};
         JComboBox LBox = new JComboBox(LChoice);
         JLabel amortBox = new JLabel("Amortiaztion Table");
         JScrollPane amortScroll = new JScrollPane(amortBox);
         public MortCalcWeek3 () //creates the GUI window
                        super("Mortgage Calculator");
                        setSize(300, 400);
                        setBackground (Color.white);
                        setForeground(Color.blue);
                        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        //Creates the container
                        Container contentPane = getContentPane();
                        FlowLayout fresh = new FlowLayout(FlowLayout.LEFT);
                        panel.setLayout(fresh);
                        //identifies trigger events
                        calcButton.addActionListener(this);
                        PField.addActionListener(this);
                        IBox.addActionListener(this);
                        LBox.addActionListener(this);
                        panel.add(PLabel);
                        panel.add(PField);
                        panel.add(choices);
                        panel.add(choicestxt);
                        panel.add(ILabel);
                        panel.add(IBox);
                        panel.add(LLabel);
                        panel.add(LBox);
                        panel.add(calcButton);
                        panel.add(payment);
                        panel.add(amortBox);
                        payment.setEditable(false);
                        panel.add(amortScroll);
                        setContentPane(panel);
                        setVisible(true);
         }// end of GUI info
              public void actionPerformed(ActionEvent e) {
                   MortCalcWeek3();     //calls the calculations
              public void MortCalcWeek3() {     //performs the calculations from user input
                   double P = Double.parseDouble(PField.getText());
                   double I = Double.parseDouble((String) IBox.getSelectedItem());
                   double L = Double.parseDouble((String) LBox.getSelectedItem());
                   double J = (I  / (12 * 100));//monthly interest rate
                   double N = (L * 12);//term in months
                   double M = (P * J) / (1 - Math.pow(1 + J, - N));//Monthly Payment
                 String showPayment = twoPlaces.format(M);
                 payment.setText(showPayment);
         //public void amort() {
                   //int N = (L * 12);
                   int month = 1;
                             while (month <= N)
                                  //performs the calculations for the amortization
                                  double H = P * J;//current monthly interest
                                  double C = M - H;//monthly payment minus monthly interest
                                  double Q = P - C;//new balance
                                  P = Q;//sets loop
                                  month++;
                                  String showAmort = twoPlaces.format(H + C + Q);
                                amortScroll(showAmort);
              public static void main(String[] args) {
              MortCalcWeek3 app = new MortCalcWeek3();
    }//end main
    }//end the programI appreciate any help you may provide.

         JLabel amortBox = new JLabel("Amortiaztion Table");
         JScrollPane amortScroll = new JScrollPane(amortBox);The argument passed to a JScrollPane constructor specifies what's inside the scroll pane. Here, it seems like you're trying to create a scroll pane that displays a JLabel.
    Also, I'm not sure what you're trying to do here:
    amortScroll(showAmort);I don't see a method named "amortScroll".
    You need to make a JTextArea, pass that into the JScrollPane's constructor, and add the JScrollPane to your frame.

Maybe you are looking for

  • Connection timeout error keeps on occurring on my new Macbook Pro, please help?

    I recently bought my Macbook Pro and the software version is OS X 10.8.2. I keep on having "Connection time out error" and I can't use the internet, while my old laptop and iPhone can use it without a problem. This keeps on occurring and I am new to

  • IDVD 09 and Aperture 3 not open

    When I try to open idvd or Aperture 3 with X 10.6 I get the error message: iDVD cannot be opened because of a problem, check with the developer to make sure IDVD works with this version of Mac OS X. Be sure to install any available updates to the app

  • Audi 2005 Car Interface - How to Downgrade Touch to 2.2.1

    I have a newly installed car interface in an old (2005) Audi. This box is the only one compatible with my Audi Symphony sound system - the ones in new cars are problem free, I understand, but buying a new car for my iTouch seems like a radical soluti

  • Help on File - itab - table problem

    Good day! My problem is this. I am suppose to create an ABAP program that would get the 2 inputs from the user. The table name as well as a filename. My program should be able to transfer the contents from the file to the table in their respective fi

  • Extra pages in new printer

    Hi Experts, We have installed a new HP printer (devise type HPLJ5SI) . When we print the work order or anything related, at the end of the printing, there are 2 extra pages are coming. If we use any other printer, it works fine.  Can anyboty help, to