best way to send server objects and recreate step?

I want to send an object and its properties (that have been manipulated) on my server. I then intend to recreate this object and automatically create a screenshot of the object (I don't want to make on the client side). I intend to use POST and some php for each property that has changed and then load data into an as3 script on the server side. I would like to than this side script server to automatically take the object and create a server image side - is anyway to do all this while asking does not have any input (of what I have learned, flash requires a prompt before saving a file)? I haven't used flex, can be used here?

Is there a better way to do it? I am open to any suggestions!

I misunderstood.  Yes, you will need to run your as3 swf that will load data and save an image on the server.

Tags: Adobe Animate

Similar Questions

  • Best way to send signals between the two screws

    Hi all

    I have two screws that generate some complicated signals (sine wave, pulse, etc.). The other one takes manually entered the tension and pressure send to certain material with a pump and reads the output of the pump.

    What is the best way to send the waveform of the signal VI the VI hands-on? I still need to be able to control the signals manually in this manual control VI.

    Thank you.

    Your user interface would handle this. If you use a machine to States (hint-hint) you would simply chose the State appropriate for your current configuration. You would provide a mechanism (UI, configuration file, argument of command line to name a few) for the parameter which mode to use, and the application would have chosen the appropriate action.

  • Best way to transfer strings, arrays and clusters

    Hi, I just want to know the best way to transfer strings, arrays and clusters between a PC and a computer-RT (compactRIO) if I want to use them in deterministic loops:

    For a string should I use a published network shared variable flow or network?

    For an array of doubles should I flatten the array in a string and the string of transfer? or should I send it as a picture?

    The same for clusters, should I flatten the cluster or the transfer as a cluster?

    Thank you!

    Transfers on the network are not deterministic.  You ask how to use the data in a deterministic way, once it arrives on the RT system.  Usually, you would create a separate loop, not critics of time to deal with network communications.  The data arrives it is copied in real-time-safe structures such as RT-FIFO to put at the disposal of the evanescent loop.

    I can't give you specific advice on network variables and network flows; Finally, I did this kind of transfer over TCP, until these other options were available.

  • What is the best way to send pictures to send?

    What is the best way to send a file of photos to email recipient?

    What is the best way to send a file of photos to email recipient?

    ====================================
    Two things to try...

    (1) open a new e-mail message and attach the photos.

    Or...

    Right 2) click a thumb of the photo or the name of the file and of the
    menu choose... Send to / recipient.

  • Best way to MouseDrag several objects around a scene.

    So I'm having a little trouble tried to drag the 3 s Box in a scene.

    Originally, I had it in place where everyone was transferred to an x, is translated Z, then assign a DRC. Then I thought that instead of the click of the mouse on the box itself, I'd be at the root. From there, I would look through all the root.getChildren (then) that see if it contained the x, position y.


    So to know who my children root I clicked on I did .setOnDragged of root.getChildren.get (current) to figure out that it was dragged.

    The code itself has worked with the exception of find which box I was.

    The question that I find, is that I only PositionX, getSceneX and getScreenX. SceneX and X produce the same value and ScreenX is useless. I then tried to do event.getX () - root.getLayoutX () contains the function works, but it did not work and would require me to change many things. getLayoutX() a = 0, since I did not indicate the location of the root, only the locations of the box.

    From there on, I was wondering if there was a better way. Then I thought maybe to loop through each element in my root or in an arrayList (which is what I used, but realized the root.getchildren should work like the original) but the problem is he keeps only save one last list, then just shut up and that's it.

    So I want to know, what would be the best way to understand what object am I?

    Initially, I use contains (Swing) but Swing is different, and as we can save mouseEvents to each node, should we not we know now exactly what we we are, while making a loop in each of them? I think it's easier than having to check each contained unique mouse position, especially if I have 10000 points to check?

    Edited by: KonradZuse March 18, 2013 20:05

    KonradZuse wrote:
    Thanks for the help!

    I can now draw a box, so there is no question about it, just that I have several boxes and I need to be able to drag each without knowing the total.

    I have 1000 boxes, or 5, I can't save a mouse to each event

    Why not?

    so I thought I would go, and then I realized after I posted this I could use the function 'Mouse_ENTERED' or 'Mouse_PRESSED' field and then move each individual, but it would still be a loop in each of them and then find who's who.

    I do not see that your example below has a certain meaning.

    I have never seen sphere.addEventHandler (MouseEvent.ANY, new DragShapeHandler()); so thank you for this tip.

    Buy it, you can also do

    DragShapeHandler handler = new DragShapeHandler();
    box.setOnMousePressed(handler);
    box.setOnMouseDragged(handler);
    

    If you prefer the convenience methods. (It is important that convey you the same reference for both).

    >

    It seems that the "DragShapeHandler" will basically get the source node and then move it? If we really do not need to know which.

    OK-ish. It uses event.getSource () to determine the source of the event (i.e., the node on which the event occurred). But you might as well set a field in the DragShapeHandler class with the node that had to be moved:

      class DragShapeHandler implements EventHandler {
    
        private double sceneAnchorX;
        private double sceneAnchorY;
    
        private final Node nodeToMove ;
    
        DragShapeHandler(Node node) {
           this.nodeToMove = node ;
        } 
    
        @Override
        public void handle(MouseEvent event) {
          if (event.getEventType() == MouseEvent.MOUSE_PRESSED) {
            sceneAnchorX = event.getSceneX();
            sceneAnchorY = event.getSceneY();
          } else if (event.getEventType() == MouseEvent.MOUSE_DRAGGED) {
            double x = event.getSceneX();
            double y = event.getSceneY();
            nodeToMove.setTranslateX(node.getTranslateX() + x - sceneAnchorX);
            nodeToMove.setTranslateY(node.getTranslateY() + y - sceneAnchorY);
            sceneAnchorX = x;
            sceneAnchorY = y;
          }
        }
      }
    

    and then:

    ...
    box.addEventHandler(MouseEvent.ANY, new DragShapeHandler(box));
    ...
    sphere.addEventHandler(MouseEvent.ANY, new DragShapeHandler(sphere));
    

    I slightly prefer the getSource(), I think that, like the box.addEventHandler (..., DragShapeHandler (box)) new; is a little unnatural. Without doubt, however, this version is more robust (it's more type-safe because you are forced to specify a node to drag, while the source of the event could theoretically be any object).

    >

    That's a lot of sense that you're making a new node and just dragging it as such. so I can creater add a picture of the area between them and I just needed to understand the point of click, to get the box then he would know to do hmm...

    Should really "to display the box" as stated above. Just register a Manager with any node you want to be able to drag and the Manager he will drag.

  • Partition question - what would be the best way to increase its space and take part of the space from another partition

    Hello, I have my 500 GB SATA broken down into 3 partitions. Vista and 2 others. The problem is the process of using Partition Magic, Vista has been given only 30 GB, now its operation with 1-2 GB of free space. I want to know what would be the best way to increase its space and take part of the space from another partition, but I don't want to have to reinstall or do I want to lose all the data like photos, browser, documents and news ect.

    -Thank you

     

    You can read more details on "How to move from one partition to the other sapce without loss of data.

  • Best way to copy the ISO and Template on another VMFS volume?

    Since we are running out of disk space, we would like to change the size of a volume VMFS existing 500 GB to 400 GB.  This VMFS volume contains ISO images and virtual machine templates.

    We have already created a new 400 GB size VMFS volume and would like to know what is the best way to copy the ISO and models from the 500GB to 400GB size VMFS volume.  Can we use WinSCP or use the command line?

    Your advie is requested.

    The more simple and quick to copy ISO files store data to another, is to use Veeam FastSCP. It copies data directly from one host to another. And it's free (http://www.veeam.com/vmware-esxi-fastscp.html)

  • Best way to send the report

    What is the best way to edit this report in order to send it as a csv file and an html attachment using a smtp server?

    Get-VIEvent - MaxSamples ([int]: MaxValue) - start $start - finishing $finish |

    Where-Object {"VmCreatedEvent", "VmClonedEvent", "VmDeployedEvent" - contains $_.} GetType(). Name} | %{

    $evtThisNewVMEvent = $_

    Get-VM-Id $_. Vm.VM |

    Select @{N = 'The virtual computer name'; {E = {$_.name}},

    @{N = "MΘmoire (GB)"; E={$_. MemoryGB}},

    @{N = "time created"; {E = {$evtThisNewVMEvent.createdTime}}

    } | Export-csv-path "c:\vmscreated.csv" - NoTypeInformation

    You can use something similar as in Re: Emailing the results of a PowerCLI report

  • Best way to send data

    Hello

    It is more a question aside server, but I wanted to see what is the 'best practice' BB, and how the experts deal with this scenario.

    I intend to use servlets to serve data over HTTP to my BB application.  I need to retrieve a list of images more associated with name, description, dates, etc.  Sent a picture of servlet, I know that I can just send it as a byte array and the BB it can read the http input stream.  What to send the image and data? How can we separate the bytes of the image of the data bytes. Can I send a collection of images and associated data?

    What is the best way to address the issue?

    Thank you

    T

    I would answer the question by asking "what your infrastructure server-side looks like?

    If it's dot net, then you will probably want to take the path of least resistance and use JSR 172 or KSOAP.

    If you have more flexibility on the server, I recommend XML or JSON (as Peter says). JSON is going to be more compact, but the BB JSON tools are a bit sparse.

    On the other hand, SAX on the BB parser libraries are good enough for XML.

    I would say that in every project I've ever worked, I bypassed the weaknesses of the infrastructure server, rather than the reverse.

  • URGENT! Best way to send a large project FCPX to another editor?

    Hello

    I worked remotely on a FCPX project for a client, and now it's time to transfer so that another editor can finish editing.

    We both have the same files source on our drives.

    As I began the project my end, I have the library FCPX here with the timelines for project I want to send him via Dropbox, BUT that the total library file is 768 GB! I am able to send ONLY the timelines for project? It will be capable of to re-connect media easily its end?

    What is the best way to achieve this?

    Help, please!

    Thank you.

    You may not use the managed media when you are working. Assign an external location for your media in the library properties. Consolidate the library for media are moved out of it. Create a library of transfer where you copy the items you want to share with the other editor. Send it to them. They have a record that must match yours with the media. They reissue the multimedia content.

  • Best way to keep a list and a synchronized SimpleListProperty

    Hello
    What is the best way to (i. e. - for the moment work) to keep my 'plain' list and JFX SimpleListPropertry synchronized? Currently, I think something like that, but I'm sure that there is a better way:
    public class MyEntity {
        private List<String> myList=new ArrayList<>();
    
        // getters and setters
        public List<String> getMyList() {
            return myList;
        }
        public void setMyList(List<String> myList) {
            this.myList = myList;
        } 
    }
    
    
    
    
    
    public class MyEntityJFX {
        private MyEntity backer=new MyEntity();
        private SimpleListProperty<String> myList=new SimpleListProperty<>(FXCollections.observableList(new ArrayList<String>()));
    
        
        
        
        //Constructors
        public MyEntityJFX() {
            this.bindToBacker();
        }
    
        public MyEntityJFX(MyEntity backer) {
            
            //backer attribute checking logic ommited... 
            this.backer=backer;
            
            //filling the SimpleListProperty
            if(backer.getMyList()!=null && !backer.getMyList().isEmpty())
            {
                for(String s : backer.getMyList())
                {
                    this.myList.add(s);
                }
            }
            this.bindToBacker();
        }
        
        
        
        
        //Service methods
        /**
         * Synchronizes JFX properties' values with backer's
         */
        private void bindToBacker()
        {
            this.myList.addListener(new ListChangeListener<Object>() {
    
                @Override
                public void onChanged(Change<? extends Object> c) {
                    //not sure if this is a good approach
                    //and what exactly to do here
                }
            });
        }
        
        
        
        
        //Getters and Setters
        public SimpleListProperty<String> myListProperty()
        {
            return this.myList;
        }
        
        public final List<String> getMyList()
        {
            return this.myList.get();
        }
        
        public final void setMyList(List<String>myList)
        {
            //don't like this at all
            this.myList.clear();
            if(!myList.isEmpty())
            {
                for(String s : myList)
                {
                    this.myList.add(s);
                }
            }
        }
    }

    Use Bindings.bindContent (list, observableList)

  • What is the best way to show 1000 objects moving in a field?

    Hello. I'm trying to JavaFX 2.0 and higher. I want to create 1000 objects (because now they can be rectangles) and move them randomly (for now). What is the best way to do this? Do I have to create an initial keyframe for each object? I was watching the demo of BrickBreaker. Is all that I need? I'm looking for a simple example. For example: ColorfulCirclesSample. Basically, what I want to do is create 1000 rectangles with random attributes including a vector (direction and speed) and show them using JavaFX 2.x.

    Thanks in advance.

    ServandoC

    Not that this is the best way, but it's an example, you can try:

    import java.util.Random;
    import javafx.animation.*;
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.*;
    import javafx.scene.image.*;
    import javafx.scene.input.KeyEvent;
    import javafx.scene.paint.Color;
    import javafx.scene.transform.Rotate;
    import javafx.stage.Screen;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    
    // animates a 1000 objects (klingons) moving around the scene at random directions and velocity.
    public class ObjectsInMotion extends Application {
      private static Random random = new Random(42);
      private static final int    N_OBJECTS   = 1000;
      private static final int    OBJECT_SIZE = 20;
      private static final Image  KLINGON = new Image("http://icons.mysitemyway.com/wp-content/gallery/green-jelly-icons-transport-travel/038998-green-jelly-icon-transport-travel-star-trek-sc43.png", OBJECT_SIZE, OBJECT_SIZE, true, true);
      public static void main(String[] args) { launch(args); }
      @Override public void start(final Stage stage) throws Exception {
        // initialize the stage to fill the screen with klingons.
        stage.setTitle("Starboard bow");
        stage.setFullScreen(true);
        final double screenWidth    = Screen.getPrimary().getBounds().getWidth();
        final double screenHeight   = Screen.getPrimary().getBounds().getHeight();
        final Group objects = new Group(constructObjects(N_OBJECTS, OBJECT_SIZE, (int) screenWidth, (int) screenHeight));
        stage.setScene(new Scene(objects, screenWidth, screenHeight, Color.MIDNIGHTBLUE.darker().darker().darker()));
        stage.show();
    
        // press any key to exit the program.
        stage.getScene().setOnKeyTyped(new EventHandler() {
          @Override public void handle(KeyEvent event) {
            stage.close();
          }
        });
    
        // move the klingons around according to their motion vectors.
        final Timeline timeline = new Timeline(
          new KeyFrame(
            new Duration(1000/30), // update the klingon's motion 30 times a second.
            new EventHandler() {
              @Override public void handle(ActionEvent event) {
                for (Node n: objects.getChildren()) {
                  // apply the motion vector for this object to determine the object's new location.
                  MotionVector vector = (MotionVector) n.getUserData();
                  double tx = n.getTranslateX() + vector.velocity * Math.cos(Math.toRadians(vector.angle));
                  double ty = n.getTranslateY() + vector.velocity * Math.sin(Math.toRadians(vector.angle));
    
                  // wrap the objects around when they fall off the starfield.
                  if (tx + n.getLayoutX() > screenWidth)  tx -= screenWidth;
                  if (tx + n.getLayoutX() < 0)            tx += screenWidth;
                  if (ty + n.getLayoutY() > screenHeight) ty -= screenHeight;
                  if (ty + n.getLayoutY() < 0)            ty += screenHeight;
    
                  // update the object co-ordinates.
                  n.setTranslateX(tx);
                  n.setTranslateY(ty);
                }
              }
            }
          )
        );
        timeline.setRate(5);
        timeline.getCurrentRate();
        timeline.setCycleCount(Animation.INDEFINITE);
        timeline.play();
      }
    
      // construct an array of n objects of rectangular size spaced randomly within a field of width and height.
      private Node[] constructObjects(final int n, final int size, final int width, final int height) {
        Node[] nodes = new Node[n];
        for (int i = 0; i < n; i++) {
          ImageView node = new ImageView(KLINGON);
          node.setLayoutX(random.nextInt(width  - size / 2));
          node.setLayoutY(random.nextInt(height - size / 2));
          MotionVector vector = new MotionVector();
          node.setUserData(vector);
          // rotate the klingon to align with the motion vector accounting for the klingon image initially pointing south-west.
          node.getTransforms().add(new Rotate(vector.angle + 225, node.getFitWidth() / 2, node.getFitHeight() / 2));
          nodes[i] = node;
        }
    
        return nodes;
      }
    
      // polar co-ordinates of a motion vector.
      class MotionVector {
        final double velocity = random.nextDouble();
        final double angle    = random.nextDouble() * 360;
      }
    }
    
  • Best way to retrieve the object named?  best way to get a named object?

    Inside of my loop, where I get my XML objects I added a code to draw and add the mask:

    var myMask:MovieClip = new MovieClip();

    / / width height x color settings play etc etc.

    myMask.name = '-NAME' + i; set the NAME

    myContainer.addChild (myMask);

    myContainer.mask = myMask;

    the mask looks good on the scene.

    now since I the name I want to use for another purpose such as move

    now I want to call real myMask

    I get my number 'num' of the other function, which works very well

    function applyMask(num:int):void {}

    need to call myMask("NAME-"+num)

    }

    I tried myContainer.getChildByName

    have you tried: var hide: myContainer = getChildByName ("NAME-" + String (num)) as myContainer;

    I traced to the options I can think of me, but all the results found no property.

    hmm I know that I do not use the right method of appeal? So what is the best way to call my named object?

    I think that the use...

    var theMask:MovieClip = myContainer.getChildByName ("NAME-" + String (num));

    would work, where you can use theMask to target.  Another approach to this would be to store each mask in a table so that you can just use the table to target the...

    var maskArray:Array = new Array();

    var myMask:MovieClip = new MovieClip();

    maskArray [i] = myMask;

    myContainer.addChild (myMask);

    myContainer.mask = myMask;

    Note: When first name you the object you should convert I have a string as well... myMask.name = "- NAME" + String (i); ".  at least I have is already a string

  • What is the best way to import my address and e-mail of Pegasus in Thunderbird?

    I use Windows 7 x 64. I have a number of files and many electronic addresses in the Pegasus Mail client. I'm looking to migrate to Thunderbird. Can you tell me the best way to move my files to Thunderbird?

    Thank you
    Allen Hill

    For your address books, can export you to a format such as CSV?

    To move e-mail messages, the cleaner is to use the IMAP protocol. Then your new client look just the same files you had in Pegasus.

    Unfortunately, email clients tend to use their own systems of storage of e-mail owner and there is no commonly used standards that could help to transfer between clients. If you can export files in mbox format, then Thunderbird can use.

  • What is the best/best way to get just Photoshop and first applications?

    Hello Adobe community.

    I'm curious the best about the ideal way to get just Photoshop and first. I have currently the library full of Adobe applications, and I noticed that I don't use the majority of the applications outside of these two. My subscription of the year ends in November (thank you for Black Friday deals). I want an idea of some of the things that I can do to save money and get the best value for both applications as the price of subscriptions is a little strange.

    After watching the price of subscriptions and their descriptions, is logical that the best option I have is to get the Plan of Single-App creative cloud for first ($19.99 per month) and also opt it for the Photoshop & Lightroom Plan ($ 9.99 per month)?

    The price, I was looking at: plans membership: pricing and subscriptions | Adobe Creative Cloud

    I appreciate any help I can get. See you soon!

    If you want these two programs (Lightroom does bundle special photographer, but there is of course no need to install or use) then what you described is the only way

    Don't forget to cancel your existing subscription before the end of your current period

    Cancel see answer #1 in https://forums.adobe.com/thread/2023066 - includes a link to Chat from Monday to Friday

    -or directly at this link https://helpx.adobe.com/creative-cloud/help/cancel-membership.html

Maybe you are looking for

  • HP probook 4530 s device missing base systΦme

    This is my 5th day since I purchased this new HP probook 4530 s [LH313EA #ABV] and I like it, I did a clean install of windows 7 ultimate x 64 and I have just realized that the dose of drivers hp support page does not all drivers for the ultimate ver

  • Satellite A100-233 battery works only 30 min - need a new

    My A100-233 battery has been damaged and it works for only 30 minutes now, when I searched this forum, I found this thread: http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?MessageID=96531 but when I searched on eBay for:PA3478U-1BRSPA34

  • Droid Razr M - update only via wifi

    I used to have a setting on my phone which stated that all updates should only be carried out when I had wifi connectivity (to reduce the use of data). With the last update I cannot locate this option, and I find that the apps are updated at anytime,

  • Can not enter information in the body of an email to hotmail.

    My hotmail will take TO information and information of subject but will not allow anything in the body so I can't send e-mails

  • I can't get sound

    All of a sudden, I am unable to get sound if any Cd DVD videos or alerts. I don't know if I cut by mistake or if something happened.