JScrollPane isn't firing componentResize to children? Is it supposed to?

I created a sublcass of JPanel that listens for ComponentResizing events. When it is fired, the sublcasses can take action as necessary. I needed this because I draw in one panel and need to know the dimensions so the graphics can be drawn to scale.
I add my panel to a JFrame directly, it works as expected, resizing on each resize of the frame.
I realized that I need to somehow set a minimum size so that if the user resizes the window below a certain size, I want it to lock into a minimum size and show scrollbars.
This approach is working when I resize the JScrollPane in the y-direction, but in the x-direction, it only redraws when I drag the size past the current bounds. I mean, once I reach a certain size, I can't get smaller.
Any ideas? I think I probably missed something simple so I thought I'd throw it out there.
Thanks for your help.
Message was edited by:
wanderer3791

Sadly that's the way it works. If you select a track from an album (chosen from Cover Flow or the Albums menu) it will play up until the end of the album or, if you enable repeat all, it will play the album continusly. You can use the Artist, Playlist or Genre menus to play all tracks by a particular artist, in an individual playlist or with a specific genre and each will play up to the end or repeat accordingly. Currently there's no easy way to use the menus to let you find a particular track to start playing, but then have the music play Album after Album, Artist after Artist in the same way as iTunes & most other media players behave.
Here's my suggestion for improving this behaviour which I've previously posted as a feature request to iPod Feedback.
*Extend play/shuffle/repeat options*
These should include:
• *Play modes – 1/Album/Artist/Genre/All*
When play is started from any menu, play would cease after playing 1 track, at the end of the current album, after playing all tracks by the current album artist, within the current genre or at the end of the playlist. If Repeat is On play would resume with the same track/first track of the album/first track of first album by artist/first track of first album in genre/beginning of playlist.
• *Repeat Modes – On/Off*
See Play modes to determine what is repeated.
• *Shuffle Modes - Off/Tracks/Albums/Artists*
For Artist function as Album Artists, i.e. Continue playing tracks by current album artist until last track is reached then start playing tracks by a new random album artist.
• *Play & pause - On/Off*
When On pause after each track leaving iPod cued at the beginning of the next track.
It should be possible to change these options from the screen that currently controls shuffle behaviour and appears after pressing Select a few times when music is playing.
tt2

Similar Messages

  • Validator isn't fired when using example code from chapter 40: Validating Data

    When following example code, mentioned in the Flex Developer
    Guide on page 1282 is copied into an mxml example application and I
    run the application, validation is never fired.
    When I have a look at other example code, which is using the
    listener- and trigger-property on the validator everything works
    fine.
    Could you explain why the example code from the Dev-guide
    doesn't work as mentioned in the guide?

    Nathalie,
    I believe you need to specify the "trigger" and "listener"
    properties as well. For more information, see the last example on
    this page:
    http://livedocs.adobe.com/flex/201/html/validators_093_04.html

  • Call of Duty in my digital library isn't appearing t download what am I supposed to do?

    Best buy online purchase, online download

    Hi KyleGreenwood,
    As a gamer myself, when I purchase a new game, I want to be playing it immediately. Just waiting for the game to install is tough enough at times! It sounds like you may not be seeing your Call of Duty purchase in your Digital Library yet, or may be having issues with it. I apologize for any frustration the delay in receiving your game has caused.
    Although most orders are fulfilled within an hour, please allow up to 24 hours after your purchase for the delivery of your digital code. You can see more information in regards to this by viewing our Digital Library troubleshooting post here.  I’ve attempted to locate your purchase to determine when it was placed, but am unable to do with the information provided in your profile on the forums.
    If you have received the code, but you’re having issues actually downloading the game, send me a private message with the BestBuy.com order number and I’ll look into this further. To send me a private message, simply click the link in my signature.
    Please let me know if you need further assistance with this, and thanks for posting!
    Sincerely,
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • My g4 15' / isn't my light on my key b. supposed to light up?

    I'm a new mac user and I'm not sure if my light on my key b. is broken or not... can someone tell me how to check if it's broken or I just don't have it turned on correctly.
    thanks.

    OK - for whatever reason they don't list "our" PB by its processor speed (thanks Apple). Instead they prefer to refer to it as being the "FW 800" model.
    http://www.everymac.com/systems/apple/powerbookg4/stats/powerbook_g4_1.2515.html
    Just check yours - there should be 2 firewire ports next to each other - one the normal 400 version with the "chamfered" end, the other being the rectangular 800 job.
    I've just reset the PMU on mine using the instructions I posted last time and I can report that the world did not end - everything is as it was before except as the article says the clock reverts to 1st Jan 1970. (If only - I'd be a teenager again!)
    To save you ploughing through the article again this is the relevant instruction:
    If the computer is on, turn it off.
    Reset the power manager by simultaneously pressing and then releasing Shift-Control-Option-Power on the keyboard. Do not press the fn (Function) key while using this combination of keystrokes.
    Wait 5 seconds.
    Press the Power button to restart the computer.
    If that doesn't have any effect I would honestly just give up and live with it.

  • Listen for children eventDispatchers

    Googling the phrase above gives loads of answers and it looks that what I want to achieve is doable... but still I can't get it to work.
    Basically I've build a small class that can be imported anywhere in the program and one of it's public methods dispatch a listener, which as I understand can be received anywhere...
    Is that correct?
    In my project I've got a menu which slides in and out. It's movement can be triggered mainly bu the buttons on the menu, but I also want to be able to controll it's movement from various places in the program. So ie it can slide in or out when something completely unrelated has been clicked.
    So I've got a class "SlidingPanel" and one of its children is class "SlidingPanelNavigation".
    SlidingPanelNavigation uses the class that only dispatches the Event, wchich should be listened in class "SlidingPanel" and the problem is - it doesn't.
    My code (in a short):
    My main class that holds the whole menu together:
    package com.zeeto.menu {
    import flash.display.MovieClip;
    import flash.events.Event;
      public class SlidingPanel extends MovieClip {
        private var navigation :SlidingPanelNavigation;
        public function SlidingPanel():void {
        ... some unrelated code...
        private function prepareMenu():void {
          navigation.addEventListener(Event.ADDED_TO_STAGE, menuReady);
        private function menuReady(e:Event):void {
          navigation.removeEventListener(Event.ADDED_TO_STAGE, menuReady);
          addEventListener(SlidingPanelEvent.SLIDE, slideMenu);
        private function slideMenu(e:Event):void {
          trace("Hello World");
    The class that holds objects which can trigger the slide in/out movement:
    Code:
    package com.zeeto.menu {
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.events.MouseEvent;
      public class SlidingPanelNavigation extends MovieClip {
        private var eventFlag   :SlidingPanelEvent = new SlidingPanelEvent;
      private function buildItem(menuItem:Array) {
        ... some unrelated code ...
        button.addEventListener(MouseEvent.CLICK, clicked);
        addChild(button);
      private function clicked(e:MouseEvent):void {
        eventFlag.slideMenu();
    And finally the class that is some kind of dispatcher:
    package com.zeeto.menu {
    import flash.events.Event;
    import flash.events.EventDispatcher;
    public class SlidingPanelEvent extends EventDispatcher {
      public static const SLIDE:String = "slideMenu";
      public function slideMenu():void {
        dispatchEvent(new Event(SlidingPanelEvent.SLIDE, true));
    Why the SlidingPanel.slideMenu() isn't fired?
    Thanks!

    Ok, so document class adds the SlidingPanel:
    package {
    import flash.display.MovieClip;
    import flash.events.Event;
    import com.zeeto.menu.SlidingPanel;
    public class Main extends MovieClip {
      private var mainMenu   :SlidingPanel;
      public function Main():void {
       if (stage) init();
       else addEventListener(Event.ADDED_TO_STAGE, init);
      private function init(e:Event = null):void {
       removeEventListener(Event.ADDED_TO_STAGE, init);
       mainMenu     = new SlidingPanel(52, 0x000000, 50, true, true);
       addChild(mainMenu);
    The Sliding Panel in more detail:
    package com.zeeto.menu {
    import flash.display.MovieClip;
    import flash.events.Event;
    public class SlidingPanel extends MovieClip {
      private var menuHeight   :uint   = new uint;
      private var menuColor   :uint  = new uint;
      private var menuTransparency :uint  = new uint;
      private var background   :Background;
      private var logo    :Boolean;
      private var contacts   :Boolean;
      private var navigation   :SlidingPanelNavigation;
      public function SlidingPanel(h:uint, c:uint, t:uint, l:Boolean, a:Boolean):void {
       addEventListener(Event.ADDED_TO_STAGE, init);
       menuHeight      = h;
       menuColor     = c
       menuTransparency    = t / 100;
       logo      = l;
       contacts     = a;
      private function init(e:Event):void {
       removeEventListener(Event.ADDED_TO_STAGE, init);
       this.y       = stage.stageHeight;
       background     = new Background(menuHeight, menuColor);
       addChild(background);
       background.addEventListener(Event.ADDED_TO_STAGE, prepareMenu);
      private function prepareMenu(e:Event):void {
        background.removeEventListener(Event.ADDED_TO_STAGE, prepareMenu);
        navigation     = new SlidingPanelNavigation(structure, menuHeight);
        navigation.addEventListener(Event.ADDED_TO_STAGE, menuReady);
        addChild(navigation);
      private function menuReady(e:Event):void {
       navigation.removeEventListener(Event.ADDED_TO_STAGE, menuReady);
       trace("menuReady");
       addEventListener(SlidingPanelEvent.SLIDE, slideMenu);
      private function slideMenu(e:Event):void {
       trace("Slide Event Received");
    The "menuReady" trace appears in output, so I believe everything is ok...
    I have also used .hasEventDispatcher() and .willTrigger(); to test if listener exists and it does...

  • INSERT Script stored as "SQL Statement Script" not firing on Oracle Alert

    We are using Alert Manager to run Alerts based on absence information in EBS R12.1.3 HR tables.
    Application: Human Resources
    Period/Event: Periodic
    Frequency: Every Day
    The Alert has 2 actions.
    One is to email a supervisor based on the Alert SQL finding staff who have had x number of absences over a set period of time.
    That is working fine.
    The other action is defined as an "SQL Statement Script".
    The SQL script inserts the variables defined in the SQL from the main Alert definition SQL, into a custom table.
    When the Alert fires, we are getting the email generated, but the INSERT statement isn't firing.
    However, when we look at the result of the Alert when it has run, and look at the steps which were fired, we can see the email step and the SQL step. When we look at the SQL in the SQL step which was generated, we can copy and paste it direct into TOAD and it works fine.
    We have tried a simple SQL INSERT statement which even just does:
    INSERT INTO xx_tmp (VALUE1_DATE, VALUE2) VALUES (SYSDATE, 'this');
    But even that does not work.
    We wonder if the issue is that we cannot do a direct INSERT from an alert type of "SQL Statement Script"?
    We have found another Alert which does a direct UPDATE on a table, but the SQL Statement Script definition has "Purchasing" as the Application, because it's updating a PO table.
    In our case, we're trying to insert into a custom table held in our in-house XX schema.
    Could the problem be that we don't have the "Application" set? If that's the case, we don't have a corresponding application anyway.
    Or can we not do a direct INSERT like this - do we need to use a package instead, and call that?
    Any advice much appreciated.
    Thanks

    Hi Brian,
    Alert issue - Custom SQL fix
    1. Define actions via "Actions" button on Alert Definition
    2. Create an action for e.g. "Send Message to Supervisor"
       Action type: message
       Action - sends email to people
    3. Create another action called e.g. "Insert Record"
       Action type: SQL Statement Script
       Fill in SQL in the "Text" section, no need to add a begin or end bit, just a simple INSERT INTO X etc ending with a semi colon
    4. Back on the main alert definition window, go to "Action Sets" button
       Here, need one SEQ for the Message / Email (e.g. Seq 1), and then click on "Action Set Details" and click on "Members" tab and select the "Send Message to Supervisor" Action
       Then close the "Action Set Details" window, and return to the "Action Sets" window
       click into 2nd line, add e.g. Seq 2, and call it e.g. "Insert Record", click on "Action Set Details" > Members tab and select the "Insert Record" The problem was that in the first instance, we had a single Action Set, and under "Members" had selected the "Send Message to Supervisor" and "Insert Record" at the same time.
    Short answer: each Action needs to be defined as a separate line in the Action Sets definition.
    I can send screenshots if you need them, and don't mind putting your email address on this forum.
    You can always edit the thread after I've emailed you, to remove your email address.

  • Setter not firing

    Do setters not fire the first time a page is requested? I keep setting a breakpoint but it is not being caught on the first request.

    "Revisiting" a page can mean so many things. Are you talking about using your browser's back button, or using in-application links to get to the page? ADF in 10.1.3 does not really support back-button navigation. I've seen full back-button support for 10.1.3 home-brewed, but it's not easy (basically, it involves doing fancy things with frames, makuing sure that a back button push always actually navigates a hidden frame and having Javascript in that frame that actually re-submits the request for the earlier page). This is one of those "I hope 11g comes out soon" things.
    If you're actually going back to the page using in-page links, that's a bit more surpsising. It's definitely the getter that isn't firing, and not, say, code in the constructor the getter is relying on? If the latter, check your bean scope; it should be set to "request," or you'll be re-using an old bean rather than making a new one. Otherwise, I'm at a bit of a loss.

  • Print event not firing

    Hi all, first time poster here so be kind
    I have 2 events to be captured under ItemEvent for the Sales Order form.
    oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD)
    oFilter.AddEx("139")
    oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_PRINT)
    oFilter.AddEx("139") ' Sales Order
    SBO_Application.SetFilter(oFilters)
    For the form_data_add event, I question whether they really want to post, and this works fine, but for some reason the et_PRINT isn't firing at all...
    Under ItemEvent...
                ' Capture SOR printing so can check for back orders
                ' REMOVED BECAUSE CANNOT GET TO WORK
                If pVal.FormTypeEx = "139" And _
                   pVal.EventType = SAPbouiCOM.BoEventTypes.et_PRINT And _
                   pVal.BeforeAction = True Then
                    oForm = SBO_Application.Forms.Item(pVal.FormUID)
                    BubbleEvent = CheckSORBackOrder(oForm)
                End If
    I have put a breakpoint at the first 'if' statement, and it isn't stopping, suggesting the event registering isn't working.
    Extra info: I am constantly starting and stopping the addon through Visual Studio, incase this might be part of the problem.
    If anyone could help, I would be grateful,
    Regards
    Paul

    I have already tried capturing the button event, but that isn't working either.
    The code used is below:
    changed from ItemEvent MenuEvent... type
    MenuEvent..
    If pVal.MenuUID = "520" And pVal.BeforeAction = True Then
                Dim oForm As SAPbouiCOM.Form = SBO_Application.Forms.ActiveForm
                If oForm.TypeEx = "139" Then
                    BubbleEvent = CheckSORBackOrder(oForm)
                End If
    End If
    And all of my registered events are below...
        Private Sub RegisterSAPEvents()
            ' Register Event Handling
            Dim oFilters As SAPbouiCOM.EventFilters = New SAPbouiCOM.EventFilters
            Dim oFilter As SAPbouiCOM.EventFilter
            ' Menus
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_MENU_CLICK)
            oFilter.AddEx(v_stockHist_MenuID)
            oFilter.AddEx("520")
            ' Forms
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_CLICK)
            oFilter.AddEx(v_stockHist_FormType)
            ' Stock History double click for grid
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_DOUBLE_CLICK)
            oFilter.AddEx(v_stockHist_FormType)
            ' Stock History Item choose from list
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST)
            oFilter.AddEx(v_stockHist_FormType)
            ' Question new SOR?
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD)
            oFilter.AddEx("139") 'SOR
            ' Key Press for Stock History Form
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_KEY_DOWN)
            oFilter.AddEx(v_stockHist_FormType)
            ' SOR Print
            ' COULD NOT GET TO WORK, SO WILL USE MENU EVENT 520 INSTEAD
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_PRINT)
            oFilter.AddEx("139") ' SOR
            ' Check for new SOR opening
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_FORM_LOAD)
            oFilter.AddEx("139") ' SOR
            ' Set Event Handlers
            SBO_Application.SetFilter(oFilters)
        End Sub
    I have another form which I have created, and all events work for that.
    Edited by: Paul Fearn on Jun 20, 2008 4:07 PM

  • Alternating row color ordered by value

    Hello,
    I created a report ordered by the column COUNTRY. Then I added a hidden column called COLOR with a value switching between '#FFFFFF' and '#F0F0F0' every time we have the next country in the report.
    I now want the background-color of each row to have the value of den column COLOR.
    How can I achieve this? Do I need a dynamic action?
    Regards
    Felix

    Hello Scott,
    sorry that I couldn't get it running until now, thanks for every hint anyway.
    I did all your changes. Unfortunately it still not works. I give you some more information, perhaps you can see the error.
    The region has the template Reports Region and the Layout and Pagination is Standard with color definition. This template is a copy of the Standard Template where I added den background color in the Column Template 1.
    The table the SQL-Statment returns looks like this:
    <font face="courier">
    ID    COMPANY_NAME  COUNTRY  BG_COLOUR
    1356  Company 1     AE       #BFBFBF
    1359  Company 2     AE       #BFBFBF
    1357  Company 4     AE       #BFBFBF
    1200  Company 5     AL       #FFFFFF
    1272  Company 6     AT       #BFBFBF
    1263  Company 7     AT       #BFBFBF
    1264  Company 8     AT       #BFBFBF
    1265  Company 9     AT       #BFBFBF
    1318  Company 14    BA       #FFFFFF
    1319  Company 15    BA       #FFFFFF
    1383  Company 16    BE       #BFBFBF
    </font>
    For the testing I made the column BG_COLOUR unhidden.
    I copied and changed template Standard. In Column Template 1 the new code is
    <td#ALIGNMENT# headers="#COLUMN_HEADER_NAME#" class="t1data" style="background-color:#BG_COLOUR#">#COLUMN_VALUE#</td> It has been enhanced with
    style="background-color:#BG_COLOUR#" Then I have a dynamic action for this report with a javascript code:
    $("td[headers='BG_COLOUR']").each(function()
       $(this).parent().children("td[headers='ID']").css({"background-color":$(this).text});
       alert($(this).text);
    ); The line
    alert($(this).text); I added to see if the dynamic action is fired. Unfortunately it isn't fired.
    The dynamic action is a true action with the little checkbox Fire on Page Load selected.
    Does this information help?
    Thanks Scott for all the time you spent.
    Regards
    Felix

  • Processing Static (via automatic row processing) & Dynmaic fields

    Hi,
    I have a page that has 2 sections. Section S is statically driven which I'd like to process via a Automatic Row Process DML. Section D is for dynamic fields which I process via a PL/SQL script.
    I need to process Section D (dynamic) first.
    Now they're 2 things that I'm noticing when I try this. Can someone please confirm.
    - After my process of Section D it seems to make a commit. I know this since I have a error in Section S, and the values from Section D are committed to the DB. I need to make sure a commit only occurs after all page processes have completed error free.
    - My Automatic Row Process DML for Section S doesn't seem to work at all. It can't seem to read the values at all. I know this since I have several columns which are "NOT NULL" and the appropriate error messages are being raised. The Automatic Row Fetch for Section S does work properly.
    For the time being the work around is writing a process for the entire page which includes both Section S and Section D. The thing is I thought that HTMLDB would be able to help me out a lot with Section S since it had static fields etc.

    Martin - I would try to debug these two processes separately. If the Auto DML process isn't firing, perhaps the button used to submit the page isn't setting the request to one of the standard values recognized by the Auto DML package ('INSERT','CREATE','CREATE_AGAIN','CREATEAGAIN' for inserts and 'SAVE','APPLY CHANGES','UPDATE','UPDATE ROW','CHANGE','APPLY' or like 'APPLY%CHANGES%' for update).
    A commit happens whenever session state is changed, so if your process saves an item value, that would do it. If you think that is not the cause of the commit, let me know the details of the process and I'll take a closer look. There is no way to prevent the commit when session state is updated.
    Scott

  • Javascript/AJAX - Show image whilst update is done and then hide it.

    I want to do an update with AJAX but I want a "waiting" image to display before the update and then hide afterwards. That way, if there is a delay in the update or a row lock, the screen doesn't just freeze, it shows a "please wait" icon.
    I am using code like this to save to the database when a field is de-selected (done for ease of testing):
    <script type="text/javascript">
    function deselect_field(f) {
      f.disabled=true;
      f.className=f.className + " saving";
      var v=new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=SC_TEST',0);
      v.add(f.name,f.value);
      v.get()
      f.className=f.className.replace("saving"," ");
      f.disabled=false;
    </script>The saving class sets the background. I have tested this without the un-setting and it works fine. I think the issue is the ajax call is made too quickly, ie before the screen has had chance to update.
    SO - my question is, how can I have the image (moving gif) display whilst the AJAX call is processing and then hide it at the end?!
    Rather not use JQuery if possible.
    Thanks

    Hi,
    Thanks for the link. The issue I'm having now is that the process isn't firing (it's just updating a row in a table). Also, readyState of 4 never seems to get returned. I seem to get the call for readyState of 1 and then that's it. I've modified my code:
    <script type="text/javascript">
    var z;
    function deselect_field(f) {
      z=f;    
      var v=new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=SC_TEST',0);
      v.add(f.name,f.value);
      v.GetAsync(f_async);
      v=null;
    function f_async() { alert(p.readyState);
      if (p.readyState==1) {
        z.disabled=true;
        z.className=z.className.replace("highlight_field"," ");
        z.className=z.className + " saving";
      else if (p.readyState==4) {
        z.className=z.className.replace("saving"," ");
        z.disabled=false;
    </script>As you can see, I have a debugging alert message in there. This only pops up the once with a value of "1".
    Any ideas?! Apart from using classes instead of displaying the HTML element, I can't see much else that is drastically different? Even so, I wouldn't have thought that would have any effect anyway?
    Thanks,

  • Sudden error I can't find and StageWebView (AIR for iOS)

    Hey all,
    In my app I allow a user to download files from a list and then typically use StageWebViews to display them (videos mostly). Recently my app started to misbehave.
    I'm using Flash Builder 4.6 with AIR 3.2 on Win7 Pro 64.
    I test on-device. I choose fast export (quick packaging) and debug right from Flash Builder so I can see traces/errors/etc from the iPad.
    After downloading a ~40MB MP4, I save it to the applicationStorageDirectory (and mark it 'do not back up'). I then wait 3 seconds just to be sure the write has a few seconds to complete. Then I black out the screen with a black sprite, stick a close button on the screen and load the video into a new StageWebView.
    The problem is the first time these larger 40MB videos are saved and attempted, TONS of code isn't firing off or affecting the display. The video plays just fine, centered on the screen. However all the code to remove tons of things from memory during video playback which has tons of trace statements sprinkled in is simply not affecting the iPads display. This ONLY happens on iPad1 (OS 5.1). iPad2 and iPad3 work just fine.
    I presumed I was being too aggressive with the iPad1 and added more and more time between downloading, saving and setting the bit on the file so the iPad1 wasn't innundated with doing to much at once. I can add 25 minutes worth of setTimeout between playing this video for the first time and it will fail every time though. So it's not being innundated.
    If the video is already downloaded and a user selects it, it works perfectly fine. All views/classes are disposing properly to free up as much ram as possible for the video playback.
    Now, I'm getting this error randomly:
    Error #2044: Unhandled ErrorEvent:. text=Plug-in handled load
    I can't find where this is coming from. Has anyone seen this before? I don't know if it has anything to do with what I'm seeing fail here. I doubt it because I get it a very short time (few seconds) after the video starts playing back. I only get this video the first time a file is downloaded and played but then never again.
    I have an UncaughtErrorEvent that isn't even catching this. Everything to do with the class that displays the video has try {} catch() {} blocks over every line of code. So doesn't the small file downloader class. Nothing is throwing an ErrorEvent.
    Is there any easy way to find where this error is being generated? Something I might not know about the Flash Builder Debugger? Other errors show up and tell me where they occured, but this brand new error does not cause the app to fail and the debugger doesn't even flinch at it.
    On the first part, has anyone recently seen their apps exhibit something like this? I have a list of files that I destroy before I show the video and it continues to exist even though I literally trace() all over the code that should destroy it and I see the traces. Everything is nulled. Objects no longer exist. The background isn't visible that I'm tracing as I build and it exists on the display list. It's very odd.
    It'd just like suddenly StageWebView has an issue loading a freshly downloaded and saved file. It nukes the display list, nothing I do to it matters. But if the file already exists it all works fine.

    Yes I use ie.jampot.nativeExtensions.MobileBackup. Worked perfectly fine before and continues to return a true Boolean value for success and Apple has never rejected the app. They initially did because I did not set the backup bit. I presume that means it's working just fine.
    This app crashes after that code happens, during trying to load the content into a SWV. But hey, why not, I'll disable that and we'll see what happens. I'll report back. I get no errors at all when the app crashes (when I fast build for debugging and test on device). No errors at all. It just crashes. That's.. not good.
    edit:
    Nope sorry, didn't change a thing. The second time I use URLLoader after properly disposing of it each time it fails on any large files and the app crashes with no info back to Flash Builder. Even with MobileBackup disabled completely. Sucks.. Flash Builder profiler is showing me the reference counts on objects and I can see I'm cleanly disposing of everything properly.Something won't leave memory even though all reference counts are 0. This does NOT happen on iPad2 or iPad3, just iPad1 past OS 5.1. Ugh...
    re-edit:
    After profiling like crazy, tracing like crazy, crossing all my T's and dotting my....... lowercase j's...... I can only conclude there is now an intolerance for MP4s being played in a StageWebView of a certain filesize. YMMV but just making a quick demo app, downloading a 44MB MP4 and playing it works fine the first time. I then dispose of everything and verify it in profiler. I even run garbage collection manually on the profiler and it still curiously has a lot more memory in use than what it had at app launch. All instance (reference) counts are 0. Curiously memory is still pretty close to the same amount as the video I just played regardless that I disposed of the SWV instance completely. It's like the dispose isn't working. My method of dereffing the class level private variable is:
    _swv.stage = null;
    _swv.viewPort = null;
    _swv.dispose();
    _swv = null;
    This doesn't seem to release the memory as fast as I'd like to see. Perhaps there's something lingering but that should properly dispose of that SWV instance.
    Upon downloading the second video, the very second it's finished downloading (via binary mode URLLoader) the app crashes. It doesn't even fire off a complete event or error in any way, the app literally just quits. Perhaps the previous 40MB video is somehow still lingering and once I have that 44MB video in mem and try to load a different 40MB video it's 40+44=84MB ram trying to be allocated. I can't see why because as above, I'm disposing of the SWV. Reference counts of _swv is 0 after the first video is played and closed.
    Really strange but be careful, something new is going on here. It used to work perfectly fine. It appears to be an issue since 5.1. Perhaps Apple caching the SWVs contents when it's not desirable to do so. I may have to go back and use StageVideo and draw up my own video controls. I only use SWV because both it comes with nice controls and a fullscreen built in that runs very smoothly. If it isn't broke, don't fix it.. Well.. it's broken.
    I have verified that 20MB videos download and work fine. 40MB is giving me issues. Not sure where the line is here.

  • XY graph "mouse move" event stops generating when click on cursor

    Hello All
    When the mouse is moving freelly inside the XY graph control, the "mouse movement" event is fired.
    The same happens when muse clicks anywhere in the graph with the exception of cursors.
    hen mouse clicks on cursors the "mouse move" event is NOT generated even though the mouse is phisically moved.
    Is there any explanation to this.
    I enclose the example.
    regards
    Pawel

    Just today I had the same problem -> my solution:
    set event timeOut to some value(I have it at 1ms) then
    add to globalVariables some BOOL variable that will signal if mouse is down or up (set the flag in appropriate event),
    then add a case in the timeOut event which will read this
    global variable(flag) -> if it's TRUE then change the needed parameter.
    So even if the mouse move event isn't fired the main timeout event is.
    Not a perfect solution, but better than nothing.
    Peace
    Waldemar

  • Flash grinding to a halt because is not unloading media

    hi guys,
    i've a got a huge (relatively) problem ni that i've created a Flash app with a dynamic data structure which ends in 150 different nodes.
    each node (if visited) loads in between 5-10 images and a couple of movies.
    The data for each node and its consequent external media are all displayed in the same visual class that is only instantiated once.
    The display object that contains the jpgs and movies is cleared of all child objects before the next node loaded.
    Yet the size of the flash file (according to windows task manager) never shrinks and very soon reaches 1mb in size at which point it starts to chuc badly.
    It's my understanding - even though i'm using 'removeChild' on each object and resetting any references to the said child objects - that they are not being removed from teh cached memory and for whatever reason not being picked up/emptied by the garbage collector?
    Does this sound about right?
    If so, can anyone suggest HOW i can make it so that the loaded media is removed from memory when it is element is removed (removeChild etc)
    All help greatly recieved as this project is due to be delivered later this week!
    regards, Rich
    Ps.  running on Windows XP SP3, Firefox, FlashPlayer 10, Flash CS4 published for Flash player 9, written in AS3, all external meia is *.jpg and *.flv

    hmm, good article which makes sense.
    i'm using removing the container from the stage using removeChildAt()
    and then reseting the array that stored the references to the items that were within the container.
    there don't seem to be any other references, the loaded objects are not referenced or passed around outside of the container
    if you can't force garbage collection can you adjust the threshhold or what triggers it.
    I am, at this stage, unsure whether the items are marked for collection but it isn't firing or it it's firing but they're somehow (as you say - likely through being referenced) not being marked.
    is there any way to track an objects reference count?

  • FireAction not getting executed on extended CO

    Hello,
    I have extended the seeded controller CheckoutSummaryCO and added some logic in the processRequest That part of the extension works fine. The page has a fireAction on a Save button that isn't fireing though. I am calling processFormRequest as below:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    Any ideas?

    Hi,
    Use super.processrequest() also in processrequest method.
    It will resolve the issue hopefully.
    Thanks,
    Gaurav

Maybe you are looking for

  • Problem in getting the image through URL

    hi all, I facing the problem,Inwhich i am unable find the solution...I am using the following code to display the image public void doGet(HttpServletRequest request,HttpServletResponse response)                     throws IOException, ServletExceptio

  • Re-registering comctl32.dll on Windows 8.1

    I was advised to re-register the common control after upgrading both my OS (to Win 8.1) and MS Access (to 2013). Events that worked on Win 7 and Access 2010 no longer appear in the development environment or fire when the app is run. (See: https://so

  • My iOS used to update before I reset my ipod 3g, but now it won't. Help?

    Before I had reset my iPod completely, it was working perfectly with the IOS updating well, but after I rest it, it went back to the lowest iOS possible, and it will not let me update again since there is no sign that I should update. And now I can't

  • In trying to drag

    Why are all my previously imported photos from another library being imported when I try to import a photo from Ancestry today?  I have dragged the same photo in and every photo from last September to last week comes with this one photo.

  • How to play .swf files stored in database?

    Ok, i am pretty stuck with this... Here is the problem: I have upload form which upload file to the server folder and in the database insert path. That works fine. What is my problem? When i go to dreamweaver and make insert SWF and i give the path t