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

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???


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.

"Error occurred while packaging the application" Apple iOS, Launch on Device

$
0
0

After several successful launches to a physical iOS device (iPad) I suddenly started getting this error "Error occurred while packaging the application". It occurs within a couple of seconds after I click "Run".  I am running the current FB 4.5.1 on Windows XP (SP 3).  I've tried cleaning the project, re-booting my computer, deleting and re-creating the project, and re-creating the iOS configuration; the issue remains.  I have not yet removed and re-installed FB.

 

Below is my configuration info.

 

Version.JPG

 

Many thanks if someone has an idea about how to resolve this.

Platform conversion failed error during release build

$
0
0

This is a very annoying problem while generating release build files. Here is the steps I did while buiding:

 

1. Select Project > Export Release Build

2. Select Signed Native Installer

3. Import certificate

4. Click Next.

 

I always got the following error:

 

build_error.png

I have the following setup:

 

OS: Windows 8.1

System type: 64-bit

Flash Builder Version: 4.6 Premium

Installed FB: FlashBuilder_4_6_LS10.exe

 

Please help. This is giving me a lot of headaches for a couple of days now.

FlashBuilder 4.7 wont publish to Samsung Galaxy Note 10.1 but will publish to Samsung Galaxy S4

$
0
0

OS: WIndows 7 x64

Hardware: ATI Radion 65xxx series HD, 12GB DDR3, Galaxy Note 10.1 & Galaxy S4

Android 4.1.2 is on the Tablet and 4.2.2 is on the mobile.

Software: Adobe CC (Full) - FlashBuilder 4.7 - AIR for android on both devices 4.x installed

Flashbuilder modification 1: APACHE FLEX Latest downloaded and installed into SDK directory

Flashbuilder modification 2: AIR 4.0 SDK downloaded and installed into eclipse plugins flash compiler directory

 

 

Dev test 1: (success)

Built test application to test some Away3D 4.x programming and interaction on AIR.

Result: Flash Player opened SWF and all appeard fine.

 

 

Dev test 2: (success)

Created new project - Flash Mobile - merged dev test 1 code into project and compiled on Galaxy S4

Result: FlashBuilder recognised device, installed apk and ran it just fine (AIR 4.x is already installed on device)

 

 

Dev test 2b: (failure)

Still using project dev test 2, I unplugged the Galaxy S4 and pluggined in the Galaxy Note 10.1. Pressed debug.

Result: Flashbuilder didn't get any further than displaying the message "Launching: Determining the device on which to install the application..."

 

 

Dev test 2c: (failure)

Closed FlashBuilder, unplugged device, CTRL + ALT + DEL then end tasked all ADB processes. Re-opened FlashBuilder, plugged Tablet back in and pressed debug again.

Result: Sat on "Launching: Installing application on device" heard windows noise for unplugged usb device sound?!!??  Waited.. and waited and eventually got the message "Launching 'Away3DIsometricBlockBuilder' has encountered a problem. Error occurred while installing the application: rm failed for /data/local/tmp/Away3DIsometricBlockBuilder.apk, No such file or directory

 

protocol failure

 

- waiting for device -"

 

http://www.allforthecode.co.uk/fun/error_01.jpg

 

 

Dev test 2d: (success)

Unplugged device, end tasked all ADB.exe instances and plugged in galaxy s4 and pressed debug.
Result: Success!



Dev test 2e: (failure)
Unplugged all devices, end tasked all ADB.exe instances and shut down flashbuilder. Opened a command prompt window and adb version = 1.0.31. Downloaded Goolge Android SDK x64 and removed existing android installation folder I had already and extracted files there. Opened SDK Manager and installed the latest Android 4.4 SDK  and some other tools etc. Now I went looking for where adb exists. Found the ones relevant to FlashBuilder 4.7 and checked which version they were. SDK used version was 1.0.31 and the AIR eclipse plugins ADB version was also 1.0.31. Checked fresh installed adb version from Google Android SDK and it was also v 1.0.31. Tried a manual install on the device of the apk. Re-opened FlashBuilder re-connected device (tablet) and pressed debug.
Result: Got to Launching 57%, windows made usb disconnection sound and it got no further and popped up the error window which was detailed in "Dev test 2c" above. Device shows connected windows explorer no longer shows device.

 

 

Dev test 2f: (failure)

Unplugged device, end tasked all adb.exe instances. Plugged device back in.
Check 1: Windows shows android device plugged in GT-N80810
Check 2: Opened admin rights dos window and typed in adp devices - found 1 at some address
Check 3: adb version = 1.0.31

Check 4: apk file exists

Execute manual install: adp install -r package_name.apk

Result:

-- in dos window --

protocol failure

- waiting for device -

rm failed for /data/local/tmp/apkname.apk, No such file or directory

 

 

Dev test 3: (failure)

Created a new flashbuilder 4.7 ActionScript Mobile AIR Project

Name: TabletTest01

Permissions: Internet, Write external storage, wake lock, access network

Auto reorient: yes

Full screen: yes

Added code: trace("hello world");

Pressed debug

Set launch method: on device

Build target = device

Click apply then debug

Result: Same as error shows in 2c

 


Dev test 3b: (success)

Rebooted pc, rebooted device plugged back in after flashbuilder was running and pressed debug.

Result: sucess traced out "hello world" to console!

 

 

Dev test 3c: (failure)

Added code: trace("YYYYYYYYYYYYYYYYYYEEEEEEEEESSSSS!");

Pressed debug.

Result: FAILURE! Same as error shows in 2c

 

 

 

Adobe or anyone know how to fix this issue? or even what is going on?!

 

 

 

 

I'm tempted to flash the Galaxy Note with Android 4.2.2 or 4.4 google stock rom, to see if it fixes any problems...
However it wouldn't be a true Galaxy Note 10.1 test device anymore, which was the point in buying the thing.

 

The only things which stand out in all this to me are:


1. The tablet disconnects mid way through the debug publish process, but sometimes the galaxy s4 does also but it doesn't stop it from working?! Timing issue with compiler and data transfer timings? Missing apk file in data temp directory?


2. Android 4.1.2 is on the Tablet and 4.2.2 is on the mobile, could it be an issue with the AIR SDK not correctly handling 4.1.2 where as it is fine with 4.2.2?

 

 

Maybe I should have gone the way of the virtual machine... :\

 

 

My next tests will be to root the device (odin) and see if I can copy over APK files for installation via the file browser on the device as at the moment APK file transfer is blocked (I don't have the apk copying issue on a non-rooted galaxy s4 however).

 

 

Anyone got anything?

 

D

 

 

 

PS. Adobe - Image upload doesn't work on this forum editor (chrome).

New to Flash Builder/Developing for mobile. What Application Type should I select? Web or Desktop?

$
0
0

I am new to Flash Build and I'm starting a new project that will go on mobile (iOS and Android). When I create a new ActionScript project:

  1. What option do I select for “Application Type.” Web or Desktop? During the project I will have to test so does this matter?
  2. Is it possible to switch from a Web application type to a Desktop after I’ve made a selection? If so where to I change that setting?

 

ApplicationType.PNG

Installing flash builder 4.7 on a computer with no internet connection

$
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

How do I request a security policy file with sockets?

$
0
0

I can send a single socket command to my C/C++ server.

But I never get the policy request packet?

About 3 years ago my code worked fine, but now it seems like I don't get the "security policy request" to my C/C++ server.  It is set up to send the correct response if I got it.

 

I can post my code on paste.bin if it could help.

 

Is there a better actionscript forum to ask this question on?


AS3 TextField and TextFormat memory leak “other bitmap memory”

$
0
0

I've run into a memory leak problem during programming AS3.

 

 

I try to format a text in as3 and adding it to the stage, but there happens something crazy.

 

 

This is a part of my code:

 

var format:TextFormat = new TextFormat();        format.size = 60;        var t:TextField = new TextField();        t.autoSize = TextFieldAutoSize.LEFT;        t.text = "WWWWWWWWWWWWWWWW";        t.setTextFormat(format);        t.scaleX = 1;        t.scaleY = 1;        this.addChild(t);

 

The moment I add this textfield to my stage and check the memory usage with adobe scout CC the "other bitmap memory" shows nothing weird and acts just fine.

 

 

BUT...

 

 

When I run this code and add a capital W to the text the "other bitmap memory" goes crazy.

 

 

The crazy thing is when I add a letter I to the text it just runs normal.

 

 

I think it has something to do with the width or the size of the font. Increasing the font size will give the same problems.

 

 

Does anyone now how to prevent this problem???

 

 

Im working with adobe flash builder 4.7 and adobe scout cc.

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

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!

Converting an MOV into an SWF

$
0
0

I was told that I need to use my Adobe software (Adobe Creative Suite CS6 Master Collection) to make this conversion.  I have a customer that wants me to convert an MOV file to a Motion SWF file with the following parameters (What settings do I use, and how do I play the video back on my AVID computer?):

 

IMPORTANT GUIDELINES FOR PREPARING YOUR MOTION FILE
Motion Flash (SWF)
• Your motion ad must contain an action-script STOP on the last visual frame at least 3 seconds in prior to the end of your allotted time duration. (As for example, a 10 second spot must have all motion STOP around the 7 second mark – the remaining 3 seconds will simply remain stationary on
the last visual frame of creative). Looping files (repeating) won’t be accepted. Please keep in mind that this STOP command ensures your ad to run smoothly and will eliminate an abrupt ending.
• Recommended frame-rate: 15-20 fps.
• In general, avoid long tweens, 3-5 frame tweens are optimal. This also includes alpha fades and color shifts.
• No multi-level files or nested movie clips. Animation must be contained in (1) SWF file.
• Audio is not supported. Remove all audio tracks from the file.
• Be sure to resize and color correct images PRIOR to importing into Flash.
• Provide a "landing pad" (a single visual that doesn’t move at the end of the animation) designed to be at least 20% of the total length of your animation. The landing pad will enhance visual impact and provide headroom for an animation that might play too slowly.
• When exporting the .SWF, set JPEG quality to 50-60%, do not password the file.
• Avoid large amounts of text, or text under 10 pt. Screen images should be easily readable at a distance of 3 feet.
• Be aware that using programs like After Effects and Fireworks and then exporting the finished animation to .swf will generally result in poor performance since the export converts vector objects to bitmaps. Crisp edges and smooth playback are compromised.
• Review/ Test the final .SWF for color, quality and to ensure that all requirements have been met prior to submitting.

flash builder 4.6 flex for mobile with mysql php and json

$
0
0

I am trying to create an app that get data from online mysql server via php service and displays the data in a list

I have been looking all over the internet but had no success in finding a working tutorial and i am frustrated

can anyone help or direct me to a working tutorial please ?

Setting background image on Flash Builder 4.5 application

$
0
0

Hi,

 

I would like to set a background image on my Flash Builder 4.5 application. Does anyone know how to do this? Haven't seen an example that does this. Flex 3 made this very easy to do, but not 4.5

 

 

Thanks

How does one clean ones cache in FlashBuilder?

$
0
0

I am working on a project. Everthing was working fine... except I started to realise that things were doing things it is not supposed e.g. If I add a button (a simple button). During run time it does not appear. I then started deleting code to create a run time error but during run time the project works 100%. The net result is, I cannot do anything to the project because the outcome is always the same??????????

 

How does one clean ones cache?

 

Can somebody please advise me?

 

Dimitri


How to convert .p7s certificate into .p12 certificate

$
0
0

Hello,

 

I have got .p7s global signed developer certificate from client.

I am not able to directly use it for building my air application.

Can anyone have an idea about how to use this certificate?

Or how to convert it into valid .p12 file format?

Its urgent please help.

 

Thanks

Dhwani

Can't Connect to Remote MySQL (60)

$
0
0

I'm trying to connect my project to a remote mysql database, but I'm getting this error:

 

Server error Can't connect to MySQL server on 'ipaddress' (60)

 

I'm using the same connection settings that we use on our regular non-flash website. Doesn't anyone know what 60 means?

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.

Writing to files fails on release builds.

$
0
0

Hello,

 

I've been attempting to save the state of my game to disk.  I've tried using both SharedObject and just writing my own file using File.applicationStorageDirectory.  Both of these work fine with a debug build.  However, both fail to write files if I use release build.  What gives?  Do I have to have a certificate from Microsoft or Android to save files from a release build AIR application now?

 

I'm using Windows 8.1, Android 4.4.2, AIR SDK 13, Flash Builder 4.7, .  Both Windows and Android will save files from a debug build.  Both will not save files from a release build.  I am using a self signed digital signature, it has been around a while.  Do I need to generate a new one?  Or is there a different problem?

 

Update

I created a fresh Actionscript Desktop (Adobe AIR) project, imported the previous projects code, and got it running.  Same problem.  I tried native installer and application with captive runtime.  Release builds cannot write to the applicationStorageDirectory or the documents directory.

 

Update 2

So, the issue appears to be a serialization problem with the builtin JSON.  JSON.stringify is throwing an error in the release build, but not in the debug build.  Admittatly I was throwing a fairly complex object at it, however the behavior change between the builds seems poor on adobe's part.  To get around this I downloaded the ac3corelib, gutted, and refactored the object serialization component to fit my needs.  The complex object is handled in a more simple manner and it works.  Disappointed in adobe's serialization, but from what I see around the net that is pretty common.

what to put on the web root and root url for flash builder 4.6 php service ?

$
0
0

i am on ipage.com !

i used wamp and c:/wamp/www with http://localhost and worked fine

now i want to connect to my online mysql database ? how can i do that?

what do i put for the web root and root url ?

i looked all over the web and found nothing useful

Viewing all 70427 articles
Browse latest View live


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