Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all 1802 articles
Browse latest View live

Page Views and Passing Between Pages

$
0
0

Hi,

 

I trying to develop a simple android app. i want to call pages using a buttons.

I create a page EserleriView.mxml and i want to use this page like menu or index. I added to buttons this page.

 

Button is title of the text content. when clicked the button, text content is viewing at the another page.

 

I added a button at my main page EserleriView.mxml 
Ekran Alıntısı.PNG

when i clicked the button, i see the text page and it's name is title.
Ekran Alıntıssı.PNG

 

using this code.

 

<?xml version="1.0" encoding="utf-8"?><s:View xmlns:fx="http://ns.adobe.com/mxml/2009"        xmlns:s="library://ns.adobe.com/flex/spark"        title="Eserleri">       <s:states>        <s:State name="portrait"/>        <s:State name="landscape"/>    </s:states>       <fx:Script>        <![CDATA[            import mx.events.FlexEvent;                       import spark.events.IndexChangeEvent;            protected function button_clickHandler(event:MouseEvent):void            {    navigator.pushView(views.gecer);                       }                   ]]>    </fx:Script>       <fx:Declarations>       </fx:Declarations>        <s:Button id="gecer" x="264" y="511" width="100" height="36" label="Geçer"              click="button_clickHandler(event)" fontFamily="Verdana"              x.landscape="10" y.landscape="10"              x.portrait="10" y.portrait="9"/> </s:View>

 

and now it's working but i can use an only a one button (Geçer) and one page (gecer.mxml)

I want to add another button(s) at my main page EserleriView.mxml and calling pages use this

buttons.

 

For example. I added a new button (Felek)

Ekran Alıntıssssı.PNG

and create a page (felek.mxml)

Ekran Alısssssntısı.PNG

 

now i have a two buttons at main page and two pages contain text. (gecer.mxml , felek.mxml)

how can i call correct pages clicked the button.

 

Button Geçer linked to gecer.mxml

Button Felek linked to felek.mxml

Button xxxxx linked to xxxxx.mxml

Button yyyyy linked to yyyyy.mxml

Button zzzzz linked to zzzzz.mxml

.....

 

How can i do this?

 

Sincerely


file size limit for air app?

$
0
0

Hi- I'm receiving this error when doing export release build

 

Error creating file:Packaging failed. Packager internal error

 

Debugs fine.  On export release build, It makes it all the way through the process does that right before it finishes.  My work around is to uncheck a bunch of videos i have included in Package Contents in Packaging settings. that or make all the videos smaller.  If i get it under 2.3GB's then it works. (my swf is 10mb and the rest is f4v videos)

 

I'm trying to do this on a PC as well and getting differenct file size limitations.  could this have something to do with exporting across a server? I'm on a terrablock and have had issues before.

 

Action script project

Flash Builder 4.7

OSX 10.8.5

AIR SDK 4.0

How do I start the Fb4.6 profiler?

$
0
0

When I click on the "Profile Application" button in Fb4.6 my IE browser starts up, but my app does not. After about 60 seconds, I get the following text in a message box:

 

"No activity happened in the past 60 seconds after the connection was established with the application.

Disconnecting"

 

I can run the app normally through the "Run Application" button, and debug it as well using the "Debug Application" button.

 

I just can use the Profiler.

ERROR ITMS-9000:"This bundle is invalid. New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1

$
0
0

I submitted my IPA file to Itunes Connect using Application Loader and got the error message below. I have AIR SDK 13.0.0.111 and using Flash Builder 4.6.

Please help. Thank you in advance.

 

ERROR ITMS-9000: "This bundle is invalid. New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1 or higher and IOS 7 SDK. Do not submit apps built with beta software." ...

"Could not create the view" error

$
0
0

Hey everyone,

 

I'm new to Flash Builder and have been following a tutorial video to learn the basics. Today, when I tried to access my project, this error appeared in the Package Explorer:

 

Could not create the view: Plug-in "com.adobe.flexbuilder.as.editor" was unable to instantiate class "com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorer".

 

I also can't seem to create a new Flex project. If I try to, I can never click Finish. The button just remains faded out.

 

Below are the details on the package explorer error.

 

Any help would be much appreciated.

 

Thanks.

 

java.lang.NoClassDefFoundError: com/adobe/flexbuilder/codemodel/common/CMFactory
    at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorer.<init>(FlexPackage Explorer.java:263)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Re gistryStrategyOSGI.java:170)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionR egistry.java:874)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Configu rationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(C onfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
    at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:63)
    at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:324)
    at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4212)
    at org.eclipse.ui.internal.WorkbenchPage$18.runWithException(WorkbenchPage.java:3271)
    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:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundExce ption: An error occurred while automatically activating bundle com.adobe.flexbuilder.codemodel (16).
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:125)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :449)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:211)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:3 3)
    at org.eclipse.osgi.internal.loader.MultiSourcePackage.loadClass(MultiSourcePackage.java:31)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:105)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 51 more
Caused by: org.osgi.framework.BundleException: Exception in com.adobe.flexbuilder.codemodel.internal.bridge.CMBridge.start() of bundle com.adobe.flexbuilder.codemodel.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:806)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:7 55)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
    ... 62 more
Caused by: java.nio.channels.OverlappingFileLockException
    at sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(Unknown Source)
    at sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(Unknown Source)
    at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
    at java.nio.channels.FileChannel.tryLock(Unknown Source)
    at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:246)
    at org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLockFactory.java:79)
    at org.apache.lucene.store.NativeFSLockFactory.setLockDir(NativeFSLockFactory.java:139)
    at org.apache.lucene.store.NativeFSLockFactory.<init>(NativeFSLockFactory.java:117)
    at com.adobe.flexbuilder.codemodel.internal.common.AbstractTextDatabase.start(AbstractTextDa tabase.java:111)
    at com.adobe.flexbuilder.codemodel.internal.search.ASSearchDataProvider.<init>(ASSearchDataP rovider.java:43)
    at com.adobe.flexbuilder.codemodel.internal.search.ASProviderFactory.createDataProvider(ASPr oviderFactory.java:47)
    at com.adobe.flexbuilder.codemodel.internal.search.SearchIndexManager.addISearchDataProvider dFactory(SearchIndexManager.java:70)
    at com.adobe.flexbuilder.codemodel.internal.CMCoreActivator.activate(CMCoreActivator.java:19 9)
    at com.adobe.flexbuilder.codemodel.internal.bridge.CMBridge.start(CMBridge.java:77)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:7 83)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:774)
    ... 67 more

Arabic Text and SWC File

$
0
0

I've a flash builder 4.7 and i want to embed an Arabic text in a swc file using FlarabyAS3 it works when you add an English text only

Different performance in Adobe Scout CC between FlashBuilder debug swf and release swf

$
0
0

Hi all,

 

In my project, I want to render bitmapData every frame using Graphics.drawTriangles()

Easy Question about Adobe Flash Builder

$
0
0

Could someone please tell me why i cant call the function game.newgame ?

It does not recognize functions from another classes.
Sorry for my grammar , inglish is my second language


game = new Initgame


1.png2.png


Need to save .SVG text as draw with vector graphic tools like line, circle, rect and then save to local file.

$
0
0

I have written an image generator that draws using flash.display.Graphics like circle, rect and line.  I need to save the .svg text for each command and write the result to a vector. svg file so the resulting drawing can be subsequently resized without loss of detail.

Flex 4: Text & Label Controls disappear when app loses focus

$
0
0

When I click outside the running app, the text and label controls disappear; the image button and check box controls do not.  I removed the background image and it still happens.

MissingTextControlsNoFocus.PNGMissingTextControlsFocus.PNG

<s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" minWidth="0" minHeight="0"  width="100%" height="100%"

  width.disabledAndInactive="100%" height.disabledAndInactive="100%"  left.normal="0" right.normal="0" top.normal="0" bottom.normal="0"

  width.normalAndInactive="100%" height.normalAndInactive="100%">

 

<classes:art id="mGen"></classes:art> <!--public class art extends Group-->


<s:BitmapImage id="img" left="1" top="0" width="660" height="560" fillMode="scale" smooth="true"

    source="@Embed('assets/Border.png')"   right.disabled="0" bottom.disabled="0"   right.disabledAndInactive="0" ottom.disabledAndInactive="0"

    right.normalAndInactive="0" bottom.normalAndInactive="0">

  </s:BitmapImage>

 

<s:Label id="RandomArtGenerator" includeIn="normal" left="26" top="25" width="235"  height="23" color="#FBE70D" fontFamily="Verdana" fontSize="18" fontStyle="italic"  text="Random Art Generator"/>

 

<s:TileGroup id="groupButtons"  x="18" y="95"  horizontalGap="10"  verticalGap="10"  orientation="rows"  requestedColumnCount="3"

  click="groupButtonsClickHandler(event)">

  <classes:ImageButton id="btn_lines" height = "20" skinClass="skins.line_ImgBtnSkin"  click="btn_lines_clickHandler(event)"/>

  <classes:ImageButton id="btn_quads" height = "20" skinClass="skins.quad_ImgBtnSkin"  click="btn_quads_clickHandler(event)"/>

  <classes:ImageButton id="btn_circles" height = "20" skinClass="skins.circle_ImgBtnSkin"  click="btn_circles_clickHandler(event)"/>

  </s:TileGroup>

 

<s:Label includeIn="normal" x="44" y="127" width="69" height="28" color="#FFFFFF"

  fontFamily="Arial" fontSize="18" fontStyle="italic" fontWeight="bold"

  text="Angle"/>

  <s:TextInput id="txt_Angle" includeIn="normal" x="44" y="149" width="58"

  contentBackgroundAlpha="1.0"/>

...

<s:CheckBox id="chk_Pause" x="28" y="432" width="96" label="Pause/Save?" click="chk_Pause_clickHandler(event)"/>

...

</s:Group>

Can't debug in IOS 8 simulator

$
0
0

Hello,

 

I've downloaded the new Xcode version 6 GM for Mac OS X 10.9.4 to debug and test my apps for iOS 8. I got the following error, see screenshot below.


I use Flash Builder 4.7, AIR 15 and the latest Xcode version

 

How can i fix it??

 

Thnx

Developer KDApps

Schermafbeelding 2014-09-14 om 13.43.35.png

Debug and Run don't work unless I'm viewing the main application

$
0
0

This happens a lot, and I'm not sure what's triggering it.  I'll start an application, work for a while and everything is fine.  If I'm viewing a class or a component, F11 will run the application with the debugger.  Then "???" happens and F11 only works when I'm viewing the main application file.  I can select the debug profile from the drop-down menu under the debug button, but the shortcut key and the main button no longer function when viewing any other file.

 

('Run' fails in the same way)

 

It's a real drag on my workflow to have to flip back to the main app file to launch the application, how do I fix this / what did I do to cause it? 

strange errors - how to use flex?

$
0
0

I dont get why it does not reconize the flash.net.Networkinfo ect ?

 

 

 

 

errors.jpg

Just bought a 4.6 standard flash builder license but ...

$
0
0

Just bought a 4.6 standard flash builder license but was provided a link to the 4.5 download instead.  Can someone help?  Need to speak to someone to rectify this.  Please help!

TypeError: Error

$
0
0

How do I fix this?  The site no longer exists.

Flash creates a separate txt file as well.

 

 

TypeError: Error #1009: Cannot access a property or method of a null object reference.

  at Seekers_Finders_Trailer_fla::MainTimeline/randomInterval()

  at Function/http://adobe.com/AS3/2006/builtin::apply()

  at SetIntervalTimer/onTimer()

  at flash.utils::Timer/_timerDispatch()

  at flash.utils::Timer/tick()


Updater fails on install

$
0
0

I have a signed native application that installs runs fine. I wanted to be able to update via air file.

I generated an updated signed air file with new version number and it installs fine from desktop by just double clicking it.

States if I wish to install version# with new version# and I click install runs/works fine.

 

I added update code to application and update.xml and signed air file to server.

When I run application it sees update, ask to download, it downloads then asks to install and then I

get an error "An unexpected error occurred. Error# 16828". It does everything but install, which it does do

if I run air locally.

 

I'm wondering if permission issue depending where it downloads to via auto update or something. Have only tested on 64bit win 7

machine, which is main target platform.

 

Also where does it download, I could check if it exists even though it goes past that part via auto-update?

 

Any info appreciated.

Need older version of Flex Builder

$
0
0

We are using flex SDK 3.6A with Flex Builder 4.6 but design view is not working. It is working with old flex builder version like 3.0 and 4.0.1. Is there any way to buy the older version? Or how to solve design issue with latest version?  Any help is appreciated.

Can anyone upload their ipa files to the latest Apple apps store?

$
0
0

Hi everyone, I tried to upload my ipa files to Apple apps store recently but failed. Below are the messages they email to me.

 

Dear developer,

We have discovered one or more issues with your recent delivery for "Altitude236". To process your delivery, the following issues must be corrected:

iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. New iPhone apps and app updates submitted targeting iOS 6 and above must support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the <basename> portion of the launch image's filename. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the iOS Human Interface Guidelines and iOS App Programming Guide.

Though you are not required to fix the following issues, we wanted to make you aware of them:

Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format.

Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format.

Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format.

Once the required corrections have been made, go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.

 

 

I don't know what mean by the "must include a launch image with the -568h size modifier ", I think it should be something related to Apple Xcode?

Then I tried to include the 3 missing icon size and export, and I get these errors.

 

Error occurred while packaging the application:

 

C:\data\Apps\Altitude236\bin-release-temp\AOT\Altitude236-app.xml(147): error 103: application.icon.image76x76 is an unexpected element/attribute

 

C:\data\Apps\Altitude236\bin-release-temp\AOT\Altitude236-app.xml(149): error 103: application.icon.image120x120 is an unexpected element/attribute

 

C:\data\Apps\Altitude236\bin-release-temp\AOT\Altitude236-app.xml(151): error 103: application.icon.image152x152 is an unexpected element/attribute

 

 

Did anyone know what happen to this issue? Any help would be appreciate. Thanks you.

Flex Builder 3.0 Licence purchase request

$
0
0

We have installed flex builder 3.0 (trail version) as part of the FLEX development and design mode working fine. The problem is not able to buy  license for this specific version 3.0. When clicks on Purchase button under Manage Flex Builder License thows the error page "Sorry, this page is not available". Please advise if there is any other option to buy flex builder 3.0 license.

 

The reason that we are going to flex builder 3.0 is due to design mode works only fine in this version. We have installed Flex Builder 4.5 and above versions , design mode not working properly which is really big challenge to deal with Flex code. Please advise us to fix the design issue with flex builder 4.5+ versions.

How can i load php file in android application?

Viewing all 1802 articles
Browse latest View live


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