Flex :: Ant - Automate The Building Of A Component Library?

Sep 8, 2009

I would like to build a flex library project automatically instead of the current process, which involves one of our developers compiling it on his machine and then us checking in the resulting .swc file. It's gross. I am coming at this from the perspective of a java developer, so I'm having a hard time getting the hang of the compilation tools provided in the Flex Builder 3 application, but here's what I already have: I have created an ant file that loads the ant task library correctly, and can therefore execute <mxmlc/> and <compc/> tasks.

I have located the source code that I need to build, and know what sort of .swc I want to end up with. What I want is an ant script that will do the equivalent of these steps: We build all sources (actionscript and MXML) and assets in the project into an swc file. The library.swf file is extracted and optimized

[Code]...

View 3 Replies


Similar Posts:


Flex :: Use Ant Tasks To Automate Building Of App?

Nov 8, 2010

I know I can use a combination of ant & flex ant tasks for automating builds. However, I'm unclear on how to compile all the mxml and actionscript files of an app. For example, does the build file below compile just the Main.xml file or all files in the app?

[Code]...

View 2 Replies

ActionScript 2.0 :: Automate The Process Of Building Banners?

Oct 27, 2009

I have a project on which is going to involve me building thousands of flash banners.Which means I want to automate the process as much as possible. Each flash ad, is going to be exactly the same, apart from one word. So, what I want to do is the following:

- list 1,000 different words in my database
- Have flash pull one word from the database (php)
- Change the default text in the fla to the new word.
- then publish the swf, but naming the swf the word from the batabase.
- then repeat the process for the 2nd word in the list.

View 5 Replies

Flex :: Where Is Border Component In Mx Library

Sep 18, 2010

I have an old Flex app build with the Halo library. Now that Halo was changed to mx library, it makes the old Border component stop working and I'm unable to build the project anymore. Even when I try to change the library to MX, the Border cannot build.

View 1 Replies

Professional :: Use A Shared Library - Recompile The Library Folder When Do The Smallest Changes To A Component?

Jul 20, 2010

I am working in two different applications, one to be compiled for desktop use (AIR) and one to be compiled for the web. They are part of the same project and use the same visual components, but they are completely different apps. When a visual component is changed in one application then it should also change in the other one. Is this a good situation to use a shared library fla? I am new to the concept of shared libraries and I am considering the options.

On one had I would not have to update 2 applications everytime I change something, on the other, I would always have to recompile the library folder when I do the smallest changes to a component.

View 4 Replies

ActionScript 3.0 :: Building A Spark Component?

May 13, 2010

I'm making a spark component and I've defined my own skinpart which doesn't show up in Flash Builder's design view. When I run the app it works fine. I'm basically using Panel and PanelSkin as a guide. For debug purposes... I just took the panelskin and renamed the controlbar to headerI'm posting code below... but this forum kinda killed all my code formatting

Console.as
package
{

[code]......

View 3 Replies

Actionscript 3 :: Prevent MXML Custom Component In Flex Library Project Always In Default Package??

Mar 31, 2010

I'm creating some custom components and backing code. I've created a Flex library project in Flash Builder which compiles to a SWC. The problem is now that all my MXML files get compiled into classes in the default package, making the whole thing a big mess.Is there a way to set a package declaration for MXML files? After all it just gets translated into AS3 classes. This seems to work in regular Flex projects using a namespace declaration so I'm at a loss how that is supposed to work. The other option is building out all the components in AS3 which I'd like to avoid.

View 1 Replies

Flex :: Possible To Automate Font Embedding

Aug 5, 2010

I've searched high and low for an answer and it might be a foolish endeavour but i'd like to be able to read fonts from a directory at runtime for use in an actionscript/flex app.Ive seen the answers on the web and all rely on putting fonts in external swfs and certainly rely on embed meta tags or styles when i'd like a local fonts directory to be able to be used, its not too user friendly asking a user to compile their own swfs to use the app.The only answer I can see is to have a server running mxmlc and creating .mxml files with embed tags every time a user wants to update their fonts and recompiling the app when needed but its a bit much.

View 1 Replies

Flex :: Automate Testing Of Application?

Mar 25, 2011

I want to automate testing of flex application. I have heard that Flex provides with classes that help you automate the testing. But I don't know where to find them and how to use them.

View 3 Replies

Flash :: Automate Testing In Flex?

Mar 25, 2011

Possible Duplicate: automate testing in Flex I want to automate testing of flex application. I have heard that Flex provides with classes that help you automate the testing. But I don't know where to find them and how to use them.

View 1 Replies

Flex :: Can't Automate Some Objects Which Uses Degrafa Libraries

Jun 15, 2011

In our application ,we have diagrams which make useof degrafa libraries.When this application is automated with flexmonkey any operation done on these diagrams are not recorded nor played back.

Rest of the application like filling the textfield and dropdown are working fine.

Is there any way I could automate these degrafa diagrams like clicking on it or changing the description.

View 1 Replies

Data Integration :: Building An Events Calendar With The DateChooser Component

Sep 12, 2007

The AS2 DateChooser has just the functionality I need to build the events calendar that I have to build .. however .. while I know what to do in theory, I'm stumbling on (a) whether it will work and (b) syntax.

I want to display an instance of the DateChooser (myDate) and access the selectedDate property when the user selects a date. Then I need to pass it to the main events page preferably on the same page with something like this:

SELECT EventTitle. EventDescription, EventLink FROM Events
WHERE EventDate = MMColParam

MMColParam 1 myDate.selectedDate

The page itself is ASP. I am thinking I would probably define a variable and perhaps use LoadVars to load the selected date from Flash .. not something I have done before.

Perhsps something like

dim eventDate
eventDate = myDate.selectedDate

I'm sure that's not the syntax .. but I think that is the theory. I should be able to access the selectedDate property of the Date Chooser instance and feed the date into the query to select the events on that date and list them.

View 2 Replies

Flash :: Automate Testing Of A Website, Major Parts Of Which Are In Flex?

Oct 7, 2011

I'm looking for a good solution to automate testing of a website, major parts of which are in flash/flex.

The preferred language is c#, but I wouldn't mind java, python or php if the solution on any of those languages is better (meaning, easier to write on, less bugs and more tutorials and samples).

What is the best framework around for flash automation in my case?

View 1 Replies

Flex :: 4 - Null-component - Checking If The Cancel Button Component In The Child Component?

Jun 23, 2011

I have a component "child" which has a cancel button. Now this component is placed in a state called "newChildComp" I also have another component called "parent". In the parent component, i have a button that dispatches an event. Here is the event code:

[Code].....

so, basically,i am checking to see if the cancel button component in the Child component, while i am still in the parent Compoent, was clicked, if it was clicked, call the cancelButtonHandler. The problem is by the time the addNewChild handles the event, that cancel button was still null. My question is how do i solve this without using the itemCreationPolicy on the cancel button?

View 1 Replies

Flex :: Specify Swc When Building A Swf?

Jul 7, 2010

I have implemented some utility classes in Flex that I want to use in multiple AIR projects. I have created a swc which contain these classes. I am working on a Linux machine and do not have FlashBuilder. So I am using the compc and mxmlc command line SDK tools. My problem is that I have not been able to find a way to specify the swc when building the standalone project. A tutorial suggested the following command: mxmlc -load-config /opt/flex/4.1.0/frameworks/air-config.xml -library-path=/path/to/utility.swc hello.mxml. However, using that gives me the error hello.mxml: Error: Unable to locate specified base class 'mx.core.WindowedApplication' for component class 'hello'. Everything works fine if I move all code from the swc to a single monolithic pro ject. The code for the standalone project is:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" windowComplete="completeHandler();">

[Code].....

View 1 Replies

Flex :: Enterprise - Building A New System In Flex / Air?

Feb 21, 2011

This maybe a bit of a 'wide' question, but am putting together a brief overview of a new system I'm proposing at work. It will be a POS style system, that does quotes and invoices + crm for our work enviroment across 100 + locations.

It will communicate with server via the Internet. Flex / Air feature set (offline SQL is Internet goes down, Rich communications, rich client environment etc), the fact that we run Macs + PC makes it looks like a great choice. I know HTML 5 has offline SQL and stuff, but flex feature set is way more comprehensive / usable etc..Is anyone doing any big corporate Flex / Air projects that need to last a long time? Or are you pushing HTML and its new technologies to provide a more safe investment.

View 1 Replies

ActionScript 3.0 :: Build A Textfield In Library Or Component?

Oct 26, 2009

How to build a textfield in library or component so that I can drag it to stage?

View 2 Replies

Unable To Drag Component To Stage / Library

May 6, 2010

We are the developers of a complex Flash component (url...) which worked without issues on Flash CS3 and CS4. Now, in Flash CS5 (both Mac and Windows versions) we have found a couple of problems at author-time

-1- After installing the mxp file containing the component, when trying to drag the component from the Components panel to the stage, or to the Library panel, it doesn't work. There's no way to import the component!

-2- If we open an existing FLA (created with Flash CS4), the component doesn't show correctly at author-time: you only get a black frame, instead of the expected result (it should show a white background with a logo in the middle). When compiling, everything works fine.

View 2 Replies

ActionScript 3.0 :: Use Jsfl To Add Parameter To Library Component?

Jan 17, 2009

Does anybody know if it's possible to use JSFL to add a new parameter to a manually added/created list of parameters of a Library item (Component)?

View 0 Replies

ActionScript 3.0 :: Flash To Reference A Library Component?

Sep 28, 2010

I have a component in my library that I want to programmatically place on the stage and manipulate from my external actionscript file. I have a blank FLA and all the movieclips, text, etc that are on the stage have being created in an external ActionScript file and placed on the stage. However I would like to access this one component that is stored in my library without having to place it on the stage - since everything is to be done in ActionScript.

View 2 Replies

Flex :: Building Charts With An Ant Task

Jun 1, 2009

Using the Flex ant task to build our application results in the "Flex Data Visualization Trial" watermark being displayed in our charts. We have professional licenses for flex builder but do not know how to tell the ant task about these.

View 1 Replies

ActionScript 3.0 :: Flex Code Behind (building For AIR)?

Apr 12, 2010

I've been trying to set up a nice environment on Flex 4 and Flash Builder 4 by using the "code behind" philosophy on my Application tag. This has given me a silly amount of problems!

[Code]...

View 2 Replies

Unable To Locate Component In The User Interface Library?

Jun 23, 2009

I am unable to locate this component in the user interface library, every other component is listed but this one.
 
Is this a new you must roll your own from the list component and create it?
 
PS I just noticed the Alert component is missing too.

View 3 Replies

Professional :: Source Code For Flash Component Library?

Apr 21, 2010

Does Adobe had releases the source code for the components that comes with Flash CS4 (fl.controls.*). If not, is there any way to use the Flash component library with another IDE like FlashDevelop for code and compile the flash applications.

View 1 Replies

AS2 :: Flash - Load An Image From The Library To The Loader Component?

Mar 10, 2012

I need to load (dynamically) an image stored in the library of Adobe Flash to the loader component. So far, i have imported this image to the library and exported it to ActionScript under the linkage section. I have named its identifier as well.

I am using ActionScript 2.0.

View 1 Replies

ActionScript 3.0 :: Text Embedding - Add The Font As A Library Component?

Oct 30, 2009

I've developed an application which uses a couple of variations of the same font throughout.I have embedded the relevant font in to every single text field throughout the application (using the embed dialogue box).However whenever I change the text in code, the font is displayed differently. I have even tried setting it to embed every character from the font in to the field, and I have also added the font as a library component and exported for actionscript. It looks like it is losing its weighting.

View 1 Replies

ActionScript 2.0 :: Load An Image From Library To Loader Component Using It?

Mar 10, 2012

I need to load (dynamically) an image stored in the library of Adobe Flash to the loader component. So far, i have imported this image to the library and exported it to ActionScript under the linkage section.

View 3 Replies

ActionScript 2.0 :: Taking Textbox/inputbox Component From The Library?

Nov 15, 2005

When I am taking textbox/inputbox component from the library I can disable them as
txt_Tno.enabled=false;But when I am clicking on the Text Tool on the left side(drawing) and giving the same instance name and doing it, its not getting disabeld

View 14 Replies

ActionScript 2.0 :: Small Arrow Next To Component Library Icon?

Feb 25, 2008

Just getting into components, and came across this recently. What's the difference between these two Component icons in the library, one with the addition of a small arrow? Images attached.

View 1 Replies

Flex :: Run Custom Scripts Before Compiling/building?

Mar 9, 2009

I am creating an AIR app. In this app there's a need to copy a folder from a fixed known localtion C:xyz to app:/. I would like to know how can I do this copying before compilation/build so that they get packaged when I run the 'Export Release Build'

View 1 Replies







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