[flexcoders] Problems after upgrade to flash 11.3
Hi, I have a flex application that has always worked fine for me, however i recently upgraded to version 11.3 of flash player. This has created some problems that I hope someone can help me with. I sometimes(its very eratic) get the following error: Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://127.0.0.1:8080/cm-ear-cm-ria/RiaUserWorkspaceControllerFacade?wsdl) I am using Flex 4, and I get this error on all browsers, i tested it on IE, Firefox, Chrome and even Opera. It comes and goes, so I dont really know what is causing it. If anyone has encountered this issue before or knows what is wrong, please help. Thanks Faizal
[flexcoders] Help Required : Flex3 - Controls appearing disabled
Hi guys, hope everyone is fine. Guys i m having a very strange issue which i have never seen in my 3 years of flex development. The problem is that i have developed a screen and delivered it to client but there are some controls that are appearing disabled in clients enviroment while these are working fine in my dev enviroment. Code and Db are same in both enviroments. Also by disabled i mean controls are not accessible using mouse but one can access them using keyboard. There are plenty of controls on that screen but only three of them (combobox and two check boxes) are appearing disabled. my dev enviroment is windows based while client's is Linux based, can this be issue? please help. Thanks, Zaidi.
Re: [flexcoders] Caching issue
You have to get the module to successfully unload before making the new request. Use the profiler to see why the module hasn't unloaded. On 6/27/12 9:48 PM, kannan Mugundan kannanmugun...@gmail.com wrote: Hi, I have a flex application and I have designed each forms in my application as modules On menu click I load my modules using module loader. Now I have manged to avoid caching of my flex application using the general work around like adding no cache tags and in the wrapper html I modifled the embed source like below (adding a random number) and seems to be working. embed src=${swf}.swf?+Math.floor(Math.random()*1); I followed the same work around for loading modules, when I assign a URL to my ModuleLoader, I append the time stamp as a parameter . url + ?ts=+new Date().getTime(); and assign this URL to my ModuleLoader. Charles Proxy says that a request is going to the server, I can see the relative URL and the new time stamp. But my changes in the swf/flex module is not reflected. The changes are reflected only when I reload my application. My Environment is Flex Version 3.5 Tomcat 6.20 running within my Flex builder 3 I running the application within my Flex Builder. I try to access my application from another computer. This kind of seem to be a show stopper for me, as we often change things in our modules and it is accessed by heterogeneous users Any suggestion on how to over come this problem would be very helpful. Regards Kannan -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
[flexcoders] MouseEvent over chart
Guys and Gals, I'm working on a charting app where we draw things over the chart (trend lines and stuff). The problem I'm running into is the mouse events are not consistent. For example, I'll be drawing and the mouse events come through with their Y position jumping up to the top, then back where it should be. In the example below, local is localX, localY and stage is stageX, stageY. In this example, I was dragging from somewhere in the middle basically straight down (a little to the left). Notice the Y values freak out and go way up to the top, then come back to where you'd expect them. This is following a mouse move event. Any clue what might be causing this? Traced Mouse Positions: MouseEvent (local): (350,213) MouseEvent (stage): (350,293) MouseEvent (local): (350,215) MouseEvent (stage): (350,295) MouseEvent (local): (349,4) MouseEvent (stage): (349,84) MouseEvent (local): (346,15) MouseEvent (stage): (346,95) MouseEvent (local): (346,228) MouseEvent (stage): (346,308) MouseEvent (local): (344,18) MouseEvent (stage): (344,98) MouseEvent (local): (344,234) MouseEvent (stage): (344,314) MouseEvent (local): (343,235) MouseEvent (stage): (343,315) MouseEvent (local): (343,236) MouseEvent (stage): (343,316) MouseEvent (local): (342,241) MouseEvent (stage): (342,321) MouseEvent (local): (341,32) MouseEvent (stage): (341,112) MouseEvent (local): (341,248) MouseEvent (stage): (341,328) MouseEvent (local): (339,259) MouseEvent (stage): (339,339) MouseEvent (local): (338,261) MouseEvent (stage): (338,341) Thanks! -Jake
[flexcoders] Flash Builder 4.6 can not start
Hi, My FB can not start after I update eclipse plugin automatically. This is the log eclipse.buildId=M20120208-0800 java.version=1.6.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.osgi 4 0 2012-06-28 11:05:24.266 !MESSAGE Application error !STACK 1 org.eclipse.swt.SWTError: No more handles at org.eclipse.swt.SWT.error(SWT.java:4308) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Widget.error(Widget.java:468) at org.eclipse.swt.widgets.Control.createHandle(Control.java:704) at org.eclipse.swt.widgets.Composite.createHandle(Composite.java:305) at org.eclipse.swt.widgets.Control.createWidget(Control.java:744) at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:134) at org.eclipse.swt.widgets.Control.init(Control.java:112) at org.eclipse.swt.widgets.Scrollable.init(Scrollable.java:75) at org.eclipse.swt.widgets.Composite.init(Composite.java:95) at org.eclipse.ui.splash.BasicSplashHandler.getBundleProgressMonitor(BasicSplashHandler.java:159) at org.eclipse.ui.splash.BasicSplashHandler.getContent(BasicSplashHandler.java:265) at org.eclipse.ui.internal.splash.EclipseSplashHandler.init(EclipseSplashHandler.java:86) at org.eclipse.ui.internal.Workbench$8.run(Workbench.java:790) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.createSplashWrapper(Workbench.java:806) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2528) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.java:108) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) Any way to fix this. Thanks for help Mark
[flexcoders] Re: Flash Builder 4.6 can not start
any way to roll back with previous plugins. Thanks Mark --- In flexcoders@yahoogroups.com, markflex2007 markflex2007@... wrote: Hi, My FB can not start after I update eclipse plugin automatically. This is the log eclipse.buildId=M20120208-0800 java.version=1.6.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.osgi 4 0 2012-06-28 11:05:24.266 !MESSAGE Application error !STACK 1 org.eclipse.swt.SWTError: No more handles at org.eclipse.swt.SWT.error(SWT.java:4308) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Widget.error(Widget.java:468) at org.eclipse.swt.widgets.Control.createHandle(Control.java:704) at org.eclipse.swt.widgets.Composite.createHandle(Composite.java:305) at org.eclipse.swt.widgets.Control.createWidget(Control.java:744) at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:134) at org.eclipse.swt.widgets.Control.init(Control.java:112) at org.eclipse.swt.widgets.Scrollable.init(Scrollable.java:75) at org.eclipse.swt.widgets.Composite.init(Composite.java:95) at org.eclipse.ui.splash.BasicSplashHandler.getBundleProgressMonitor(BasicSplashHandler.java:159) at org.eclipse.ui.splash.BasicSplashHandler.getContent(BasicSplashHandler.java:265) at org.eclipse.ui.internal.splash.EclipseSplashHandler.init(EclipseSplashHandler.java:86) at org.eclipse.ui.internal.Workbench$8.run(Workbench.java:790) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.createSplashWrapper(Workbench.java:806) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2528) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.java:108) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) Any way to fix this. Thanks for help Mark
Re: [flexcoders] MouseEvent over chart
Print the target as well. The target is likely changing and thus, the coordinates local to that target. On 6/28/12 10:11 AM, Jake Churchill reyna...@gmail.com wrote: Guys and Gals, I'm working on a charting app where we draw things over the chart (trend lines and stuff). The problem I'm running into is the mouse events are not consistent. For example, I'll be drawing and the mouse events come through with their Y position jumping up to the top, then back where it should be. In the example below, local is localX, localY and stage is stageX, stageY. In this example, I was dragging from somewhere in the middle basically straight down (a little to the left). Notice the Y values freak out and go way up to the top, then come back to where you'd expect them. This is following a mouse move event. Any clue what might be causing this? Traced Mouse Positions: MouseEvent (local): (350,213) MouseEvent (stage): (350,293) MouseEvent (local): (350,215) MouseEvent (stage): (350,295) MouseEvent (local): (349,4) MouseEvent (stage): (349,84) MouseEvent (local): (346,15) MouseEvent (stage): (346,95) MouseEvent (local): (346,228) MouseEvent (stage): (346,308) MouseEvent (local): (344,18) MouseEvent (stage): (344,98) MouseEvent (local): (344,234) MouseEvent (stage): (344,314) MouseEvent (local): (343,235) MouseEvent (stage): (343,315) MouseEvent (local): (343,236) MouseEvent (stage): (343,316) MouseEvent (local): (342,241) MouseEvent (stage): (342,321) MouseEvent (local): (341,32) MouseEvent (stage): (341,112) MouseEvent (local): (341,248) MouseEvent (stage): (341,328) MouseEvent (local): (339,259) MouseEvent (stage): (339,339) MouseEvent (local): (338,261) MouseEvent (stage): (338,341) Thanks! -Jake -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] MouseEvent over chart
No, it always stays the same. Here's what I have, a custom annotation called DrawingAnnotation which handles clicking, lines, etc. When a line is added it's drawn on the chart, but all references are stored in the annotation. For some reason I can't draw directly on the annotation. Anyway, the line has mouse events on it as well which allow it to be moved and selected and stuff. When the line receives mouse down, I add an event listener for mouse move to the system manager: systemManager.addEventListener( MouseEvent.MOUSE_MOVE, mouseMoveHandler ); which is where I am tracking the positions and stuff. I've added the the listener to the line itselt, the annotation canvas, etc. Always the same result. It always happens if I move the mouse too fast vertically. So, my workaround is to basically check the last mouse event against the current and if the y changes by more than 100 pixes, I count it an outlier and don't count that event. I'm sure there's a better workaround, but I'm not sure since I pretty much have to rely on the position given to me in the mouseEvent. Thanks! -Jake On Thu, Jun 28, 2012 at 1:34 PM, Alex Harui aha...@adobe.com wrote: ** Print the target as well. The target is likely changing and thus, the coordinates local to that target. On 6/28/12 10:11 AM, Jake Churchill reyna...@gmail.com wrote: Guys and Gals, I'm working on a charting app where we draw things over the chart (trend lines and stuff). The problem I'm running into is the mouse events are not consistent. For example, I'll be drawing and the mouse events come through with their Y position jumping up to the top, then back where it should be. In the example below, local is localX, localY and stage is stageX, stageY. In this example, I was dragging from somewhere in the middle basically straight down (a little to the left). Notice the Y values freak out and go way up to the top, then come back to where you'd expect them. This is following a mouse move event. Any clue what might be causing this? Traced Mouse Positions: MouseEvent (local): (350,213) MouseEvent (stage): (350,293) MouseEvent (local): (350,215) MouseEvent (stage): (350,295) MouseEvent (local): (349,4) MouseEvent (stage): (349,84) MouseEvent (local): (346,15) MouseEvent (stage): (346,95) MouseEvent (local): (346,228) MouseEvent (stage): (346,308) MouseEvent (local): (344,18) MouseEvent (stage): (344,98) MouseEvent (local): (344,234) MouseEvent (stage): (344,314) MouseEvent (local): (343,235) MouseEvent (stage): (343,315) MouseEvent (local): (343,236) MouseEvent (stage): (343,316) MouseEvent (local): (342,241) MouseEvent (stage): (342,321) MouseEvent (local): (341,32) MouseEvent (stage): (341,112) MouseEvent (local): (341,248) MouseEvent (stage): (341,328) MouseEvent (local): (339,259) MouseEvent (stage): (339,339) MouseEvent (local): (338,261) MouseEvent (stage): (338,341) Thanks! -Jake -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] MouseEvent over chart
Sorry, didn’t notice the StageY was changing as well. Does this happen on other machines, browsers, etc? On 6/28/12 2:21 PM, Jake Churchill reyna...@gmail.com wrote: No, it always stays the same. Here's what I have, a custom annotation called DrawingAnnotation which handles clicking, lines, etc. When a line is added it's drawn on the chart, but all references are stored in the annotation. For some reason I can't draw directly on the annotation. Anyway, the line has mouse events on it as well which allow it to be moved and selected and stuff. When the line receives mouse down, I add an event listener for mouse move to the system manager: systemManager.addEventListener( MouseEvent.MOUSE_MOVE, mouseMoveHandler ); which is where I am tracking the positions and stuff. I've added the the listener to the line itselt, the annotation canvas, etc. Always the same result. It always happens if I move the mouse too fast vertically. So, my workaround is to basically check the last mouse event against the current and if the y changes by more than 100 pixes, I count it an outlier and don't count that event. I'm sure there's a better workaround, but I'm not sure since I pretty much have to rely on the position given to me in the mouseEvent. Thanks! -Jake On Thu, Jun 28, 2012 at 1:34 PM, Alex Harui aha...@adobe.com wrote: Print the target as well. The target is likely changing and thus, the coordinates local to that target. On 6/28/12 10:11 AM, Jake Churchill reyna...@gmail.com http://reyna...@gmail.com wrote: Guys and Gals, I'm working on a charting app where we draw things over the chart (trend lines and stuff). The problem I'm running into is the mouse events are not consistent. For example, I'll be drawing and the mouse events come through with their Y position jumping up to the top, then back where it should be. In the example below, local is localX, localY and stage is stageX, stageY. In this example, I was dragging from somewhere in the middle basically straight down (a little to the left). Notice the Y values freak out and go way up to the top, then come back to where you'd expect them. This is following a mouse move event. Any clue what might be causing this? Traced Mouse Positions: MouseEvent (local): (350,213) MouseEvent (stage): (350,293) MouseEvent (local): (350,215) MouseEvent (stage): (350,295) MouseEvent (local): (349,4) MouseEvent (stage): (349,84) MouseEvent (local): (346,15) MouseEvent (stage): (346,95) MouseEvent (local): (346,228) MouseEvent (stage): (346,308) MouseEvent (local): (344,18) MouseEvent (stage): (344,98) MouseEvent (local): (344,234) MouseEvent (stage): (344,314) MouseEvent (local): (343,235) MouseEvent (stage): (343,315) MouseEvent (local): (343,236) MouseEvent (stage): (343,316) MouseEvent (local): (342,241) MouseEvent (stage): (342,321) MouseEvent (local): (341,32) MouseEvent (stage): (341,112) MouseEvent (local): (341,248) MouseEvent (stage): (341,328) MouseEvent (local): (339,259) MouseEvent (stage): (339,339) MouseEvent (local): (338,261) MouseEvent (stage): (338,341) Thanks! -Jake -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
[flexcoders] Image Sizes
I need to develop an aplication that get pictures of human faces. Take a Picture on a tablet is ok, the problem is to get the real size of the face (width and height in real world). How can I get this?
Re: [flexcoders] MouseEvent over chart
This is an air app, so it's happening in adl. I can remove some checks and compile a final release and test if you want. - Sent from my Google Nexus - On Jun 28, 2012 5:15 PM, Alex Harui aha...@adobe.com wrote: ** Sorry, didn’t notice the StageY was changing as well. Does this happen on other machines, browsers, etc? On 6/28/12 2:21 PM, Jake Churchill reyna...@gmail.com wrote: No, it always stays the same. Here's what I have, a custom annotation called DrawingAnnotation which handles clicking, lines, etc. When a line is added it's drawn on the chart, but all references are stored in the annotation. For some reason I can't draw directly on the annotation. Anyway, the line has mouse events on it as well which allow it to be moved and selected and stuff. When the line receives mouse down, I add an event listener for mouse move to the system manager: systemManager.addEventListener( MouseEvent.MOUSE_MOVE, mouseMoveHandler ); which is where I am tracking the positions and stuff. I've added the the listener to the line itselt, the annotation canvas, etc. Always the same result. It always happens if I move the mouse too fast vertically. So, my workaround is to basically check the last mouse event against the current and if the y changes by more than 100 pixes, I count it an outlier and don't count that event. I'm sure there's a better workaround, but I'm not sure since I pretty much have to rely on the position given to me in the mouseEvent. Thanks! -Jake On Thu, Jun 28, 2012 at 1:34 PM, Alex Harui aha...@adobe.com wrote: Print the target as well. The target is likely changing and thus, the coordinates local to that target. On 6/28/12 10:11 AM, Jake Churchill reyna...@gmail.com http://reyna...@gmail.com wrote: Guys and Gals, I'm working on a charting app where we draw things over the chart (trend lines and stuff). The problem I'm running into is the mouse events are not consistent. For example, I'll be drawing and the mouse events come through with their Y position jumping up to the top, then back where it should be. In the example below, local is localX, localY and stage is stageX, stageY. In this example, I was dragging from somewhere in the middle basically straight down (a little to the left). Notice the Y values freak out and go way up to the top, then come back to where you'd expect them. This is following a mouse move event. Any clue what might be causing this? Traced Mouse Positions: MouseEvent (local): (350,213) MouseEvent (stage): (350,293) MouseEvent (local): (350,215) MouseEvent (stage): (350,295) MouseEvent (local): (349,4) MouseEvent (stage): (349,84) MouseEvent (local): (346,15) MouseEvent (stage): (346,95) MouseEvent (local): (346,228) MouseEvent (stage): (346,308) MouseEvent (local): (344,18) MouseEvent (stage): (344,98) MouseEvent (local): (344,234) MouseEvent (stage): (344,314) MouseEvent (local): (343,235) MouseEvent (stage): (343,315) MouseEvent (local): (343,236) MouseEvent (stage): (343,316) MouseEvent (local): (342,241) MouseEvent (stage): (342,321) MouseEvent (local): (341,32) MouseEvent (stage): (341,112) MouseEvent (local): (341,248) MouseEvent (stage): (341,328) MouseEvent (local): (339,259) MouseEvent (stage): (339,339) MouseEvent (local): (338,261) MouseEvent (stage): (338,341) Thanks! -Jake -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui