Resize and hide a movie with JavaScript Fonctions

Hello,
I've read your topic about JavaScript Scripting Guide for QuickTime and I want to know if there is a solution for to rezise and to hide movie with JavaScript fonctions.
Thank in advance

It is very strange, most users who have focus on JS try to do everything with it, whereas lot of simple actions can easily be done with advanced/shared actions. I will only go to JS when it is not possible with advanced/shared actions.
You are lucky, I was just restarting to work on an advanced training for next week when your question showed up.

Similar Messages

  • My new photoshop Elements 11 opens off centered and won't move with my cursor (on a MacBook )why?

    My new photoshop Elements 11 opens off centered and won't move with my cursor (on a MacBook )why?

    Try deleting/renaming 'psa.prf' and 'status.dat' file from '~/library/Application Support/Adobe/Elements Organizer/11.0/Organizer'.
    ~Andromeda

  • How to resize and email short movies from iPhoto 08

    Hi all,
    I've just switched from PC to Mac. With PC i used to use ACDSee as my picture and short movie editor.
    Similarly on Mac i have downloaded pictures and short movies to iPhoto. Where with pictures I have no trouble resizing and emailing, I can not resize and email my short movies. I have browsed trough number of forums but can not find anything on resizing and emailing movies from iPhoto.
    Trouble if using iMovies is that I have both photos and movies on the camera and when transferring it will take time to sort them.
    If someone knows an easy or even hard way around this problem please help.?

    Welcome to the Apple Discussions.
    iPhoto will not edit the Movies in any way.
    You can easily find all the Movies in your library.
    File -> New Smart Album
    Keyword -> Is -> movie
    as each movie is automatically given a 'movie' keyword on import.
    iMovie will them show that Smart Album in it's media browser, so finding them from it is easy.
    Regards
    TD

  • Ho can I encrypt my internet traffic and hide my IP with Firefox/ Tor Browser Bundle?

    Apparently Firefox and Tor can help me with this but how?
    I get a lot of technical answers when I Google these questions. I figured out I need to download the Tor Browser Bundle but when I look for support I get here, to the Mozilla Support Forum. Im confused? Being 50 years old and living in Africa means I did not have the same exposure to technology than people in first world countries did at my age.
    My Google AND bank account was hacked which my my life hell. I took better precautions and would like to encrypt my traffic and hide my IP address now but it is so complex and technical :-(

    I personally would never trust an anonymous proxy to do any financial or bank traffic or even access a website that need authentication (log in) because you set up a connection to such a proxy and the proxy set up the connection to the website or another proxy if multiple proxies are chained.
    *http://en.wikipedia.org/wiki/Proxy_server
    Using a proxy won't help if your computer is infected with malware or if you use weak passwords that can be guessed or found via a dictionary look up or via phishing attempts.
    *https://support.mozilla.org/kb/Choosing+More+Secure+Passwords
    Everything starts with a clean computer and being cautious with installing software or clicking links in an e-mail and regularly doing checks for malware.
    You can do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How can I hide a button with javascript in Captivate 8?

    I need to run some javascript in my project and at the same time I want to hide a button, so I can't use advanced actions.

    It is very strange, most users who have focus on JS try to do everything with it, whereas lot of simple actions can easily be done with advanced/shared actions. I will only go to JS when it is not possible with advanced/shared actions.
    You are lucky, I was just restarting to work on an advanced training for next week when your question showed up.

  • Controlling captivate movie with JavaScript

    Hi,
    I am trying to use Flash methods to control a captivate movie
    using procedures documented in the support center article:
    http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03. html
    I am using the following code in a JavaScript:
    var movie = window.document.Captivate1;
    movie.StopPlay();
    Captivate1 is the object ID assigned by Captivate when it
    generates the HTML file. The movie does not respond to the command.
    I have created my own Flash movie and the StopPlay command
    works with it.
    Thanks in advance for any help anybody can provide!

    Captivate SWFs don't respond like other Flash movies. You can
    use similar techniques, but must use some specific, legacy "control
    variables" that are hanging around since the RoboDemo days:
    To pause a movie, use rdcmndPause = 1;
    A good place to find more details is here:
    http://www.raisingaimee.co.uk/index.php?option=com_content&task=view&id=27&Itemid=29

  • Change Movie with JavaScript

    Hi,
    I have a Flash Media Server that is serving about 10
    different video clips on demand. I have player that's embedded into
    a web page which streams one of those clips. I'd like to be able to
    click on a button and have Javascript interact with the player so
    it loads and streams a new movie based on parameters passed to it.
    My movie loads using the AC_FL_RunContent() class in
    AC_RunActiveContent.js which was generated when I published my .swf
    file for the web.
    How can I use Javascript to access those parameters so that
    when a user clicks a button the player gets updated with a
    different stream from the server?
    Thanks in advance for the advice, kind words and heckles for
    the newbie.
    Jon

    Hi,
    Try this.
    this.assist.toolTip.value = "Hi from Avoka";
    Regards
    Philip

  • Hide/Show layers with Javascript

    Hello,
    I am trying to find a Javascript method for hiding/showing layers in a pdf document. I would like to be able to use an if/else statement to set the visibility of multiple layers.
    Let's say I have 5 layers on a single page, all set to hidden by default. This page also has a field with 5 options relating to each of the 5 layers. Once an option is selected, an if/else will use this method to set the appropriate layer to visible.
    Thank you!

    Here is another way to satisfy your layer requirements in PDF.
    1. Create a Field (type: button) for each layer. Suppose the five “layers” are called “LayerButton1”, “LayerButton2”, “LayerButton3”, “LayerButton4”, and “LayerButton5” (using Acrobat Professional or using the doc.addField API).
    2. Store an image for each layer (using Acrobat Professional or using the buttonSetIcon API).
    3. Position each button on the page anywhere you want (using the rect property)
    4. Each option that controls the visibility of a respective “layer” may also be a button. Create a Field (type: button) for each control.  Suppose the five “control buttons” are called “ToggleLayerButton1”, “ToggleLayerButton2”, “ToggleLayerButton3”, “ToggleLayerButton4”, and “ToggleLayerButton5”.
    5. Position each control button on the page anywhere you want.
    6. For ToggleLayerButton1, add the following MouseUp action (using Acrobat Professional or using the Field.setAction API):
      var fld = this.getField("Button1");
      if (fld.display == display.hidden)
        fld.display = display.visible;
      else
        fld.display = display.hidden;
    7. Repeat the MouseUp action for the other control buttons.
    I hope this helps. - john

  • Resizing and positioning a stage with a background image

    Hey guys,
    I'm trying to get some specific behaviour on a stage as I think it'll work out best for the application I am doing. The module I am working on right now consists of a stage with an imageview bound to the width and height and an image inside. I'm eventually looking to setup some animations and such which will overlay on the image but I want the window to be resizable in various ways.
    Right now, when the stage is created I manually set the width and height so the image fits perfectly in the stage. For resizing, I want the user to be able to drag either the height or width or diagonal sliders but have the original aspect ratio of the stage retained. I have the preserveRatio variable set to true in the ImageView which makes the image not become distorted, but the stage can be extended horizontally/vertically/diagonally to any ratio which I'd rather not have. In terms of fullscreening, I'd like to allow it and have the image centred.
    I've tried to see if the LayoutInfo class can help me out, but it doesn't seem to have any implementations which are too useful for what I am trying to do. So does anyone know how I can accomplish the above? I'm very new to JavaFX so if anyone can make any other suggestions in terms of the objects I am using and what's best practices for what I am trying to do, it would be much appreciated. I've looked into using PathAnimation and PathTransition for the animations I am using and while they'd do most of the job well, I need to be able to place objects, modify speeds, locations etc. so I'll probably just end up making some custom drawing methods.
    Thanks in advance,

    Similar request in [JavaFX rezising-scaling scene & elements|http://forums.sun.com/thread.jspa?threadID=5437642]...
    Mmm, I made various experiments. The difficulty is to watch both dimensions, because when one change, the other must be changed as well, but the watch is then triggered, making a cascade of changes... I solved it (partly) with a boolean disabling the secondary change.
    def image = Image
        url: "file:///D:/images/forest_0003_1024.jpg";
        preserveRatio: true
    def startSize = image.width / 3;
    var bResizingWidth: Boolean;
    var bResizingHeight: Boolean;
    var stw = bind scene.width on replace
    println("Width -> {stw}");
        ResizeStage(true);
    var sth = bind scene.height on replace
    println("Height -> {sth}");
        ResizeStage(false);
    var scene: Scene;
    var iv: ImageView;
    def stage = Stage
        title: "Proportional Stage"
        scene: scene = Scene
            content: iv = ImageView
                image: image
                preserveRatio: true
                fitWidth: startSize
    def frames: java.awt.Frame[] = java.awt.Frame.getFrames();
    //~ println(frames[0]);
    def insets = frames[0].getInsets();
    //~ println("T={insets.top} L={insets.left} B={insets.bottom} R={insets.right} ");
    def insetX = insets.left + insets.right;
    def insetY = insets.top + insets.bottom;
    function ResizeStage(bIsWidth: Boolean): Void
        if (stage.width == 0) return; // Init, nothing to do
        if (bResizingHeight and bIsWidth) // One dim is changed, don't react on setting of other dim
            bResizingHeight = false;
            return; // Just ignore secondary change
        if (bResizingWidth and not bIsWidth) // Idem
            bResizingWidth = false;
            return; // Just ignore secondary change
        if (bIsWidth)
            bResizingWidth = true;
        else
            bResizingHeight = true;
        println("Stage: {stage.width} x {stage.height}");
        def ratio = image.width / image.height;
        if (bIsWidth)
            stage.height = scene.width / ratio + insetY;
            println("H {scene.width} -> {stage.height}");
        else
            stage.width = scene.height * ratio + insetX;
            println("W {scene.height} -> {stage.width}");
        iv.fitWidth = scene.width;
    }There are still some glitches, but it roughly works...
    [EDIT] Changed to avoid resizing the dimension that the user is changing. Result is more logical but slightly worse... (?)
    Edited by: PhiLho on 29 mai 2010 13:24

  • Adobe form - Dynamic resizing and UI elements access with relative path

    In the form, there are 190+ fields, grouped nad divided into different sections. We have section(subform) and field(UI Element) configurations in which we need to make Form ui elements invisible based on section/Fields.
    eg. < Code Snippet>
    if(SectionsList<i> == <SectionName1>)
              Page1.Section1.Field1.presence     =  "hidden";
                    Page1.Section1.Field2.p1esence     =  "hidden";
              <.. rest of fields>
    if(SectionsList<i> == <SectionName2>)
              Page2.Section2.Field1.presence     =  "hidden";
                    Page2.Section2.Field2.p1esence     =  "hidden";
              <.. rest of fields>
    Here we are using absolute path for the the ui elements which includes page numbers.
    The requirement is whenever we make a section or a field invisible the form size should get resized.
    e.g.let us say we suppress 2 sections occupying 3 pages of total 8 pages of the form, then the rendered form should have only 5 pages
    There are two issues here:
    1) When the UI elements of section are hidden, the section is not getting shrinked or resized
    2) Let us say above issue gets resolved and section gets shrinked; how can we locate the UI element using script? Currently we have coded java script for hiding UI elements by giving absolute path of UI element i.e. for example   Page1.Section1.Field1

    Hi Ganga,
    Yes at the time of design itself I will have the fields for one entity in a subforms flowed.
    and all these subforms into a large subform flowed. if there are some special fields they will be into a different subform.
    with is you will have a freedom of manuplating any subsection and since all the subforms are flowed it will automatically wrap up.
    In your case I dont find a reason to have a every single filed in one subform and is flowed unless your form is something like a single column / pillar like Qutub minar.
    If you can send me your xdp file, i can fix the design issue and can check whats resetting your form data.
    Cheers,
    Sai

  • Playing different flash movies with Javascript

    I've been researching this on the web to no avail so I figured I would post.
    I am developing a homepage similar to http://www.extractable.com/
    I have several different areas of text, which when you hover over them, I would like a different flash movie to play.  I have created this using pictures (example of one piece of the code is below), but want to increase the flashyness with, well, flash
          if (obj.id =="txtHolderPrograms")
          document.getElementById("imgLargePicture").style.filter="blendTrans(duration=.5)";
          document.getElementById("imgLargePicture").filters.blendTrans(duration=.5).Apply();
          document.getElementById("imgLargePicture").src = "PMDO.png";
          document.getElementById("imgLargePicture").filters.blendTrans(duration=.5).Play();
          document.getElementById("imgLargePictureHREF").href = "XXXXXXXXXXXX";
    I have a div where I want the different movies to play in.  What is the best way to get the different flash files?  Keep in mind that extractable site is doing just about exactly what I want to do.
    Any help would be greatly appreciated!

    I can't tell how you have things set up between the title of your posting and what you say to explain the problem.  What are you calling pages?  How do the pageselate to the 2 flash file in the doc you mention?

  • I ordered 5 books and a rental movie with a gift card The movie will not download and I have not received my books.  When or how long does this all take.  I am a first time user!

    How long does it take for a movie that I rented in I-Tunes to download?  I ordered one on the second of Sept and I am still waiting.  I have a blinking arrow that tells me to download but it stops in mid stream!  And, I ordered 5 books and still have not received them,

    Wow.......You plug the 30 pin connector to the botton of your iPad and the USB to the USB port on your computer.
    But first, you can download the movie and books to your iTunes account without having your iPad connected.  After you've downloaded the material, then you connect your iPad and sync it all over.
    I'm sorry I have to sign off.  I have to be up like 6 hours.  I'll check in tomorrow and see if you made any progress. 
    If nothing else, this will get your iPad and your iTunes account speaking again.  They should be regularly connected and your iPad routinely backed up. 
    One more thing.  If it's been a while since you even opened iTunes on your PC, make sure you check for iTunes downloads and update iTunes with the latest version.
    Good Luck........

  • I have firefox 21.0. For some reason, it's not resizing html elements with Javascript. When I use getElementById, it ignores the changes I try to make.

    I've tried resizing and repositioning the element with this code:
    <pre><nowiki>widthPercentage = screen.availWidth / 800;
    heightPercentage = (screen.availHeight / 600);
    squareLeft = (124* widthPercentage);
    squareTop = 202;
    if (document.getElementById)
    TEMPO = document.getElementById('SQUARE');
    TEMPO.style.left = (124 * widthPercentage);
    I've tried with this code:
    squareTop = 202;
    squareLeft = (124 * widthPercentage);
    starterWidth = (495 * widthPercentage);
    starterHeight = (99 * heightPercentage);
    TEMPO = '<DIV ID="SQUARE" STYLE="position:absolute; left:squareLeft; top:squareTop; visibility:visible;">';
    TEMPO += '<P>';
    TEMPO += '<img name="screenTitle_box" ID="STARTER" src="ARTWORK/FRONT_SCREEN_TITLE_5.JPG" HEIGHT=starterHeight WIDTH=starterWidth>';
    TEMPO += '</P>';
    TEMPO += '</DIV>';
    document.getElementById('SQUARE').innerHTML = TEMPO;
    Neither way works. But the same code works in Internet Explorer.
    Here's the element I'm trying to manipulate:
    <DIV ID="SQUARE" STYLE="position:absolute; left:333px; top:10px; visibility:visible;">
    <P>
    <img name="screenTitle_box" ID="STARTER" src="ARTWORK/PICTURE_5.JPG" HEIGHT="150" WIDTH="900">
    </P>
    </DIV></nowiki></pre>

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • I switched to the american itunes to download a song and rent a movie and now it won't let me switch back! Help!

    I'm from Germany and live in America right now. To download a song that wasn't available in the German store, I switched to the American store and downloaded the song and rented a movie with the credit card # of my host dad (with his permission, btw). Now I want to switch back to my credit card and the German itunes, and  it won't let me cause there's an unexpired rental. the movie i rented expired last week. What can I do?????

    What does " it won't Let me get on my own apple id account" mean?
    In what way is it stopping you from signing into your account?

  • Printing PDF attachments with Javascript?

    I am very new to Javascript (and not a programmer) so please excuse my basic or un-correct terminology here! I've created an interactive pdf, and have set buttons (with javascript code) to print specific ranges of pages from the document. I've now been asked to have said buttons print attachments (which are also pdf's) in the same style... is this possible, and if so, does anyone have example code? The code that I used to print the page ranges, for example:
    print ({nStart: 0, nEnd: 5});
    Any assistance/guidance/help would be greatly appreciated!

    The document first has to be opened. You can do this via JavaScript with the doc.openDataObject method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.509.html
    This method returns a doc object, which you can use with the print method to print the document. You should then use the closeDoc method to close the document, as mentioned in and demonstrated in the documentation linked to above.

Maybe you are looking for

  • Issue hr_location_api.create_location : ID logistic organization not valid

    Hello, I'm trying to create some HR location by the appropriate API. Some are already created and used in our configuration. But as for some other, we need to interface them from another system, we have to complete the list with a interface program.

  • Open dns resolver issues on windows server 2008 R2

    my client is running a windows 2008 r2 server with dns and dhcp roles. it's not a domain controller, just a workgoup server. got a notification from my client's isp: "These attacks have been facilitated through DNS amplification attacks. AT&T has det

  • Hp mini 110-3016tu ram upgrade.

    i took out the original 1GB DDR2 ram and changed it with a 2GB DDR2 ram already but i'm not sure why it still shows up as 1GB over at system properties... why is this so?

  • Regarding role resolution using evaluation paths in workflow

    hi all, Could anybody guide me on the steps needed to configure role resolution using evaluation paths in workflow. IF u could provide me with a sample it would be great. Thanks in advance, steve

  • Connecting shutter Uniblitz to computer with rs232c

    Hi everyone,  I would like to connect a shutter (Uniblitz VCM-D1) to my computer. I read in the manual that this VCM-D1 can be controlled by a an RS-232C computer serial signal COM port and which must be in the Null Modem configuration. Because I did