Event not to be heard between classes

Hey all,.

I have run in a matter where a custom event is not heard between objects.

Here is my set up: I have two classes, game board, and InstructionsBoard, each is associated with the library, in the properties panel as a class to clips on the stage.

I send my GameBaord class event:

dispatchEvent (new CustomEvent (CustomEvent.ANIMATION_DONE));

and wait for it in my InstructionsBoard class:

com of the packaging. SettingflipGame

{

import flash.display.MovieClip;

import com. SettingflipGame.CustomEvent;

/public class InstructionsBoard extends MovieClip

     {

public void InstructionsBoard()

          {

this.addEventListener (CustomEvent.ANIMATION_DONE, SlideInstructionsBaord, true);

          }

private function SlideInstructionsBaord(event:CustomEvent):void

          {

trace ("Slide out board");

          }

     }

}

It traces never ' Slide out board.

Thank you guys

only one instance of your class of GameBaord (sic) can listen to an event sent by this instance.

Tags: Adobe Animate

Similar Questions

  • Could not initialize all required WMI Classes

    My programs that rely on WMI function do not work properly. When I checked the WMI settings (went to Device Manager > WMI Control > properties), I get the following error:

    Could not initialize all required WMI classes.

    Win32_Processor: Win32: the system cannot find the specified file.
    Win32_WMISetting: success
    Security information: success
    Win32_OperatingSystem: The system cannot find the specified file.
    I already tried to re-enroll the WMI, but that doesn't seem to do the trick. I also confirmed that the processor appears in Device Manager. Any thoughts? Any help would be appreciated.

    Hi Mattabedi,

    Thanks for posting your query in the Microsoft Community Forums.

    Help me with more information.

    1 are. what program you referring?

    2 is specific to the program the issue?

    You can run WMIdiag tool and check if it helps.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=7684

    See also:

    http://msdn.Microsoft.com/en-us/library/aa394603 (vs.85) .aspx

    It will be useful.

    Let us know if you encounter problems under windows in the future. We will be happy to help you.

  • Try reinstalling iTunes but I get the error "could not open key: HKEY_LOCAL_MACHINE\Software\Classes\.m4b\OpenWithList\iTunes.exe.

    original title: problem with installation of iTunes

    Hi guys

    iTunes was running great until I tried to update to 9.0...

    I tried the apple forums and forum of microsoft ideas, but nothing helps...

    I use a dell 17 with vista home premium with sp2 installed studio.

    partially, he settled then I get this error:

    Could not open key: HKEY_LOCAL_MACHINE\Software\Classes\.m4b\OpenWithList\iTunes.exe check that you have sufficient access to that key or contact your support team.

    I guess you're the closest to support staff I have....

    in any case... I uninstalled itunes and quicktime and itunes now will not reinstall.  I tried the version 8.2.1.6 and I guess I can try the previous version... I also tried opening the HKEY and got in what concerns the OpenWithList, but he will not give me access.  I have no idea what I'd do if I got there, but I watched out of curiosity and was blocked...

    any info would be greatly appreciated!

    If you have guitar questions let me know, I have been a tech for almost 25 years.

    Thanks again, scott

    I had the exact same problem and error as you message the guy but he fixed earlier. I'm not an expert, or even trained somehow. I just worked through until I got everything to install. If you try this, please back up your registry first.

    In any case, here's what I did.

    First of all, I uninstalled iTunes, Quicktime, Apple Software updater toally, _-anything with Apple in the name.

    I opened regedit using 'run as administrator '.

    I then went to the registry key:

    HKEY_LOCAL_MACHINE-1-5-18\Components\DA42BC89BF25F5BD0AF18C3B9B1A1EE8\108B43C0CEA676640B35306AE7D24051

    .. .and selected the folder DA42BC89BF25F5BD0AF18C3B9B1A1EE8

    Right-click & click Permissions
    Click Advanced, and then click the owner tab
    Type "Administrators" in the current field of owners and th check Replace owner subcontainer and volumes

    (Note: I did this because I had another key with permission issues, after I fixed the original onelisted above)

    Apply the settings, and then click Permissions tab. Once more, add 'administrators' to the permission entries list, and then click on edit and select all the checkboxes of permission. Also click on the boxes of the 2 bottom regarding permissions inheritable.

    Click OK

    Now on the main permissions tab, choose administrators in the windows user name or group and then check the full control and read check boxes. Click OK.

    In the main window of regedit, you should now see the keys in the right pane for each subfolder in:
    HKEY_LOCAL_MACHINE-1-5-18\Components\DA42BC89BF25F5BD0AF18C3B9B1A1EE8

    In the menu bar click file > exit

    I downloaded and installed the new handset iTunes9 and apple Quicktime.

    Everything worked well. I hope this helps.

    -J

  • Error in the logs when a workflow running on the web client of vSphere WARN {} [TypeQualifierToDecoratorConverter] could not find the mapping for: class ch.dunes.model.type.qualifier.TQCallerParameter, [kind:null, name:contextualParameter, value: __NULL__

    I see this error:

    WARN {} [TypeQualifierToDecoratorConverter] could not find the mapping for: class ch.dunes.model.type.qualifier.TQCallerParameter, [kind:null, name:contextualParameter, value: __NULL__]

    pop up in newspapers of vCO a few times on a workflow when I try to run it from the web client of vSphere.  I wonder if it is somehow contributing to the time it takes to render the page.  We never saw it or someone has a clue about what might be the cause.  Newspapers are clean when I run the workflow of the vCO client.

    TQCallerParameter is a kind of decorator that is not exposed in the REST API. This warning message is safe and does not affect performance at all.

    You don't see it during execution of the workflow of vCO customer because the customer vCO does not use the REST API and therefore does not need to run conversions Decorator.

  • [INS-06006] Connectivity SSH without password do not put in place between the following nodes.

    Hello

    I'm currently building the cluster by RAC 11 GR 2. I try to install Oracle Grid Infrastructure Oracle Linux 6.4 (x86_64bit) machine - node1.abc.com.

    I'm at the stage of the "Cluster Node Information" where I have to provide me with the list of nodes to be managed by the Oracle grid Infrastructure. Currently I have added just me - node1.abc.com with the name of the virtual IP address - node1 - vip.abc.com. The two host name and virtual IP addresses are registered on the DNS server - it is also installed on node 1. Before adding the second node2.abc.com, I was testing SSH connection but it fails. I clicked the [SSH_Connectivity...] button and in the OS Username (grid) and his password. When I press the [Setup] button, it pops up message successful "Able to establish connectivity SSH without password between selected nodes." But when I click on the [Test] button or the [next] button, I get error - ' connectivity [INS-06006] SSH without password, do not put in place between the following nodes: [node 1].» What is the problem and what exactly to do to avoid this error?


    Thank you

    It was because I assigned a real static IP address for the second NIC eth1. With this affected YES wouldn't let you go to the next screen. So I had to remove NIC out of my laptop. But if eth1 is not resolved by the DNS name it also gives you errors. So I guess a correct functioning is I would sign up eth0 and eth1 to the DNS server but eth1 does not have real IP. Then I could go to the next screen.

  • Do not forget the children, package/class paths in the help documentation

    =]

    cayennecode,

    > Sometimes I can't find the classpath fast enough, for example
    > as say the TextField class path, I not really know it,
    > but you don't know where to find it.

    You talk about ActionScript 3.0, right? If so, the class complete
    path or package is listed in the entry of the class for each object. In
    ActionScript 2.0, the TextField class lies not in a package.

    > I seem to be not always registered in the class of files help
    > Documentation.

    Really? What version of Flash are you using?

    David Stiller
    Co-author, Foundation Flash CS3 for designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Link between classes: reference error

    Hello

    I am yet to try to create a movie clip to a list of objects appear on the scene and ask the user to interact with them.

    It will be my class of loop of game called "LetterArray()".

    My main class is called 'BugGoopFSGame() '.

    After that I added the line of code below in my LetterArray(). in the class file, I get the below error message:

    Code is entered:

    private var lettersL1:Array = new Array (a, f, g, h, i, n, o, s, t);

    It comes to getting the error message:

    ReferenceError: Error #1069: property [object T] not found on S and there is no default value.

    at LetterArray()

    at BugGoopFSGame()

    I do not know the reference I use between the two files are not good. Can you please tell me what code I need to add and where.

    Thanks for your help!

    Images of recommended

    This is the code in my main class - BugGoopFSGame()

    package

    {

    import flash.display. *;

    import flash.utils.Timer;

    import flash.events. *;

    import flash.events.MouseEvent;

    import flash.media.Sound;

    import flash.events.Event;

    import flash.media.SoundChannel;

    import flash.media.SoundMixer;

    import flash.media.SoundTransform;

    import flash.text. *;

    import flash.net.URLRequest;

    SerializableAttribute public class BugGoopFSGame extends MovieClip

    {

    public var mybackground:BackGround;

    public var letterArray:LetterArray = new LetterArray (internship); / / This, this is how I connect principal to gameloop

    It is of the early in my gameloop class - LetterArray()

    package

    {

    import flash.display. *;

    import flash.events. *;

    import flash.text. *;

    import flash.utils.Timer;

    import flash.media.Sound;

    import flash.media.SoundChannel;

    import flash.net.URLRequest;

    SerializableAttribute public class extends MovieClip LetterArray

    {

    private var _stage:Stage; //this reference works well for the main file. Should I somehow a link to code mechanically below?

    / * Movie clips that need to go in a table * /.

    level 1

    public var a: A = new A();

    public var f: F = new F();

    public var g:G = new G();

    public var h:H = new H();

    public var I: I = new I();

    public var n: n = new N();

    public var o: O = new O();

    public var changement = new foo();

    public var t:T = new T();

    private var letterArray:Array;

    private var lettersL1:Array = new Array (a, f, g, h, i, n, o, s, t); //this is the line causing the error. I don't know it's because I need to add something to the main class.

    This loop must be in a function body.  for example, use:

    package

    {

    import flash.display. *;

    import flash.events. *;

    import flash.text. *;

    import flash.utils.Timer;

    import flash.utils.getDefinitionByName;

    import flash.media.Sound;

    import flash.media.SoundChannel;

    import flash.net.URLRequest;

    SerializableAttribute public class extends MovieClip LetterArray

    {

    private var lettersL1:Array = new Array [A, F, G, H, I, N, O, S, T]. Here are the video clips, for which classes were created dynamically by Flash

    public void LetterArray {}

    for (var i: int = 0; i //Line 21 )

    {

    var:Class=Class(getDefinitionByName(lettersL1[i])) C;

    var c: * = new C(); create instances of classes in lettersL1

    do everything with c

    }

    }

    }

  • AS 3.0 - & gt; communication between classes

    Hi all

    Here's a good question, that nobody seems to have all the answers for... I searched on the net and it is not really that much info at all, so I'm assuming that we AS 3.0 people do a little "trail blazing", so to speak.

    Here's my problem:

    I would have a particularly modular interface, such as the main movieclip can load in modular pieces and insert them in a framework and have this operation as a 'window' in the Flash. The charger for the movieclip must be dynamic. I'll abstain not harder and get to the point of my question:

    Let's say you have created a class to a movieclip 'circle', which is created in its very own .fla with its own (circle.as) class file that extends the movieclip class. Now let's consider this circle is one of the modules in the base movieclip that will load dynamically.

    The circle movieclip loads, but now you want to communicate with the movieclip of circle and for example, question him and ask him what color his circle is. Surely, we would create a function in the circle class, something like the following:
    public void getColor (): {of color
    Return circlecolor;
    };

    On the main movieclip, we questioned this file that has been loaded, and you can imagine the code to resemble the following:
    public void objectLoaded(event:Event):void {}
    trace ("circleloaded! And Flash coders rule! ») ;
    trace ("the color of this new object is" + event.content.getColor ());
    };

    Now my problem is that I can't connect at all! Test and debugging, it seems that the film circle will not even look at the scene as the root timeline (it will look at the charger as its personal root, I think!). Does anyone have ideas on how we can get some kind of a channel of communication between the classes of movieclip that are loaded dynamically in this mode?


    Yes sorry I forgot:
    You must send the object to a MovieClip for her to work. Full code:

    the Circle.as class

    package {}
    import flash.display.MovieClip;

    SerializableAttribute public class Circle extends MovieClip {}
    var circlecolor:Number = 0xFF0000;

    public void getColor (): number {}
    Return circlecolor;
    }
    }
    }

    This class must be attached to the document (in my case loaded.swf), use the property inspector.

    The following code goes into the swf loader:

    import flash.events. *;
    import flash.display. *;
    flash.net import. *;

    var ldr:Loader = new Loader();
    ldr.contentLoaderInfo.addEventListener (Event.COMPLETE, onCircleLoaded);
    LDR. Load (new URLRequest ("loaded.swf"));
    addChild (ldr);

    function onCircleLoaded(event:Event):void {}
    trace ("the color is:" + MovieClip (event.target.content) .getColor ());
    }

    That's all

  • How to pass a variable between classes?

    Hello

    I created a class .as MovieClip to a MovieClip that contains 7 buttons. I use a table of these buttons and an array of labels of image on the timeline of the MovieClip parent to navigate in the labels.

    ...
    
    private function clickHandler(event:MouseEvent):void 
            {
    //Sets the current button listed in the button array    
     currentButton = MovieClip(event.currentTarget);
                index = buttonArray.indexOf(currentButton);
            
    //Uses the index variable to find the corresponding frame label from the label array            
    MovieClip(root).gotoAndStop(labelArray[index]);
            }
    
    ...
    

    This works perfectly.

    Now I have another .as MovieClip class, I created a simple MP3 player MovieClip. I'm pulling in a XML data of each mp3, including the URL, etc... All works perfectly.

    I'm trying to use the variable "index" of the class Nav.as in the class AudioPlayer.as to play the corresponding number of the song. By calling "playSong (index);

    "playSong (index);" works in a test file, when I tested the navigation tables and the corresponding number xml concept. I need to shoot the variable 'index' from Nav.as to AudioPlayer.as.

    ...
    
    private function playSong(mySong:Number):void 
            {            
                var myURL = my_songs[mySong].@URL;        
            
                if (my_channel) {
                    my_channel.stop();
                }
            
                my_sound = new Sound();
                my_sound.load(new URLRequest(myURL));
                my_channel = my_sound.play();
            }
    
    private function onPlay(e:MouseEvent):void {            
         playSong(index);
            }
    

    It works perfectly when tested. For example: "playSong (2)" or "playSong (5)" plays the song number correct.

    Thank you in advance!

    You should not have a currentIndex in each class, simply on the mother of the other 2 classes. When you say 'this.parent' you access the parent display object. This is where you want currentIndex to exist. If both classes are on the same display list then 'this.parent' will be the same parent and therefore the same variable.

    I didn't know what kind of display object container parent was (MovieClip, Sprite, etc.), so I've referenced it let go like: 'object (this.parent) .currentIndex '.

    Should be in NAV. As:

    Object (this.parent) .currentIndex = buttonArray.indexOf (currentButton);

    AudioPlayer.as should be read through:

    playSong (Object (this.parent) .currentIndex);

  • Pass the URLLoader() variable between classes

    I have two classes. See below.

    What I want to do is quite simple, but I do not know how to do. I want the URLFactory for create table and store it in the variable 'dataArray' and use the table in the main class, by calling the GetList() class URLFactory. I have returns nothing... Please help

    Basically, I need to set a variable equal to URLLoader.data (var something: String = URLLoader.data) so I can use this variable in other classes. WHY ISN'T IT EASIER? Please, I beg you. A solution would be much appreciated.

    package classFiles
    {
    import flash.display.MovieClip;
    Import classFiles.URLFactory;

    SerializableAttribute public class MainClass extends MovieClip {}
    private var _UrlDriver:URLFactory;

    public void MainClass() {}
    _UrlDriver = new URLFactory ('url');
    var temp: Array = _UrlDriver.GetList ();

    }

    }

    }

    package classFiles
    {
    import flash.net.URLRequest;
    import flash.net.URLLoader;
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.sampler.Sample;

    SerializableAttribute public class extends MovieClip {} URLFactory

    private var loader: URLLoader;
    public var textData:String;
    public var dataArray:Array;

    public void URLFactory(url:String) {}
    textData = "";
    this.dataArray = new Array();
    loader = new URLLoader();
    loader.addEventListener (Event.COMPLETE, HandleComplete);
    Loader.Load (new URLRequest (url));

    Temp = CreateDataArray();
    }

    function HandleComplete(e:Event):void {}

    textData = loader.data;

    trace (dataArray);

    }

    function CreateDataArray (): void {}

    trace (dataArray);
    dataArray = textData.split ("\n");
    dataArray = textData.split('","');
    }

    public void GetList (): Array {}

    return dataArray.

    }
    }

    }

    Yes, the data loading is not instantaneous.  This is why you use a complete listener in your factory.

    Similarly, you must use a listener in your main class to check if the data is ready.

    p.s. Please check the useful/correct.

  • Click event on mx button in custom class

    Create a class called ComplexSearch and decided to use the button component.
    as far as I can see my code is very well, but I do not receive my trace on the click event.

    If I put the track on the we (click) compontent {} it works very well.
    If I use the method addEventListner as below, but outside my classroom on the time line, it works fine...

    any suggestions?

    have attached the relevant code

    for the record, after hours of frustration, I found the answer.
    Basically, it's because I had the mc on the scene and attached the class in the connection dialog.
    It lies rather than the constructor, I needed a saee onLoad statement below

  • XMLSocket events not received

    I'm trying to get a simple ActionScript 3 class to connect to a custom Java Server. The server receives the connection, but no events are triggered on the ActionScript side. I am serving a policy file and loading explicitly on the side of the ActionScript

    The simplest code to reproduce, it is as follows:

    =====
    Java code:
    =====
    import java. IO;
    java.net import. *;

    SimpleServer class
    {
    Public Shared Sub main (String [] args)
    {
    System.out.println ("> > starting SimpleServer");
    Try
    {
    int ch;
    System.out.println ("opening server socket to port 8080");
    Socket ServerSocket = new ServerSocket (8080);

    System.out.println ("Waiting for connection on port 8080");
    Plug incoming = socket.accept ();
    System.out.println ("connection accepted. Pending text");

    BufferedReader readerIn = new BufferedReader (new InputStreamReader (incoming.getInputStream ()));
    PrintStream print = new PrintStream (incoming.getOutputStream ());
    System.out.println ("read :");
    While ((ch = readerIn.read ()) > 0)
    System.out.println ("read :");
    While ((ch = readerIn.read ()) > 0)
    {
    System.out.Print ((Char) ch);
    }
    System.out.println("\nDone");

    System.out.println ("exit strategy");
    printOut.println ("<?") XML version=\"1.0\"? " > \r\n <! ("" "DOCTYPE cross-domain-policy SYSTEM------" http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd------"> \r\n < cross-domain-policy > < ow-access-of all area =------" *------' course =------"false\" to-ports =------' 8080, 8081\ "/ > < / cross-domain-policy > \0");

    System.out.println ("close connections");
    incoming. Close();
    Socket.Close ();
    System.out.println ("taken to port 8080 closed");

    System.out.println ("opening server socket to port 8081");
    Socket = new ServerSocket (8081);

    System.out.println ("Waiting for connection");
    incoming = socket.accept ();
    System.out.println ("Waiting for connection");
    incoming = socket.accept ();
    System.out.println ("accepted connection to port 8081");

    System.out.println ("isConnected:" + incoming.isConnected ());

    readerIn = new BufferedReader (new InputStreamReader (incoming.getInputStream ()));
    Print = new PrintStream (incoming.getOutputStream ());
    System.out.println ("sending < Hello / >");
    printOut.println ("< Hello / > \0");
    System.out.println ("smell");
    System.out.println ("isConnected:" + incoming.isConnected ());

    System.out.println ("read :");
    While ((ch = readerIn.read ()) > 0)
    {
    System.out.Print ((Char) ch);
    }
    System.out.println("\nDone");
    System.out.println ("isConnected:" + incoming.isConnected ());

    System.out.println ("sending < Hello / >");
    printOut.println ("< Hello / > \0");
    System.out.println ("smell");
    System.out.println ("isConnected:" + incoming.isConnected ());

    System.out.println ("close connections");
    incoming. Close();
    Socket.Close ();
    System.out.println ("taken to port 8080 closed");
    }
    catch (System.Exception e)
    {
    System.out.println (e);
    }
    }
    }

    =====
    ActionScript code:
    =====
    package
    {
    import flash.display.Sprite;

    SerializableAttribute public class SockTest extends Sprite
    {
    import flash.net.XMLSocket;
    import flash.system.Security;
    import flash.events. *;
    import flash.utils.Timer;

    public void SockTest()
    {
    trace ("type of Sandbox:" + Security.sandboxType);
    trace ("loading policy file");
    Security.loadPolicyFile ("xmlsocket://127.0.0.1:8080"); ")
    trace ("done calling loadPolicyFile");

    var: timer = new Timer (1, 5000);
    timer.addEventListener ("timer", timerHandler);
    Timer.Start ();
    }

    private void timerHandler(event:TimerEvent):void
    {
    trace ("XMLSocket creation");
    var xmlSocket:XMLSocket = new XMLSocket();

    trace ("Calling connect");
    xmlSocket.connect ("127.0.0.1", 8081);
    trace ("done connect call");

    trace ("adding event listeners');
    xmlSocket.addEventListener (Event.CONNECT, connectHandler);
    xmlSocket.addEventListener (Event.CLOSE, closeHandler);
    xmlSocket.addEventListener (DataEvent.DATA, dataHandler);
    xmlSocket.addEventListener (IOErrorEvent.IO_ERROR, ioErrorHandler);
    xmlSocket.addEventListener (SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
    trace ("adding event listeners through");

    trace ("willTrigger (Event.Connect)?:"+ xmlSocket.willTrigger (Event.CONNECT) ");
    trace ("xmlSocket.Connected =" + xmlSocket.Connected);

    xmlSocket.send (new XML code ("< Hello / >"));

    trace ("done send");
    }

    public void connectHandler(event:Event):void
    {
    trace ("connectHandler:" + event);
    }

    private void closeHandler(event:Event):void
    {
    trace ("closeHandler:" + event);
    }

    private void dataHandler(event:DataEvent):void
    {
    trace ("dataHandler:" + event);
    }

    private void ioErrorHandler(event:IOErrorEvent):void
    {
    trace ("ioErrorHandler:" + event);
    }

    private void securityErrorHandler(event:SecurityErrorEvent):void
    {
    trace ("securityErrorHandler:" + event);
    }
    }
    }
    =====
    ActionScript compiled using
    mxmlc-use-network = true SockTest.as
    =====
    Result of Java side:
    =====
    > > from SimpleServer
    Opening of socket server on port 8080
    Waiting for connection on port 8080
    Accepted connection. Pending text
    Read:
    < policy-file-request / >
    Fact
    Political output
    Close connections
    Taken closed to port 8080
    Opening of socket server to port 8081
    Waiting for connection
    Connection accepted to port 8081
    isConnected: true
    Sending of < Hello / >
    Envoy
    isConnected: true
    Read:

    Fact
    isConnected: true
    Sending of < Hello / >
    Envoy
    isConnected: true
    Close connections
    Taken closed to port 8080

    =====
    Output trace for the ActionScript side: [from the debug version of the flash player version 9,0,31,0 stand-alone on Linux]
    =====
    Type of sandbox: localWithNetwork
    Loading policy file
    Fact call loadPolicyFile
    Creating XMLSocket
    Call connect
    Call connect
    Add event listeners
    Result of adding event listeners
    willTrigger (Event.CONNECT)? : true
    xmlSocket.connected = false
    Because of the sending
    =====
    As you can see, no event is fired. I know that the policy file has effect because if I try to connect to any other port, I get a security exception, but here again the SecurityErrorEvent is not triggered. In addition, the data sent from the server not fire either all DataEvent.

    How can I get the events to trigger?

    Thank you
    Vincent

    I got it finally works but I do not understand why it makes a difference.

    I did the

    var xmlSocket:XMLSocket

    an instance variable instead of declare inside the timerHandler method.

    I do not understand why is this necessary. The timer works fine (timerHandler is invoked) even when it's a local variable.

    Vincent

  • Events not captured

    I have a strange behavior with one of my custom events. (my other events are very good).

    The event is distributed with this code:

    private void handleLoginResult(event:ResultEvent):void {}
    var user: XML = new XML (event.result);
    If (user! = null & & user.userId! = null) {}
    var e:LoginEvent = new LoginEvent (user, 'loginProcessed');
    this.dispatchEvent (e);
    Alert.Show ("send event");
    }
    }


    I see my alert, every thing is good up to this point. My metadata looks good, here's the list:

    < mx:Metadata >
    [Event (name = "loginProcessed", type = "events. LoginEvent")]
    < / mx:Metadata >


    I have a LoginEvent.as class in the package "events". This is the standard, extends from flash.events.Event, has a public constructor:
    public void LoginEvent (user: XML, type: String, bubbles: Boolean = false)

    I have in my main application, create a custom panel and declare the listener:
    < v2:Login title = "Login" id = "loginPanel" loginProcessed = "Alert.show ('debug')" / > "

    Now, when the event is raised I do not see the alert "debug". Can someone help me understand why this is?

    dimival, whoever you are, you are generous. The manufacturer had a superclass appellant of the problem. I am listing below. The compiler does not care to catch my error, but you did!


    package events
    {
    import flash.events.Event;

    SerializableAttribute public class LoginEvent extends Event {}

    public var user: XML;

    public void LoginEvent (user: XML, type: String, bubbles: Boolean = false) {}
    Super (user, type, bubbles);
    This.User = user;
    }
    Public Overrides function clone (): Event {}
    return of new LoginEvent (user, type, bubbles);
    }
    }
    }

  • iBooks - bookmarks, notes and other syncronization between devices with imported books

    Hello!

    I was wondering if there are any fay to synchronize bookmarks m, notes and other stuff acros my devices in imported books iBooks! (ePub)

    It would mean so much to have this featur. I see that the books syncronize on iCloud in the new iOS 9.3, but what about notes?

    Best regards

    Erik

    On my devices, iBooks is made salient and remarks on the ePub files synchronization. However it does that when I restart both devices.

    I really like the app and was happy to hear that I could sync between devices via iCloud downloaded items. However, at this time, I can't afford to jump through hoops to get my sync annotations. I must be able to retrieve any device and have it ready on the go.

    If this problem is not resolved, I'll have to give up the iBooks app once again in favor of something that works...

  • App Apple Events not in the Canadian store

    I don't see the app Apple event in Canadian store for the Apple TV 4 (the soft for the streaming of the keynote from Apple next Monday). It is supposed to be in the news category, but this category does not even appear on my list of categories. Am I the only one?

    Found. It seems that on the Apple TV 4, we need to search for it by typing "Apple Events".

Maybe you are looking for