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

Flash IOS StageWebView has no sound

$
0
0

Hi guys,

 

I would like just to ask if you have encountered rendering an html5 with video tag on your air application and ending up with no sound.

I'm just wondering because when a deployed it on my ipad, the video works perfectly but theres no sound playback.

 

I hope you could help me guys. I'm already in pain for the past 2 days.

 

Heres my code:

protected function onAddedToStage(evt:Event):void

  {

       var webView = new StageWebView();

       webView.stage = this.stage;

       webView.viewPort = new Rectangle( 0, 0, 500, 400);

       var path:String = new File(new File("app:/html/test.html").nativePath).url;

       webView.loadURL(path);

}

 

html file:

<html>

<head>

<title>Test</title>

</head>

<body>

  <video width="500" height="500" controls>

   <source src="Eh_1.mp4" type="video/mp4">

  Your browser does not support the video tag.

  </video>

 

 

</body>

</html>

 

Thank you so much guys.


ASDoc Error on AIR

$
0
0

Hi,

 

I am trying to generate a asdoc file from the FlashBuilder 4.5 using FlexSDK 4.5 & AIRSDK 3.1 with query

 

When I am applying following command

asdoc -library-path+=C:\ProjectName\libs -doc-sources C:\ProjectName\src -main-title "Flex API Documentation" -window-title "Flex API Documentation" -output C:\Documentation\U7

 

I got following error for the Windowed application, FileSystem and other AIR component error.

 

E.g. 1. Error: Unable to locate specified base class 'spark.components.Window' for component class

       2. Access of undefined property FileMode.

                                        fileMode = (clear ? FileMode.WRITE:FileMode.APPEND);

 

 

Can anyone please help me in this.

 

Thanks

Flash Builder 4.7 - Command line ExportReleaseBuild unable to compile to Captive Runtime?

$
0
0

Hi,

 

I am working on a project with the following setup:

- AIR Desktop running with the ExtendedDesktop Profile with GPU rendermode

- Apache Flex SDK 4.11

- SWF version 18

- Implements the FRESteamWorksNative Extension

- Flash Builder 4.7 Premium is our work enviroment

 

Our problem is that we can compile the project in Flash Builder manually as Captive Runtime, but when we run it with ExportReleaseBuild in our build.xml, it seems to forget our Captive runtime target and just outputs the installer.

 

This is our buildscript:

 

build.bat:

SET FLASHBUILDER="%ADOBE_PATH%\%FLASHBUILDER_PATH%\FlashBuilderC.exe"

%FLASHBUILDER% --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "%WORKSPACE%" -file "%BUILDXML%" desktop

 

build.xml:

<target name="desktop">

     <fb.exportReleaseBuild verbose="true" destdir="bin-test" project="ProjectName" basefilename="ProjectBaseFileName" packagetype="native" certificate="Certificate.p12" password="passwordToUse"/>

</target>

 

.actionScriptProperties:

<buildTargets>

    <buildTarget buildTargetName="default" platformId="default">

      <airSettings airCertificatePath="Certificate.p12" airTimestamp="true" anePathSet="true" version="1">

        <airExcludes/>

        <anePaths>

          <anePathEntry path="steamworks/FRESteamWorks.ane"/>

        </anePaths>

        <newLaunchParams/>

        <modifiedLaunchParams/>

        <newPackagingParams/>

        <modifiedPackagingParams>

          <Parameter name="-target" value="air-captive"/>

    <Parameter name="-extdir" value="steamworks/"/>

        </modifiedPackagingParams>

      </airSettings>

      <actionScriptSettings version="1"/>

    </buildTarget>

  </buildTargets>

 

Any help with this is much appreciated, and if I missed something, please let me know.

Flash Builder 4.7 Freezing

$
0
0

Out of curiosity does anyone else have problems with Flash Builder 4.7 freezing while building? I will save a file and it generally seems to freeze on 3% or 27% (those numbers might be related to my project, obviously). This happens several times each day. I have to force it to close and relaunch. Not a big deal since I don't lose any code but it's just more of an annoyance because it interrupts my workflow and the tabs I had open don't save.

Launch Failed - Flash Builder 4.7 (AIRSDK 3.9)

$
0
0

Hi Guys,

I've performed some changes to my code and saw that they did not apply.
Anyway, I decided to clean the project and ever since I have been receiving the following message:

Process terminated unexpectedly.

initial content not found

Launch command details: "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\runtimes\air\win" -profile mobileDevice -screensize 768x1004:768x1024 -XscreenDPI 132 -XversionPlatform IOS "C:\Users\Aviv\Adobe Flash Builder 4.7\PuzzlepediaMobile\bin-debug\PuzzlepediaMobile-app.xml" "C:\Users\Aviv\Adobe Flash Builder 4.7\PuzzlepediaMobile\bin-debug"

I can't seem to trace the issue, it seems to be related to some resolution factor but I'm not sure.

Please assist, your help is greatly appreciated, thanks.

including .as files in FB 4.6 while preserving code hinting and completion...

$
0
0

Im working in flash builder 4.6 and having a blast... one thing Id like to do to keep my code better organized is have external files (.as presumably) that each represent a modular code block / process / function then just be able to edit those respective files and STILL have the cool code completion and hinting that shows when Its all in the main mxml document.

 

Is that something that Flash Builder supports?

 

 

Another code editing question that comes to mind is regarding 'code folding'... neat feature and I used to use it alot in Dreamweaver -- but always thought it would be MORE powerful if the user could 'save' or 'persist' folded code so that if I have folded areas, close the file and then resume editing, it remembers the code folding ... does FB support something like this?

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

$
0
0

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

Where to download Adobe Flash Builder Std 4.5?

$
0
0

I have a serial number for Flash Builder Std 4.5.

 

But I can't find the download link for Flash Builder Std 4.5.

 

When I tried with Flash Builder 4.7.  It says serial number is no good.


Flash Builder crashes on loading Workbench - Mac 10.7.4

$
0
0

Flash Builder crashes whenever it starts loading the workbench. Is there anyway to fix this? I searched for a possible solution and only found one, cleaning the workspace. I would try it if I knew where to go. This happened all of the sudden and I did nothing to flash builder previously.

FlashBuilder 4.7 command line fails due to "Exception in com.adobe.flexbuilder.codemodel.CMCoreActivator.start() of bundle"

$
0
0

Hi,

I'm facing this issue:

 

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.


By the way, I’ve overlaid FB 4.7 with AIR SDK 14 (which works fine in GUI).

By the way2, I think the following thread reports exactly the same issue but is yet not answered:

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

 

here is the XML:

 

<?xml version="1.0"?>

<project default="main">

    <target name="main">

         <echo message="Info: Starting main target"/>

        <fb.exportReleaseBuild project="888PokerAndroid_3_2_0" destdir="c:\temp\erez_test" platform="android" verbose="true" android.password="poker" packagetype="platform" />

    </target>

</project>


it works fine in the GUI.

 

any ideas?


here is how I run it:

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

Buildfile: c:\FB\build_888PokerAndroid_3_2_0.xml

 

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 .

 

any suggestions?

 

thanks,

Erez.

Tour de flex down. Reports "no internet connection"

$
0
0

7/2/2014: Tour de Flex: Tour de Flex | Adobe Developer Connection does not seem to be be working. Comes up with the following message:

 

"Tour de Flex is OFFLINE

 

If you are seeing this, Tour de Flex has not detected an internet connection and you are offline. Most of the AIR samples will work offline but many other samples require an internet connection."

 

Most examples don't work in this state. My internet connection is fine (using it now to enter this post). This has been going on for the last month. Before that it worked. I get the same result on all my machines. It appears that Adobe has turned off the server component. If this is the case.. that's bad for developers. Tour de Flex was the most useful tool around to help build Flex proficiency. The Apache Flex site examples are utterly dismal and useless. There is no substitute that I've been able to find for Tour de Flex.

 

Can anyone tell me what the status is of this tool? Is Apache taking it over? Why would Adobe take it down before it's migrated?

Flex mobile

$
0
0

Is it possible to build a flex mobile app that downloads a zip file from a remote server to the users device and extracts it for us within the app?

Just need to know if its possible or are there security restrictions that apply.

HELP Login with 2 types of users: Admin and User - FB4.6

$
0
0

Hello forum

 

i need some help from experts here.

im creating a small project where i want to have 3 kind of users to login and based on there role go to their page.

I have a Admin role, Sales Rep role and Retailer role.

 

I have a Main.mxml that has a viewstack on it loading each module.

I have 4 Modules: Login.mxml, Admin.mxml, Sales.mxml and Retailer.mxml.

 

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

<data>

    <user>

        <userID>01</userID>

        <userName>admin</userName>

        <email>xxx</email>

        <password>123456</password>

        <role>Admin</role>

    </user>

    <user>

        <userID>02</userID>

        <userName>user</userName>

        <email>xxx</email>

        <password>123456</password>

        <role>Sales</role>

    </user>

    <user>

        <userID>03</userID>

        <userName>retailer</userName>

        <email>xxx</email>

        <password>123456</password>

        <role>Retailer</role>

    </user>

</data>

 

I want to be able to when one of this 3 login it send them to their module.

 

What is the best way to do this

Any help please

I Need Help :)? What piece of software, makes this website work for making customer t-shirts maker? Thanks. http://www.uberprints.com/studio

How to override styles of existing Skin(Cobalt Graphical) using MX Component?

$
0
0

Hello ,

We are using Flash Builder 4.7 with ASP.Net 4.0 in our application. The generated SWF is getting integrated in web page.

I need to override few styles of existing skin (Cobalt Graphical - using MX Components). Can someone guide where and how to customize the existing skin classes ?

 

Thanks,

NS


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.

Problem in Google Chrome

$
0
0

<s:VideoDisplay  mediaPlayerStateChange="loading(event)" id="myPlayer" source="rtmp://xxxxxx width="100%" height="100%">

  </s:VideoDisplay>

 

When i compile and run the above code it is working fine in Firefox and IE but not in Google Chrome.

 

Thanks for support in advance.

mac printarea different

$
0
0

Hello!  I love your Adobe products.

I was working with flash builder 4.6 on MacOS 10.8.5.

My problem is that printableArea of the PrintJob class in Web-version is different with Air-version.

My coding here...

>>> Air-version

myPrintJob.addPage(_page, PrintJob.printableArea);

>>> Web-version

myPrintJob.addPage(_page, new Rectangle(

     (myPrintJob.paperWidth - myPrintJob.pageWidth) / 2,

     (myPrintJob.paperHeight - myPrintJob.pageHeight) / 2,

     myPrintJob.pageWidth,

     myPrintJob.pageHeight

));

I debugged the value. The paper is "A4".

- Air-version

PrintJob.printableArea = (18, 18, 559, 783)

- Web-version

myPrintJob(paperWidth = 595, paperHeight = 842, pageWidth = 559, pageHeight = 783)

But… Printed result as PDF is a lot different.

WHAT HAVE I MISTAKE?

If you want, I can send the printed result as pdf.

 

I Hope your answer.

Thank you.

4.7 actionscript project with two .as files

$
0
0

hi,

Using FB 4.7 to make actionscript project with two .as file: Main.as and GFX.as. There are variable in GFX that Main cannot access. WHat do I need to do to the GFX.as file to make the variables it declares readable by Main.as?

 

Thanks

GReg

Will Flash Builder 4.7 supports Flex 3.5 SDK

$
0
0

Does Flash Builder 4.7 Premium supports using Flex SDK 3.5 version. I have an existing application build on Flex SDK 3.5. Can I use FLash Builder 4.7 to make any enhancements on this existing application?

Viewing all 1802 articles
Browse latest View live


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