Place images in XML workflow

Hi
I have placed figures to its nearest citations in non XML workflow.
For XML workflow, I have placed figure and its captions in two frames and grouped them. I move the group to the corresponding citation page. My xml structure remains unchanged.
Now my need is to place the group in the next paragraph of citation. Can you help me?
thanks,
Sivaraman. M

Hi sudharaman,
I am trying the script of placing the image near the citation.
But i couldn't able to move the image near the citation.
Can you help on this
thanks
suresh

Similar Messages

  • Footnotes and notecalls in XML workflow for InDesign

    I'm a french typesetter working on a project using XML workflow with a large number of footnotes. I have been searching for hours the right way to prepare the XML workflow so I would get all the notecalls and footnotes once the workflow imported in my InDesign file. Thanks in advance to any helping hand.

    I wish I could express myself in another language as well as you handle English -- and my bread and butter is typesetting text that is challenging linguistically.
    However, I also like to think of my work as setting type, and because I associate XML with robot formatting I am inherently biased against it.  Perhaps I'll learn better, but currently I'm not a good source for information on XML.
    Still, as I see it XML attempts to come up with a single source for output in various formats.  InDesign is really good for making PDF's ready for the press or for distribution electronically: it defines documents in terms of pages and offers precise control over what goes where on every page.  This is very important in my work, scholarly material that generally includes linguistic oddities requiring absolute control over fonts.  Meanwhile, footnotes -- which of course assume there are pages at whose foot they can sit -- have always been an afterthought in ID, omitted from early versions, and still the subject of many complaints for their inflexibility.
    Thus two early questions are:
    Is InDesign footnoting capable of doing what you need?  My guess is yes so long as you can tweak in ID; but if not then whoever gets tasked with using the masters you develop may not appreciate having to string a separate story of footnotes by hand across the bottoms of pages.
    Do you need to get from ID back to XML?  I've already mentioned that getting ID footnotes back into XML is a significant issue, but there are other factors: if you use ID PDFs for proofing but the ID files are not going back to XML then corrections must be made to both the XML and ID files.  And whether or not you export ID back to XML you get to figure out which ID tweaks are needed in the XML.
    Software manuals tend to explain what the software can do and omit discussion of what one might wish it could do.  One of the things I appreciate about Dorothy J. Hoskins's brief 2013 book XML and InDesign is her chapter "What InDesign Cannot Do (or Do Well) with XML," though she this isn't the only place she discusses philosophical conflicts between ID and XML.  She also touches on the value of XSLT transformations and scripting for wrangling XML, and mentions useful tidbits about Maidvald’s book since its 2007 publication.
    Good luck!
    David

  • Print Images in XML Report

    Hi,
    I do have a requirement to print digital signature in a Quote, the signature is been stored as a picture (longraw datatype per_images table) in HRMS Tables
    HRMS Responsibility -> people -> Enter and Maintain -> Picture, here we will upload the signature of a person and this need be printed in XML Report.
    In the Report Builder if we change the ‘file format’ to ‘Image’ we are able to display the image , but when we are register in APPS, we not able to get the image, even XML tags are not been generated.
    Regards,
    Satish.

    Here...this should help !
    BLOB image in XML Publisher

  • Place image on canvas

    Hi.
    I am trying to place image on canvas.
    However the image doesn't show!!!!!!!!!!!!! :(
    no error and compiles well....
    private void AddTile(String image, int startx, int starty, int endx, int endy)
    try{
    tiles = ImageIO.read(new File(image));
    catch(Exception e)
    System.out.println("Image not Found");
    Graphics2D a =(Graphics2D)tiles.getGraphics();
    a.drawImage(tiles, 20,20,20,20,TileCanvas);
    if the above function is called the image should be placed on canvas right?
    TileCanvas is a canvas, and tiles is BufferedImage.
    just in case I'll put my source code followed by this
    * MapEditor.java
    * Created on 2006�� 7�� 20�� (��), ���� 11:48
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.imageio.*;
    import java.io.*;
    * @author SeiKwon
    public class EditorComponent extends javax.swing.JFrame
    private java.awt.Button AddTile;
    private java.awt.Button DeleteTile;
    private javax.swing.JMenu FileMenu;
    private javax.swing.JMenuItem LoadFile;
    private javax.swing.JPanel ManageTilePanel;
    private java.awt.Canvas MapCanvas;
    private javax.swing.JMenuBar MenuBar;
    private javax.swing.JMenuItem SaveFile;
    private javax.swing.JScrollPane ShowMapScroll;
    private java.awt.Canvas TileCanvas;
    private javax.swing.JScrollPane TileScroll;
    private BufferedImage tiles;
    private int tilecount = 0;
    /** Creates new form MapEditor */
    public EditorComponent()
    initComponents();
    AddTile("test.jpg", 0, 0, 10, 10);
    private void initComponents()
    ManageTilePanel = new javax.swing.JPanel();
    TileScroll = new javax.swing.JScrollPane();
    TileCanvas = new java.awt.Canvas();
    AddTile = new java.awt.Button();
    DeleteTile = new java.awt.Button();
    ShowMapScroll = new javax.swing.JScrollPane();
    MapCanvas = new java.awt.Canvas();
    MenuBar = new javax.swing.JMenuBar();
    FileMenu = new javax.swing.JMenu();
    SaveFile = new javax.swing.JMenuItem();
    LoadFile = new javax.swing.JMenuItem();
    getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    ManageTilePanel.setLayout(null);
    ManageTilePanel.setBorder(new javax.swing.border.TitledBorder("Tiles"));
    TileCanvas.setBackground(new java.awt.Color(255, 255, 255));
    TileScroll.setViewportView(TileCanvas);
    ManageTilePanel.add(TileScroll);
    TileScroll.setBounds(10, 22, 100, 230);
    AddTile.setLabel("Add");
    ManageTilePanel.add(AddTile);
    AddTile.setBounds(10, 260, 50, 26);
    DeleteTile.setLabel("Delete");
    ManageTilePanel.add(DeleteTile);
    DeleteTile.setBounds(60, 260, 50, 26);
    getContentPane().add(ManageTilePanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(310, 10, 119, 290));
    ManageTilePanel.getAccessibleContext().setAccessibleName("TilesPanel");
    MapCanvas.setBackground(new java.awt.Color(255, 255, 255));
    MapCanvas.addMouseListener(new java.awt.event.MouseAdapter()
    public void mouseEntered(java.awt.event.MouseEvent evt)
    MapCanvasMouseEntered(evt);
    ShowMapScroll.setViewportView(MapCanvas);
    getContentPane().add(ShowMapScroll, new org.netbeans.lib.awtextra.AbsoluteConstraints(12, 10, 290, 290));
    FileMenu.setText("File");
    FileMenu.setContentAreaFilled(false);
    SaveFile.setIcon(new javax.swing.ImageIcon("D:\\java\\MapEditor\\Image\\Save16.gif"));
    SaveFile.setText("Save");
    SaveFile.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    SaveFileActionPerformed(evt);
    FileMenu.add(SaveFile);
    LoadFile.setIcon(new javax.swing.ImageIcon("D:\\java\\MapEditor\\Image\\Open16.gif"));
    LoadFile.setText("Load");
    LoadFile.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    LoadFileActionPerformed(evt);
    FileMenu.add(LoadFile);
    MenuBar.add(FileMenu);
    setJMenuBar(MenuBar);
    pack();
    private void MapCanvasMouseEntered(java.awt.event.MouseEvent evt)
    Cursor cursorshape = MapCanvas.getCursor();
    MapCanvas.setCursor(cursorshape.getPredefinedCursor(CROSSHAIR_CURSOR));
    private void AddTile(String image, int startx, int starty, int endx, int endy)
    try{
    tiles = ImageIO.read(new File(image));
    catch(Exception e)
    System.out.println("Image not Found");
    Graphics2D a =(Graphics2D)tiles.getGraphics();
    a.drawImage(tiles, 20,20,20,20,TileCanvas);
    private void LoadFileActionPerformed(java.awt.event.ActionEvent evt)
    FileDialog fd = new FileDialog(this, "Open", FileDialog.LOAD);
    //fd.setFile("*.map");
    fd.setDirectory(".");
    fd.setVisible(true);
    String filename = fd.getFile();
    System.out.println(filename);
    private void SaveFileActionPerformed(java.awt.event.ActionEvent evt)
    FileDialog fd = new FileDialog(this, "Save", FileDialog.SAVE);
    //fd.setFile("*.map");
    //fd.setFilenameFilter("*.map"); // HOW TO USE?????????????
    fd.setDirectory(".");
    fd.setVisible(true);
    String filename = fd.getFile();
    System.out.println(filename);
    public static void main(String args[])
    java.awt.EventQueue.invokeLater(new Runnable()
    public void run()
    new EditorComponent().setVisible(true);
    }

    You have at least two problems.
    1) You are mixing AWT and Swing. Instead of using a Canvas you should use either a JComponent or a JPanel.
    2) In Swing, drawing such are you are doing should be done within the paintComponent(Graphics g) method using the Graphics provided as an argument to the method.
    P.S. I can't test you code because for some reason you feal the need to use a NetBeans specific layout manager.

  • How to load images using xml in flash

    Hi
    im working on a quiz project where i plan to load images using xml in to flash, can any one help with the script with AS2 or 3

    You'll find a tutorial for what you are after here:
    http://www.gotoandlearn.com/play?id=22

  • How do i place image instead of text  in swing button  ?

    Hi
    I need to place image in place of text in button i.e in place of button name i need to display image.
    Please tell me how to do this.......

    You'll need to use CSS floats.
    .floatLt {
         float:left;
         width:auto;
    HTML:
    <div class="floatLt">
    YOUR LOGO IMG HERE
    </div>
    <ul id="MenuBar1" class="MenuBarHorizontal floatLt">
    YOUR MENU GOES HERE
    </ul>
    Coding skills are essential to using DW.  Learn HTML & CSS first.  DW will be much easier.
    HTML, CSS & Web Design Theory Tutorials -
    http://w3schools.com/
    http://www.csstutorial.net/
    http://phrogz.net/css/HowToDevelopWithCSS.html
    http://webdesign.tutsplus.com/sessions/web-design-theory/
    Nancy O.

  • Unable to place images in Illustrator

    (Illustrator CS2)
    Hi, Im still learning the program but this is an error that hasn't occurred before under the same circumstances. I am working on Macs at uni (as I dont have Illustrator at home) and with images from my USB drive. I want to get the images into my ai document and trace them to make a logo, but Illustrator is preventing me from doing this in any way I try.
    * I try to 'place' (file>place...) a jpg from the USB into the ai document and one of three things happens:
    1. It appears as though nothing has happened so I 'select all' and this highlights an empty box where my image should be. This always happens on the first try after I open the document.
    2. I delete the box and try again. This time not even the invisible box is placed. The computer processes and then acts as if I commanded it to do nothing.
    3. Irregularly, if I try again it seems like it's about to happen (with a preview showing and asking me to approve) and then I get the message "the operation cannot complete because of an unknown error".
    * I tried opening the jpg in Photoshop and copying and pasting from there and got the same "unknown error" message, followed by the empty invisible box.
    * The images place in photoshop with no problem.
    * The images cant be dragged and dropped into Illustrator.
    * I tried opening the image with Illustrator and get the message "insufficient memory was available to complete the operation". The image is only small - less than 1MB.
    * I tried changing the file to a tiff and a pdf. I tried uploading the jpg to internet and saving and placing from there but this is unsuccessful. I tried other images saved both from my computer and the uni computer and they dont work.
    * SOMETHING WORKS: I tried with random images from the internet and some (usually around 4kb) saved to Documents and placed are done so successfully. But this is no use to me.
    I have done this in the past and there have been no problems placing or pasting images whatsoever. I dont think uninstalling is really an option as they are the uni's computers and that would probably be an ordeal.. I really need this to be fixed quickly as I have no other access to Illustrator and it's part of a job. It happens with all the computers in the lab. I cant even start making the logo until this is overcome. I would really appreciate some help! your ideas on what the problem could be and what needs to be done to fix it.
    Thanks for your time,
    Simon.

    One causes of this error I've encountered has to do with the volume size of the disk the user's home folder is stored on.
    I'm guessing that Simon Manion is logged onto the Mac at his university using a networked home folder that is stored on a volume larger than Illustrator scratch disk management routines can handle. (2TB is the limit I think.)
    The workaround that I've been using is to create a 500MB disk image with Disk Utility, mounting the image, and using it as the only scratch disk. You may need to make your disk image larger. (Remember to restart Illustrator for the new scratch settings to take effect.)
    Even though the actual local volumes are under 2TB, they don't seem to work as scratch disks if the user's home folder lives on a large server. For some reason, setting the scratch disk to a virtual volume gets thing working correctly.
    This has solved the place image problem for me in Illustrator CS, CS2, and CS3.

  • Place Image option is missing in Acrobat 9

    I'm trying to add an image object (jpg image) into a document.  Following the instructions to use Advanced Editing>Touchup Object tool, the right clicking, there are no options displayed.  The option to "place image" is absent.
    This previously functioned, but now it'g gone.  Any help??

    Security Restrictions of the document are unknown.
    The problem was
    resolved following an Adobe "repair" procedure, then I re-created the
    pdf file by printing it to pdf (the document had a few "typewriter"
    objects on it). Starting again from this point, the insert image options
    were present upon right click.
    My guess is that if there are
    typewriter objects on the document, this provides some conflict with the
    advanced editing tools. IF this is the case, the "help" sections on
    inserting images needs some more helpful info of this nature. Thanks for
    the response.
    On 2012-10-17 10:51, George Johnson wrote:
    RE: PLACE
    IMAGE OPTION IS MISSING IN ACROBAT 9
    created by George Johnson
    in Creating, Editing & Exporting PDFs - View the full discussion

  • Place images to a specific spot in a template

    I am trying to create an action that will drop images into a specific spot in another document and save it with a certain file name. After the first image is dropped in and saved, I want my next image to do the same and so on. I have all my images cropped to the correct ratio and being pulled from a folder on my desktop. I have my template open in Photoshop where I want my images from that folder to be dropped into. Is this possible?
    Any help is greatly appreciated!!
    Melissa

    Melissa
    What you want to do can be done but it is complex and actions have some limitations and can not use logic without using a script or two. File saving  can be tricky for an action will always save the same file name or use the current document name saved either overwriting the file or saving it to some other particular folder. Action that populate a template can be created but it will always populate the same number of images because an action can not use logic to find out how many spots there are to populate. There are different ways to drop an image into the active document you can paste into an area or just past in the image in as a new layer.  You can also Place images in as smart objects. Each method has some advantages and disadvantages. Layers can also be aligned with selections and layers can be transformed in size.  Your best off creating rule for creating a template and have a plan as to how your going to populate these templates that follow your rules. To protect the template from alteration you may want to dupe the template close the original and work on the duped version. When you dupe the template you can give the dupe a name if you do not name it the new document will have the same name with copy appended.
    Scripting is more powerful then Action but they are programs that are written in a scripting language. Photoshop supports three languages. VBS, Applescript and Javascript. Only Javascript is supported on both the MAC and PC platforms.  Even using Javascript you may need to code the script to work on both platforms for I'm sure there are some differences in the OS and file system the may need special handling to work on both platform.  From you description of you work-flow it is hard to tell exactly what you are doing.   If you trying simple create a photo Collage.  You may want to have a look at my free Package for Photoshop called "Photo Collage Toolkit" . I have been told this package works on a MAC but I created it and tested it on widows and got it To work with CS2, CS3, CS4 and CS5.
    Photo Collage Toolkit UPDATED Sept 24, 2011 added a script to replace a Populated Layered Collage Smart Object Image with an other image with resizing.
    Photoshop scripting is powerful and I believe this package demonstrates this.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    There are eight scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    Note: Rags Gardner www.rags-int-inc.com Photoshop Collage Template Builder script Copyright (c) 2006 builds layered Photo Collage Template psd files. Rags's has given me permission to include a modified version of his script in my package. The modification converts Rags's layered image template document into a flattened template compatible with Photoshop "Photo Collage Toolkit" package. There is also an option that will instead create a layered image stack like Rags's templates are these are also produced if you attempt to create a template with more then 53 images.
    Photoshop only supports up to 53 Alpha channels therefore with its design the Photo Collage Toolkit can only support collages with 1 to 53 images. I do not feel this is a big limitation for if you put 53 3:2 aspect ratio images on a large 16" x 20" paper they would need to be less then 1.9" x 2.86" in size if you wanted a frame around each and less then .95" x 1.43" on a 8" x 10" year book page size.
    While the maximum number of images in a collage is 53 you can actually create larger collages by populating a large number of images into several collages and then populate yet an other collage template with these populated collages. Each will be placed into the collage of collages as a single smart object layer. You may want to save the populates PSD file as Jpeg files first to cut down on the overhead of having large PSD file smart object layers in the collage of collages.
    Documentation and Examples

  • BLOB image in XML Publisher

    Currently we are using 6i reports to generate XML output, which in turn is passed to XML publisher to generate documents.
    I am trying to access a blob image from DB in 6i reports. How Can I pass this image to XML publisher.
    Basically my doubt is:
    How do I incorporate BLOB image from database into XML Publisher? What are the different approaches available?

    Hey David, well, this isn't the unique solution for displaying images in XMLP. The other alternative (wich is my plan b) is to have this images in a path in the server. So, you can bring the name of your image (maybe, a signature) from the database; I have test that and works very well.
    I'm trying to use an URL because the signatures are stored as BLOBs in the db and I was trying to re-create the file in the server, but it became a little complicated. So, in my case, I just have to resolve any of this issues and I'ld have my images in the reports.

  • How to retreive images and xml stored in temporary internet files

    hi all,
                  I am creating an air application that has to work in offline too.so i have decided to retrieve datas it from temporary internet files(is it a rightway or anyother way to do that if so pls suggest).   I have an issues of retreiving images and xml stored in the temporary internet files of the user system ..can anybody help me and give solution for this..
    regards,
    Divya.

    What software are you using to create the website? Perhaps there is some command you can implement on the website to force the entire file to be downloaded. If you use Dreamweaver, you might ask in that forum. If you make the link an ftp link rather than a http link, you might guarantee that the file will be downloaded in its entirety, but the download location will not necessarily be in a temp folder.

  • Insert link over an image in XML

    Hello,
    I recently bought this template: http://www.templatemonster.com/flash-templates/27466.html but I have a big problem. I want to add a hyperlink over the big images which appears when you click on bedrooms for example. There are 9 small images in the right side and 1 big image on the left. I changed all the images but I want also to add hyperlinks on some big images. The action script import an xml file like:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <root>
            <pageGallery nameGallery="GALLERY 1" name="gallery1" folder="gallery" line="3" maxImages="9">
                    <titleImages>               
                        <smallImages>_gallery_small_images_1.jpg</smallImages>
                        <bigImages>_gallery_big_images_1.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   
                    <titleImages>               
                        <smallImages>_gallery_small_images_2.jpg</smallImages>
                        <bigImages>_gallery_big_images_2.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   
                    <titleImages>               
                        <smallImages>_gallery_small_images_3.jpg</smallImages>
                        <bigImages>_gallery_big_images_3.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   ........
    Please help me with the correct syntax to add hyperlink over a big image in XML. I think I have to do some changes in .fla project, but I don't know where...
    Thank you !

    This is the as for "load big images"
    onClipEvent (load) {
        if (_parent._parent.numLoadTitle == undefined) {
            _parent._parent.numLoadTitle = 0;
            if (_root.part == undefined) {
                xmlNod = _root.xmlNodes.childNodes[0].childNodes[0];
            } else {
                var nameGalleryTytle:Number = _root.xmlNodes.childNodes[0].childNodes[0].childNodes.length;
                var i:Number = 0;
                while (i<nameGalleryTytle) {
                    titleNameGallery = _root.xmlNodes.childNodes[0].childNodes[i].attributes.name;
                    if (_root.part == titleNameGallery) {
                        xmlNod = _root.xmlNodes.childNodes[0].childNodes[i];
                    i++;
            AllxmlNode = xmlNod.childNodes[_parent._parent.numLoadTitle];
            images = AllxmlNode.childNodes[1].firstChild.nodeValue;
            titleInfo = AllxmlNode.childNodes[2].firstChild.nodeValue;
            var ifFolder:String = xmlNod.attributes.folder;
            if (ifFolder == undefined) {
                loadMovie(_root.url+images, cont.pic);
            } else if (ifFolder == "") {
                loadMovie(_root.url+images, cont.pic);
            } else {
                loadMovie(ifFolder+"/"+_root.url+images, cont.pic);
        } else {
            if (_root.part == undefined) {
                xmlNod = _root.xmlNodes.childNodes[0].childNodes[0];
            } else {
                var nameGalleryTytle:Number = _root.xmlNodes.childNodes[0].childNodes[0].childNodes.length;
                var i:Number = 0;
                while (i<nameGalleryTytle) {
                    titleNameGallery = _root.xmlNodes.childNodes[0].childNodes[i].attributes.name;
                    if (_root.part == titleNameGallery) {
                        xmlNod = _root.xmlNodes.childNodes[0].childNodes[i];
                    i++;
            AllxmlNode = xmlNod.childNodes[_parent._parent.numLoadTitle];
            images = AllxmlNode.childNodes[1].firstChild.nodeValue;
            titleInfo = AllxmlNode.childNodes[2].firstChild.nodeValue;
            var ifFolder:String = xmlNod.attributes.folder;
            if (ifFolder == undefined) {
                loadMovie(_root.url+images, cont.pic);
            } else if (ifFolder == "") {
                loadMovie(_root.url+images, cont.pic);
            } else {
                //loadMovie(ifFolder+"/"+_root.url+small[i], item["mini"+i].cont.pic);
                loadMovie(ifFolder+"/"+_root.url+images, cont.pic);
    ***** Here is the first frame frome scene:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    Stage.scaleMode = "noScale";
    Stage.align = "TL";
    setProperty("", _quality, "BEST");
    url = "tfile";
    _root.linkGallery=0;
    _root.titleGallery = 0;
    _root.cacheKiller = "true";
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, results_obj, xml) {//This fhunction gets called as soon as the XML loads and gets parsed.
        if (success_boolean) {
    stop();
    var parsed_obj = {};//We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
    var unCash = new Date().getTime();
    if (_root.cacheKiller == "true") {
        fileToLoad = url+"_main.xml?cacheKiller="+unCash;
        fileToLoad = url+"_main.xml";
    } else {
        fileToLoad = url+"_main.xml";
    XMLParser.load(fileToLoad,onFinish,parsed_obj);
    _root.emp.useHandCursor = 0;
    ///forplayer
    _root.mus = 1;
    _root.n = 1;
    _root.num = 1;
    *** This is the second frame :
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, gallery_obj, xml) {//This fhunction gets called as soon as the XML loads and gets parsed.
        if (success_boolean) {
            play();
    //system settings
    // frame number where readMore movieClip is situated
    pagesReadMoreFrame = 4;
    // frame number of the first content page
    firstPageFrame = 1;
    //system settings
    #include "gs/dataTransfer/xmlFunctions.as"
    //_root.link=_root.getMenuSystemOrder(0);
    //trace(_root.link)
    _root.link = 1;
    _root.titleNumPage = 1;
    _root.openNewGallery = true
    _root.part = _root.xmlNodes.childNodes[0].childNodes[0].attributes.name
    *** And here is the xmlFunctions.as:
    import flash.display.*;
    function loadBitmapSmoothed(url:String, target:MovieClip) {
        // Create a movie clip which will contain our
        // unsmoothed bitmap
        var bmc:MovieClip = target.createEmptyMovieClip("bmc", target.getNextHighestDepth());
        // Create a listener which will notify us when
        // the bitmap loaded successfully
        var listener:Object = new Object();
        // Track the target
        listener.tmc = target;
        // If the bitmap loaded successfully we redraw the
        // movie into a BitmapData object and then attach
        // that BitmapData to the target movie clip with
        // the smoothing flag turned on.
        listener.onLoadInit = function(mc:MovieClip) {
            mc._visible = false;
            var bitmap:BitmapData = new BitmapData(mc._width, mc._height, true);
            this.tmc.attachBitmap(bitmap, this.tmc.getNextHighestDepth(), "auto", true);
            bitmap.draw(mc);
        // Do it, load the bitmap now
        var loader:MovieClipLoader = new MovieClipLoader();
        loader.addListener(listener);
        loader.loadClip(url, bmc);
    var mainObj=_root.parsed_obj;
    var galleryObj=_root.gallery_obj;
    function textSelectable(selectedObject) {
        isTextSelected=getSettingsValue(mainObj, "textSelectable", "item");
        if (isTextSelected=="true") {
            selectedObject.selectable=true;
    function getXmlSection (obj, itemName,  sectionName) {
            i=0;
        while (obj[itemName][i]) {
            if (obj[itemName][i].name==sectionName) {
                returnedResult=true;
                return (i);
                break;
            i++;
    function getSettingsValue (obj, itemName, itemType) {
        sectionNum=getXmlSection(obj, "section",  "settings");
        k=0;
        while (obj["section"][sectionNum][itemType][k]) {
            if (obj["section"][sectionNum][itemType][k].name==itemName) {
                return (obj.section[sectionNum][itemType][k].value);
                break;
            k++;
    function getCopyright (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "copyright", "item");
        textSelectable(textObj);
    function getCompanyName (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "companyName", "item");
        textSelectable(textObj);
    function getSlogan (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "slogan", "item");
        textSelectable(textObj);
    function getSystemValue (textObj, systemOptionName) {
        textObj.htmlText=getSettingsValue(mainObj, systemOptionName, "item");
        textSelectable(textObj);
    function getMenuLink (textObj, linkNum) {
        sectionNum=getXmlSection(mainObj, "section",  "menu");
        textObj.htmlText=mainObj["section"][sectionNum].link[linkNum].value;
        textSelectable(textObj);
    function getMenuSystemOrder (linkNum) {
        sectionNum=getXmlSection(mainObj, "section", "menu");
        return (mainObj["section"][sectionNum].link[linkNum].systemOrder);
    function getGlobalText(textObj, textsNumber, optional:Boolean) {
        sectionNum = getXmlSection(mainObj, "section", "global_text");
        textObj.htmlText = mainObj["section"][sectionNum].texts[textsNumber].value;
        if (optional == undefined) {
            textSelectable(textObj);
        } else {
            // do nothing
    function getGlobalImageName(imageNumber) {
        sectionNum = getXmlSection(mainObj, "section", "global_img");
        //currentPage = _root.link-_root.firstPageFrame;
        imageParams = new Array();
        imageParams['name'] = mainObj["section"][sectionNum]["image"][imageNumber]["imageUrl"];
        imageParams['linkToOpen'] = mainObj["section"][sectionNum]["image"][imageNumber]["link"];
        return (imageParams);
    function getCurrentText(textObj, textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "pages");
        currentPage=_root.link-_root.firstPageFrame;
        textObj.htmlText=mainObj["section"][sectionNum]["page"][currentPage]["texts"][0]["pageTex t"][textNumber].value;
        textSelectable(textObj);
    function getMenuPreviousLink (linkNum) {
        k=0;
        systemOrder=getMenuSystemOrder(k);
        while (systemOrder) {
            if (systemOrder==linkNum) {
                orderResult=k+1;
                break;
            k++;
            systemOrder=getMenuSystemOrder(k);
        return (orderResult);
    function getCurrentImageName(imageNumber) {
        sectionNum=getXmlSection(mainObj, "section", "pages");
        currentPage=_root.link-_root.firstPageFrame;
        imageParams=new Array();
        imageParams['name']=mainObj["section"][sectionNum]["page"][currentPage]["image"][imageNum ber]["imageUrl"];
        imageParams['linkToOpen']=mainObj["section"][sectionNum]["page"][currentPage]["image"][im ageNumber]["link"];
        imageParams['target']=mainObj["section"][sectionNum]["page"][currentPage]["image"][imageN umber]["target"];
        return (imageParams);
    function getCurrentImageName_splash(imageNumber) {
        sectionNum=getXmlSection(mainObj, "section", "settings");
        imageParams=new Array();
        imageParams['name']=mainObj["section"][sectionNum]["image"][imageNumber]["imageUrl"];
        imageParams['linkToOpen']=mainObj["section"][sectionNum]["image"][imageNumber]["link"];
        return (imageParams);
    function checkLinkType (linkTextType, linkNumber) {
             k=0;
            typeCount=0;
            finalLinkNumber=parseInt(linkNumber)+1;
            currentPage=_root.link-_root.firstPageFrame;
            sectionNum=getXmlSection(mainObj, "section", "pages");
            linkTypeCkeck=mainObj["section"][sectionNum]["page"][currentPage]["link"][k]["linkType"];
            while (linkTypeCkeck){
                if (linkTypeCkeck==linkTextType) {
                     typeCount++;
                if (typeCount==finalLinkNumber) {
                    return(k);
                    break;
                k++;
                linkTypeCkeck=mainObj["section"][sectionNum]["page"][currentPage]["link"][k]["linkType"];
    _root.readMoreFrameType = 'readmore';
    function more_click_func(number) {
        tempNumber = number.split(" ");
        number=tempNumber.join("");
        number=number.toLowerCase();
        num=_root.pagesReadMoreFrame;
        currentPage=_root.link-_root.firstPageFrame;
        if( isNaN(Number(number)) ) {
            readMoreType = number;
        } else {
            readMoreType = 'readmore';
        //if( (_root.link<>num || _root.readMoreFrameType!=readMoreType)) {      
            if (_root.animation){
                //if (_root.link<>5 ){
            _root["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            //_root.menu2["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            if (number=='privacypolicy') {
                _root.readMoreFrameType = 'privacypolicy';
                sectionNum=getXmlSection(mainObj, "section", "privacyPolicy");
                titleNum=getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
                textNum=getXmlSection(mainObj.section[sectionNum], "item", "pageText");
                _root.readMoreTitle=mainObj.section[sectionNum]["item"][titleNum].value;
                _root.readMoreText=mainObj.section[sectionNum]["item"][textNum].value;
            } else if (number=='termsofuse') {
                _root.readMoreFrameType = 'termsofuse';
                sectionNum=getXmlSection(mainObj, "section", "termsOfUse");
                titleNum=getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
                textNum=getXmlSection(mainObj.section[sectionNum], "item", "pageText");
                _root.readMoreTitle=mainObj.section[sectionNum]["item"][titleNum].value;
                _root.readMoreText=mainObj.section[sectionNum]["item"][textNum].value;
            } else {
                _root.readMoreFrameType = 'readmore';
                sectionNum=getXmlSection(mainObj, "section", "pages");
                linkCount=checkLinkType("readMoreLink", number);
                i=0;
                linkTitleNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][li nkCount], "item", "title");           
                linkTextNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][lin kCount], "item", "linkText");
                _root.readMoreTitle=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount ]["item"][linkTitleNum].value;
                _root.readMoreText=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount] ["item"][linkTextNum].value;            
                    _root.subMenu.subMenu.subMenu["item"+(_root.link-1)].mouseRelease = true;
                    _root.link = 8;
                    _root.linkClosePanel = false;
                    _root.titleNumPage = _root.pagesReadMoreFrame;           
                    _root.content.play();           
    function getContactFormText(textObj, textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        textObj.htmlText=mainObj["section"][sectionNum]["texts"][0]["pageText"][textNumber].value ;
        textSelectable(textObj);
    function getContactFormText_only(textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        return htmlText=mainObj["section"][sectionNum]["texts"][0]["pageText"][textNumber].value;
    function getContactFormParams() {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        ContactFormParams=new Array();
        servNum=getXmlSection(mainObj["section"][sectionNum], "item", "serverOption");
        recNum=getXmlSection(mainObj["section"][sectionNum], "item", "recipient");
        ContactFormParams['rec']=mainObj["section"][sectionNum]["item"][recNum].value;
        ContactFormParams['serv']=mainObj["section"][sectionNum]["item"][servNum].value
        return (ContactFormParams);
    // gallery functions
    function getGallerySystemProperty(propName) {
        sectionNum=getXmlSection(galleryObj, "section", "systemOptions");
        propNum=getXmlSection(galleryObj["section"][sectionNum], "option", propName);
        return (galleryObj["section"][sectionNum]["option"][propNum].value);
    function getGallerySettings(propName) {
        sectionNum=getXmlSection(galleryObj, "section", "settings");
        propNum=getXmlSection(galleryObj["section"][sectionNum], "option", propName);
        return (galleryObj["section"][sectionNum]["option"][propNum].value);
    function getGalleryImage(imageNum, categoryNum) {
        sectionNum=getXmlSection(galleryObj, "section", "imagesData");
        imageParams=new Array();
        image=galleryObj["section"][sectionNum]["category"][categoryNum]["image"][imageNum];
        nameNum=getXmlSection(image, "item", "imageUrl");
        commentNum=getXmlSection(image, "item", "imageComment");
        imageParams['name']=image['item'][nameNum].value;
        imageParams['comment']=image['item'][commentNum].value;
        return (imageParams);
    function getCurrentGalleryName(categoryNum) {
        sectionNum=getXmlSection(galleryObj, "section", "imagesData");
        return (galleryObj["section"][sectionNum]["category"][categoryNum].name);

  • Most efficient way to place images

    I am composing a Catalog with a lot of images along with the text.  The source images are often not square (perfectly vertical, portrait).  I also want to add a thin line frame around each one in InDesign to spurce up the look.  I'm spending a lot of time in Photoshop straightening images, because rotating in Indesign to get the image straight results in a non-straight frame.
    Should I create a small library of frames that I place, then place non-straight images in them (and how do I do that) and rotate in InDesign?  Etc?
    What would be the most efficient way to do this?
    Thanks

    To tag onto what Peter said, when you click on the image with the Direct Selection tool you can also use the up and down arrow in the rotation Dialog (where you enter the angle, at the top) to easily change the rotation.
    Also, when you place images in InDesign you can select a number of images at once and continually click the document (or image frame) and place all the images you selected to import. To clarify, you can have a whole bunch of empty image frames on the page then go to file > place and select all your images, then continually click and place them inside each empty frame.

  • Which is better way to place images ?

    I'm making huge catalog with a lot of products.
    Which way is the proper way or better way to do?
    Make individual product image paste on photoshop and bring in to InDesign and lay images (re-sizing smaller, not bigger) and text out.
    or
    Make multiple product images paste on one photoshop document which size to catalog size already, then place into InDesign.
    My thought is, if you don't make images bigger in InDesign, it's easier to make individual images and bring to InDesign and playing around for layout.

    placing many images can go fast, select all (or a part) images you like to import, before placing the first image, hold down COMMAND-SHIFT key, now you can draw a grid for the images, when you are drawing that grid, you can use the UP, DOWN, LEFT or RIGHT keys to increase or decrease the number of collums and/or rows. That way you can place images at high speed.

  • How do I place images in iBooks Author?

    How do I place images in iBooks Author?

    Drag them from the Finder onto a page
    ...or...
    Copy/Paste
    See: Publishing With iBooks Author
    http://shop.oreilly.com/product/0636920025597.do

Maybe you are looking for

  • 11gR2 2 node RAC/ASM hanging

    Hi, I am attempting to install 11gR2 on two nodes. Things seem to be going quite well from the first node, including running of root.sh On the second node however, when running root.sh it hangs at this point : ========================================

  • Iphone wont turn on after ios 7.1 update, help please

    Guys, please help me with this problem. After updating it to iOS 7.1 its no longer turning on

  • Most efficient way from FCP to DVD?   Encode when?

    I know this is a frequent question, but new options in FCP 5, Compressor, and DVDSP have made a confusing process even more so. Once I've edited something in FCP, what is the highest quality way to get that into DVDSP? Export as QT, import into DVDSP

  • Basic SSO question

    I'm a little puzzled by the "Basic SSO" option (ie: <SSOVendor value="50"/>) .. the admin guide mentions that "...the Portal Server can derive authentication information from the remote authenticationsource or LDAP configuration source.." what does t

  • Can I have 3 GB of RAM in my Intel Core 2 Duo ..or does it have to be even?

    I'm on a MacBook Intel Core 2 Duo 2 GHZ. I upgraded one Ram slot to 2GB and kept the other one at 1GB (as per Tekserve's NYC doing). Now I get a very active pinwheel and very very slow startups. I heard that you have to have even (1 and 1 or 2 and 2)