Help with a basic skill

I have an image that was scanned in. the image is able to be found here
http://sphotos.ak.fbcdn.net/hphotos-ak-snc3/hs421.snc3/24321_1117695119139_1729853596_2214 63_2396102_n.jpg
When I put it in, I want just the lineart. the problem is I have a bunch of greyish-almost-white pixels around the lines causing me untold amounts of annoyance. I'm not 100% sure how I used ot fi this so I got nice, clean lineart, but I would like someone to explain it to me again.
I'm using CS5, and I do not have the original anymore sadly.
any help would be greatly appreciated.

Try applying a Threshold Adjustment layer and set the threshold for the best effect. The source material is marginal, but depending on your needs this process may make it more useable.
Paulo

Similar Messages

  • Need a help with something basic, renaming pages made in muse

    Hi All
    can someone help me with a basic task,
    I need to rename a page ivve made in muse containing slide shows or forms,
    when I upload via FTP it over writes the websites index.html page
    any suggestions on what i do to rename Ive tried everything
    Thank you, In anticipation
    Julie

    Hi Julie,
    To rename a page name in Muse, please right click on page and go to page properties. You can rename the page name of all the pages as well as the "file name" in Muse but you can't change the 'File name" of the index page in Muse. Please refer to the following screenshot :
    If you choose to export the site as HTML, you can then change this as well but then the menu items links will be broken and you will have to manually link all the menu items outside muse.
    Hope this helps.
    Cheers!
    Aish

  • Need help with Visual BASIC

    I am in an intro to programming course, and I am writing a console on Visual Basic 2013.  My problem with Visual Basic right now is that I cannot get the formula to work.  All of my inputted values end up being 0's.  Am I using incorrect parameters,
    am I misunderstanding how to use arguments; am I not coding correctly?  The scenario for my problem is:
          Areas of Rectangles: The area of a rectangle is the rectangle’s length times its width.  Design a program that asks for the length and width of two rectangles. The program should tell the user which rectangle has the
    greater area, or if the areas are the same.
    //My code is 
    Module Module1
        Sub Main()
            Dim LENGTH As Double = 0
            Dim WIDTH As double = 0
            Dim AREA_1 As Double
            Dim AREA_2 As Double
            Dim RECTANGLE As String = " "
            area1(LENGTH, WIDTH)
            areaCalc1(AREA_1, LENGTH, WIDTH)
            area2(LENGTH, WIDTH)
            areaCalc2(AREA_2, LENGTH, WIDTH)
            decision(AREA_1, AREA_2, RECTANGLE)
            displayDec(RECTANGLE)
            Console.WriteLine("Press any key to exit...")
            Console.Read()
        End Sub
        Sub area1(ByVal LENGTH, WIDTH)
            Console.WriteLine("Please input the following for your first rectangle:")
            Console.Write("Length: ")
            LENGTH = Console.ReadLine()
            Console.Write("Width: ")
            WIDTH = Console.ReadLine()
        End Sub
        Sub areaCalc1(ByVal AREA_1, ByRef LENGTH, WIDTH)
            AREA_1 = LENGTH * WIDTH
            Console.WriteLine("This is the area for rectangle 1: " & AREA_1)
        End Sub
        Sub area2(ByVal LENGTH, WIDTH)
            Console.WriteLine("Please input the following for your second rectangle: ")
            Console.Write("Length: ")
            LENGTH = Console.ReadLine()
            Console.Write("Width: ")
            WIDTH = Console.ReadLine()
        End Sub
        Sub areaCalc2(ByVal AREA_2, ByRef LENGTH, WIDTH)
            AREA_2 = LENGTH * WIDTH
            Console.WriteLine("This is the area for rectangle 2: " & AREA_2)
        End Sub
        Sub decision(ByRef AREA_1, AREA_2, ByVal RECTANGLE)
            If AREA_1 < AREA_2 Then
                RECTANGLE = "rectangle 2"
            Else
                RECTANGLE = "rectangle 1"
            End If
        End Sub
        Sub displayDec(ByRef RECTANGLE)
            Console.WriteLine("The rectangle with the greater Area is " & RECTANGLE)
        End Sub
    End Module

    Hi,
      If you are just beginning to program i highly recommend setting the following options in the Visual Studio menu (Tools/Options). Open the Options window and go to the (Projects and Solutions) and click on (VB Defaults). Now set the options as follows.
    Option Strict - On
    Option Explicit - On
    Option Infer - Off
     And probably one of the most important things to do is learning to Debug your code. That will save you hours of headaches when you get unexpected results in your applications. You will know how to track it down and find where in the code your results
    are being thrown off. There are quite a few Debugging tutorials on the internet. Here are a few decent ones.
    Debugging Express
    Breakpoints and Debugging Tools
    If you say it can`t be done then i`ll try it

  • Flash Help with Flash Basic

    Hello Robohelp Users,
    we want to create our own Robo Flash Help. Does it works with
    the Flash Basic Version or do we need the Flash Professionell
    version?
    Margit

    Margit -
    Flash Help is a product of Robohelp; your users only need
    Macromedia's Flash player installed in order to view it. Which,
    according to MM, is about 97.7% of the Internet-connected PCs.
    So, it looks like you're good to go, yes?

  • Help with QoS basic configuration.

    Hi all, i want to configure qos in a cisco lan with non cisco phone. I read a lot of documentation and some basic videos. I don't want to configure it very granular, so, the most basic commands that i found:
    conf t
    int fa0/5
    switchport voice vlan 111
    mls qos trust cos
    auto qos voip trust
    How i'm be realy sure that QoS is working on mi lan?
    And how about the interface trunk configuration?
    Any suggestion?
    Here are the verification:
    In the show running-configuration :
    mls qos map cos-dscp 0 8 16 24 32 46 48 56
    mls qos srr-queue input bandwidth 70 30
    mls qos srr-queue input threshold 1 80 90
    mls qos srr-queue input priority-queue 2 bandwidth 30
    mls qos srr-queue input cos-map queue 1 threshold 2 3
    mls qos srr-queue input cos-map queue 1 threshold 3 6 7
    mls qos srr-queue input cos-map queue 2 threshold 1 4
    mls qos srr-queue input dscp-map queue 1 threshold 2 24
    mls qos srr-queue input dscp-map queue 1 threshold 3 48 49 50 51 52 53 54 55
    mls qos srr-queue input dscp-map queue 1 threshold 3 56 57 58 59 60 61 62 63
    mls qos srr-queue input dscp-map queue 2 threshold 3 32 33 40 41 42 43 44 45
    mls qos srr-queue input dscp-map queue 2 threshold 3 46 47
    mls qos srr-queue output cos-map queue 1 threshold 3 4 5
    mls qos srr-queue output cos-map queue 2 threshold 1 2
    mls qos srr-queue output cos-map queue 2 threshold 2 3
    mls qos srr-queue output cos-map queue 2 threshold 3 6 7
    mls qos srr-queue output cos-map queue 3 threshold 3 0
    mls qos srr-queue output cos-map queue 4 threshold 3 1
    mls qos srr-queue output dscp-map queue 1 threshold 3 32 33 40 41 42 43 44 45
    mls qos srr-queue output dscp-map queue 1 threshold 3 46 47
    mls qos srr-queue output dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
    mls qos srr-queue output dscp-map queue 2 threshold 1 26 27 28 29 30 31 34 35
    mls qos srr-queue output dscp-map queue 2 threshold 1 36 37 38 39
    mls qos srr-queue output dscp-map queue 2 threshold 2 24
    mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
    mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
    mls qos srr-queue output dscp-map queue 3 threshold 3 0 1 2 3 4 5 6 7
    mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 11 13 15
    mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14
    mls qos queue-set output 1 threshold 1 100 100 50 200
    mls qos queue-set output 1 threshold 2 125 125 100 400
    mls qos queue-set output 1 threshold 3 100 100 100 400
    mls qos queue-set output 1 threshold 4 60 150 50 200
    mls qos queue-set output 1 buffers 15 25 40 20
    mls qos
    In the interface configuration:
    interface FastEthernet0/5
    switchport access vlan 111
    switchport mode access
    switchport voice vlan 111
    srr-queue bandwidth share 1 30 35 5
    priority-queue out
    mls qos trust cos
    auto qos trust
    spanning-tree portfast
    In trunk port:
    interface GigabitEthernet0/1
    switchport mode trunk
    sh mls qos int f0/5
    FastEthernet0/5
    trust state: trust cos
    trust mode: trust cos
    trust enabled flag: ena
    COS override: dis
    default COS: 0
    DSCP Mutation Map: Default DSCP Mutation Map
    Trust device: none
    qos mode: port-based
    Thanks a lot !
    Martín.

    Hi, thanks for reply. I investigate a little more.
    When i want verify that QoS really work in the lan, first of all:
    - The marking (in my case verify traffic VoIP at 64)
    - Queue, that put first in the queue voice traffic, dscp 64
    To try, i make a call connecting an IP phone (in fa0/6) and call to analog phone. Wait for 2 minutes and see what changes in this command:
    Switch#sh mls qos int f0/6 stFastEthernet0/6 (All statistics are in packets)  dscp: incoming-------------------------------  0 -  4 :       4465744658 0            0            0            0  5 -  9 :           0            0            0            0            0 10 - 14 :           0            0            0            0            0 15 - 19 :           0            0            0            0            0 20 - 24 :           0            0            0            0            0 25 - 29 :           0         1196            0            0            0 30 - 34 :           0            0            0            0            0 35 - 39 :           0            0            0            0            0 40 - 44 :           0            0            0            0            0 45 - 49 :           0        41769 62163 0           91 98            0 50 - 54 :           0            0            0            0            0 55 - 59 :           0            0            0            0            0 60 - 64 :           0            0            0            0  dscp: outgoing-------------------------------  0 -  4 :      251670 272323 0            0            0            0  5 -  9 :           0            0            0            0            0 10 - 14 :           0            0            0            0            0 15 - 19 :           0            0            0            0            0 20 - 24 :           0            0            0            0            0 25 - 29 :           0            0            0            0            0 30 - 34 :           0            0            0            0            0 35 - 39 :           0            0            0            0            0 40 - 44 :           0            0            0            0            0 45 - 49 :           0         3393            0            0            0 50 - 54 :           0            0            0            0            0 55 - 59 :           0            0            0            0            0 60 - 64 :           0            0            0            0  cos: incoming-------------------------------  0 -  4 :       89094 109541 0            0            0            0  5 -  7 :           0            0            0  cos: outgoing-------------------------------  0 -  4 :      295699 316387 0            0            0            0  5 -  7 :        3393            0            0  output queues enqueued: queue:    threshold1   threshold2   threshold3----------------------------------------------- queue 0:           2           0           0 queue 1:      209108        1534      194272 queue 2:           0           0       56565 queue 3:           0           0       33762  output queues dropped: queue:    threshold1   threshold2   threshold3----------------------------------------------- queue 0:           0           0           0 queue 1:          57           0           0 queue 2:           0           0           0 queue 3:           0           0           0Policer: Inprofile:            0 OutofProfile:            0
    The underlined numbers is the variations in aprox. 2 minutes in the call. That mean that the traffic was marked as VoIP traffic, but i´m not sure that the traffic is queued right.
    I´m wrong?
    Thanks for the help
    PS:Later monitoring: with iperf or Cacti using IP SLA.

  • Can someone help with some basic answers on Premiere Elements 12

    I have used Premiere Elements in the past (up to Premiere Elements 9) but only once per annum to edit the past year's video of my Grandchildren. The change now is that I am using a Panasonic HC-V520 and have been shooting in 1080 50p. Premiere Elements 9 doesn't support this format I believe.
    My questions are:
    1     Can Premiere Elements 12 import and edit this format?
    2     If the answer is yes to question 1, can I mix older footage from my old Sony Camcorder with this newer footage for edit in Premiere Elements?
    3     Can I then output to either a Blu Ray disc to play on my DVD Player or an ordinary DVD disc to play on an older DVD Player which is not blu ray compatible?
    4     Am I wasting my time in recording in 1080 50p and should I instead be recording new footage in a different format?
    Thanks for any help you can give me.

    1. yes
    2. yes
    3. No. DVD players can't play BluRay discs -- even if they are burned to a DVD disc.
    4. 1080p50 is a perfectly legitimate mode for shooting, particularly if you're shooting video with a lot of action, since it has double the actual frames of 1080i50. However, your output video may or may not actually have 50p frames (or even be 1920x1080), depending on what form of media you're publishing as. The BluRay files that Premiere Elements outputs, for instance are 50i.

  • Need help with a basic script to resize image then resize the canvas

    I am new to photoshop scripting, and have come across a need to force an image to be 8"x10" at 300dpi (whether it is vertical or horizontal)
    I need to maintain the correct orientation in the file, so an Action will not work, I believe I have to implement a script to accomplish this.
    I have the below script so far, but I am not certain of how to input the variables / paramters
    doc = app.activeDocument;
    if (doc.height > doc.width) doc.resizeImage("2400 pixels","3600 pixels", "300", "BICUBIC");
    if (doc.height > doc.width) doc.resizeCanvas("2400 pixels","3000 pixels", "MIDDLECENTER");
    if (doc.height < doc.width) doc.resizeImage("3600 pixels","2400 pixels",300,"BICUBIC");
    if (doc.height < doc.width) doc.resizeCanvas(3000,2400,"MIDDLECENTER");
    When I run this script, I get the following error:
    Error 1245: Illegal argument - argument 4
    - Enumerated value expected
    Line: 5
    if (doc.height < doc.width) doc.resizeImage("3600 pixels","2400 pixels",300,"BICUBIC");
    The fact that its failing on lien 5 lets nme know that I have the "If" portions of my script correct, I just dont know how to accomplish the functions correctly.
    Any help would be appreciated!
    Thanks,
    Brian

    I know I'm late here but it seems to me your trying to automate a 8"x10 or 10"x8 300DPI  print.
    To do that you must first crop your image to a 4:5 aspect ratio to prevent distortion unless your shooting with a 4" by 5" camera.   I wrote a Plugin script a couple years ago that could help you do a centered crop.  You could do the whole process by recording a simple Photoshop action that uses two  Plugin Scripts only four steps would be needed.
    Step 1 Menu File>Automate>AspectRatioSelection  (My script based of Adobe Fit Image Plugin script) Set 4:5 Aspect ratio, center,  Rectangle, Replace, no feather. Llike Fit Image this script woks on both Landscape and Portrait images. The Selection will be correct for the images orientation.
    Step 2 Menu Image>Crop
    Step 3 Menu File>Automate>Fit Image set 3000 PX height and 3000 PX width the Image will be Resample so its longest side will be 3000 pixels.  Adobe Fit Image Plugin Script always uses BICUBIC resampling.  I have a modified version of Fit Image  that uses Bicubic Sharper whebndownsizing and BicubicSmoother when up sizing.
    Step 4 Menu Image>Size un check resample set resolution to 300 DPI.
    When you play the actions the Script Dialogs will not be displayed and the setting use when you recorded the action will ne used.
    The Plugin Script are included in my crafting actions package:
    http://www.mouseprints.net/old/dpr/JJMacksCraftingActions.zip
    Contains:
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file. This file has some additional comments I inserted describing how the actions work.
    12 Scripts for actions
    My other free Photoshop downloads cam be found here: http://www.mouseprints.net/Photoshop.html

  • Help with my basic java

    Hello i am in a high school programming class and i need help. I have to make an application that draws a basic face, and then i put in different scrollbars, drop menus and checkboxes to control how the face works. I have gotten most of what i need to do but i am stuck on, I need to have a so if i press it they will get closer together of farther apart, which is where im stuck. i can only make them move in the same direction. any ideas???
    heres the code.
    import java.awt.*;
    import java.awt.event.*;
    public class Unit9q extends java.applet.Applet implements AdjustmentListener,ItemListener {
         Graphics g;
         Checkbox mybox1,mybox2,mybox3,mybox4,mybox5;
         CheckboxGroup mygroup1,mygroup2;
         Choice mymenubar1,mymenubar2;
         String colorword,shapeword,menuitem1,menuitem2,eyefill,eyesstring;
         Color clr;
         int yaxis,inteyes,ineyes;
         Scrollbar yaxisscroll,eyes;     
         public void init() {
              yaxisscroll=new Scrollbar(0,50,1,120,140);
              yaxisscroll.addAdjustmentListener(this);
              yaxisscroll.setBounds(100,10,100,20);
              add(yaxisscroll);
              yaxis=120;
              eyes=new Scrollbar(0,50,1,120,140);
              eyes.addAdjustmentListener(this);
              eyes.setBounds(100,10,100,20);
              add(eyes);
              inteyes=110;
              mygroup1=new CheckboxGroup();
              mybox1=new Checkbox("Red",mygroup1,false);
              mybox2=new Checkbox("Blue",mygroup1,false);
              mybox3=new Checkbox("Green",mygroup1,false);          
              mybox4=new Checkbox("Filled",mygroup2,false);
              mybox5=new Checkbox("Outlined",mygroup2,false);
              add(mybox4);
              add(mybox5);
              mybox1.addItemListener(this);
              mybox2.addItemListener(this);
              mybox3.addItemListener(this);
              add(mybox1);
              add(mybox2);
              add(mybox3);
              clr=Color.white;
              mymenubar1=new Choice();
              mymenubar1.addItem("Square");
              mymenubar1.addItem("Circle");
              mymenubar1.addItem("Rectangle");
              mymenubar1.addItem("Oval");
              mymenubar1.addItemListener(this);
              mymenubar2=new Choice();
              mymenubar2.addItem("Square");
              mymenubar2.addItem("Oval");
              mymenubar2.addItemListener(this);
              add(mymenubar1);
         public void adjustmentValueChanged(AdjustmentEvent event){
              yaxis=yaxisscroll.getValue();
              inteyes=eyes.getValue();
              repaint();
         public void itemStateChanged(ItemEvent event) {
              menuitem1=mymenubar1.getSelectedItem();
              menuitem2=mymenubar2.getSelectedItem();
              if (mybox1.getState()==true) {clr=Color.red;}
              else if (mybox2.getState()==true) {clr=Color.blue;}
              else if (mybox3.getState()==true) {clr=Color.green;}
              repaint();
         public void paint(Graphics g) {
              g.setColor(Color.black);
              if (menuitem1.equals("Rectangle")){
                   g.drawRect(100,100,70,90);}
              else if (menuitem1.equals("Oval")){
                   g.drawOval(100,100,75,90);}
              else if (menuitem1.equals("Circle")){
                   g.drawOval(100,100,80,80);}
              else if (menuitem1.equals("Square")){
                   g.drawRect(100,100,80,80);}     
              if (menuitem2.equals("Circle")){
                   g.drawOval(80,100,10,10);}
              else if (menuitem2.equals("Square")){
                   g.drawRect(80,100,10,10);}     
                        g.setColor(clr);
              if (mybox4.getState()==true) {
                   g.fillRect(inteyes,120,10,10);
                   g.fillRect(ineyes,120,10,10);}
              else if (mybox5.getState()==true) {
                   g.drawOval(inteyes,120,10,10);
                   g.drawOval(ineyes,120,10,10);}     
              ineyes=inteyes+42;
              g.setColor(Color.black);     
              g.fillOval(128,yaxis,15,22);
              g.drawArc(111,160,50,20,0,180);     
         } //thank you if you can solve it

    Next time you post code, use the CODE button or [code] and [/code] tags so that it maintains the formatting from your editor.
    If two things are moving int the same direction, your adding N to both of their x-coordinates. If you want one to move in one direction and the other in the other direction, then you have to add N to one and -N to the other.

  • Help with a basic query

    Hello
    I am looking at a set of records and need to query them but cannot work out what syntax to use to get the desired result.
    This is the query for the basic data
    SELECT
    SCE_STUC,
    SCE_CRSC,
    SCE_STAC
    FROM SRS_SCE
    WHERE SCE_AYRC = '2009/0'
    and Sce_stuc LIKE '0702794'
    This gives:
    SCE_STUC SCE_CRSC SCE_STAC
    0702794     OAKC3ZSKG     C
    0702794     UBSH1BINS W
    0702794     UBSH1WIDS C
    So I need to create a query that shows where a person (sce_stuc) has a C status for sce_crsc OAKC3ZSKG but also has another SCE_CRSC not OAKC3ZSKG that is not status C.
    I am using Oracle SQL developer btw
    Any help much appreciated

    Hi thanks for these
    So I am looking for people that are C on course OAKC3ZSKG but have a record that is not C for another course this could be an In ('W','N') etc.
    Sorry I have not been that clear so looking to return:
    SCE_STUC SCE_CRSC SCE_STAC
    *0702794     UBSH1BINS      W*
    where the student has
    SCE_STUC SCE_CRSC SCE_STAC
    0702794     OAKC3ZSKG     C
    0702794     OAKC3ZSKG     C
    0702794     UBSH1BINS     W
    Again many thanks

  • Help with creating basic menu using AS

    i am working on a portfolio site for my friend who is a
    photographer and am looking to create a basic menu that when any
    menu item is moused over it enlarges and the other menu items move
    to make room for this enlarged menu item. i have tried to show this
    in the attached image.
    it would be much appreciated if someone could offer me some
    assistance or tips. thank you.
    Link
    to preview example

    Hello and welcome to the forums,
    What I would do there is use something like "Tweener", found
    at
    http://code.google.com/p/tweener/.
    This is built to work with AS 2.0 and 3.0. You could also use Mc
    Tween, found at
    http://hosted.zeh.com.br/mctween/.
    I am most comfortable with Mc Tween, I just haven't had time to
    look at Tweener. Basically it would work something like the
    following....
    What the code does is when you rollover the menu item, it
    will scale to 110% of its original size and when you rollout it
    scales to 100%...
    In order to use mc tween, you have to download and install
    the extenstion first.
    Once you've done that you will be all set... but if you plan
    on eventually using AS 3.0, check out Tweener.
    HTH,
    Doug

  • Help with a basic dbx question

    Solaris 10. DBX'ing a core file that was not compiled with any debugging information. When you do a basic "where", you typically get:
    [1] someFile::someFunction(arg1, arg2, arg3, arg4, arg5, arg6) at 0x5ab32x
    Can someone tell me what each of the addresses for the args above are? And what the "at 0x...." is ?
    I am trying to examine the arguments passed into the functions using "examine addr" but having difficulty.
    Thanks

    Without any debugging information, dbx cannot know how many arguments, or of what type, the function has.
    It displays the contents of the stack where the first 6 arguments would be if the registers were spilled, assuming that each argument was one word. Since the actual arguments might not be one word each, and since the registers might not have been spilled, the values displayed don't always have any significance. (If the function has fewer than 6 arguments, the remaining values have no significance.)
    The 0x5ab32x looks like a copying error. Dbx shows the (hex) address where the program crashed. The trailing x cannot be correct.
    You can get a disassembly starting at the function's address, or at some point ahead of the address shown, and try to match it to the source code.

  • Really Need Help with Some Basics! 

    I've done Adobe's flash tutorials, and made a numbef of
    animations, and feel comfortable with that, but am having trouble
    finding a good source on how to best implement a full flash site
    for the web. Is there an Adobe tutorial I am missing?
    Specifically, I've made an animation using the new Flash
    screens feature, but am having a few problems with it. For one, the
    animation is 443 kb for the full animation. Is this acceptable if I
    add a preloader? (website is for a Swiss audience only - so pretty
    good bandwidth)
    Here's the site: (use forward and back to navigate as one of
    the problems I"m having is with the buttons on the top)
    http://www.genevanotebook.com/BUFFET/test.html
    I've also had some problems with the navigation. Forward and
    Back work, but I can't get the buttons to work (is this a limiation
    in the "linear" screens feature?)
    Or would someone divide this up in some way. I've though of
    different possibilities like using frames (which I haven't touched
    for years) and having buttons in an simple html frame, which then
    opens and plays the flash files in the frame just below it. Or
    would Iframes be a way of proceeding? Or is there something else I
    am missing. I would be very curious to hear how you experts would
    proceed with putting together a site like the one above!
    Many thanks for any suggestions, including websites with good
    examples of the different ways a site like mine could be
    implemented for the web.

    Here is the link.
    http://www.matthewpavkov.com/buffetscreens_edited.fla
    Now, I'm going to try and explain what I did as best I can.
    But please understand that I do not know very much about
    actionscript, I just know how to feel my way through syntax and
    where code should and shouldn't be.
    First, I renamed the slides on the left. b-b-q ----> bbq1,
    and so forth. This is what I believe was the main problem for the
    buttons not working. My guess is you may have used the instance
    name somewhere and that could affect it. The second part to the
    main reason why your buttons weren't working is that you had
    different code on the word buttons than the code on the picture
    buttons. The code on the word buttons was the correct code. So, I
    copied and pasted that code on each of the word buttons AND each of
    the picture buttons, correspondingly. Then I changed each code to
    match up with the new names for the slides. Doing this alone fixed
    all the buttons so everything worked correctly. I also found that
    you had actionscript associated with the bbq slide. If you click on
    the slide on the left, you'll see the actionscript, I deleted that
    as it was unnecessary. Also, make sure to use the "Auto format"
    button in the actionscript plane, it's very useful for keeping
    things looks clean and consistent. I did that for all the code.
    Aside from this, I found nothing else wrong.
    I'd also like to point out that I've never used slides
    before. In fact, I only became aware of them after looking at your
    file. They look like a useful feature if you're going to have many
    simple pages, but I think it'd be much easier to do what you're
    doing now...just have each button point to a frame (or set of
    frames) in the timeline. These slides seem a little cumbersome for
    a small project, not to mention I'm sure you'll have no problems
    whatsoever using the frames method instead of slides.
    Hope this helped.

  • I need help with some basics with itunes 9

    Okay, maybe it's just me, but I can't get 9 to do some of the things that I just figured out how to do with 8 so if anyone can help you would save my sanity. First, I only have a few things listed to rank my albums on top in the view section-like album, artist album artist for ex. I used to be able to see all of those on the screen. 9 has spread out these columns too wide and I would like to reduce them.
    Second, I have several compilation albums like the Now that's what I call music. I had them fixed so that they would list as the total album with all the various artists. Now if I have 9 in the list view, it separates every artist in that type of album by their name. It won't just list them as an album together. If I click on the album from the side album it has the tracks all mixed up. The only way that I can see them being together and in the correct order is if I stay on the album view.
    I'm sure that these are stupid things to be concerned with, but I want to be able to view my own library the way I want to view it. Any help would be greatly appreciated.

    Okay, maybe it's just me, but I can't get 9 to do some of the things that I just figured out how to do with 8 so if anyone can help you would save my sanity. First, I only have a few things listed to rank my albums on top in the view section-like album, artist album artist for ex. I used to be able to see all of those on the screen. 9 has spread out these columns too wide and I would like to reduce them.
    Second, I have several compilation albums like the Now that's what I call music. I had them fixed so that they would list as the total album with all the various artists. Now if I have 9 in the list view, it separates every artist in that type of album by their name. It won't just list them as an album together. If I click on the album from the side album it has the tracks all mixed up. The only way that I can see them being together and in the correct order is if I stay on the album view.
    I'm sure that these are stupid things to be concerned with, but I want to be able to view my own library the way I want to view it. Any help would be greatly appreciated.

  • Help with KeyListener � basic stuff

    I�m use to using the old method for controlling key events (see below) in simple game applets, but as its an old method and on its way out I�d like to know how to get the same simple functionality out of the new one using the KeyListener interface.
    The old way:
    public boolean keyDown(Event evt, int key)
    switch (key) {
    case Event.UP: move = up;
    break;
    case Event.DOWN: move = down;
    break;
    return true;
    How could I set up the KeyPressed(KeyEvent e) to do the same?
    Thanks.

    Hi, I tried out the method you suggested and I couldn�t get it to work, the code I'm using is below:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class drawGame extends JComponent
                                       implements MouseMotionListener, KeyListener {
      int bx,by;
    public drawGame() {
      addMouseMotionListener(this);
      addKeyListener(this);
    public void mouseMoved(MouseEvent e) {}    
    public void mouseDragged(MouseEvent e) {
      bx = e.getX();
      by = e.getY();
      repaint();
    public void keyReleased(KeyEvent e){}       
    public void keyTyped(KeyEvent e){}
    public void keyPressed(KeyEvent e){
    int key = e.getKeyCode();
    switch (key) {
       case KeyEvent.VK_UP :
       case KeyEvent.VK_KP_UP: by--;
    break;
       case KeyEvent.VK_DOWN :
       case KeyEvent.VK_KP_DOWN: by++;
    break;
    repaint();
    public void paint(Graphics g) {
      g.setColor(Color.black);
      g.fillRect(0, 0, getSize(  ).width, getSize(  ).height);
      g.setColor(Color.orange);
      g.fillOval(bx,by,30,30);
      g.drawString("bx = "+ bx +" by = "+ by, 10, 10);
    // new .java file
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class setWin { 
    public static void main(String[] args) {
      JFrame gwin = new JFrame("Game Window");
      Container content = gwin.getContentPane();
      content.setLayout( new BorderLayout());
      content.add(new drawGame());
      gwin.setContentPane(content);
      gwin.setSize(400, 400);
      gwin.setLocation(100, 100);
      gwin.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      gwin.setVisible(true);
    }It's odd because the mouseListener works and lets you drag the oval around, but I can�t get any response from the keyListener, I also tried using this method:
    public void keyPressed(KeyEvent e){
    char ckey = e.getKeyChar();
    switch(ckey) {
      case 'u': by++;
    break;
    }Same result, nothing happened.
    Can anyone show me what I�m doing wrong? I would really like to get the oval to move around with key presses, and if you spot anything stupid in the above code let me know, it would be a great help, thanks.

  • I need help with a basic rock paper scissors program!

    i need to make a program that allows the computer to play rock paper scissors at random and compare the results with user and tell who wins or if its a tie. can anyone help me?

    import java.util.Scanner;
    import java.util.Random;
    public class RockPaperScissors
    public static final int ROCK = 1;
    public static final int PAPER = 2;
    public static final int SCISSORS = 3;
    public static void main(String[] args)
    final int NUM_CHOICES = 3;
    Random generator = new Random();
    int userWins = 0;
    int compWins = 0;
    int ties = 0;
    int compChoice, userChoice;
    boolean exit = false;
    Random randGen = new Random();
    Scanner scan = new Scanner(System.in);
    System.out.println("Enter your choice: ");
    userChoice = scan.nextInt();
    System.out.println("Computers Choice: ");
    compChoice = scan.nextInt();

Maybe you are looking for