<< Delhi Flash/Flex User Group

Discussion Area

ask questions, discuss topics, solve problems

Discussion Home | About | Threads By Date | Search

Posts

1-10 of 62 | Next> | Last>>

New to Group | looking for a group of local Flex Develops 12
Thread posted on Dec 11 by Rajesh...

Hii All,

I am new to the flex as a technology as well as this community .. at this point I am looking for a person or a group of persons who can help me to establish a enterprise application architecture in Adobe flex... I also need information regarding Advance Flex books, training, usergroup meet etc.

I am looking for somebody in NCR region only... Please indicate your interest by email sahildagar@gamil.com

Thanks in avance.

Raj...



NCR Flex Developer Group 11
Thread posted on May 13 by nishantkyal

Hi all,


This message mostly concerns Flex and Flash developers in NCR, but everybody is welcome to read on.

I'm a Flex developer and a co-founder at itasveer.com and it pains me to see that there are no good Flex, Flash developer communities in NCR region (please correct me if I'm wrong and tell me how to participate :D). I was discussing this with an Adobe evangelist recently and he has promised support to any such community. Bangalore Flex group meets at Adobe office and I'm sure they're benefiting from it, so why not have one of our own here?

So, I'd like to invite all interested Flex and Flash developers in NCR region for a small meetup. If you're interested, please respond to this message and we can schedule it. I can offer my office in Gurgaon as a meeting point if that's convenient for everybody.

Regards
Nishant



What about Adobe Dev Summit, 2009 - NCR, India? 8
Thread posted on Aug 13 by Ram p

Adobe channeled expert event “Adobe Dev Summit, 2009 – Bangalore” for the Adobe Flash platform developers on 4th August and all were pleased by the number of participants!! It was more than a THOUSAND!!! special Kudos to the team that achieved it!

This summit meeting was on Adobe Flash Builder 4, Flash catalyst, LCDS 3.0, Flash light, Flex and Java/J2ee, Flex and PHP and may more wonderful topics, took place at Hotel Lalit Ashok, Bangalore.

What I learnt was the entire event was good for both who does not know flex and who is already in the flex development. The show got more interesting with the presence of experts like Ben Forta and Serge Jespers and Sujit Reddy etc.

Now, coming back to NCR, what do you guys feel about having such meeting in NCR! Flex NCR group is one of the most popular groups and I feel NCR deserves such an informative summit from Adobe?

Are you with me on this? If yes, please raise your hand! Come up with inputs, suggesstions, comments, interests and post them here.

I am sure you are as much excited as me about this!



about monthly meet 7
Thread posted on Dec 12 by Vijay roy

Hi All,

Can we dedide a specific date for this monthly meeting.

It will be good if we decide atleast start of the month.

Can we go for 27 Dec.

Please give your suggestion for this date.

 

 

 



Basics of Garbage Collection in Flex 7
Thread posted on Jan 03 by Vaibhav/Steve

While going across many blogs I find "memory leakage" exisits in flex and cant be handled 100%, but only we have to take care at our end while coding, may be in future adobe can come up with sum optimizations regarding this.

 http://blogs.adobe.com/aharui/2007/03/garbage_collection_and_memory.html

 http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html

Given are the links, which throws some light on how flash player's GC works.

So, these guidelines can help in preventing great amount of memory leakage, while building large aplicaions.

If anybody having any guidelines about optimizing memory utilization of flex applications, or any link pls do post or leav as a comment.



Write simple Code even the task is complex! 7
Thread posted on Jan 22 by baqar22

There is very good quota:

"Any Fool can write a code which computer can understand, write a code which human can understand"

So guys do you think that the code you wrote can be understand by some one with least effort without your explanation? If your sure and have a time take a review with your collegue and find it out...

Write a code such that it is self explaining which can start from giving simple variable and function names what they actually do. Think for a moment before giving names to variables, functions and classes....

Thought.....



Approaches identified for Flex Memory Management 6
Thread posted on Jul 24 by Appyfizz007

Hi All,

I am in the process of making a Flex Memory management approach document which will primarily cover the areas related to Flex GC and the Flex memory costly processes and also the workarounds that how can we resolve them.

I will update on that very shortly......

Thanx

Appy



Ways to show the PopUp in Cairngorm Architecture. 5
Thread posted on Mar 11 by Vaibhav/Steve

My task is very simple that i want to show alert in view.
But I am in Cairngorm architecture, so i have to go by the rules.
Which staes that there should be an Event and Command for this purpose.
But command can update model not the view, on which I need to show the PopUp.

So, the traditional approach is, that I will take a Boolean Variable in the ModelLocator,
change its value evry time the command is executed.

To listen the change I will use <mx:Binding> in my view, where the source will be binded to the modelLocator's variable
and destination will be the variable inside this view.

Now variable will be something like: private var set var(val:Boolean), this will finaly end up in triggering the function of your view, and I can write the PopUp code here.

But why I have done all this ?

Because the PopUpManager.createPopUp(), needs the refrence of the parent view, on which the popup needs to be displayed, and command cannot contain the view's refrence, as by Cairngorm.

Now, we look upon the another approach for doing the same work.

I am planning to dispatch an event from the view, and get a callback function invoked, after the command have finished its work.

When writing an CustomEvent Class in Cairngorm, take an additional property in class, sumthing like:

public var ref:Function;

Now, while disptaching the event from the view, I will fill up this property, with the help of constructor.
Something like: new CustomEvent(func1, .. , .. , ..)

where this func1: is the function in my view part, which I want to be called back, after the completion of my commmand.

and constructor of the CustomEvent class will store the refrence to the function func1 into the ref variable.

Coming to the CustomCommand:

In the execute(), I have the (event:CairngormEvent), the object of my custom class as a prameter.
I will type caste it to the CustomEvent(event).
Now the only thing left is to call the function, that is stored as the ref in my CustomEvent class.

CustomEvent(event).ref();

And my function is executed in the view.


I can write the same code as in setter,in the previous approach.

But, whether I have violated cairngorm anywhere ??

Comments are most welcome.



Execute application code before Preloder is done OR Controlling preloader from application 4
Thread posted on Dec 03 by baqar22

Now the time is to put some code guys:

The creationComplete event is fire before the onFlexInitComplete, so instead of dispatching the complete event from onFlexInitComplete from your preloader you can let your code to wait for a customized event dispatched from the application, and you have the handler for that customize event  in your customizePreloader which dispatches the Event.Complete event, also keep in mind that flex framework will go to second frame i.e. application only when it listen the Event.Complete event from preloader which is at first frame only.

Here is some working code:

Application:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
    creationComplete="start()" preloader="CustomizeProgressBar" >
    <mx:Script>
        <![CDATA[
          
            private function start():void
            {
                  this.addEventListener("preloaderListenerAdded",peloaderListenerAdded);
            }   
                
          
            private function preloaderListenerAdded(event:PreloaderEvent):void
            {
                Application.application.dispatchEvent(new Event("getRidOfPreloader"));
            }
        ]]>
    </mx:Script>
</mx:Application>

CustomizePreloader:

 public class CustomizePreloader extends DownloadProgressBar
    {
        [Embed(source="preloader.swf")]
        public var WelcomeScreenGraphic:Class;
 
        public var wcs:MovieClip;
     
        public function CustomizePreloader ():void
        {
            super();
            wcs = new WelcomeScreenGraphic();
            addChild(wcs);
        }
 
        public override function set preloader(preloader:Sprite):void
        {
            preloader.addEventListene(ProgressEvent.PROGRESS,onSWFDownloadProgress);
            preloader.addEventListener(Event.COMPLETE, onSWFDownloadComplete);
            preloader.addEventListener(FlexEvent.INIT_PROGRESS, onFlexInitProgress);
            preloader.addEventListener(FlexEvent.INIT_COMPLETE, onFlexInitComplete);
        }
       
     
        private function onSWFDownloadProgress(event:ProgressEvent):void
        {
        }
       
      
        private function onSWFDownloadComplete(event:Event):void
        {
        }
 
        private function onFlexInitProgress(event:FlexEvent):void
        {
        }
 
        private function onFlexInitComplete(event:FlexEvent):void
        {
            Application.application.addEventListener("getRidOfPreloader",getRidOfPreloader);
            Application.application.dispatchEvent(new Even("preloaderListenerAdded"));
        }
       
        private function getRidOfPreloader(event:PreloaderEvent):void
        {
            dispatchEvent( new Event(Event.COMPLETE));
        }
    }

 

Now if see carefully we are not actually executing our code in the application after creationComplete event because code in application can fire a customized event to get rid of preloader but at that time preloader may not be ready to handle this event. So for overcoming this short coming we have to do two way communication.

First add the event handler in application to listen to preloader that it is ready to listen for the getRidOfPreloader event fire from application, Once preloader add handling for this event it dispatches a event to application to go ahead with its code. Then the code in the application can execute and can fire getRidOfPreloader event at any moment.

Also make sure to dispatch and add event listners in this case at Application.application level and don't worry if you have other modules which use Application because it is Singlton :)

Happy learning ;)

baqar



Refactoring : Moving towards excellence 4
Thread posted on Feb 10 by baqar22

Hey Guys,

Whenever you have time scope in your project or you have free time, instead of wasting it in useless activities use it to in learning. Learning is a never ending-process which should not be stop until the last breath,,, "Mind in any age is able to learn & No mind knows everything". So keep your mind open for learning all the time which should not be restrict to a particular domain.

Refactoring:

Refactoring is the process in which you doesn't add any feature to existing code but make it beautiful! Usually you don't do refactoring in starting but whenever new feature comes in to add. So the process is like this :- you develop something doesn't matter how structured it is in starting, then you move on and add some feature to the existing product but you find out that its somewhat complex to add a feature to it, here you go for Refactoring. You shouldn't put a lot of time in finding out the way to adjust the new feature in the existing code but instead first you should refactored the existing code to make it flexible enough to adjust the changes.

In starting you will not feel comfortable but honestly, trust me once habitual you will feel it like magic!

"Researches have proved that adding feature through refactoring takes less time and is more structured."

But refactoring is something unpopular in common programmers community and its hard to find good books or learning material on it. I am learning many techniques for refactoring from various sources so if anyone interested, I can share the techniques but first I need response otherwise it will be just waste of time in typing the text!!!!

Happy learning ;) ....



Filter by Date

<< May 2013 >>
Su Mo Tu We Th Fr Sa
      01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Filter by Tag

All
announcement
Benefit
Flash
General
General Discussion
Question
Sticky

Change View

Titles
Summaries
Table
Clip
Clip & Comments
Full

Change Sort

Alphabetically
By Last Activity
By Date Posted
By Number of Comments
By Number of Views
By Author