Mask images while using action build

I have this small problem. I wanted to create a tiny slideshow in the corner of one slide. I masked one photo to the size I wanted. I used the action build with dissolve effect from the Build inspector and dropped other photos I wanted to use. But Keynote doesn't seem to let me mask other photos so they fit in the shape. Scale images to same size option doesn't really do what I want (as you can see in the photo below). Can this be done somehow? What are my options?

Well, this is probably more trouble than it's worth, but you can use Keynote to make a a little video out of the pictures and then drop that into your presentation. Size your images the way you like, then make a custom Keynote show the size of your photos, so they're full-frame, even if the show is only 300 x 400 pixels. Make a slide show that starts and ends on the same slide. If you want each photo to hold for, say, 4 seconds and then do a 1-second dissolve, set those timings for all the "middle" slides, then have the first and last (identical) slides hold for only 2 seconds each. The first slide should have no "build in" and the last slide should have no "build out". Then export the show to Quicktime and you'll have a little video the size you want that you can insert into your main presentation and loop. If you use identically-sized images and dissolves, you'll have no issues. If you use any images that don't fill the frame, and/or any transitions that reveal the background, make sure the background of the little video is the same as the background of the main presentation. If your background from the main presentation has a design, you'll want to pick the exact area where you want the video to play, copy that area and paste it into the background of your slide master. LIke I said, perhaps more trouble than it's worth, but it's worked for me in the past.

Similar Messages

  • Masking Image while using transitions

    Hi,
    I've just created a sliding transition, see code below, which masks an image however when I run the swf it doesn't work and just displays the whole image without a mask.
    import fl.transitions.*; import fl.transitions.easing.*; var myTM:TransitionManager = new TransitionManager(slide); myTM.startTransition({type:Wipe, direction:Transition.IN, duration:3, easing:Strong.easeOut, startPoint:6}); 
    Any help would be great,
    Thanks,

    the wipe effect probably already uses a mask and you can't assign more than one mask per displayobject.  to work-around, re-parent slide and add your mask to slide's parent.

  • Why do i have a "no" symbol while using actions?

    Why do I have a "no" symbol while using actions.

    Do you mean this?
    Do you have a raster layer selected?

  • Difficulty calling a function using Action Builder

    I am trying to write my first script so understand it needs help.
    What I am trying to do is make a timesheet specific to my company.  I want to do automatic calulation when the monRegular box is entered.  I used action builder to help me set it up. 
    The error message I keep getting is:
    TypeError: this.resolveNode("TimeCalc").TimeCalculator() is not a function
    8:XFA:form1[0]:TimeSheet[0]:monRegular[0]:enter
    here is my script:
    function TimeCalculator()  {
         var f = form1.TimeSheet.monRegular.rawValue;
         f = form1.TimeSheet.monOut.rawValue - form1.TimeSheet.monLin.rawValue + form1.TimeSheet.monLout.rawValue - form1.TimeSheet.monOut.rawValue;
         TimeCalculator = f;
    what I am trying to is calculate time ate work and return that value.  I am unfamiliar with javascript.
    here is what Action Builder set up for me.
    form1.TimeSheet.monRegular::enter - (JavaScript, client)
    //+ GENERATED - DO NOT EDIT (ID:51E32615-7D96-4FF8-8EA8-F3A9D2BCD39D CRC:2494738674)
    //+ Type: Action
    //+ Result1: Custom("$Node2","TimeCalculator","","returnto","$Node1")
    //+ Node2: form1[0].TimeSheet[0].#variables[0].TimeCalc[0]
    //+ Node1: form1[0].TimeSheet[0].monRegular[0]
    //+ Condition1: NumericField("$Node1","entered","")
    //+ ActionName: monRegular.enter
    this.resolveNode("$").rawValue   = this.resolveNode("TimeCalc").TimeCalculator();
    Where can I go to find some good examples of how to set up fuctions and classes.  You can explain it to me all day but I need an example to understand it.
    Travis

    Hi ClayMarker52,
    Per my understanding you want to use the RGB value in the expression instead of using the "Red","Green","Black" to specify the color, right?
    I have tested on my local environment and you can see the three colors convert to Hexadecimal is like below and you can use these value in the expression:
    Unresolved to use R:231 G:65 B:8  ---#e74108
    Resolved to use R:74 G:142 B:247  ---#4a8ef7
    Open to use: R:255 G:227 B:132    ---#ffe384
    Click the Background Color or Color and select the "More Color"
    The Select Color window is open, after you enter the RGB value in the Select color window and click ok you will find the Hexadecimal value in the color inputbox:
    Then you can modify the expression as below:
    =IIF(Fields!Inc_UserText6.Value = 1,"#e74108",  IIF(Fields!Inc_Status.Value = "Completed" or Fields!Inc_Status.Value = "Closed", "#4a8ef7", "#ffe384")) 
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Putting fileinfo data on bottom of image for use in building a photobook for printing/binding

    I wonder if someone on here could help me with a problem I have? I am not a script expert by any means. The term "amateur" is probably pretty accurate!
    I have a few hundred pictures I want to include into a (to be printed) photobook. I want to put some key EXIF/Fileinfo data on the images so that they remind me of what file, when it was taken, with what and with what settings. I found an excellent script (by JJmack?) which does what i want with one exception. The script (below) puts the info on the image starting on the top left (0,0) and I really want it to start on the bottom left (so that it looks like a caption). I have tweaked the original 5 lines of data down to one line, and have reduced the font size but I simply do not have the skills to amend it to add the selected text to the bottom left.
    I was hoping that someone on this forum might be kind enough to help - not least because I am sure there are others who would want to the same thing? Or am I being a complete idiot and there is a simpler way to achieve what I am trying to do?
    Grateful for any help
    Michael.
    Apologies - can't find way to insert file so had to copy and paste:
    // This script was hacked from one I downloaded from the web JJMack 2008
    /*  Script to stamp copyright and camera data of shot   */
    // This script is supplied as is. It is provided as freeware.
    // The author accepts no liability for any problems arising from its use.
    <javascriptresource>
    <about>$$$/JavaScripts/StampExif/About=JJMack's Stamp Exif.^r^rCopyright 2009 Mouseprints.^r^rScript utility for action.^rNOTE:Add Text Layer with Fomatted EXIF Data!</about>
    <category>JJMack's Action Utility</category>
    </javascriptresource>
    // enable double-clicking from Mac Finder or Windows Explorer
    #target photoshop // this command only works in Photoshop CS2 and higher
    // bring application forward for double-click events
    app.bringToFront();
    // ensure at least one document open
    if (!documents.length) {
        alert('There are no documents open.', 'No Document');
    // if at least one document exists, then proceed
    else {
        main();
    // main - main function
    function main() {
        /* Null business owner */
        var Biz = "";
        var Owner = "";
        /* Variables You can hard code your business owner here */
        // var Biz = "Mouseprints";
        // var Owner = "John J McAssey";
            /*  sizeFactor influences text size 1 will use largest font 2 will half that font size    */
        var sizeFactor = 1.5;
            /* textX and TextY positions text placement 0 and 0 Top Left corner of image in pixels    */
        var textX = 0;                                   
        var textY = 0;   
        /* Internal Photoshop Text name                                */                               
            var fontName = "ArialMT";
        var fontName = "TimesNewRomanPSMT";
        var fontName = "Tahoma";
        /* Text Color                                        */
        textColor = new SolidColor;                       
        textColor.rgb.red = 255;
        textColor.rgb.green = 255;
        textColor.rgb.blue = 255;
        /* END Variables You can hard code your business owner here */
            // remember users Ruler avd Type Units and set ours
        var strtRulerUnits = app.preferences.rulerUnits;
        var strtTypeUnits = app.preferences.typeUnits;
        app.preferences.rulerUnits = Units.PIXELS;
         app.preferences.typeUnits = TypeUnits.PIXELS;
        /* Trying to figure out font size for the number of lines to cover the document height        */
        /* and getting setting text area to cover the document was a trip. Adobe Postscript trip    */
        /* I believe that 72 or 72.27 Point/Pica Size Photoshop Preference maybe I should see if    */
        /* I could retrieve it. Anyway mine is set to 72 Setting the document resolution taking        */
        /* the document width and dividing by 72 would probably yield number of characters that        */
        /* would fit in the document width. Setting the documents resolution comes into play        */
        /* with Photoshop text support. Using the documents height and dividing the by the number    */
        /* of lines of text I needed I hoped would yield the font size I needed. However that        */
        /* did not work the text area was correct the number of text lines did not fit. I needed    */
        /* to use a smaller font.  When the document resolution is set to 72 DPI and I set a text    */
        /* layer font size to 72 and the text area the number of pixels I want and observing        */
        /* Photoshop's text options bar there I see a one 1 to one relationship. 72 px = 72 px.        */
        /* If I set the documents resolution lower and set a Photoshop text layer font size to        */
        /* 72 px I see Photoshop scale the number to a lower number of pixels in the option bar.    */
        /* Just what I needed. Setting the Documents resolution to 60 DPI let the number of line    */
        /* I needed fit on the document. However Photoshop also scaled the text area I set down        */
        /* in size and that number of lines did not fit within that area. I needed to scale the        */
        /* text area up. Scaling the Text area up using 72/resolution did the trick...             */
            var testres = 60;
        res = app.activeDocument.resolution;
        if(res!=testres){ app.activeDocument.resizeImage(app.activeDocument.width.value,app.activeDocument.height.v alue,testres); }
        /* Define var to be used to avoid undefined */
        var expTime = "";
        var expPgm = "";
        var expCmp = "";
        var mtrMode = "";
        var ev = "";
        var flshCode = "";
        var flshMode = "";
        var focLength = "";
        var Fstop = "";
        var ISO = "";
        var Model = "";
        var CameraModel = "";
        var Artist = "";
        var maxF = "";
        var wbMode = "";
        var phoTime = "";
        var picYr = "";
        var lens = "";
        var cpyrt = "";
        var remShutter = "";
        var remAperture = "";
        var remISO = "";
        var lat = "";
        var latRef = "";
        var lon = "";
        var lonRef = "";
        var docName = app.activeDocument.name;
        /* END var to be used to avoid undefined */
        try {   // get active document
            var doc = app.activeDocument;
        catch (e){
            alert("No Document Open..." );
        var exifInfo = "";
    try {
            // alert( "doc.info.exif=" + doc.info.exif );
            var numExifItems = doc.info.exif.length;
            // alert( "numExifItems=" + numExifItems );
                    for (var i = 0; i < doc.info.exif.length; i++){
                 exifInfo = exifInfo + doc.info.exif[i][0] + " = " + doc.info.exif[i][1] + "\r";
    /* ---------------------------------- Extracting Data I want to Stamp  formated ----------------------------------------------------------------------- */
                            checkThisItem(doc.info.exif[i][0], doc.info.exif[i][1])
                key=doc.info.exif[i][0];
                keyData=doc.info.exif[i][1];
                if (key == "Artist") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    Artist =("By " + keyData + "  ");
                 if (key == "Date Time Original") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    var phoTime = keyData;
                    var dateArray1 = phoTime.split(" ", 2);
                    phoTime = dateArray1[0];
                    phoHour = dateArray1[1];
                    var dateArray2 = phoTime.split(":");
                    var monthsArray = ["January","February","March","April","May","June","July","August","September","October", "November","December"];
                    phoTime = monthsArray[dateArray2[1]-1]+" " + dateArray2[2]+ ", " + dateArray2[0] +" @ " + phoHour;
                    var picYr = dateArray2[0];
                if (key == "Model") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    Model = (keyData + "  ");
                if (key == "Max Aperture Value") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    maxF = ("maxF " + keyData + " ");
                    maxF = ( keyData + " ");
                if (key == "Focal Length") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    focLength = ("@ " +keyData + "  ");
                if (key == "Exposure Program") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    expPgm = (keyData + "  ");
                    if (expPgm == "Not defined") { expPgm = "Exposure Program Not Recorded  "; }
                if (key == "Exposure Bias Value") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    expCmp = ("Bias " + keyData + "  ");
                if (key == "Metering Mode") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    mtrMode = (keyData + " Metering  ");
                if (key == "White Balance") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    wbMode = ("White Balance " + keyData + "  ");
                if (key == "ISO Speed Ratings") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    ISO = ("ISO " + keyData + "  ");
                    remISO = keyData;
                if (key == "Exposure Time") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    expTime = (" " + keyData + "  ");
                    remShutter = keyData;
                if (key == "F-Stop") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    Fstop = (" " + keyData + "  ");
                    remAperture = keyData;
                if (key == "Flash") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    var flshCode = keyData;
                    var flshMode = "Flash Code=" + flshCode + "  ";
                    if(flshCode==1){var flshMode = "Firing Flash   ";}
                    if(flshCode==9){var flshMode = "Firing Flash   ";}
                    if(flshCode==13){var flshMode = "Firing Flash   ";}
                    if(flshCode==15){var flshMode = "Firing Flash   ";}
                    if(flshCode==25){var flshMode = "Firing Flash   ";}
                    if(flshCode==29){var flshMode = "Firing Flash   ";}
                    if(flshCode==31){var flshMode = "Firing Flash   ";}
                    if(flshCode==65){var flshMode = "Firing Flash   ";}
                    if(flshCode==69){var flshMode = "Firing Flash   ";}
                    if(flshCode==71){var flshMode = "Firing Flash   ";}
                    if(flshCode==73){var flshMode = "Firing Flash   ";}
                    if(flshCode==77){var flshMode = "Firing Flash   ";}
                    if(flshCode==79){var flshMode = "Firing Flash   ";}
                    if(flshCode==89){var flshMode = "Firing Flash   ";}
                    if(flshCode==93){var flshMode = "Firing Flash   ";}
                    if(flshCode==95){var flshMode = "Firing Flash   ";}
                    if(flshCode==0){var flshMode = "without Flash   ";}
                    if(flshCode==16){var flshMode = "without Flash   ";}
                    if(flshCode==24){var flshMode = "without Flash   ";}
                    if(flshCode==88){var flshMode = "without Flash   ";}
                    if(flshCode==32){var flshMode = "No Flash   ";}
                if (key == "GPS Latitude") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    lat= ("Lat: " + keyData.replace(/\.00/g,'') + " ");
                if (key == "GPS Latitude Ref") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    latRef= (keyData + "  ");
                if (key == "GPS Longitude") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    lon= ("Lon: " + keyData.replace(/\.00/g,'') + " ");
                if (key == "GPS Longitude Ref") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    lonRef= (lon + keyData + "  ");
            /* Copyright Year(s) */
            var thisYr, toDay       
            var toDay = new Date();
            var thisYr = toDay.getYear() + 1900;
            if(picYr!="" && thisYr!=""){ var cpyrt =  picYr + "-" + thisYr + "  ";}
            if(picYr=="" && thisYr!=""){ var cpyrt =  thisYr + "  ";}
            if(picYr==thisYr){ var cpyrt =  thisYr + "  ";}
            /* For cameras that don't set Artist or set unknown in the Exif substitute Owner if set */
            if(Artist=="" && Owner!=""){var Artist = "By  " + Owner + "   ";}
            if(Artist=="By unknown  " && Owner!=""){var Artist = "By  " + Owner + "   ";}
            /*  Lens info  */
            xml = app.activeDocument.xmpMetadata.rawData;
            lensOffset = xml.indexOf("<aux:Lens>") + "<aux:Lens>".length;
            if(lensOffset > 0) {
                lens = xml.substr(lensOffset, xml.length - lensOffset);
                lens = lens.substr(0,lens.indexOf("</aux:Lens>"));
            /* Hack for my cameras with fixed lens */
            if(lens=="" && Model=="E990  "){var lens = "9-28mm";}
            if(lens=="" && Model=="E-20,E-20N,E-20P  "){var lens = "9-36mm";}
            if(lens=="" && Model=="E-10  "){var lens = "9-36mm";}
            if(lens=="" && Model=="E-10          "){
                var Model = "E-10  ";
                var lens = "9-36mm";
            if(lens=="" && Model=="Canon PowerShot SD700 IS  "){var lens = "5.8-23.2mm";}
            if(lens!=""){var lens = lens + "  ";}
            else {var lens = "Unknown Lens  ";}
            /* Hack for my ultra compact cameras program mode not recorded */
            if(Model=="Canon PowerShot SD700 IS  "){var expPgm = "Ultra Compact Camera  ";}
            //alert (remShutter + " " + remAperture + " " + remISO);
                    ev = calcEV(remShutter, remAperture, remISO);
    /* ---------------------------------- END Extracting Data I want to Stamp  formated -------------------------------------------------- */
        catch (e){
            alert("No EXIF data exists..." );
        if ( exifInfo == "" ) {
            alert( "No EXIF data exists..." );
        else {
            // alert( "exifInfo=" + exifInfo );
            text_layer = doc.artLayers.add();                        // Add a Layer
            text_layer.name = "EXIF Stamp";                            // Name Layer
            text_layer.kind = LayerKind.TEXT;                        // Make Layer a Text Layer
            text_layer.textItem.color = textColor;                        // set text layer color
    /* Do not set TextType to Pargarph Text for StampEXIF so action can position text layer
             text_layer.textItem.kind = TextType.PARAGRAPHTEXT;                // Set text layers text type
            text_layer.textItem.font = fontName;                        // set text font
            text_layer.blendMode = BlendMode.NORMAL                        // blend mode
            text_layer.textItem.fauxBold = false;                        // Bold
            text_layer.textItem.fauxItalic = false;                        // Italic
            text_layer.textItem.underline = UnderlineType.UNDERLINEOFF;            // Underlibn
            text_layer.textItem.capitalization = TextCase.NORMAL;                // Case
            text_layer.textItem.antiAliasMethod = AntiAlias.SHARP;                // antiAlias
    //        var fontSize = Math.round((doc.height- textY) / ((numExifItems +1) * sizeFactor)); // Calulate font size to use Item nomber + last \r
            /* Calulate font size to use for StampExit keep size same for landscape and portrait base on document size */
            if (doc.width >= doc.height) {var fontSize = Math.round(doc.height / (30 * sizeFactor));}
            else {var fontSize = Math.round(doc.width / (30 * sizeFactor));}
            if (fontSize<10){fontSize=10};                            // don't use Font size smaller then 10
            text_layer.textItem.size = fontSize;                        // set text font Size
    //        text_layer.textItem.position = Array(textX, textY );                // set text layers position in and down
            text_layer.textItem.position = Array(textX, (textY + fontSize ));        // set text layers position in and down for Stamp add in fontsize
            textWidth = ((doc.width - textX) * 72/testres );                // Text width document width - offset
            textHeight = ((doc.height - textY) * 72/testres );                // Text height document height - offset
    /* Do not set Text Area for StampEXIF so action can position text layer
            text_layer.textItem.width = textWidth;                        // set text area width
            text_layer.textItem.height = textHeight;                    // set text area height
             alert(
            "res=" + res + " sizeFactor=" + sizeFactor + " numExifItems=" + numExifItems
            + "\r" + "fontsize=" + fontSize + " font=" +fontName
            + "\r" + "Image area width=" + doc.width + " height=" + doc.height
            + "\r"    + "text area width=" + textWidth + " height=" + textHeight
            + "\r"    + "Text Position top left=" + textX + "," + textY
            + " bottom right=" + (textX + textWidth )+ "," + (textY +  textHeight )
            try{
                text_layer.textItem.contents = exifInfo;
            catch (er) {
                alert("Error Setting Contents...");
    /* -----------------------------------------  Data Stamp  format ----------------------------------------------------------------------- */
            if (!app.activeDocument.info.copyrightNotice=="") {var Notice = app.activeDocument.info.copyrightNotice; }
            else { var Notice = "Copyright \u00A9 " + Biz  + " " + cpyrt; }   
            if (lat!="" && lon!="") { gps = "\r" + lat +latRef + lon + lonRef;}
            else {gps = ""; }
            text_layer.textItem.contents =  docName + " " + Model + lens + ISO + expTime + Fstop;
            if (app.activeDocument.info.instructions == "" ) {
                app.activeDocument.info.instructions = docName + " " + Model  + lens + ISO  + expTime + Fstop;
        if(res != testres){ app.activeDocument.resizeImage(app.activeDocument.width.value,app.activeDocument.height.v alue,res); }
        app.preferences.rulerUnits = strtRulerUnits;
        app.preferences.typeUnits = strtTypeUnits;
    // END - main function
    // calcEV()
    function calcEV(shutter, aperture, iso) {
        evString = new String("");
        isoValue = new Number(0);
        shutterValue = new Number(0);
        apertureValue = new Number(0);
        evValue = new Number(0);
        apertureValue = aperture;
        apertureValue = apertureValue.substr(2,apertureValue.length -2); // Strip off "f/"
        shutterValue = shutter;
        shutterValue = shutterValue.substr(0,shutterValue.indexOf(" ")); // Strip off ending " sec"
        if ( shutterValue.indexOf("/") != -1) {
            topShutter = shutterValue.substr(0,shutterValue.indexOf("/"));
            bottomShutter = shutterValue.substr(shutterValue.indexOf("/") + 1,shutterValue.length -(shutterValue.indexOf("/") + 1));
            shutterValue = topShutter / bottomShutter;
        isoValue = iso;
        //alert ("apertureValue = " + apertureValue +  " shutterValue = " + shutterValue + " isoValue = " + isoValue );
        if (isoValue>0 && shutterValue>0 && apertureValue>0) {
            evValue = Math.LOG2E * Math.log(Math.pow(apertureValue, 2) * (1 / shutterValue) * (100 / isoValue));
            evValue = Math.round(evValue * 10) / 10;
            evString = "EV " + evValue;
        return evString;;
    function checkThisItem(key, keyData) {
        // alert("Key=" + key + " Data=" + keyData );

    I wrote that script to be used within an Action.  The Action uses the script to add the text layer. The text layer becomes the current active layer.  The action can then position the layer anywhere over the document by aligning the layer to a selection.  Also add a layer style like set fill to 0 and adding a drop shadow and emboss. That is the un-expanded step below the set current layer is setting a style and is lengthy.
    Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Example
    Download

  • Can I use action build to fade one table row as I move to the next row in the table?

    I have built a table with 6 rows.  Right now,I am building the table row by row when I play the slide. Is there a way to fade or dissolve one row when I move to the next row in the table? I want to be able to de-emphasize the row I just discussed when I move to the next row in the table. I can fade the entire table by invoking that action but I do not seem to be able to use this action one row at a time. Thanks for your comments and assistance.

    you will have to use a workaround to get the exact effect you described
    create a table with out any text
    use text tool to add text and position in each table cell
    select the text boxes( command click) in the first row and group them (arrange > group)
    use a, build in, to display text and then a, build out, to remove it
    repeat the above for the other rows

  • How do i set up to use the spacebar to navigate within an image while using another tool

    when using a tool (such as eraser, clone etc.) i used to be able to navigate within an image by using the spacebar. for some reason, this option is not working any longer and i'd like to know how to set it up again.

    You don't need the background image -- you supply THAT in FCPX. Just work the text effect and publish it.

  • Problem while using  document builder factory

    I am getting run time error as below.
    Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.DocumentBuilderFactoryImpl not found
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
    at p_xml.parsedoc(p_xml.java:28)
    at p_xml.<init>(p_xml.java:15)
    at p_xml.main(p_xml.java:22)
    I am using the jdk1.3 and have put the following six files in classpath
    xerceslmpl.jar ,dom.jar, sax.jar;
    jaxp-api.jar ,xalan.jar ,xsltc.jar
    how to set to use xerce parse instead of default crimson ?
    thanks

    Set property javax.xml.parsers.DocumentBuilderFactory.
    java -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");

  • How hard is it to use javascript to show/hide fields. Is it easier to use the action builder?

    I know nothing about javascript and all that ive been using so far has been stuff ive found on here (thank you everyone).
    Using the action builder seems like its gonna be very tedious to do since i have so many subforms that hide, would it be esier to use javascript?

    I know nothing about javascript myself but I just created a form with about 10 different subform that show or hide depending on what the user chooses from a drop down list and I used Action Builder. If we don't know javascript, how can we use it? But Action Builder did a fine job of hiding/showing wherever I needed it. And Action Builder can do more than one thing by clicking that + sign when you are building an action.
    For instance, I needed to place a button in each subform that would close both the field that the person was working in and also the subform on the next page where the information was going into floating fields in a text block that was only visible thru a drop down list text select. I could have never figured out how to do that based on my knowledge of javascript. Thank Adobe for including Action Builder in this version of LiveCycle and I use it all the time. I find it extremely easy to use but it takes a little mental training to think thru the steps of how you can use the menu in Action Builder to make your form do what you need it to do.
    And if all else fails, ask this forum. I struggle for just so long before I come here and ask for help. I always get the answer I need. I hope you will too.
    Good luck,
    Jeanette

  • Copying member("aTextMemb").image into a rect in an image that uses alpha

    Hi all. I'm currently developping a strategy game with Director, and one of the things I've run into is that i want to update the number of units I have in a panel (on initial game setup) via 1) updating a text member that holds the number of units left to setup and copyPixeling the image onto the panel. This I've acheived except that since my text member image doesnt have alpha originally and the panel is semitransparent, a white (no matter the bckgrnd color I set for the text member) bounding box appears in the final result. I guess the way to go is duplicating the text member image and make it a 1 bit mask image then using the apropiate imaging lingo command (dont remember if it's copyPixels or another at this point). Imaging lingo is very interesting for me since normally I built all my aplications using the score directly (15 years exp with Director). This is my first game where I mostly rely on parent scripting and in some situations imaging lingo.
    This is currently the handler that does the job. It: 1) stores the image of the text member "panelCount" 2) defines the destinatiion rectangle where it will be copied in the panel bitmap and 3) copies it (but as I said the correct alpha is missing).
    on updateUnitsDisplay me
      member("panelCount").text= string(pPanelUnitCount)
      -- we retrieve the image of the text member that stores how many units left in the panel
      _textImage= member("panelCount").image 
      bottomMargin= 20 -- distance from the bottom of the panel that we want the text to be
      _left= (sprite(me.spriteNum).width- _textImage.width)/2
      _top= sprite(me.spriteNum).height- bottomMargin- (_textImage.height/2)
      _right= _left+ _textImage.width
      _bottom= _top+ _textImage.height
      destRect= rect(_left, _top, _right, _bottom)
      pPanelMember.image.copyPixels(_textImage, destRect, _textImage.rect) 
    end updateUnitsDisplay
    Your proposals and thoughts are welcome (specially good ones )
    EDIT: I've said above that my textImage wouldnt have alpha originally. Well, i think that was wrong according to what I've found in he scripting dictionary under the image() section "When you create a new image object, the background color defaults to white (color(255,255,255)), and the alpha channel is completely opaque (color(0,0,0))."
    On the other hand, the paramList in the copyPixels command should do it I think (a matte can be defined, also and ink mode for the copied pixels can be used although my first experiments have not worked yet).

    I think I got it. The paramList in the copyPixels command has been enough to get rid of the white box around the text (using #ink: 36 which is bckgrnd transparent in it), the problem was that I was using the same white for foreground and background colors in the text member (been some time not using director and misplaced the false white I used to use in these cases in the color selector). Bottom line, dont use exact same color values for back and fore colors of the text member. I've observed also that using the alpha of the image (useAlpha= true) makes it well antialiased while not using the alpha does produces a bad image of the text (btw, the font of the text is an inserted text media element of course). I keep investigating

  • Missing warnings while using softproofing ?

    First, congratulations for all the new or enhanced features !
    Especially the softproofing function is great : the histogramm is now showing what is happening in the destination color space.
    My question is about the warnings on the image while using softproofing : after activating both monitor and destination warnings, and evenif my image is voluntarily completly blown up with highlights, i see very few warnings on the image.
    Am i doing something wrong or the warning function is not working well ?
    Charles, France

    I suspect but could be totally off, that a single color channel will not cause the OOG overlay. You should be able to see this anyway in the normal Histogram (in this case, a blue spike on the end of the Histogram). Again, going out on a limb, I suspect that the profile has to be used to tell LR that all three channels fall outside of gamut, in other words, this isn’t a channel by channel OOG but the entire group. Maybe someone from Adobe can comment.
    I can get the OOG warning to show up with only one or two channels saturating. It appears to have been done correctly. See the screenshot below. The channel info shows only red saturating at 255 in the red-masked OOG area
    Now I can say that I think there is a zoom bug in terms of the OOG in that I’ve seen some overlay colors appear or disappear based on the zoom ratio. Even saw this in Julieanne’s video demo. So you may want to zoom in at 100% (1:1) to get a more accurate OOG preview.
    I am not so sure whether that is a bug or simply a cause of how the Develop preview is generated. LR has to render a low resolution preview and inevitably that involves some downscaling and resharpening (LR has been doing some sharpening on the develop preview for a while now). It is possible that if you are on the edge of being out of gamut, the lower resolution preview can get pushed out of gamut by the sharpening and perhaps by noisy data that is not smoothed away by the noise reduction that would happen at 1:1 but doesn't happen the same way zoomed out at fit or fill.
    P.S. as we found in the thread linked above there are some minor bugs in the softproof notably with proofing for sRGB. So I wouldn't trust it too much yet and just look at it as a preview of how it might or will be implemented in the release.

  • Is it possible to change an image while a Build or Action is happening?

    Here's what i'm trying to accomplish:
    I am panning across a large photo, when most of the way across the photo (as the pan still continues) i'd love the photo to fade into a MODIFIED version of the same photo (modified as in, changed in Photoshop). Can this be done? I can't figure out how "cheat" and do it going from one slide to another that the movement stays smooth.
    Any help greatly appreciated. I have consumed nearly an entire pint of Ben & Jerrys in frustration.

    Yes, this is possible.
    First, create your panning animation with the first image you would like to use (use an Action Build to do the movement). Then, go to Format->Copy Animation. Then place the image you want to fade into on the slide, right on top of the first image, and Format->Paste Animation to paste the movement onto the second image. Now, add a second Action Build of type Opacity to the second image, from 0% to 100%, and in the Build Order drawer, select "With Previous Animation" on both of the Action Builds of the second image.
    What you should end up with is both images moving together, and the second image fading from fully transparent to fully opaque during the movement, making it seem like the first image is fading into the second one.
    Hope this helps.

  • Using actions within masks

    Is it possible to action scale an image  while keeping it inside its mask?
    I have several images on a slide and I want to zoom in to one of the slides, but the mask doesn't apply to the image once it scales up.
    I tried selecting the scaled up image, thinking I could apply another mask, but its greyed out.
    is it possible? I would like to avoid having to create a bunch of rectangles to cover up the unwanted portions after the image scales up.
    I'm using Keynote '09
    thank you.

    j.c.c,
    One way to do this is to use Magic Move.
    Mask each of your images on the slide then clone the slide (Option-Drag in Navigator) and on the second slide re-size the image(s) you need and move others if needed. Set the slide transition for the first slide to Magic Move.
    The masked images can be resized with the mask still applied.You can even resize the image within the mask and Magic Move will expand the image inside the mask except if you fiddle with it too much the transition within the mask changes from a move to a fade so keep it simple.

  • Internet Explorer stops responding while using CodedUI test builder to record a test

    Hi,
    Here is my problem description:
    Internet explorer (9, 10, 11) stops responding while using CodedUI Test Builder to record a test scenario in IE. I am not able to input any values or click any buttons or perform any action on IE while recording a test on a remote desktop (visual studio
    and IE are both on remote machine). Also tried by directly accessing the machine but no luck. The test builder says 'could not record the last action...'
    A hand-coded script plays back fine without any problem.
    System Details:
    OS: Window 7 Professional with SP1 64-bit
    Browser: IE 11 (tried with IE 9/10 also with no luck)
    Visual Studio 2013 Ultimate Edition
    I have tried the following from my past similar experiences.
    1. Checked that I am recording on 32 bit IE
    2. Tried with IE 9/10/11
    3. Reset IE to factory settings
    I will appreciate if someone can share some thoughts on the likely problem(s) and any recommended solution.
    Regards,
    Pankaj

    Hi Pankaj,
    >>'could not record the last action...'.
    Actually it means that the coded UI test builder doesn't record the actions, I met this issue before when my machine is so busy, so I will get this issue if I record the steps so quickly.
    I'm not very sure that how you connect to your remote desktop and record the actions, but like the above actions, we have to make sure that the steps were recorded in the Recorded Action window like A.
    If not, please delete the steps from the no-recorded steps and re-record them again, maybe you could record the steps slowly.
    I doubt that the remote connection impacts the recorded actions performance.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while creating a cube using Cube Builder

    we have installed the Cube builder for SSM 7.0
    while creating the cube I am facing a error and the .TRC file contents are as follows :-
    LSS>
    LSS> set control LINKID SSM_CB_EA
    LSS>
    LSS> .... capture cube id in a control var to simplify queries on other tables
    LSS> access lslink
    LSLink> connect SSM_CB_EA
    LSLink>
    LSLink> SELECT ID FROM CPMS_CB_CUBES WHERE NAME = 'CUBEBUILDER1'
    [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'CPMS_CB_CUBES'.
    SQLSTATE: S0002
    SQL System code: 208
    LSLink> lss create code = 'set control CUBEID ' + ID
    LSLink> output proc setcubeid;PIPADMINDEFAULT over
    LSLink> peek create nohead nonumb
    No Fields currently Selected
    ACC004:
    No Record Has Been Accessed From the Database.
    ACC004:
    No Record Has Been Accessed From the Database.
    CHE FRE
    CHE UPD
    Kindly help me out........

    Hi Martin,
    I believe that the issue you are encountering now is that you're using the wrong set of procedures for accessing MS SQL Server.
    In section 5.4.1 (Setting up SAP NetWeaver System database software) in the Strategy Management configuration guide, there is a section which discusses steps that are required depending on whether or not you are using MaxDB or MS SQL Server as your system database behind NetWeaver CE.  My guess is that you have not followed the steps described for SQL Server here.  This is simple to do thoughm, because all you need to do is copy the files in the "<install-dir>\SAP\SSM\InternetPub\procs\sqlsrvr_procs" into the <install-dir>\SAP\SSM\InternetPub\procs" directory.
    This is required because, when using Cube Builder or Entry and Appropval, the PAS component communicates directly with the system database in order to load data from there into PAS.  Because MaxDB and SQL Server have different SQL syntax, specifically regarding field concatenation, slightly different SQL is required.  So if you copy the SQL Server specific procedures across, you should be able to successfully build your model from Cube Builder.
    Of course, having read through your question again I'm not 100% sure that this is what you are hitting.  The problem you're seeing seems to be that, when we internally concatenate some selected fields together, we aren't finding a field called ID.  However, the SQL select being issued doesn't seem to have returned any error messages, so I'm not sure why there is a problem referencing the field.
    The only thing that comes to mind is a problem that I ran into at one point with the type of driver I was using to connect to SQL Server.  The PAS component of Strategy Management, even though it runs on Windows 2003 Server 64bit, is still only a 32bit component.  This means that, when configuring the System Data Sources within the ODBC applet in Control Panel, it is critical that the 32bit version of that ODBC applet be used - as documented in the note at the end of section 5.4.3 in the configuration guide.  The reason this is important is because, if you use an OLEDB connection to SQL Server, for some reason the field names are not returned correctly.  It is only when using the ODBC driver that the field names are returned correctly.
    So please ensure that you are using the ODBC driver for your Link ID which connects to SQL Server, and not an OLEDB connection.
    Hope this helps,
    Robert
    Edited by: Robert Holland on Dec 19, 2008 3:23 PM

Maybe you are looking for

  • Remove footer from specified page range

    I am modifying a pdf with a sequence of footers (A, B, C, D...) that mark subsections in the text. I removed all pages in subsection B, and would now like to update the following footers to reflect the change (make C the new B, D the new C, and so fo

  • How to get the path of the image stored in sap??

    Hi All The problem is While making an entry in standard there is a field called documents through which we attach our images in sap. How to get the path of the image stored with the corresponding order so that the image can be displayed while we are

  • Setting Up Mailserver to received and Send Mail for external Network

    I have a G5 currenty running 10.3.9 Server with Mail services run and working fine, we are upgrading to 10.4 Server and would like our Sales Reps the ability to send and Receive mail from outside the office. How do I configure my server, Router, ISP

  • Check before deleting Payment Proposals ( F110 )

    Hi gurus, I have the following scenario: When the user runs F110 and creates a payment proposal we start a workflow for approbation of the payment. I have successfully found a badi to start the workflow, the problem arises when the same user that cre

  • Once i get my macbook, what should i do?

    regarding things like battery caliberastion, or checking if certain things work, etc, what else needs to be done? like what would be a good way to immediately find out if my comp has problems such as mooing or sizzles?