Using a preloader in a separate AS file?

Hey folks,
I've appropriated a preloader I created previous where it existed on the main timeline. For my new project, I placed it in an external AS file, but something's off. I keep getting this error message, referencing line 16 in my line of code:
"1046: Type was not found or was not a compile-time constant: Event."
The code is below:
package {
    import flash.display.MovieClip;
    import flash.events.Event.ENTER_FRAME;
    import flash.events.MouseEvent;
    import MainNav;
    import Gallery;
    import MP3Player;
    public class ZDSite extends MovieClip{
        stop();
        private var total:Number = stage.loaderInfo.bytesTotal;
        private var loaded:Number = stage.loaderInfo.bytesLoaded;
        addEventListener(Event.ENTER_FRAME, loading);
        private function loading(event:Event):void {
            //add in load bar here later: Bar_mc.scaleX = loaded/total;
            //add in load text box here late: txtLoaded.text = Math.floor((loaded/total)*100)+ "%";
            //add more load stuff here later
            if (total == loaded) {
                play();
                removeEventListener(Event.ENTER_FRAME, loading);
                //add in function to check if current frame = 60 and stop there
                //add in MainNav, Gallery, and MP3Player to bring objects to stage here
    public class MainNav extends MovieClip {
        //insert Main Nav Stuff here
    public class Gallery extends MovieClip {
        //insert Gallery stuff here
    public class MP3PLayer extends MovieClip {
        //insert MP3 Player stuff here
Any insight would be appreciated. Thanks!

Wow....it is always two steps forward, and one step back with me. I'm missing something and my blurry eyes cannot figure it out. Help!
package {
    import flash.display.MovieClip;
    import NavButton;
    import flash.events.Event;
    public class ZDSite extends MovieClip {
        private var _navButton:NavButton;
        private var total:Number=stage.loaderInfo.bytesTotal;
        private var loaded:Number=stage.loaderInfo.bytesLoaded;
        function ZDSite() {
            //Create the main navigation
            addEventListener(Event.ENTER_FRAME,loadSite);
        private function loadSite(event:Event):void {
            //add in load bar here later: Bar_mc.scaleX = loaded/total;
            //add in load text box here late: txtLoaded.text = Math.floor((loaded/total)*100)+ "%";
            //add more load stuff here later
            if (total == loaded) {
                trace("site loaded, starting opening animation and executing nav build");
                //IntroAnim_mc.play();
                trace(IntroAnim_mc.totalFrames);
                for (var i:Number=0; i < 0; i++) {
                    if(IntroAnim_mc.currentFrame == IntroAnim_mc.totalFrames) {
                        createNav();
                    else {
                        IntroAnim_mc.play();
                removeEventListener(Event.ENTER_FRAME,loadSite);
        //add the nav buttons on the stage
        private function createNav():void {
            _navButton=new NavButton;
            addChild(_navButton);

Similar Messages

  • Collect Thread Dump using Script and direct to separate log file

    Dear Legends,
    I request you to provide me some useful guide lines to collect Thread Dump using script in linux and redirect the output to a separate log file, not the STDOUT file. If it is redirecting to STDOUT then how to extract only the thread stack to a separate log file.
    i used
    ps -ef | grep java
    kill -3 <pid> >> ss1_td.log
    but it is not providing the thread stack to the log file.
    Anykind of help would be appreciated much.
    Regards,
    Karthik

    Hi Ram,
    Really a great and useful script for me at the right time. It solved my requirement and i made some changes to my requirement and the script it working fine to collect the thread dump and even i have checked the thread dump with SAMURAI works fine.
    Helpful site also refer sites like these which contains more valuable things for weblogic. We will meet in the forums again.
    Note: also please update several links available in the site like UNIX scripts, WLST, Python etc.
    Regards,
    Karthik

  • Array in separate CS file

    Hello, I am new to C#, so I have maybe stupid question:
    How do I use something declared in a separate CS file. Let's say an array of strings.
    CLASS1.CS:
    using System;
    public class Class1
        string[] Dictionary = new string[] {
            "one",
            "two",
            "three"
    Now how do I use it in MainWindow class?
    Vlastimil Burian

    You need to make your field Dictionary public. Then Class1 will compile with a publicly visible field Dictionary which you can access from other code files by instantiating a new Class1 and calling .Dictionary.
    using System;
    public class Class1
    public string[] Dictionary = new string[] {
    "one",
    "two",
    "three"
    using System;
    public class Console
    public static void Main(params string[] args)
    var myClassInstance = new Class1();
    var myClassesDictionary = myClassInstance.Dictionary;
    I recommend you invest a couple of dollars in a C# how to programming book, this will save you lots of time trying to figure out everything on your own and walk you through the basics. Here are some suggestions.
    C# Programming for Beginners
    Head First C#
    C# 5.0 All-in-One For Dummies 
    Good luck!!
    -Igor

  • Automatically create new Excel file from template using data from a selected row in a separate Excel file

    I am fairly new to Macro and VBA in Excel. I am trying to reduce the amount of work involved in a task that is performed often in our office. Currently, the task involves using 2 separate Excel files. One file is a tracking sheet and the second is the document
    that gets sent out to the client. The second document has all the same information that is inserted into the tracking sheet. What I would like to do is have the information that is in one row on the tracking sheet populate into a new excel file that is created
    automatically from an existing template.
    I have been able to make this partially work. What I have been able to achieve is have the cell that is selected in the tracking sheet (the description field) copy into the new file that is created from the template that is on our server.
    Sub NewRFI()
    ' NewRFI Macro
        MsgBox Selection.Address(ReferenceStyle:=xlA1, _
                               RowAbsolute:=False, ColumnAbsolute:=False)
        Selection.Copy
        Workbooks.Add Template:= _
            "template file path goes here"
        Range("C14").Select
        Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:= _
        False, Transpose:=False
        Range("C14").Select
        Application.CutCopyMode = False
    End Sub
    What I need to do is get the rest of the information from that same row in the tracking sheet to copy to the new file as well. The other information includes the document number (one cell to the left of the selected cell), who it is from (one cell to the
    right of the selected cell), and the date (two cells to the right of the selected cell). As stated, this information is all in the same row on the tracking sheet. Each piece of information needs to be copied to a certain cell in the new file and I do not want
    the source formatting to be copied to the new file.
    Ideally, I would like it to operate like so: select the first cell in the row (in this case would be the document number field). Then click a button to run the macro that will then copy the information from that row in the tracking sheet to specific cells
    in the new file that is created from the template.
    This process will save us from having to either manually copy and paste the information into the new file or re-type the same information that is already in the tracking sheet.
    This is probably a simple thing to do but it would be great if anybody had some insight on this issue. Thanks in advance!

    Try code like the following. You will have to change the target cells (D25, F1 and H4) to the ones you want, I just used some arbitrary cells as example.
    Sub NewRFI()
    Dim rngCell As Range
    Set rngCell = ActiveCell
    MsgBox Selection.Address(ReferenceStyle:=xlA1, _
    RowAbsolute:=False, ColumnAbsolute:=False)
    Workbooks.Add Template:="template file path goes here"
    Range("C14").Value = rngCell.Value
    ' Change the target cells as needed
    Range("D25").Value = rngCell.Offset(0, -1).Value
    Range("F1").Value = rngCell.Offset(0, 1).Value
    Range("H4").Value = rngCell.Offset(0, 2).Value
    End Sub
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • Weblogic 12c JSF2 and EJB3.1 using CDI injection , in separate jar files

    I am trying to inject a stateless EJB and  managed Bean of JSF2 into a CDI managed controller.
    That means using @inject replace @EJB of EJB and @Named of CDI replace @ManageBean in JSF2 ,  EJB3.1 and JSF2 in separate jar files.
    At result,My  test  gets the following Exception in  weblogic 12c。
    If EJB in separate files and Managed Bean of JSF in WEB-INF/classes not separte file, then no problem.
    weblogic.management.DeploymentException:
         at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:123)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:239)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [ISaleInfoService] with qualifiers [@Default] at injection point [[field] @Inject private com.hylandtec.hystone.showcase.web.SaleInfoBean.saleInfoService]
         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:258)
         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:105)
         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:125)
         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:324)
         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:309)
         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:361)
         at com.oracle.injection.provider.weld.WeldInjectionContainer.start(WeldInjectionContainer.java:105)
         at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(CDIAppDeploymentExtension.java:60)
         at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Edited by: user8823518 on 2012-3-12 上午12:49

    This is a Weblogic 12.1.1 bug (a patch is available), explained here:
    http://docs.oracle.com/cd/E24329_01/doc.1211/e26593/issues.htm#BCFGBBBE
    extract:
    If a WAR file has two embedded bean deployment archive JARs (that is, JARs that contain META-INF/beans.xml), an UnsatisfiedDependencyException occurs if a class in one JAR contains an @Inject that is of a type that is defined in the other JAR.
    Workaround
    +Download and install patch 13563205. Enter this value in the Patch Number Search field on the Patches & Updates tab of My Oracle Support.+

  • Can you have two separate iTunes files on one computer?

    I gave my daughters each an old iPOD. One is 20 GB and the other is 60 GB. I take an iBOOK laptop with me when I visit so I can update them. In the past, they shared the 20 GB iPOD only. Now I have a problem as one iPOD can store a lot more than the other. Is there any way to have two separate iTUNES files on one iBOOK computer, one with the songs for the 20 GB iPOD, and the other for the 60 GB iPOD?

    The problem with making separate accounts is that this is a laptop, so likely not a huge hard drive, and if the three iTunes libraries need to have a lot of the same music (because everyone or two or three like some of the same stuff) you end up with double or triplicate copies of the music on the hard drive eating up drive space. Since they don't use his laptop normally, creating more accounts (with all the associated files and drive space usage each account would eat up) it probably isn't worth it.
    Instead, the best approach is like Chris said, to make playlists for the girls in the main library and then set up the various iPod to either sync everything (if big enough) or sync only specific playlists (if not big enough).
    Alternatively, they can set their iPods to manual syncing and then when Dad is visiting they can hook up their iPods and "shop" the library and drag in whatever they want to add to the iPods and delete what they no longer want.
    Patrick

  • Loading separate JAR files.

    Hello.
    I have an application that loads functionality from separate jar files so that the application has a "hot deploy" feature. This means that the application reloads a certain functionallity if a new jar is deployed to that folder. This also means that the jars containing this functionality must be in a separate forlder than the jars for the application framework, or the system would try to load this as a functionallity as well.
    In my JNLP file, I load the whole application framework at startup, but none of the functionality jars as these are loaded after the application has logged the user in and so on. I use URLClassLoader to load the funtionality classes but in these classes, I import from the allready loaded framework, and the functionalities I try to load throw an excaption that they do not find the classes in the framework.
    Any ideas as to how the externally loaded jars can find classes loaded into the framework? This works perfectly well when I don't use web start, so there must be some class loading issues I am not aware of.
    Thank you.
    -r

    OK, I am making some progress, but now I have a different problem: Some of the framework for loading was written by someone else and I would really like access to the debug information it prints without having to rewrite a lot to print it all to files. Is there any way to get access to everything that is being printed on System.out from web start. Been looking around but I can't find anything on the subject.

  • Separate CSS files for Differenct Applications in the Same Workspace

    I am working in APEX 4.0, using Theme 4 (Topaz), primarily with the region template "Top Bar." The application I am working on has gotten so large that I decided to break it into two applications. So I copied the original application and then deleted the pages that I did not want in the second application. I then modified the authentication for a single login. One of the nice things about the Top Bar template is that you can color the background. I had a blue background in the first application and wanted to use a differenct color in the other. So I created a second CSS file and uploaded it to the Cascading Style Sheets area of the Shared Components file for the second application. Turns out that both it and the style sheet for the first application now show up in the CSS file area. The CSS file for the second application has no effect. Here is the CSS code:
    .rc-content-main
          background-color: #E5E5AA;
         }I also tried giving the region on each page in the second application a static id and then identifying them in the CSS file by the id. That didn't work either, at least not yet. Sometimes it takes the server a while to refresh.
    Question: For two applications in the same workspace, can there be separate CSS files? If so, how do I set them up so that each responds only to one of the applications?
    Edited by: Doug on Nov 14, 2012 4:54 AM
    Edited by: Doug on Nov 14, 2012 7:16 AM

    Hello,
    If you upload your file to Shared Components >> Cascading Style Sheetst then:
    edit your page template in the header section and just before +*</head>*+ tag  add :
    <link rel="stylesheet" src="#WORKSPACE_IMAGES#MY_FILE.css" type="text/css" />And that will be applied for all pages that have the same Page Template.
    You can edit a page and put this in the header section to be applied only for a that page:
    <style>
    <link rel="stylesheet" src="#WORKSPACE_IMAGES#MY_FILE.css" type="text/css" />
    <style>If the file is on your web server then replace #WORKSPACE_IMAGES# with #IMAGE_PREFIX#
    This should be helpful to you:
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_sub.htm
    Best Regards,
    Fateh
    If you believe that my answer is correct or helpful to you, then please mark it as helpful or correct...

  • I have an iMac 2013 running OSX 10.9.4. I want to use Carbon Copy Cloner to backup user files to an external hard drive. Then I want to remove iPhoto libraries from iMac. What will happen to the iPhoto libraries that I back up when I run backup in a

    I have an iMac 2013 running OSX 10.9.4. I want to use Carbon Copy Cloner to backup user files to an external hard drive to free up space on my iMack Hard drive.
    So, say I make the backup today, delete iphoto libraries from my iMac, and then backup my iMac in a week. What happens to the iphoto libraries that are on the external backup drive now that I am backing up the iMac where they no longer exist?
    I will have them backed up to a separate second external drive as well.
    I'm just very cautious about removing them from the hard drive.
    Thanks for helping and understanding my crazy caution!

    I'd like to store my Aperture /IMovie Libraries on an external hard drive.
    That is fine and recommended.. use the fastest disk you can afford.. ie Thunderbolt>USB3>FW800>USB2.
    In addition, I'd like to partition the external hard drive so that Time Machine can use it to both back up my IMac and the external library drives.
    Let me be clear.. you want to partition the one disk.. use it for TM and move your files to the external disk.. and then backup to the same disk.. You can do it.. but that is not a backup.. that is an experiment in how long you can get away with running files and backups on the same disk before you lose everything.. like Russian Roulette.. pull the trigger enough times and laws of probability will do you in.
    You must have backups on a different disk .. otherwise it is pointless.
    Can I set up a RAID 5 format for redundancy?
    No.. you can buy special USB and Thunderbolt external drives that support RAID..
    BUT that is still not a backup.. let me show why.. you make a silly move and corrupt your file in aperture.. it is not that rare.
    Raid will corrupt all copies of the files.. it is replicated across all disks.
    Delete a photo it is deleted across all disks.. you have no recovery.
    Alway, always consider RAID system one disk.. backup onto another disk.. and if the photos or movies are at all important to you.. ie your family .. make another copy and store in a relatives house.. There is no such thing as too much redundancy.

  • Exporting or Printing each page of a Crystal Report to a separate pdf file.

    Is there a way to export or print each page of a Crystal report to a separate pdf file?  If possible, I would look to use the family nunmber field in my report as the file name.  This is not required, but would be helpful.  Thanks

    Hello,
    Standalone CR Designer doesn't have the ability but CR Server or BOE does. Or if you have a .NET or Java you could write an app that would spit out one page at a time.
    Don

  • Using Spry.Data.XMLDataSet. Can xml file name be set to change on calendar date?

    I have a website that uses Spry Data XML DataSet to list common pests for the current month. http://www.shspestcontrol.com/
    Each month's list of pests is in a separate xml file (e.g. pests-august.xml)
    Rather than manually updating the file name each month, can it be setup to automatically change the name
    For instance on January 1st, file name changes to pests-january.xml, Feb 1st changes to pests-february.xml. etc.
    <script type="text/javascript">
    <!--
    var dsPests1 = new Spry.Data.XMLDataSet("xml_files/pests-august.xml", "gallery/pests/pest");
    //-->
    </script>
    Any advice if this can be done and if so how to go about doing it would be much appreciated
    Thanks, Toni

    <script>
    var dsPests1 = new Spry.Data.XMLDataSet("pests-september.xml", "gallery/pests/pest");
    function setPestsFile(){
        var months = new Array(13);
            months[0]  = "january";
            months[1]  = "february";
            months[2]  = "march";
            months[3]  = "april";
            months[4]  = "may";
            months[5]  = "june";
            months[6]  = "july";
            months[7]  = "august";
            months[8]  = "september";
            months[9]  = "october";
            months[10] = "november";
            months[11] = "december";
        var now = new Date();
        var monthnumber = now.getMonth();
        var monthname = months[monthnumber];
        dsPests1.setURL("pests-"+monthname+".xml");
        dsPests1.loadData();
    window.onload = setPestsFile();
    </script>

  • After using Merge Clips in CS6, the resulting file now has two audio tracks

    Hey guys,
    I'm running into a weird problem after using the Merge Clips option. I have my video and audio selected, I've already moved the audio so they're both synced. It looks like this:
    Then I use Merge Clips and pull the new file into a new sequence which in turn looks like this:
    I checked the audio channels for both and apparently the merged file separated the left and right audio channels into two separate streams as opposed to using the single stream for both channels like the original.
    Anyway to prevent it from doing this?

    So according to Adobe's website: http://help.adobe.com/en_US/premierepro/cs/using/WS2bacbdf8d487e582-73725e6a12e5a6165d0-7f ff.html
    At the very bottom they list limitations, one of which being "Merged clip audio results in mono track audio only."
    Which I was familiar with before posting this. It doesn't seem however that the two tracks are mono it looks like they are two separate stereo tracks. If I mute one I still get audio in both speakers even though I muted the "right" track.
    Here's what they look like in the audio mixer
    The original only has the left most track.
    I guess the only thing to do is just deal with it or render out each clip uncompressed to have that single audio channel.

  • Writing to separate XML files

    I'm not too familiar with XML yet, so I don't know what its called, but you know how you can "include" another XML file in this fashion:
    <?xml version="1.0"?>
    <!DOCTYPE configuration SYSTEM "my.dtd" [
      <!ENTITY include SYSTEM "include.xml">
    ]>
    <root>
      &include;
    </root>... and all the stuff in include.xml gets essentially copied into yours whenever the file is read. Well how can I generate a file that looks like this. I basically want to be able to choose which nodes underneath the root node I can put in separate files. I'm doing this by converting a DOM to XML with this code...
             Document d = MY_DOCUMENT;
             DOMSource domSource = new DOMSource(d);
         TransformerFactory tf = TransformerFactory.newInstance();
         tf.setAttribute("indent-number",4);
         Transformer transformer = tf.newTransformer();
         transformer.setOutputProperty(OutputKeys.METHOD, "xml");
         transformer.setOutputProperty(OutputKeys.ENCODING,"ISO-8859-1");
         transformer.setOutputProperty(OutputKeys.INDENT, "yes");
         transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"ems.dtd");
         FileOutputStream fileOut = new FileOutputStream(filename);
         transformer.transform(domSource, new StreamResult(new OutputStreamWriter(fileOut,"utf-8")));
         fileOut.close();

    You can also use commands like bcp withT-SQL  query to get the shredded XML values saved as separate xml files. You've xpath function like query() available which will shred out parts of XML from your main column
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • In Design Data merge into separate pdf files with variable data name

    Hi all, thank you for taking the time to read this.
    Here's what I have.
    I've created a file in indesign using a 65 page document.
    With this document I've set it up to have specific data in certain areas with data merge.  I have that part setup and it works fine. 
    When I go to export PDF it creates one massive pdf document with all the variable data in it.  However here is the scenario I would like.
    1. Indesign to create a separate pdf file for each record.  So in this example it would be 100 different 65 page pdfs since it should have different pdfs for each record and there are 100 records in the csv.
    2. The pdf should be named after each variable record.  For example record one says name "Joe", record 2 name "Frank".  So it should create joe.pdf, frank.pdf etc.
    How can I accomplish this?

    I don't know if this script works in CS4 or not:
    http://indesignsecrets.com/page-exporter-utility-peu-5-script-updated-for-cs3.php

Maybe you are looking for

  • MS Word doc to PDF containing Signature

    Hi, I am using Vista and Adobe Acrobat Professional 8.1.2. I scanned a signature and converted it to a TIFF file with the background transparent. For those that are interested, my process to convert a scanned signature using Photoshop to a TIFF file

  • JDEV 11G R1 - Panel Stretch Layout

    Hi, I am using Jdev 11g R1. I would like to know how to set the size of the "Panel Stretch Layout" component to fit to the complete window. Whenever I add it it just render on some part of the window and I have to change the width and height to set t

  • Sometimes A NullPointerException

    Hi, i implemented a video stream sender, it works normally, but sometimes i get a NullPointerException and i do not know why. The Exception do not say in which line the error is. I hope some one can help me. Here is my code: * File: VideoStreamSender

  • How do i install yahoo messenger and gtalk on my n...

    How do i install yahoo messenger and gtalk on my nokia 305.

  • Music Sync Issues

    this isnt a question, more a helpfull answer to what i belive is a common issue since the 5.1 update. i have found since update, that there are certain songs that just arent syncing to my iPhone. its non-discriminative when it does this, choosing not