How to make a slide-out pane?

Hi forum,
who can help me again? ;)
This is an example: http://docs.oracle.com/javafx/1.3/howto/Slideout-Panel-Tutorial.html
Edited by: 899956 on 2-dic-2011 6.53
Edited by: 899956 on 2-dic-2011 6.54

To do this, create a layout node of your choice, place your content in it and then use translates in transitions to animate the layout on and off your window.
You can look here for an example: https://gist.github.com/1437374

Similar Messages

  • I am using photos . I add a camera and make my photos slide in.  How do I add a second behavior to the photo to make it slide out.  I want the photo to hold on the screen for a few seconds in between sliding in and sliding out.

    I am using photos in Motion 5.  I add a camera and make my photo slide in.  How do i add a second behavior to the photo to make it slide out?  I want the photo to hold for a few seconds in between sliding in and sliding out.  When I am trying to do this  I am not getting the photo to hold, i am making one continuous motion which I do not want.
    Thanks

    Are you using the "motion path" behavior? If so just duplicate it and drag it down the timeline to where you want it to start. Trim it to end at the end of the project. The gap you leave in the timeline between the two behaviors is your hold time. Not sure why you are using a camera unless you have a behavior on the camera.If you are using keyframes just set two keyframes at the same position values in the inspector for the hold time.

  • How to make a slide bar that controls opacity

    I'm trying to figure out how to make a slide bar that would control opacity. If I were to take to pictures on top of each other, the slide bar would control the opasity of the top image. Thanks

    can you make a slider that controls anything?  if so, what's the range you can control?
    ie, when the slider is at one extreme it causes some object to have value1 and when it's at the other extreme the object has value2.  what value1, value2 can you handle?

  • How to make a snapshot out of a movie file?

    How to make a snapshot out of a movie file and integrate this snapshot into the movie? Thanks, Wolfgang

    Either you use the Hold function from the Retiming popup or you export an image and reimport it.

  • Slide duration - How to make one slide have a different duration to another slide?

    Slide duration - How to make one slide have a different duration to another slide?
    EG So one slide has 2 seconds, another 4 another 6
    All I can see is how to make all slides have the same duration
    Any help very much appreciated!
    Brian

    Slide durations are not changeable on a slide-by-slide basis.

  • How to make a key out of this data?

    Since no one replied to my last post, I'll give it another try. From an RTSP server I get two values, a key called rsaaeskey (342 bytes, without the line breaks):
      yxKBocBgTii20n9nbKfYGyGhPqtosXuq8M99yU5/PzTVNmIUsUGlpD27u
      cqN8eNFvmaO7cFVXeaMGaCfI5V+YNrd77xGQ+CUE0XFraXUvp4cF4aX1L
      ZOGe38nwX3Ba+4bQFfjmYgz3ObRuOWlw9KCi4CMP5574F+CIvutVAwtAC
      PiDFF7nVcoaBTr2QbSUile0Zs3Hyxjn9PWVaey9Nu2DgJZ8rtw6F2SkQ7
      NDHBjjUKXNIeCAeBFuV4XNiazvi3gWa4VbgITtD9jcm+7nPMAK0oBL1S3
      K3Z6FK7XVnfehYYJjRw7THMZzSvq7FtLB9QgulqQTJ3awJdwS0ACb1FkAand an initialization vector called aesiv (22 bytes):
      zcZmAZtqh7uGcEwPXk0QeAThe data is obviously Base64 encoded. However, after decoding I don't know how to make a key out of it. Trying KeyFactory's generatePublic and generatePrivate methods result in an InvalidKeySpecException with any algorithm I've tried (RSA, DSA, DH).
    I think this is a multi-prime RAS secret key (someone said they're 342 bytes long), but how do I generate a Java Key out of it?

    The rsaaeskey, decoded to binary, is a binary array of 256 bytes. Using the DUMPASN1 tool we see that the bytes are not in ASN.1 BER or DER encoding.
    C> openssl enc -base64 -d -in rsaaeskey.base64 -out test.bin
    C> dumpasn1 rsaaeskey.bin
       0 CB   18: [PRIVATE 11]
                :   81 A1 C0 60 4E 28 B6 D2 7F 67 6C A7 D8 1B 21 A1
                :   3E ABIf it were encoded in ASN.1 BER or DER encoding it will start as a "SEQUENCE" or a "SET", not as an unrecognized data.
    You need to check the exact specification of the protocol. (Are you using TSP - RFC 3161, or RTSP - RFC 2326?)

  • How to make Navigation and Topic panes scroll independently?

    Can anyone suggest how to make the default Multiscreen HTML layout navigation and topic panes to scroll independently, to accomidate a long index or TOC? Currently, scrolling toward the end of the index, for example, causes the topic pane to scroll also. Selecting an index entry scrolls the topic to the location of the appropriate content, but also scroll the index, taking the selected entry out of view. I would like independent scrolling of nav pane and topic panes.
    I'm using RoboHelp HTML 10, FrameMaker 11, TCS4.
    Thanks you.

    Your post has been moved to the Multiscreen forum. That does not change the link.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to make the slider longer?

    Hi,
    I want to add a slider in my code, but the slider is too short to choose the number.
    Could anyone tell me how to make it? Thank you!
    The following is my code.
    slider1.setMin(0);
    slider1.setMax(100);
    slider1.setValue(10);
    slider1.setShowTickLabels(true);
    slider1.setShowTickMarks(true);
    slider1.setMajorTickUnit(10);
    slider1.setMinorTickCount(10);
    slider1.setBlockIncrement(1);
    slider1.setLayoutX(50);
    slider1.setLayoutY(20);

    This seems fine to me. Can you explain more what the problem is you are seeing? If you want the slider to be longer, you can manually size it (set the prefWidth, as in the following example). If that is indeed the problem, then I would suggest you look into one of the layout panes shipped with the platform which will help with making sure it is resized as you would expect.
    import javafx.application.Application;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Slider;
    import javafx.stage.Stage;
    * @author Richard
    public class ShortSlider extends Application {
         * @param args the command line arguments
        public static void main(String[] args) {
            Application.launch(args);
        @Override
        public void start(Stage primaryStage) {
            primaryStage.setTitle("Hello World");
            Group root = new Group();
            Scene scene = new Scene(root, 300, 250);
            Slider slider1 = new Slider();
            slider1.setMin(0);
            slider1.setMax(100);
            slider1.setValue(10);
            slider1.setShowTickLabels(true);
            slider1.setShowTickMarks(true);
            slider1.setMajorTickUnit(10);
            slider1.setMinorTickCount(10);
            slider1.setBlockIncrement(1);
            slider1.setLayoutX(50);
            slider1.setLayoutY(20);
            slider1.setPrefWidth(400);
            root.getChildren().add(slider1);
            primaryStage.setScene(scene);
            primaryStage.show();
    }

  • How to make a stationery out of .doc or .docx file?

    Hi,
    I stumbled upon a website that has some nice stationery, in .doc format. and since there few free pre made stationery available for Mail.app, at least to my knowledge, because I think I almost downloaded every free stationery available out there that could be easily found via Google. I decided to download some of these .doc stationeries and try to put them in Mail.app, but first I had to convert them into .html format. so here is what I've already tried and did not work:
    first I tried opening them in TextEdit, which supports .doc out of the box, only to find out that the pictures in the documents are gone to thin air. I tried saving it and then opening it with something else like Open Office, but the pictures were permanently gone.
    then I tried opening the original documents directly in Open Office, you guessed right If you said they will look screwed, and they were, and tried to save them as html, they were screwed even more.
    so I did a bit of research and found out that I could use Google Docs in order to convert the documents, I uploaded them into my Google docs and then tried to open them with it, but found it that Google docs can't handle the pictures (specially background pictures) either. as a result I did more searching to find a document converter and here is what I found:
    I found a few online service to convert these documents:
    http://www.freefileconvert.com/ was pretty good to convert the files into an .odt format. at first I thought yes I got the solution, now I can simply convert it to html using Open Office, but unfortunately, when I saved the document in html format and checked it in Safari to see how does it look, as If I would have done the same in MS Office with the original format, it looked pretty much screwed .
    So I continued to look and I found a few other online services one of them asked me to pay a fee, I skipped to the other one which was http://docx-converter.com/. unfortunately the website wasn't functioning properly I think, at least for me (maybe someone out there has succeeded using it, I don't know.) and it didn't send me anything.
    Finally I found http://www.zamzar.com/ that could convert .doc or .docx documents into html, or at least that is what it claims to do so, I tried it, and after I received the file via email, I found out it only contains a bmp image of the document's background. So much for the online conversion services!
    But I decided I would give it a last shot using MS Office online, so I opened up my old Windows Live mail and went into my Skydrive, I uploaded the documents and tried saving it as html, but there were no save as html (after all an online copy of MS Office should have some limitations, otherwise few people will be willing to buy a Desktop version) but this didn't made me disappointed, since I already knew, that Neither Office Word can make a clear conversion, so I tried something different, while I was in Safari looking at the document in online MS office, I saved the page as Web Archives, then I opened the file with TextEdit, and after deleting useless links and pictures, I finally managed to get a clear document with everything that supposed to be in it. At this point I only need to know how to make use of this document to create a stationery with this raw file which is in Web Archive format. any ideas?
    null

    I'm a total idiot! How did I overlook http://www.zamzar.com/ functions? I think I might have mistakenly chosen convert to BMP instead of html. I tried it and the result was very good.
    OK I finally found a good solution for this problem, so everyone out there that has the same problem, here is what I did:
    1. OK if you have some .doc and .docx file formats and you want to convert them into something like .html or .odt, without having to reedit the code or getting a screwed document, use http://www.freefileconvert.com/ in order to convert them into .odt so they would look as they do in MS office just go to the website and upload your documents then choose .odt, then click convert, after a few moments you will get a link to download your .odt files. you can use and play around with your document in Open Office, I have tested it and it's really good.
    2. Or if you want to convert them into .html with a clean code, and all the elements in it, simply go to http://www.zamzar.com/ and then ulpoad your documents, choose .html and enter your email address, you will have your .html files zipped and sent right in your inbox, then you could use Kompozer like me, or any other html editor, to make a template out of it. I tried it and the result was nice, now I have a bunch of nice html files that I can use to make templates and email stationery.

  • How to make a slide show or edition including mpeg and other formats

    Hi,
    I am i bit puzzled by the use of iphoto/imovie/itunes.
    I have a Sony camera which generates jpg photos and mpg videos; besides, i have 3gp and mp4 videos from cell phones.
    Firstly, i imported all of them to iphoto. I used a automator workflow to help importing from hotsynced Palm centro files, to discover the first problem with the 3gp files: they could not be iported by workflows.
    Still, they could be seen in iphoto, but then i tried to make a slide show. My idea was to put the photos and videos of a certain event to be watched together, or at least to be able to watch the videos in a sequence, without having to click on each one.
    I didnt get it in iphoto, so i switched to imovie. it was even worse, since it cannot import the mpgs and the 3gps (the jpg photos were ok). What could i do about that? is there any converter or other way?
    then i tried the itunes, and it was the opposite: it imported and played in sequence the mpg videos, but not the photos. This is a workaround anyway, since the program expects to play movies, and makes my daughter a "star", but that`s ok, she is one to me.
    i'll be thankful for hints on how to make the imovie compatible with the 3gp and mpgs, or finding some way to do this edition in iphoto or even with itunes.
    regards

    I see, it sounds reasonable , i think i will buy the pro and try.
    QT Pro ($30) and MPEG Streamclip (free) complement each other. In many cases one can do things that the other cannot. For instance, MPEG Stramclip can handle/edit multiplexed formats while QT Pro cannot. QT Pro allows layering of data tracks while Streamclip does not. Streamclip merges file streams more easily than QT Pro but QT Pro allows the "Movie to MPEG-4" export to "passthrough" the video while Streamsclip does not. And so on and so forth...
    I was referring to the mpegs from the Sony camera, of which a have hundreds, shot in the last 3 or 4 years, mainly from my 5-year old daughter. Is the above true to these?
    That still doesn't help. By "sony camera," are you referring to a still digital camera (multiplexed MPEG-1) or a Sony video camcorder taking MPEG-4/AVCHD with AC3 audio in an MPEG wrapper, a Sony DVD/HDD camera storing some kind of MPEG-2/AC3 files. On a Mac, the extension MPG normally refers multiplexed MPEG-1 (or MPEG-1 audio layer) files while MPEG normally refers to multiplexed MPEG-2 video content with MPEG-1, layer 2 audio (MPEG2/MP2) but may also refer to files with MP3 or AC3 files in an MPEG, VOB, or TS wrapper. In addition it may loosely refer to elementary M2V video streams (M2V video file paired with a separate AIFF or AC3 file), a standard MPEG4/AAC file (in an MOV or MP4 wrapper) or a standard H.264/AAC file in MOV, MP4, or M4V wrapper). Since the handling, conversion, editing requirements vary with each type of file, it becomes important to what specific kind of content/file container we are dealing with here.

  • How to make my SLIDER control the movement of animations: ( fast & slow)

    hello!
    i wanna do water dropping animations. using a slider, to controlled how fast and slow the animations can be.
    please help me!!!

    I need help about controlling my animations with slider.
    I already know about slider & water dropping animations, but how to make this 2 things interract.
    Right now i have slider and water dropping animations, but when i scroll my slider up and down, my animations still with the same speed.
    In my opinion, i think, i need to make one func/method that take var from slider and transfer it to water dropping var(controlling the speed of anim...).
    eg: (coding)
    //class bla...bla...bla...
    JLabel sliderValue = new JLabel("Value = 25"); // slider var
    JSlider sliders = new JSlider(JSlider.VERTICAL, 0, 50, 25);
    WaterDropPanel drop = new WaterDropPanel(); // waterdropclass
    JButton start = new JButton("Start"); // start anim...
    JButton stop = new JButton("Stop"); // stop anim...
    //waterdrop class...
    class BulatanPanel extends JPanel implements Runnable
    private Thread runner;
    int yPos = -20;
    int yMove = 4;
    void playAnimation()
    if (runner == null);
    runner = new Thread(this);
    runner.start();
    void stopAnimation()
    if (runner != null);
    runner = null;
    public void run()
    Thread thisThread = Thread.currentThread();
    while (runner == thisThread)
    yPos += yMove;
         if (yPos > 310)
         yPos = -20;
    repaint();
    try
    Thread.sleep(10); // var controlling the speed of anim...
         catch (InterruptedException e) {}
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D)comp;
    comp2D.setColor(Color.black);
    comp2D.fillRect(0, 0, 250, 240);
         comp2D.setColor(Color.red);
    comp2D.fillOval(110, yPos, 20, 20);
    // slider event handling... ( In my constructor)
    public void stateChanged(ChangeEvent e)
    sliderValue.setText("Value = " + ((JSlider) e.getSource()).getValue());
    I'M SORRY IF ITS TOO LONG

  • Video Answer to "How to make 3D Video out of regular 2D Video"

    Didn't know how to do that and asked here this question 2 month ago - Is it possible to make 3D video out of regular 2D video file to watch further on my iPod. So I came across an answer to this on ...Youtube!
    Here are two video screencasts I found to progs that can do such thing, So I've tried and now enjoy my movies in 3D on iPod.
    If you're interested then deffo check them out:
    http://www.youtube.com/watch?v=lUYT-c5leSU
    http://www.youtube.com/watch?v=_TxRMGUwGS0

    follow advice given in this User Tip
                     How can I make a still frame from iMovie 11? (also works in iMovie 10)

  • Scripting Bridge and Powerpoint, how to make new slide?

    I know how to make a new slide in an active presentation in Powerpoint. It works like this:
    tell application "Microsoft PowerPoint"
    set newSlideC to make new slide at before slide 2 of active presentation ¬
    with properties {layout:slide layout media clip and text}
    end tell
    (I stole this snippet from http://www.mactech.com/vba-transition-guide/index-094.html)
    Now I would like to do the same via Scripting Bridge in my Cocoa app.
    But I seem to be unable to find the appropriate classes, objects, methods, or properties in Powerpoint.h
    (which I created with this command:
    sdef /Applications/Microsoft\ Office\ 2008/Microsoft\ PowerPoint.app | sdp -fh --basename Powerpoint
    According to Script Editor's dictionary of Powerpoint, the "make" command is in the 'Standard Suite'.
    But I have no idea how to find it's defintion, let alone how to use it from my Cocoa application.
    Could somebody please give a hint to me?
    Since I'm not (yet) subscribed to the applescript-users mailing list, I am taking the liberty to post my question here.
    Thanks a lot in advance.
    Best regards,
    Gabriel.

    Hello
    You need to alloc and init to make an object instance in Scripting Bridge.
    See the following documents.
    Scripting Bridge Programming Guide for Cocoa
    http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ScriptingB ridgeConcepts/
    Scripting Bridge Framework Reference
    http://developer.apple.com/mac/library/documentation/ScriptingAutomation/Referen ce/ScriptingBridgeFramework/
    Some sample codes
    http://developer.apple.com/mac/library/samplecode/SBSendEmail/
    http://developer.apple.com/mac/library/samplecode/SBSetFinderComment/
    http://developer.apple.com/mac/library/samplecode/ScriptingBridgeFinder/
    http://developer.apple.com/mac/library/samplecode/ScriptingBridgeiCal
    As for your example, code would be something like this.
    NOT TESTED AT ALL. AND PROBABLY IT'S WRONG IN PARTS.
    Just for showing the outline, hopefully.
    PowerPointApplication *powerpoint = [SBApplication applicationWithBundleIdentifier:@"com.microsoft.powerpoint"];
    [powerpoint activate];
    PowerPointSlide *s = [[[powerpoint classForScriptingClass:@"slide"] alloc]
    initWithProperties:
    [NSDictionary dictionaryWithObjectsAndKeys:
    @"slideLayoutMediaClipAndText", @"layout",
    nil]];
    [[powerpoint.activePresentation slides] insertObject:s atArrangedObjectIndex:0];
    Good luck,
    H
    Message was edited by: Hiroto (fixed typo)

  • How to make a gif out of a movie clip?

    So yeah... I'm an idiot when it comes to these things.
    How do I go about doing a gif of a small video?
    And... Could you do the explanation in a step by step guide please. Thanks

    Video to GIF | free Video to GIF Generator on Make A GIF
    Animated GIF Generator - Imgflip
    How to Make an Animated GIF from a Video in Photoshop CS5
    The Complete Guide to Making Animated GIFs - Lifehacker
    Giflike - Create a gif from YouTube, video or images
    GIF Maker From Videos. Create Awesome Gif Animations ...
    Bloggif : Convert video to animated GIF for free

  • How to make a "Program" out of my .java files?

    I have made a little application that stores a file to disk. Is there someway to make a file out of my .java files so it can be run without opening my editor and choosing run?

    sorry I didn't check that, I can now run the jar command.
    But even though I can create a .jar file I get an error. I have followed the guide that says I need to add the applications Entry point.
    I have two classes:
    saveDates.class //contains the main method
    UserInput.claa // Parsing of user input
    When I create the jar file I type:
    jar cfe saveDates.jar SaveDates SaveDates.class UserInput.class
    But when I try to run it like:
    java -jar saveDates.jar
    I get the error:
    C:\workspace\dato>java -jar saveDates.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: SaveDates$1
    at SaveDates.main(SaveDates.java:89)
    C:\workspace\dato>
    Do I need to change the main method someway?

Maybe you are looking for

  • Problem while creating Data connection In ABAP......

    Hi Experts,     I am tryning to create a adobe form in which i need to create a data connection using a WSDL file. But i am coing across the problem as cannot find the path of th url. i tried to create the WSDL in 2 ways and i came across the same er

  • New Features for UPK with PeopleTools 8.53 and PeopleSoft 9.2

    Hello, does anyone know, where I can find information about the effect or new features PeopleTools 8.53 and PeopleSoft 9.2 have especially for UPK 11.0.0? I've searched a lot, but couldn't find any information of new features or changed integration o

  • IPhoto cannot play the videos that i uploaded from my iPhone 4s

    I just bought a Macbook pro and loaded my videos from my iPhone 4s to iPhoto but I get an error message that quicktime cannot play the .mov Any help is appreciated

  • My keyboard is no longer lit

    Just noticed that my keyboard is no longer backlit and being somewhat new to the Mac scene, I am not sure if there is a setting I may have toggled or if it just died.  I have looked under system preferences and only thing I find there is "Adjusy keyb

  • Where's the templates?

    So I just installed iDVD6 on my computer and went to burn a DVD and I don't see any of the templates that were in previous versions of iDVD. Actually I didnt see anything that was "NEW" in my opinion. Are they somewhere else inside iDVD6?