Flex :: Add SWC File For Cairngorm To App Without FlexBuilder?

Aug 12, 2010

I am not using FlexBuilder, I'm using the free Flex SDK with TextMate. I'm having some trouble figuring out what this FlexBuilder process actually does behind all the nice dialogs and things, so that I can do the same thing by tweaking whatever the relevant file is, but Googling just points me at similar instructions telling me to use FlexBuilder.

View 1 Replies


Similar Posts:


Flash :: Generate A .swf File Using Cairngorm Framework?

Oct 18, 2010

[URL] Looks like MVC to me,but I'm not sure if that's the exact framework used. UPDATE Now I know it's using the Cairngorm framework,and I've downloaded all the source files,how can I generate a .swf file? UPDATE 2 How can I know the exact version of Cairngorm used?

View 3 Replies

Flex :: Hidden Features Of Cairngorm?

Jul 22, 2010

I found a lot of interesting info in the 'hidden features of...' series. I am very new to cairngorm . What are some of the hidden features of cairngorm.

View 1 Replies

Flex :: Use Of CairngormEvent In Cairngorm Framework?

Jul 28, 2010

What is the use to event extend the cairngorm event in cairngorm framework.?

View 1 Replies

Flex - Cairngorm XXXCommand Be Executed Several Times?

Oct 8, 2009

I ran into a problem.I'm doing a GIS program using flex. There's a map in my Application,when I click one icon on the map,windowA pops up,when I click a link inside windowA,windowB pops up,but here my problem coming out,when I close windowB and click the link inside windowA another time,Two windowB pop up...

[Code]...

View 3 Replies

Actionscript 3 :: Flex - Use Framework Like Cairngorm Or Mate?

Feb 13, 2010

From what I understand a framework reduces complexity in areas that are common, like a log-in system. I use ASP.NET MVC at work and have done some work in Zend Framework but do not get how a framework helps with client side development. The reason ASP.NET MVC is used at work is for Unit Testing - does a Flex framework help with this too? why I should or should not use a framework with Flex?

View 4 Replies

Flex :: Project Doing In Mvc Pattern Using Cairngorm Framework?

Jun 17, 2010

I wish to do my project in mvc pattern. so I chose cairngorm framework and just read some of the document about this framework.But I cant understand deeply to do project using this framework. Have any methods or examples to study doing project in cairngorm framework??

View 1 Replies

Flex :: Cairngorm - Use Parsley Framework Hero 4.5?

Nov 30, 2010

I was wondering if Parsley framework is compatible for Flex Hero Mobile 4.5? I seem to get a warning saying it's not compatible.

View 2 Replies

Flex - Cairngorm Model Locator Pattern?

Jul 5, 2011

In Cairngorm (Flex Framework), there is Model Locator Pattern, which is similar to Global variables, is it a right pattern, Adobe is saying for flex its best pattern

[Code]...

View 1 Replies

Flex :: Cairngorm 3 Presentation Model Initializations?

Jul 13, 2011

I have a TitleWindow that I open up... and I have 6 states defined.I am using the Presentation model pattern for all of my views. When I tell my window to go to XXX state, the controls have to initialize since the states in flex use lazy loading. so... my PM code that says myTextArea.text bombs out and say "cannot access..." so as a work around, I made some creationComplete events on my controls to register the control with the PM. So when the state changes, the textarea finally initializes and on creationComplete calls PM.registerTextArea() which sets a reference to it. then in that function I run my code... myTextArea.text.. etc.

This seems like such a ugly hack that I hate it. Is there any way to wait until the entire state in created then call code on the PM? I have tried enterstate... but this event seems to fire before the state controls are ready.I tried to add a comment, but I guess editing is the only way I can do this...I am doing something slightly off straight PM. Every view has a viewController (as I call them). Its kinda my own hybrid of a delegate / dataprovider. But this is moot. It's the flex component lifecycle when dealing with states that is the pain.if you change state.. there is no event to say "all my components in this state are ready".only event to say "we changed state". so my code that fires on state change is trying to talk to components that aren't ready yet.So from what I see, there seems to be no design pattern or perfect way to ensure that all components are created in a state unless using creationComplete on every component in the state to register it is ready... if you don't, you get a race condition. Regardless of frameworks or design patterns, this seems to be a root issue.

I am trying to attach video to a display once I get to that state. This is done via addchild. regardless of where I do it.. I need to know that the videoDisplay is done loading before I call addchild. I even tried currentStateChange event since docs say that fires last... but alas.. the components in the state are still initializing. So it seems that creationComplete is my only option. Maybe the only sane way to keep to clean code is to create the entire thing(videodisplay and video) using as once the state is entered. I just hoped the flex framework had events to ehlp me here rather than buiilding everything on the fly in as.

View 1 Replies

Flex :: Reading Server URL From AS3 For Cairngorm Configuration

Aug 30, 2011

I need to read the URL that the browser shows when a Flex application is called because I would to reference it in a mxml configuring Cairngorm remote objects. The goal I would reach is to automatically configure Cairngorm services from environment to environment (dev,test,qa,prod) without statically set the value in the mxml or other ActionScript. Since the Flex client is deployed in the root of the war of the webapp, it's enough to read where the browser is pointing.

I have written a class that is doing so:
public class ConfigServer {
public function ConfigServer() {
var loaderUrl:String = FlexGlobals.topLevelApplication.loaderInfo.loaderURL;
var urlToSet:String = <loaderURL-string-manipulation>;
_serverUrl = urlToSet;
[Code] .....

But whenever I call the ConfigServer constructor and for every (known to me) technique I applied (statics or singletons or public ro so on), I have always had the same error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at org.fao.fapda.util::ConfigServer()[C:devworkspacesFAPDA runkFAPDA-clientsrcorgfaofapdautilConfigServer.as:8]

Cairngorm services initialization is done as follow:
<fx:Declarations><cut/>
<services:FAPDAServices id="services"/>
<cut/></fx:Declarations>
And the problem is that FAPDAServices.mxml is read runs before FlexGlobals is valid. Is there a point in the Flex Application lifecycle where such loaderURL is defined so that I can construct ConfigServer? When in startup events that initialization in done?

View 1 Replies

Flex :: Does FlexBuilder 3 Work With Eclipse 3.5.1

Dec 5, 2009

I m trying to install Flex Builder 3 into Eclipse 3.5.1 as a plugin on Mac 10.6.2.During the installation phase, FB3 says it only support eclipse 3.3 & 3.4. But I started the installation anyway. After the installation was done, I can't find Flex perspective from Eclipse. So I google around and found out the possible way to manually add this link file from folder "links" to point to the FB3 Plugin folder. I did that and FB perspective can be shown now. But when I try to switch to FB perspective, error occurs:[code]

View 1 Replies

Flex :: Flexbuilder Keeps Compiling Old Files

Feb 28, 2010

I'm working on a project on Flex AS3.0 project in Flex Builder. It was working fine, I changed the name of one of my classes and all the related process. Now when I compile dubug the thing, it keeps on compiling an older version even if I comment all the code in main. It still compiles the old files. I have cleaned the project , but still the same old problem.

View 2 Replies

Flex :: Transitioning From FlexBuilder 3 To FlashBuilder 4?

Mar 24, 2010

It's growing pains time again. Some of our stuff requires FlashBuilder 4 and some still requires FlexBuilder 3. Both are installed OK, and no projects use both IDEs. The trouble is, when I go back to work on a FlexBuilder 3 project it takes freakin' forever to build and I get weird errors like these: This doesn't seem to cause any identifiable problems except to throw up a modal dialog at various points in the build process, forcing user interaction. But I do notice that memory fills up fast in FB3 and generally FB3 starts behaving strangely and ultimately quits once it gets up over 700MB.

This is only a temporary bridge situation until we get all projects into FB4, but "temporary" could mean weeks if not months. Does anyone have any advice for how to get through this bridge period? Is there anything I can do to make these two IDEs work and play well together? Failing that, does anyone know what "java.lang.String" is the "reason" for the problem? Does Eclipse have a resource bundle somewhere that is getting corrupted when i go back and forth between the two?

View 1 Replies

Flex :: FlexBuilder Debugger What Can 'expressions' Tab Be Used For

Jun 14, 2010

is there any documentation on the FlexBuilder "expressions" tab, and what expressions it can accept?As far as I can tell, it can show the value of variables, but that's it: comparisons, function and method calls all fail: [code]this is specific to FB3 Flex Builder. Apparently FB4 Flash Builder is slightly less incompetent.

View 2 Replies

Flex :: Coding Style - Cairngorm Project DRY (don't Repeat Yourself)?

Aug 2, 2009

I'm having a hard time building a Cairngorm Flex3 app that connects to a rails app. I'm used to rails DRY approad, and the Convention over Configuration thing too.. and Cairngorm in awful at these.

How do you keep you flex code as DRY as possible? I've implemented a generic delegate to avoid a delegate for each command, at least.

View 1 Replies

Flex :: Make Cairngorm Commands ALWAYS Work Synchronously

Oct 1, 2009

I see the benefit of asynchronous commands (waiting for server responses...) but in my flex app it creates me more problem than anything. Here's what I want: EVERY command executes only after the previous one returned (to result or fault function) And I'd like to do this as easily as possible.. by the way the GUI must become irresponsive (maybe a wait message) while a long command is being executed (I could show the wait message in the execute function and remove it in the fault or result function..)

View 1 Replies

Flex :: Difficult Syncronization Problem With Commands (in Cairngorm)?

Jan 8, 2010

I have a dataGrid with a dataProvider "documents"A column of the datagrid has a labelFunction that gets the project_id field of the document, and returns the project name, from a bindable variable "projects"Now, I dispatch the events to download from the server the documents and the projects, but If the documents get downloaded before the projects, then the label function gives an error (no "projects" variable)Therefore, I must serialize the commands being executed: the getDocuments command must execute only after the getProjects command.In the real world, though, I have dozens of resources being downloaded, and those command are not always grouped together (so I can't for example execute the second command from the onSuccess() method of the first, because not always they must be executed together..)..

View 1 Replies

Flex :: Compile Project That Uses Cairngorm With Command Line?

Oct 31, 2010

Has anyone tried to compile a flex project that uses Cairngorm with command line?

View 1 Replies

Actionscript 3 :: Not Assigning Data From Java VO To Flex VO Using Cairngorm?

Jan 23, 2012

I have a few values in Java VO, and using cairgorm framework, i had mapping the Java VO to Action script VO in Flex and given same variables name as java Vo variables name. Now the Vo is mapping fine and when looking the result all variables are displaying as null. Can i know the reason for that.Java returning list of VO's.

package com.configuration
{
import com.adobe.cairngorm.vo.IValueObject;

[code]......

View 1 Replies

Flex :: Flexbuilder - Password Validator Using RegExp?

May 20, 2010

I have seen several examples in Flex for passowrd validator using RegExp. But every where the validation is happend for single validation.

I have a requirement, like password validations like

- At least one Upper case letter

- At least one numeric character

- At least one special character such as @, #, $, etc.

- At least one Lower case letter

- password lenght minimum 6 digits

- password cannot be same as user name

I have the code only for checking the password is valid or not . check the below code.

MXML CODE

<mx:FormItem label="Username:" x="83" y="96" width="66">
</mx:FormItem>
<mx:FormItem label="Password:" x="88" y="123" width="61">

[Code]....

View 1 Replies

Flex - Using Flexbuilder To Create An AIR App Connected To Saleforce.com?

May 13, 2011

I have created an Adobe AIR application that interfaces with Salesforce.com. The only drawback I have is that the data that is synced to the desktop is not encrypted. I can encrypt a database that I create locally, however, I am trying to encrypt the database that is created and maintained by the flexforforce toolkit.

View 1 Replies

Flex :: Flexbuilder - Build A Dashboard Application?

Sep 1, 2011

Suggest a good tutorial on how to build a dashboard application with Flex.

View 1 Replies

Flex :: Passing A Parameter To HttpService In Flexbuilder 3?

Sep 13, 2011

I have stuck at the point where i need to pass a selected item of a comboBox as a parameter to a HttpService.

View 1 Replies

Flexbuilder - How To Show Flex Mobile Alert?

Feb 21, 2012

I am creating an application using flex mobile but could not find how to show alerts using flex.So can anyone please tell how to show the alert in flex mobile , mx alert don't work in this and i could not find an alternative in spark.

View 1 Replies

Flex :: Incorporate FileReference Method Like Upload Into A Cairngorm Architecture?

Jan 14, 2010

how to incorporate FileReference method like Upload into a Cairngorm architecture.Specifically, I would think to fire an event with the File in it, and that's fine. But how would one then be able to listen for e.g. Progress Events?One thing I thought is to have the delegate fire off progress events that are listened for in the View.

View 1 Replies

Actionscript 3 :: Set Time 5 Seconds To Dispatch Cairngorm Event In Flex

Oct 7, 2010

I have a live chart. I need to refresh the chart with 5 seconds time interval.

For displaying the live chart i disptach the event (myEvent) extends cairngormevent.

And after 5 seconds , the same event has to dispatch again adn get the data to display thelie cart.

And how the event dispatch after 5 seconds with out any manula call..?

View 2 Replies

Flex :: Reduing The Layer Complexity Of A Cairngorm Based Application?

May 5, 2011

Could tools like SWFAddress be used in some clever ways to alleviate an existing client-server architecture. I see possibilities to even introduce REST-like pattern mapping or something like that.

What I am currently doing is following all the Cairngorm guidleines, which has already led to a bunch of commands which all make sense, but inclusing the business delegates, and all that stuff, I am getting into a hard time extending and refactoring the application Anyway, what I thought of was somehow reducing the number of application events flying around, and the number of commands responding to them. Actualy, I am quite OK even coupling the view with some logic, if I can get rd of some layer complexity.

What I mean by that: perhaps, I could bind a button click to a url pattern (or use SWFaddress to change the url globally). On the other end, I wll be waiting for changes of the url, reformat it, and pass it onto a service delegate, which has the necessary mappings in mind, so it knows what method to call, or it could even pass the url directly to an HTTPSErvice. The delegate will then deal with the server response, and update the model, which through the bindings will update the view.

I am not going to completely ditch commands. I thing that they are good for scheduling of the internal interactions (within the client itself), but I'd like to abstain from using them for communication with the server.

View 1 Replies

Flex :: Structure Multiple Cairngorm MVC Projects That Share Several Components?

Jun 5, 2009

I recently completed a project for a custom report UI in Flex. Now, I've been tasked with creating a new application that is essentially a "lite" version of the original UI. It will include only a few of the options that are in the original application. Also, it needs to be a separate application.

I do not want to duplicate my code, so I am planning on moving a bunch of the classes from the original application to a new library that can be shared by both applications. However, I'm trying to figure out how to make this work in my MVC environment.

For example, I have an Accordion component that lets users filter several items. Each Accordion child is an instance of a custom component with two lists (one for entities available for selection, the other for the entities the user has selected). Each child component has properties bound to the Model and functions that call Cairngorm Events.[code]...

View 1 Replies

Flex :: Architect Extended Cairngorm Classes To Be Shared Across Applications?

Jun 5, 2009

I have created a few Event and Command classes for use in my Cairngorm projects.For example, I created an class that extends URL... that allows me to set callback functions upon completion or failure of the corresponding Command. To accomplish this, I also had to create a new Class that implements com.adobe.cairngorm.commands.ICommand that I extend for all Commands in my projects.Now, I want to use these two classes across all of my Cairngorm applications. What is the best way to do this? Should I just edit the Cairngorm source for CairngormEvent and ICommandand recompile the Cairngorm MVC (is that even possible)? Or add my two classes to the Cairngorm source and recompile the Cairngorm MVC? Or should I just add them to a shared library?I've chose the third option for now, but this requires that I reference the Cairngorm library in both my library and each project. I am wondering if there is a better practice and what the benefits are.

View 1 Replies







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