Actionscript 3 :: Make Eclipse / FDT Build Main.as Instead Of The Currently Selected File?

Oct 2, 2011

I'm using FDT, and I want Eclipse to build my Main.as file instead of the currently selected file when I click debug/run. Is there a way to do this?

View 1 Replies


Similar Posts:


Flash :: Make FDT Always Build And Run Main File?

Sep 4, 2011

When I push F11 in Flash Builder, it does a full build and runs in the context of my main ActionScript file. When I do the same in FDT, it builds the last selected file in the Flash Explorer pane and runs in the context of that. While I can see how it could be useful, I'd much rather always run in the context of my entire application. How can I make FDT always build and run my main file?

Possibly relevant: I imported the project from Flash Builder into FDT.

View 1 Replies

Eclipse :: Retrieve Build Information After Build Completes In FDT?

Jul 30, 2011

Using FDT, when I have a debug configuration with several operations in the launcher chain and the final launcher opens in Flash Player, how can I retrieve the build output from the console once the build is complete and Flash player is running?

It seems that once Flash Player has started the console clears to make way for the application's trace output, but I need to be able to look back over the events and build times for each item in my launch chain while Flash Player is running. Is there a setting I can enable to either log my build output to a file or to preserve it in the console?

Edit: I know I can still read the info when building normally, this question is specifically for building with the debugger.

View 1 Replies

ActionScript 3.0 :: Make A Presentation Which Is Build Out Of Several Animations Located On The Main Timeline?

Jan 29, 2012

i've been trying to make a presentation which is build out of several animations located on the main timeline.I wanted to use frame labels to navigate back and forth in the timeline, so I created back/next buttons and used switch/case code on them based on the frame labels.each animation has a label and a stop(); command at the end of it, right before the next animation.the code for the next button looks like this:
 
next_btn.addEventListener(MouseEvent.CLICK, click_handler);
function click_handler(event_object:MouseEvent)
{

[code]....
 
problem is at some point it stops working. i've added the "default: play();" code to try and fix it but it only goes so far.

View 3 Replies

Eclipse :: Build Flash Project With ANT

Apr 9, 2012

Currently we have a large project that was created in Flash and AS3. I know that you can't really compile or build fla's with ANT. I have seen all of the flex capabilities with ANT.We want to customize our final product so that we can swap out images and color schemes (other things too) on the command line.We want to use ANT to be able to build our project and control the command line.Basically end product, the user will just tell it where the images are and only take a couple minutes.Do we have to convert our project into Flex to do this?

View 1 Replies

Eclipse :: Using Maven To Build Flex Project Including Stylesheets

Mar 18, 2011

Flex stylesheets are parsed by the compiler and bundled with their assets (graphics, usually) into a swf file, which can then be loaded at runtime. I've got a project with a fixed number of styles (currently 4: old corporate style, new corporate style, and high contrast versions of both). Using Flash Builder (Eclipse with Flex IDE plugin) I'm able to have all .css files compiled to .swf files alongside the primary project artifact .swf file. This is also possible with ant scripts.

My current understanding is that Maven wants to only create one artifact per project (POM file), but may have some additional ones added (like zip packaging). For scalability reasons - I've got a complex setup of many library and module projects, several of them having their own individual stylesheets - it would be very impractical to split up the projects into the 'main' project and copies for each stylesheet. At least on the Eclipse project side, having some subfolders with POM files in each, all refered by a master pom file and referring the same src/ location (and being inside one Eclipse project) would probably work. Though that's ugly and needs individual artifactIds for each, and still need to be assembled somehow.

The important thing is to be able to have a final assembly which contains the (Eclipse) projects main swf file and each stylesheets swf file (and some static files like localized texts to be loaded at runtime). This will be part of a large assembly of several of those projects which I've described in a separate question.

I'm using Eclipse 3.6.1 (Helios) with Flash Builder Plugin (i.e. Flex4), targetting Flex SDK 3.5 (FlashPlayer 10.0). I've installed Maven 3.0.2, using Sonatypes flexmojos-maven-plugin 3.7.1 (as it seems more active than the one from Servebox). I've manually created pom files for my projects and they work (though only compiling one swf artifact file, depending on whether I specify the main .as or one of the .css files as sourceFile)

I've tried for some days now to understand "The Maven Way" (which seems to be tailored for Java and not fitting perfectly for Flex), but couldn't get this to work so that I have a single project, or at least a single assembly with everything in it.

View 1 Replies

Eclipse :: Flash Builder Export Release Build Fails

May 10, 2011

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.

View 2 Replies

ActionScript 2.0 :: MXML Project In Flex 2 - Make SWF File As Main Executable File?

Nov 26, 2006

I have to make a project for school. It will be like a tutorial, but into an application. I already made a part of it in MXML and a bit of action script but I encountered a few problems that are over my newbie limits. So the Flex Builder 2 makes a SFW file, in the main folder of the "project". I want to make that SWF file my main executable file. I have a folder with some pics, and another folder with Action Script Files. The code lvl that I know atm is ABSOLUTE BEGINER... I don know how to make my SWF file have a specific name when I run it.Here is a picture of a training exercices that should make thing more clear:Some people told me that I should use a HexEditor and stuff. Is it ture(what u think?).

Next problem. I dont know how to make the Stage to be fix. I mean.. I dont want the stage to be resizeble. I tryed to change the stagescalemode but that wasn't it. I toke a look at the help files of Flex from the net, about the Resize action and SystemManegment, but I didn't find out what I wantend.

View 4 Replies

ActionScript 3.0 :: Make Preloader In Main.fla File?

Feb 1, 2010

I have 2 files. I loaded img.swf to the main file and try to make preloader in main.fla file.
 
But after compile i get error: 1084: Syntax error: expecting identifier before modulus. 

Code:
var req:URLRequest=new URLRequest("img.swf");
var myLoader:Loader=new Loader  ;
function imgFileLoaded(event:Event):void {

[Code].....

View 7 Replies

Eclipse :: Find Unused Variables In Flash Builder 4 (like Eclipse For Java Does)?

May 23, 2011

Eclipse has a built in functionality to find unused variables (and methods too I guess). Flash Builder 4 is built on top of Eclipse but it doens't have that functionality. Do you know any plugin to achieve that functionality? Also, if you know any other kind of plugin besides SourceMate to improve Flash Builder let me know.

View 1 Replies

Eclipse :: Lines Of Code Count For Flex In Eclipse

Aug 1, 2011

How to get the SLOC count for the Flex code in Eclipse?Is there a plug-in similar to "Metrics" for finding information about the Flex porject?

View 2 Replies

ActionScript 3.0 :: Build A Gallery Of Photos Which Has Selected Thumbnail On Each Of Them Before Displaying Their Photos?

Nov 13, 2010

I'd like to build a gallery of photos which has selected thumbnail on each of them before displaying their photos.

Ex: photo.xml

Code:
<gallery>
<photo id="1">
<thumb>pics/thumbnail/img_001.jpg</thumb>

[code]....

View 9 Replies

ActionScript 3.0 :: Make A Preloaded For Loading The Main Content Of The Swf File?

Feb 5, 2009

I want to make a preloaded for loading the main content of the swf file. I put my main program code on frame 2 and put this code on frame 1:

import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;

[Code].....

My issue is it does not seem to track the progress. The trace statement in the onProgress function only displays after it is fully loaded. I thought this was suppose to loop.

View 9 Replies

Eclipse :: Error While Connecting Eclipse IDE To Run The Flex 4.5.1 SDK?

Oct 18, 2011

I want to run the Flex SDK 4.5.1 on Eclipse IDE. I have followed this http:[url].....step by step and it was same as it was written.But then when i first built my sample code and ran it, it gave me these errors. I cant figure out what the problem is:This is the sample code:

and these are the ERRORS:
Loading configuration file C:Mario's FilesSTFFlex SDKflex_sdk_4.5.1.21328frameworksflex-config.xml
_application_Styles.as(24): col: 38 Error: Syntax error: expecting rightparen before s.[code]....

Do we have to get a compatible Eclipse-FlexSDK-Flash version??

View 1 Replies

Flex :: Access Items Selected In A Component From The Main App?

Sep 11, 2010

How can I Access Items Selected in a Component from the Main App I've got a component that has a listControl and a couple of RadioButtonGroups. I need to access the selected items in the main application. What's the best/simplest way to create and access the array of selected items. So, the user clicks the button to confirm the selections and then I need to access those selections in the main app. Is there a way I can use a public var to build the array? Another idea?

<mx:Tile direction="horizontal">
<mx:Box>
<mx:Label text="Year" fontWeight="bold"/>
<mx:List id="myYear" >

[code]....

View 2 Replies

Flex :: Access Items Selected In A Component From The Main App

Sep 6, 2009

How can I Access Items Selected in a Component from the Main App

I've got a component that has a listControl and a couple of RadioButtonGroups. I need to access the selected items in the main application. What's the best/simplest way to create and access the array of selected items. So, the user clicks the button to confirm the selections and then I need to access those selections in the main app. Is there a way I can use a public var to build the array? Another idea?

<mx:Tile direction="horizontal">
<mx:Box>
<mx:Label text="Year" fontWeight="bold"/>

[Code]....

View 2 Replies

Java :: Use Eclipse And Make Heavy Use Of The M2Eclipse Plug-in

Oct 30, 2010

Our project badly needs to move to Flexmojos4 to get a fix, but this requires Maven 3. Our project makes extensive use of Maven and we really love it, but have configured it very heavily. Between a dozen modules we probably have 50+ pages of XML configuration.

We also use Eclipse and make heavy use of the M2Eclipse plug-in. We also use the following Maven plug-ins:

Resources
BuildNumber
SQL
Hibernate3
Flexmojos

[Code]...

View 2 Replies

Flex :: Eclipse - Update A File Every Time I Launch?

Feb 10, 2010

OK my project uses an xml file called Chart-app.xml inside this XML file there is a tag called <version></version> which I keep in the format like: <version>1.2.128</version> I am wondering if I can set it to append to the third number every time I run my project. So if I ran it now it would be 1.2.129, then if i ran it again it would be 1.2.130

View 2 Replies

ActionScript 3.0 :: AddChild(e.currentTarget) - Bring Cards Out Of Their Parent Column And On To The Main Stage When They Are Selected

Sep 30, 2011

I'm working on a spider solitaire game and I need a way to bring cards out of their parent column and on to the main stage when they are selected. Here's my current code:

[Code]...

However, the above gives me an error on the stage.addChild line. "1118: Implicit coercion of a value with static type Object to a possible unrelated type flash.display: DisplayObject."

View 1 Replies

Flash :: Add A ToString() Function For Every Class File, Automated In Eclipse?

Jan 28, 2010

I'm doing a AS3 project in Eclipse and trace alot of values. I though it would be nice to have a toString() function in every class, at the bottom of each class as the last function, but i dont want to do this by hand for 500+ files. Is there a quick and good way of doing this automated?

View 1 Replies

Java :: Regex For Eclipse/Flash Builder File Search For Comments?

Jan 5, 2011

In Eclipse (and Flash/Flex Builder) you get the option with Ctrl+Shift+F to do a file search and look for a regular expression. Would be a real handy thing to know.

I want to find the word negate if it appears in a Flex/java comment like the following:

// It was negated because
or
/*

[Code]....

View 2 Replies

Eclipse :: Remove Runnable Attribute From A Source File In Flash Builder?

Jul 20, 2011

I am using Flash Builder 4 and have mistakenly set an abstract class to be the default application class.. It's not too much of an issue as I have set the correct one again, which works fine most of the time, but not when I am editing the incorrect one and hit F11 - it attempts to run the project via this incorrect class. Is there any way to remove the "runnable" attribute from this file so that this doesn't happen?An example of how this looks in the package explorer is below (Application.as is the correct file, AbstractQuickDraggable.as is not):

View 1 Replies

Eclipse :: Link Report In Flash Builder 4.5 Does Not Generate Output File

Nov 4, 2011

I can't seem to generate any output when including the "link-report" compiler commands in Flash Builder 4.5. I've tried several different syntaxes that I've seen online:

-linkreport filename.xml
-link-report=filename.xml
-link-report C:fullpathfilename.xml
-link_report filename.xml

But absolutely nothing gets created when I run, build, or debug the project. Other application settings perhaps? The project is relatively young and doesn't have many custom settings so I'm thinking it is maybe application or config related?

View 1 Replies

ActionScript 2.0 :: Detect Keystrokes When The Flash File Is Not Selected And Send That Information To An .swf File

Jul 21, 2010

I need to find a way to detect keystrokes when the flash file is not selected and send that information to an .swf file. The file would be stored locally (not on the internet).

View 3 Replies

Eclipse :: Eclipse - Compiling A Debug Version Without Opening The Debug Perspective?

Dec 27, 2011

I've migrated to FDT from flashdevelop and kind of have a hard time getting things to work the way I'm used to. In Flashdevelop, you could easily choose if the compiled swf was a release or debug version. In FDT however, it seems like there is no way to compile a version that has debugging information without it automatically opening up the debug perspective with a ton of debug windows, a profiler and actually entering debug mode.

As an extra plus, I keep getting a message saying "This feature is only available in FDT Max", although from what I know the debugger is included in the free version. Is there a way to do what I'm trying to do or should I just get used to this new way of working?

View 2 Replies

Actionscript 3 :: Importing Mxml File In Action Script Using Flex Builder Plugin In Eclipse?

Aug 14, 2011

I am trying to create a flex app but facing a weird problem I have created a package to keep my mxml file separately and action script file separately. But the problem I am facing is when I am trying to import one of the .mxml component in my actionscript of main file of mxml application then I am not able to do so .can some one help me in importing one mxml file into other mxml file. my flash builder is not recognizing the package in which i have kept my other mxmk file

View 1 Replies

ActionScript 3.0 :: Make MC Act After Another Is Selected?

Jul 19, 2009

How do you make a MC act after another MC is selected? Like when I click on movie clip 1 then movie clip 2 does somethin after movie clip 1 does its thing?

View 4 Replies

ActionScript 2.0 :: Command External SWF-file To Play Outside Of The Main Movieclip Via Button From Main?

Jan 17, 2012

I Have a flashmovie thats almost done and will soon hit the internet, but I want to add some animations into the website it�s two gears that I�m about to put at the bottom of the page and when a button releases in the main flashmovie the two bottom gears will turn a few frames and just stand still.These three movies are all separate (main movie, first gear and second gear).

It's a homepage designed in HTML and flash that has this "main flashmovie" in the middle of the screen, the size is about 1500(width)X800(height). And the gears is about 800wX200h placed at the left and right side bottom of the page. Dont worry the site is easy to apply to any screen resolution.I have been looking everywhere for any soul out there who suffering from the same problem but no success. Is it possible to script a button in the main movie to launch two separate movies in their own contents?

View 2 Replies

ActionScript 3.0 :: How To Make Button Selected

Oct 13, 2011

Is it possible to change button state from AS3?

View 3 Replies

ActionScript 2.0 :: Load Main Swf File (main.swf) On Top Of Background

Sep 24, 2004

I have a background swf that has been coded so that it scales with the browser. I want to load the main swf file (main.swf) on top of this bg so that it is always centred on the page.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved