Create A Module For A Flex Application

May 27, 2009

I'm trying to create a module for a flex application, and I want to send notifications to clients. I've been looking at the BlazeDS messaging service to push out the notifications to clients, but I want to be able to send certain updates to certain clients. The Flex notification framework doesn't seem to allow this - if we have a field in the message with a value of the user's user id for example, any client could theoretically subscribe to all messages for any given user id, and there's no verification on the server side to make sure that the client that has subscribed is logged in as that user id.Is there something I've missed here, or is the best way to handle this writing my own polling mechanism on the client side?

View 2 Replies


Similar Posts:


Flex :: Different Uses Of Component And Module In Application?

Jun 9, 2010

purpose of component and module of flex app

View 1 Replies

Flex :: Invoke F3 Module From F2 Application?

Feb 13, 2011

I have an application built on Flex 2. I am writing a new application (module based) in Flex 3. Will these be able to co-exist? Can I invoke Flex 3 module from Flex 2 application?

View 1 Replies

Flex :: Communication Between Module And Application?

Jul 21, 2011

Ok, modules in Flex are popular but I have no idea why documentation and examples on the different uses of Flex modules can be so scarce.Anyway, for this question, I will take the classic Employee/Department example. I have a main.mxml that contains an mx:TabNavigator. Each tab is loaded by an s:ModuleLoader.Tables: Employees {empID,empName,deptID}, Deparments {deptID,deptName}The Tab Navigator contains only one tab (for our example) called Employee. I have an Employee.mxml module. In that module, I have a datagrid that is populated with Employee details. I use the getEmployees($deptID) function. This function, as you may guess, returns me an array of Employees who work in a particular department.

Outside the TabNavigator, I have a departmentDropDownList that is populated with departments.deptName.My objective is to load the Employee module when I select a particular department from the DropDownList. I have a changeHandler for the DropDownList that can give me the deptID.

protected function departmentDropDownList_changeHandler(event:IndexChangeEvent):void
{
MyDeptID=departmentDropDownList.selectedItem.deptID;

[code].....

View 3 Replies

Javascript :: Embed Module Within Flex Application?

Mar 15, 2010

I have a large module written in JS which uses Canvas to draw and animate trees. This module was written for a product which is now being migrated to flex.

Is there a way in flex to embed this JS module as is? Or would I have to rewrite the whole module in AS3 (shudder)? Further, if embedding is possible, would user interactions (mouse clicks) etc. work seamlessly?

An example of the tree structure I am talking about can be found here - [URL]..

View 1 Replies

Flex :: Dispatch Event From Application To Module?

Mar 29, 2010

Is there a way how modules can listen to parent application event? My current solution that works is:

private function directoryRemoteObject_saveCompany_resultHandler(e:ResultEvent):void
{
this.directoryModuleLoader.child.dispatchEvent(new CompanyEvent(CompanyEvent.COMPANY_SAVED, e.result as int));
}

this means that I need to dispatch event for every module.

View 2 Replies

Android :: Flex - Loading Module On An Air Application?

Dec 13, 2010

I'm building an Air for Android App and I'm having problems loading a flex module. Does anyone know if loading modules is possible???

I built a simple app with just a ModuleLoader in it, which loads a mx:module. The module has only a simple mx:Label with a "Hello World" text.I build a .air with this. Then I build a .apk with the followin adt command.

adt -package -target apk-emulator -storetype pkcs12 -keystore certificate.p12 hello.apk hello.air

The application works just fine when running it on the PC, but when I do it on the apk-emulator it just goes blank and throws error #2032.

View 1 Replies

Flex :: Creating RobotLegs Module Within A PureMVC Shell Application

Oct 19, 2010

I'm working on an existing modular project that was built in PureMVC. Instead of converting everything over to RobotLegs, I want to create a new module using RobotLegs and plug it into the pureMVC shell. Currently, when the module loads, I get the following flash error: ReferenceError: Error #1065: Variable IMediatorMap is not defined.

Inititally, I thought it was because my module needed a pureMVC Mediator to call the pureMVC StartupCommand to get things "hooked up" and THEN create the RobotLegs' Context. However, that didn't work and I'm still getting the error.

View 2 Replies

Flex :: Passing And Receiving Data From A Module To Main Application Using Interfaces?

Feb 22, 2010

I know that the best way to make a connection from my main app to my modules is through interfaces.

So, my problem is, how can I implement an interface so my module can send and receive data from my main app?, cuz, I understand that my module implements an interface that is used by my main app.. but, can I do it "viceversa"?

Other issue I have is, why do I need to call my main app children if I can just import a module's class?.

View 1 Replies

Flex :: Define Components Path In Each Module / Just Main Application Mxml?

Apr 16, 2010

I'm implementing a Flex application with several modules.I'm reusing the same component in all these modules.I was wondering if I'm correctly importing it in each mxml module definition: xmlns:hillelcoren="com.hillelcoren.components.*"Should I import it only once, in the main application mxml instead?

View 1 Replies

Actionscript 3 :: Flex: Are Unused Module Project Files Included In The Module Swf's

Jan 11, 2011

Currently optimizing an application at work. There are many files in some of the module projects that are not used by the exported (release build) Module.swf's. Are these unused files included in the swf's?

View 1 Replies

Actionscript 3 :: Create Relative Paths To Swcs In Module Dependencies For Flex?

Dec 6, 2010

Can someone tell me if its possible to create relative as opposed to absolute paths to swcs in module dependencies for Flex or actionscript modules?In Flex Builder i would simply edit the swc path as'../lib/.swc..But there doesn't seem to be a way to edit the path in IntelliJ once you've defined it.

View 1 Replies

AS3 :: Flex - Module No More A Module When Extended?

Jan 25, 2010

I have created a module in Flex like below:

modules/ModuleBase.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml">

[code].....

View 1 Replies

Actionscript 3 :: Send Custom Event From One Module To Another Module?

Jan 2, 2012

I have created a modular application. I have two modules, for example Module1 and Module2.I have loaded these modules in my application. I am using Parsley in my application. I have loaded separate different context builder in both modules.

But when I am dispatching event from Module1, I am able to listen that event in that Module1 but I am trying to listen that event in another Module2. I am not able to listen that event in that Module2 through Parsley.

View 2 Replies

ActionScript 3.0 :: Create Sequence Module With Radio Buttons In Frame?

Jul 28, 2009

I'm creating a sequencing module with a bunch of radio buttons in frame 1. When a user clicks the wrong radio button it tells them. When the click the right one it moves them to frame 10. In frame 10 the correct radio button is hidden and the user has to click the next one in order. if they click the wrong one it tells them and if they click the correct one it gives new feedback and advances them to frame 20 and so forth until they get them all in order. Can I add a new event listener to a component in frame 10? how do I cancel out a previous event listener and associated function from frame 1 that was associated with that radio button? The problem I am having is that the script is calling both the frame 1 function on that button AND the frame 10 function on that button. How to correct this?

View 1 Replies

Flex :: Create A PDF Of Web Application Using AlivePdf?

Feb 28, 2011

I have a large web application with verticalScrollBar with few charts and large datagrid. I am planning to create pdf of my web application using AlivePdf.

Right now, Im using below code to creat a pdf of my application, but no luck.

var printView:DisplayObject = new InteractionsAnalysis() as DisplayObject;
printView.width = Application.application.width;
printView.height = Application.application.height;

[Code]......

View 1 Replies

Flex :: Create New Window In Air Application

Jul 27, 2011

how to create new window(same application duplicate) in Air Project.

View 1 Replies

Flex :: Create A Webbrowser Inside Application?

Dec 10, 2009

Is it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?

View 2 Replies

Flex :: Requirements To Create Adobe AIR Application?

Dec 17, 2009

i am working with Flex for quite sometime. but i hadn't get any chance to even look at Adobe AIR platform. I am planning to do some personal softwares using AIR.

Provided the background that am an absolute zero in AIR, what all should I have in my system apart from Flex builder? And how fast i can learn AIR if I am pretty comfortable in Flex?

View 2 Replies

Flex :: Create Multi-window Web Application?

Oct 20, 2010

I am using flex4, I am seeking the answer to create multi window web application. My application is some sort of complex, currently I only know using PopupManager to create a new window.Should I create each MXML for each window that I want to instantiate? And then load the mxml and put it into the stage? Is there any tutorial describing that? I want the program modular and easy to manager, extend.

The current way I am using is use Group to group up all the controls inside a window, and if user want to open that window, I will display the group and bring it to the front. Is it the right way to do windowing? But I can't support drag.

I want to know if there is any native support for draggable window, or dialog?

Also till now all the controls are put inside a single mxml file, is it possible to put one window(or one group) to be a separate mxml file?

View 4 Replies

Actionscript :: Create Functions In A Flex Application

Mar 9, 2011

I have a flex application, and I am using a cairngorm structure - src/com/mysite/editor/model/ contains the following two things

[Code]...

I was wondering where the best place to put helper methods is. I need these to be methods I can use outside of the singleton enforced class. Would it make sense to put it in Global Constants? The only thing against that, is I always use EditorGlobalConstants the same way: EditorGlobalConstants.SUPPORT_PHONE An example of a 'helper function' is the following:

[Code]....

View 2 Replies

Flex :: Create A Bucket-fill Tool In Application?

Mar 2, 2011

how can i implement a bucket fill tool in paint application in flex?

case FILL:
var b:BitmapData = new BitmapData(width, height);
b.draw(this);
b.lock();

[Code].....

View 1 Replies

Flex :: Create Custom Loading Page In Web Application?

Jul 14, 2011

Possible Duplicate:Custom Preloader in Flex 4?I am working with a flex web application and i want to implement custom loading page on application startup like the above

View 2 Replies

Flex :: Installer - Create Auto-install AIR Application

Nov 3, 2011

I'm wondering if there is a way to make an installer (.exe or .air) autoinstaller So when a user double click it, a silent installation is performed, without asking the destination folder, using instead the default one...

View 1 Replies

Actionscript 3 :: Create A Swc File For Existing Flex Application

Jan 24, 2012

I had flex project with few action script files.I want to make the project as swc file. So can i know how to create it as swc file.

View 2 Replies

Flash :: Create A Custom Scroll Bar In FLEX 3.0 Application

Jan 25, 2012

I want to create a Custom Scroll bar in my FLEX 3.0 application. Which should enable to use Text instead of |||| that shows in ScrollThumb... I have used mx_internal for changing the style of that but still facing the problem that text is not displayed. here is the code that i have created.

[Code]...

View 1 Replies

Flex :: Create The CORE Application To Reference Sub-applications?

Jun 3, 2009

I am trying to create a large flex project. This Project consists of a CORE application, and other sub-applications.The CORE application should contain information that will be shared by all other projects (e.g., link to database, data manager which loads data from the database, application information like height width colors fonts... etc.).

The sub-applications each has a certain task. Each sub-application is a large project by itself so I don't think its a good idea to put all code inside one HUGE project.The CORE project should run the main application, and through a navigation menu, I should be able to click and run other sub-applications.Is there a way to created the CORE application to reference those sub-applications so that I can run them inside of the CORE. At the same time, those sub-applications should reference the CORE applications to get the NetConnection to the database and other important information that they might share?

View 3 Replies

Flex :: Adobe AIR - Option To Not Create A Shortcut When Installing An AIR Application?

May 14, 2010

Does anyone know if there is an option to not create a shortcut to an AIR application after its installation?

Currently, all I have found is an option to choose the location of the application shortcut from within the start menu (in the application descriptor file, using the programMenuFolder option)

View 1 Replies

Actionscript 3 :: Create Custom Taskbar Icon In Flex Application?

Jun 2, 2010

I'm trying to create custom icons for my taskbar/desktop icons in my Flex WindowedApplication. So far, I've edited my -app.xml file to include the following[code]...

View 1 Replies

Flex :: BlazeDS Trading Application - Create A Professional Looking Website?

Oct 11, 2010

I am a Flex/Java developer, in the process of creating a Financial/Trading website for a start-up company.The default look and feel of Flex (out of the box) is pretty plain and bland (in terms of the default styles). Can anybody recommend the easiest way for me (as a developer) to make the website look as polished and professional as possible?

What is am looking for is:

A professional style/theme to the website Use of polished images/icons Use of some Flash components for the intro/welcome page. The quickest way to get this styling/images/icons done - should I outsource this to an on-line company?I have been looking at Flash Catalyst as an option but images need to be created first in Photoshop (which as a product I do not know).

View 3 Replies







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