Accordion load event does not fire when accordion and load event created dynamically using actionsript

I cannot get the accordion load event to fire when I have
created the accordion and load event using actionscript . Here is
some sample code:
createClassObject(mx.containers.Accordion, "acc",
getNextHighestDepth());
acc.createSegment(mx.containers.ScrollPane, "sc1", "Number
One");
acc.createSegment(mx.containers.ScrollPane, "sc2", "Number
Two");
var accLis=new Object();
accLis.load=function(evtObj) {
trace("load");
accLis.change=function(evtObj) {
trace("change");
acc.addEventListener("load", accLis);
acc.addEventListener("change", accLis);
I made sure to add the ScrollPane and Accordion components
to my library. So the load event does not fire, but the change
event does fire. And through further testing the other events do
not fire, including the draw event. Can anyone help? The only time
I can get the load event to fire on an accordion is if I put an
accordion on stage, select it and add the actionscript to the
objects actions like shown below:
on(load) {
trace("load");
on(draw) {
trace("draw");
Can somebody help? Unfortunately I must create all my
components dynamically. Thank you in advance.

I'm having this issue also...but only apparently with Internet Explorer and only on some machines...ideas?

Similar Messages

  • 2 Create bindings in 1 page, second Create event does not fire (ADF)

    I have an ADF, Struts, JSP master detail page and within that page there is a Create binding on the master view and this works fine.
    I added the detail list to the page and added a Create binding for this view underneath the list.
    The second create event does not seem to fire at all, when the button is clicked the page gets submitted and the request forwards to the correct page to display the input form but the contents of this form is the current selected detail row in the view and not a new row.
    I have created 2 new pages to test the detail view... I put a link in the original page to a test list page that displays the detail list and included a Create binding in this page which links to a test create page and this works fine.
    Has anyone else had this problem?
    Can there be only 1 Create event binding in a single page?
    Is there a way round this other than having to have my detail page on a seperate page?
    The Jdeveloper version I am using is as follows...
    JDeveloper Version 10.1.2.0.0 (Build 1811)
    Oracle IDE     10.1.2.17.84
    Business Components Version     10.1.2.17.96
    UML Modelers Version     10.1.2.16.71
    Versioning Support     10.1.2.16.71
    WebDAV Support Version     10.1.2.16.71
    Struts Modeler Version     10.1.2.6.15
    Designer Generators Framework     10.1.2.7.56
    ADF UIX     2.2.16
    java.version     1.4.2_04
    Thanks
    Al

    Can you do something like this?
    1. Look at the uimodel for your page and find the Create that is the action binding for the detail. Name it something like: CreateDetail
    2. Change the button on the page to create a detail to be named: event_CreateDetail.
    3. Change the forward from Master/Detail browser page to: CreateDetail
    Can you provide more details on:
    1. What are the names of the create bindings for master, then detail?
    2. What is the name of the forwards, that is the struts-config.xml action definition for this page?
    I hope this helps!

  • Subscription to business event does not fire

    I am working in the R12 PIM product . I setup a subscription rule function for the event oracle.apps.ego.item.postItemCreate
    . I just added one line in my function to insert a value in a dummy table.
    But nothing gets inserted.
    Is there any table/view to check if the event was raised. Has anyone worked on PIM/PLM events. I enabled the event and created a subscription as per the PIM guide but the subscription is not raised.
    Any suggestions please ?
    thank you
    satya

    Satya
    I just checked the 12.0.4 instance, This event is disabled. Did you enable it before adding subscription?
    If, yes, have you used phase above 100 which defers the event, if not it is synchronous and the table should be populated.
    If deferred, check the table wf_deferred.
    select count(*),state
    from wf_deferred
    where corrid='APPS:oracle.apps.ego.item.postItemCreate'
    group by state;
    This SQL should return rows if the subscription is deferred one and state should be 2 if already processed oterwise 0.
    You can also test it by raising the event manually using test see whether the row comes into this.
    Thanks
    Nagamohan

  • I am suddenly unable to open mail from the dock. dock shows mail is up and running, but stamp does not respond when clicked, and will not quit. help?

    I am suddenly unable to open mail from the dock. dock shows mail is up and running, but stamp icon does not respond when clicked, there is no mail window opened, and will not quit. when double clicked, get new mail is not an option and I get no response with other actions.
    I am retrieving mail on my phone with no problem. this just began happening, no updates or problems with anything else.
    help?

    command-option-esc keys and force quit Mail. Then relaunch.

  • Jpeg image loaded with Loader- loadBytes() does not display when app is deployed on remote server

    I am loading a JPEG  image from the server, using the Loader->loadBytes() and that works when the app is deployed under my local Tomcat server.  When I deploy it on other servers the image is not displayed,  instead of the image I see II*
    On the server side I have java, Spring, BlazeDs and I use RemoteObject on the client.
    The code that loads the image looks like below:
    private function imageLoadResultHandler(event:ResultEvent):void {
        var result:ArrayCollection = event.result as ArrayCollection
        var bytes : ByteArray = result.getItemAt(0) as ByteArray;
        _loader = new Loader();
        _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
        _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loaderFaultHandler);
        _loader.loadBytes(bytes);
    private function loaderCompleteHandler(event:Event):void {
        var loaderInfo:LoaderInfo = event.currentTarget as LoaderInfo;
        var img:Image = new Image();
        img.source = loaderInfo.content;
        myPanel.addChild(img);
    <mx:RemoteObject id="ro" destination="imageLoadService">
         <mx:method name="loadImage" result="imageLoadResultHandler(event)" fault="faultHandler(event)" />
    </mx:RemoteObject>
    Any help with this problem is much appreciated.
    Thank you,
    Lumi Velicanu

    Hi Dmitri,
    Thank you for the prompt reply, your question about the jpeg content was a helpful pointer.
    I solved the problem, it had nothing to do with flex, it was all on the java side. The image was obtained from converting a TIFF to a JPEG, the conversion was failing and the flex loader was receiveing a tiff and it did not know how to display it.
    The java problem was kind of interesting, I'll post it here as an FYI in case anybody cares :
    On my server the first writer returned by ImageIO was an instance of JPEGImageWriter and on the other servers was CLibJPEGImageWriter. And it happens that  only JPEGImageWrite can write the type of TIFF that we are having.
    The fix was to iterate through all the writers and pick the instace of JPEGImageWrite, instead of the first one found.
    Lumi

  • "20 most recent events" does not transfer the 20 most recent events

    I've always used "sync 20 most recent events" for uploading photos to my iPhone.
    Recently I've noticed that the 20 events on my iPhone are not the 20 most recent events. Instead, there are 20 events with certain events missing.
    If I look at my events in iPhoto going back in time and compare them with the events on my iPhone, the 6 most recent events are missing completely, then there is an event, then there are missing 2 events, etc.
    I upgraded from iPhoto '08 to '09 about 3 weeks ago, but I don't see any link with the missing events. I.e. certain events from before the upgrade are missing and certain from after the upgrade.
    I couldn't find this problem already reported in this forum.
    What I tried so far, every time without success:
    - in iTunes I selected to NOT sync photos to my iPhone and to remove all existing photos from my iPhone, and after syncing all photos were STILL on my iPhone
    - I deleted the "iPod Photo Cache" folder and when syncing again the exact same events were transferred to my iPhone
    Any ideas of how I could fix this and get the 20 most recents events to my iPhone?
    Thanks in advance for your help!

    FYI ... one other issue I have noticed in my iPhoto. Not sure if the two are related, though.
    http://discussions.apple.com/thread.jspa?threadID=1994811&stqc=true
    (Smart album does not show expected photos)

  • HT4623 My iPhone 4S does not show ringer bar and i now need to use ear phones to listen to music

    My iphone 4s is not showing ringer bar and i cant listen to music without earphones

    Hey chirambab,
    Thanks for the question. I understand you are experiencing issues with your iPhone 4s in regards to audio.
    The following resource may provide a solution:
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    1. Verify that the volume is set to a level you would normally be able to hear.
    2. Ensure that there is nothing plugged in to the headset jack or the dock connector.
    3. If the iPhone is in a protective case, make sure that the speaker port isn't blocked by the case.
    4. Make sure that the speaker and dock port aren't clogged with debris. If necessary, clean it with a clean, small, dry, soft-bristled brush. Carefully and gently brush away any debris.
    5. If an audio issue occurs when using a specific application, try testing other applications to see if the issue persists.
    6. If the iPhone is paired with a Bluetooth headset or car kit:
              - Try turning off Bluetooth.
              - If you experience difficulties with the Bluetooth feature, follow these troubleshooting steps.
    7. Restart the iPhone.
    8. If restarting doesn't fix the issue, ensure that your iPhone is updated to the latest version of iOS.
    9. If the issue is not resolved after restoring the iPhone software, please contact Apple Support.
    If the issue persists, please follow the last step by contacting Apple Support for support and service options.
    Thanks,
    Matt M.

  • When I take a picture with my iphone, the date does not show when I down load the picture. Is there a way to program this?

    when I take a picture with my iphone, the date is not downloaded to my picute. Is there a way to get the date put on my pictures.

    Dropbox "Camera upload" option just rename the files and looks like this.

  • The number of photos in an event does not match between iPhoto and iTunes

    Hi,
    Not sure what's up but the number of photos in one of my events in iPhoto is 19 but on iTunes it shows (and syncs) as only 9.
    Any ideas?
    Jennifer

    Not that I've heard -- but it looks like 250,000 for iPhoto -- a bunch
    Apple - iLife - iPhoto
    iPhoto makes sharing photos faster and simpler than ever before. It also adds great features, including Photocasting, support for up to 250,000 photos, easy publishing to the web, special effects, and new custom cards and calendars.

  • Firefox does not close when exited and I must use system to delete process in order to log in again.

    When using either my XP or 7 computer and I exit Firefox and then try to get back in, I get a message that Firefox is already running and I must exit to log back in. I must go to the system to delete the Firefox process before I can get back into Firefox. I am using Comcast as my provider.

    https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit

  • Video does not restart when closed and re-opened

    I have a .f4v file (Adobe Premiere) embedded into a swf. The
    video is launched into an iframe when the user clicks on the link
    to "See Video". When I close the iframe in Firefox and then click
    on the link again to launch the video, it starts from the
    beginning. In IE7, IE6 and Safari the video continues from where it
    left off. I would like for it to start from the beginning like in
    Firefox. Any suggestions?
    Thanks!

    Do you have a link to the video.  Why are you using the iframe?  I'm curious to see how this works.  I have a html page with a swf with buttons that play movies on a small area on the screen it's easily controllable though I only programmed the pause button.  I have the selection buttons run the small videos on roll over and a higher res larger version with swf skin with full controls - seek when you click the selection.
    http://jimslounge.com/publicDomain/

  • Mouse event not fires on drag and drop

    Please
    Can any one help and give any idea during draging(drag drop) mouse over of a button does not fires. I have a list of thumb in which I want to drag and drop the thumb at any location for reordering the thumb but due to  lot of item in list need to sscroll list.  I have my own custom scroll on button mouse over but when Item is dragging  mouse event does not fires.
    Thanks in advance,
    Premkant

    Hi there,
    Reject caption shows up when an unacceptable source is dropped on a Target. To configure the 'Accept criteria', select a drop target, Click on the 'Accept' button, Deselect the checkbox corresponding to the unacceptable source. (As shown below)
    Now whenever the user drops 'Unaccept' source on top of the target, the 'Reject' caption shows up.
    Thanks,
    Nimmy Sukumaran.

  • Scroll bar does not slide when dragged using curser in word

    I need answers to two questions.
    1.   How to maximise a word document to full window size.
    2.   Why the side scroll bar of a document does not slide when dragged.
    3.   Am very  used to the "delete", "page up and page down" keys and cant find them on keyboard.
    Thanks.

    What you can try if the above doesn't work, is deleting the scroll bar from your Data List, and then dropping it back in from the Library. The act of re-adding the scrollbar may get you the desired behavior.
    If that doesn't work, you will probably need to post your project so we can take a look.
    -Bear

  • Airport utilities does not recognise windows 7 and will not load, how do I fix this?

    Airport utiltiy will not load, it does not recognise windows 7 and I get an effor message telling me that it requires XP  or vista etc.
    I have deleted and reloaded Airport Utilities, Bonjour and Itunes to no effect. Help!

    well...i go only to the site "Test it here: http://java.com/en/download/help/testvm.xml". After this i was able to go to a site with the title "Java Downloads for All Operating Systems" and here you download your JRE for your OS. For XP or Win 7 it was a java 6 update 29-b11. The file to install is named '''jxpiinstall.exe'''. After install an restart you go again to [http://java.com/en/download/help/testvm.xml testvm.xml] and see that the java plugin works fine.... (see the screenshot)...
    cheers
    marco

  • "The interface name given does not specify a valid and existing interface."

    Hi nice guys,
     I'm trying to use the XNET APIs to set Master task to Slave with LIN protocol. As I have no Experience before, there's something problem like the Interface of the NI USB-8476S can't be detected. The prompted windows presents following infomation:
    Error -1074384758 occurred at XNET Create Session (Signal Output Single-point).vi:1
    Possible reason(s):
    NI-XNET: (Hex 0xBFF6308A) The interface name given does not specify a valid and existing interface. Solution: Use a valid and existing interface. These can be obtained using MAX, XNET system properties, or the LabVIEW XNET Interface IO name. If you are using CompactRIO, refer to the topic "Getting Started with CompactRIO" in the NI-XNET Hardware and Software Help.
    but in the NI MAX, the device is detected as "LIN0". Even the interface input control in the NI examples shows the error. But if I take the CAN Frame API, it works well.
    Does anyone have some idea. I'm so preciate. Tanks in advance.
    best regards
    Melo

    Melonetern,
    When do you receive these errors?  Does this happen when you try to run your code or our examples?  On top of that, does this error happen immediately or does it take a while?  Is this happening in LabVIEW or another interface?
    If you could give us the versions of software you are using as well as the XNET driver versions that would be very helpful.
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

Maybe you are looking for

  • BPM file to ABAP proxy

    HI all I´m developing a BPM, this has the following steps: 1º Reciver Step: this is to read a file , comunication channel type file. 2º transformation Step: maps the MT of the file to a new MT 3º Send step: send syncronously the result of the the map

  • How do i use data when i'm not connected to wi-fi?  it won't work

    I have a brand new iPhone 4s.  It works fine when I'm at home and its using our wireless.  When I leave the house nothing works - imessage, internet, mail...  I think I have the settings correct.  HELP!

  • HDD Re-formatting

    Just a quick and simple question maybe it sounds dumb but re-formatting the HDD like 7 times will it harm the HDD ? Thanks

  • Report Restrictions

    Hi All, I am working on a report and in report designer I have taken Customer Account Number ,Account Type,Posting key, Doc Type,Posting Date, G/L Account and Type of Payment. Now I want to see only 3 Doc.Types Only few Customer Account Numbers Only

  • Read the List output fields

    Hi All,         I want read the line of the interactive.But in that line i nedd only 3 field values so when i try to read the line using the READ LINE ststement and try to assign the read value to a field it is going for the dump and saying conversio