Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all 70427 articles
Browse latest View live

Convert a String to Number

$
0
0

Hi all,

 

I’m new with Flex 4, and learning

How to convert a formatted string to a number

example “$54,500.95″ to “54500.95″ in order to do same calculation

any help will be appreciated.


Data/Services PHP problem creating entry into database

$
0
0

Hi,

 

I am using Flash Builder with Flex 4.1 SDK.

I have no bproblem connecting to a database, but some commands don't work.

When I connect to a database using the wizard in the Data/Services section, I use the "click here to generate a sample" link from the "Configure PHP services" wizard.

Flash Builder then creates the basic CRUD methods for me (count[ServiceName], create[ServiceName], delete[ServiceName], getAll[ServiceName], get[ServiceName]ByID).

 

Most of the methods work, but the create method doesn't work.

After hours of analysing the code, I noticed that, in the _Super_[ServiceName].as file of the services.[yourservice] package, the create method used another Class to pass its data.

While most methods use the "mx.rpc.AsyncToken", create uses the "mx.data.ItemReference" class as the return type.

I changed the create method so it would use the  "mx.rpc.AsyncToken" and I got things working.

I also commented the following chunk of code for thing to get working:

 

dmOperation = new mx.data.ManagedOperation("createUsers", "create");

dmOperation.parameters = "item";

_usersRPCDataManager.addManagedOperation(dmOperation);

 

I was then able to use the create method.

 

I am pretty sure I am missing an important part of knowledge here.

While some methods use the mx.data.ItemReference, most of the methods use the mx.rpc.AsyncToken.

 

Can somebody explain to me what I should do in order to be on the right path?

 

Thank you for your time

ASDOCS Error Interface IFlexModuleFactory was not found

$
0
0

I got an error with ASDOCS that I do not understand. I am using Flash Builder 4 on MAC and it is an Actionscript project.

 

Loading configuration file /Applications/Adobe Flash Builder 4/sdks/4.0.0/frameworks/flex-config.xml
_8a96cd3a25128dbd315708caff56516b3c3e83309abd23b6fb42e1b21d033d59_mx_core_FlexModuleFactor y.as(26): col: 16 Error: Interface IFlexModuleFactory was not found.

 

    implements IFlexModuleFactory, ISWFContext
               ^

 

_8a96cd3a25128dbd315708caff56516b3c3e83309abd23b6fb42e1b21d033d59_mx_core_FlexModuleFactor y.as(26): col: 36 Error: Interface ISWFContext was not found.

 

    implements IFlexModuleFactory, ISWFContext
                                   ^

 

I had cleaned up all the errors that related to content in the project folder, but was left with the one above that seems unrelated to content.

 

If it helps the ASDoc configuration file is this:

 

-source-path src
-doc-sources src
-library-path "assets/flash/swcs" "libs" "src/foomonger"
-lenient=true
-warnings=false 
-strict=false
-main-title "Sprycel Unbranded"


-exclude-sources "/Users/ahosford/Documents/Adobe Flash Builder 4/SprycelCML/sprycel-cml-tracker/trunk/client/SprycelCML/src/com/sprycel/model/Calendar.a s" "/Users/ahosford/Documents/Adobe Flash Builder 4/SprycelCML/sprycel-cml-tracker/trunk/client/SprycelCML/src/com/sprycel/ui/IDateItem.as" "/Users/ahosford/Documents/Adobe Flash Builder 4/SprycelCML/sprycel-cml-tracker/trunk/client/SprycelCML/src/foomonger/utils/LoadWatcher. as"


-define+=CONFIG::local,true

Unable to start Flash Builder 4.5

$
0
0

I am unable to start Flash Builder. Right at the splash screen I get an error saying to look in the log file, but I don't see where the problem is in the log file. Could anyone help me out. I'll post the log error file.

 

!SESSION 2011-06-30 09:03:22.543 -----------------------------------------------

eclipse.buildId=I20100608-0911

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 2011-06-30 09:03:28.440

!MESSAGE An unexpected runtime error has occurred.

!STACK 0

org.eclipse.swt.SWTError: No more handles

at org.eclipse.swt.SWT.error(SWT.java:4109)

at org.eclipse.swt.SWT.error(SWT.java:3998)

at org.eclipse.swt.SWT.error(SWT.java:3969)

at org.eclipse.swt.widgets.Widget.error(Widget.java:468)

at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:99)

at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:92)

at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2499)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.getTaskItem(Workbench. java:300)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.handleTaskBarProgressU pdated(Workbench.java:316)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.worked(Workbench.java: 265)

at org.eclipse.ui.internal.Workbench$StartupProgressBundleListener.bundleChanged(Workbench.j ava:417)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImp l.java:919)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue. java:149)

at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework .java:1349)

at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300 )

at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:380)

at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)

at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)

at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)

at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:106)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :453)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)

at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)

at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:3 3)

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at com.adobe.flexbuilder.standalone.FlashBuilderWorkbenchAdvisor.createWorkbenchWindowAdviso r(FlashBuilderWorkbenchAdvisor.java:56)

at org.eclipse.ui.internal.WorkbenchWindow.getWindowAdvisor(WorkbenchWindow.java:3483)

at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1295)

at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:408)

at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workben ch3xImplementation.java:31)

at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1881)

at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1879)

at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1199)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)

at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

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:619)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

 

!ENTRY org.eclipse.ui.workbench 4 0 2011-06-30 09:03:28.442

!MESSAGE

!STACK 0

org.eclipse.swt.SWTError: No more handles

at org.eclipse.swt.SWT.error(SWT.java:4109)

at org.eclipse.swt.SWT.error(SWT.java:3998)

at org.eclipse.swt.SWT.error(SWT.java:3969)

at org.eclipse.swt.widgets.Widget.error(Widget.java:468)

at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:99)

at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:92)

at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2499)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.getTaskItem(Workbench. java:300)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.handleTaskBarProgressU pdated(Workbench.java:316)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.worked(Workbench.java: 265)

at org.eclipse.ui.internal.Workbench$StartupProgressBundleListener.bundleChanged(Workbench.j ava:417)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImp l.java:919)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue. java:149)

at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework .java:1349)

at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300 )

at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:380)

at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)

at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)

at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)

at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:106)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :453)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)

at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)

at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:3 3)

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at com.adobe.flexbuilder.standalone.FlashBuilderWorkbenchAdvisor.createWorkbenchWindowAdviso r(FlashBuilderWorkbenchAdvisor.java:56)

at org.eclipse.ui.internal.WorkbenchWindow.getWindowAdvisor(WorkbenchWindow.java:3483)

at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1295)

at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:408)

at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workben ch3xImplementation.java:31)

at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1881)

at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1879)

at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1199)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)

at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

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:619)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

 

!ENTRY org.eclipse.osgi 4 0 2011-06-30 09:03:28.447

!MESSAGE An unexpected runtime error has occurred.

!STACK 0

org.eclipse.swt.SWTError: No more handles

at org.eclipse.swt.SWT.error(SWT.java:4109)

at org.eclipse.swt.SWT.error(SWT.java:3998)

at org.eclipse.swt.SWT.error(SWT.java:3969)

at org.eclipse.swt.widgets.Widget.error(Widget.java:468)

at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:99)

at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:92)

at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2499)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.getTaskItem(Workbench. java:300)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.handleTaskBarProgressU pdated(Workbench.java:316)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.worked(Workbench.java: 265)

at org.eclipse.ui.internal.Workbench$StartupProgressBundleListener.bundleChanged(Workbench.j ava:417)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImp l.java:919)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue. java:149)

at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework .java:1349)

at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300 )

at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:380)

at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)

at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)

at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)

at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:106)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :453)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)

at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)

at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:3 3)

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at com.adobe.flexbuilder.standalone.FlashBuilderWorkbenchAdvisor.createWorkbenchWindowAdviso r(FlashBuilderWorkbenchAdvisor.java:56)

at org.eclipse.ui.internal.WorkbenchWindow.getWindowAdvisor(WorkbenchWindow.java:3483)

at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1295)

at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:408)

at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workben ch3xImplementation.java:31)

at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1881)

at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1879)

at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1199)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)

at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

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:619)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

 

!ENTRY org.eclipse.ui.workbench 4 0 2011-06-30 09:03:28.449

!MESSAGE

!STACK 0

org.eclipse.swt.SWTError: No more handles

at org.eclipse.swt.SWT.error(SWT.java:4109)

at org.eclipse.swt.SWT.error(SWT.java:3998)

at org.eclipse.swt.SWT.error(SWT.java:3969)

at org.eclipse.swt.widgets.Widget.error(Widget.java:468)

at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:99)

at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:92)

at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2499)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.getTaskItem(Workbench. java:300)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.handleTaskBarProgressU pdated(Workbench.java:316)

at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.worked(Workbench.java: 265)

at org.eclipse.ui.internal.Workbench$StartupProgressBundleListener.bundleChanged(Workbench.j ava:417)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImp l.java:919)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue. java:149)

at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework .java:1349)

at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300 )

at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:380)

at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)

at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)

at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)

at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:106)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :453)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)

at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)

at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:3 3)

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at com.adobe.flexbuilder.standalone.FlashBuilderWorkbenchAdvisor.createWorkbenchWindowAdviso r(FlashBuilderWorkbenchAdvisor.java:56)

at org.eclipse.ui.internal.WorkbenchWindow.getWindowAdvisor(WorkbenchWindow.java:3483)

at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1295)

at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:408)

at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workben ch3xImplementation.java:31)

at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1881)

at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1879)

at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1199)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)

at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

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:619)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

 

!ENTRY org.eclipse.osgi 4 0 2011-06-30 09:03:28.896

!MESSAGE Application error

!STACK 1

org.eclipse.swt.SWTError: No more handles

at org.eclipse.swt.SWT.error(SWT.java:4109)

at org.eclipse.swt.SWT.error(SWT.java:3998)

at org.eclipse.swt.SWT.error(SWT.java:3969)

at org.eclipse.swt.widgets.Widget.error(Widget.java:468)

at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:99)

at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:92)

at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2499)

at org.eclipse.ui.internal.WorkbenchWindow.createProgressIndicator(WorkbenchWindow.java:3325 )

at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1104)

at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowCo nfigurer.java:623)

at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdv isor.java:268)

at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1010)

at org.eclipse.jface.window.Window.create(Window.java:431)

at org.eclipse.ui.internal.Workbench$22.runWithException(Workbench.java:1208)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)

at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)

at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

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:619)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

Thank you

Signing native installer with Apple's Developer ID certificate

$
0
0

I am trying to sign my AIR OSX application using Flash Builder's 4.6 "Export Release Build" option. For this purpose I am using Apple's "Developer ID Application" certificate to be able to install and run my app on OSX 10.8 Mountain Lion.

 

After identifying correct certificates in the chain and exporting them all to p12 format (I chose "Developer ID Application", "Developer ID Certification Authority" and "Apple Root CA" within Keychain Access application on my Mac) I got the following error: "Error creating native installer file: Packaging failed. Make sure your computer time is in sync and your certificate is valid".

 

Does anybody has idea how to successfully sign AIR application using Developer ID certificates?

Not Compiling most recent saves

$
0
0

this is a very tricky problem; It had me write and re-write my code tons of times -- i could not figure out why my changes were not working. when trace calls started not showing up, i got curious as to if it wasn't me.

 

Flash builder 4 (cs5) Is not compiling the most recent code. I compile, and it opens up old code. Saving and re-saving, closing and opening, nothing seems to work;

 

When flex compiles, it compiles to some file (bin-debug, i believe). It is as if it just simply... isn't doing that, and a previous compile is what i am getting shown. Excruciatingly frustrating, since my code had me re-writing the way i handled arrays from an xml source. I thought i was pointed to the wrong source, which sent me on a 20 minute long cat and mouse game with no mouse.

Invalid Configuration Location error on startup

$
0
0

I have just installed Flash Builder 4.5 on my Windows 7 Enterprise edition. I installed this using my username (not Administrator), which has local administrative rights. When I start the program, I'm getting the error

 

---------------------------

 

Invalid Configuration Location

 

---------------------------

 

The configuration area at 'C:\Users\Administrator\Adobe Flash Builder 4.5\cascaded\308971\configuration' could not be created.  Please choose a writable location using the '-configuration' command line option.

 

---------------------------

 

OK  

 

---------------------------

 

 

Any reason for this error and what's the workaround?

is their anything compatible with my galaxy tab 2?

$
0
0

Can I download a flash player that is compatible withmy galaxy tab 2?


Problems bitmap filters FlashBuilder 4.7 / Air3.4 - Help!

$
0
0

Yesterday, I purchased and installed FlashBuilder 4.7, 64 bit windows version.

 

With it, I built my project for ios, and installed an export release (air3.4 for ios) on my IPad 1 for testing.

 

Two "unforgivable" problems showed up:

 

1. Most of the artwork looks utterly spoiled, as if entirely different filter coefficients
were being applied to the bitmaps.

 

(note: builds with FlashPro 5.5, FlashPro 6.0 and FlashBuilder 4.6 / air3.1 for ios (32 bit) of
the same code all show consistent and proper results instead)

 

2. The application runs much slower than when it was exported for release from FlashBuilder 4.6.

 

Is there any way to deal with these problems?
(apart from applying for a refund)


Thanks in advance

 

PS: Tests on the desktop (using the air simulator) using FB 4.7 show the same filter problem.

Output folder in Flash Builder 4.6 refuses to be anything but relative

$
0
0

I just updated from Flash Builder 4.5 to 4.6. Things seemed to be going ok in terms of importing all my projects etc. (why can't there be a simple upgrade process rather than a complete uninstall/reinstall process?)

 

But then I got to setting the Output Folder within the Flex Build Path section of the properties of my project.

 

Now, as our dev environments we run glassfish servers locally on our testing machines and build our apps directly into them so our testing process is very quick. This was working fine in Flash Builder 4.5, I point my app's output folder to a location of the form:

 

C:\Users\myUserName\glassfish3\glassfish\domains\domain1\eclipseApps\appname

 

And that works fine, set by pasting in from an explorer window or Browsing there via the Browse button next to the field.

 

Now when I try to do this within Flash Builder 4.6 I get nothing at all appearing if I use the browse button. No error, nothing saying it failed, just an empty field. If I try to paste in anything I get an error from Flash Builder saying '"Paste" did not complete normally."

 

If I try to just type in the path it fails, it strips the leading C:\ and turns it into a relative path, which is completely useless.

 

This is getting really annoying!

 

 

Log file output after I tries to browse to the folder:

 

!ENTRY org.eclipse.ui 4 0 2012-02-07 14:54:00.474

!MESSAGE Unhandled event loop exception

!STACK 0

java.lang.NullPointerException

    at com.adobe.flashbuilder.launching.multiplatform.contributor.MultiPlatformDebugUtilLocalePa thVariable.resolvePath(MultiPlatformDebugUtilLocalePathVariable.java:68)

    at com.adobe.flexbuilder.project.PathVariableResolver.wrapPath(PathVariableResolver.java:198 )

    at com.adobe.flexbuilder.project.PathVariableResolver.makePathVariableRelative(PathVariableR esolver.java:283)

    at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane.makeRelativeOutpu tPath(AbstractBuildPathsPropertiesPane.java:946)

    at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane.makeRelativeOutpu tPath(AbstractBuildPathsPropertiesPane.java:931)

    at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane.browseForOutputFo lder(AbstractBuildPathsPropertiesPane.java:910)

    at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane$12.widgetSelected (AbstractBuildPathsPropertiesPane.java:805)

    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)

    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)

    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    at org.eclipse.jface.window.Window.open(Window.java:801)

    at com.adobe.flexbuilder.editors.derived.ui.navigator.FlexPackageExplorerPropertyDialogActio n.run(FlexPackageExplorerPropertyDialogAction.java:41)

    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)

    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)

    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)

    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)

    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)

    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)

    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)

    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)

    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

    at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)

    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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)

Using iOS Simulator via Flash Builder on OS X 10.9 Mavericks

$
0
0

Hey Everyone,

 

You will find that if you have updated to OS X Mavericks (currently BETA 13/05/13) the iOS Simulator will not activate from the Flash Builder IDE. FB will prompt to saying you need to enable assistive devices but Mavericks has removed this option from the Universal Access option in the system preferences.


Here is the work around:

 

Activate System Events:

System Preferences > Security & Privacy > Privacy > Accessibility > Tick System Evenh

 

There is no need to restart Flash Builder the simulator should now just work fine.

 

 

Hope that helps prevent a lost few minutes on the old google machine.

'Finding Occurrences.' has encountered a problem.

$
0
0

Flash Builder 4.7 started giving errors today when it is using the Finding Occurrences.  The only thing I can find online is that people ignore the error.  This is unacceptable as the error just keeps occurring and Flash builder no longer will find occurrences within the document open.

 

 

'Finding Occurrences.' has encountered a problem.

An internal error occurred during: "Finding occurrences".

 

Details provides:

 

An internal error occurred during: "Finding occurrences".

java.lang.NullPointerException

copy java error

$
0
0

Please help! How to solve :

 

An internal error occurred during: "Finding occurrences".

java.lang.NullPointerException

 

"Copy" did not complete normally.  Please see the log for more information.

java.lang.NullPointerException

 

Can't do anything anymore. Tried everything, updated AIR, delete workspace etc.

 

Is there any solution for this???

Flash Builder 4.5 Silent Install fails when created with Application Manager Enterprise Edition

$
0
0

I'm trying get FB 4.5 to installation in silent mode ( on Win 7 64bit ) using the Adobe Application Manager Enterprise Edition. Installed the tool on Win 7 box, and rattled through Dreamweaver, InDesign, and several others without incident. When I got to FB 4.5, nothing that I try seems to work. I set up MSI logging and it I get the following at the very end of the log - and its conisistant, regardless of what I've tried.

 

---------

Action ended 9:20:23: PublishFeatures. Return value 1.
Action start 9:20:23: PublishProduct.
Action ended 9:20:23: PublishProduct. Return value 1.
Action start 9:20:23: InstallFinalize.
CustomAction CADeploy returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 9:20:50: InstallFinalize. Return value 3.
Action ended 9:20:51: INSTALL. Return value 3.
MSI (s) (24:70) [09:20:51:110]: Product: Adobe Flash Builder 4.5 Silent -- Installation operation failed.

 

MSI (s) (24:70) [09:20:51:110]: Windows Installer installed the product. Product Name: Adobe Flash Builder 4.5 Silent. Product Version: 1.2.0000. Product Language: 1033. Manufacturer: Adobe Systems Incorporated. Installation success or error status: 1603.

 

=== Logging stopped: 6/23/2011  9:20:51 ===

---- END of Log ----

 

Any suggestions on how to get this one to deploy in silent mode?

 

Thanks... TP62

Spark DataGrid scrollToIndex?

$
0
0

In Flex I used to use the dataGrid.scrollToIndex(XX) to scroll down to a selected row.

 

I can't seem to get anything to work for the Spark DataGrid in FB4.5.  Searching around I tried to impliment this:

dataGrid.ensureCellIsVisible(selectedSlideIndex);

dataGrid.setSelectedIndex(selectedSlideIndex);

 

The selectedSlideIndex is set when a row is selected to store the int.

 

I can't get the DataGrid to scroll to the index, OR select the index..

 

So what is the Spark DataGrid version of the MX DataGrid.scrollToIndex?


Compiler not embedding current assets / cache cleaning

$
0
0

dear all,

 

In FlashBuilder 4.7 (beta + release), it consistently happens that linked assets aren't (re)loaded when compiling. Cleaning the project doesn't seem to help. Restarting FB, then cleaning + building mostly reloads the assets.

Is there a way to (manually?) clean all caches, the way a restart of FB does?

 

This question could be related to: http://forums.adobe.com/message/4809438#4809438 and http://forums.adobe.com/message/2921124#2921124

 

 

This seems reproducible:

1. Make 'assets.fla' file in Flash Professional, create one symbol with some random graphics, ActionScript Linkage Class set to 'SomeGraphicAsset', publish to 'assets.swf'

2. In Flash Builder 4.7, create new ActionScript Mobile project

3. Make new Class "SomeGraphic", link with previously created graphics in Flash:

 

package

{

          import flash.display.MovieClip;

 

          [Embed(source="/../embedded-assets/assets.swf", symbol="SomeGraphicAsset")]

          publicclass SomeGraphic extends MovieClip

          {

                    publicfunction SomeGraphic()

                    {

                              super();

                    }

          }

}

 

4. In constructor of entry-point class for project add:

 

var somegraphic:SomeGraphic = new SomeGraphic();

this.addChild(somegraphic)

 

5. compile / debug project

6. open 'assets.fla' in Flash Pro. Change something to the 'SomeGraphicAsset' symbol. Publish to .swf file.

7. In Flash Builder, debug -> shows old file without updated graphics

8. In Flash Builder, clean project, debug -> shows old file without updated graphics

9. Close Flash Builder, reopen Flash Builder, clean project, debug -> mostly the updated graphics show.

 

Any feedback to make this more workable, or a way to fully flush all caches in FB are greatly appreciated.

It's crazy having to close / open FB every time a graphical asset changes in your project.

 

- this has been tested on 2 different Mac OSX 10.8.x computers, FlashBuilder 4.7 AIR SDK 3.5

- sample project can be downloaded here: http://dl.dropbox.com/u/608333/AssetProblemSampleProject.zip

 

hoping for some feedback,

Bart

Where can I download flash builder 4.7 STANDARD?

$
0
0

I can get premium very easily off of the website, but it will not let me activate with my 4.7 standard key.  I need flash builder 4.7 standard.  After hours of searching I have not found any way to download it.  This should be easy!

Flash Builder improvements, Syntax coloring, Custom format, Auto close

$
0
0

Hello,

 

I'm trying Flash Builder 4.7 but I see there is missing features in the Softaware.

 

I didn't found this important features in the preferences and I think you could add this new features in the new version of FB:

 

  • Syntax coloring like Flash Professional: Coloring the AS3 keywords properties and methods like (addChild, x, y, width, height, etc.)
  • Custom format code. In FB 4.7 there no way to custom the format code in AS3 but you can do it for Java.
  • AutoClose : Inserts matching bracket, paren, brace or quote
  • A list of color themes

 

I hope it will help to improve this software.

 

Cheers.

[IOS-Android] Is it possible to make flashbuilder listening for usb debugging without re-packaging an app ?

$
0
0

With big apps it's boring to wait 10 minutes to package ios app just to be able to retry something. Is there a way to make flash builder listen for usb debugging like after the debug packaging bug without re-package ?

Flash Builder 4.6 not opening in PC

$
0
0

HI there. I already read a lot of post talking about that problem happen on mac. My problem is that I am experience this on PC.

 

My flash builder have come with the adobe master collection, and I deleted the folder that was the flashbuilder worskpace and nothing, the same error.

 

When I try to open, it opens the startup screen and then close it with no error messages. Nothing more happens.

 

What I need to do?

Viewing all 70427 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>