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

Font loading woes...

$
0
0

Hi,

I'm being driven nuts by something that I am certain is simple to resolve. We have hundreds of fonts in use, so are loading them on demand after compiling css to swf in Flash Builder.

 

This worked fine for many years...

 

We are in the midst of a fairly significant code upheaval and now, whatever I do, I get an error that blocks loading and (frequently) wipes out the Flash movie entirely;

 

Error: Compatibility version has already been read.

  at mx.core::FlexVersion$/set compatibilityVersion()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\FlexVersion.a s:282]

  at mx.core::FlexVersion$/set compatibilityVersionString()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\FlexVer sion.as:329]

  at AntihistoryRegular_mx_core_FlexModuleFactory()

 

I can find no clues on the web other than resources that point to the transition between Flex 3 and Flex 4... Something that is _long_ since been taken out of the mix in our case.

 

Any pointers?

 

Thanks,
G


Bug in FB 4.7 when setting verbose-stacktraces to True

$
0
0

Hello guys,

 

When setting the verbose-stacktraces to true without setting the debug parameter to true, it has no effect. When I get a stacktrace it doesn't include any line numbers as stated on the documentation. I'm currently using Flash Builder 4.7, Adobe Flex 4.6 and Air 4 SDK to develop my mobile application. Also, I'm using the compiler options: -locale en_US -swf-version=23 -verbose-stacktraces=true.


I need to be able to see the line numbers so I would really appreciate any help on this issue.


Regards,


Sebastian

Is it possible to stream live video & audio from device cameras & mics to a server?

$
0
0

I would like to know if I can use flash builder to stream live video and audio from Android & IOS device cameras and mics to a media streaming server such as Flash Media Server or Wowza? I know the Android & IOS APIs allow for this but can it be done using Flex/Actionscript? The key here is "live" so you wouldn't want to have to wait for video and audio files to complete on the disk before sending it out. Ideally you would send it out via RTMP or HTTP streaming to stream out but any stream would do since once it gets to the server you can encode it.

Help with creating a swc creation!!

$
0
0

I'm currently trying to create a swc library that includes pngs and a few miscellaneous classes.  Note, I'm not using Flash Professional at all, only Flash Builder 4.7.  I've created an AS Library project. Put my supporting classes and pngs in the source folder.  Once I clean and create the swc, I decompress it and the images are in the swc, so I know they're being included.

 

Now I create a new AS Project, include the swc in my lib path and it shows up in my referenced libs, great.  When I twirl down to look at the contents, I only see the classes. 

 

My question is how to I get to the raw pngs or any other assets (xml, css) that I include in the swc? 

 

I tried creating an EmbeddedAssets class in the swc and pointing to the assets... and creating a const for the class.  This forces the it to show up in my project, but as something like image_name_png_4394434l32k39e393.abc.  It seems when taking this approach, Flash Builder appends a random string to the asset, which makes it much more difficult to target it, having to use getDefinitionByName()... not very elegant or useful.  In using this embed approach, is there a way to force Flash Builder to not add the random stuff?  Do I have to use Ant to build the swc to force the name properly?  If so, does anyone have an ant script or know of a tutorial that shows how to accomplish this?

 

 

Thanks for any help at all...

Multiple .swf communication works in debug, not in ad hoc .ipa

$
0
0

I am using external .swf files in my FB app. Everything works fine in debug (in both the simulator and in USB device testing). However, when I Export Release Build, the .swf files aren't loading. Everything else seems to be working fine. I'm using the AIR 14.0 compiler.

 

Any ideas? I'm not even sure where it's failing since I'm not able to recreate the problem in Debug mode.

 

TIA,

Paul

Error: "Cannot resolve attribute ‘firstView’ for component type spark.components.Application"

$
0
0

Hello All,

I am new to Flex Builder, ArcGIS API for flex, Mobile Mapping Apps, and not a developer I want to create a simple mobile mapping app, so followed the instructions in this page:https://developers.arcgis.com/flex/guide/tutorial-mobile-specific-application.htm

After doing all the steps, I got the following error: “Cannot resolve attribute ‘firstView’ for component type spark.components.Application”

What might be the issue here?

 

Thank you

 

Hani,

 

This is shown in screenshots below:

 

1-

Clip_451.jpg

 

 

 

2-

Clip_452.jpg

 

3-

 

Clip_453.jpg

 

4-

 

Clip_454.jpg

 

5-

 

Clip_455.jpg

Flash Builder v4.6 App Stops Working on Nexus 7 Upgraded to 4.2.2

$
0
0

I just bought a Asus Nexus 7 32GB tablet and installed a Flash Builder v4.6 app that I've been working on and everything was working great.  Then I saw there were OS upgrades, so I updated to 4.2.1 and the app worked just fine.  Then I saw that another upgrade was available, so I installed 4.2.2 and my app stopped working.  When launched it throws up the message "Unfortunately, App XXX has stopped".  I didn't change anything.  I even tried uninstalling it and re-installing the app it will throw up the same error.  I've searched the web and found people had to perform a factory reset to get their apps working again, but I don't want to do this.  I want to determine what is going on, but I have no way to tell.  The app has been downloaded from my website and installed.  I don't want to hook the Nexus up to my PC yet and try running a debug version of the app or change anything until I know what is happening.  I've got another user testing my app on their Samsung Galaxy and a Nexus 7 as well and they are getting the same error.  Any ideas as to why this might be happening?

 

On a side note I have my app working on a Motorola Droid RAZR M and an iPhone 4 without issues.  It seems to be related to v4.2.2 of Jellybean.

 

Update 12:59pm 05/17/2014:

 

I was able to generate a bug report on the Nexus and it comes down to a Java issue:

 

05-17 12:17:35.226  5527  5527 E AndroidRuntime: Process: air.com.cybertechsolutions.TdyneOCSmartPhoneApp, PID: 5527

05-17 12:17:35.226  5527  5527 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Native method not found: com.adobe.air.AIRWindowSurfaceView.nativeOnFormatChangeListener:(I)V

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at com.adobe.air.AIRWindowSurfaceView.nativeOnFormatChangeListener(Native Method)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:683)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.SurfaceView.updateWindow(SurfaceView.java:583)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.SurfaceView.access$000(SurfaceView.java:86)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1871)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.Choreographer.doCallbacks(Choreographer.java:574)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.Choreographer.doFrame(Choreographer.java:544)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.os.Handler.handleCallback(Handler.java:733)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:95)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:136)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:5017)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at java.lang.reflect.Method.invokeNative(Native Method)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Method.java:515)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at dalvik.system.NativeStart.main(Native Method)

 

It looks like v4.2.2 doesn't support this method any more so how do I get it to work?

Why FlashBuilder 4.7 commandline is failing on Exception in com.adobe.flexbuilder.codemodel.CMCoreActivator.start() of bundle com.adobe.flexbuilder.codemodel.

$
0
0

Problem Description:

When I use FB 4.7 GUI, everything works OK.

When I use FB 4.7 command line, it fails as follows:

 

org.osgi.framework.BundleException: Exception in com.adobe.flexbuilder.codemodel.CMCoreActivator.start() of bundle com.adobe.flexbuilder.codemodel.

 

As you can see from the discussions below, it happens to a few users, and for us it happens to all mobile projects ot all machines..

 

We still don't know what is the common denominator for the projects in which it occurs ... is it the env

 

Steps to Reproduce:

not easy to reproduce, but basically it works fine in FB4.7 GUI, but fails only in command line.

It happens in specific projects (for us it happened in ActionScript Mobile Project).

 

here is what I run:

C:\FB\mobile_Android_3.2.0_WS1>"C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\FlashBuilderC.exe" --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "C:\FB\mobile_Android_3.2.0_WS1" -file "c:\FB\build_888PokerAndroid_3_2_0.xml" main

 

Here is what I see on screen:

main:

[echo] Info: Starting main target

[fb.exportReleaseBuild] Compiling 1 application to C:/GamingX/Develop/PokerClient/Flash/ProjectSources/888PokerAndroid/v3.2.99/bin-release-t emp...

[fb.exportReleaseBuild] An internal build error has occurred. See the error log for more information: C:\FB\mobile_Android_3.2.0_WS1\.metadata\.log

[fb.exportReleaseBuild] [compilation completed 3,816ms]

 

BUILD FAILED

c:\FB\build_888PokerAndroid_3_2_0.xml:5: Build failed.

 

Total time: 6 seconds

Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.microsoft.tfs.client.common.ui.helpers.WorkbenchHelper$WorkbenchStartupJob

Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.microsoft.tfs.client.common.ui.helpers.WorkbenchHelper$WorkbenchStartupJob

Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.microsoft.tfs.client.eclipse.TFSRepositoryProvider$1

Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.microsoft.tfs.client.eclipse.TFSEclipseClientPlugin$1

F l a s h B u i l d e r C :

A n e r r o r h a s o c c u r r e d . S e e t h e l o g f i l e

C : \ F B \ m o b i l e _ A n d r o i d _ 3 . 2 . 0 _ W S 1 \ . m e t a d a t a \ . l o g .

log and XML attached.

 

Actual Result:

Build throws exception

 

Expected Result:

Build should pass

 

Any Workarounds:

None

 

For more info, please refer to discussions at:

https://forums.adobe.com/message/6516177#6516177

https://forums.adobe.com/thread/1445134


Apple Application Loader rejects app built with FB 4.6

$
0
0

I've been having a lot of trouble with Apple's Application Loader, trying to upload a new feature on an old iTunes app. Error says:

 

ERROR ITMS-9000: "The binary is invalid. The executable type "41" is not valid. Only "EXECUTE" is permitted."

 

There are a couple warnings, too, including not a Position Independent Executable. I cleared out a bunch of other warnings already, more icon sizes...

 

Apple refuses to even explain what the error message means - if the app wasn't built with Xcode, they refuse to say anything.

 

I updated to AIR 15 by copying over the FB 4.6 sdk, then applying AIR 15 to it. This built fine for Android, and that release is accomplished to Amazon and Google Play. The binary works when built for adHoc distribution and tested on an iPod. It does use one ANE - GoViral for sharing. (Though FB share crashed the app, so I disabled that.)

 

I really don't know what to do next, what to try. Certificate is new, all provisioning files are new, tested adHoc build before trying to upload distribution build...

 

Suggestions?

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.

how to control item in List

$
0
0

when i create new item in list , how to focus or select the new item was created .

Here my code

 

<?xml version="1.0" encoding="utf-8"?>

<!-- dpcontrols\sparkdpcontrols\SparkBBarSimpleModDP.mxml -->

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

               xmlns:s="library://ns.adobe.com/flex/spark"

               xmlns:mx="library://ns.adobe.com/flex/mx">

    <s:layout>

        <s:VerticalLayout/>

    </s:layout>

   

    <fx:Script>

        <![CDATA[

            // Add data item, and button, to the List.

            private function addFlexToDP():void {

                myBB.dataProvider.addItem("Flex");

                addFlex.enabled=false;

               

                // how to select or focus to new item created

            }

       

        ]]>

    </fx:Script>

   

    <s:List id="myBB"> 

        <mx:ArrayCollection>

            <fx:String>Flash</fx:String>

            <fx:String>Director</fx:String>

            <fx:String>Dreamweaver</fx:String>

            <fx:String>ColdFusion</fx:String>

        </mx:ArrayCollection>

    </s:List>

   

    <s:Button id="addFlex" label="Add Flex"

              click="addFlexToDP();"/>

   

</s:Application>

Evaluate FB4.7 on a computer with no internet connectivity

$
0
0

Hi,

I need to evaluate flash builder 4.7 on a development environment that has no internet connection (due to security policy at my company)

Unfortunately, using the creative cloud setup requires a direct internet connection during the setup (and not only during the download).

I would like to have a complete evaluation setup, that I can copy manualy to the isolated computer and install it directly there.

Can you please advise how can I overcome this issue?

Thanks in advance!

Tamar

Cannot download FB 4.7 trial

$
0
0

When I click on "try" link for Adobe Flash Builder 4.7 premium, I get to a empty page

- In Chrome error message is:

          The webpage at https://creative.adobe.com/products/download/flash-buildermight be temporarily down or it may have moved permanently to a new web address.

          Error code: ERR_TUNNEL_CONNECTION_FAILED

- In IE, error message is:

 

The website declined to show this webpage

HTTP 403
 

Most likely causes:

  • This website requires you to log in.

 

    

Can somebody please help to resolve this?

 

Thanks,

Sanatkumar Dhir.

swc cannot show public members in flash builder

$
0
0

Hello, I'm trying to create an as3 library (.swc), but weird thing happened. In flash builder 4.7, I can only see the classes of the swc just created, but cannot see the public members. The swc is totally ok to be used, but it doesn't show the public members in package explorer in flash builder 4.7. Does any one know how to fix? Thanks.

how to control scroller in List

$
0
0

I want to control scroller in List ( like, disable, enable , change color , alpha ).

help me please ,


Listing The Database Objects Using Menu (combobox, list etc.) With Flash Builder

$
0
0

Hi,


i try to learning flash builder and developing a simple application.

i have a database and it contain a id, eser, baslik area.


id : standart id area.

eser : contain a long text

baslik : title of the eser


you can see the database below (i add a long text area view (eser) second image)


17228603.png


i added a combobox to my project. bind it (get all results) "baslik" coloumn in database

and listing titles  in combobox.

672392270.png


i want to learn. how can i listing a long text area (eser) in database, when i select a title (baslik)
below the combobox.

I asked an example for ComboBox.may beanothertype of menu.

I'm tryingto do thisfor a long timebut justcould list the titles in combobox.

I will be avery very happy,if somebody can help me.

love&respect&peace

Has anyone successfully developed an App that uses AirPrint?

$
0
0

We have a client that wants us to add AirPrint to the app we have developed for them. I can't find anything supporting this, is it possible? Can anyone get me some tips on how to make it work?

I found this Simple iOS Printing from AS3 - Flash Tuts Mobile but I cannot get it to work.

Thanks.

WebView Images Download and click-to-call

$
0
0

Hi!

 

I builded an APP Using Flash-builder and the WebView of flash-builder with push-service.

My Problem is:

The WebView shows a mobile page. Click-to-call doesn`t work with the html-link <a href="tel.:99999999">

So I can`t access the telephone-function of the iphone or android-mobile.

 

Is there a way to "allow" the webview to transfer the call-function to the phone?

 

2nd Problem: If I hold my finger on an image in safari I can easily download it. This also doesn`t work in the webview!

 

We tried to access the images-folder of the iphone via javascript but we can`t get out of the webview of flash-builder.

 

Any idea how I could solve this?

 

thanks in advance!

Chris

Flash Builder

$
0
0

anyone can help me?

 

I want to know why I can not connect to the service web service in adobe flex 4.7 (trial mode), do not know if that's why.

I need your help. thank you,

there is nothing more, do not charge anything.

Run from CD

$
0
0

Hi,

 

I have built a Desktop application with captive runtime that runs OK when I run it from my hard disk, when i burn everything to a CD the application doesn't start, it shows a white screen but never loads the intro.

 

My question is if the exported applications can run from a CD in general or if there is something wrong with my code.

 

Thanks in advance.

Viewing all 1802 articles
Browse latest View live


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