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

FB 4.7 Bug - Build Error 'Negative Time'

$
0
0

I've encountered a show stopper bug in FB 4.7, I get this everytime I try to build:

Errors occurred during the build.

Errors running builder 'Compiler' on project 'Bardbarian'.

Negative time

 

It seems to be related to copying files into bin-debug. If I un-check 'Copy Non-Embedded Files to output folder', then the build works, but I must manually copy my dynbamically loaded files into bin-debug.

 

Here's a short video showing the issue:

https://vimeo.com/56590920


Multiple Flash Builder Installations

$
0
0

I have Flash Builder 4.5 installed on my PC. I want to install Flash Builder 4.7 also leaving Flash Builder 4.5 untouched. (I want to migrate my apps from 4.5 to 4.7 gradually over a period of time testing each carefully.)  Is this doable? If so, how can I do this? Thanks.

import flash movieclip into flashbuilder

I use chrome on windows. Every time I am on Facebook and I am trying to play a game I get a message that says flash player has stopped working. how do i make it work?

$
0
0

I use chrome on windows. Every time I am on Facebook and I am trying to play a game I get a message that says flash player has stopped working. How do i make it work?

Getting error: "An internal build error has occurred... " when compiling

$
0
0

I am getting this error after upgrading to Flash Builder 4.5 from Flex 3. This error was not occurring under Flex 3.

 

I do not have an empty Case statement. If I remove a particular module from the Flex Modules list in the project propertues, the error does not occur, but of course no swf is generated so the module cannot be loaded at run time.
I have gone through the module in question with a fine toothed comb but cannot find any syntax errors

 


An internal build error has occurred. See the error log for more information.    Culinaria        Unknown    Flex Problem

 

null
Error
Mon Jun 20 10:41:22 CEST 2011
Uncaught exception in compiler

 


!ENTRY com.adobe.flexbuilder.project 4 43 2011-06-20 10:41:22.623
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.NullPointerException
    at flex2.tools.PreLink.lookupStyleName(PreLink.java:719)
    at flex2.tools.PreLink.lookupBackgroundColor(PreLink.java:518)
    at flex2.tools.PreLink.postRun(PreLink.java:181)
    at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1592)
    at flex2.tools.oem.Application.compile(Application.java:1349)
    at flex2.tools.oem.Application.recompile(Application.java:1287)
    at flex2.tools.oem.Application.compile(Application.java:886)
    at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:359)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(A SApplicationBuilder.java:319)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ModuleBuilder.build(ModuleBuilder.java:1 37)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:198)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:7 0)
    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectB uilder.java:575)
    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildModules(FlexProje ctBuilder.java:474)
    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:363)
    at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:187)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

FlashBuilder 4.6 won't install on Win7, 64bit or WinXP 32bit -- tried 4 different computers.

$
0
0

Hello,

 

There seems to be something wrong with the Flashbuilder 4.6 installation for Windows. I've downloaded the installation 3 different times (the download completes successfully each time), and tried installing it on 4 different computers 3 with Windows 7, 64bit OS and one with Windows XP 32bit OS. It hangs every time on the same spot, when it is trying to extract the files for the installation. It says "A problem has occurred while extracting some files. It appears it's always after or on the "updateInventory.dll" extraction. The installation doesn't actually ever get a chance to start, it's failing on the extraction of the files to install.

 

Install File: FlashBuilder_4_6_LS10.exe 806 MB (845,374,656 bytes)

 

Does anyone have any ideas of how to work around this issue? I'm not sure that anyone with Windows could possibly use this product (trial or purchased) with this issue. (not a great release Adobe!)

FlashBuilder4_6_InstallFail.png

 

Message was edited by: MikaelaS12 -- added more info on not working on WinXP either. (4th different computer.)

Streaming Video To Flash Builder 4.6/4.7 Mobile Apps! Watch the Video...

$
0
0

For anyne interested in learning how to create a "Video-On-Demand" service for your Flash Builder 4.6/4.7 Mobile Apps, this video series could be for you.  I have new videos coming all the time, so hope this helps!

 

Here's the How-To video for setting up your Amazon Web Services STREAMING VIDEO SERVER:  VIDEO

 

Craig Workman - Software Architect at SwitcHHat.com

Flash Builder embed video in different stages

$
0
0

Hi, I'm Paulinho Cé from Brasil and i have aproblem toembedyoutubevideosonmysitein different stages FlashBuilder.

I have10 videos and want todisplay themin theevent of each button corresponding toadifferentstage.

This codeworksin themain applicationbutnotin the stagesof the site,becausethe functionsand variablesareglobal andcan not changetheurlof the videotoavideodisplaydifferentlyat each stage.

 

 

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

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"

layout="absolute" verticalAlign="top"

creationComplete="Init();" >

<mx:Script>

<![CDATA[

private function Init():void

{

var url:String = "http://www.youtube.com/v/zlfKdbWwruY&hl=en&fs=1";//url extracted from embed code

Security.allowDomain(url); //allow domain

youtubevid.load(url);//load video

}

]]>

</mx:Script>

<mx:VBox width="100%" height="100%" horizontalAlign="center" verticalAlign="top" verticalGap="0">

<mx:Label text="YouTube Video Embedded Inside Flex" width="100%"  color="#060809" textAlign="center" fontSize="16" fontWeight="bold"/>

<mx:SWFLoader id="youtubevid" verticalAlign="top" horizontalAlign="center"  width="425" height="344"/>

</mx:VBox>

</mx:Application>

<iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/kdhuQJRW6kA" frameborder="0" allowfullscreen></iframe>

 

 

Because thissolutionisof extreme importance to me,I requestthe helpofexperts, whichimmenselygrateful.

 

Thanks for all,

 

Congrat's

 

Paulinho Cé


USB Debugging Android OS 4.2.x or Above Failing

$
0
0

Hey all,

 

I starting to get more and more devices that both don't come with a USB driver (relying on MTP) and fail to authorize themselves with Windows. Not all 4.2 devices do this however, I'm noticing Samsung is pretty special in this way.

 

I have the latest Android SDK, the default google USB driver as well. 'adb devices' continuously shows devices as 'unauthorized'. I've read people do simple things like unplug/replug, uncheck/recheck USB debugging, restart the device and all possible combinations of those things in any order. My older devices dutifully ask me upon connection or USB Debugging enablement if the PC I connected it to is allowed and once I click OK the device is authorized (like my 4.1.2 Samsung Galaxy S3). This screen NEVER comes up on newer devices, never offering a way to authorize the device.

 

Android devices that work

  • Samsung Galaxy S3 (4.1.2)
  • Samsung Galaxy Tab 2 7" (4.1.2)
  • ASUS Transformer 10.1" (4.0.3)
  • ASUS Transformer Infinity 10" (4.2.1)
  • Lenovo IdeaTab 7" (4.0)
  • ASUS MeMO SmartPad 10.1" (4.1)
  • Sony Xperia Tablet Z 10" (4.2.2)

 

Devices that refuse to authorize:

  • Samsung Galaxy S4 (4.3)
  • Samsung Galaxy Note 3 (4.3)
  • Samsung Galaxy Tab 3 8.0" (4.2.2)

 

The obvious trend here is, Samsung and anything over 4.2 doesn't seem to work (allow authorization). I can find nothing but Kies software with a "reinstall USB driver" option which I've installed and tried but these devices merely are visible in windows, allow file transfers with no issues, show up in 'adb devices' as 'unauthorized' and in Flash Builder 4.7 they show up as their serial numbers, 'online' and AIR is not installed, with no OS version.

 

Has anyone had any luck with a late Samsung device and USB debugging, or getting the devices to authorize with the OS? As much as I've narrowed it (which doesn't help) is OS 4.2 and up now ask for a RSA fingerprint for authorization from Windows whereas 4.1 and below do not. Somehow only the older Galaxy Tab and Sony are getting this. I guess Samsung is just having an issue (with Win7 Pro 64bit).

 

Any native developers know how to force a device to authorize?

 

Thanks!

Flash Builder 4.7 mac , after upgrade to adobe air 13/14 wont create new projects

$
0
0

im running flash builder 4.7 on mac, and recently upgrade to a newer air, this was sad in itself as flash builder dosnt have a mechanism for doing this you have to paste files all manually all over the place.

Im now running into an issue where I cannot even create projects.

 

Has anyone had this issue? does anyone know how to solve?

 

Thanks

Please Help! Can't update flash player debugger

$
0
0

I can not update my Flash Player Debugger. I download it and go through the install process, everything looks good. But I can't find it nor can Flash Builder. I'm on  a Mac and I use Chrome. Is Chome's player confusing Flash Builder? When I go to sites to test the Player, I see that the Flash Debugger is installed, but Flash builder can not find it.

 

How do I update the Flash Player Debugger for Flash Builder?

 

Thanks!

Flash Builder and Akamai Stream

$
0
0

HELLO , I have an akamai stream live and i need to place the stream in a mobile app on flash builder software, can you help to do this?

 

i have a m3u8 url to my stream it can help? please help me.Thanks

Can someone please tell me why my flex swf isnt appearing in firefox?

$
0
0

Like the title says, could someone possibly explain to me what im doing wrong with embedding this swf? **My code works fine in chrome**...But doesn't appear in FireFox, and it look compacted in IE, like its only set to a 5% height or something.

 

 

All I want to do is have the swf scale  to 80% width(then i use the margin:0 auto; to center it), then 75% height. Theres a header, small ad at the top, and a footer at the bottom. All while being compatable with Chrome, FF, IE.

 

 

Incase possibly this matters..in my Flex Project I set the swf height and width to 100%. I figured since it's being embeded inside the `.mainContainer` div, the swf would then assume its parent(mainContainer)'s width and height wich is set to width:80% and height:75%. **And it does it chrome just fine** but like i said above the swf doesn't appear in FF. I thought maybe i should note this incase it's necessary information to solve this bug.

 

 

I didn't think this would be too hard but I can't seem to get the swf to load in FF. I'm seeing the swf making connects to some netConnections and stuff like its there, i just cant see anything.

 

 

-What am i doing wrong?

-Is there a better way I should be implementing the swf?

-How can i figure out whats wrong on my own in the future?

 

 

(im so used to working in Flash builder on flash projects, the debugging is so simple, informative, and easy to use. With only having access to "inspector" in chrome which never spits out any useful information I feel like im coding in the dark compared to using eclipse)

 

 

 

 

**EDIT:**

1 more thing I should mention. Pretty much the entire "embed" code provided here was auto generated by Flash Builder. I created .mainContainer around the "embed" code and all the extra  divs around it... my header, footer,ect. Without any of my extra content, the swf appears just fine like you would expect it in firefox. SO my point in saying this is i do not think its **literally** the embed code. Because that embed code works in FF. It's just how im implemented my header, and div around this flash content that seems to break the code in FF for some reason.

 

 

 

 

 

 

 

 

 

 

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

        <head>

                     <title>TestApp</title>

                        <meta name="google" value="notranslate" />

            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

            <link href="assets/css.css" rel="stylesheet" type="text/css" />

            <link rel="stylesheet" type="text/css" href="history/history.css" />

            <?php

                        if(!isset ($_GET["chan"]))

                        {$chan="random";}

                        else

                        {$chan = preg_replace('/[^a-z]/', "", strtolower($_GET["chan"]));}

                        ?>

            <script type="text/javascript" src="history/history.js"></script>

            <script type="text/javascript" src="swfobject.js"></script>

            <script type="text/javascript">

                var swfVersionStr = "10.2.0";

                var xiSwfUrlStr = "playerProductInstall.swf";

                var flashvars = {chan: "<?php echo $chan ?>"};

                var params = {};

                params.quality = "high";

                params.bgcolor = "#ffffff";

                params.allowscriptaccess = "sameDomain";

                params.allowfullscreen = "true";

                                  params.wmode="transparent";

                var attributes = {};

                attributes.id = "TestApp";

                attributes.name = "TestApp";

                attributes.align = "middle";

                swfobject.embedSWF(

                    "TestApp.swf", "flashContent",

                    "100%", "100%",

                    swfVersionStr, xiSwfUrlStr,

                    flashvars, params, attributes);

                swfobject.createCSS("#flashContent", "display:block;text-align:left;");

            </script>

        </head>

        <body>

        <div class="wrapper">

                  <div class="TopBar">

                      <div class="homeBarBtnsHolder">

 

                            </div>

                  </div>

 

 

    <div class="topad">

    <!-- google ad-->

    </div>

 

 

    <div class="mainContainer">

        <!--embed -->

 

            <div id="flashContent">

 

                <p>

                    To view this page ensure that Adobe Flash Player version

                    10.2.0 or greater is installed.

                </p>

                <script type="text/javascript">

                    var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");

                    document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"

                                    + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );

                </script>

 

            </div><!--flashContent -->

 

            <noscript>

                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="TestApp">

                    <param name="movie" value="TestApp.swf" />

                    <param name="quality" value="high" />

                    <param name="bgcolor" value="#ffffff" />

                    <param name="allowScriptAccess" value="sameDomain" />

                    <param name="allowFullScreen" value="true" />

                    <param name="wmode" value="transparent" />

                                        <param name="FlashVars" value="chan=<?php echo $chan ?>" />

                    <!--[if !IE]>-->

                    <object type="application/x-shockwave-flash" data="TestApp.swf" width="100%" height="100%">

                        <param name="quality" value="high" />

                        <param name="bgcolor" value="#ffffff" />

                        <param name="allowScriptAccess" value="sameDomain" />

                        <param name="allowFullScreen" value="true" />

                        <param name="wmode" value="transparent" />

                                                  <param name="FlashVars" value="chan=<?php echo $chan ?>" />

                    <!--<![endif]-->

                    <!--[if gte IE 6]>-->

                        <p>

                            Either scripts and active content are not permitted to run or Adobe Flash Player version

                            10.2.0 or greater is not installed.

                        </p>

                    <!--<![endif]-->

                        <a href="http://www.adobe.com/go/getflashplayer">

                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />

                        </a>

                    <!--[if !IE]>-->

                    </object>

                    <!--<![endif]-->

                </object>

            </noscript>  

 

            <!--embed -->

            </div><!--mainContainer end -->

 

 

              <div class="push"></div><!--this is the push to make my footer stick to the bottom-->

           </div> <!--wrapper --> 

 

           <div class="footer">

           <p>Top part of footer infoHere</p>

           <p>Lower part of footer infoHere</p>

           </div>

 

       </body>

    </html>

 

 

 

 

 

 

css.css

 

 

        html, body {

              height:100%;

              width:100%;

    }

    body {

              margin:0;

              padding:0;

              overflow:auto;

              text-align:center;

              background: url('../../assets/images/homeBG.png') repeat-x;

              font-family: Helvetica, Arial, sans-serif;

              font-size: 14px;

    }

    object:focus {

              outline:none;

    }

    #flashContent {

              display:none;

    }

    .mainContainer {

              min-width:340px;

              min-height:500px;

              height: 75%;

              width:80%;

              margin:0 auto;

              padding:0;

    }

    .wrapper {

    min-height: 100%;

    height: 100%;

    width:100%;

    height: auto !important;

    margin: 0 auto -200px;

 

    }

    .TopBar {

              background: url('../../assets/images/TopBarBG.png') repeat-x;

              text-align: left;

              height:50px;

              width:100%;

              box-shadow: 0px 7px 16px rgba(0, 0, 0, 0.65);

              -moz-box-shadow: 0px 7px 16px rgba(0, 0, 0, 0.65);

              -webkit-box-shadow: 0px 7px 16px rgba(0, 0, 0, 0.65);

              margin-bottom:15px;

    }

 

    .footer, .push {

    height: 200px;

    text-align:center;

    clear: both;

    width:100%;

    }

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)

Cannot download AES plugins for Adobe Flash Builder CS6 v 4.6

$
0
0

I have Adobe Flash Builder CS6 version 4.6 on my Mac and it start and run fine

 

 

I try to download AES 4.5 plug-in for Flash Builder 4.6 from the Help-Software Update menu.

 

Most plug ins were successfully downloaded and installed, except one from Adobe (AES plugin 4.5)

 

 

I come across an error dialog that read: Problem Occurred: Contacting Software Sites has encountered a problem. and: No repository found at http://aesplugins.adobe.com/aes/tooling/plugin/10.0

 

 

I have tried to use web browser to go to the address above directly and the result is:

 

 

Object not found!

 

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

 

 

If you think this is a server error, please contact the webmaster.

 

 

Error 404

 

aesplugins.adobe.com

 

Apache

 

 

Help please. How can i fix this problem.

 

 

Regards

 

Sanchai Thiewprasertkul

 

Bangkok, Thailand

 


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

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.

Flex Builder 4 / Flex 4 issues!!

$
0
0

Posted the same in the Folder 'Flex', ...(received no replies though.. ..so posting here)

 

Project built on Flex 3 was migrated to Flex 4. Now, every time the Project is built, the 'Building workspace' turns up and the continues upto 27% and then the IDE hangs.(this % value sometimes increases to 47%)..

Now, the same project, when built on Flex3, builds super quick.

 

I am running Flash builder 4 on Windows XP,SP3, 2GB RAM,AMD Athlon Dual Core processer (if this helps..   )

Should i upgrade the machine??

Should i change any settings in the IDE?

 

Please advice!

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 to setup Flex SDK with latest AIR SDK?

$
0
0

Now the latest AIRSDK web page has a small link at the bottom for Flex users and it states that Flex users should take the SDK version without the compiler. BUT....

the http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html page says to download the SDK from

http://labs.adobe.com/downloads/asc2.html

but this page now redirects to:

http://helpx.adobe.com/air/kb/archived-air-sdk-version.html

which contains a large list of archived SDK's. So that help page never really says which version of the SDK to use - with or without the compiler. But other forum posts have implied its suppose to be the one with the compiler.

 

Now since we're overlaying the ...plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK folder that would make sense.

But now there's a second overlay instructions page at:

http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html

with different instructions.

 

So my questions are:

   Which overlay instructions are we really suppose to use?

   Which version of the AIR SDK (with or with-out compiler) are we suppose to use?

   What does the Flex Library Project properties -> Flex Library Compiler -> 'Include Adobe AIR libraries' checkbox really do?

        If I've followed the (first) overlay instructions above, does this checkbox now mean I'm using the overlaid AIR SDK 3.6

        with the current Flex SDK I've chosen?

        What if I'm using the Apache Flex 4.9.1 SDK? Will the AIR SDK 3.6 overlay that?

            (Doesn't Apache Flex have AIR 3.4 embedded - will this confuse Flash Builder 4.7 ?)

 

Is it just me, or is this just getting more and more confusing? Can we perhaps get a AIR SDK combo box to go beside the Flex combo box and when we check the 'Include Adobe AIR libraries' then we can select the AIR SDK we want? And get a 'configure AIR SDKs...' link too? Then perhaps we can get completely away from overlays and all this merged SDK nonsense. I've had nothing but problems with it.

 

The real reason I need all this info is because I'm trying to use Flash Builder 4.7 to build an Android ANE and I'm having a devil of a time just trying to find my resources. When I use context.getResourceID() I'm not getting the correct resources - and after reviewing other posts here I came to the conclusion that it might be due to bugs in older AIR SDK's. So really, at the moment I could care less about the latest Flex SDK, I just need to know I'm working from the latest AIR SDK.

 

Thanks in advance.

Viewing all 70427 articles
Browse latest View live


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