Create Document Class

Hi!
In tx [SKPR07] you can select a document class. Where are these classes created? How are they connected to the Document Area? I'm trying to index an archive link repository but I can't get it to work. I think that this could be a step in the right direction. I suspect that the Document Class has something to do with the [DMWB] transaction. Am I right?
//Krip

Hi,
You have the default Document Classes already avaialble.
Basing on the type of element you want to create check the Document classes available in the help link.
Regards,
Eswari.

Similar Messages

  • ArchiveLink - creating a new document class - how?

    Hello,
    I want to store csv files on our archive via archive link.
    But the file type that I need is not available in R/3.
    Ok, I think here is where my solution could be found:
    -> archive link -> basic customzing -> edit document classes
    Document class:  I add "CSV"
    But what´s behind the MIME type of a web object.
    What do I have to do to fill this field with something useful.
    What is to implement behind?
    Any help is appreciated!
    Best regards
    Dirk

    if you  go  throught  there   archive  link  creation  in the  archiveing  process  ...
    FTWP   is the comfiguration   tcode  for archive   of  DART  extract ....
    there   Comtemporary  Repository    has to be  created  with   document  area->   here     dropdown  is there  for    for archieve  link ,  for MIME ,, BFT ...etc ..
    this will decide the file  format  .....
    i am working in DART   Exctraction   project  .....we  use  to  create the  archive link    for that ......
      normally   in archiving processs all the files  stored  in csv   only 
    Girish

  • Create content modell, logical/physical document class, TA CT04/cl02/dc10

    Dear experts,
    Im about to get to know the SAP DMS. Content Server is already running working as well as the content repositories. I now wanna set up a content modell for testing with knowledge provider.
    Im a bit confused about the different ways of doing that. What is actually the difference between creating a CHAR in TA ct04, creating a class in Cl02 with type 017 and the alternative of creating a content model with TA SRMCMCREATE or directly in the document modelling workbench.
    Once ive hopefully understood the difference how can i start actually creating / uploading real (physical documents) cause in dont understand what TAs cvn01n/02n/03n are for.
    There is a large number of function modules for kpro. Fo example when testing SDOK_LOIOS_CREATE i have to enter an RFC destination. What do i have to type in as RFC destination intending to store in content repositories of content server?
    I know thats more than one question at a time but i would be very pleased some of these get answered.
    Thanks a lot in advance.

    Dear Christian,
    I would like to start providing you information with CT04 question. Here the CHAR value is used for maintaining the type of classification characteristics. The CHAR entry stands for 'Character' type which
    means you can add alphabetical and numerical values to this classification characteristic. Transaction CT04 is normally used for creating classification characteristics. In CL02 you can create a class for
    classification and then add the characteristics to it. In the standard class type 017 is used for classifying document info records.
    Transaction CV01N/CV02N/CV03N are used in standard for document managment functionalities. Here you can create/edit/display your document info records. These document info records are like a frame for your original files which could be added to an info record and then checked into your Content Server.
    During this check in function the KPRO function modules are used too.
    For further information I would recommend you to see the SAP online documentation under http://help.sap.com.
    Best regards,
    Christoph

  • Generate document classes when creating WebService from WSDL using JAXRPC

    Can anybody tell me how i can generate request response document classes.Response is return type and request is its parameter of method (service provided by webservice).
    I had used cmd:
    wscompile -keep -gen:both -d src config.xml
    My config.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl
    location="wsdl\TroubleTicket\v1-2\JVTTroubleTicketSession.wsdl"
    packageName="src">
    <handlerChains>
    </handlerChains>
    <namespaceMappingRegistry>
    </namespaceMappingRegistry>
    </wsdl>
    </configuration>
    After running the wscompile command, i was able to generate SOAPBuilder classes, LiteralSerialiser files, Request-Response-Exception classes and the Tie, stub, Port and Impl classes.
    How can i procedd furthur???

    Arushi,
    I would refer to the online tutorial for JWSDP, which walks you through creating a web service and a Client to the service.

  • Document class to create official document number

    Hi frnds,
        I have a requirement in which for intercompany sales process official document number should be genereted .. But I am  not able to get the number generated and on debugging i found that the document class is not assigned to official  document class .. How can we assign this document ( Intercompany sales document ) to the officilal document class for generating official document number...
    Thanks in Advance...

    try this...... in your second frame .........
    var timer:Timer=new Timer(300);
    timer.addEventListener(TimerEvent.Timer,onTimer);
    timer.start();
    function onTimer(eve:TimerEvent):void{
    timer.stop();
    /////////////////////////////////////   place your whole code inside it................may b this will help ........

  • How to create a class using java script..

    Hi all,
    Iam new to java script and I tried out the following program but its not working..I basically created a class just like a java prog' but Iam not getting any output or error.Iam attaching the code below.
    If I created one function inside the script and create one object its working fine but what should I do when I have a lot of function??so I created a class and put all the function and created an object but its not working..
    Do let me know what changes should I do..Iam attaching the code which I had written. or give me an example of how to create a class with couple of functions using JAVASCRIPT
    Thanks
    Avis_su
    <html>
    <head><title>JSP Page</title></head>
    <body>
    <SCRIPT language = "JavaScript">
    <!--
    //Created classes
    class book
    var title: String;
    var author:String;
    function author()
    doucument.write("Author is " +this.author);
    function tile()
    doucument.write("Title is " +this.title);
    function printall()
    var counter = 0;
    function author();
    function title();
    var chapters = Array[String];
    for(chapter in this chapters)
    counter++;
    document.write("Chapter" counter" :"+this.chapters[chapter]+"<br>");
    var thisbook = new book()
    thisbook.author = "Sivagami";
    thisbook.title = "MS in CS giude";
    thisbook.chapters = new Array[10];
    thisbook[0] = "Prepare to Excell in all ";
    thisbook[1] = "Learn to be happy";
    thisbook[2] = "Learn to be healthy mentally emotionally physically";
    thisbook[3] = "Siva and Subbu along with kidssssss will be successful in future";
    thisbook.printall();
    //-->
    </script>
    </body>
    </html>

    Run this program to get your answer:
    public class AnswerToYourPost {
    public static void main(String args[]) {
    System.out.println("TRUE/FALSE: This question
    ion belongs on a Java forum.\n"
    + "ANSWER: " + ("Javascript" == "Java"));
    }Since when do we compare objects for equality using operator == ?

  • Document Classes and other Questions

    Basically, i am working on an application that will eventually be deployed to the desktop as an AIR application.
    I am wanting to create an Analogue clock and Digital clock with a button that toggles the display between either one when pressed. As well as this, i will be wanting to display the Date below, i am having a number of issues however.
    I have the code sorted for three of the four components, i have not attempted to figure out the button thus far as i would be more than happy to have the digital clock, analogue clock and date all being displayed on a drag and drop desktop application first. When i say i have it sorted, i have a fully working analogue clock which i have managed to display on the desktop through air on its lonesome, however, i did not include the drag and drop function. For the digital clock and date components i am not sure how to configure them into document classes. The main issue i am having is i do not know if you can reference a dynamic text box within a movie clip to a document class.
    This is the code to show the date
    [code]{
    var currentTime:Date = new Date();
    var month:Array = new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December");
    var dayOfWeek:Array = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
    date_text.text = dayOfWeek[currentTime.getDay()] + " " + currentTime.getDate() + " " + month[currentTime.getMonth()] + " " + currentTime.getFullYear();
    [/code]
    I have put the actionscript frame inside the movie clip file, and i have given both the movie clip, and the dynamic text box within the movie clip the instance name "date_text".
    Basically, i am just struggling in how to put this code into a working document class, since the digital clock and date functions are both, some what similar, i feel the solution to one will more than likely lead to me discovering the solution for the other.
    The other problem i am having, i do not know how i will display all of the components on one air application. I am assuming, that you create one other document class file which links the other four together? i have tried to do this by just linking a new FLA file with the analogue clock, but it does not work. The code for that is below.
    [code]package
              import flash.events.Event;
              import flash.display.MovieClip;
              public class time1 extends MovieClip
                        public var now:Date;
                        public function time1()
                                  // Update screen every frame
                                  addEventListener(Event.ENTER_FRAME,enterFrameHandler);
                        // Event Handling:
                        function enterFrameHandler(event:Event):void
                                  now = new Date();
                                  // Rotate clock hands
                                  hourHand_mc.rotation = now.getHours()*30+(now.getMinutes()/2);
                                  minuteHand_mc.rotation = now.getMinutes()*6+(now.getSeconds()/10);
                                  secondHand_mc.rotation = now.getSeconds()*6;
    [/code]
    That is the original clock document class (3 Movie clips for the moving hands, and the clock face is a graphic, which i may have to reference somehow below)?
    [code]package
              import flash.display.MovieClip;
              public class main extends MovieClip
                        public var hourHand_mc:time1;
                        public var minuteHand_mc:time1;
                        public var secondHand_mc:time1;
                        public function main()
                                  hourHand_mc = new SecondHand();
                                  addChild(mySecondHand);
                                  hourHand_mc.x = 75;
                                  hourHand_mc.y = 75;
                                  minuteHand_mc = new SecondHand();
                                  addChild(mySecondHand);
                                  minuteHand_mc.x = 75;
                                  minuteHand_mc.y = 75;
                                  secondHand_mc = new SecondHand();
                                  addChild(mySecondHand);
                                  secondHand.x = 75;
                                  secondHand.y = 75;
    }[/code]
    This is my attempt at creating the main document class in a seperate FLA file to attempt to load the analogue clock, and later on the Digital Clock, Date Function and Toggle Display button in the same AIR application.
    Any help on this is much appreciated, i have been reading up a lot on it through tutorials and the like, but i can't seem to fully grasp it.

    why do you have code in a movieclip?
    if you want to follow best practice and use a document class you should remove almost all code from timelines.  the only timeline code that might be reasonably used would be a stop() on the first frame of multiframe movieclips.
    so, you should have a document class.  that could contain all your code but it would be better to just have your document class create your 2 clocks and date objects and possibly manage toggling between the two clocks.  you could have a separate class the tracks the time and date and that class is used by your two clock classes and your date class.

  • Getting Error while creating Document object  after  parsing XML String

    Hi All,
    I have been trying to parse an XML string using the StringReader and InputSource interface but when I am trying to create Document Object using Parse() method getting error like
    [Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    Please find the code below which i have been experimenting with:
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.StringReader;
    import java.util.List;
    import java.util.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import java.io.*;
    public class TestMain {
         public static void main(String[] args) {
              String file = "";
              file = loadFileContent("C:\\Test.xml");
              System.out.println("contents >> "+file);
              parseQuickLinksFileContent(file);
    public static void parseQuickLinksFileContent(String fileContents) {
    PWMQuickLinksModelVO objPWMQuickLinksModelVO = new PWMQuickLinksModelVO();
         try {
    DocumentBuilderFactory factory =           DocumentBuilderFactory.newInstance();
         DocumentBuilder builder = factory.newDocumentBuilder();
         StringReader objRd = new StringReader(fileContents);
         InputSource objIs = new InputSource(objRd);
         Document document = builder.parse(objIs); // HERE I am getting Error.
         System.out.println(document.toString());
    What is happening while I am using builder.parse() method ???
    Thanks,
    Rajendra.

    Getting following error
    [Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.

  • Help Needed in Creating Java Class and Java Stored Procedures

    Hi,
    Can anyone tell how can i create Java Class, Java Source and Java Resource in Oracle Database.
    I have seen the Documents. But i couldn't able to understand it correctly.
    I will be helpful when i get some Examples for creating a Java Class, Java Source and Stored Procedures with Java with details.
    Is that possible to Create a Java class in the oracle Database itself ?.
    Where are the files located for the existing Java Class ?..
    Help Needed Please.
    Thanks,
    Murali.v

    Hi Murali,
    Heres a thread which discussed uploading java source file instead of runnable code on to the database, which might be helpful :
    Configure deployment to a database to upload the java file instead of class
    The files for the java class you created in JDev project is located in the myworks folder in jdev, eg, <jdev_home>\jdev\mywork\Application1\Project1\src\project1
    Hope this helps,
    Sunil..

  • Document Class not work when I shift my MovieClip to 2nd Frame.

    Hello,
    All my content is at 1st frame of my FLA file...and I'm using Document Class... When I try to shift my content to 2nd frame, so I can use 1st frame for preloader.. but its not working...
    This is my document class... Basically at 1st frame I'm loading external jpg image to a MovieClip..
    Is it possible, I can **** my MovieClip and other content to 2nd frame of the timeline... ??? and Document Class work???
    Thanks...
    package com.ahmad.bg
         //import all classes
         import caurina.transitions.Tweener;
         import flash.display.Loader;
         import flash.display.MovieClip;
         import flash.display.Sprite;
         import flash.display.StageAlign;
         import flash.display.StageDisplayState;
         import flash.display.StageScaleMode;
         import flash.events.Event;
         import flash.events.MouseEvent;
         import flash.net.URLRequest;
         public class MainClass extends MovieClip
              //create variables
              private var loader:Loader;
              private static const IMAGE_PATH:String = "bgs/bg.jpg";         
              public function MainClass() {
                   stage.align = StageAlign.TOP_LEFT;
                   stage.scaleMode = StageScaleMode.NO_SCALE;              
                   stage.addEventListener(Event.RESIZE, stageResize);         
                   //load external image
                   loader = new Loader();
                   loader.load(new URLRequest(IMAGE_PATH));
                   loader.contentLoaderInfo.addEventListener(Event.COMPLETE, showImage);
                   pic.addChild(loader);    
              private function showImage(e:Event):void
                   try {                             
                        e.target.content.alpha = 1;
                        Tweener.addTween(e.target.content, { alpha:1, time:1, transition:"easeOutSine" } );                   
                        e.target.content.smoothing = true;                             
                   } catch (e:Error) { };
                   stageResize();
              private function stageResize(e:Event=null):void
                   pic.x = 0;
                   pic.y = 0;
                   pic.scaleX = pic.scaleY = 1;              
                   if ((stage.stageHeight / stage.stageWidth) < pic.height / pic.width) {
                        pic.width = stage.stageWidth;
                        pic.scaleY = pic.scaleX;
                   } else {
                        pic.height = stage.stageHeight;                   
                        pic.scaleX = pic.scaleY;
                   pic.x = stage.stageWidth / 2 - pic.width / 2;
                   pic.y = stage.stageHeight / 2 - pic.height / 2;         
                   bottomNav.x = Math.floor(stage.stageWidth / 2 - bottomNav.width / 2);
                   bottomNav.y = Math.floor(stage.stageHeight - bottomNav.height - 0);

    If you have code in your main class that references specific movieclips on the stage, they have to be on every frame you plan on using.
    If you have a movieclip named "pic" on frame 2, but you are referencing it right away in the main class, which starts on frame 1, then it is looking for a movieclip that does not exist until you move it to frame 2

  • TREX does not index all documents fro document class SOLARGNSRC

    Hi all,
    I've setup a connection between a TREX server (which is also used by a portal system) and Solution Manager. I've gone through the settings in SAP Note 750623 and I was able to create a index, the queue and even bypass the basic authentication in the preprocessing for document class SOLARGNSRC
    According to everything I've read, this should be enough to be able to index all documents in Solution Manager and find them with Full Tex Search. But this doesn't work. From the 50.000 documents in de class (35.000 English and 15.000 German) only 6300 documents are passed to TREX. Most of them are German HTML links to help.sap.com. I can see in the trace files that the URL's to some documents in the content server are passed to TREX. I can open dthe document using the links but I cannot find the documents using the full text search which I think means that nothing was really indexed.
    Questions:
    1. Has anyone been able to succesfully index Solution Manager documents for full text search purposes?
    2. Why are only 10% of the documents passed to TREX? Is there a specific setting for this?
    3. Why does TREX use the Content Server HTTP links to index the documents and not the RFC connection?
    Cheers
    Marcel Rabe

    Yep, all lights green
    SSR maintained. DRFUZZY as Search Engine (I have not tried Verity)
    Return Code? Interesting, I don't get an return code when I trigger the Index/Deindex. I just see the hourglass for about 5 minutes (when I run it in the foreground) and after that its back to the way it was. No messages. Nothing appears in the application logs as far as I can see.
    The program RSTIRIDX  is scheduled in the background and runs every hour minutes for about 10 seconds without an error.
    TREX Version 7.00.39.00
    Five languages actived, including German and English. In SKPR07 under Indexed documents I can see that 300 German and 6000 English documents have status indexed.
    No proxy server. Systems sit within the same network segment
    Thnx for your help. I posted a message with SAP as well as this seems strange to me.
    Marcel

  • Preloader in Document Class Help.

    Hello,
    I want to know that how can I add a Preloader to my existing document class. In my FLA all content is on 1st Frame. I'm loading an external image to a MovieClip which is on 1st frame and on stage. My document class is working fine but when i try to add any preloading script, its not working...
    Can any one please help me in this regard..
    A Garden of Thanks.
    My Document Class is here...  (This was also a tutorial which I'm using..)
    package com.ahmad.bg
         //import all classes
         import caurina.transitions.Tweener;
         import flash.display.Loader;
         import flash.display.MovieClip;
         import flash.display.Sprite;
         import flash.display.StageAlign;
         import flash.display.StageDisplayState;
         import flash.display.StageScaleMode;
         import flash.events.Event;
         import flash.events.MouseEvent;
         import flash.net.URLRequest;
         public class MainClass extends MovieClip
              //create variables
              private var loader:Loader;
              private static const IMAGE_PATH:String = "bgs/bg.jpg";          
              public function MainClass() {
                   stage.align = StageAlign.TOP_LEFT;
                   stage.scaleMode = StageScaleMode.NO_SCALE;               
                   stage.addEventListener(Event.RESIZE, stageResize);          
                   //load external image
                   loader = new Loader();
                   loader.load(new URLRequest(IMAGE_PATH));
                   loader.contentLoaderInfo.addEventListener(Event.COMPLETE, showImage);
                   pic.addChild(loader);     
              private function showImage(e:Event):void
                   try {                              
                        e.target.content.alpha = 0;
                        Tweener.addTween(e.target.content, { alpha:1, time:1, transition:"easeOutSine" } );                    
                        e.target.content.smoothing = true;                              
                   } catch (e:Error) { };
                   stageResize();
              private function stageResize(e:Event=null):void
                   pic.x = 0;
                   pic.y = 0;
                   pic.scaleX = pic.scaleY = 1;               
                   if ((stage.stageHeight / stage.stageWidth) < pic.height / pic.width) {
                        pic.width = stage.stageWidth;
                        pic.scaleY = pic.scaleX;
                   } else {
                        pic.height = stage.stageHeight;                    
                        pic.scaleX = pic.scaleY;
                   pic.x = stage.stageWidth / 2 - pic.width / 2;
                   pic.y = stage.stageHeight / 2 - pic.height / 2;          
                   //my bottom navigation
                            bottomNav.x = Math.floor(stage.stageWidth / 2 - bottomNav.width / 2);
                   bottomNav.y = Math.floor(stage.stageHeight - bottomNav.height - 0);

    package com.ahmad.bg
         //import all classes
         import caurina.transitions.Tweener;
         import flash.display.Loader;
         import flash.display.MovieClip;
         import flash.display.Sprite;
         import flash.display.StageAlign;
         import flash.display.StageDisplayState;
         import flash.display.StageScaleMode;
         import flash.events.Event;
         import flash.events.MouseEvent;
         import flash.net.URLRequest;
         import flash.events.ProgressEvent;
         public class MainClass extends MovieClip
              //create variables
              private var loader:Loader;
              private static const IMAGE_PATH:String = "bgs/bg.jpg";          
              public function MainClass() {
                   stage.align = StageAlign.TOP_LEFT;
                   stage.scaleMode = StageScaleMode.NO_SCALE;               
                   stage.addEventListener(Event.RESIZE, stageResize);          
                   //load external image
                   loader = new Loader();
                   loader.load(new URLRequest(IMAGE_PATH));
                   loader.contentLoaderInfo.addEventListener(Event.COMPLETE, showImage);
                   loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, preload_image, false, 0, true);
                   private function preload_image(event:ProgressEvent):void
                          var per = int((event.bytesLoaded / event.bytesTotal) * 100);
                          pic.addChild(loader);
                          //make a textfield or preloader animation and assign this per to it.
              private function showImage(e:Event):void
                   try {                              
                        e.target.content.alpha = 0;
                        Tweener.addTween(e.target.content, { alpha:1, time:1, transition:"easeOutSine" } );                    
                        e.target.content.smoothing = true;                              
                   } catch (e:Error) { };
                   stageResize();
              private function stageResize(e:Event=null):void
                   pic.x = 0;
                   pic.y = 0;
                   pic.scaleX = pic.scaleY = 1;               
                   if ((stage.stageHeight / stage.stageWidth) < pic.height / pic.width) {
                        pic.width = stage.stageWidth;
                        pic.scaleY = pic.scaleX;
                   } else {
                        pic.height = stage.stageHeight;                    
                        pic.scaleX = pic.scaleY;
                   pic.x = stage.stageWidth / 2 - pic.width / 2;
                   pic.y = stage.stageHeight / 2 - pic.height / 2;          
                   //my bottom navigation
                   bottomNav.x = Math.floor(stage.stageWidth / 2 - bottomNav.width / 2);
                   bottomNav.y = Math.floor(stage.stageHeight - bottomNav.height - 0);
    Oh.. Thanks.. its working now... Thanks aloooooooooooooot.....
    Any other tip if you have a time to give me will be a greatful to you...
    Thanks again for your precious time.. I've seen your Awesome Portfolio at your website....

  • Document Class Error

    I am working with Windows Vista Business if that makes a
    difference in this question.
    I am testing a class file for NoScale called NoScale.as
    I have created the class file attached.
    I have saved the class file in the same location as the fla
    file.
    I put in the document.class box: NoScale
    Whenever I publish, I receive the following error:
    5008: The name of definition 'Main' does not reflect the
    location of this file. Please change the definition's name inside
    this file, or rename the file.
    C:\Users\%UserName%\Desktop\Website\Reference Flas\NoScale.as
    (Note: I have replaced my username with %UserName%)
    I have attempted to put
    C:\Users\%UserName%\Desktop\Website\Reference Flas\NoScale.as into
    the document class box and I receive an error telling me that the
    \'s are incorrect and are not allowed.

    I know that the classes are code that is prewritten so you
    can use the functions within.
    The answer to your question is No, I don't know what the
    classes are doing because I am just beginning with AS3 and Flash 9.
    However, my question is Why does my code work with no
    problems without importing any of those classes into the code when
    I don't put anything into the Document class: [ box ].
    As soon as I wanted to give my flash header the ability to
    resize itself, I found out that I had to create a .as or class file
    with the above code in it to give it that capability. Once I did
    that I found out that I had to use the document class box in order
    to link that class file to the SWF. Once I created a proper .as
    file named NoScale and typed NoScale into the document class box,
    all of a sudden a ton of errors happen wanting me to include the
    flash.blah.blah files. If I remove the NoScale from the document
    class box and do nothing else, the project works just fine.
    That is what I don't understand.
    Wayne
    Adding the following did fix the errors. Thanks.
    import flash.display.LoaderInfo;
    import flash.display.InterpolationMethod;

  • Changing a document class to an imported class

    Hello everybody!
    My following document class is working fine. But, when I want to import it instead of using as a document class, it reports an error "1067: Implicit coercion of a value of type Class to an unrelated type flash.display:DisplayObject.". My class code is here:
    package
    import flash.display.Sprite;
    import flash.display.Shape;
    import flash.text.TextField;
    import flash.events.MouseEvent;
    public class Shapes extends Sprite
      var square: Sprite = new Sprite();
      var txt: TextField = new TextField();
      public function Shapes()
       square.graphics.lineStyle(4, 0xFF66CC);
       square.graphics.beginFill(0x990066);
       square.graphics.drawRect(250, 35, 175, 175);
       square.graphics.endFill();
       square.buttonMode = true;
       addChild(square);
       square.addEventListener(MouseEvent.CLICK, clickHandler);
       txt.text = "A Child of the Square";
       square.addChild(txt);
      function clickHandler(ev: MouseEvent): void
       if (square.numChildren > 0)
        square.removeChild(txt);
    My FLA file script is as below:
    import Shapes;
    addChild(Shapes);
    Seeking help, please!

    You need to create an instance of the class Shapes and tha add this isntance
    i.e. something like this
    var shapes: Shapes = new Shapes();
    addChild( shapes );

  • Workflow - create document from template

    Hi,
    Could anyone tell me what could be the possible use of Create Document from Template step in workflow...

    Hi vijay,
    1)Open the PC application by choosing the entry Double-click to create in the Document templates tray by double-clicking or choose  in the step definition of the document generation.
    The PC application that you last used to create a template is opened in the Workflow Builder. The system fields and the container elements of the workflow container are offered for selection in the navigation area. They can be transferred into the template by double-clicking.
    You cannot use any multiline container elements in your template.
    All relationships created between container elements/system fields and the document template are displayed in the object area.
    It is not possible to insert system fields and container elements into all types of document template.
    2) If you want to create a document template of a different class, select  Change document class and choose the new type of document template.
    3) Select  to assign a name for the document template.
    4) Create the document template in the usual way in your PC application. You can use all the functions of the PC application.
    5) Insert container elements and/or system fields from the object area into your template by double-clicking. These fields are replaced with the content of the container elements/system fields at runtime.
    6) Select  to save your document template.
    Hope this helps u,
    Regards,
    Nagarajan.

Maybe you are looking for

  • Date value in report template Query

    Hello - I have a report that is scheduled to run every first day of month. It extracts the data and reports the all orders information for the last month i.e. if the report is running on September 1st 2010 then it will show the data for the August 20

  • 0IC_C03 Request Compression Status

    Hi Friends, We have loaded data into the Inventory InfoCube 0IC_C03. The Deltas are running. I would like to know that how the 2LIS_03_BF is compressed for certain Request number. Beacuse while validating the data in for the cube inventory cube .....

  • Creative Suite won't work anymore!

    Why won't my creative suite work anymore since I have upgraded my Mac system? I used it all the time. I cannot afford to buy more softward. I am a Senior and also a teacher. How can I use my Photoshop CS. It won't even open or give me a message.

  • N900 Multimedia Music Index corrupted (or not upda...

    I have copied 4000 songs (mp3) in my N900 (Internal Music folder)in USB Mass storage mode. After this  I have buy a 16 Gb Memory Card and , after inserting it and, i have create a folder and I have copied my songs tree from internal folder to memory

  • Penny Dreadful s2 ep10 has t:6007 / c:4110 error when I try to play it

    I can see from previous posts about different show episodes that come up with this error that it's something only Sky can fix at their end. How can I report it to Sky to get it fixed? Only 24 days left to watch it... :-) Thanks to anyone who can help