Several classes of documents?

Hey guys,.

I'm just getting into flash and I would like to know how run you several as3 since the main .fla file files?

Is it possible to use more than one document class file?

Thank you

Chris

I believe that you can have only one class of document set for a file, but you can import all other file of class/.as you need.

Tags: Adobe Animate

Similar Questions

  • How to create several classes of cascade?

    Goal: Create the button to start and stop the service.

    Situation: One button works.

    However, whenever I click on another button, the button does not work.

    Question: how to create several classes of cascade?

    or something wrong in my code?

    Mini code:

    Calls a CPP QML.

    ApplicationUI::ApplicationUI (bb::cascades:Application * app): QObject (app)

    {
    QmlDocument * qml = QmlDocument::create("asset:///main.qml").parent(this);

    CameraWrapper * wrapper = new CameraWrapper();

    QML-> setContextProperty ('wrapper', wrapper);

    AbstractPane * root = qml->() createRootObject;
    App-> setScene (root);
    }

    And then, QML calls another RPC.

    import bb.cascades 1.0

    {Page}
    {Of container
    layout: {DockLayout}
    }
    Button {}
    text: qsTr ("Start")
    onClicked: {}
    wrapper.startRec ();
    }
    }
    Button {}
    text: qsTr ("Stop")
    onClicked: {}
    wrapper.stopRec ();
    }
    }
    }
    }

    The main CPP:

    #include "cam.hpp".

    using namespace bb::cascades;

    {CameraWrapper::CameraWrapper()}

    int CameraWrapper::startRec() {}

    This button works.

    }

    int CameraWrapper::stopRec() {}

    This button does not work.

    }

    The main.hpp

    Class CameraWrapper: public QObject
    {
    Q_OBJECT
    public:
    CameraWrapper();
    Virtual ~ CameraWrapper() {}

    Q_INVOKABLE
    int startRec();
    int stopRec();
    };

    Thank you for your attention,

    Finally, we use the thread to solve the problem.

    Solution:

    loopWrapper (void * test) {void *}
    CameraWrapper * a = (CameraWrapper *) test;
    a-> startRec();
    return null;
    }

    setFlagWrapper (void * test) {void *}
    CameraWrapper * b = (CameraWrapper *) test;
    b-> setFlagFalse)
    return null;
    }

    void * CameraWrapper::setFlagFalse (void * arg) {}
    exit_application = false;
    fprintf (stderr, "Flag changed to false\n");
    return arg;
    }

    void CameraWrapper::runLoop() {}
    pthread_create (& thread_a, NULL, & loopWrapper, (void *) this);
    }

    void CameraWrapper::runSetFlag() {}
    pthread_create (& thread_b, NULL, & setFlagWrapper, (void *) this);

  • Apply several Classes

    2014 CC of Dreamweaver, you can choose from the menu set class > apply several Classes. The set class is an option in 2015 of Dreamweaver, but multiple Classes to apply is not. I'm trying to follow the steps of a book for an assignment. In 2014, I'd choose apply several Classes and then in the dialog box I verify the container class, and then click OK. How to do this step even in 2015?

    Sorry, he's on a CC2015

    You can return to an earlier version of this project.

    1. log-in to the creative cloud desktop application.

    2. click on applications > applications.

    Then, go to previous Versions

  • Fade In/Out - gallery - class of Document

    Hello.

    I have a SWF Gallery, with a class of documents. The Gallery gets its information from an XML file. Everything works fine, but I want it to fade in and out when you go to the next or the previous 'image/information'

    Is it possible, if so, how?

    Thank you in advance.

    The document class:

    package {}

    import flash.display. *;

    import flash.events. *;

    import flash.text. *;

    flash.net import. *;

    import com.greensock.TweenLite

    public class webdesign extends MovieClip {}

    public var currentimg:Number;

    public var lastimg:Number;

    public var xml;

    public var loader: Loader;

    public var xmlLoader:URLLoader;

    public void webdesign() {}

    loader = new Loader();

    addChild (loader);

    xmlLoader = new URLLoader (new URLRequest ("webdesign.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, parseXML);

    NextButton.stop ();

    PreviousButton.stop ();

    }

    protected function parseXML(event:Event):void {}

    NextButton.addEventListener (MouseEvent.MOUSE_UP, nextimg);

    PreviousButton.addEventListener (MouseEvent.MOUSE_UP, previmg);

    xml = new XML (event.currentTarget.data);

    lastimg = xml.img.length () - 1;

    currentimg = 0;

    loadimg();

    }

    protected function loadimg (): void {}

    loader.x = 80;

    loader.y = 60;

    loader.load (new URLRequest (xml.img, [currentimg], .@image));

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, loadFin);

    }

    protected function loadFin(event:Event):void {}

    WebdesignTitle.text = xml.img [currentimg] .title;

    WebdesignClient.text xml.img [currentimg] = nbsp;

    WebdesignProject.text xml.img [currentimg] = .project.

    WebdesignURL.text = xml.img [currentimg] .link;

    WebdesignComment.text xml.img [currentimg] = content;

    }

    protected function nextimg(event:MouseEvent):void {}

    loader.unload ();

    currentimg = (currentimg < lastimg)? currentimg + 1:0;

    loadimg();

    }

    protected function previmg(event:MouseEvent):void {}

    loader.unload ();

    currentimg = (currentimg > 0)? currentimg - 1: lastimg;

    loadimg();

    }

    }

    }

    For the way you designed things, when you you click on the button next/previous, the first thing you want to do is start a Tween to weaken the charger.  And you need to monitor the completion of the interpolation, so that once you can unload the current file and begin loading the new file.  You monitor the completion of loading, so that you can then launch another tween for the loader to reappear fade.

  • Trouble woring with several classes.

    Hello.

    Do you know where I can find out who is the straight dope on the use of the classes?

    I'm having a few problems at the moment with several classes - but I think that the main problems is that I don't really know how to work with multiple classes.

    Right now I have 4 classes:

    ProjectOne

    ProjectOneText

    ProjectOneVideos

    StageElements

    I have all this in the same file called "asFiles". I can get a single class (ProjectOneText) to load via the ProjectOne class. But I can't get 2 classes to load in the ProjectOne class.

    It is another question, I tried to sort all day.

    I probably got it all wrong... but that's why I need help.

    I appreciate any help you can give me!

    Try to comment out this line and see the results

  • How to copy several e-mails 'documents' folder on computer

    I need to be able to file my emails in my folders 'documents' normal in the same way that you would save any file.
    They must be recoverable to Thunderbird.
    I can do separately, but want to be able to do several emails to save my sanity!
    Downloaded the Freeviewer module but is unstable and never understand whether to 'HTML' or 'plain text '.
    Thank you.

    That's what you want-

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

  • Identify several Classes in particles classifier

    Hey guys!

    So, I do this VI that differentiates a nut and a washer and a screw. I use the classification of particles for the same. The problem lies here. I want the program to respond only to a particular type of object, even when there are several objects in the image. The IMAQ classify VI alone gives me a unique class of an image where objects of all 3 classes!

    Can someone help me find a way around this problem? I enclose an excerpt from my VI below, as well as the VI.

    Yes, sorry, I found the solution. A lot of my embarrassment, it was there before me. All I had to do was the result of matches of the wizard of vision and the search for the string in the table.

  • Several user under Documents and Settings profiles

    I have several machines to Windows XP Pro SP3 with several user profiles in the Documents and Settings folder.  My pc is one of them.  I have tvavra, tvavra. ASL, tvavra. ASL.000 and tvavra.ComputerName.  I understand that some of the accounts are created when mistakes happen, but I would like to have a procedure to clean the files.  Most often the reason why these folders are created first is when a user logs on the machine of someone else, they should draw these records.  I recently needed to redistribute machines in a campaign of savings and if I can eliminate clutter, I'd be very happy to help.

    The old profiles that are not currently in use are safe to remove. You can find your current profile by opening the folder my documents on the start menu and search in the address bar. You can check in each to make sure there are no files which are necessary for the first.

  • A class of Document required when file developed a smartphone app?

    So I have developed a relatively simple Flash project, and I want to be able to submit it to the Bank of game of Android and the iStore. My question is, is a file .fla Document necessary for a smartphone application project class? I realize there are situations where a Document class file may be necessary or desirable, but I would like to know if I can submit an application for each store without one. (I just called import classes, I need the first image, is not a complicated project.)

    Any input on the question of whether I need a Document file class or it is optional for the smartphone apps would be appreciated! Thank you all!

    you need not use a document class (or any class file).

  • Open to several Classes of javaFX is impossible

    Hello!
    I want to open several screens of javafx, each of them is a class with an example from the book.
    But im having problems in doing this.

    Only, I can do a project for each screen?

    Here is the screenshot:
    http://ImageShack.us/photo/my-images/526/duvidajavafx.jpg/

    I've tried several things, none has worked so far.

    Here is a summary of what your code is doing:
    1. you create an instance of the Pagina16 class.
    2. you will get back the class Pagina16, which is currently null and scene recording it ss in your main class (which will always be null)
    3. you start JavaFX.
    4. control between the start of the hand method.
    5. you call step primary setScene to assign the ss (which is always set to null).
    6 display. you the scene.

    I'm a little unclear as to what is the point of the Pagina16 class. Also, you try to use the stage of the Pagina16 before it has been initialized (which is zero). Even if you had called code Pagina16 startup to initialize this scene, the fact remains that a scene can be shared between two steps. If you try to do what I think you are, it would work better like this:

    public class Main extends Application {
    
        /**
         * Since we need to create two scenes that contain the same elements, we will need some sort of factory method.
         * For simplicity, I am just using a static method that returns a new scene.
         */
        static Scene createScene() {
            //Create the root node.
            Group root = new Group();
    
            //Create the new scene.
            Scene scene = new Scene(root, 550, 250, Color.LIGHTBLUE);
    
            //Curva Cúbica
            CubicCurve cubiccurve = CubicCurveBuilder.create()
                    .startX(50).startY(75)
                    .controlX1(80).controlY1(-25)
                    .controlX2(110).controlY2(175)
                    .endX(140).endY(75)
                    .strokeType(StrokeType.CENTERED).strokeWidth(1)
                    .stroke(Color.BLACK)
                    .strokeWidth(3)
                    .fill(Color.WHITE)
                    .build();
            root.getChildren().add(cubiccurve);
    
            // Sorvete
            Path path = new Path();
            MoveTo moveTo = new MoveTo();
            moveTo.setX(50);
            moveTo.setY(150);
    
            QuadCurveTo quadCurveTo = new QuadCurveTo();
            quadCurveTo.setX(150);
            quadCurveTo.setY(150);
            quadCurveTo.setControlX(100);
            quadCurveTo.setControlY(50);
    
            LineTo lineTo1 = new LineTo();
            lineTo1.setX(50);
            lineTo1.setY(150);
    
            LineTo lineTo2 = new LineTo();
            lineTo2.setX(100);
            lineTo2.setY(275);
    
            LineTo lineTo3 = new LineTo();
            lineTo3.setX(150);
            lineTo3.setY(150);
            path.getElements().add(moveTo);
            path.getElements().add(quadCurveTo);
            path.getElements().add(lineTo1);
            path.getElements().add(lineTo2);
            path.getElements().add(lineTo3);
            path.setTranslateY(30);
            path.setStrokeWidth(3);
            path.setStroke(Color.CHOCOLATE);
    
            root.getChildren().add(path);
    
            //QuadCurva Create a Smile
    
            //Outer Donut
    
            //Donut Hole
    
            //Make a Donut
    
            //Add Drop Shadow
    
            //move Slightly Down
    
            //Now that we have created the scene, return it.
            return scene;
        }
    
        public static void main(String[] args) {
            //Initialize JavaFX and run the rest of the start up code.
            Application.launch(args);
        }
    
        @Override
        public void start(Stage primaryStage) {
            //Set the primary stage to use a scene created from the factory method.
            primaryStage.setScene(createScene());
    
            //Create a second stage.
            Stage anotherStage = new Stage();
    
            //Set it to use a scene created by the factory as well.
            anotherStage.setScene(createScene());
    
            //Make both stages appear.
            primaryStage.show();
            anotherStage.show();
        }
    
    }
    
  • Generic limits for several classes

    I have a class called shape and 5 subclass called square, Triangle, circle, Rhombus and Rectangle. I want to do a generic class that is bounded. I want to type T to accept a square, Triangle, circle and their respective subtypes. I don't want T to be able to accept a diamond or a Rectangle.

    How do I do that?

    I tried this, but it doesn't seem to work properly.
    public class GenericShapes < T extends square, Triangle, circle >

    Published by: SquareBox on March 25, 2011 10:08

    SquareBox wrote:

    I know semi – you can do that. Is there a real reason why you would need that?

    Suppose you need to process orders. You have called superclass for all products of the company. The company sells computer parts. You want to make a list of all parts of the computer that are sold. The company also makes the cheese. You want to make a list of all the objects of cheese that are sold. You do not want parts of computer in the list of cheese and you don't want cheese in the list of computer parts.

    If this analogy is accurate, then there must be something on these 3 shapes that go together what they have in common that the other 2 do not share. In other words, they are examples of a certain type which are not the other 2. This is precisely the case for another interface - if marker or normal - that identifies this type. This interface may or may not extend to form, depending on whether it is a property of the 'form is', or something completely different. For example, if it is RotationalSymmetry90Degrees, it must extend the form. If it is StuffMyGrandmaLikes, it should not.

    Then share what property these 3 forms that the other 2 are not?

    You are new to the company, and the boss says you need to use these existing classes. You can't change them because it will screw everything up. It will tell you you need to do a generic class that excludes all types of monitors, devices, hard disks, ect... but without cheese. To make it more difficult that you are NOT authorized to create a superclass called ComputerParts. The boss wants to inherit everything from product. Product may be the only supertype in the program.

    I'm not going to dig deep enough into the analogy to understand if you say that you can't create another interface for the forms 3 to implement. If it is in fact what you say, it is an artificial constraint, then I don't know what you're instructor is on everything he's trying to teach you, and what are the other artificial constraints may be present, so I'm out.

    What would you do to fix this? In addition to tell your boss that he is a nut.

    In the real world, tell him he's wrong. In artificial medium such as coursework, this would depend on a lot more details that I don't know and am not interested.

    I tried several approaches. I want to just do something like this but T can range from diamond. I don't know how to write syntax for this. I'm sure it's possible

    Why do you have to be sure that it is possible? Just because you want to be it?

  • How to access a movieclip on the class of document of another class?

    Hello!

    Go further on my application, I felt in another problem. Although they have a lot of messages on the web in this respect, none of the solutions worked for me

    In my document class two containers (Main.as) I ve. A void and another with a star that is imported to the library. Here´s the main class:

    package 
    {
         import flash.display.*;
         public class Main extends MovieClip
         {
              public var container1:Sprite;
                    public var container2:Sprite;
              var _star:star;
              public function Main()
              {
                   // First container
                   container1=new Sprite();
                   container1.x = 50;
                   container1.y = 200;
                   stage.addChild(container1);
                      _star=new star();
                   container1.addChild(_star);
    
                            //Second container
                            container2=new Sprite();
                            stage.addChild(container2);
                   
              }
         }
    
    }
    

    Right now I ve a star placed inside a container and the container is placed on the stage. I also created an additional container named container2.

    Now, I want to define a base class for the star. I named it as experience. Here it is:

    package 
    {
         import flash.display.*;
         import flash.events.*;
         public class Experience extends MovieClip
         {
              public function Experience()
              {
                   // constructor code
                   this.addEventListener(MouseEvent.MOUSE_CLICK,Clicked);
              }
                   public function Clicked(evt:MouseEvent):void
                    {
                          trace("Star was clicked");
                          this.parent.alpha=0; //travels back to container1 and sets alpha to zero.
                          //how can I access container2? this.parent.parent.container2 doens´t work!
                    }
    
    
            }
    }
    

    Inside of the "Clicked" function I want to access the container2 placed on the stage.

    I tried:

    this.parent.parent.container2.x=0;
    

    which gives me the error:

    1119: access of container2 property possibly not defined through a reference with static type flash.display:DisplayObjectContainer.

    I ve set the two containers as public. In this way the two is accessible off hand.

    In the meantime, I also tried to step to the constructor of the base class.

    The idea is to have the scene on the base class and so call containers directly from the stage.

    In the constructor of the main class, I add:

    home= this.stage;
    var pencil:Experience = new Experience(home);
    

    Then, in the base class I change the constructor and added something:

                                  .
                                  .
                                  .               
    private var _stage:Stage;
    
              public function Experience(home:Stage)
              {
                   _stage = home;
                                  .
                                  .
                                  .
    

    However, when I put as the class basis of the star movieclip class I get an error. If it works, but I want to put the class as a base class for this doesn´t approach meets my needs

    How can I do this?

    I hope you can help me! I want to use the classes but very delicate they´re!

    Thanks in advance for all,

    Best rgds

    You can use an event listener and the event dispatcher to listen to events to happen, something like this:

    star.addEventListener(MouseEvent.MOUSE_DOWN, callContainer2Function);
    
    function callContainer2Function(event:Event):void{
         trace("calling container2");
         //dispatch string event
         dispatchEvent(new Event("Calling container 2"));
    }
    
    container2.addEventListener("Calling container 2", container2Response, true);
    
    //When the container2 hears the string you dispatched, it will fire this function
    function container2Response(e:Event):void {
         trace("Container2 responding")
         //do your code
    }
    

    Hope that helps,

    ~ chipleh

  • Extraction of several classes of a SWF using contentLoaderInfo.applicationDomain.getDefinition

    I build a Flash 10 channel mixer/remixer.  Users can select a 'song' to load from an xml based on the drop-down list at the top of the application area.  In the document class, there is a function that takes the item selected from the drop-down list box and load in an external swf file, which is used just like a library for the 10 sounds of a song in particular.   I then extracted from each of these sounds by their class name ("Track 1", "Track 2", "Track3", etc.) and send them to their respective objects of 'MixerChannel '.  As you can see, the following code in the "initHandler' block is quite long and redundant.  Is there any other way/shortcuts that I can use to reduce the code a bit?

    initHandler(evt:Event):void private function

    {

    var sndClass: Class = Class (this.loaderInfo.applicationDomain.getDefinition("Track1"));

    newSound = new sndClass();

    Mixer1.TRACK_1.setTracks (newSound);

    var sndClass: Class = Class (this.loaderInfo.applicationDomain.getDefinition("Track2"));

    newSound = new sndClass();

    Mixer1.TRACK_2.setTracks (newSound);

    var sndClass: Class = Class (this.loaderInfo.applicationDomain.getDefinition("Track3"));

    newSound = new sndClass();

    Mixer1.TRACK_3.setTracks (newSound);

    etc...

    }

    In addition, this part seems a little strange to me because I still redeclarant 'sndClass ':

    var sndClass: Class = Class (...)

    I did it by accident, but it does not work.  In fact, if I change almost anything, it does not!

    Any help or advice on this would be greatly appreciated!

    Thank you

    Matt

    Oops, that was a mistake.  use:

    Define maxtracks, use:

    private void initHandler(evt:Event):void {}
    for (var i: uint = 1; i<>
    setTracksF ("Track" + i.toString (), i);
    }
    }

    private void setTracksF (s:String, i: uint) {}
    var sndClass: Class = Class (this.loaderInfo.applicationDomain.getDefinition ();
    newSound = new sndClass();
    Mixer1 ["TRACK_" + i.ToString ()] .setTracks (newSound);
    }

  • With the help of several classes and create an object of a class and calling its method in a different class.

    Creating a new class, I need to move my main method class SaveDate DynamicTest class. Below I've listed the code of both classes. The goal is to be able to run my class DynamicTest program. I need help to understand the process of moving my main method of a different class and creating an object of a class and calling its method.

    public class {SaveData

    private public static final map < String, Object > myCachedTreeMap = new TreeMap < String, Object > ();

    public static final List < String > getLines (final String resourceParam, final Charset charset) throws IOException {}

    System.out.println ("please:" + resourceParam);

    If {(myCachedTreeMap.containsKey (resourceParam))

    Use the file cached, to avoid a further reading.

    System.out.println ("found in memory:" + resourceParam);

    }

    else {}

    Load the file from the disk

    System.out.println ("found in memory:" + resourceParam);

    }

    Returns a null value.

    }

    Public Shared Sub main (String [] args) throws IOException {}

    String target_dir = "C:\\myfiles\\config\\en";

    Line = "C:\\myfiles\\config\\en\\output.txt";

    File dir = new File (target_dir);

    File files [] = dir.listFiles ();

    If (file == null: files.length < 1) {}

    System.out.println ("file list is empty...");

    return;

    }

    Open the Printwriter

    PrintWriter OutputStream = new PrintWriter (output);

    try {}

    for (textFile file: files) {}

    If (textFile.isFile () & & textFile.getName () .endsWith (".txt")) {}

    readFromDisk (textFile);

    }

    }

    }

    {Finally

    outputStream.close ();

    }

    String fileNameFromCache = "en_synonyms.txt";

    Sheet1 = myCachedTreeMap.get (fileNameFromCache) object;

    System.out.println (fileNameFromCache + ": \n" + "Sheet1");

    }

    @SuppressWarnings ("resource")

    private static Sub readFromDisk(File textFile) throws FileNotFoundException, IOException {}

    BufferedReader InputStream;

    inputStream = null;

    String content = "";

    try {}

    inputStream = new BufferedReader (new FileReader (textFile));

    content = readFile (textFile);

    System.out.println ("bytes read =" + content.length ());

    Save the content

    FileContentsObject Sheet1 = new FileContentsObject (System.currentTimeMillis (),

    textFile.lastModified (), content,

    textFile.getName (),

    getLines (null, null));

    Add to the map

    myCachedTreeMap.put (textFile.getName (), Sheet1);

    }

    {Finally

    If (inputStream! = null) {}

    inputStream.close ();

    }

    }

    }

    private static String readFile(File f) throws FileNotFoundException, IOException, UnsupportedEncodingException {}

    Text of StringBuilder = new StringBuilder (1024);

    read int, N = 1024 * 1024;

    char [] buffer = new char [N];

    BufferedReader br = null;

    try {}

    BR = new BufferedReader)

    (new) InputStreamReader

    (new FileInputStream (f), 'UTF8'));

    While (true) {}

    read = br.read (buffer, 0, N);

    If (read > 0)

    Text.Append (new String (buffer, 0, read));

    if(Read < N) {}

    break;

    }

    }

    }

    {Finally

    If (br! = null)

    Br. Close();

    }

    Return text.toString ();

    }

    private static final class FileContentsObject {}

    private long cachedTime; currentTime

    private long lastModifiedTimestamp;

    private string content

    List < String > lines;

    private String fileName;

    public FileContentsObject (long cachedTime, long lastModifiedTimestamp,

    Content string, String fileName, List < String > lines) {}

    this.cachedTime = cachedTime;

    this.lastModifiedTimestamp = lastModifiedTimestamp;

    This.contents = content;

    this.fileName = filename;

    This.Lines = lines;

    SimpleDateFormat sdf = new SimpleDateFormat ("MM/dd/yy hh: mm :"); ")

    System.out.println ("time & Date:" + sdf.format (cachedTime));

    System.out.println ("' last modification timestamp:" ")

    + sdf.format (lastModifiedTimestamp));

    }

    /**

    *

    * @return the lines of the file

    */

    List < String > getLines() {}

    Return this.lines;

    }

    public String toString() {}

    "return"Sheet1 {}"+" fileName =' ' + filename + '------"+", content = "" "

    + content + "\"+ ", lastModifiedTimestamp ="

    + lastModifiedTimestamp + ', CurrentTime & Date ='

    {+ cachedTime + '}';

    }

    }

    }

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    public class DynamicTest {}

    Public Shared Sub main (String [] args) {}

    Game characters charset = Charset.forName("UTF-8");

    try {}

    List < String > = CacheData.getLines lines ("en_synonyms", character set);

    If (rows! = null) {}

    System.out.println ("number of rows:" + lines.size ());

    for {(String ligne: lines)}

    System.out.println ("DynamicTest:" + line);

    }

    }

    } catch (IOException e) {}

    e.printStackTrace ();

    }

    try {}

    List < String > = CacheData.getLines lines ("en_stopwords", character set);

    If (rows! = null) {}

    System.out.println ("number of rows:" + lines.size ());

    for {(String ligne: lines)}

    System.out.println ("DynamicTest:" + line);

    }

    }

    } catch (IOException e) {}

    e.printStackTrace ();

    }

    }

    }

    I have read and watched videos about the creation of an object of a class and calling its method in a different class. I'm still confused on how to do it properly. By using the code below if someone can explain how to properly call the method of objects from my hand.

    Huh? You have NOT posted any 'hand' or any 'method of objects '.

    If you need help with the code, you need to view the code.

    The Java tutorials has dozens of trails "Classes and objects": what they are, how to create and how to use them.

    https://docs.Oracle.com/javase/tutorial/Java/javaOO/classes.html

    1. create an instance of a class

    2. call to one or more of the public methods of this class

    If the class has public static methods, you don't need to create an instance first.

    I suggest that you work your way through these tutorials. They include the WORKING example code.

  • Add a document to a several-page .pdf document

    Why when I scan a document and add to an existing multi page .pdf document scanned page appear as a much larger?

    Well, if you are Windows on a machine, you can print the page scanned to the Adobe PDF printer and set the page size to use... This will generate a new PDF with good size that you can then insert into the original file.

    Another option is to use a script plugin of taxation across the page to the desired size, without having to re - print.

Maybe you are looking for