Interaction between Actionscript 2 apps and Actionscript 3 app

Hi,
              I got a project to refectoring. Its coded in as2. As One application (TabManager) has 5-6 tabs, and loading different swfs (coded in as2) at click on different tabs. Then according to user interactions, the loaded swfs are interacting with tabmanager (main swf) file like calling functions and sending objects and tabManager swf is also interacting with its loaded swfs. In short, All swfs are interacting each other.
Now, I have to develop two application, one is the main application "TabManager" and other one is 3rd (one application out of 5-6 applications, whose are loading in tabmanager) loaded application in tabManager.
To make the long story short, I need to load action script 2 coded applications under a action script 3 application and need to call each other function and send object type data.
The Actionscript 3 app is in flex.
So, please suggest the best options, One I know is LocalConnection class.
Is there any other better way to interact between as2 and as3.

It will be easier to rewrite the whole lot rather than try and manage intercommunication between as2/3 in a project with a lot of interdependencies between swfs.
If you try and continue the project, as described with a mix, you are in for a lot of pain.
Essentially you will be writing a communications protocol for the interactions between each swf and the main AS3 project. It will be a mess.

Similar Messages

  • Interaction between Actionscript 2 application and Actionscript 3 application

    Hi,
                  I got a project to refectoring. Its coded in as2. As One application (TabManager) has 5-6 tabs, and loading different swfs (coded in as2) at click on different tabs. Then according to user interactions, the loaded swfs are interacting with tabmanager (main swf) file like calling functions and sending objects and tabManager swf is also interacting with its loaded swfs. In short, All swfs are interacting each other.
    Now, I have to develop two application, one is the main application "TabManager" and other one is 3rd (one application out of 5-6 applications, whose are loading in tabmanager) loaded application in tabManager.
    To make the long story short, I need to load action script 2 coded applications under a action script 3 application and need to call each other function and send object type data.
    So, please suggest the best options, One I know is LocalConnection class.
    Is there any other better way to interact between as2 and as3.

    there is no other way to communicate between as3/as2 swfs in real time.

  • How does QoS work with WAAS WCCP? What's the interaction between QoS Traffic Classification and WAE Traffic Application Policy?

    How does QoS work with WAAS WCCP? What's the interaction between Router QoS Traffic Classification and WAE Traffic Application Policy?

    By default, WAAS preserves the DSCP marking on intercepted packets.  There is a configuration option to set/override the DSCP value at the global (device), application, and classifier levels.  Currently WAAS provides marking only.  There is no action taken by WAAS based on the DSCP value.
    Regards,
    Zach

  • Interaction between installed Cloud apps on training computers and private iPads possible?

    I did run into this problem at my last training: As the training computers were preinstalled with their ID they could not interact with the private ipads. I do not have the admin rights to install a tryout version for the training. IIs there a workaround?

    Does that mean you have to sign out of creative cloud on one machine and sign back in to creative cloud on the other machine to be able to use it?
    No. You can be signed in to the Cloud (using the same Adobe ID) on two separate computers at the same time.
    If you want to activate the Cloud on a 3rd machine then you need to sign out of one of the other computers.
    Your issue on your home computer is unlikely to be related to signing in.
    Mac or Windows at home? Which operating system?

  • Interaction Between Action Script3.0 and TimeLine Objects?

    HI! i am developing a simple bowling game and new to actionscript3.0 i am facing problems
    1# I have created a movie clip out side the time line and when i add the created movie clip to the stage its x and y coordinates are different and
    2# problem is when my bowling ball hit the pins then i use if conditions and access to the time line animations like gotoAndStop("thisanim") , gotoAndPlay("thisanim") but when i use some nested conditions like if force is greater then this then gotoAndPlay("this anim") but it is not working well please guide me through that i am using it right or i am missing something that i don't know about actionscript3.0.
    I want some good Advice about this specially on interacting with Time Line using Action Script.3.0
    Thanks in Advance..
    Message was edited by: SAM FLASHER

    neither of your problems is clear.

  • Interaction between elevated PS session and non-elevated processes

    Mighty all, I'm trying to leverage the following code to interact with instances of powerpoint running on a system
    [Runtime.InteropServices.Marshal]::GetActiveObject('Powerpoint.Application')
    All works as expected until my code gets executed in the same security context as powerpoint.
    Now my problem is that as soon as this code runs from a PS session of the same user but with administrative flags - magic stops happening :(
    Can anyone think of a way to keep my code running?
    Thanks in advance!

    Hi Alex,
    Had you got any errors finally or the powershell cmdlet hung?
    In addition, based on my research, If your client (calling into an instance of PowerPoint) runs with IL "medium integrity", and all office applications run with this IL, the connection to the remote instance will fail from a client running with an higher
    IL, (for instance when you run as administrator).
    Reference from:
    PowerPoint --> Marshal.GetActiveObject("PowerPoint.Application");
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • How to make interaction between select many checkbox and a database ?

    Hi ;
    i'm recently setup and start to use jdev Adf faces 11g (11.1.1.3.0), and i'm trying to use a select many checkbox component.
    i want to link this select many checkbox with the result of of a select request.
    in my data object, i created an attribute as LOV (list of value), now i do not now what's the next step ??
    i will be extremely glad if you give me an example..
    thank you in advance, and please excuse my english

    See if this helps -
    Re: Many to many in ADF BC with selectManyShuttle

  • Interaction between 2 classes (servlet and someother)

    Hi all,
    I have 2 java files one is a servlet and the other is an ordinary java file which checks to see whether a username and password exists in the database(UserPresent.java).This file has got the presentation layer which has to be put into the servlet.
    The servlet file must call the UserPresent.java file.I am going to make an interface to the UserPresent.java file ,I will call it User.java.This User.java file will have a method by name
    public boolean validateUser(String username,String pasword) .
    The UserPresent.java file will implement this interface.
    My question now is,where will these java files be put ?,hope that my point is conveyed.How do I test UserPresent.java file.Kindly excuse me if there is a much more sophisticated way of expressing this.
    Hoping to hear from you all
    Thanks
    AS

    If put means where does that files goes into directories.
    then u can put that files in same package as servlet resides or put in anther package and import
    thats all my understanding
    regards
    hithesh

  • Interaction Between Anchor or Dock and Size C#

    I know Anchor and Dock are mutually exclusive, with the most recently set one taking precedence.  Am I also correct in thinking that if I Anchor a control to both the Top and Bottom or Left and Right of its container, any subsequent attempt to set the
    corresponding Size (Height or Width) will be ignored because Anchor (and Dock) takes precedence over Size? 
    Thanks.  Steve

    Use the Anchor property to define how a control is automatically resized as its parent control is resized. Anchoring a control to its parent control ensures that the anchored edges remain in the same position relative to the edges
    of the parent control when the parent control is resized.
    Hello,
    Yes, I agree.
    For Dock, we could refer to
    How to: Dock Controls on Windows Forms
    The control is automatically resized to fit the boundaries of the docked edge.
    For Anchor, we could refer to
    Control.Anchor Property
    Use the Anchor property to define how a control is automatically resized as its parent control is resized. Anchoring a control to its parent control ensures that the anchored edges remain in the same position relative to the edges
    of the parent control when the parent control is resized.
    Since both of them could get that contol resized to fit its parent, so you are right that these properties takes precedence over size.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Interaction between Linux operating system and WindowsNT

    Hi,
    I have a Gatekeeper built in with Linux Operating System. This GateKeeper checks whether the customer is valid or not. If he is valid person the connection will be establish.
    I have Database on SQL server in WinNT. Here he is having his Account Database.
    My problem is:
    If the customer making call, if that customer having no bugs, that call will be disconnect at that time.
    Can anybody help this one to me.
    Thanks & regards

    Hi,
    I have a database in my SQL server. My operations are running in Linux system.
    If the client having zero bugs. i have to send one agent to Linux. This agent has to stop that particular operation.
    Thanks & regards

  • JavaCard Interaction with PC Java App

    Greetings,
    Hi, is there any example of the interaction between a JavaCard App and a Desktop App. Could you please give me a link?
    Thanks in advance,
    Fernando

    You probably want to do some simple socket communication.
    JINI, RMI and SOAP requires far more code and experience than sockets.

  • Explicity mapping between ActionScript and Java objects for the BlazeDS Messaging Service

    The BlazeDS documentation shows how to explicitly map between ActionScript and Java objects. For example, this works fine for RPC services, e.g.
    import flash.utils.IExternalizable;
    import flash.utils.IDataInput;
    import flash.utils.IDataOutput;
    [Bindable]
    [RemoteClass(alias="javaclass.User")]
    public class User implements IExternalizable {
            public var id : String;
            public var secret : String;
            public function User() {
            public function readExternal(input : IDataInput) : void {
                    id = input.readObject() as String;
            public function writeExternal(output : IDataOutput) : void {
                    output.writeObject(id);
    and
    import java.io.Externalizable;
    import java.io.IOException;
    import java.io.ObjectInput;
    import java.io.ObjectOutput;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Set;
    public class User implements Externalizable {
        protected String id;
        protected String secret;
        public String getId() {
            return id;
        public void setId(String id) {
            this.id = id;
        public String getSecret() {
            return secret;
        public void setSecret(String secret) {
            this.secret = secret;
        public void readExternal(ObjectInput in) throws IOException,
                    ClassNotFoundException {
            id = (String) in.readObject();
        public void writeExternal(ObjectOutput out) throws IOException {
            out.writeObject(id);
    If I called an RPC service that returns a User, the secret is not sent over the wire.  Is it also possible to do this for the messaging service? That is, if I create a custom messaging adapter and use the function below, can I also prevent secret from being sent?
    MessageBroker messageBroker = MessageBroker.getMessageBroker(null);
    AsyncMessage message = new AsyncMessage();
    message.setDestination("MyMessagingService");
    message.setClientId(UUIDUtils.createUUID());
    message.setMessageId(UUIDUtils.createUUID());
    User user = new User();
    user.setId("id");
    user.setSecret("secret");
    message.setBody(user);
    messageBroker.routeMessageToService(message, null);

    Hi Martin. The way that AMF serialization/deserialization works for BlazeDS is the same regardless of which service is being used, so yes that code will work for messaging as well. On the server, the serialization/deserialization of messages happens at the endpoint. For an incoming message for example, the endpoint deserializes the message and then hands it off to the MessageBroker which decides which service/destination to deliver the message to.
    That was a good question. Thanks for asking it. Lots of people are used to doing custom serialization/deserialization with the RPC services (RemoteObject/RemotingService) but I'm not sure everyone realizes they can do this for messaging as well.
    -Alex

  • Where's the best place to get code converted between ActionScript 2.0 and 3.0?

    Where's the best place to get code converted between ActionScript 2.0 and 3.0?
    If I just have occasional (very small) projects, what's the best way to get them done really fast by somebody who knows both 2.0 and 3.0?
    Thanks, Dan

    You have pretty much answered your own question... hire someone who has fairly thorough knowledge of both AS2 and AS3.
    I have heard there are some tools for converting between AS2 and AS3, but I have no knowledge of them other than having heard that they cannot convert all things.... which makes sense because there is not always a one-to-one relationship to how things ae done with AS2 and how they get done with AS3.

  • How do I interact between stage and classes?

    Hi,
    I have asked this question before, and all I got is "Go back
    to reading beginner books", so I'm hoping that someone here is
    willing to actually answer my question as opposed to brushing me
    off because they were unwilling to help...
    And yes, I have read books on the topic and gone through tons
    of the documentation and not found the answer to this. I have
    ActionScript 1 and JavaScript experience, so this whole business
    shouldn't be this hard.
    I am using ActionScript 3 in Flash CS3.
    My problem is this:
    I need to find out how to send commands between stuff on the
    stage and stuff that's defined in a class.
    I have had this issue for ages and kept trying to find ways
    around it since so far I haven't been able to find help for it.
    For example:
    When using a document class, how can I access the current
    frame number of the Stage?
    Or using a document class, how can I access any object (like
    a MovieClip with instance name) that was put on the stage using the
    IDE?
    Currently, to be more specific, I am trying to do something
    really simple:
    Make a button work on my stage that is not always visible.
    With AS3 that's not as easy anymore as it used to be.
    So what I did now is create the button in the document class,
    used addChild and set it to alpha = 0.
    Now, when the Stage reaches specific frames (i.e. ones with
    labels, and I got this part figured out), it is supposed to make
    the button visible. Then I can add event listeners and stuff, and I
    can figure that part out myself.
    I don't know how to access the stage frame number from the
    document class, so I put it into a frame script in frame 1, but now
    this script cannot access the button that is defined in the
    document class.
    It's driving me bananas...
    PLEASE, someone here, can someone please explain to me how I
    can make this work?
    I have seen plenty of diagrams of the Display List and the
    Object Hierarchy, but none of that explains how to actually USE any
    of it...
    Thanks so much in advance to anyone who is willing to spend
    some time to answer!

    Well, first of all, I have to say that AS3 has basically been
    designed to be difficult on purpose, in that all this interaction
    between objects is purposefully very strict. For this reason, I
    still use AS2 for all my basic Flash work. AS3 is just a lot more
    involved, a lot more strict, a lot less forgiving... you need a lot
    of experience with it before it starts to make sense.
    Now, I think I might have a few specific answers to your
    questions:
    From any DisplayObject (this includes any Document class,
    which has to extend MovieClip or in some cases Sprite) you can
    access the Stage using the 'stage' property.
    However, stage is probably not exactly what you want, you
    want the main timeline, which is the child of stage. To access the
    main timeline, you can use the 'root' property of any
    DisplayObject.
    However, unless you have strict mode off, Flash won't let you
    just say "root.myMovieClip" because the root property is of the
    type DisplayObject, which is not a dynamic class (meaning you can't
    add properties to it) and it has no built in property "myMovieClip"
    so it thinks you made a mistake. So you have to "cast" the root
    property as a MovieClip, which *is* dynamic so it will let you try
    to reference anything on it (like AS1/2 did for everything.)
    So what all that means is this should work from inside you
    document class:
    (root as MovieClip).myMovieClip
    or
    MovieClip(root).myMovieClip
    Either will successfully reference a MovieClip you had put on
    the main stage in the IDE and named "myMovieClip".
    Rather than setting the alpha to 0, try setting visible to
    false. I think this will disable all interactive events, where
    simply setting alpha to 0 would make it still be interactive.
    HTH

  • Can I install the FF 4 Beta and the FF 3.6 versions on same computer without interaction between them?

    I do not want to delete the version I am using now because I know most of the web tool apps I have will be disabled. Been there; done that too many times.
    Was hoping I could try the latest FF 4 without it messing up everything by installing in a different folder or will it pick up the FF 3.6 Profile, Add-ons, etc. and maybe even re-write the Registry keys for version I want to keep functioning?

    There aren't interactions between different Firefox versions as long as you make sure to have a separate profile and shortcut for each version and keep an eye on the current default browser and set the default profile via the profile manager once to the correct profile. The portable version is only easier for inexperienced users, but once you understand how things work then normal versions work flawlessly.

Maybe you are looking for

  • HT200188 NAT from KB/ht5215 broken in ML 10.8.2?

    We've been using NAT with Lion Server and ML Server as described in the KB article but this config has broken on of our servers with the 10.8.2 / Server 2.1 (and 2.1.1) update. Basically, the pfctl lauch daemon won't load (exited with code: 1). Has a

  • .prel files will not open in Elements 10

    When i try to open a .prel file i get "this type of file is not supported or the required codec is not installed" , i have opened/edited/saved these files many time before without issue. How do i fix this?

  • Raise exception in Start Routine

    Hi, In my start routine of the update rules, I would like to raise an exception when an entry is not found in the master data... like this, SELECT Y FROM TABLEX where X = A. IF SY-SUBRC NOT 0. Raise Exception "Value X not maintained in TABLEX. If you

  • My iPhone 3GS has died. It will not turn on, reset, charge-nothing. Any ideas?

    Was listening to music and paused it to put in headphones and it just shut down. Have tried charging it and resetting, but nothing happens. Any input would be great, thanks!

  • Connection lost during minutes

    Hello, thanks in advance for your replies the problem is that  we lost the connection during some minutes with the server .The ping is right but we are not able to login to the server or open SAP sessions. could youy help me please Thanks