User Profile

Collapse

Profile Sidebar

Collapse
karlectomy
karlectomy
Last Activity: Apr 13 '08, 06:28 PM
Joined: Sep 19 '07
Location: Vermont
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • karlectomy
    started a topic Button Event Handling AS3.0

    Button Event Handling AS3.0

    Hi, I just recently started working with Flash CS3 and decided to try my fate in AS3. I did my research and read my sources and still I am having a problem with event handling on a button.
    I want to have dynamic hover text on a series of buttons. Below I have implemented one of the buttons and I get this error at runtime:
    TypeError: Error #2007: Parameter listener must be non-null.
    at flash.events::E ventDispatcher/addEventListene r()...
    See more | Go to post

  • karlectomy
    replied to String Matching with Parentheses
    in Java
    Thank you for the insight. I used String.equals(S tring) instead and it seems to work just fine.
    See more | Go to post

    Leave a comment:


  • karlectomy
    started a topic String Matching with Parentheses
    in Java

    String Matching with Parentheses

    Hi all,

    I am parsing text from a text file and I use Pattern and Matcher for the majority of the matching. My problem comes when I use the String.matches( String) function. Some of the lines have unclosed parentheses or unopened parentheses and These will throw the regex.PatternSy ntaxException ... some sort of exception. I have handled these but I was wondering if there was a way to ignore the parentheses or if I have to just handle...
    See more | Go to post

  • karlectomy
    started a topic Roll over button caption

    Roll over button caption

    Hey all,

    I Just installed Flash CS3 and was rearing to get animating when I caught a snag... Actionscript 3.0 is NOT Actionscript 2.0...

    I want to make a popup caption when I do a rollover of the button...

    I get silly errors like: 1119: Access of possibly undefined property _x through a reference with static type Class.

    this is my code which is in the first frame of the timeline. I have...
    See more | Go to post
    Last edited by karlectomy; Jan 11 '08, 08:15 PM. Reason: oops

  • karlectomy
    replied to Creating an HTML parser using PHP
    in PHP
    I think you're on the right track. I also am currently working on parsing large volumes of text. You have the right idea. Go with it. The conditional logic can get cluttered so try to keep it simple, otherwise it will be difficult to debug in the future.

    It looks like you know what you're doing.
    See more | Go to post

    Leave a comment:


  • karlectomy
    replied to Regular Expression Issue
    in Java
    I found my problem... THere is a line in one of the files that I am parsing which consists of

    view)

    I am using the string matches function and not the regex engine to compare this line and it is getting all funky dunky on my badunky dunky...

    My regular expressions were not the problem but thanks for the help.

    May all your days be Exception free :)

    Karl
    See more | Go to post

    Leave a comment:


  • karlectomy
    replied to Regular Expression Issue
    in Java
    THanks for your time,

    I hope its not a simple "hoser at the keyboard error" as my highschool programming teacher used to say...

    Yeah I built it from single file case up to multiple files... I am really frustrated because it seems the exceptions are being thrown at random and that doesn't help with debugging. My only idea is that maybe when comparing a string with a ( or ) in it, the regular expression engine...
    See more | Go to post
    Last edited by karlectomy; Jan 3 '08, 07:30 PM. Reason: thanks given where thanks is due

    Leave a comment:


  • karlectomy
    replied to Regular Expression Issue
    in Java
    That's what I said... But there is not logic difference. I just call the same function in a for loop over an array of files from the parent directory...

    All of the correct files are in the _files array which I iterate over. and I can run the parse on each file individually.

    It opens several files fine but it will randomly? throw the regex.PatternSy ntaxException: Unmatched closing ')' exception and it only works on the...
    See more | Go to post
    Last edited by karlectomy; Jan 3 '08, 06:37 PM. Reason: re read reply and debugged

    Leave a comment:


  • karlectomy
    replied to Creating an HTML parser using PHP
    in PHP
    Are you parsing HTML files that are already created?

    You might want to check this out:
    http://us3.php.net/manual/en/function.file.php...
    See more | Go to post

    Leave a comment:


  • karlectomy
    started a topic Regular Expression Issue
    in Java

    Regular Expression Issue

    Hi there,

    I am parsing some text files using a buffered reader. I use regular expressions to match different lines to their appropriate cases. I can parse one file fine but when I run the parse on multiple files, I get

    Exception in thread "main" java.util.regex .PatternSyntaxE xception: Unmatched closing ')' near index 3
    view)

    The thing is, I never get it in the same place twice. It will...
    See more | Go to post
    Last edited by karlectomy; Jan 3 '08, 05:18 PM. Reason: added patterns

  • karlectomy
    replied to [css] div problem
    oops i did it again...
    See more | Go to post
    Last edited by karlectomy; Dec 27 '07, 03:11 AM. Reason: erasure

    Leave a comment:


  • karlectomy
    replied to Showing Database in Oracle
    Thank you very much for the suggestions...
    See more | Go to post

    Leave a comment:


  • karlectomy
    started a topic Missing right parenthesis

    Missing right parenthesis

    Hi all,

    I'm trying to run this table creation script but I run into the ORA-00907 error: missing right parenthesis. Perhaps someone might know where I am going wrong?

    [CODE="sql"]
    CREATE TABLE RADLEX.radlinks (
    PID varchar(30) NOT NULL,
    CID varchar(30) NOT NULL,
    relation_type varchar(25) NOT NULL,
    preferred tinyint(1),
    PRIMARY KEY (PID,CID,relati on_type)...
    See more | Go to post
    Last edited by karlectomy; Dec 18 '07, 08:10 PM. Reason: Because I felt like it

  • karlectomy
    started a topic Happy 20th Birthday
    in Perl

    Happy 20th Birthday

    Perl turns 20 today!! Hooray.

    Check out the wired article here:

    http://www.wired.com/science/discove...dayintech_1218...
    See more | Go to post
    Last edited by karlectomy; Dec 18 '07, 07:21 PM. Reason: link

  • karlectomy
    started a topic Showing Database in Oracle

    Showing Database in Oracle

    Hi,

    I'm normally a MySQL user and I'm used to the commands thereof but I find myself working with Oracle 10g. I was wondering what the command would be to view all databases in the system like the MySql Command:

    [CODE="SQL"]
    show databases;
    [/CODE]

    Best wishes,

    Karl
    See more | Go to post

  • karlectomy
    replied to Regular Expression Logic problem
    in Java
    That's very true and also, com.cities.rome wasn't built in a day :)...
    See more | Go to post

    Leave a comment:


  • karlectomy
    replied to Regular Expression Logic problem
    in Java
    Thanks Jos,

    That works! but I also figured it out on my own using " \\d+(\\. | )" which is a dot followed by a space or just a space.

    THanks for your help,

    Karl...
    See more | Go to post

    Leave a comment:


  • karlectomy
    started a topic Regular Expression Logic problem
    in Java

    Regular Expression Logic problem

    Hey all,

    I have a parsing application where I am taking text files and choppiing them up (so to speak) There are small formatting differences which I was hoping to take care of with regular expression logic.

    Here is example of one line:

    $CHAP_01.txt$ 1 Chapter One

    This line should be equivalent:

    $CHAP_01.txt$ 1. Chapter One

    (See the period after the one?)...
    See more | Go to post

  • karlectomy
    replied to Simple Menu using UL/LI and A
    I concur with your findings...
    See more | Go to post

    Leave a comment:


  • karlectomy
    replied to Simple Menu using UL/LI and A
    I try to stay away from javascript. We got into a drunken argument and we don't really talk anymorre...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...