Help with gallery creation

I’ve been creating galleries by using Commands/create
web photo album for ages now without a problem but suddenly the
files are being placed on the thumbnail page out of order. The
files are numeric and used to appear from 1 to whatever just fine;
now they are automatically placed randomly and I have no idea why.
Can anyone help or advise?
Thanks
James

Meant to say: I am using Dreamweaver 8 and Fireworks 5

Similar Messages

  • Need help with gallery showing .jpg AND .swf

    Hi all,
    I have an image gallery that loads images and swf-files from an XML-file. The .jpg's load and display just fine, but the .swf files won't show. The data is loaded though. Any help is greatly appreciated!
    Thanks so much in advance,
    Dirk
    My XML file looks like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <slideshow>
    <image src="photo1.jpg" time="1" title="test" desc="test" artist="sabre" link="" target="_self" />
    <image src="photo2.jpg" time="3" title="test2" desc="test2desc" artist="sabre" link="" target="_self" />
    <image src="flash1.swf" time="2" title="test3" desc="test3desc" artist="sabre" link="" target="_self" />
    </slideshow>
    And the AS3:
    // import tweener
    import caurina.transitions.Tweener;
    // delay between slides
    const TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:Number = 1;
    // flag for knowing if slideshow is playing
    var bolPlaying:Boolean = true;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // current slide link
    var strLink:String = "";
    // current slide link target
    var strTarget:String = "";
    // url to slideshow xml
    var strXMLPath:String = "xml.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    function initSlideshow():void {
    // hide buttons, labels and link
    mcInfo.visible = false;
    btnLink.visible = false;
    var request:URLRequest = new URLRequest (strXMLPath);
    request.method = URLRequestMethod.POST;
    var variables:URLVariables = new URLVariables();
    variables.memberID = root.loaderInfo.parameters.memberID;
    request.data = variables;
    var loader:URLLoader = new URLLoader (request);
    loader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
    loader.dataFormat = URLLoaderDataFormat.VARIABLES;
    loader.load(request);
    // create new timer with delay from constant
    slideTimer = new Timer(TIMER_DELAY);
    // add event listener for timer event
    slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
    // create 2 container sprite which will hold the slides and
    // add them to the masked movieclip
    sprContainer1 = new Sprite();
    sprContainer2 = new Sprite();
    mcSlideHolder.addChild(sprContainer1);
    mcSlideHolder.addChild(sprContainer2);
    // keep a reference of the container which is currently
    // in the front
    currentContainer = sprContainer2;
    // add event listeners for buttons
    btnLink.addEventListener(MouseEvent.CLICK, goToWebsite);
    btnLink.addEventListener(MouseEvent.ROLL_OVER, showDescription);
    btnLink.addEventListener(MouseEvent.ROLL_OUT, hideDescription);
    mcInfo.btnPlay.addEventListener(MouseEvent.CLICK, togglePause);
    mcInfo.btnPause.addEventListener(MouseEvent.CLICK, togglePause);
    mcInfo.btnNext.addEventListener(MouseEvent.CLICK, nextSlide);
    mcInfo.btnPrevious.addEventListener(MouseEvent.CLICK, previousSlide);
    // hide play button
    mcInfo.btnPlay.visible = false;
    function onXMLLoadComplete(e:Event):void {
    // show buttons, labels and link
    mcInfo.visible = true;
    btnLink.visible = true;
    // create new xml with the received data
    xmlSlideshow = new XML(e.target.data);
    var  unesc_xmlSlideshow:XML = new XML(unescape(xmlSlideshow));
    // get total slide count
    intSlideCount = unesc_xmlSlideshow..image.length();
    // switch the first slide without a delay
    switchSlide(0);
    function fadeSlideIn(e:Event):void {
    var  unesc_xmlSlideshow:XML = new XML(unescape(xmlSlideshow));
    // add loaded slide from slide loader to the
    // current container
    addSlideContent();
    // clear preloader text
    mcInfo.lbl_loading.text = "";
    // check if the slideshow is currently playing
    // if so, show time to the next slide. If not, show
    // a status message
    if(bolPlaying) {
      mcInfo.lbl_loading.text = "Next slide in " + unesc_xmlSlideshow..image[intCurrentSlide].@time + " sec.";
    } else {
      mcInfo.lbl_loading.text = "Slideshow paused";
    // fade the current container in and start the slide timer
    // when the tween is finished
    Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:onSlideFadeIn});
    function onSlideFadeIn():void {
    // check, if the slideshow is currently playing
    // if so, start the timer again
    if(bolPlaying && !slideTimer.running)
      slideTimer.start();
    function togglePause(e:MouseEvent):void {
    var  unesc_xmlSlideshow:XML = new XML(unescape(xmlSlideshow));
    // check if the slideshow is currently playing
    if(bolPlaying) {
      // show play button
      mcInfo.btnPlay.visible = true;
      mcInfo.btnPause.visible = false;
      // set playing flag to false
      bolPlaying = false;
      // set status message
      mcInfo.lbl_loading.text = "Slideshow paused";
      // stop the timer
      slideTimer.stop();
    } else {
      // show pause button
      mcInfo.btnPlay.visible = false;
      mcInfo.btnPause.visible = true;
      // set playing flag to true
      bolPlaying = true;
      // show time to next slide
      mcInfo.lbl_loading.text = "Next slide in " + unesc_xmlSlideshow..image[intCurrentSlide].@time + " sec.";
      // reset and start timer
      slideTimer.reset();
      slideTimer.start();
    function switchSlide(intSlide:int):void {
    // check if the last slide is still fading in
    if(!Tweener.isTweening(currentContainer)) {
      // check, if the timer is running (needed for the
      // very first switch of the slide)
      if(slideTimer.running)
       slideTimer.stop();
      // change slide index
      intCurrentSlide = intSlide;
      // check which container is currently in the front and
      // assign currentContainer to the one that's in the back with
      // the old slide
      if(currentContainer == sprContainer2)
       currentContainer = sprContainer1;
      else
       currentContainer = sprContainer2;
      // hide the old slide
      currentContainer.alpha = 0;
      // bring the old slide to the front
      mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
      // delete loaded content
      clearLoader();
      // create a new loader for the slide
      slideLoader = new Loader();
      // add event listener when slide is loaded
      slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
      // add event listener for the progress
      slideLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
      var  unesc_xmlSlideshow:XML = new XML(unescape(xmlSlideshow));
      // load the next slide, seems to f*ck up here...
      slideLoader.load(new URLRequest(unesc_xmlSlideshow..image[intCurrentSlide].@src));
      // show description of the next slide
      mcInfo.lbl_description.text = unesc_xmlSlideshow..image[intCurrentSlide].@title;
      // show artist's name of the next slide
      mcInfo.lbl_artist.text = unesc_xmlSlideshow..image[intCurrentSlide].@artist;
      // set link and link target variable of the slide
      strLink           = unesc_xmlSlideshow..image[intCurrentSlide].@link;
      strTarget          = unesc_xmlSlideshow..image[intCurrentSlide].@target;
      mcInfo.mcDescription.lbl_description.htmlText = unesc_xmlSlideshow..image[intCurrentSlide].@desc;
      // show current slide and total slides
      //mcInfo.lbl_count.text = (intCurrentSlide + 1) + " / " + intSlideCount + " Slides";
      mcInfo.lbl_count.text = " Slide " + (intCurrentSlide + 1) + " / " + intSlideCount;
    function showProgress(e:ProgressEvent):void {
    // show percentage of the bytes loaded from the current slide
    mcInfo.lbl_loading.text = "Loading..." + Math.ceil(e.bytesLoaded * 100 / e.bytesTotal) + "%";
    function goToWebsite(e:MouseEvent):void {
    // check if the strLink is not empty and open the link in the
    // defined target window
    if(strLink != "" && strLink != null) {
      navigateToURL(new URLRequest(strLink), strTarget);
    function nextSlide(e:Event = null):void {
    // check, if there are any slides left, if so, increment slide
    // index
    if(intCurrentSlide + 1 < intSlideCount)
      switchSlide(intCurrentSlide + 1);
    // if not, start slideshow from beginning
    else
      switchSlide(0);
    function previousSlide(e:Event = null):void {
    // check, if there are any slides left, if so, decrement slide
    // index
    if(intCurrentSlide - 1 >= 0)
      switchSlide(intCurrentSlide - 1);
    // if not, start slideshow from the last slide
    else
      switchSlide(intSlideCount - 1);
    function showDescription(e:MouseEvent):void {
    // remove tweens
    Tweener.removeTweens(mcInfo.mcDescription);
    // fade in the description
    Tweener.addTween(mcInfo.mcDescription, {alpha:1, time:0.5, y: -1});
    function hideDescription(e:MouseEvent):void {
    // remove tweens
    Tweener.removeTweens(mcInfo.mcDescription);
    // fade out the description
    Tweener.addTween(mcInfo.mcDescription, {alpha:0, alpha:1, time:0.5, y: 30});
    function clearLoader():void {
    try {
      // get loader info object
      var li:LoaderInfo = slideLoader.contentLoaderInfo;
      // check if content is bitmap and delete it
      if(li.childAllowsParent && li.content is Bitmap){
       (li.content as Bitmap).bitmapData.dispose();
    } catch(e:*) {}
    function addSlideContent():void {
    // empty current slide and delete previous bitmap
    while(currentContainer.numChildren){Bitmap(currentContainer.getChildAt(0)).bitmapData.disp ose(); currentContainer.removeChildAt(0);}
    // create a new bitmap with the slider content, clone it and add it to the slider container
    var bitMp:Bitmap =  new Bitmap(Bitmap(slideLoader.contentLoaderInfo.content).bitmapData.clone());
    currentContainer.addChild(bitMp);
    // init slideshow
    initSlideshow();

    I'm sorry, you're right! Didn't intend to be lazy...
    This line loads the image in the loader 'slideLoader'. This seems to work fine with image files (.jpg), but .swf files are ignored. Is it possible to load both .jpg AND .swf files in a loader, or do I have to use some other method for this?
    slideLoader.load(new URLRequest(unesc_xmlSlideshow..image[intCurrentSlide].@src));
    Thanks again,
    Dirk

  • Need help with gallery plugin

    Hola
    I need your help (again) to figure it out
    why the lightbox plugin is not working in this site.
    http://mydsigner.com/claudia/gallery_manteca.html
    So you people know, this is the site that I asked before in this link;
    What's up with the new Adobe wants to use your confidential information thing
    Here is the original site;
    http://www.lascasuelasmexicanrestaurant.com/gallery/details.php?gallery=Manteca_4
    As you see here, ALL PAGES ARE PHP (?)
    Well, I managed to get the html pages, change some things,
    all working well, but the gallery doesn't work, and I don't have any idea why.
    You see, the page has a link to a lightbox css that for a strange reason,
    I cannot find on the server
    ;href="/css/bootstrap-lightbox.min.css
    When I looked for that file, it's just not there, so
    I got a file from bootstrap and put it in there, but the lightbox still don't want to work.
    Need your wizard help here.
    Thanks a lot
    Saludos from California

    Hola Osgood
    Thats what's wrong - it should NOT be <script src="css/prettyPhoto.css"></script>
    It should be linking to the js file NOT the css file:
    <script src="http://mydsigner.com/claudia//js/jquery.prettyPhoto.js"></script>"
    How many 'likes" can I give you?
    This is the right answer !!!
    I knew something was wrong there, but cannot figure it out.
    Definitely I need to keep studying my everything about this stuff.
    Again, thanks a Lot !!!
    Saludos from California :-)

  • Help with gallery!

       Hi guys.
    could anybody help me to do the same gallery like in this website http://polishrenovation.co.uk/projects/
    When you click on the picture everything goes dark and picture comes up with arrows that you press to go to the next one. If it is possible could you write how to do it step by step please. Thank you
    Roman

      Hi i have another question please...
    Can anybody explain me how can i do that my pictures will be showed as slideshow when my web is opened ?
    for example http://www.buildingservicesbedfordshire.co.uk/ Can i have a tutorial or full explanation on how can i do it please?
    But if it is possible i do not need comments like i need to go and learn everything from the begining....I just want to do a web by myself!.
    Thank you
    Roman

  • Noob needs help with site creation -- interactive?

    I want to make a site where people can post and/or reply to other posts.
    I've used iWeb for a couple years so I'm good with "static" sites but how can I make one where people can post to the site themselves?
    For example, I write ::"what is your favorite rum when making a hurricane":: and a list of users/responses follows?
    Is that even possible?
    I'm using iWeb '09.
    Thanks,
    Jay

    Jay ~ Welcome to the discussions. You could link to a free forum you've set up here:
    http://www.lefora.com
    And to link to an external forum from iWeb's navigation bar:
    Link it to a blank internal page titled "Forum" (actually you can name the page whatever you want.) Then in that Forum page add an HTML Snippet with the following code:
    <script type="text/javascript">
    parent.window.location = "http://www.yourforumname.lefora.com"; // change this to your own URL
    </script>
    ...Once published, clicking on the Forum page in the navbar will immediately redirect to your external Forum page. (Thanks to Cyclosaurus for the code).
    Ning, the free "social networking" site, includes a forum:
    Add a rich single or multi-threaded discussion forum with categories, photos and attachments to your Ning Network. Limit forum topic creation to you or open it up to all of your members.
    http://about.ning.com/product.php

  • Help with dynamic creation of class object names

    Hi all
    Wonder if you can help. I have a class player.java. I want to be able to create objects from this class depending on a int counter variable.
    So, for example,
    int counter = 1;
    Player p+counter = new Player ("Sam","Smith");the counter increments by 1 each time the method this sits within is called. The syntax for Player name creation is incorrect. What I am looking to create is Player p1, Player p2, Player p3.... depending on value of i.
    Basically I think this is just a question of syntax, but I can't quite get there.
    Please help if you can.
    Thanks.
    Sam

    here is the method:
    //add member
      public void addMember() {
        String output,firstName,secondName,address1,address2,phoneNumberAsString;
        long phoneNumber;
        boolean isMember=true;
        this.memberCounter++;
        Player temp;
        //create HashMap
        HashMap memberList = new HashMap();
        output="Squash Court Booking System \n";
        output=output+"Enter Details \n\n";
        firstName=askUser("Enter First Name: ");
        secondName=askUser("Enter Second Name: ");
        address1=askUser("Enter Street Name and Number: ");
        address2=askUser("Enter Town: ");
        phoneNumberAsString=askUser("Enter Phone Number: ");
        phoneNumber=Long.parseLong(phoneNumberAsString);
        Player p = new Player(firstName,secondName,address1,address2,phoneNumber,isMember);
        //place member into HashMap
        memberList.put(new Integer(memberCounter),p);
        //JOptionPane.showMessageDialog(null,"Membercounter="+memberCounter,"Test",JOptionPane.INFORMATION_MESSAGE);
        //create iterator
        Iterator members = memberList.values().iterator();
        //create output
        output="";
        while(members.hasNext()) {
          temp = (Player)members.next();
          output=output + temp.getFirstName() + " ";
          output=output + temp.getSecondName() + "\n";
          output=output + temp.getAddress1() + "\n";
          output=output + temp.getAddress2() + "\n";
          output= output + temp.getPhoneNumber() + "\n";
          output= output + temp.getIsMember();
        //display message
        JOptionPane.showMessageDialog(null,output,"Member Listings",JOptionPane.INFORMATION_MESSAGE);
      }//end addMemberOn running this, no matter how many details are input, the HashMap only gives me the first one back....
    Any ideas?
    Sam

  • Need a little help with JAR creation

    I've created a JAVA program with the Forte IDE and now I want to make it executable without the IDE. I read on this forum that all I had to do was create a JAR file, so I tried but I get an error (see below). Could someone point out my error please.
    Directory Tree:
    vio082\vio\app\
    DOS command to create executable JAR:
    "java -jar cmf trackerManifest.txt trackerTest.jar trackerTest.Class"
    ERROR I RECEIVED:
    "Exception in thread "main" java.util.zip.ZipException: The system cannot find the file specified
         at java.util.zip.ZipFile.open<Native Method>
         at java.util.zip.ZipFile.<init><Unknown Source>
         at java.util.zip.ZipFile.<init><Unknown Source>
         at java.util.zip.ZipFile.<init><Unknown Source>"
    This was my file trackerManifest.txt:
    Main Class: trackerTest
    [cr]
    This is the begining of my file trackerTest.Class:
    package vio.app;
    import javax.comm.*;
    import vio.tracker.*;
    import java.net.*;
    import java.io.*;
    public class trackerTest {
         public static void main (String argv[]) {

    Thanks for the help so far. My first problem was that the directory with the "jar" command was not in my path (now that fixed). My application still won't execute and I think it has to do with the following:
    My application uses the serial port to communicate with a device and uses a socket server to communicate with a C++ program. The following JAVA utilities are imported to make my application work:
    javax.comm.
    java.net.
    ijava.io.
    If I use the command:
    "jar cvfm trackerTest.jar trackerManifest.txt trackerTest.Class"
    will the appropriate files from javax.comm, java.net and ijava.io also be incorporated into the jar file? If not, how are they made available when I distribute my jar to other users?
    Second question:
    Should I be using:
    "jar cvfm trackerTest.jar trackerManifest.txt vio082/*.*"
    to capture all the other classes required by my package that are in other directories above and below the trackerTest.class directory?
    Any help is greatly appreciated.
    JAM

  • Need help with Catalog creation

    I have a catalog of 500 item I would like to sell over the
    web . This catalog is in a PDF format with graphics and text . How
    can I get into contribute and add the paypal cart buttons. I am
    trying to eliminate the need of recreating the catalog when it is
    all already created and shoud be able to convert for use in
    contribute. any help would be appreciated . If contribute is not
    the product for me let me know that as well. The catalog was
    created in illustrator and saved as a PDF file (if this
    helps)

    If you have the source design in Illustrator - you might want
    to use Dreamweaver or GoLive instead, so that you can insert your
    graphics and text elements using layers and hotslices. Contribute
    can then be used to manage your site content. For a simple site
    design, you can incorporate existing sample templates in
    Contribute, and then add the paypal shopping object to them. Since
    you have the graphical mockup in Illustrator this should be two
    ways to approach your catalog to web design.

  • Help with Order creation

    I have a Workflow....
    There I have component Siebel Operation
    (BC is Order Entry - Orders
    Operation is Insert)
    It's work successfully BUT I need to create Order and when I'm creating
    fill some fields with my data...Now it's creating without filling fields
    How to do this using input arguments of siebel operation???

    If "Argument Fields for an Input Argument"
    http://download.oracle.com/docs/cd/B40099_02/books/BPFWorkflow/BPFWorkflow_Reference26.html#wp1168244
    doesn't help, then you need to tell us more exactly what you do and what you can't get to work.
    Axel

  • Help - with gallery for dreamweaver

    This link is to a template that I found that I really love how the gallery looks... but I am trying to figure out how to create this gallery with thumbnails along the top where you can click on one of the thumbnails on the left first (in the mouse over section) to activate which set of thumbnails you see at the top. Then once you click on one of those thumbnails at the top the image changes in the main section along with the extra 2 or 3 images that you can right or left arrow click to. http://www.templatehelp.com/preset/pr_preview.php?i=20121&pr_code=J3Yh
    More info on what I am trying to do. incase that wasn't just jibberish.
    The boxes that have the images on the left (which is the mouse over section) I want to be able to click on one of the images for ex they would be listed as performing arts, restaurants, education etc. I would like to be able to click on one then once clicked have a set of thumbnails at the top of the main image that have one thumbnail for each job. so once you click on the job the main image changes to whatever job image I place in there along with still being able to click through more of the same job in that area like it does now.
    I am using Dreamweaver CS4... but if you know of an extension that can do that ... that would be great to.
    thanks

    Dreamweaver doesn't build Flash sites.  You would need to build this sort of menu/slideshow with your Flash authoring program.
    There are other Photo Gallery solutions you might try instead.
    http://JAlbum.net/
    http://slideshowpro.net/
    http://projectseven.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Help with PDF creation using CFDOCUMENT / iText

    Hi everyone,
    Finally made the jump to CF7 after sticking with 5 for way
    too long and now have an urgent need to generate PDF.
    <cfdocument> seems to do better than anything else at
    converting HTML styled with CSS, but falls short in a few
    fundamental areas. What I need to do ( to name 3) is:
    * Generate a table of contents - including page numbers
    * Have far greater control over the headers / footers
    * Swap page orientation mid-document
    I can get round the page orientation thing by creating each
    section as an individual PDF and gluing them back together using
    PaulH's excellent PDF concatenation code. Using <cfdocument>
    I can reserve space for the headers / footers, and add a table of
    contents with placeholders for the numbers.
    Now, my question: Will I be able to rewrite all the page
    numbers, finish off the table of contents and headers / footers
    using iText? i.e. traverse the concatenated PDF file, rewrite the
    headers / footers, work out the page numbers and rewrite the TOC?
    I'm not asking for sample code or even a how to - just a
    heads-up from some who knows iText well and can quickly say whether
    this is feasible.
    I hope it is because my alternative approach is to go down
    the xsl-fo route which I suspect will be more effort in the long
    run.
    Thanks
    PJ

    as alternative solution you might check activepdf products.
    www.activepdf.com
    cheers
    kim

  • Help with JAR creation please

    I've created a JAVA program with the Forte IDE and now I want to make it executable without the IDE. I read on this forum that all I had to do was create a JAR file, so I tried but I get an error (see below). Could someone point out my error please.
    Also, I tried to run the jar command by itself, I received a command not found error. Only when I preceeded the jar command by JAVA (i.e. JAVA -jar ....) did DOS attempt to run the command.
    Second request: Am I missing the path to the jar command in my path variable?
    Directory Tree:
    vio082\vio\app\
    DOS command to create executable JAR:
    "java -jar cmf trackerManifest.txt trackerTest.jar trackerTest.Class"
    ERROR I RECEIVED:
    "Exception in thread "main" java.util.zip.ZipException: The system cannot find the file specified
    at java.util.zip.ZipFile.open<Native Method>
    at java.util.zip.ZipFile.<init><Unknown Source>
    at java.util.zip.ZipFile.<init><Unknown Source>
    at java.util.zip.ZipFile.<init><Unknown Source>"
    This was my file trackerManifest.txt:
    Main Class: trackerTest
    [cr]
    This is the begining of my file trackerTest.Class:
    package vio.app;
    import javax.comm.*;
    import vio.tracker.*;
    import java.net.*;
    import java.io.*;
    public class trackerTest {
    public static void main (String argv[]) {

    Hi there,
    I'd like to get in on this as well ... I've got a problem of my own with this. In the past I've created packages and ran them alright. And I create my own .jar files all the time on MS Win OS's, which I distribute for others and create desktop shortcuts for, etc. ... no problems; I sometimes jar up applications in unix, even though pretty much everything I run there is command line, just to keep things together.
    But I've never jar'd up an application with my OWN packages inside, rather than just the default directory path (IOW: with package statements) and now that I'm trying it's not working quite right ... here's the deal:
    Here's the path to the 1st package level: C:\MyMoveSubDir\Mysendrecv\Billsdir\TestPgms
    Here's the next dir level:
    mytestdir
    So, in C:\MyMoveSubDir\Mysendrecv\Billsdir\TestPgms\mytestdir is:
    TestClassy.class
    and
    TestClassy$P1.class
    ... created from:
    TestClassy.java ... the source is:
    package mytestdir;
    public class TestClassy {
    public static final void doNothing() {
    System.out.println("What a doNothing method");
    protected class P1 {
    void afancymethod() {
    System.out.println("What a fancy method");
    public static void main(String[] argv) {
    TestClassy tc = new TestClassy();
    tc.doNothing();
    P1 p1 = tc.new P1();
    p1.afancymethod();
    ... The manifest file is called mymanifest.txt, and is in:
    C:\MyMoveSubDir\Mysendrecv\Billsdir\TestPgms, and looks like this:
    Main-Class: mytestdir.TestClassy
    I compile the pgm from C:\MyMoveSubDir\Mysendrecv\Billsdir\TestPgms like this:
    javac -classpath . mytestdir\TestClassy.java
    I run the pgm from same like this:
    java -classpath . mytestdir/TestClassy
    ... and it prints:
    What a doNothing method
    What a fancy method
    ...fine.
    I can jar it up like this:
    C:\MYMOVE~1\MYSEND~1\Billsdir\TestPgms>jar cvfm TestClassyJar.jar mymanifest.txt -C mytestdir/ .
    added manifest
    adding: mytestdir/./(in = 0) (out= 0)(stored 0%)
    adding: mytestdir/./TestClassy$P1.class(in = 594) (out= 374)(deflated 37%)
    adding: mytestdir/./TestClassy.class(in = 681) (out= 436)(deflated 35%)
    adding: mytestdir/./TestClassy.java(in = 423) (out= 214)(deflated 49%)
    But no matter how I try to execute it - like this - it fails with:
    C:\MYMOVE~1\MYSEND~1\Billsdir\TestPgms>java -jar TestClassyJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: mytestdir/TestClassy
    ... any suggestions anyone. I'd sure appreciate it.
    ~Bill

  • Need help with Maze creation

    Hi everyone!
    I'm currently trying to make a maze creator program. My problem is that it's not functioning properly, though i can't find any problems in the theory. since the program is not 10 lines long i don't want to post the whole program here, so i would like to ask if anyone can help me. If somebody wants some challenge, please answer to this post, and i can send the program in private.
    Aeren

    import java.io.*;
    import java.util.*;
    public class Maze {
    private int width, height;
    public int [][] mazeJoUt;
    public boolean [][] mazeBejart;
    public String [][] mazeHonnan;
    public boolean [][][] mazeFalak;
    public Maze(int height, int width) {
         this.height = height;
         this.width = width;
         mazeJoUt = new int[width][height];
         mazeHonnan = new String[width][height];                                             // Alapb�l semmi, ez jelzi, hogy m�g nincs bej�rva
         mazeFalak = new boolean[width][height][4];                                        // 0.�szak 1.nyugat 2.d�l 3.kelet
    public int getWidth() {
         return width;
    public int getHeight() {
         return height;
    public void init() {
         int i, j, k;
         for (i = 0; i < height; i++) for (j = 0; j < width; j++) mazeJoUt[j] = 0;
         for (i = 0; i < height; i++) for (j = 0; j < width; j++) mazeHonnan[j][i] = "Semmi";
         for (i = 0; i < height; i++) for (j = 0; j < width; j++) for (k = 0; k < 4; k++)mazeFalak[j][i][k] = true;
         mazeJoUt[0][0] = 1;
         mazeHonnan[0][0] = "Nyugat";
         mazeFalak[0][0][3] = false;
    public void createRoad() {
         int coordX = 0, coordY = 0;
         int szam;
         int sor = 3;                                                                           // sor a j� �t k�vet�s�re
         boolean ok = true;
         boolean kesz = false;
         Random randi = new Random();
         szam = randi.nextInt(2);                                                            // Az els&#337; utat a cikluson k�v�l kell meghat�rozni
         if (szam == 0) {                                                                                          // 0 eset�n d�lnek indulunk
         mazeFalak[0][0][2] = false;
         mazeFalak[0][1][0] = false;
         coordY++;
         mazeHonnan[0][1] = "Eszak";
         mazeJoUt[0][1] = 2;
         } else {                                                                                                    // 1 eset�n pedig keletnek
         mazeFalak[0][0][1] = false;
         mazeFalak[1][0][3] = false;
         coordX++;
         mazeHonnan[1][0] = "Nyugat";
         mazeJoUt[1][0] = 2;
         while(ok){
         int i,j;
         System.out.println("("+coordX+","+coordY+")");
         System.out.println(mazeHonnan[coordX][coordY]);
         for (j = 0; j < getHeight(); j++) {
              for (i = 0; i < getWidth(); i++) System.out.print(mazeJoUt[i][j]);
              System.out.println();
         System.out.println();
         if (coordX == getWidth()-1 && coordY == 0) for (j = 0; j < getHeight(); j++) {
              for (i = 0; i < getWidth(); i++) System.out.print(mazeHonnan[i][j]+ " ");
              System.out.println();
         int tempX = coordX, tempY = coordY;
         boolean eszak = true, del = true, kelet = true, nyugat = true;
         if (tempX == 0) nyugat = false; else
         if (tempX > 0 && !mazeHonnan[tempX-1][tempY].equals("Semmi")) nyugat = false;
         if (tempX == getWidth()-1) kelet = false; else
         if (tempX < getWidth()-1 && !mazeHonnan[tempX+1][tempY].equals("Semmi")) kelet = false;
         if (tempY == 0) eszak = false; else
         if (tempY > 0 && !mazeHonnan[tempX][tempY-1].equals("Semmi")) eszak = false;
         if (tempY == getHeight()-1) del = false; else
         if (tempX < getHeight()-1 && !mazeHonnan[tempX][tempY+1].equals("Semmi")) del = false;
         if (!(eszak || del || kelet || nyugat)) {
              System.out.println("Beragadtam!");
              if (!kesz) mazeJoUt[tempX][tempY] = 0;                                                                 // Beragadtunk, teh�t t�r�lj�k mint j� utat
              sor--;
              if (sor == 0) sor = 9;
              if (mazeHonnan[tempX][tempY].equals("Eszak")) tempY--;
                   else if (mazeHonnan[tempX][tempY].equals("Kelet")) tempX++;
                   else if (mazeHonnan[tempX][tempY].equals("Del")) tempY++;
                   else if (mazeHonnan[tempX][tempY].equals("Nyugat")) tempX--;
         }     else {                                                                                                         // beragad�s v�ge
              boolean joszam = false;                                                                      // Ha nem ragadtunk be, akkor keres�nk egy ir�nyt
              while (!joszam) {
              szam = randi.nextInt(4);
              //System.out.println(szam);
              switch (szam) {
                   case 0 : if (tempY > 0) { if (mazeHonnan[tempX][tempY-1].equals("Semmi")) {
                   mazeFalak[tempX][tempY][szam] = false; tempY--;                              // Ki�tj�k az adott ir�nyba a falat
                   mazeHonnan[tempX][tempY] = "Del";                                                  // Az �J helyen be�ll�tjuk, hogy honnan j�tt�nk
                   mazeFalak[tempX][tempY][2] = false; joszam = true;                         // Az �j helyen is ki�tj�k ugyanazt a falat
                   }} break;
                   case 1 : if (tempX < getWidth()-1) { if (mazeHonnan[tempX+1][tempY].equals("Semmi")) {
                   mazeFalak[tempX][tempY][szam] = false; tempX++;
                   mazeHonnan[tempX][tempY] = "Nyugat";
                   mazeFalak[tempX][tempY][3] = false; joszam = true;
                   }} break;
                   case 2 : if (tempY < getHeight()-1) { if (mazeHonnan[tempX][tempY+1].equals("Semmi")) {
                   mazeFalak[tempX][tempY][szam] = false; tempY++;
                   mazeHonnan[tempX][tempY] = "Eszak";
                   mazeFalak[tempX][tempY][0] = false; joszam = true;
                   }} break;
                   case 3 : if (tempX > 0) { if (mazeHonnan[tempX-1][tempY].equals("Semmi")) {
                   mazeFalak[tempX][tempY][szam] = false; tempX--;
                   mazeHonnan[tempX][tempY] = "Kelet";
                   mazeFalak[tempX][tempY][1] = false; joszam = true;
                   }} break;
              }                         //while joszam v�ge
              System.out.println("Haladunk");
              if (!kesz) mazeJoUt[tempX][tempY] = sor;                                             // Felt�telezz�k, hogy j� uton j�runk, ha nem ld. fenn
              if (tempX == getWidth()-1 && tempY == getHeight()-1) kesz = true;
              sor++;
              if (sor == 10) sor = 1;
         }                    // nem beragadt v�ge
              coordX = tempX;
              coordY = tempY;
              if (coordX == 0 && coordY == 0) ok = false;                                                  // Ha visszajutunk a starthelyhez, k�sz vagyunk
         }                    // while v�ge
         System.out.println("A ciklusnak vege");
    }                         // createRoad v�ge
    public static void main(String argv[]) {
         BufferedReader beolvas = new BufferedReader(new InputStreamReader(System.in));
         boolean ok = false;
         int magas = 0, hosszu = 0;
         while (!ok) {
         try {
              System.out.print("Please type in the height: ");
              magas = Integer.parseInt(beolvas.readLine());
              ok = true;
         } catch (Exception e) {System.out.println("Wrong format!");}
         ok = false;
         while (!ok) {
         try {
              System.out.print("Please type in the width: ");
              hosszu = Integer.parseInt(beolvas.readLine());
              ok = true;
         } catch (Exception e) {System.out.println("Wrong format!");}
         Maze myMaze = new Maze(magas, hosszu);
         myMaze.init();
         myMaze.createRoad();

  • Help with Program creation that deletes deliveries by using VL02

    Hi,
    Can anyone guide me on creating a program based on the following requirement:
    Select-Options: Sales Org, Distribution Channel, Customer
    Read data from KNVV where Sales Org = <input from selection screen>
    Based on the data read, find the said documents with delivery type LO in table LIKP.
    For each document found, delete the documents by processing VL02 (background)
    How can I create this? <b>Are any BAPI's available to do this?</b>
    Here is the code that i have so far:
    TABLES: KNVV.
    DATA: I_KNVV LIKE KNVV OCCURS 0 WITH HEADER LINE,
          I_LIKP LIKE LIKP OCCURS 0 WITH HEADER LINE.
    SELECT-OPTIONS: S_VKORG FOR KNVV-VKORG,
                    S_VTWEG FOR KNVV-VTWEG,
                    S_KUNNR FOR KNVV-KUNNR.
    SELECT * INTO TABLE I_KNVV FROM KNVV
    WHERE VKORG IN S_VKORG AND
          VTWEG IN S_VTWEG AND
          KUNNR IN S_KUNNR.
    SELECT * INTO TABLE I_LIKP FROM LIKP
    FOR ALL ENTRIES IN I_KNVV
    WHERE VKORG = I_KNVV-VKORG
    AND LFART = 'LO'.
    All Detailed answers will be rewarded and greatly appreciated.
    Thanks,
    John

    I wrote simple program and test it ur system..
    I have tested in 4.6C Version.
    REPORT ZVBPA_MOD.
    TABLES: KNVV.
    data : bdcdata like bdcdata occurs 0 with header line.
    DATA: I_KNVV LIKE KNVV OCCURS 0 WITH HEADER LINE,
    I_LIKP LIKE LIKP OCCURS 0 WITH HEADER LINE.
    SELECT-OPTIONS: S_VKORG FOR KNVV-VKORG,
    S_VTWEG FOR KNVV-VTWEG,
    S_KUNNR FOR KNVV-KUNNR.
    start-of-selection.
    SELECT * INTO TABLE I_KNVV FROM KNVV
    WHERE VKORG IN S_VKORG AND
    VTWEG IN S_VTWEG AND
    KUNNR IN S_KUNNR.
    SELECT * INTO TABLE I_LIKP FROM LIKP
    FOR ALL ENTRIES IN I_KNVV
    WHERE VKORG = I_KNVV-VKORG
    AND KUNNR = I_KNVV-KUNNR
    AND LFART = 'LO'.
    loop at I_LIKP.
    perform bdc_dynpro      using 'SAPMV50A' '0101'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LIKP-VBELN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LIKP-VBELN'
                                  I_LIKP-vbeln.
    perform bdc_dynpro      using 'SAPMV50A' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/ELOES'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LIKP-VBELN'.
    call transaction 'VL02' using bdcdata
                               mode 'N'
                               update 'S'.
    ENDLOOP.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
    ENDFORM.

  • Help with Calendar creation

    Hi guys/gals
    just working my way through the php calendar generation
    script in the adobe blog ref
    http://www.adobe.com/devnet/dreamweaver/articles/php_blog3_03.html
    but I get an unexpected } and , although I can see that there
    are too many, I don't know if I should have another { or delete the
    }... if that makes sense.
    The code is
    <table width="100%" border="1" cellspacing="0"
    cellpadding="0">
    <!--DWLayoutTable-->
    <tr>
    <td width="736"> </td>
    </tr>
    <tr>
    <td height="16" valign="top"><?php function
    build_calendar($month,$year,$day) {
    $daysOfWeek = array('Su','Mo','Tu','We','Th','Fr','Sa');
    $firstDayOfMonth = mktime (0,0,0,$month,1,$year);
    $noDays = date('t',$firstDayOfMonth);
    $dateComponents = getdate($firstDayOfMonth);
    $dayOfWeek = $dateComponents['wday'];
    $monthName = date('F',mktime(0,0,0,$month,1,$year));
    return $calendar;}
    if($month == 1) {
    $mn=12;
    $yn=$year-1;
    else {
    $mn=$month-1;
    $yn=$year;
    if($month == 12) {
    $mn2=1;
    $yn2=$year+1;
    else {
    $mn2=$month+1;
    $yn2=$year;
    $calendar = "<table>";
    $calendar .= "<tr><td><a
    href=day.php?m=$mn&y=$yn&d=$day><</a></td>";
    $calendar .="<td colspan=5 align=center>$monthName,
    $year</td>";
    $calendar .="<td><a
    href=day.php?m=$mn2&y=$yn2&d=$day>></a></td></tr>";
    $calendar .="<tr>";
    foreach($daysOfWeek as $day) { $calendar .=
    "<td>$day</td>"; }
    $calendar .= "</tr>";
    $calendar .= "<tr>";
    $currentDay = 1;
    if ($dayOfWeek > 0) { $calendar .= "<td
    colspan='$dayOfWeek'> </td>"; }
    while ($currentDay <= $noDays) {
    if ($dayOfWeek == 7) {
    $dayOfWeek = 0;
    $calendar .= "</tr><tr>";
    $calendar .= "<td>$currentDay</td>";
    $currentDay++;
    $dayOfWeek++;
    PROBLEM>>>>> }
    if ($dayOfWeek != 7) {
    $remainingDays = 7 - $dayOfWeek;
    $calendar .= "<td colspan='$remainingDays'>
    </td>";
    $calendar .= "</table>";
    echo build_calendar($month,$year,$day);
    ?></td>
    </tr>
    </table>
    Has anyone else used this tutorial?

    Select the font in the calendar and open Font Book and vailidate the font.
    Font Book
    Also, a further option is to use another font.

Maybe you are looking for

  • Cannot open Adobe Acrobat Pro 9 in Windows Vista

    I can no longer open my Adobe or use it in any way. All of my other CS4 programs operate fine, and this is not a licensing issue. A little Microsoft Window pops up and says that Adobe Acrobat 9.1 has stopped working. It will shut down and contact me

  • Building dynamic columns in BO Report (BO 4.0)

    Hi All To start with I am new to BO and using reporting tool I have a requirement to create a WEBI report which contain a table with a feature to hide / remove columns based on input selection. ( dynamic columns) I tried to do this by following conce

  • Adobe Forms:"No layout exists in original language"

    Hi All, when I try to activate the adobe form after designing the form in layout, getting an error "No layout exists in original  language EN", so please help out to resolve this issue. Thank you Lalitkumar.

  • Need to knowe Latest SAP HR Certification

    Hi Experts, I m planing to take up a HR certification with in few months so i need ur suggestions: i) which version i should take and also ii)what are the various SAP HR version Thanks, Ashok

  • Foxpro drivers for XI

    Hi We have a requirement to extract/write the data from/to Foxpro System using XI. Can anyone suggest how to approach this? JDBC Drivers for Foxpro? XI Supported with Foxpro? Thanks in advance. Regards Chandu