Re: [flexcoders] No Flex builds since May 21st?

2010-06-02 Thread Alex Harui
Baked.  Final inspections, packaging, loading up the truck...  Unless the truck 
gets in an accident or a rat eats through the packaging, the truck will leave 
the loading dock shortly and deliver the goods.


On 6/2/10 3:23 PM, "tntomek"  wrote:






Curious if anyone has any info, it's very unusual to see no nightlies for so 
long (this is a good thing). Is 4.1 done and baking?






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Blocking

2010-06-02 Thread Richard Rodseth
Thanks. I guess it makes sense now that I think about it.

On Wed, Jun 2, 2010 at 9:05 PM, Alex Harui  wrote:

>
>
> I don’t know of any way to block for async network calls.
>
>
>
> On 6/2/10 6:59 PM, "Richard Rodseth"  wrote:
>
>
>
>
>
>
> I know this sounds terrible, but is there a way to wrap an asynchronous
> call in one which blocks while waiting for it to complete?
>
> I'm loading XML via URLLoader to configure a mock API implementation and am
> limited in what I can change in the main application architecture. So I need
> a way to block while loading the configuration file. I've tried setting a
> _loadState variable and looping while it's set to loading, but that didn't
> seem to do the trick.
>
>
>
>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>  
>


Re: [flexcoders] Blocking

2010-06-02 Thread Alex Harui
I don’t know of any way to block for async network calls.


On 6/2/10 6:59 PM, "Richard Rodseth"  wrote:






I know this sounds terrible, but is there a way to wrap an asynchronous call in 
one which blocks while waiting for it to complete?

I'm loading XML via URLLoader to configure a mock API implementation and am 
limited in what I can change in the main application architecture. So I need a 
way to block while loading the configuration file. I've tried setting a 
_loadState variable and looping while it's set to loading, but that didn't seem 
to do the trick.





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] Blocking

2010-06-02 Thread Richard Rodseth
I know this sounds terrible, but is there a way to wrap an asynchronous call
in one which blocks while waiting for it to complete?

I'm loading XML via URLLoader to configure a mock API implementation and am
limited in what I can change in the main application architecture. So I need
a way to block while loading the configuration file. I've tried setting a
_loadState variable and looping while it's set to loading, but that didn't
seem to do the trick.


[flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Florian
Just wanted to add, that i commented on 
http://bugs.adobe.com/jira/browse/FP-2837

Best regards.

--- In flexcoders@yahoogroups.com, Oleg Sivokon  wrote:
>
> Just for the record - a quick search in the bug database for
> "LocalConnection" gives 88 results, about one half of them unresolved. AFAIK
> there are some issues related to the new security model regarding Macs and
> LocalConnection, though it's hard to imagine it would crash the browser...
> It would be very nice of you if you could find the link to the banner, or at
> least tell the URL of where it was deployed. I've recently posted a bug
> related to the changes to security model in FP10 and kind of running out of
> life examples to prove my case :) I think this issue is related, so, please,
> if you can remember where it was, it would help.
> 
> Best.
> 
> Oleg
>




[flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Florian
I have all the infos. And yes, i was quite shocked today experiencing this... 
well...

Thanx for taking the time!

--- In flexcoders@yahoogroups.com, Oleg Sivokon  wrote:
>
> Just for the record - a quick search in the bug database for
> "LocalConnection" gives 88 results, about one half of them unresolved. AFAIK
> there are some issues related to the new security model regarding Macs and
> LocalConnection, though it's hard to imagine it would crash the browser...
> It would be very nice of you if you could find the link to the banner, or at
> least tell the URL of where it was deployed. I've recently posted a bug
> related to the changes to security model in FP10 and kind of running out of
> life examples to prove my case :) I think this issue is related, so, please,
> if you can remember where it was, it would help.
> 
> Best.
> 
> Oleg
>




Re: [flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Oleg Sivokon
Just for the record - a quick search in the bug database for
"LocalConnection" gives 88 results, about one half of them unresolved. AFAIK
there are some issues related to the new security model regarding Macs and
LocalConnection, though it's hard to imagine it would crash the browser...
It would be very nice of you if you could find the link to the banner, or at
least tell the URL of where it was deployed. I've recently posted a bug
related to the changes to security model in FP10 and kind of running out of
life examples to prove my case :) I think this issue is related, so, please,
if you can remember where it was, it would help.

Best.

Oleg


[flexcoders] No Flex builds since May 21st?

2010-06-02 Thread tntomek
Curious if anyone has any info, it's very unusual to see no nightlies for so 
long (this is a good thing). Is 4.1 done and baking?



[flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Florian
Well, all i could say was, that it crashed... Charles was showing me some 
possibilties. I cleaned my Libraries/Preferences/.../#SharedObjects Folder, 
reinstalled the player a few times (like 5 times) and now i was able to get 
proper error messages (see link below if you are interessted). It was like the 
SWF was polling in an enterFrame handler... that was scary.

But: i want to know why all other flash websites seemed to be affected. The 
flash player was somehow caching the state of a LocalConnection instance, which 
was causing the trouble.

Any ideas?

http://www.box.net/shared/2uclgizshq


--- In flexcoders@yahoogroups.com, Oleg Sivokon  wrote:
>
> Well, if you will just say "it crashed", you'll get nowhere. It is possible
> that programs have bugs, but if you want to have less bugs, you have to
> provide info to help identify them. At least post a link of the banner that
> caused the crash.
>




[flexcoders] Re: Binding checkbox item renderer with XMLList item

2010-06-02 Thread md_ars


Hello Asif,

Following code can answer your first two questions however for third question 
you need to read and understand Item Renders that I have used in my code too. I 
used the source from http://techmytongue.blogspot.com/ for my Itemrender and 
modified little bit.


http://www.adobe.com/2006/mxml"; layout="absolute" 
creationComplete="initApp()" xmlns:local="*">







   
 Smith 
 25 
 true 
   
   
John 
28 
true 
   
   
 Roger 
 30 
 false 
   
   
 Andy 
 20 
 false 
   
   
 Kim 
 18 
 true 
   
















Also create CheckBoxItemRender Class as given below

package
{
import mx.containers.Canvas;
import mx.controls.CheckBox;
import mx.controls.dataGridClasses.DataGridListData;
import mx.controls.listClasses.BaseListData;
import mx.controls.listClasses.IDropInListItemRenderer;

public class CheckBoxItemRender extends Canvas implements 
IDropInListItemRenderer
{
private var _listData:DataGridListData;
private var _instanceCheckBox:CheckBox = new CheckBox();
private var _currentDataFieldName:String = new String();

public function CheckBoxItemRender()
{
super();
}

   override public function set data(value:Object):void {
super.data = value;
_instanceCheckBox.data=value[_listData.dataField];
if(value[_listData.dataField] ==true){
_instanceCheckBox.selected=true
}
else if(value[_listData.dataField] ==false){
_instanceCheckBox.selected=false
}   
}

public function get listData():BaseListData
{
return _listData;
}

public function set listData(value:BaseListData):void
{
_listData = DataGridListData(value); 
}

override protected function createChildren():void {
super.createChildren();
addChild(_instanceCheckBox);
}

   }
}

Let me know if helps you.

Thanks
Arshad

--- In flexcoders@yahoogroups.com, Asif Nawaz  wrote:
>
> Let we have following data in xml form.
> 
> 
>        Smith     25     true 
>    
>        John     28     true 
>    
> 
>        Roger     30     false 
>    
> 
>        Andy     20     false 
>    
> 
>        Kim     18     false 
>    
> 
> 
> 1 - How do i create XMLList from this xml at design time in action script.2- 
> Use this XMLList object as data provider of datagrid.3- How to bind 
> isselected item of xml with checkbox. 
>




Re: [flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Oleg Sivokon
Well, if you will just say "it crashed", you'll get nowhere. It is possible
that programs have bugs, but if you want to have less bugs, you have to
provide info to help identify them. At least post a link of the banner that
caused the crash.


[flexcoders] Re: Dynamic DropDownList Default Setting Problem

2010-06-02 Thread Stephen
There is no ArrayCollection, it is Dynamic?

--- In flexcoders@yahoogroups.com, "Amy"  wrote:
>
> 
> 
> --- In flexcoders@yahoogroups.com, "Stephen"  wrote:
> >
> > This is a Flex 4 problem.
> > 
> > I have dynamically filled a drop down box using PHP Data/Services and wish 
> > to set the initial display to the current Engineer. What I have is the 
> > value of the EngineerId.
> > 
> > I have tried to access the values of the dropdown with no louk either, I 
> > feel like I'm getting no where, any help is much appreciated.
> > 
> > CREATE VIEW view_engineer
> > AS SELECT
> >EngineerId,
> >EngineerFullName
> > FROM tblEngineer;
> > 
> > 
> > >   id="dropDownList"
> >   creationComplete="dropDownList_creationCompleteHandler(event)"
> >   labelField="EngineerFullName">
> >>  list="{getAllDisp_engineer_fullnameResult.lastResult}"/>
> >
> > 
> >
> 
> You'll need to look through the ArrayCollection and get either the index or 
> the actual item with that id so that you can set the selected item/index.
>




[flexcoders] Re: Dynamic DropDownList Default Setting Problem

2010-06-02 Thread Amy


--- In flexcoders@yahoogroups.com, "Stephen"  wrote:
>
> This is a Flex 4 problem.
> 
> I have dynamically filled a drop down box using PHP Data/Services and wish to 
> set the initial display to the current Engineer. What I have is the value of 
> the EngineerId.
> 
> I have tried to access the values of the dropdown with no louk either, I feel 
> like I'm getting no where, any help is much appreciated.
> 
> CREATE VIEW view_engineer
> AS SELECT
>EngineerId,
>EngineerFullName
> FROM tblEngineer;
> 
> 
>   id="dropDownList"
>   creationComplete="dropDownList_creationCompleteHandler(event)"
>   labelField="EngineerFullName">
> list="{getAllDisp_engineer_fullnameResult.lastResult}"/>
>
> 
>

You'll need to look through the ArrayCollection and get either the index or the 
actual item with that id so that you can set the selected item/index.



[flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Florian
Yes, tahnx... but that's not the solution. I need to fix this since and i have 
to know the reason behind this. It can't be the case that the plugin is 
crashing my system.

Browsers affected. Safari, Opera.

--- In flexcoders@yahoogroups.com, Oleg Sivokon  wrote:
>
> Try Chrome, it won't crush because of plugins.
>




[flexcoders] Re: Flex 4 layout documentation for spark ActionScript components

2010-06-02 Thread Florian



Hi Alex,


the component hierarchy:


__

__




__

__


There is no specific layout applied, since an absolute positioning is required. 
Now when setting the positions of  elements programmatically with the 
API of the ILayoutElement interface, the width and height values are not set 
properly for the contentGroup. contentWidth and contentHeight have the right 
values. I have to register an event handler for FlexEvent.UPDATE_COMPLETE and 
invalidate the contentGroup again. After the additional invalidation cycle, 
width and height are set as expected.

I'll post an example tomorrow.

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> I may not be understanding your issue.  I'm pretty sure our 
> SkinnableContainers delegate their assigned layouts to the contentGroup 
> because the contentGroup's measurements affect the size given to it by its 
> parent and the eventual call to updateDisplayList.  If you subclass 
> updateDisplayList in the SkinnableComponent I don't see how the assigned 
> layout will know that its measurement is not right.
> 
> One way to encapsulate the measurement and layout logic together is to create 
> a custom layout.  I suppose you could also just override measure() in the 
> component as well.
> 
> 
> On 5/31/10 12:34 AM, "Florian"  wrote:
> 
> 
> 
> 
> 
> 
> Hi Alex, usually i would agree right on spot but the fact that i am using a 
> basic layout in for group and the layouting is done correctly, i don't really 
> see the need for another class. There is just one update of the measuring 
> missing, which i don't understand.
> 
> When a Group is using a BasicLayout contentWidth and contentHeight should be 
> equal with width and height, if clipping is not enabled and no values for 
> width or height are set explicitly. Or am i mistaken in this point?
> 
> Best regards and thanks for taking the time.
> 
> --- In flexcoders@yahoogroups.com  , 
> Alex Harui  wrote:
> >
> > I would create a new Layout class and properly measure and layout in its 
> > measure() and updateDisplayList() methods and use that as the 
> > contentGroup's layout, otherwise the Group's default layout class is going 
> > to be arguing with your code.
> >
> >
> > On 5/30/10 3:36 AM, "Florian"  wrote:
> >
> >
> >
> >
> >
> >
> > Hi,
> >
> > i was and i am still running into problems with sizing and placing 
> > components in skins programmatically for spark ActionScript and 
> > MXML/ActionScript components.
> >
> > I want to initialize the components in MXML and size and position the 
> > children in the component's (a component's skin) updateDisplayList, 
> > although this might be a bit of an uncommon approach.
> >
> > I was implementing the positioning via UIComponent.move, which i realized 
> > was the wrong approach. After just setting the x and y properties, i did 
> > some research and stumbled across the ILayoutElement and its methods like 
> > setLayoutBoundsPosition and corresponding methods to modify the skin's 
> > display list. But somehow the group, which contains the children, does not 
> > propagate its new size up to its parent. I use the updateComplete event to 
> > invalidate the group's size and force the layout to be calculated properly 
> > a last time. The view looks as expected. But i don't think that 
> > invalidating a component "a last time" after an updateComplete event was 
> > dispatched is wrong.
> >
> > Now, what is the right approach for the following task: implementing a 
> > skinnable component and a corresponding skin. The skin creates the skin 
> > parts in MXML in a Group (id="contentGroup") but the layout is calculated 
> > within the skin's updateDisplayList method.
> >
> > I only found one useful article on the web, which is not really a lot of 
> > information at all 
> > (http://www.adobe.com/devnet/flex/articles/spark_layouts_print.html).
> >
> > Best regards.
> >
> >
> >
> >
> >
> >
> > --
> > Alex Harui
> > Flex SDK Team
> > Adobe System, Inc.
> > http://blogs.adobe.com/aharui
> >
> 
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>



Re: [flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Oleg Sivokon
Try Chrome, it won't crush because of plugins.


[flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Florian
I'm running Mac OS X 10.6.3 and RC 6 from labs, but i'm also experiencing this 
problem with 10.0.x.

--- In flexcoders@yahoogroups.com, "Florian"  wrote:
>
> I know this is not primarily a Flash Player, but an ActionScript/Flex forum 
> but could some Adobe employees please forward this message:
> 
> Please make sure that my browser won't crash when a broken SWF is loaded or a 
> runtime errors occur.
> 
> Also: i experienced the crash a few hours ago the first time, i guess it was 
> a banner and since then i run regularly into browser crashes. I disabled the 
> plugin and everything runs fine. 
> 
> Is the player cashing old SWFs? If so, where to delete the files?
> 
> Best regards.
>




[flexcoders] Re: Addressing SERIOUS Flash Player issues

2010-06-02 Thread Florian
I'm running Mac OS X 10.6.3 and the RC 6 from labs. But i'm running into the 
issues also with older versions of the player.

--- In flexcoders@yahoogroups.com, "Florian"  wrote:
>
> I know this is not primarily a Flash Player, but an ActionScript/Flex forum 
> but could some Adobe employees please forward this message:
> 
> Please make sure that my browser won't crash when a broken SWF is loaded or a 
> runtime errors occur.
> 
> Also: i experienced the crash a few hours ago the first time, i guess it was 
> a banner and since then i run regularly into browser crashes. I disabled the 
> plugin and everything runs fine. 
> 
> Is the player cashing old SWFs? If so, where to delete the files?
> 
> Best regards.
>




[flexcoders] Addressing SERIOUS Flash Player issues

2010-06-02 Thread Florian
I know this is not primarily a Flash Player, but an ActionScript/Flex forum but 
could some Adobe employees please forward this message:

Please make sure that my browser won't crash when a broken SWF is loaded or a 
runtime errors occur.

Also: i experienced the crash a few hours ago the first time, i guess it was a 
banner and since then i run regularly into browser crashes. I disabled the 
plugin and everything runs fine. 

Is the player cashing old SWFs? If so, where to delete the files?

Best regards.



Re: [flexcoders] removeEventListener - is it important?

2010-06-02 Thread Alex Harui
A.addEventListener(“someEvent”, B.someHandler)

Adds a reference from A to B so that A can know the which object’s someHandler 
to call.  If A and B are the same or B is a child of A it can’t cause a memory 
leak and thus the listener does not need to be removed.  If A is a parent of B 
or is closer to a GC root than B then you can have problems.

No need to clean the poop out of the diaper if you are going to toss the whole 
diaper.


On 6/2/10 3:57 AM, "Nick Middleweek"  wrote:






Hi,

I'm trying to get my head into the Flex (3) component architecure and am 
reading through the source code of mx.controls.DateField. I've noticed quite a 
calls (eight of them) to addEventListener but there are none to 
removeEventListener.

Is it not important to clear up after yourself?...

"It is a good idea to remove any handlers that will no longer be used. This 
removes references to objects so that they can be cleared from memory." -  
http://livedocs.adobe.com/flex/3/html/help.html?content=events_05.html


So; when I create a DateField, a number of event handlers are attached to it, 
so if I remove that DateField from the stage, are the event handlers still 
attached and therefore the DateField is referenced by these handlers and 
therefore won't get GD'd ?

Mmmm


Cheers,
Nick

--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Re: Possible to capture the console log and act on it?

2010-06-02 Thread Alex Harui
I’m pretty sure that won’t work.  Also, the release player won’t output to the 
log anyway and I don’t think you want to require debugger players.

Is the 3rd party SWF a Flex SWF changing states via Flex?  I would think there 
are other ways to trap when it changes.


On 6/1/10 1:50 PM, "olegsivo...@gmail.com"  wrote:






Not sure if this will work but you can try to define a top-level package 
function with the name trace() - I never tried it, chances are this won't work 
though :) Another thing, if it's an AS2 SWF you can compile with MTASC and 
specify your own function for trace. I haven't tried this, but maybe if you 
redefine the trace() in HaXe, then it will override the default tracing 
method... I also think that in AS2 you could redefine it through AsNative.
But I'm sure that other than that you cannot read from the output stream of 
another SWF with SWF.





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Re: flash 4 and flex 3

2010-06-02 Thread Brendan Meutzner
http://bugs.adobe.com/jira/browse/FB-26842



2010/6/2 Tom Chiverton 

>
>
> On Monday 24 May 2010 06:05:29 you wrote:
> > well, Flash Builder 4 can't do the release builds.
>
> In what way "can't" ?
>
> --
> Tom Chiverton
> Helping to revolutionarily cultivate high-end strategic error-free
> distributed
> bandwidth as part of the IT team of the year 2010, '09 and '08
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England and
> Wales under registered number OC307980 whose registered office address is at
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
> of members is available for inspection at the registered office together
> with a list of those non members who are referred to as partners. We use the
> word ?partner? to refer to a member of the LLP, or an employee or consultant
> with equivalent standing and qualifications. Regulated by the Solicitors
> Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged. If you are not the addressee you
> must not read it and must not use any information contained in nor copy it
> nor inform any person other than Halliwells LLP or the addressee of its
> existence or contents. If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 2500.
>
> For more information about Halliwells LLP visit www.Halliwells.com.
>
>  
>


[flexcoders] Binding checkbox item renderer with XMLList item

2010-06-02 Thread Asif Nawaz
Let we have following data in xml form.


       Smith     25     true 
   
       John     28     true 
   

       Roger     30     false 
   

       Andy     20     false 
   

       Kim     18     false 
   


1 - How do i create XMLList from this xml at design time in action script.2- 
Use this XMLList object as data provider of datagrid.3- How to bind isselected 
item of xml with checkbox. 


  

Re: [flexcoders] removeEventListener - is it important?

2010-06-02 Thread Oleg Sivokon
Well, it's really hard to tell since all those objects inherit from
UIComponent and it has almost every method overridden and to tell you the
truth I just don't know what happens when these handlers are added or
removed. I think in every particular case only the profiler will tell what
is really happening.
That is, the display objects may not be disposed after they are removed from
stage and may be stored for the later use. Think of TabNavigarot for
example, the components on each tab will be removed and then re-added to
 stage once every time you switch the tab and so on. What I mean it's not
like in .NET for example, where once you have disposed a component you have
nothing to do with it but just throw it away. Some basic Flash object have a
way to explicitly free their resources, like BitmapData, TextLine or XML (in
AIR), but you cannot explicitly dispose the resource used by display objects
and Flex framework doesn't do anything in that regard.


Re: [flexcoders] removeEventListener - is it important?

2010-06-02 Thread Nick Middleweek
Hi Oleg,

Thanks for the reply... I think it's important too but can't understand why
the DateField Class in the Flex SDK doesn't do it?

Digging a little deeper... Here's the Constructor of the DateField...

/**
 *  Constructor.
 */
public function DateField()
{
  super();
  addEventListener(Event.REMOVED_FROM_STAGE, removedFromStageHandler);
}


The removedFromStageHandler() function, seems to be doing some clean ups, so
I guess that's kind of like it's .dispose() method.


Nick




On 2 June 2010 12:44, Oleg Sivokon  wrote:

>
>
> If you are adding handlers to events dispatched by the objects that are
> going to be removed along with the listener, then why not? However, it is
> true that Flex components have no dispose() or similar methods.
>


Re: [flexcoders] removeEventListener - is it important?

2010-06-02 Thread Oleg Sivokon
If you are adding handlers to events dispatched by the objects that are
going to be removed along with the listener, then why not? However, it is
true that Flex components have no dispose() or similar methods.


[flexcoders] Dynamic DropDownList Default Setting Problem

2010-06-02 Thread Stephen
This is a Flex 4 problem.

I have dynamically filled a drop down box using PHP Data/Services and wish to 
set the initial display to the current Engineer. What I have is the value of 
the EngineerId.

I have tried to access the values of the dropdown with no louk either, I feel 
like I'm getting no where, any help is much appreciated.

CREATE VIEW view_engineer
AS SELECT
   EngineerId,
   EngineerFullName
FROM tblEngineer;


   
  
   




Re: [flexcoders] Re: Maximized alwaysInFront AIR App covers Windows TaskBar

2010-06-02 Thread Tom Chiverton
On Tuesday 18 May 2010 12:33:21 you wrote:
> On my screen everything from Screen/Stage/NativeWindow all return the same
>  height 1050px (well 1054px actually but that is down to the usual 3+1 bug)

Screen.mainScreen.visibleBounds not working for you ?
I got it from 
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=4&postId=10823
 according to the comment next to the code :-)

-- 
Tom Chiverton
Helping to ambassadorially morph action-items as part of the IT team of the 
year 2010, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

[flexcoders] removeEventListener - is it important?

2010-06-02 Thread Nick Middleweek
Hi,

I'm trying to get my head into the Flex (3) component architecure and am
reading through the source code of mx.controls.DateField. I've noticed quite
a calls (eight of them) to addEventListener but there are none to
removeEventListener.

Is it not important to clear up after yourself?...

"It is a good idea to remove any handlers that will no longer be used. This
removes references to objects so that they can be cleared from memory." -
http://livedocs.adobe.com/flex/3/html/help.html?content=events_05.html


So; when I create a DateField, a number of event handlers are attached to
it, so if I remove that DateField from the stage, are the event handlers
still attached and therefore the DateField is referenced by these handlers
and therefore won't get GD'd ?

Mmmm


Cheers,
Nick

-- 
Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog:
http://blog.middleweek.co.uk } );


Re: [flexcoders] Re: flash 4 and flex 3

2010-06-02 Thread Tom Chiverton
On Monday 24 May 2010 06:05:29 you wrote:
> well, Flash Builder 4 can't do the release builds.

In what way "can't" ?

-- 
Tom Chiverton
Helping to revolutionarily cultivate high-end strategic error-free distributed 
bandwidth as part of the IT team of the year 2010, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

Re: [flexcoders] upload files more than 150mb

2010-06-02 Thread Tom Chiverton
On Saturday 22 May 2010 06:04:01 you wrote:
> it just Freeze.

Uh huh. That's a bug in older Players, iirc. If you look at the network 
traffic it'll actually be transferring.

-- 
Tom Chiverton
Helping to elementarily customize data as part of the IT team of the year 
2010, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.