Flex :: Unable To Export As EXE In Release Build
Nov 28, 2010On Windows XP 32bits, I find it strange that the FB4 Export Release Build doesn't have the option to export as EXE in contrast to the one I have in W7 64bit?
View 1 RepliesOn Windows XP 32bits, I find it strange that the FB4 Export Release Build doesn't have the option to export as EXE in contrast to the one I have in W7 64bit?
View 1 RepliesWhen I try to export my application to native installer with using Export Build Release, it isn't importing my sqlite database files which are in my application directory. Is there a way that I can import those database files ?
View 1 RepliesI opened up an old project in Flex Builder 3 which runs on Adobe AIR 1.0. I believe it was originally written in Flex Builder 2. When I try to run the Adobe Air application, nothing happens. When I try to export a release build, I get this error: If I change the main-app.xml file to use the 1.5 version of the namespace, it builds fine. Unfortunately, the clients environment runs on 1.0. Ideas?
View 2 RepliesSo I was working normally, and accidentally hit the profiling button after that, I later decided to export my current.air.URL...Why would the export button disappear all the sudden? I cannot find it at all. It seems rather interesting not being able to export a .air and provide an installer.
View 1 RepliesI tried to built a project with AS3 only in Flex. When I run the project in flex, everything looks fine,but when I export the release build, the images that are supposed to be added are gone.
[Code]...
I have an AIR application i'm trying to release with flexbuilder. Launching application has no problem ... bin-debug dir is correctly filled with my files. But when i want to create the AIR file (export release fuild), AIR files content view is empty and bin-debug directory is never filled.
View 4 RepliesI made an application in Flex 4. When I export a release build, it generates a whole bunch of files. (including the skins used, etc, etc.)How do I make those plentiful files except the container HTML file, get compiled into a single SWF file?E.g.My folder should only contain:
my_app.swf
my_app.html
But my_app.swf should still run like a normal Flex 4 app, only this time, all the files, images, skins, etc are inside that one SWF file.
I'm having an issue when trying to export the release build of my AIR application in Flash Builder 4.5. After choosing the key to sign the package and clicking finish to complete the export, it errors saying that "Error occurred while saving the project settings: "default" build target cannot be found for the selected project." I've included the error message output to the log in the .metadata folder.
!ENTRY com.adobe.flexbuilder.project 4 43 2011-05-10 15:56:11.432
!MESSAGE Failed to get build target settings: default
!STACK 0
java.lang.Exception
[Code].....
I have tried what J_A_X has recommended. Unfortunately none of those work. It seems to be a problem somewhere within the project settings. We have also tried running the export release build for this project on different machines with fresh installs of flash builder, but the same error message is produced every time. We've looked through so many settings it may come down to having to create a new project and copy all the code into the new application.
Which mxmlc attributes do I need to replicate the behaviour of Flash Builder 4's Export Release Build?debug=false and optimize=true seems obvious, but doesn't reduce the swf's file size as FB4's Export Release Build does.
View 1 RepliesI have a very stupid problem. I'm using Flash Builder (Flex) 4. My application displays a video using VideoDisplay component and some images. The video filename is always named video.mp4 and the images are inside a folder called "real/". The video file and the real folder are in the SAME location of the .swf built.
The video source in the code is set like this: videoDisplay.source = 'video.mp4';
and the images, loaded dynamically, are like:
img.source = 'real/' + imageFilename;
[Code]...
I have my own conf.xml file (src/conf/conf.xml) consists some properties (alphas, colors,etc). When i try to export release build, I see list of files which not includes that file.Why? When i run my application at debug it file places in "bin-debug" folder.
View 1 RepliesI've a flex application which has actionscript file, images. When i run this in adobe flash builder, everything works. When i export it as a release build and run in other file, swf does not show images and interactivity of flex components is also lost.Is there a specific way to embed images?Here is image code,
View 1 RepliesWhen i make a release build the folder is populated with a number of swfs. Are all these swfs necessary?Is there a option to generate one swf?
EDIT: The files I see are:
framework_4.5.0.18623.swf
osmf_1.0.0.16316.swf
rpc_4.5.0.18623.swf[code].....
I am developing a project with Flex, and I need to deploy my project in a form which can be used by developers who do not have access to Flash Builder. I've found references to plugins from Faratasystems, but it appears their sourceforge site is a little bit rusty. I could not find an up to date installation file that'd include FX2Ant plugin and work with my Flash Builder 4
View 1 RepliesI have an xml that i want to be able to be edited after the release build, the xml is not included when i export the release build but the program still functions properly. How can I make the xml visible?
View 0 RepliesI am using Flash Builder 4. In the Flex Compiler option, I checked 'Generate HTML wrapper file', and then added some text to the alternateContent variable in the auto generated index.template.html wrapper found in html-template folder. For Run/debug settings I have the src/index.html file set as the file to be launched. In the bin-debug folder, the index.html incorporates the content of the html wrapper, and when I run the app in debug mode it behaves as I would expect. However, when I export a release build, the index.html file doesn't incorporate the content of the html wrapper file, and therefore doesn't do the check for a valid version of Flash Player. Do I have to manually copy the index.html file from bin-debug to bin-release each time I export a release build (this does seem to work)
View 1 RepliesCurrently I am building an application that launches crtmpd (a rtmp server written in C++).
Whenever I launch the application from within Flash Builder it works great, if I install a release build from an air file the process.start() returns a generic "could not start process" error.
The crtmpserver.exe is stored in applicationDirectory and the config file is kept in applicationStorageDirectoy.
So I've moved it to the native storage directory. But the problem persists. I've found the following though:
startupInfo = new NativeProcessStartupInfo();
startupInfo.executable = binFile;
processArgs = new Vector.<String>();
processArgs.push(luaFile.nativePath);
startupInfo.arguments = processArgs;
In the IDE after this startupInfo is setup correctly. On client machines all properties of startupInfo are still null.
I'm loading a swf-file from my program written in as3 using the flash.display.Loader class. When I'm using the debug build configuration in FlashDevelop everything works fine. But when I'm using the release build configuration the program freezes for around two seconds efter the loader sends the progress events and before sending the complete event.
This is my program:
package
{
import flash.display.Loader;
import flash.display.Sprite;
[Code]....
After around two seconds where the program is frozen the line Completed on frame: 2 is added and the 'On frame X' counter starts ticking up. Debug build produces the same output but without the freeze.
Not all swf-files I have tried loading triggers the problem. The size of the file doesn't seem to affect anything. I have tried compiling and running on another computer with the same result.
Edit: I noticed that if the program is compiled with debug=true the flash player takes around two seconds to start, the same length of time the flash player is frozen when debug=false.
I am a high school teacher, attempting to teach a few simple animations in Flash. The only action script students have written is the stop action in the last frame. I have one student, though, who has drawn a snowman and a tree using oval and paintbrush tools. Every time she tries to export as .swf (or pressing Ctrl+Enter) the progress bar stops half-way and sits. She's waited 5 minutes and hasn't had any luck. Her .fla file is only 1 mb so I don't think it's a memory issue. Is there anything else that's keeping her file from being unable to export as .swf? The compressed checkbox is on in the export options.
View 3 RepliesI'm trying to build a portfolio and I'm using a var imageNumber code to cycle through images on my page, but I want to have a dynamic text field caption change every time the image changes. I've found a way to do it (I made it bold), but the code is long and bothersome when there is a ton of images. Does anyone know a better way to do this?
Code:
import flash.events.MouseEvent;
forwardBtn.addEventListener(MouseEvent.CLICK, nextImage);
[code].....
Just installed Flash 8 on my mac book pro (os 10 .4.9) but the option to export to .flv from quicktime pro is not coming up in the menu. Does anybody know why this is not appearing. The component is installed but not showing up in quicktimes pull down menu.
View 3 RepliesI would like to produce a fitting room system, and the users can adjust doll's size.In terms of shoulder, hip, and the length of both legs and arms by a horizontal scroll bar in this system.How could I control Action Script by Flash?
View 0 RepliesI just recently finished the snowflake tutorial and made a very nice movie with some minor tweaks of my own into the coding, and I'm very new to flash (this being the first many experiences with it). I want to create a movie that I can make full screen without the task bar at the top (maybe in windows movie viewer or quicktime), but there is no option to play the movie, only to test. When I export the movie into an AVI files, nothing happens.
View 3 RepliesIn TFS 2010 build, I have a new build and I want to call an ant script that builds Flash. How do I call the ant script? Also How can I compile the Flash directly? I've seen the Power Tools and this question but it doesn't help me as we don't have TFS 2008. I can't find any documentation on how to use the power tools except the 1 sentence on the bottom of download page saying to create your build the old way and import it (which isn't very helpful). I've installed the power tools on the agent computer but I don't see any new options in the Toolbox when I'm designing the build flow.
View 2 RepliesI just started working with ant a few days ago. Right now I have a general buildall.xml which should call each project's build.xml. Because some projects depend on each other, I need to rebuild some other projects which depend on it. This isn't a problem--I'm just setting the depends property of the target. However, ant is always building the dependencies, even when the files haven't changed.Let's say project1 has no dependencies; project2 depends on project1; project3 depends on project1, 2; project4 depends on project1, 2, and 3; and so on.I could hack a solution which looks at project K, and checks if project 1 .. project K have updated files using uptodate. If so, then run the target. This is messy and appears unnecessary.
What is the cleanest way to implement this?EDIT: So I decided to just hack in a bunch of targets, "check_projectK" where it does the uptodate checks on all of its source files, its build file, and the build files of the 1 .. K-1 projects. Due to dependencies, this is always handled correctly. However, this is still a large amount of copy and paste for a large workspace.
Underlined Text On (rollOver) Is there an action script to do on (rollover) underline text? It would be on a button that would also, on (release) gotoAndPlay a frame. I know you can have a movie with AS like this:
[Code]....
But when I add the on (release) to the movie it doesnt advance the timeline on (release). And when I change the file to a button instead of a movie clip it doesnt do the underline on (rollOver).
am trying to export/publish a swf of a dress up game I made so I can put it in Dreamweaver and upload it to my site but I keep getting this error message:"Error Creating Flash Movie File: Be sure the destination file is not locked or on a locked drive. Also, check that the file name is not too long".I am also unable to test the movie, it gives me the same error message.
View 3 RepliesI posted the same question but I think it was not so clear. Now I am rephrasing my question with real problem.I have a flex application. It is basically a web application. On it I have a player that play avi files and some buttons and tabs along side.The application also have recording button that records that direct stream from an IP cam and store that stream on the media (USB). How can I automate function testing of such application. Like I have confusion that when I press the recording button but can I be sure that recording starts? I have tried RIATest and flexUnit 4.
View 2 RepliesI'm working on a small application that uses some throw physics to fling items around the stage. Everything is working as it should, apart from when I test it on my touch screen, the throw physics don't work. I've tried all sorts of things, in in those tests noticed that AS2 release and release outside do work on the screen perfectly, whereas mouse up and mouse out do not!
So, is there a way to emulate the AS2 mouse events in AS3, as I have to stick with AS3 this time.
When you try to release the project, Flex gives me the following: Flash Builder program failed to publish the source code of the Project:
Unable to find the application file "betaProject4.mxml".
Could not find the application file "betaProject4.mxml".
Currently in a project of this file is not found, removed all of the bin-release, but something did not work.