[svn:fx-3.x] 12301: Clean up lastSystemManager reference when SWFLoader unloads a SWF.
Revision: 12301
Revision: 12301
Author: [email protected]
Date: 2009-11-30 14:52:14 -0800 (Mon, 30 Nov 2009)
Log Message:
Clean up lastSystemManager reference when SWFLoader unloads a SWF.
When SWFLoader unloads itself null out SystemManager.lastSystemManager reference if the reference is the content it loaded. This will prevent SWFLoader leak reports when simply loading and unloading a swf.
Move the removeInitSystemManagerCompleteListener() code before we unload because the contentLoaderInfo is destroyed by the time we get the unload message.
Add code to prevent double loading.
QE notes: None.
Doc notes: None.
Bugs: SDK-18076
Reviewer: Alex
Tests run: checkintests, MarshallPlan, components/SWFLoader
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-18076
Modified Paths:
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as
Hello,
using that page as guide:
http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/events/Uncau ghtErrorEvent.html#includeExamplesSummary
(last sample on where to insert handlers) what about:
<s:SWFLoader id="swfLoader" init="swfLoaderInitHandler(event)" source="B.swf"/>
and:
protected function swfLoaderInitHandler(event:Event):void
if(!swfLoader.content) return;
swfLoader.content.loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAU GHT_ERROR,
uncaughtErrorHandler);
protected function uncaughtErrorHandler(errorEvent:UncaughtErrorEvent):void
if(errorEvent.error is Error)
var e:Error = errorEvent.error as Error;
// my error is 1009 - it is expected here
const NULL_ERROR:uint = 1009;
if(e.errorID == NULL_ERROR)
errorEvent.preventDefault();
Alert.show(e.errorID+" "+e.message);
// else fall through
// else fall through
B is supposed to fail:
private var emptyObject:Object = null;
public function B()
flash.utils.setTimeout(throwErrorNow, 100);
protected function throwErrorNow():void
emptyObject.numericValue();
regards,
Peter
Similar Messages
-
I updated itunes to 10.4, my ipod touch was wiped clean then errored (2003) when attempting to restore. Now my ipod is clear, when I turn it on I get the "Connect to itunes screen", this never goes. I have tried disabling my antivirus, to allow me to restore with no luck.
When I go into itunes I get the message - itunes has detected an ipod in recovery mode. You must restore this ipod before it can be used with itunes,
how am I supposed to do this ?
I would rather take the ipod to someone to do the restoration - I still have itunes with all of my downloads on my computer, I dont want to risk losing this as I can re-install onto my ipod when it is sorted.Error 2000-2009 (2001, 2002, 2005, 2006, 2009, and so on): If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore. If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore. If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above. If the issue persists, it may be related to conflicting security software.
Above from:
http://support.apple.com/kb/TS3694
It may be more than you security software.
Do you have access to another computer you can use to restore the iPod to factory defaults/new iPod? -
Please help me. I just cleaned the disk and, when I clicked to install new OS X mavericks a screen with apple id popped up and said that I need to put apple id that purchased the OS X.
How did youobtain OS X?
-
[svn] 3214: Make sure we clean up all the files that javacc generates.
Revision: 3214
Author: [email protected]
Date: 2008-09-15 15:48:27 -0700 (Mon, 15 Sep 2008)
Log Message:
Make sure we clean up all the files that javacc generates.
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/services/messaging/selector/build.xmlOk, this is a rather complex scenario and I'm not quite sure if I got the correct picture of what you're doing, so maybe I'm going in the wrong direction with this...
First of all, you should distinguish between threads and processes. A thread is a strand of program execution within a process. A process is an application running on the operating system. Your java application is a process, and it may include several threads. Runtime#exec(...) will actually invoke a process, that is, it will start a program which runs asynchronously and (more or less) independant from the JVM. You'll need to wait for this process to finish before proceeding with the next script. Runtime#exec(...) will return an instance of Process, which provides the method Process#waitFor() to do just that.
Looking at your code except, you don't really have to start a separate java thread for what you're doing. Your main thread will immediately block and wait for the worker anyway, so you might just invoke Runtime#exec(...) directly.
By the way, if you want to wait for a java thread to terminate, there is a better way of doing it than looping while the thread is still alive. The Thread#join() method will block until the target thread terminates. -
[svn:fx-3.x] 7966: Clean up some packaging code
Revision: 7966
Author: [email protected]
Date: 2009-06-18 12:30:22 -0700 (Thu, 18 Jun 2009)
Log Message:
Clean up some packaging code
bug: no
qa: no
Modified Paths:
flex/sdk/branches/3.x/build.xmlBack up all data to at least two different storage devices, if you haven't already done so. One backup is not enough to be safe. The backups can be made with Time Machine or with Disk Utility. Preferably both.
Erase and install OS X. This operation will destroy all data on the startup volume, so you had be better be sure of the backups. If you upgraded from an older version of OS X, you'll need the Apple ID and password that you used, so make a note of those before you begin.
When you restart, you'll be prompted to go through the initial setup process in Setup Assistant. That’s when you transfer the data from a backup.
Select only users and Computer & Network Settings in the Setup Assistant dialog—not Applications or Other files and folders. Don't transfer the Guest account, if it was enabled.
After that, check the App Store for software updates.
If the problem is resolved after the clean installation, reinstall third-party software selectively. I can only suggest general guidelines. Self-contained applications that install into the Applications folder by drag-and-drop or download from the App Store are usually safe. Anything that comes packaged as an installer or that prompts for an administrator password is suspect, and you must test thoroughly after reinstalling each such item to make sure you haven't restored the problem.
I strongly recommend that you never reinstall commercial "security" products or "utilities," nor any software that changes the user interface or the behavior of built-in applications such as Safari. If you do that, the problem is likely to recur.
Any system modifications that you do choose to install must be kept up to date. None is required for normal operation.
Before installing any software, ask yourself the question: "Am I sure I know how to uninstall this without having to wipe the volume again?" If the answer is "no," stop.
Never install any third-party software unless you know how to uninstall it. -
[svn] 1518: Minor update to clean up the code.
Revision: 1518
Author: [email protected]
Date: 2008-05-01 19:26:44 -0700 (Thu, 01 May 2008)
Log Message:
Minor update to clean up the code.
Modified Paths:
blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/qa/management/MBeanObjectNameResolver.javathe best way is to write several small class that work together and do not write a huge-mading-all-even-coffee-class
marvinrouge -
Revision: 5839
Author: [email protected]
Date: 2009-04-01 10:34:31 -0700 (Wed, 01 Apr 2009)
Log Message:
* Removed the logic that tracked when cached SWC had been removed from
the library path, because it wasn't working correctly in some cases
and it is no longer necessary due to revision 5524.
tests Passed: checkintests, performance testsuite, FlexBuilder
outputFolder JUnit tests
Needs QA: YES
Needs DOC: NO
API Change: NO
Reviewer: Pete F.
Code-level description of changes:
CompilerSwcContext.java
Removed updateRemovedSources() and it's usage.
CompilerAPI.java
Removed deleteRemovedSwcSources(), renamed
deleteObsoletedSwcSources() to reportObsoletedSwcSources(), and
deleteShadowedSwcSources() to reportShadowedSwcSources().
Updated validateCompilationUnits() to no longer report
DependentFileNoLongerExists.
SwcCache.java
Removed "removed" and "updated" variables, their getters, and the
code that initialized them.
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcCache.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.javaRevision: 5839
Author: [email protected]
Date: 2009-04-01 10:34:31 -0700 (Wed, 01 Apr 2009)
Log Message:
* Removed the logic that tracked when cached SWC had been removed from
the library path, because it wasn't working correctly in some cases
and it is no longer necessary due to revision 5524.
tests Passed: checkintests, performance testsuite, FlexBuilder
outputFolder JUnit tests
Needs QA: YES
Needs DOC: NO
API Change: NO
Reviewer: Pete F.
Code-level description of changes:
CompilerSwcContext.java
Removed updateRemovedSources() and it's usage.
CompilerAPI.java
Removed deleteRemovedSwcSources(), renamed
deleteObsoletedSwcSources() to reportObsoletedSwcSources(), and
deleteShadowedSwcSources() to reportShadowedSwcSources().
Updated validateCompilationUnits() to no longer report
DependentFileNoLongerExists.
SwcCache.java
Removed "removed" and "updated" variables, their getters, and the
code that initialized them.
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcCache.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java -
Revision: 4901
Author: [email protected]
Date: 2009-02-09 09:27:39 -0800 (Mon, 09 Feb 2009)
Log Message:
Only remove the children from the textFlow when they are going to be immediately replaced. Side effect from SDK-18880.
QE Notes:
Doc Notes:
Bugs: SDK-19177
Reviewers: Gordon
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-18880
http://bugs.adobe.com/jira/browse/SDK-19177
Modified Paths:
flex/sdk/branches/i10/frameworks/projects/flex4/src/mx/graphics/TextGraphic.asThis is a problem of overall design. It is not a scripting issue.
NET USE wil only delete the drive you tell it to delete. You will need to know in advance which drive that is. There is no magic in WIndows. YOu must tel it everything.
Bill suggests GPP which is very easy to use and very flexible. It avoids learning how to write scripts and understand much of Windows. Just set the values and they do allof this for you. There are checkboxes for most issues.
Most of us have not mapped drives since shortly after the release of Vista many years ago. Save your self a lot of headaches and use the tools that were built to do this/
¯\_(ツ)_/¯ -
Revision: 12685
Revision: 12685
Author: [email protected]
Date: 2009-12-08 19:23:32 -0800 (Tue, 08 Dec 2009)
Log Message:
Fix for RTE in VideoPlayer when trying to capture bitmaps. Put try-catch block around bitmapData.draw() and use a Rectangle if it throws an error. Also, added some documentation in BitmapUtil for getSnapshot since it may throw the same type of error.
QE notes: No
Doc notes: No
Bugs: SDK-24574
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24574
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/HighlightBitmapCaptureSkin .as
flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/BitmapUtil.as -
Revision: 14289
Revision: 14289
Author: [email protected]
Date: 2010-02-19 13:08:54 -0800 (Fri, 19 Feb 2010)
Log Message:
Fix DataGrid mirroring issues when layoutDirection="rtl" and direction="rtl":
- headers get messed up when resizing, moving or sorting a column because the transform matrix in UIFTETextField wasn?\226?\128?\153t always updated when width was changed
- when moving a column, the headerSelection sprite was moving in the wrong direction
- when dragging a row, the drag image was backwards and the x offset between the image and the mouse pointer was wrong
QE notes:
Doc notes: None
Bugs: SDK-25424, SDK-25426, SDK-25440, SDK-25442, SDK-25452, SDK-25460, SDK-25462, SDK-25464
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25424
http://bugs.adobe.com/jira/browse/SDK-25426
http://bugs.adobe.com/jira/browse/SDK-25440
http://bugs.adobe.com/jira/browse/SDK-25442
http://bugs.adobe.com/jira/browse/SDK-25452
http://bugs.adobe.com/jira/browse/SDK-25460
http://bugs.adobe.com/jira/browse/SDK-25462
http://bugs.adobe.com/jira/browse/SDK-25464
Modified Paths:
flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/DataGrid.as
flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataG ridDragProxy.as
flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataG ridHeader.as
flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UITextField.as
flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as
flex/sdk/branches/4.x/frameworks/projects/spark/src/mx/core/UIFTETextField.asDear Pallavi,
Very useful post!
I am looking for similar accelerators for
Software Inventory Accelerator
Hardware Inventory Accelerator
Interfaces Inventory
Customization Assessment Accelerator
Sizing Tool
Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
Request help on such accelerators... Any clues?
Any reply, help is highly appreciated.
Regards
Manish Madhav -
Revision: 15030
Revision: 15030
Author: [email protected]
Date: 2010-03-25 11:49:00 -0700 (Thu, 25 Mar 2010)
Log Message:
AIR Spark Window bugs when layoutDirection="rtl". On Windows only, an empty window when created, didn't maximize or resize correctly. This class maintains its width/height in bounds rather than in the super class' _width and _height variables. Need to call setActualSize() whenever bounds is set so that the layoutWidth gets set correctly if this component is mirroring.
Fix an RTE in TitleWindow that I stumbled upon. Can not access the nativeWindow displayState if the window is closed.
QE notes:
Doc notes: None
Bugs: SDK-25978, SDK-25827, SDK-25825
Reviewed By: Jason
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25978
http://bugs.adobe.com/jira/browse/SDK-25827
http://bugs.adobe.com/jira/browse/SDK-25825
Modified Paths:
flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/Window.as
flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/windowClasses/Tit leBar.asStope
Mailing me ***
Sent from my I phone -
Revision: 14153
Revision: 14153
Author: [email protected]
Date: 2010-02-12 14:18:27 -0800 (Fri, 12 Feb 2010)
Log Message:
Fix getStyle/setStyle when a module factory is not set and a skin not found RTE.
QE notes: None.
Doc notes: None.
Bugs: SDK-25376, SDK-25444
Reviewer: Alex
Tests run: checkintests, full Mustella
Is noteworthy for integration: No.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25376
http://bugs.adobe.com/jira/browse/SDK-25444
Modified Paths:
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/core/UIComponent.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/supportClasses/Ski nnableComponent.asProblem Resolved!
I found out that I had 'http' instead of 'httpd' in the statement where I
registered my servlet, SqlServlet.
Now, I am having difficulty with hot deployment. The server is returning
error 404.
-
Revision: 10317
Author: [email protected]
Date: 2009-09-16 12:56:03 -0700 (Wed, 16 Sep 2009)
Log Message:
In ASDoc comment, change reference of "Flex Builder" to "Flash Builder"
QE notes: -
Doc notes: -
Bugs: -
Reviewer: -
Tests run: - checkintests
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as -
[svn] 3173: Toggle button would toggle on click even when it was disabled.
Revision: 3173
Author: [email protected]
Date: 2008-09-10 16:35:53 -0700 (Wed, 10 Sep 2008)
Log Message:
Toggle button would toggle on click even when it was disabled. Fix it.
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ToggleButton.asHi
I guess you will be able to create the toggle button.It will not be a big problem.What you need to handle is , you need to identify , in which row the user has clicked.For this in the button action , there is an incoming import parameter WDEVENT..in this , you have a method ..get_context_element() ..which will fetch you the row element selected.
Thanks
Anzy
post if you have any more queries -
[svn] 1378: Fixed some recently introduced mxunit databinding failures when
Revision: 1378
Author: [email protected]
Date: 2008-04-24 07:15:10 -0700 (Thu, 24 Apr 2008)
Log Message:
Fixed some recently introduced mxunit databinding failures when
-generate-abstract-syntax-tree is turned on.
checkintests Passed: YES
Needs QA: No
Needs DOC: NO
API Change: NO
Code-level description of changes:
AbstractSyntaxTreeUtil.java
Added some asserts to parse() to help catch ASC changes early.
binding/DataBindingExtension.java
Modified both generateAccessorFunction()'s to no longer skip the
first two nodes as AbstractSyntaxTreeUtil.parse() handles this.
Modified generateInitFunctionCommon() to set the
FunctionSignatureNode's void_anno to true.
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
Maybe you are looking for
-
Scanning files for non-unicode characters.
Question: I have a web application that allows users to take data, enter it into a webapp, and generate an xml file on the servers filesystem containing the entered data. The code to this application cannot be altered (outside vendor). I have a secon
-
Pricing for Domestic , imports and service
We have following scenarios: Domestic purocurement. 1. Purchase of Consumables, Excise duty credit taken (Cenvetable) 2. Purchase of Spares, Excise duty credit taken (Cenvetable) 3. Purchase of Services, Service tax credit taken. 4. Purchase of Consu
-
hi guys! sorry, i'm in a hurry and i know that regexps make me a headache all the time.:( can you help me? i have a lot of strings... one of them for example... <trkpt lat="46.257144930" lon="20.140382770"> i should have a regex that can give me the
-
I have a new 24" Cinema Display and 15" MacBook Pro. Is it possible to start the MacBook Pro in the closed position? Seems silly to have to open the MBP to start it, then close it.
-
Converting vob to something not ugly
I just used mplayer to rip a dvd to filename.vob, then tried ffmpeg to convert it, but the quality of the resulting avi (and I tried mpeg) sucked. so how can I convet while retaining quality?