Mac OS / classpath / custom event problem

I'm having a bit of trouble with a particular classpath
anomaly, and I have a feeling that it might be a Mac thing.
Not sure if anyone else can reproduce this, but I managed to
make a custom event and a class that extends the EventDispatcher
once. Since then, Flash has refused to admit that any class
associated with a custom event exists - mostly producing the error
1046. Even after you take out any references to the event
dispatcher or a custom event, the class is ignored.
All my classes are kept in a single 'Packages' folder with
sub folders that I include in the import statement (I've
triple-checked the classpath settings, the import statements, and
the classes themselves - I have probably a hundred or so other
classes that are fine, and all referenced in the same way, some
that extend EventDispatcher, some that don't.
I come across this a few times now - once I was able to fix
it by putting the .as file in the same folder as my first custom
event, but this no longer works.
I'm running Mac OS X 4.11 on two computers - both have the
same trouble.
I've tried copying the classes to other folders and changing
the package/import path accordingly - no go.
Even stranger, if you copy and paste to a new .as file, and a
different package folder, the problem persists in that Flash claims
the revised Package statement (to reflect the new location) does
not reflect the position of the file - when it clearly does.
I haven't had this problem with any other home-grown class -
only those that reference a custom event.
It sounds like it should be pilot error, and I've spent a
long time trying to spot a silly mistake. But as this problem has
recurred a few times now, I'm beginning to think it isn't me.
Anybody else experience similar classpath problems with AS3
on a Mac? Anybody have any suggestions?

I am also a newbie and my answer could be wrong.
But from the looks of it, You are Unable to load performance pack.
The solution is "Please ensure that libmuxer library is in :'.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
I hope BEA or someone can tell you the file name of libmuxer. And make sure it is in the Folder where the script is searching/looking.
Good luck.
fred

Similar Messages

  • Custom component and custom event problem

    hello , i have a strange problem since one week , is that i can't handle the events becoming from my custom component , here is my code :
    Event Class :
    package events
         import flash.events.Event;
         public class Ev extends Event
              public static const UPDATE:String="update";
              public var data:String;
              public function Ev(type:String,data:String)
                   super(type);
                   this.data=data;
              override public function clone():Event
                   return new Ev(type,data);
    MXML component :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx">
         <fx:Metadata>
              [Event(name="onMenuChange",type="events.Ev")]
         </fx:Metadata>
         <fx:Script>
              <![CDATA[
                   import events.Ev;
                   import mx.events.IndexChangedEvent;
                   protected function accordion1_changeHandler(event:IndexChangedEvent):void
                        dispatchEvent(new Ev(Ev.UPDATE,event.newIndex.toString()));
              ]]>
         </fx:Script>
         <fx:Declarations>
              <!-- Placer ici les éléments non visuels (services et objets de valeur, par exemple). -->
         </fx:Declarations>
         <mx:Accordion width="200" height="200" change="accordion1_changeHandler(event)">
              <s:NavigatorContent label="Menu 1" width="100%" height="100%">
              </s:NavigatorContent>
              <s:NavigatorContent label="Menu 2" width="100%" height="100%">
              </s:NavigatorContent>
              <s:NavigatorContent label="Menu 3" width="100%" height="100%">
              </s:NavigatorContent>
         </mx:Accordion>
    </mx:VBox>
    the main container :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:local="*">
         <fx:Script>
              <![CDATA[
                   import events.Ev;
                   import mx.controls.Alert;
                   protected function comp1_onMenuChangeHandler(event:Ev):void
                        Alert.show(event.data,"notice");
              ]]>
         </fx:Script>
         <local:Comp onMenuChange="comp1_onMenuChangeHandler(event)"/>
    </s:Application>
    any help will be welcome !

    hi,
    Not sure why your custom event is not working, I tend not to worry about 'custom' events unless I need to transfer a lot of information.
    Here is a way to 'simplify' event management.
    I just declare a new event in the meta data and then send it to notify that a change has been made. Although the parent can find the index value easily enough I also use two-way bind the navigators index so that it is directly available for the application to manipulate/read .
    http://gumbo.flashhub.net/events/  source included
    David.

  • Problem reading custom property file from custom event handler.

    Hi,
    My custom event handler needs some bits of information that I have set up in a property file. However, when the event handler runs it throws a FileNotFound exception - actually its because permission was denied.
    I have added the code System.getProperty("user.name") to find out the actual user that the event handler is running as. It reports that "oracle" is the user.
    That's great. However, the permissions on the file will allow oracle to read/write the file. If I log onto the server where OCDB runs (as oracle), I can vi the file.
    The file is owned by another user, but the "oracle" is a member of the group that has read/write (we're running on a unix box). The file is not 777.
    The event handler is actually calling a static utility method that returns the Properties. This utility is used elsewhere in other custom apps in conjunction with OCDB (on the same server). It works there, so the utility is functioning correctly.
    Is there something going on that I'm missing? Like somehow the event handler is acually runn as somebody else?
    Here is the node log.
    2007/07/17 12:52:16 [oracle.ifs] [37] 434364 system FINE: Error /opt/csc/sfi/configuration/sfi.properties (Permission
    denied) Additional INFO: java.io.FileNotFoundException: /opt/csc/sfi/configuration/sfi.properties (Permission denied)
    Thanks in advance for the help.
    Winston

    Matt,
    Sorry to have wasted your time. It was a server reboot issue. The ocdb server hasn't been restarted since early July. We added the users and groups late last week. Although we tested on line, the server wasn't quite up to speed with the new changes.
    We bounced the server and all is well.
    Thanks
    Winston

  • Can you send custom events from one form to another?

    I have a compli
    cated application, where I about hundred inp
    uts organized in several input forms. Some of the forms
    require data which has been input in other forms. I have tried to
    dispatch custom events from one form to another, but it dispatches the
    whole form and I only need one or two items.
    Ha anybody else come across such a problem?
    Svend

    One way is to share data in a static singleton

  • Custom Events and Listeners between classes

    I've got a project I've been working on for weeks that I'm
    having yet another problem with. I'm trying to learn AS3 which is
    why it's taking so long but that's not important for this post.
    I wanted to create a custom event class so that I could make
    sure the event does not interfere with other "COMPLETE" events that
    are being passed between classes. In other words, I have a few
    things that need to complete prior to a function being called...
    one is some XML being loaded and another is a font loaded. So, I
    thought I would create a custom FontLoaded class that extends Event
    and make the type something like "FontLoadedEvent.LOADED". That way
    I could listen for the XML "Event.COMPLETE" and this font event
    also.
    Please tell me if I'm going down the wrong path here but I
    don't seem to be getting the dispatched event for my new custom
    event. Also, how does one detect if it's being dispatched other
    than if the eventListener is fired? Any other ways to test
    this?

    You can trace the event to see if it dispatched.
    Also, this is not a good case to create a new event. Custom
    events are used to store additional information. MouseEvent exists
    because Event doesn't have localX, localY, etc. properties. Since
    you don't seem to be throwing additional properties, you can use a
    regular event.
    trace(dispatchEvent(new Event("panelFontsLoaded"));
    addEventListener("panelFontsLoaded", onFontsLoaded);
    Static consts are used to help debug typos. The event type is
    just a string, often stored in a const.

  • Custom Event generation and Handling

    HI all,
    I am new to java. I have a dataset which changes dynamically and this dataset is responsible for some other dataset(s). So whenever the original dataset is modified, the other datasets based on this dataset should be updated automatically so as to preserve the consistency.
    What I want to do is to write a custom event which is to be fired whenever the original dataset is modified and notify it to other datasets so as to ensure the consistency.
    Any help in this regard is extremely appreciated.

    HI Duffymo,
    Here is my problem for better understanding:
    I have a vector data in a NodePanel (this vector data originates from some other datastructure...but that is immaterial as we know that this data is an instance of that datastructure). This vectordata in NodePanel is responsible for another vectordata in SchedulePanel. The NodePanel and SchedulePanel are tabbedPanels in a tabbedframe. Whenever I update the vector data in NodePanel, the vector data in SchedulePanel needs to be updated.
    The solution you gave me, taught me an insight of the event handling in Java.
    I am quoting my source for your reference as I am unable to incorporate your idea into my project.
    Event class:
    import java.util.*;
    public class VectorUpdateEvent extends EventObject
         public VectorUpdateEvent(Object source)
              super(source);
    Interface to EventListener
    public interface VectorUpdateListener
         public void eventVectorUpdated(VectorUpdateEvent event);
    class EventGenerator
    import java.util.*;
    public class VectorUpdateEventIssuer
         implements EventListener
         public VectorUpdateEventIssuer()
              listListeners = new ArrayList();
         public synchronized void addVectorUpdateEventListener(VectorUpdateEvent l)
              listListeners.add(l);
         protected synchronized void removeVectorUpdateEventListener(VectorUpdateEvent l)
              listListeners.remove(listListeners.indexOf(l));
         protected void notifyVectorUpdateEvent(Object source)
              VectorUpdateEvent evt = new VectorUpdateEvent(source);
              Iterator itr = listListeners.iterator();
              while (itr.hasNext())
                   ((VectorUpdateListener)itr.next()).eventVectorUpdated(evt);
         private ArrayList listListeners;
    class where the event originates
    class NodePanel
         extends JPanel
         implements ActionListener, ListSelectionListener
         /////////////Constructors/////////////////////////
         public NodePanel()
              addNodeButton = new JButton("Add Node");
              delNodeButton = new JButton("Delete Node");
              dumpNodeButton = new JButton("Dump Node");
              reloadNodeButton = new JButton("Reload Node");
              browseButton = new JButton("Browse Node");
              exitButton = new JButton("Exit");
              add(addNodeButton);
              add(delNodeButton);
              add(dumpNodeButton);
              add(reloadNodeButton);
              add(browseButton);
              add(exitButton);
              setButtonsEnabled(false);
              addNodeButton.addActionListener(this);
              delNodeButton.addActionListener(this);
              dumpNodeButton.addActionListener(this);
              reloadNodeButton.addActionListener(this);
              browseButton.addActionListener(this);
              exitButton.addActionListener(this);
              nodesVector = new Vector();
              nodesList = new JList(nodesVector);
              this.vectorNodeAttributes = new Vector();
              JScrollPane scrollPane = new JScrollPane(nodesList);
              add(scrollPane,BorderLayout.CENTER);
              nodesList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
              nodesList.addListSelectionListener(this);
         ////////////////Methods///////////////////////////
         /////////////Event valueChanged///////////////////
         public void valueChanged(ListSelectionEvent evt)
              JList source = (JList) evt.getSource();
              setButtonsEnabled(true);
              desiredNode = (String) source.getSelectedValue();
              if (desiredNode == null)
                   setButtonsEnabled(false);
         //////////////Event actionPerformed////////////
         public void actionPerformed(ActionEvent evt)
              Object source = evt.getSource();
              if (source == addNodeButton)
                   addNodeButtonClicked();
              else if (source == delNodeButton && desiredNode != null)
                   deleteNodeButtonClicked();
              else if (source == dumpNodeButton && desiredNode != null)
                   JFileChooser d = new JFileChooser();
                   //d.setCurrentDirectory("");
                   d.setFileFilter(new XMLFilter());
                   int result = d.showSaveDialog(this);
              else if (source == reloadNodeButton && desiredNode != null)
                   JFileChooser d1 = new JFileChooser();
                   //d.setCurrentDirectory("");
                   d1.setFileFilter(new XMLFilter());
                   int result = d1.showOpenDialog(this);
                   //String filename=d1.getSelectedFile().getName();
              if (source == browseButton && desiredNode != null)
                   browseButtonClicked();
              else if (source == exitButton)
                   System.exit(0);
         //////////Enables or Diables the Buttons////////
         private void setButtonsEnabled(boolean enable)
              delNodeButton.setEnabled(enable);
              dumpNodeButton.setEnabled(enable);
              reloadNodeButton.setEnabled(enable);
              browseButton.setEnabled(enable);
              private void deleteNodeButtonClicked()
              if (noFieldDlg != null)
                   noFieldDlg.dispose();
              noFieldDlg = new NoFieldDialog("Delete the Node?");
              noFieldDlg.show();
              if (noFieldDlg.getDialogResult() == DialogResult.OK)
                   int nodeToRemove=0;
                   for (int i=0; i< vectorNodeAttributes.size(); i++)
                        if(((NodeAttributes)(vectorNodeAttributes.get(i))).getNodeName().compareTo(nodesList.getSelectedValue()) == 0)
                             nodeToRemove = i;
                   vectorNodeAttributes.remove(nodeToRemove);
                   nodesVector.removeElement(nodesList.getSelectedValue());
                   this.nodesList.setListData(nodesVector);
                   NodePanel.nodesPresent = nodesVector;
                   updateStaticNodeList();
    /*************** as soon as the NodePanel.nodesPresent is updated, the changes are to be reflected in the Schedule Panel ******************/
                   VectorUpdateEvent e = new VectorUpdateEvent(this);
                   VectorUpdateEventIssuer v = new VectorUpdateEventIssuer();
                   v.addVectorUpdateEventListener(e);
                   v.notifyVectorUpdateEvent(this);
         ///////////////Data Members////////////////////
         private JButton addNodeButton;
         private JButton delNodeButton;
         private JButton dumpNodeButton;
         private JButton reloadNodeButton;
         private JButton browseButton;
         private JButton exitButton;
         private String desiredNode;
         private OneFieldDialog oneFieldDlg = null;
         private NoFieldDialog noFieldDlg = null;
         private JList nodesList;
         private Vector nodesVector;
         private Vector vectorNodeAttributes;
         private static Vector nodesPresent = null;
    } // end class NodePanel
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    ////////////////Class SchedulePanel////////////////
    class SchedulePanel extends JPanel
    implements ActionListener, ListSelectionListener, VectorUpdateListener
         ////////////////Constructors//////////////////
         public SchedulePanel()
              addScheduleButton = new JButton("Add Schedule");
              delScheduleButton = new JButton("Delete Schedule");
              dumpScheduleButton = new JButton("Dump Schedule");
              reloadScheduleButton = new JButton("Reload Schedule");
              browseScheduleButton = new JButton("Browse Schedule");
              exitButton = new JButton("Exit");
              add(addScheduleButton);
              add(delScheduleButton);
              add(dumpScheduleButton);
              add(reloadScheduleButton);
              add(browseScheduleButton);
              add(exitButton);
              setButtonsEnabled(false);
              addScheduleButton.addActionListener(this);
              delScheduleButton.addActionListener(this);
              dumpScheduleButton.addActionListener(this);
              reloadScheduleButton.addActionListener(this);
              browseScheduleButton.addActionListener(this);
              exitButton.addActionListener(this);
              scheduleVector = new Vector();
              scheduleList = new JList(scheduleVector);
              this.vectorScheduleOperations = new Vector();
              JScrollPane scrollPane = new JScrollPane(scheduleList);
              add(scrollPane);
              scheduleList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
              scheduleList.addListSelectionListener(this);
              //updateEventListener = new VectorUpdateEventIssuer();
              //updateEventListener.addVectorUpdateEventListener(this);
         /////////////Methods///////////////////////
         ////////////Event valueChanged/////////////
         public void valueChanged(ListSelectionEvent evt)
              JList source = (JList)evt.getSource();
              setButtonsEnabled(true);
              desiredSchedule = (String)source.getSelectedValue();
              if (desiredSchedule == null)
                   setButtonsEnabled(false);
         ////////////Event actionPerformed////////
         public void actionPerformed(ActionEvent evt)
              Object source = evt.getSource();
              if (source == addScheduleButton )
                   addScheduleButtonClicked();
              else if (source==delScheduleButton && desiredSchedule!=null)
                   deleteScheduleButtonClicked();
              else if (source == dumpScheduleButton && desiredSchedule!=null)
                   JFileChooser d = new JFileChooser();
                   d.setFileFilter(new XMLFilter());
                   int result = d.showSaveDialog(this);
              else if (source == reloadScheduleButton && desiredSchedule!=null)
                   JFileChooser d1 = new JFileChooser();
                   d1.setFileFilter(new XMLFilter());
                   int result = d1.showOpenDialog(this);
              else if (source == browseScheduleButton && desiredSchedule!=null)
                   browseScheduleButtonClicked();
              else if (source == exitButton)
                   System.exit(0);
         public void eventVectorUpdated(VectorUpdateEvent event)
              System.out.println("Hello! EventRaised");
         ///////////Data Members//////////////////
         private JButton addScheduleButton;
         private JButton delScheduleButton;
         private JButton dumpScheduleButton;
         private JButton reloadScheduleButton;
         private JButton browseScheduleButton;
         private JButton exitButton;
         private String desiredSchedule;
         private OneFieldDialog oneFieldDlg = null;
         private NoFieldDialog noFieldDlg = null;
         private JList scheduleList;
         private Vector scheduleVector;
         private Vector vectorScheduleOperations;
         private VectorUpdateEventIssuer updateEventListener;
    } // end class SchedulePanel
    I hope you understood my problem now. The NodeAttributes is a datastructure containing the node name and an associated table for that. THe ScheduleOperations is similar to the NodeAttributes but it contains a DefaultTableModel which inturn consists of a column which is filled with the list of current nodes available + their schedules.
    I am sorry for my long posting.
    Thanks once again in anticipation.

  • Customer Service Problems

    After fighting with Verizon customer service over two service issues without any possibility of resolution I am canceling my account. 
    I’m doing this reluctantly because as a long-term shareholder of Verizon I would like to see the company succeed and keep profitable.  Yet I am appalled by the cavalier, disrespectful, obstructionist treatment from your staff in dealing with customer service problems.  When you were just the telephone company and operated as a monopoly in a regulated industry, you had to take customer issues seriously.   Now that you are an unregulated telecommunications giant it seems that you don’t feel the need to respond to your customers.  Someone in your company needs to hear this and put a stop to these destructive business practices. 
    In brief, the first issue involved arranging a service call for interruption of internet service.  The entire process kept me on the phone for a total of 3 hours over several days.  I have given up my land line and use a cell phone exclusively.  Verizon’s communication systems and staffing levels caused me to wait on hold for 10-15 for each person that I spoke to. Then each conversation averaged 10 minutes.   In addition, I was transferred to different departments but  I did not understand the reason for the transfers.  Then the pattern of hold-talk-transfer began again.  Several times my calls were dropped necessitating more repeats of the hold-talk-transfer pattern.  Some of your staff were South Asian and they either garbled or misunderstood English, thus prolonging the conversation beyond the average of 10 minutes.    During that time I incurred cell phone charges of $.45/ minute.   
    After the service was restored I called Verizon customer service and asked for a service credit to compensate me for those out-of-pocket expenses over and above 30 minutes which I consider to be a reasonable amount of time to arrange a service call.  They denied any responsibility for the amount of time it took to arrange the service call or the amount of time to complain about their service.  I was not happy with the outcome so I requested to speak with someone who was a decision maker and had authority to negotiate a settlement.  I also asked to have them communicate with me through email.  I was told that communicating through email was not possible.  These calls followed the same pattern of hold-talk-transfer averaging 30 minutes each.  I repeated myself to 3 or 4 people who wrote down my complaint before I got to a manager who had decision making authority.  The manager denied any responsibility for the amount of time it took to arrange the service call and would not authorize a service credit.  
    The second issue involved billing.  I signed up for auto-pay to have my monthly bill deducted directly from my bank account.  Verizon’s computer system deducted the bill twice, overdrawing my account.  I incurred a bank overcharge fee.   The same pattern of hold-talk-transfer began for this complaint as well.  The customer service staff refused to take responsibility for this error as well.  Their solution required me to spend more time and incur extra expenses.  I had to repeat myself to 3 or 4 complaint takers before I reached the same manager who denied my first request.  He denied any responsibility for this billing problem too.    I had to have my bank retrieve the money under a fraud compliant.
    Verizon is one of the largest *communications* corporations in the world.  If your internal systems can't handle customer service calls in a reasonable amount of time, then there is a problem.  If your customer service staff is unwilling to take responsibility for such inadequacies and solve the issues that emerge from them, then there is a problem.  If a customer has to contact the CEO of the company to try to resolve two service related issues, then there is a problem.  When all of those actions prove inadequate, then there is a *communications* problem.
    Customer service has flagged my account and put me down as a “problem” customer.  Instead of offering even a token settlement, they are prepared to stonewall me by maintaining that the company is just not at fault and that they tried to solve the problems but I wouldn’t cooperate or accept their solutions.   Early on in the process, if someone told me that Verizon messed up just a little, but still couldn’t compensate me, I would have accepted that, albeit reluctantly, and dropped the matter.
    This is not the way I do business and I resent it when others don’t feel the need to honor any kind of code.  I grew up working in my family’s retail liquor store.  From the time I was a kid I learned four customer service lessons that I’ve carried over into my adult life:
    Admit when you are wrong and try to make up for the mistake.
    Never argue with a customer over small things.
    Listen to the compliant and don’t just dismiss it out-of-hand
    Try to make things right even though you may not be directly responsible for problem.
    For my two problems, Verizon customer service staff didn’t even come close to following these common sense rules.   I’ve learned that if you ask their customer service people they will repeat back to you some type of business code that they say they operate under.  But their behavior tells a different story.
    Unfortunately when I spoke with {edited for privacy} of the Executive Presidential Appeals office, I was taken somewhat aback by his manner and demeanor, which was coarse and inappropriate for a customer service discussion, and which I found personally offensive.  He and members of his staff agreed to send me emails specifying which part of the Terms of Service they based their decisions on.  To date I have not received the communications they promised.
    Is this the image of your company that you want the public to see? Are you willing to just shrug off these complaints as an isolated case that is too small to concern yourself about?  I’m afraid the answer will be yes.  Not only do you feel that you are too big to fail, but you are too big to care.   Customer service means solving problems not manufacturing bad will and resentment.  
    My purpose in writing this note has been twofold: to make one last effort to solve my problem and to hope that someone will take note about the issues about customer service practices that are harmful to the company. I'd be happy to speak with someone with real authority to deal
    with my issues but have no interest in repeating my past experiences.
    It's too bad that this had to happen since the solution could have been so easy and simple.
    I plan to publish some form of this letter and distribute it to the public. 
    Solved!
    Go to Solution.

    Therefore, I request to please clear this unacceptable due balance, and contact Experian to removed and clarified the mistake in my credit report. 
    RE:  Cancellation fee charged on internet DSL service charged by mistake. {edited for privacy}
    A $65 balance remain for a cancellation fee on internet DSL service, by Verizon New York mistake.
    In February of 2010, I set up my phone and TV in a vacation plan but keep my internet service active. After a month I had a vacation plan, suddenly without notification, my internet service was suspended and a cancellation fee was issued.
    My final statement was $ 24.47. I cleared a check from Verizon.
    I contacted Verizon online to request connect my internet service and discuss the issue on the cancellation fee. The response was that I should pay the internet cancellation fee, and paid a new activation.
    After fighting with Verizon customer service over the unacceptable fee charge service issue without any possibility of resolution I cancel my home phone which was in a vacation plan. 
     Later I kept receiving the statement with this cancellation fee every month. I called and discussed the issue more than 6 times during the next 6 months, The entire process kept me on the phone for a total of 2 hours over several months. The costumer representatives responded that the issue was in an investigation.
    Later,  a Collector company start chasing me to get the $65 paid. Phone number: {edited for privacy}, Inclusive, they made an offer to reduce the amount if I accept to pay or contact Verizon to request a clarification.
    By the end of the year, I contacted Verizon costumer services one more time but the representative stated that the account is not visible anymore.
    Convinced that the problem on this account was resolved, the second week of November, I called Verizon to reestablish my account with a new home phone number and Internet DSL connection.
    The answer was that  following Verizon policy I was unable to get a new account if a balance remain.
    After I explained the events, a manager (non-identified) who spoke to me by phone told me that Verizon will investigate the issue and I should wait for approval.
    On November 16, my account was confirmed approved and clear of debt, therefore, Verizon welcome me back with Home phone and internet DSL Service and confirmation on my online registration.
    New number:{edited for privacy} ; Email:{edited for privacy}
    Also, during the months of January and February 2010, Verizon New York, made other charges mistakes in my account (See details below) that have been resolved with an apologize and a refund.
    Events that prove the lack of training and support Verizon customer and billing service have.
    Chronology of the emails exchanged between Verizon Ecenter and myself after I requested investigation with the charges.
    01/10/10   I have contacted Verizon customer support regarding of a mistake in my internet service statement.Tracking # 430824. Reference: Duplicate charges for Internet Security suites service.
    1/12/10 Verizon eCenter responded. Angela. ' Apologized for the inconvenience. 'The cancellation and credit will appear on the next bill'.
    2/08/10 Verizon eCenter responded. Cheniqua. 'I have issued a credit of $6.52 for a Verizon internet security suite charges'; your internet charges
    2/04/10 I have contacted Verizon customer support in regard of clarification in my Direct TV  statement.
    Tracking # {edited for privacy}. Reference: Balance from Direct TV due to my recently requesting vacation plan.
    2/06/10 Verizon eCenter responded (John) Verizon Bill statement: February 26 = $6,73 paid
    2/06/10 I have contacted Verizon customer support in regard of a mistake in my home phone statement.
    Reference: By mistake, international fee in my home phone (inactive line/vacation plan) was charged.
    Tracking # {edited for privacy}
    2/08/10 Verizon eCenter responded. (Linnette) 'I apologize for the error'. 
    A credit for the international plan has been applied to your account and will appear on the next statement.'
    2/08/10 Verizon eCenter responded (Cheniqua) 'The regional essential calling plan does not qualify for a discount during vacation suspension. Which prove that my home phone was in a vacation plan.
     2/15/10 I have contacted Verizon customer support in regard of a non-notified, neither requested suddenly suspension on my internet DSL service and charged a cancellation fee for this suspension.
    Tracking # {edited for privacy}
    2/16/10 Verizon eCenter responded (Michael)  I am sorry for the inconvenience you have experienced. 
    Please contact our Consumer Sales and Solutions Center directly at 1-800-Verizon or (800) 837-4966 
    Monday through Friday between 8:00 AM to 6:00 PM Local Time. 
    2/16/10 Verizon eCenter (Sue)  responded : I am sorry for the inconvenience you have experienced. 
    I understand your frustration and concern regarding canceling your internet service in error. In order to provide you with the best customer service, please contact our Consumer DSL Sales and Solutions department directly at (800) 567-6789 and a representative will be happy to assist you.
    I stand on my decision of not pay for someone else mistakes.
    Your actions have damaged my integrity as a good costumer and citizenship.
    Without doubt after this problem get clearly resolved, you will lose this good costumer, get a negative feedback and I am planning to publish this letter at every web forum available.

  • Need help with custom event from Main class to an unrelated class.

    Hey guys,
    I'm new to Flash and not great with OOP.  I've made it pretty far with google and lurking, but I've been pulling my hair out on this problem for a day and everything I try throws an error or simply doesn't hit the listener.
    I'm trying to get my Main class to send a custom event to an unrelated class called BigIcon.  The rest of the code works fine, it's just the addEventListener and dispatchEvent that isn't working.
    I've put in the relevant code in below.  Let me know if anything else is needed to troubleshoot.  Thank you!
    Main.as
    package
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        public class Main extends MovieClip
            var iconLayer_mc:MovieClip = new MovieClip();
            public function Main()
                Spin_btn.addEventListener(MouseEvent.CLICK,fl_MouseClickHandler);
                addChildAt(iconLayer_mc,0);
                placeIcons();
            function placeIcons():void
                var i:int;
                var j:int;
                for (i = 0; i < 4; i++)
                    for (j = 0; j < 5; j++)
                        //iconString_array has the names of illustrator objects that have been converted to MovieClips and are in the library.
                        var placedIcon_mc:BigIcon = new BigIcon(iconString_array[i][j],i,j);
                        iconLayer_mc.addChild(placedIcon_mc);
            function fl_MouseClickHandler(event:MouseEvent):void
                dispatchEvent(new Event("twitchupEvent",true));
    BigIcon.as
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.utils.getDefinitionByName;
        public class BigIcon extends MovieClip
            private var iconImage_str:String;
            private var iconRow_int:int;
            private var iconColumn_int:int;
            public function BigIcon(iconImage_arg:String, iconRow_arg:int, iconColumn_arg:int)
                iconImage_str = iconImage_arg;
                iconRow_int = iconRow_arg;
                iconColumn_int = iconColumn_arg;
                this.addEventListener(Event.ADDED_TO_STAGE, Setup);
            function Setup(e:Event)
                this.y = iconRow_int;
                this.x = iconColumn_int;
                var ClassReference:Class = getDefinitionByName(iconImage_str) as Class;
                var thisIcon_mc:MovieClip = new ClassReference;
                this.addChild(thisIcon_mc);
                addEventListener("twitchupEvent", twitchUp);
            function twitchUp(e:Event)
                this.y +=  10;

    Ned Murphy wrote:
    You should be getting an error for the Main.as class due to missing a line to import the Event class...
    import flash.events.Event;
    My apologies, I should attempt to compile my example code before I ask for help...
    Alright, this compiles, gives me no errors, shows my 'book' and 'flowers' icons perfectly when ran, and prints 'addEventListener' to the output window as expected.  I get no errors when I press the button, 'dispatchEvent' is output (good), but the 'twitchUp' function is never called and 'EventTriggered' is never output. 
    How do I get the 'twitchUp' event to trigger?
    Main.as
    package
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        import flash.events.*;
        public class Main extends MovieClip
            var iconLayer_mc:MovieClip = new MovieClip();
            var iconString_array:Array = new Array(2);
            public function Main()
                Spin_btn.addEventListener(MouseEvent.CLICK,fl_MouseClickHandler);
                addChildAt(iconLayer_mc,0);
                buildStringArray();
                placeIcons();
            function buildStringArray():void
                var i:int;
                var j:int;
                for (i = 0; i < 2; i++)
                    iconString_array[i] = new Array(3);
                    for (j = 0; j < 3; j++)
                        if (Math.random() > .5)
                            //'flowers' is the name of an illustrator object that has been converted to a MovieClip and is in the library
                            iconString_array[i][j] = "flowers";
                        else
                            //'book' is the name of an illustrator object that has been converted to a MovieClip and is in the library
                            iconString_array[i][j] = "book";
            function placeIcons():void
                var i:int;
                var j:int;
                for (i = 0; i < 2; i++)
                    for (j = 0; j < 3; j++)
                        //iconString_array has the names of illustrator objects that have been converted to MovieClips and are in the library.
                        var placedIcon_mc:BigIcon = new BigIcon(iconString_array[i][j],i*50,j*50);
                        iconLayer_mc.addChild(placedIcon_mc);
            function fl_MouseClickHandler(event:MouseEvent):void
                dispatchEvent(new Event("twitchupEvent",true));
                trace("dispatchEvent");
    BigIcon.as
    package
        import flash.display.MovieClip;
        import flash.events.*;
        import flash.utils.getDefinitionByName;
        public class BigIcon extends MovieClip
            private var iconImage_str:String;
            private var iconRow_int:int;
            private var iconColumn_int:int;
            public function BigIcon(iconImage_arg:String, iconRow_arg:int, iconColumn_arg:int)
                iconImage_str = iconImage_arg;
                iconRow_int = iconRow_arg;
                iconColumn_int = iconColumn_arg;
                this.addEventListener(Event.ADDED_TO_STAGE, Setup);
            function Setup(e:Event)
                this.y = iconRow_int;
                this.x = iconColumn_int;
                var ClassReference:Class = getDefinitionByName(iconImage_str) as Class;
                var thisIcon_mc:MovieClip = new ClassReference;
                this.addChild(thisIcon_mc);
                addEventListener("twitchupEvent", twitchUp);
                trace("addEventListener");
            function twitchUp(e:Event)
                this.y +=  10;
                trace("EventTriggered");
    Output:
    [SWF] Untitled-1.swf - 40457 bytes after decompression
    addEventListener
    addEventListener
    addEventListener
    addEventListener
    addEventListener
    addEventListener
    dispatchEvent
    [UnloadSWF] Untitled-1.swf
    Test Movie terminated.

  • Implementing Custom Event - non-static referencing in static context error

    Hi,
    I'm implementing a custom event, and I have problems adding my custom listeners to objects. I can't compile because I'm referencing a non-static method (my custom addListener method ) from a static context (a JFrame which contains static main).
    However, the same error occurs even if I try to add the custom listener to another class without the main function.
    Q1. Is the way I'm adding the listener wrong? Is there a way to resolve the non-static referencing error?
    Q2. From the examples online, I don't see people adding the Class name in front of addListener.
    Refering to the code below, if I remove "Data." in front of addDataUpdatelistener, I get the error:
    cannot resolve symbol method addDataUpdateListener (<anonymous DataUpdateListener>)
    I'm wondering if this is where the error is coming from.
    Below is a simplified version of my code. Thanks in advance!
    Cindy
    //dividers indicate contents are in separate source files
    //DataUpdateEvent Class
    public class DataUpdateEvent extends java.util.EventObject
         public DataUpdateEvent(Object eventSource)
              super(eventSource);
    //DataUpdateListener Interface
    public interface DataUpdateListener extends java.util.EventListener
      public void dataUpdateOccured(DataUpdateEvent event);
    //Data Class: contains data which is updated periodically. Needs to notify Display frame.
    class Data
    //do something to data
    //fire an event to notify listeners data has changed
    fireEvent(new DataUpdateEvent(this));
      private void fireEvent(DataUpdateEvent event)
           // Make a copy of the list and use this list to fire events.
           // This way listeners can be added and removed to and from
           // the original list in response to this event.
           Vector list;
           synchronized(this)
                list = (Vector)listeners.clone();
           for (int i=0; i < list.size(); i++)
                // Get the next listener and cast the object to right listener type.
               DataUpdateListener listener = (DataUpdateListener) list.elementAt(i);
               // Make a call to the method implemented by the listeners
                  // and defined in the listener interface object.
                  listener.dataUpdateOccured(event);
               System.out.println("event fired");
    public synchronized void addDataUpdateListener(DataUpdateListener listener)
         listeners.addElement(listener);
      public synchronized void removeDataUpdateListener(DataUpdateListener listener)
         listeners.removeElement(listener);
    //Display Class: creates a JFrame to display data
    public class Display extends javax.swing.JFrame
         public static void main(String args[])
              //display frame
              new Display().show();
         public Display()
         //ERROR OCCURS HERE:
         // Non-static method addDataUpdateListener (DataUpdateListener) cannot be referenced from a static context
         Data.addDataUpdateListener(new DataUpdateListener()
             public void dataUpdateOccured(DataUpdateEvent e)
                 System.out.println("Event Received!");
    //-----------------------------------------------------------

    Calling
        Data.someMethodName()is referencing a method in the Data class whose signature includes the 'static' modifier and
    might look something like this:
    class Data
        static void someMethodName() {}What you want is to add the listener to an instance of the Data class. It's just like adding
    an ActionListener to a JButton:
        JButton.addActionListener(new ActionListener()    // won't work
        JButton button = new JButton("button");           // instance of JButton
        button.addActionListener(new ActionListener()     // okay
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Vector;
    import javax.swing.*;
    public class EventTest extends JFrame
        Data data;
        JLabel label;
        public EventTest()
            label = getLabel();
            data = new Data();
            // add listener to instance ('data') of Data
            data.addDataUpdateListener(new DataUpdateListener()
                public void dataUpdateOccured(DataUpdateEvent e)
                    System.out.println("Event Received!");
                    label.setText("count = " + e.getValue());
            getContentPane().add(label, "South");
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setSize(300,200);
            setLocation(200,200);
            setVisible(true);
        private JLabel getLabel()
            label = new JLabel("  ", JLabel.CENTER);
            Dimension d = label.getPreferredSize();
            d.height = 25;
            label.setPreferredSize(d);
            return label;
        public static void main(String[] args)
            new EventTest();
    * DataUpdateEvent Class
    class DataUpdateEvent extends java.util.EventObject
        int value;
        public DataUpdateEvent(Object eventSource, int value)
            super(eventSource);
            this.value = value;
        public int getValue()
            return value;
    * DataUpdateListener Interface
    interface DataUpdateListener extends java.util.EventListener
        public void dataUpdateOccured(DataUpdateEvent event);
    * Data Class: contains data which is updated periodically.
    * Needs to notify Display frame.
    class Data
        Vector listeners;
        int count;
        public Data()
            listeners = new Vector();
            count = 0;
            new Thread(runner).start();
        private void increaseCount()
            count++;
            fireEvent(new DataUpdateEvent(this, count));
        private void fireEvent(DataUpdateEvent event)
            // Make a copy of the list and use this list to fire events.
            // This way listeners can be added and removed to and from
            // the original list in response to this event.
            Vector list;
            synchronized(this)
                list = (Vector)listeners.clone();
            for (int i=0; i < list.size(); i++)
                // Get the next listener and cast the object to right listener type.
                DataUpdateListener listener = (DataUpdateListener) list.elementAt(i);
                // Make a call to the method implemented by the listeners
                // and defined in the listener interface object.
                listener.dataUpdateOccured(event);
            System.out.println("event fired");
        public synchronized void addDataUpdateListener(DataUpdateListener listener)
            listeners.addElement(listener);
        public synchronized void removeDataUpdateListener(DataUpdateListener listener)
            listeners.removeElement(listener);
        private Runnable runner = new Runnable()
            public void run()
                boolean runit = true;
                while(runit)
                    increaseCount();
                    try
                        Thread.sleep(1000);
                    catch(InterruptedException ie)
                        System.err.println("interrupt: " + ie.getMessage());
                    if(count > 100)
                        runit = false;
    }

  • Eventhandlers of children of application can not receive custom event dispatched by application

    Hello dear Adobe community,
    hope you can help me with this issue.
    When the application dispatches a custom event, the child uicomponent can only receive the event by using Application.application.addEventListener or systemManager.addEventListener. Simply adding a listener, without application or systemmanager, does not allow the event to be received by the child component.
    I want to be able to use the addEventListener and removeEventListener without SystemManager or Application.application, or could you provide a better workaround? How can I use the addEventListener, do I need to overwrite EventDispatcher, which I wouldnt like to do?
    Just to clarifiy, if i remove the systemManager in front of addEventListener(CustomEventOne.EventOne,sysManHandleCE,false) it will not add it and will not fire. 
    The code below is an example for this problem that the event is not getting fired in the right moment. The mainapplication got only a button with the customEventOne that gets dispatched.
    public
    class MyCanvas extends Canvas{
    public function MyCanvas()
    super();
    width=300;
    height=300;
    addEventListener(FlexEvent.CREATION_COMPLETE,handleCC,false,0,true);
    private function handleCC(event:FlexEvent):void
    removeEventListener(FlexEvent.CREATION_COMPLETE,handleCC);
    addEventListener(CustomEventOne.EventOne,handleCE,false,0,true);
    addEventListener(Event.REMOVED_FROM_STAGE,handleEvt,false,0,true);
    systemManager.addeventListener(CustomEventOne.eventOne,sysManHandleCE,false,0,true);
    private function handleEvt(event:Event):void
    trace("In removed from stage handler");
    systemManager.removeEventListener(CustomEventOne.EventOne,sysManHandleCE);
    trace(hasEventListener(FlexEvent.CREATION_COMPLETE));
    trace(hasEventListener(CustomEventOne.EventOne));
    trace(hasEventListener(Event.REMOVED_FROM_STAGE));
    private function handleCE(event:CustomEventOne):void
    trace("I got it");
    private function sysManHandleCE(event:CustomEventOne):void
    trace("I got it");
    public class CustomEventOne extends Event
    public static const EventOne:String = "EventOne";
    public function CustomEventOne(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
    super(type, bubbles, cancelable);
    override public functionclone():Event
    return newCustomEventOne(type,bubbles,cancelable);
    Thank you in advance,
    Michael

    I think you need to look at event propogation. The object that dispatches an event will be sitting on the display tree. The event propagates up the tree to the roots. Your canvas should be attached to the application, but even then it sits lower in the tree branches than the event dispatcher, so it won't see the event being dispatched because the event is not propagated to the children of the object that dispatches it but to the parent of the object that dispatches it.
    So, your canvas is a child of the application, but dispatching the event from the application means that the canvas doesn't see it because events are notified up the tree using the parent link, not the child links.
    You may wish to investigate how the display list and event propagation works and then the MVC pattern.
    Paul

  • Creating custom event listener ?

    Hello,
    Is there anyone that have a link to a tutorial or have some information on what is needed to be able to create a custom event listener on a component ?
    I am creating an interactive JSF chart library (JSFlot) and I would like to have events such as ChartDraggedEvent and ChartClickedEvent. I can create the events fine (and I can even queue them fine throught the standard action and actionListener interfaces), but I would like for the component to have attributes like chartDraggedListener and chartClickedListener, so that I can fire off the appropriate event to the appropriate listener.
    Any help would be very much appreciated!

    Well, that is what I am doing. The Renderer:
    if (event != null && event.equalsIgnoreCase("drag")) {
                        String componentValue = request.getParameter("componentValue");
                        //Cut out logic irrelevant for this example
                        FlotChartDraggedEvent dragEvent = new FlotChartDraggedEvent(component, dragValue);
                        dragEvent.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
                        dragEvent.queue();
                   } else if (event != null && event.equalsIgnoreCase("click")) {
                        //Cut out logic irrelevant for this example                    
                        FlotChartClickedEvent clickEvent = new FlotChartClickedEvent(component, clickedPoint, clickIndexInt, clickSeriesIndexInt, clickSeriesLabel);
                        clickEvent.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
                        clickEvent.queue();
                   }The problem though, is that both of these events gets delivered to the actionListener attribute of my component. What I assume is missing is functionality to register a custom listener for each event, and some code in the Tag-class and TLD to supply these listeners, and its these issues that I am unsure how is done. I may be missing something very basic here though :)

  • How to set up a label control from custom event handler?

    Hi,
    Below I try to describe my problem:
    I have a single instance of MyClass (I use Cairngorm framework), with ArrayCollection as a variable, in which I would like to keep a couple addresses from database.
    Additionaly  I created a custom components with a list of people retrieved from database, with eventhandler  for a doubleclick event. After I doubleclick on some person, I create a custom event and dispatch it. In command class connected with this event I connect to the database and get full data about this person and a set of her addresses. This set of addresses I placed into ArrayCollection in my model variable. And now I have a problem, because one of this address (the birth place) I would like to display below the list with persons, in a Panel with a couple of label control, but .... I can't to bind label control to my model.addresses[???] because I don't know if this doubleclicked person has this birth address at all?
    I wonder if it is possible to set up label control in my custom components in time when I'm receiving the data from database in my custom event handler???
    One of the way to achieve this is to define a string var in my model and placed this special address in it, and then the label control to this variable, for instance {model.birthplace}, but this is only needed for a moment, I don't want to keep this address in extra variable in model, because I have already it in my ArrayCollection in model, so it would be a duplicate.
    I hope that you could understand me and my english :-)
    Best regards

    Looks like I migh not be a novice swing programmer for long then.

  • Tricky Passing Event problem

    Hi,
    I have two files here. 1) MyFavorites 2)
    MyFavoritesItemRenderer
    I have a datagrid with an item renderer. The item renderer is
    essentially a delete image. I am trying to write a function so when
    the user clicks the image, it will remove the row from the
    datagrid. The problem I am having is the item renderer sits in its
    own file and the DataGrid is in another.
    Do I write a private function within the item renderer.mxml
    file that will dispatch an event? I think this is only way to do it
    as I only want my event dispatched when the user explicitly clicks
    the image.
    So in my itemRenderer I suppose I would write a function
    called "deleteRecord()", this function would dispatch an event and
    the file which actually contains the DataGrid would listen for the
    event and act accordingly. Is this right?
    If so, how would I pass a reference to which row I want to
    delete? The itemRenderer sits in its own file and seems to not have
    any knowledge of my <mx:DataGrid>
    My datagrid code is below which shows how I am using my
    itemRenderer
    <mx:DataGrid id="myFavoritesDG" x="0" y="0" width="330"
    height="110" dragEnabled="false" dropEnabled="true" >
    <mx:columns>
    <mx:DataGridColumn width="55" dataField="title"
    headerText="Action"
    itemRenderer="renderers.MyFavoritesItemRenderer" />
    </mx:columns>
    </mx:DataGrid>
    Any help appreciated.
    -Westside

    Your question is a good one and one a lot of people have.
    You are correct in your strategy. Have your itemRenderer use
    dispatchEvent, but when you create the event, set its bubbles
    parameter to true. This will allow the event to climb up the
    component chain. You don't need to have the DataGrid listen for
    this event; you just need to listen for it in the place where you
    want to use it so you can delete the record.
    To get the information you want, make sure your itemRenderer
    implements IDropInListItemRenderer. Classes which implement this
    will have a listData property and that holds the rowIndex. Check
    the documentation for this. If your class doesn't have it,
    implement it yourself, the documentation shows you how to do this.
    Now that you have the information you'll need to dispatch a
    custom event which contains the information. Again, check the docs
    for that.
    Finally, you will need to use ActionScript to listen for the
    event. Let's say the file in which the DataGrid is declared is the
    place where you want to listen for the event. Your custom event
    won't be an event the DataGrid normally dispatches, so you can't
    use MXML to declare the event listener. Instead, do it in
    ActionScript:
    mygrid.addEventListener( "deleteRecord", handleDeleteRecord
    and then declare handleDeleteRecord to have an event
    parameter of the type of your custom event.

  • Custom Event In DMS

    Hi,
    I have a requirement where in a document need to be digitally signed/approved - parallelly ( say by 3 people - par for each).
    The object is DRAW and the method is EDIT. The terminating event for this step is event CHANGED.
    Now the problem is: when ever the first person signs the document this step gets completed with out others being able to sign.
    How can this problem be solved - should i create a custom event? Please explain in detail. Points Guaranteed !!!
    Regards,
    Venkat.

    Hi Venkat,
    <b>Workflow triggers here and routes it to 3 approvers.</b>
    From this i understand that you have three activity steps in parallel using a fork. Right? Or do u mean to say the same workitem has three agents and is delivered to three peoples inbox. If you are delivering the same work item to three inboxes there is no way that you can have it in other agents inboxes after being processed by one agent. In fact immediately after the first agent opens the workitem for processing it will disappear from the inbox of other agents.
    But <b>if you are using three steps in parallel under a fork.</b> Yes you can achieve this.
    <u><b>Section 1:</b></u>
    You have already created a ZEDIT method and made the method as synchronous. Hence you must have made the task also as synchronous (checkbox "Synchronous object method" checked). Now goto the "Terminating Events" tab of the task. If you still have the terminating event here just delete it. You will not need this as your workitem will get automatically completed when the BO method is executed once.
    Now assign this task to the three activities (for three agents) under the fork step. Now when a workitem is created for this task you will get the workitems in all three inboxes (These will be three individual workitems belonging to each activity inside the fork). Now each of these workitems are independent of each other and will not affect other workitems based on its own processing status.
    <u><b>
    Section 2:</b></u>
    If you have reached till above your approvers will be able to process the workitem independent of each other. Now again you will have a problem here. Once you have made your task as synchronous it just waits for the execution of the BO method and it does not know whether you have achieved the purpose of the method. In your case your objective is to edit the document. But if your approver executes the workitem once it will bring him to CV02N. Now assume he wants to edit the document later and he presses the "BACK" button. Your objective is not completed but still your BO method will get completed and hence terminate the workitem of that approver. To avoid this you need to get back the sy-ucomm value for BACK into your BO  method and write a few lines of code such that your workitem will not get terminated when BACK is pressed. This can be done using some BADI's available for this transaction.
    Thanks,
    Prasath N

  • Custom Event Issue

    Hope you flex geniuses can help me on this one....
    the issue: an action script custom event is being dispatched
    by one object but is not being "heard" by it's parent despite the
    fact that a) the child object uses the [event] declaration in it's
    class definition, b) the event is being correctly dispatched, and
    c) the parent object uses an addEventListener method to listen for
    the event.
    the layout:
    includes an application component (mxml) that has as it's
    only direct child an action script custom component called
    FloorPlan. On creationComplete the floor plan object instantiates
    an action script class called Booth as many times as is required
    (based on the number of booths that needs to be displayed on the
    floor plan) and then adds the instances to itself via addChild()
    method. The booth objects are based on Sprite class and so they
    have click events, etc. When one of the booth instances is clicked,
    the click event of the booth instance fires and the handler creates
    an instance of the ShowCompanyProfileEvent (action script class
    based on the Event class) and then dispatches it. The
    ShowCompanyProfileEvent event handler for now should just open an
    Alert box.
    I know the code works within the Booth class because when I
    register an event listener in the booth class itself and then click
    on a booth, the listener "hears" the dispatched event and opens the
    Alert box.
    The problem is that The floor plan instance has a registered
    event listener to listen for the dispatched custom event also but
    nothing happens when I click a booth instance (which like I said
    should dispatch the custom event). I deleted the addEventListener
    code in the booth class thinking that maybe it was catching it
    first but still it wouldn't work.
    Any ideas? I have reallysearched and searched to no avail. As
    I mentioned, I get no errors at all when I compile and run the
    code. I just don't get the expected results.

    LensterRAD, don't know if I got the hole idea but I guess you
    are listening to the ShowCompanyProfileEvent directly on the
    FloorPlan, something like:
    FloorPlan.addEventListener(ShowCompanyProfileEvent,
    someFunction);
    if this is the case, you'll probably need to add the BUBBLE
    parameter to the event, so it will follow the hole event
    propagation model.
    something like: dispatchEvent(ShowCompanyProfileEvent,
    true);

Maybe you are looking for

  • When I open Nightly all I get is a small black window that says close firefox

    I have Nightly installed on a laptop using Windows 7. I have been using it for nearly a year. This afternoon, when I tried to open Nightly, all I got was a small black window saying "close firefox." I used Chrome to get on the web, downloaded the mos

  • How to query for a firmware version?

    Hi, My customer requires to report all firmware versions for all components. How do I acquire a firmware version for a PXI card? I have a number fo card (PXI-5421, PXI-4072, PXI-6653). Thanks CT

  • Why does my Safari keeping quitting on me?

    It has done this for a while now, off and on.  Now it's worse.  There are times it does it every few minutes.  I was getting a msg when it happened saying safari quit unexpectedly but I am no longer getting that msg.  Here is what we have... just cop

  • Adobe Reader Speed Lauch problem

    At startup, I am getting this message: Acrobat Reader Speed Launch.Ink disabled because it it either not a supported file type or because the fule has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded. Help

  • Error while PGI due to SLED

    Hi, When I do PGI, I get the following error, Best Before date/SLED 20.01.2007 of batch "1234" has been exceeded. Stock data of serial number "1234" not suitable for movement. I checked the Material Master, and the following values exist under shelf