Banded Text

Hello folks. I am trying to do what I thought might be a simple task. I have a 500 x 500 FW graphic with a transparent background. The only thing in it is a single word of text, five characters long, using Franklin Gothic Heavy, size 77. What I want to do is to create a black band across the lower third of these characters, at an equal height across all five letters, but with no black between the characters. It will be saved as PNG8, and the canvas will be trimmed to fit.
Can somebody recommend a good way to do this?
Thanks,
Gregory

Create a clone of the text.
Set the text color to black.
Draw a rectangle to cover the area you want visible.
Cut the rectangle.
Select the text and choose Edit > Paste as Mask.
Another option would be to experiment with a gradient fill for the 
single text object. Make sure the two colors overlap each other, then 
adjust the height of the gradient.
Hope this helps.
Jim Babbage

Similar Messages

  • Need rubber band text effect

    I want to make a series of text titles zoom out and then stretch in the middle as they reach full size like a rubber band having over stretched and then pinging back into place in CS4. I have looked through the text animation presets and can't find anything there so looks like I need to build the effect from scratch.
    Need to know what are the basic steps I need to take to manipulate text in this way?
    Thx
    Kevin

    This is fairly easy to do with an expression. Dan Ebbberts has a couple of examples that would work. The first is explained in the "It's a Fact Jack" part of this page. You would apply the expression to the X scale property. Just change the y to an x then write the final line [x, 100]
    If that doesn't do it for you try looking at Dan's Elastic Connection page. You could tie the x scale of the text to a null then animate the null's position to get your elastic effect.
    The most direct option is to just animate the X scale by hand. It may take you a few tries to get the exact look you want.

  • Scans from HP C4680 are not properly saved after upgrade to OS X 10.9

    After upgrade to OS Mavericks all-in-one HP C4680 does print and scan however scans are not properly saved. Saved file in preview shows grey bands; text is not readable.
    Driver update from HP support didn't resolve the issue, nor any workaround suggested in HP community.
    Issue is appaerently not unique for C4680 but also other HP equipment.
    Has anyone encountered this malfunction? If yes were you able to resolve it and how?

    Your screenshots are not appearing for me.
    Uninstall PC Tools "iAntiVirus" and "MacKeeper" according to their respective instructions. Confirm their thorough, complete, and permanent eradication from your Mac, and evaluate the results.
    Other problems exist, including what appears to be a modified Hosts file. If you know the reason for its modification, proceed on the basis of that knowledge. A remote access tool known as Teamviewer is also installed. If you no longer require it, uninstall it.
    Follow these instructions to uninstall MacKeeper. They have been tested with the most recent version of MacKeeper. Earlier versions than the one released in 2012 require more extensive work to uninstall all its components.
    If you actually used MacKeeper to alter your system, e.g. "remove excess binaries" or such, you will need to reinstall OS X as well as all your additional software. Uninstalling MacKeeper is insufficient to reverse the corruption it is capable of - once again, that is if you used it.
    If you merely installed MacKeeper but did not use it to perform any particular action, the following instructions will suffice.
    If you used MacKeeper to encrypt any files or folders, use MacKeeper to un-encrypt them first.
    Quit the MacKeeper app if it is running.
    Open your Applications folder: Using the Finder's Go menu, select Applications.
    Drag the MacKeeper icon from your Applications folder (not the Dock) to the Trash.
    You will be asked to authenticate (twice):
    You do not need to provide a reason for uninstalling it:
    Just click the Uninstall MacKeeper button. You will be asked to authenticate again.
    After it uninstalls you may empty the Trash and restart your Mac. All that will remain is an inert log file that does nothing but occupy space on your hard disk.

  • XML into an Array

    I have an XML file that I want to be able to load into an array and then be able to call on potions of the array to fill text boxes etc as needed through the flash movie.  My question is this.  Does the folowing code do it or do I need to load it into the array a different way?    So example, I would query the array for TestTrack 2  and if it exists in the array I want to use all parts of it.  (title, band, and file). Thanks for the help.
    XML CODE
    <?xml version="1.0" encoding="utf-8"?>
    <playlist>
              <track>
                        <title>TestTrack 1</title>
                        <band>Band1</band>
                        <file>test1.mp3</file>
              </track>
              <track>
                        <title>TestTrack 2</title>
                        <band>Band2</band>
                        <file>test2.mp3</file>
              </track>
              <track>
                        <title>TestTrack 3</title>
                        <band>Band3</band>
                        <file>test3.mp3</file>
              </track>
              <track>
                        <title>TestTrack 4</title>
                        <band>Band4</band>
                        <file>test4.mp3</file>
              </track>
    </playlist>
    AS3 CODE:
    var playlistArray:Array = new Array();
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.addEventListener(Event.COMPLETE, showXML);
    xmlLoader.load(new URLRequest("playlistAS3.xml"));
    function showXML(e:Event):void
              XML.ignoreWhitespace = true;
              var songs:XML = new XML(e.target.data);
              trace(songs.track.length());
              var i:Number;
              for (i=0; i < songs.track.length(); i++)
                        playlistArray[i]= songs.children()[i];
                        /*trace(" Name of the song: "+ songs.track[i].title.text());
                        trace(" Name of the Band: "+ songs.track[i].band.text());
                        trace(" File Location of the song: "+ songs.track[i].file.text());*/
              trace(playlistArray[0]);

    While Ned's answer is spot on, there's no need for an array - it actually makes it more work than necessary.
    AS3 has the XMLList object made just for this.
    In your showXML function you have:
      var songs:XML = new XML(e.target.data);
    After that you can just make an XMLList object with all the tracks:
    var tracks:XMLList = songs.track;
    trace(tracks.length()); //4
    To get the third title:
    trace(tracks[2].title);

  • A way to change the menu's texts ? And 10 band aud...

    6110 Navigator.
    Two questions:
    Is a third party 10 band equaliser, or, beeter an app to read audio files i can install on it ?
    I don't like the ergonomy of the original one.
    The menus on my phone (French Language) are so badly translated than some menus means the opposite of what they are supposed to do (ex: "to active" instead of "activated"). And others are just nonsense. Is any way to edit the menu's texts ?
    Even with a third party app ?
    Thanks in advance.

    LCG Jukebox from www.lonelycatgames.com

  • 3D Text - Gradients are rasterized and causes color banding

    Hi All
    I have applied a 3D>Extrude and Bevel on my text. Now problem is that when doing it, my border(part that is extruded) causes a color banding, since it rasterizes
    the gradients. See my image below.
    How do I take away those nasty lines?
    Thank you

    Gradients are always rasterized when using the 3D effect:
    But what you show in your image isn't really rasterization.
    Fill the shape with a flat color and let the 3D lighting alter the values. Or, apply the 3D effect with "no Shading" then Object > Expand Appearance and apply your gradients afterwards.
    Illustrator's 3D is not "top-of-the-line" and often requires exapanding and refining after using the effect.

  • Lyric Video for band - stop auto alignment of standard text

    Hi,
    I am doing a lyric video for my band and already have a rough edit of the text more or less accurately to the song. When I do now the fine edit Premiere Elements (I am on 10) re-arranges all following standard texts automatically. This destroys the rough edit I already did.
    How can I stop this behaviour? How can I leave my standard text snippets in an absolute position to the music, i.e. they only move when I move them manually?
    Thank you.
    Cheers,
    Sven

    It's all in my book if you're interested.
    http://muvipix.com/pe10.php

  • How to add text labels to computed column totals in a banded report?

    I'm sure I'm missing something obvious here. I have a simple report with a table that consists of 3 DB field columns and 3 computed columns. I have the 'show column total' property enabled and it inserts the totals at the bottom of the computed columns. What I haven't been able to do is insert a label to the left of the computed totals. I tried inserting a blank field and adding my label, but the location is not dynamic - if one grouped item has 3 rows and the next has 4 the inserted field does not flow to the bottom of the table for each group, it displays in the same position for each group.
    What property/option am I not seeing?
    Thanks!
    Edited by: user11293154 on Jun 22, 2009 1:03 PM

    Thanks for the reply. I'm using Interactive Studio version 9.3, but can't find the 'Set Spring' feature. The help file doesn't have a reference to it. There is a Spring(method) with this example;
    ActiveDocument.Sections["Report"].Body.Tables["Table"].Spring("Chart")ActiveDocument.Sections["Report"].Body.Tables["Table"].Spring("Pivot")

  • DAX Dynamic Banding | Calculated Member based on Calculated Field

    Good morning,
    I've created a Power Pivot model that measures the blood glucose levels of clinical patients at specific times of the day. The requirement is that this metric, let's call it GlucoseLevel, is always averaged as it wouldn't make sense to sum up the values.
    To meet this first requirement, I set the "Summarize By" property of the GlucoseLevel column to "Average".
    The second requirement is to band the GlucoseLevel values so that groups of people can be measured by this band rather than by the individual measure values. I created a banding table in Excel and then imported it into the Power Pivot model. The banding table
    has three columns (BandName, MinValue and MaxValue) and has the following values:
    VERYLOW: Min Value = 0; Max Value = 3.99
    OK: Min Value = 4; Max Value = 6.99
    WARNING: Min Value = 7; Max Value = 10.99CRITICAL: Min Value = 11; Max Value = 30.00
    It is at this point where I face my challenge. I have a GlucoseLevel measure and I have a banding table. Great. The challenge is: How do I create a calculated, dynamic
    member that will look at my GlucoseLevel measure (at whatever level), do a lookup to my banding table, and then return the "BandName" column from the Banding table at that specific level? So to clarify what I mean by level: I want to be able
    to view the bandings at Year level, or a Month level, or even at a week level. Then depending on what level I am at, my measure should have a Band associated to it.
    I've tried to solve this issue in a couple of ways:
    Attempt 1
    Create a calculated column in my fact table that contains a nested IF statement to manually band my GlucoseLevel values. This works fine if I view my data at the lowest level of granularity, however
    it does not work if I start looking at my data at the day, week, month etc. levels
    Attempt 2
    1.) Create a calculated field (not a calculated column) that averages my GlucoseLevel measure. This is cool because it will average my measure at whatever level I am viewing it at. Let's call
    this field Bob...
    2.) Band my measure Bob by creating another calculated field (called PatientBand). This field uses my banding table (described earlier) in conjunction with my calculated field Bob. This works perfectly, except for one big flaw: Excel sees this banding field
    as a measure, and not as something that I can use as a column / row...
    So my question is: Can I trick Excel into viewing my PatientBand calculated field as an attribute, and not as a measure? And if not, how do I get around this challenge? Here is the DAX formula that I used to create my second calculated field "PatientBand":
    PatientBand:=CALCULATE(
        VALUES (Bandings[BandName]);
        FILTER (
            Bandings; 
            Test[Bob] >= Bandings[MinValue]
         && Test[Bob] <= Bandings[MaxValue]
    Thanks!

    So there are 2 ways that I can think of for doing that.
    1) if you are only using MDX clients like Excel or Reporting services you can create a text based measure that returns the banding name. (Note that this sort of approach does not work at the moment with PowerView as it only displays numeric measures). This
    would effectively let you show a label next to a reading as opposed to moving the reading under a given banding column.
    Banding Name :=
    CALCULATE (
        VALUES ( Bands[BandName] ),
        FILTER (
            Bands,
            [Average of GlucoseReading] >= Bands[BandMin]
                && [Average of GlucoseReading] <= Bands[BandMax]
                && NOT ( ISBLANK ( [Average of GlucoseReading] ) )
    2) This next approach will show the results exactly as you had them in your sample screenshots. It just takes a slight bending of the DAX. I'm using a SUMX here, not because I want to sum anything, but because the "X" version of SUMX basically loops over
    every row in the specified table and sums the expression in the second parameter. I have setup the second parameter so that it only returns a single value for the average if it is in the appropriate banding. 
    Banded Average:=IF (
        HASONEVALUE ( Bands[BandName] ),
        SUMX(
            'Bands',
            IF (
                NOT ( ISBLANK ( [Average of GlucoseReading] ) )
                    && [Average of GlucoseReading] >= MIN ( Bands[BandMin] )
                    && [Average of GlucoseReading] <= MIN ( Bands[BandMax] ),
                AVERAGE(Readings[GlucoseReading]),
                BLANK()
    ,AVERAGE(Readings[GlucoseReading])
    http://darren.gosbell.com - please mark correct answers

  • How do I use the remote app on a dual band network?

    There are 2 routers in my home. One is dual band (SSID: NETGEAR49-5G). This one is being used as a 5GHz access point while the other (SSID: NETGEAR49) is being used as a 2.4GHz extender. However I can't use the Remote app to control my iTunes library, regardless of which router I connect to. I can't even use a passcode to add my library because I just keep getting an error saying I entered the wrong code. Strangely everything's fine if I turn off the 2.4GHz router, but I don't want to have to keep doing that. Is there any way I can configure the two routers so I can use the Remote app and other network-based services??

    Hi,
    I can tell you how it works on my iPhone.
    I click the Messages icon to open it.
    I click the box with pencil icon top right for New Message
    I start to type the name of the person I want to contact in the "To" spot.
    (Alternatively use the Blue + icon and select direct from Contacts list)
    I select the full name of Contact from any list if there are multiples.
    Once the person and their Contact option is selected I click on the text field at the bottom of screen
    Using the "keyboard" I type the Message and then  the Send button.
    9:45 PM      Saturday; June 9, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.7.4),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Highlighting text in  Preview

    Unexpectedly, a strange alteration to how I can highlight text,  when reading a pdf in Preview has occurred. I used to be able to check the highlight icon in the annotations bar and that's about it. Now when I intend to highlight text, the colour extends to being four lines wide, and when I finish - it gets even stranger. Instead of  the text with a straight band of colour - like with a real high-liner pen - odd shapes occur across the text! How to revert to a simple, colour line highlighting the text I feel is important?

    No it has nothing to do with, if the PDF is protected or not. It is not in this case, it is having the PDF open in Preview and holding down the mouse button and dragging and highlighting the information in whatever direction you push your mouse in. Preview seems to only highlight what ever is showing on the screen instead of highlighting from page to page.

  • Highlighting text in a table

    I want to highlight text (colored band) in a table. Not able to do so. The highlighting icon goes off when the cursor is on the text in table. It reappears when the cursor is outside the table.

    Hi Fruhulda,
    Thanks.
    The method shown below also works. But one has to be careful because among the menu options shown is "document color" (icon nos 4 from left). This is the correct one. I had been trying the icon for text color ignoring document color because it reads as if it for the entire document. Just now I tried the document color and it worked as a highlighter after the text was selected.

  • Text wrap type syntax is not supported in Indesign CS4

    Dear all,
    Text wrap type syntax is not supported in Indesign CS4. How to set the text wrap type in indesign CS4

    Hey!
    app.selection[0].textWrapPreferences.textWrapMode = TextWrapModes.CONTOUR;
    TextWrapModes.BOUNDING_BOX_TEXT_WRAP
    Wraps text around the object's bounding box.
    1651729523 = 'bsds'
    TextWrapModes.CONTOUR
    Wraps text around the object following the specified contour options.
    1835233134 = 'mcon'
    TextWrapModes.JUMP_OBJECT_TEXT_WRAP
    Forces text to jump above or below the object, so that no text appears on  the object's right or left.
    1650552420 = 'band'
    TextWrapModes.NEXT_COLUMN_TEXT_WRAP
    Forces text to jump to the next available column.
    1853384306 = 'nxfr'
    TextWrapModes.NONE
    No text wrap.
    1852796517 = 'none'
    tomaxxi

  • Using inline tags in text to speech to alter pronunciation and other things

    We're converting a weekly paper newspaper into speech, then to iTunes as mp3s to cut a CD or stick via Garage Band for a number of sight-impaired subscribers.
    We've been using TextEdit to edit the text that we receive as pdfs (or copy/paste from the newspaper website) to make it suitable for listeners and of course shorter. Problem is, that some words are mispronounced, and we sometimes need longer pauses between paragraphs.
    We get around the mispronunciation by mis-spelling words. That has been working for us, although Voice Over has exactly what we want from the pronuniation point of view, but does not work with the application we're using.
    We've also worked out how to use some inline tags, such as [[slnc 5000]] but examples such as [[pron sym]]="h eh 1 l ow & w er 1 l d "[[/]] simply don't work. What am I missing? Do I need to go to a specific set of xml or other tags or a standard set of tags that always work with Apple's tts engine?
    Look forward to a positive result.

    absolutely nothing bad will happen if you use a keyboard shortcut that's designated for something else. if you don't know it it means you don't use it so what's the problem? just use anything you like. use commandoptionL. that's not used for anything.

  • How to make an a basic attack in my text based game

    hey guys! i really need some genuine help on how to create an attack for my monsters and player. the attack should be basic: if the room contains a monster, then the monster attacks when the player goes inside the room. then the player can type a command to attack the monster. the attack should just deduct the hp of the monster. so the player can keep attacking till the monster is "dead"(this is where i remove the monster).
    anyway i tried alot in creating the attack but i failed all the time, messing my code even more. please!!!!! help!!!
    my monster class:
    public class Monster
    private int hp, stage;
    private String name;
    public Monster(String name, int stage)
    this.name = name;
    this.stage = stage;
    if(stage == 1) {
    hp = 1;
    else if(stage == 2) {
    hp = 2;
    else if(stage == 3) {
    hp = 2;
    else if(stage == 4) {
    hp = 3;
    else if(stage == 5) {
    hp = 4;
    else if(stage == 6) {
    hp = 6;
    public int monsterStage()
    return stage;
    public String getName()
    return name;
    this is where i created the monsters in my main game class:
    private Monster skeleton, sphinx, zombie, vampire, werewolf, undeadking;
    setting the monster to a room:
    skeleton = new Monster("skeleton1", 1);
    skeleton = new Monster("skeleton2", 1);
    sphinx = new Monster("sphinx1", 2);
    sphinx = new Monster("sphinx2", 2);
    sphinx = new Monster("sphinx3", 2);
    zombie = new Monster("zombie", 3);
    vampire = new Monster("vampire1", 4);
    vampire = new Monster("vampire2", 4);
    werewolf = new Monster("werewolf", 5);
    undeadking = new Monster("undeadking", 6);
    //setting the monster to a place
    bridge.addMonster("skeleton1", skeleton);
    castleDoor.addMonster("sphinx1", sphinx);
    castleChest.addMonster("zombie", zombie);
    dungeonDoor.addMonster("sphinx2", sphinx);
    castleStair.addMonster("werewolf", werewolf);
    dungeonBridge.addMonster("vampire2", vampire);
    dungeonBook.addMonster("sphinx3", sphinx);
    dungeonChest.addMonster("skeleton2", skeleton);
    throneCenter.addMonster("undeadking", undeadking);
    ps.: please help me! each room has one monster only and they are stored in hashmaps

    Here is a start of a basic text based game--it doesn't level or regen characters nor give healing or have new weapons...
    package ForumJunk;
    import java.util.Random;
    import java.util.Scanner;
    public class ForumJunk{
      private final int widthX;
      private final int heightY;
      private int myX;
      private int myY;
      private int myLevel;
      private int baseHP;
      private int myHP;
      private int myTreasure;
      private String[] myWeapon = {"fist", "open hand", "dagger", "short sword", "long sword", "b-sword", "2H sword"};
      private int[] myWeaponMaxDamage = {2, 3, 4, 6, 10, 12, 16};
      private int monsterFillFactor = 40;
      private int[][] monsterLevel = {{1, 1, 1}, {2, 2, 2}, {3, 3, 3}};
      private String[][] monsterName = {{"Skeleton", "Orac", "Kobald"}, {"Zombi", "Wolf", "Giant Rat"}, {"Bandit", "Mummy", "Ghost"}};
      private int[] monsterMaxDamage = {2, 4, 6};
      private myRoom[][] room;
      private Random rand;
      public ForumJunk(){
        widthX  = 100;
        heightY = 100;
        myLevel = 1;
        rand = new Random();
        baseHP   = 16;
        myHP     = baseHP;
        for(int i=0; i<myLevel; i++) myHP = myHP + rand.nextInt(4) + 4;
        room = new myRoom[widthX][heightY];
        for(int i=0; i<widthX; i++)for(int j=0; j<heightY; j++)room[i][j]=new myRoom();
        myX = rand.nextInt(widthX);
        myY = rand.nextInt(heightY);
        myTreasure = 0;
        fillMonster();
      public void doAttack(){
        if(!(room[myX][myY].monster != null)){
          System.out.println("Oh, it must have been my shadow; there's no monsters here \n");
          return; //no monster
        if(rand.nextBoolean()){
         doHumanAttack();
         if(room[myX][myY].monster.hp > 0) doMonsterAttack();
        }else{
          doMonsterAttack();
          doHumanAttack();
      public void doHumanAttack(){
        int weaponIndex = 0;
        if(myLevel<myWeaponMaxDamage.length) weaponIndex = myLevel;else weaponIndex = myWeaponMaxDamage.length-1;
        System.out.println("Attacking with " + myWeapon[weaponIndex] + " ...");
        int damage = myLevel * rand.nextInt(myWeaponMaxDamage[myLevel]);
        room[myX][myY].monster.hp -= damage;
        if(damage>0) System.out.println("Hit for " + damage + " damage\n");
        else System.out.println("I missed!\n");
        if(room[myX][myY].monster.hp <= 0) System.out.println("The " + room[myX][myY].monster.name  + " is dead.");
      public void doMonsterAttack(){
        System.out.println("The " + room[myX][myY].monster.name  + " is attacking...");
        int damage = rand.nextInt(monsterMaxDamage[room[myX][myY].monster.level-1]);
        myHP -= damage;
        if(damage>0) System.out.println("I've been hit for " + damage + " damage\n");
        else System.out.println("It missed me!\n");
        if(myHP<=0){
          System.out.println("Oh no, I'm dead!!!!!");
          System.exit(0);
      public void doStatus(){
        System.out.println();
        System.out.println("  Status:");
        System.out.println("    Room: " + myX + ":" + myY);
        System.out.println("      HP: " + myHP);
        System.out.println("Treasure: " + myTreasure + " gp");
        System.out.println("   Level: " + myLevel);
        System.out.println();
      public void doTreasure(){
        if(!(room[myX][myY].monster != null)){
          System.out.println("What--do you expect it just to be laying around in every room? \n");
          return; //no monster
        if(room[myX][myY].monster.hp>0){
          System.out.println("If there is any treasure that " + room[myX][myY].monster.name + " is guarding it.\n");
          return; //no monster
        myTreasure += room[myX][myY].monster.treasure;
        System.out.println("I found " + room[myX][myY].monster.treasure + " gp\n");
        room[myX][myY].monster = null;
      public void fillMonster(){
        int fill = (widthX * heightY * monsterFillFactor) / 100;
        int x = 0;
        int y = 0;
        boolean gen = false;
        for(int i=0; i<fill; i++){
          gen = true;
          while(gen){
            x = rand.nextInt(widthX);
            y = rand.nextInt(heightY);
            if(!(room[x][y].monster != null)){
              room[x][y].monster = new Monster(rand.nextInt(3)+1);
              gen = false;
      class Monster{
        int level = 0;
        int hp   = 0;
        int treasure = 0;
        String name = "";
        Monster(int level){
          this.level = level;
          hp = 1;
          for(int i = 0; i<level; i++) {
            hp += rand.nextInt(6);
            treasure += rand.nextInt(100);
          name = monsterName[level-1][rand.nextInt(3)];
      class myRoom{
        Monster monster = null;
        //what ever else you want to put in here
      public static void main(String[] args){
        String myIN = "";
        Scanner scan = new Scanner(System.in);
        ForumJunk fj = new ForumJunk();
        System.out.print("I am in room: " + fj.myX + ", " + fj.myY + " I have " + fj.myHP + " hit points and " + fj.myTreasure + " treasure ");
        if(fj.room[fj.myX][fj.myY].monster!=null){
          System.out.println("There is a  " + fj.room[fj.myX][fj.myY].monster.name + " here!");
        System.out.println("\n");
        while(!(myIN=scan.next()).equals("exit")){
          if(myIN.equals("north")){
            fj.myY -=1;
            if(fj.myY<0) fj.myY=fj.heightY-1;
          }else if(myIN.equals("south")){
            fj.myY +=1;
            if(fj.myY==fj.heightY) fj.myY=0;
          }else if(myIN.equals("west")){
            fj.myX -=1;
            if(fj.myX<0) fj.myX=fj.widthX-1;
          }else if(myIN.equals("east")){
            fj.myX +=1;
            if(fj.myX==fj.widthX) fj.myX=0;
          }else if(myIN.equals("attack")){
            fj.doAttack();
          }else if(myIN.equals("weapon")){
            System.out.println("I'll be using my " + fj.myWeapon[fj.myLevel] + " to attack\n");
          }else if(myIN.equals("treasure")){
            fj.doTreasure();
          }else if(myIN.equals("status")){
            fj.doStatus();
        System.out.print("I am in room: " + fj.myX + ", " + fj.myY + " I have " + fj.myHP + " hit points and " + fj.myTreasure + " treasure ");
        if(fj.room[fj.myX][fj.myY].monster!=null){
          System.out.print("There is a ");
          if(fj.room[fj.myX][fj.myY].monster.hp<=0) System.out.print("dead ");
          System.out.println(fj.room[fj.myX][fj.myY].monster.name + " here!");
        System.out.println("\n");
      System.out.println("Bye!");
    }

Maybe you are looking for