[flexcoders] Re: ListCollectionView#removeAll wants to dispatch undefined

2007-12-01 Thread florian.salihovic

I managed my Problem by adding a wrapper which manages the access of the tree.

Thanx for the helpful infos.

--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 Yes.  Basically we need unique child collections
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of florian.salihovic
 Sent: Friday, November 30, 2007 12:34 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ListCollectionView#removeAll wants to dispatch
 undefined
 
 
 
 
 Thanx for the reply!
 
 So would it be alright from the perspective of modelling the
 application, that i create a 
 field children in each class, that hold references to all of its childs
 that i want to display?
 
 I thought that the treedatadesciptor would be responsible melting the
 children to display 
 together. But the classes themselves are responsible for providing an
 access to the childs 
 to be displayed?
 
 Sorry if my english ain't that good. I'm from Germany and i may need to
 refresh grammar 
 and vocab ;)
 
 Best regards!
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  Actually, you don't want to do either option. You want to implement
  getChildren to return a separate array collection for each collection
 of
  children. This is because the individual sets of children are tracked
  an managed by the tree so you can't reuse one collection instance, and
  you should not return different instances for the same set of
 children,
  otherwise one part of the tree code will make changes that some other
  part will not notice. Look at the default descriptor and see that it
  caches the AC instances per node/children set
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of florian.salihovic
  Sent: Thursday, November 29, 2007 4:27 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] ListCollectionView#removeAll wants to dispatch
  undefined
  
  
  
  Currently i write a lil' component to display class hierachies. I
 wrote
  my own 
  TreeDataDescriptor. SInce i work with my own class-, packages- and
  interface-descriptor 
  classes to describe the structure, i encapsule some ArrayCollection.
 In
  order to display the 
  structures in a tree, i need to melt them together in one
  ArrayCollection. So far so good...
  
  Since i want not to create a new ArrayCollection everytime the 
  ITreeDataDescriptor#getChildren is called, i thought to create one
  ArrayCollection and 
  remove all items when the function is called. I thought it would be ok
  to create a new field 
  (typed: ArrayCollection) for the class. But actually the forces my
  component to crash. 
  Here's the code:
  precode
  public function getChildren(node:Object,
  model:Object=null):ICollectionView {
  trace(this._className+#getChildren);
  try {
  if(node is PackageDescriptor) {
  this._children.sort = null;
  /*try {
  this._children.removeAll();
  this._children.refresh();
  } catch (e:Error) {
  trace(Error: +e.message)
  } catch (e1:StackOverflowError) {
  trace(StackOverflowError: +e1.message);
  } catch (e2:CollectionViewError) {
  trace(CollectionViewError: +e2.message);
  } catch (e3:ArgumentError) {
  trace(ArgumentError: +e2.message);
  }*/
  trace(\tnode.className: +PackageDescriptor(node).className);
  this._children = new ArrayCollection();
  var packageDescriptor:PackageDescriptor = PackageDescriptor(node);
  for (var i:uint = 0; ipackageDescriptor.packages.length; i++) {
 
 this._children.addItem(PackageDescriptor(packageDescriptor.packages.getI
  temAt(i)));
  }
  for (var j:uint = 0; jpackageDescriptor.classes.length; j++) {
 
 this._children.addItem(ClassDescriptor(packageDescriptor.classes.getItem
  At(j)));
  }
  for (var k:uint = 0; kpackageDescriptor.interfaces.length; k++) {
 
 this._children.addItem(InterfaceDescriptor(packageDescriptor.interfaces.
  getItemAt(k)));
  }
  /*for (var l:uint = 0; lthis._children.length; l++) {
  trace(\t\t+l+: +this._children.getItemAt(l).name);
  }*/
  return this._children;
  }
  } catch (e:Error) {
  trace(Error: +e.message)
  } catch (e1:StackOverflowError) {
  trace(StackOverflowError: +e1.message);
  } catch (e2:CollectionViewError) {
  trace(CollectionViewError: +e2.message);
  } finally {
  return _children;
  }
  }/code/pre
  So why is it at this point wrong to call removeAll to remove all
  references from the 
  ArrayCollection instead of creating a new ArrayCollection all the
 time?
  The code above 
  compiles. If i uncomment the first try/ctach statement, the
 application
  crashes.
 






Re: [flexcoders] If Flex is open source, how do we go about changing the language?

2007-12-01 Thread Paul Andrews
- Original Message - 
From: aceoohay [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, December 01, 2007 5:33 AM
Subject: [flexcoders] If Flex is open source, how do we go about changing 
the language?


I just ran across what I consider a significant deficiency in Flex.
 To correct this problem would require an addition of two attributes
 to the mx:DataGridColumn class.

 I could make a change to my version of the language, or perhaps I
 could create an inherited class.

A much better idea. At least then you wouldn't be completely out on a limb.

However, I feel strongly that the
 problem is so fundamental that it should be changed in the language.
 How do I go about making this happen?

Go here: http://bugs.adobe.com/flex/

(I know it's not a bug, but an enhancement request)

You are actually in need of an enhancement to the Flex classes rather than a 
change in the language - your subject title is likely to confuse people.

Paul 



Re: [flexcoders] If Flex is open source, how do we go about changing the language?

2007-12-01 Thread Ralf Bokelberg
Why has you data null values in the first place?
Maybe you can put in some dummy data?
Cheers
Ralf.


Re: [flexcoders] If Flex is open source, how do we go about changing the language?

2007-12-01 Thread Robert Thompson
I don't believe the Flex language itself is open source, only the .swf format.

Someone at adobe may want to clear that up.

Although I'm sure this is an earnest request, whenever open source is discussed 
one thing everyone on this list has to be careful of is that MICROSOFT will not 
go well into that good night of the loser status that are suffering at the 
hands of Apple and Linux after the desperate attempts by SCO.

I've learned enough about them to know that.  They will keep people out on the 
edge of happenings to attempt to stir trouble, so any discussion of Open Source 
(microsoft's thorn) in a way that would disturb the good foundation of Flash 
end-users should looked at closely.

One thing I've learned about enemies is that once you begin to feel sorry for 
their sad state, they usually have such little class as to reach out in 
desperation to draw their gun from their black holster and beady blue eyes to 
shoot at innocence.

Mercy is good, but not with Microsoft (never).

-r

Ralf Bokelberg [EMAIL PROTECTED] wrote:   Why has 
you data null values in the first place?
 Maybe you can put in some dummy data?
 Cheers
 Ralf.
 
 
   

   
-
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.

Re: [flexcoders] How to open a flex project that was created elsewhere?

2007-12-01 Thread Mike Chabot
Open up the new Flex project dialog box. In the location field, hunt
down the folder that contains the downloaded content. When you have it
set up, you should right-click the mxml file and set it as the default
application. If you create a new project, FB 3 might create a /src/
folder with an empty mxml file. You can delete that.

-Mike Chabot

On Nov 30, 2007 1:53 PM, Michael Pengi [EMAIL PROTECTED] wrote:





 I've downloaded a sample flex application, how do I open it in the flex
 builder 3 IDE? There is no 'Open Project' menu option, only New...Flex
 Project and so forth?
 --
 View this message in context:
 http://www.nabble.com/How-to-open-a-flex-project-that-was-created-elsewhere--tf4923183.html#a14088912
 Sent from the FlexCoders mailing list archive at Nabble.com.

 


Re: SPAM-LOW: Re: [flexcoders] If Flex is open source, how do we go about changing the language?

2007-12-01 Thread Jeffry Houser
Robert Thompson wrote:
 
 I don't believe the Flex language itself is open source, only the .swf 
 format.

  Most of the AS3 classes in the Flex SDK are open source.  With the 
release of Flex 3, Flex is becoming more open source.  From what I've 
heard this will include the Flex compiler and the Remoting classes.

 
 Someone at adobe may want to clear that up.
 
 Although I'm sure this is an earnest request, whenever open source is 
 discussed one thing everyone on this list has to be careful of is that 
 MICROSOFT will not go well into that good night of the loser status that 
 are suffering at the hands of Apple and Linux after the desperate 
 attempts by SCO.
 
 I've learned enough about them to know that.  They will keep people out 
 on the edge of happenings to attempt to stir trouble, so any discussion 
 of Open Source (microsoft's thorn) in a way that would disturb the good 
 foundation of Flash end-users should looked at closely.
 
 One thing I've learned about enemies is that once you begin to feel 
 sorry for their sad state, they usually have such little class as to 
 reach out in desperation to draw their gun from their black holster and 
 beady blue eyes to shoot at innocence.
 
 Mercy is good, but not with Microsoft (never).
 
 -r
 
 */Ralf Bokelberg [EMAIL PROTECTED]/* wrote:
 
 Why has you data null values in the first place?
 Maybe you can put in some dummy data?
 Cheers
 Ralf.
 
 
 
 Get easy, one-click access to your favorites. Make Yahoo! your homepage. 
 http://us.rd.yahoo.com/evt=51443/*http://www.yahoo.com/r/hs
 

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com



Re: SPAM-LOW: [flexcoders] If Flex is open source, how do we go about changing the language?

2007-12-01 Thread Jeffry Houser
Semantics, I know, but
  The language is ActionScript 3.  You're talking about a problem with a 
component built in that language, not the language itself.

  I can see a benefit of adding either of these attributes to the 
datagrid.  You should be able to create your own version, or an 
extension of the DG at your leisure.

  You can submit an enhancement request at http://bugs.adobe.com/flex/ . 
  I'm under the optimistic impression that Adobe looks at, and 
evaluates, all requests.  It wouldn't hurt if you tell all your friends 
to vote for the request.

aceoohay wrote:
 
 
 I just ran across what I consider a significant deficiency in Flex.
 To correct this problem would require an addition of two attributes
 to the mx:DataGridColumn class.
 
 I could make a change to my version of the language, or perhaps I
 could create an inherited class. However, I feel strongly that the
 problem is so fundamental that it should be changed in the language.
 How do I go about making this happen?
 
 The problem is this;
 
 It appears that when sorting a DataGrid by clicking a column that
 Flex currently does its best to determine the data type and sorts
 based on that data type. The problem is that it gets confused when
 there are nulls in date, numeric, or boolean fields. When it gets
 confused it ralph's on its shoes (blows up). Based on my research,
 including reading a bit of the file sortField.as, this is by design.
 
 There is a way around it but it requires instantiating a compare
 function for each column that might get a null, and might be one of
 non string data types. The workaround is to create a function, and
 use the sortCompareFunction attribute to call a that function.
 There is even a kludgier workaround to make the function generic by
 using the headerRelease attribute of the DataGrid to update a
 public variable with the column number.
 
 Since it seems as though this is an ubiquitous problem, it should be
 solved in the language itself. The best approach that I came up with
 is to have two new attributes for the mx:DataGridColumn;
 
 sortDataType - Basically specify the type of data contained in the
 column that would be honored by the sort routine irrespective of the
 values contained in the column. Values would be any valid data type.
 
 sortNullCollatingSequence - This would define whether nulls get
 sorted to the top or bottom of the list. Values would be low - which
 would indicate that nulls would sort lower than the lowest normal
 value, and high - which would indicate that nulls would sort higher
 than the highest normal value.
 
 This is one possible solution, there may be better ones but in my
 opinion the current method should be improved. I would like to see it
 implemented quickly as I believe it is a serious problem.
 
 How do I go about getting this taken seriously, and not assigned
 an enhancement request number and never looked at again?
 
 Paul

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com



Re: [flexcoders] Issues with Dynamic vs. Embedded Font Leading

2007-12-01 Thread Jon Bradley
So, yea. There is a bug in the line space rendering in Flash for  
embedded fonts.


Easiest test case is to build a TextField display and set the leading  
to the point size of the font, minus the ascent and descent. In the  
ideal world, this should cause all lines of a multiline text field to  
align on the baseline of the first line (overlap). Unfortunately,  
this does not occur at all point sizes - only a few: 9,12,26,32 and a  
couple others I think.


For all  other point sizes, the line spacing determined by Flash is  
off anywhere from half a point to 10 points. That's pretty wack if  
you ask me. I might need to file a bug on the text rendering  
sometime. First I have to figure out why it's doing that (I have a  
fix that works). The wonderful getTextExtent inaccuracies didn't help  
much either.


It's interesting to set the line spacing and see it fluctuate as the  
font sizes change.


Whatever. Hackery abounds. At least I can get it to match Photoshop's  
rendering of text now, minus display issues with antialiasing and the  
way the Saffron engine renders characters. But that is another,  
separate issue - it doesn't render all characters right - that might  
be because of the quadratic approximation of the font outlines.


cheers,

jon


On Nov 29, 2007, at 8:33 PM, Jon Bradley wrote:


Embedded fonts, on the other hand, incorrectly render leading,
always. I say incorrectly because it's not how any other desktop
print application does it, so far as I can tell. Maybe it's an issue
with the way saffron was designed .. how is Flash calculating this?

Flash is definitely not rendering line spacing/leading correctly, but
I cannot figure out what it is doing to calculate this. If I can get
that taken care of, I have the rest of the situation solved
(tracking, margins, etc.), matching photoshop as my baseline.




[flexcoders] FlashLite 3 and Flex 2/3

2007-12-01 Thread nodovu
Does FlashLite 3 support applications built in Flex 2 or 3?
Also is there a list of mobile phones that support FlashLite?



Re: [flexcoders] FlashLite 3 and Flex 2/3

2007-12-01 Thread Weyert de Boer
Currently, there aren't any mobile phones who support Flash Lite 3 out 
of the box. Of course, you can install developer player on a nice list 
of mobile phones, tough. It's expected that the first Flash Lite 3 
enabled mobile phone will be available for consumption in the first 
quarter of next year. Flash Lite supports now Flash 8 movies--with some 
limitations (no binary sockets, or bitmap data or filters support, 
hopefully in the future!).

More information about Flash Lite can be found at:

* Adobe Lab: http://labs.adobe.com/technologies/flashlite3/
* Flash Lite 3 forum:
  
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72catid=663entercat=y
  
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72catid=663entercat=y
* Bill post:
  
http://www.flashdevices.net/2007/11/flash-lite-3-developer-edition-now.html



Yours,
Weyert de Boer

 Does FlashLite 3 support applications built in Flex 2 or 3?
 Also is there a list of mobile phones that support FlashLite?

  



[flexcoders] It's DEMO time! - www.PlayerStreak.com

2007-12-01 Thread nodovu
Hello Flexcoders,

First off sorry if this is the wrong forum to post in, but I just
created my first flex 2 application and am looking for some feedback.

All criticism accepted, good or bad.
Also, if you like something just ask me and I can tell you how I did it.
We are still in BETA, but a blog link would be much appreciated if you
like it.


You can create your own league...takes my mom 10 secs..so should take
you like 3sec..and you get your own URL!
http://www.playerstreak.com http://www.playerstreak.com

Featured Demo
http://nfl.playerstreak.com http://nfl.playerstreak.com/
Check out the Patriots and Tom Brady's profile.

Technologies used :
ASP.NET 2.0
Wilson ORM
SQL Server 2005
Flex 2.01
Fluorine Remoting for .NET 2.0

Also integration with 3rd party controls :
IFRAME, YahooMaps, YouTube, SuperImage, etc..

Sorry again if this is the wrong forum to post in...
Thanks in advance
-Aly



[flexcoders] Re: It's DEMO time! - www.PlayerStreak.com

2007-12-01 Thread candysmate
I liked the site. But clicking on 'Rotoworld' showed that it relied on
javascript (Google analytics stuff etc). For users, like me, who have
javascript turned off some of the stuff would not work.  Frankly, I
had no inclination to turn it on to see what it did.

Otherwise - great job!



[flexcoders] Debugging help (or how to find un-debuggable bugs)

2007-12-01 Thread Mike Krotscheck
I am currently trying to debug an intermittent bug within our
application that causes a browser crash. Not just a hey, the
application threw a runtime error, I mean a do-not-pass-go,
do-not-output-useful-debug-stack, do-not-write-useful-info-to-log, .ocx
illegal exception that kills the browser.

 

So my question is: What methods have you guys used to track these things
down? I've gone the massive trace statement route, but that's proven
less than helpful.

 

Assume FB3, compiling to 2.0.1, IE  FF testing on player versions r28,
r45, r47 and r60. IE gives some slightly useful information: Unhandled
exception at 0x3006c907 in iexplore.exe: 0xC005: Access violation
reading location 0x.

 

Under other circumstances I'd say it's an out-of-memory error since
we've seen those before, but the application has since been scrubbed and
optimized and profiled to death, and doesn't suck up more than 35 megs
on a bad day.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




Re: [flexcoders] Debugging help (or how to find un-debuggable bugs)

2007-12-01 Thread Ralf Bokelberg
A technique, which worked for me in the past, is to reduce the code as
much as possible.

Cheers
Ralf.


On Dec 1, 2007 10:10 PM, Mike Krotscheck [EMAIL PROTECTED] wrote:









 I am currently trying to debug an intermittent bug within our application
 that causes a browser crash. Not just a hey, the application threw a
 runtime error, I mean a do-not-pass-go, do-not-output-useful-debug-stack,
 do-not-write-useful-info-to-log, .ocx illegal exception that kills the
 browser.



 So my question is: What methods have you guys used to track these things
 down? I've gone the massive trace statement route, but that's proven less
 than helpful.



 Assume FB3, compiling to 2.0.1, IE  FF testing on player versions r28, r45,
 r47 and r60. IE gives some slightly useful information: Unhandled exception
 at 0x3006c907 in iexplore.exe: 0xC005: Access violation reading location
 0x.



 Under other circumstances I'd say it's an out-of-memory error since we've
 seen those before, but the application has since been scrubbed and optimized
 and profiled to death, and doesn't suck up more than 35 megs on a bad day.



 Michael Krotscheck

 Senior Developer



 RESOURCE INTERACTIVE

 www.resource.com

 [EMAIL PROTECTED]




 
  This email and any of its attachments may contain Resource Interactive
 proprietary information, which is privileged, confidential and may be
 subject to copyright or other intellectual property rights belonging to
 Resource Interactive. This email is intended solely for the use of the
 individual or entity to which it is addressed. If you are not the intended
 recipient of this email, you are hereby notified that any dissemination,
 distribution, copying or action taken in relation to the contents of and
 attachments to this email is strictly prohibited and may be unlawful. If you
 have received this email in error, please notify the sender immediately and
 permanently delete the original and any copy of this email and any printout.
  



-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


RE: [flexcoders] If Flex is open source, how do we go about changing the language?

2007-12-01 Thread Gordon Smith
 it gets confused when there are nulls in date, numeric, or boolean
fields
 
 this is by design
 
I doubt that we designed this code to intentionally get confused. : ) It
sounds like we're simply not properly handling null field values when
sorting.
 
What do you mean by get confused? Does it throw an RTE? Do the nulls
cause incorrect sorting of the non-null values? Do the nulls not sort
together? How kind of sorting behavior do you think should occur when
there are null values? Should they sort before or after other values?
Please file the bug at htp://bugs.adobe.com/flex.
 
BTW, the Flex SDK is not yet open-source, but it will be soon.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Friday, November 30, 2007 9:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] If Flex is open source, how do we go about
changing the language?



I just ran across what I consider a significant deficiency in Flex. 
To correct this problem would require an addition of two attributes 
to the mx:DataGridColumn class.

I could make a change to my version of the language, or perhaps I 
could create an inherited class. However, I feel strongly that the 
problem is so fundamental that it should be changed in the language. 
How do I go about making this happen?

The problem is this;

It appears that when sorting a DataGrid by clicking a column that 
Flex currently does its best to determine the data type and sorts 
based on that data type. The problem is that it gets confused when 
there are nulls in date, numeric, or boolean fields. When it gets 
confused it ralph's on its shoes (blows up). Based on my research, 
including reading a bit of the file sortField.as, this is by design.

There is a way around it but it requires instantiating a compare 
function for each column that might get a null, and might be one of 
non string data types. The workaround is to create a function, and 
use the sortCompareFunction attribute to call a that function. 
There is even a kludgier workaround to make the function generic by 
using the headerRelease attribute of the DataGrid to update a 
public variable with the column number.

Since it seems as though this is an ubiquitous problem, it should be 
solved in the language itself. The best approach that I came up with 
is to have two new attributes for the mx:DataGridColumn;

sortDataType - Basically specify the type of data contained in the 
column that would be honored by the sort routine irrespective of the 
values contained in the column. Values would be any valid data type.

sortNullCollatingSequence - This would define whether nulls get 
sorted to the top or bottom of the list. Values would be low - which 
would indicate that nulls would sort lower than the lowest normal 
value, and high - which would indicate that nulls would sort higher 
than the highest normal value.

This is one possible solution, there may be better ones but in my 
opinion the current method should be improved. I would like to see it 
implemented quickly as I believe it is a serious problem.

How do I go about getting this taken seriously, and not assigned 
an enhancement request number and never looked at again?

Paul



 


[flexcoders] Re: If Flex is open source, how do we go about changing the language?

2007-12-01 Thread aceoohay
Ralf:

The data has nulls in it. For example, one grid is equivalent to a 
checking account, with deposits and checks. The column for the check 
number is null for deposits. Another table has three different phone 
number fields, not everybody has three phone numbers. Another table 
has employee termination date, current employees have none.

As you can see it is a ubiquitous problem and this is in a small part 
of the application.

I could cause the queries to replace nulls with some reasonable data 
for sorting, but it wouldn't look right to the user. 

Paul
--- In flexcoders@yahoogroups.com, Ralf Bokelberg 
[EMAIL PROTECTED] wrote:

 Why has you data null values in the first place?
 Maybe you can put in some dummy data?
 Cheers
 Ralf.





[flexcoders] Re: If Flex is open source, how do we go about changing the language?

2007-12-01 Thread aceoohay
Robert:

Yes this is an earnest request. 

While I do not shrink from controversy if I believe it will get 
things done, I don't needlessly whine either. I believe that it is 
important to make sure that we help the developers of our tools 
understand what is important to us consumers of the tools. Otherwise 
their direction/vision may preclude them from doing the little things 
that make the difference between a easy to use tool and one that 
ain't.

But really folks, this isn't rocket science, the sort routines are 
broken.

Paul

--- In flexcoders@yahoogroups.com, Robert Thompson 
[EMAIL PROTECTED] wrote:

 I don't believe the Flex language itself is open source, only 
the .swf format.
 
 Someone at adobe may want to clear that up.
 
 Although I'm sure this is an earnest request, whenever open source 
is discussed one thing everyone on this list has to be careful of is 
that MICROSOFT will not go well into that good night of the loser 
status that are suffering at the hands of Apple and Linux after the 
desperate attempts by SCO.
 
 I've learned enough about them to know that.  They will keep people 
out on the edge of happenings to attempt to stir trouble, so any 
discussion of Open Source (microsoft's thorn) in a way that would 
disturb the good foundation of Flash end-users should looked at 
closely.
 
 One thing I've learned about enemies is that once you begin to feel 
sorry for their sad state, they usually have such little class as to 
reach out in desperation to draw their gun from their black holster 
and beady blue eyes to shoot at innocence.
 
 Mercy is good, but not with Microsoft (never).
 
 -r
 
 Ralf Bokelberg [EMAIL PROTECTED] 
wrote:   Why has you data null values in 
the first place?
  Maybe you can put in some dummy data?
  Cheers
  Ralf.
  
  

 

 -
 Get easy, one-click access to your favorites.  Make Yahoo! your 
homepage.





[flexcoders] Autocad Flex...it's possible??

2007-12-01 Thread Israel
Hi, I'm looking  some information about Flex and use autocad files in 
one application. I've special interest in map info with data base querys

I hope that somebady can help me...Thanks.




Re: [flexcoders] Re: Subversion clients

2007-12-01 Thread Kurt Wiersma
I use SmartSVN on both my Mac and my Windows box. It works great and they
even have a free community version. Their SmartCVS client is great as well.

http://smartsvn.com

--Kurt

On Nov 30, 2007 10:08 AM, eestes1 [EMAIL PROTECTED] wrote:

   I use syncro client that is part of oxygen-it's really simple,
 straightforward and uncluttered
 gui to work with. i was trying scplugin as well but disabled it when i
 jumped to leopard.
 Again the simplicity of having it built in to the finder interface is very
 attractive with simple
 icons and options on the contextual menu.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Stephen
 Allison [EMAIL PROTECTED] wrote:
 
 
   What Subversion clients do you use, and what do you like or dislike
 about
   them? I'm especially interested in opinions about GUI clients on the
 Mac.
 
  SVNX. Slightly odd multi-window interface, but beyond that no complaints
 so
  far.
 

  



RE: [flexcoders] Re: If Flex is open source, how do we go about changing the language?

2007-12-01 Thread Gordon Smith
Your use case seem very reasonable to me. In this particular case I
disagree with my esteemed colleague Alex (who sits across from me)... I
think our default sorting routines should handle null values. So please
file this as a bug at http://bugs.adobe.com/flex and feel free to
mention that I consider it a bug.
 
However, I agree with Alex that it probably will not get fixed in time
for the Flex 3 release, as the bar is currently extremely high for
making changes at this point. We've got to stabilize the release and get
it out! So you'll need to use a workaround for now.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Saturday, December 01, 2007 2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: If Flex is open source, how do we go about
changing the language?



Gordon:

This thread was not intended as a technical thread, which is why I 
didn't include the details about the problem. I documented the 
problem in the following post;

http://tech.groups.yahoo.com/group/flexcoders/message/95131
http://tech.groups.yahoo.com/group/flexcoders/message/95131 

The only responses I got seemed to indicate that the behavior was by 
design, as opposed to a bug.

Yes, it does throw a runtime error.

I just signed up over at the Adobe bugs site.

Paul

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Gordon Smith [EMAIL PROTECTED] wrote:

  it gets confused when there are nulls in date, numeric, or boolean
 fields
 
  this is by design
 
 I doubt that we designed this code to intentionally get 
confused. : ) It
 sounds like we're simply not properly handling null field values 
when
 sorting.
 
 What do you mean by get confused? Does it throw an RTE? Do the 
nulls
 cause incorrect sorting of the non-null values? Do the nulls not 
sort
 together? How kind of sorting behavior do you think should occur 
when
 there are null values? Should they sort before or after other 
values?
 Please file the bug at htp://bugs.adobe.com/flex.
htp://bugs.adobe.com/flex. 
 
 BTW, the Flex SDK is not yet open-source, but it will be soon.
 
 Gordon Smith
 Adobe Flex SDK Team
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of aceoohay
 Sent: Friday, November 30, 2007 9:33 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] If Flex is open source, how do we go about
 changing the language?
 
 
 
 I just ran across what I consider a significant deficiency in Flex. 
 To correct this problem would require an addition of two attributes 
 to the mx:DataGridColumn class.
 
 I could make a change to my version of the language, or perhaps I 
 could create an inherited class. However, I feel strongly that the 
 problem is so fundamental that it should be changed in the 
language. 
 How do I go about making this happen?
 
 The problem is this;
 
 It appears that when sorting a DataGrid by clicking a column that 
 Flex currently does its best to determine the data type and sorts 
 based on that data type. The problem is that it gets confused when 
 there are nulls in date, numeric, or boolean fields. When it gets 
 confused it ralph's on its shoes (blows up). Based on my research, 
 including reading a bit of the file sortField.as, this is by design.
 
 There is a way around it but it requires instantiating a compare 
 function for each column that might get a null, and might be one of 
 non string data types. The workaround is to create a function, and 
 use the sortCompareFunction attribute to call a that function. 
 There is even a kludgier workaround to make the function generic by 
 using the headerRelease attribute of the DataGrid to update a 
 public variable with the column number.
 
 Since it seems as though this is an ubiquitous problem, it should 
be 
 solved in the language itself. The best approach that I came up 
with 
 is to have two new attributes for the mx:DataGridColumn;
 
 sortDataType - Basically specify the type of data contained in the 
 column that would be honored by the sort routine irrespective of 
the 
 values contained in the column. Values would be any valid data type.
 
 sortNullCollatingSequence - This would define whether nulls get 
 sorted to the top or bottom of the list. Values would be low - 
which 
 would indicate that nulls would sort lower than the lowest normal 
 value, and high - which would indicate that nulls would sort higher 
 than the highest normal value.
 
 This is one possible solution, there may be better ones but in my 
 opinion the current method should be improved. I would like to see 
it 
 implemented quickly as I believe it is a serious problem.
 
 How do I go about getting this taken seriously, and not assigned 
 an enhancement request number and never looked at again?
 

[flexcoders] Re: If Flex is open source, how do we go about changing the language?

2007-12-01 Thread aceoohay
Gordon:

This thread was not intended as a technical thread, which is why I 
didn't include the details about the problem.  I documented the 
problem in the following post;

http://tech.groups.yahoo.com/group/flexcoders/message/95131

The only responses I got seemed to indicate that the behavior was by 
design, as opposed to a bug.

Yes, it does throw a runtime error.

I just signed up over at the Adobe bugs site.

Paul

--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:

  it gets confused when there are nulls in date, numeric, or boolean
 fields
  
  this is by design
  
 I doubt that we designed this code to intentionally get 
confused. : ) It
 sounds like we're simply not properly handling null field values 
when
 sorting.
  
 What do you mean by get confused? Does it throw an RTE? Do the 
nulls
 cause incorrect sorting of the non-null values? Do the nulls not 
sort
 together? How kind of sorting behavior do you think should occur 
when
 there are null values? Should they sort before or after other 
values?
 Please file the bug at htp://bugs.adobe.com/flex.
  
 BTW, the Flex SDK is not yet open-source, but it will be soon.
  
 Gordon Smith
 Adobe Flex SDK Team
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of aceoohay
 Sent: Friday, November 30, 2007 9:33 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] If Flex is open source, how do we go about
 changing the language?
 
 
 
 I just ran across what I consider a significant deficiency in Flex. 
 To correct this problem would require an addition of two attributes 
 to the mx:DataGridColumn class.
 
 I could make a change to my version of the language, or perhaps I 
 could create an inherited class. However, I feel strongly that the 
 problem is so fundamental that it should be changed in the 
language. 
 How do I go about making this happen?
 
 The problem is this;
 
 It appears that when sorting a DataGrid by clicking a column that 
 Flex currently does its best to determine the data type and sorts 
 based on that data type. The problem is that it gets confused when 
 there are nulls in date, numeric, or boolean fields. When it gets 
 confused it ralph's on its shoes (blows up). Based on my research, 
 including reading a bit of the file sortField.as, this is by design.
 
 There is a way around it but it requires instantiating a compare 
 function for each column that might get a null, and might be one of 
 non string data types. The workaround is to create a function, and 
 use the sortCompareFunction attribute to call a that function. 
 There is even a kludgier workaround to make the function generic by 
 using the headerRelease attribute of the DataGrid to update a 
 public variable with the column number.
 
 Since it seems as though this is an ubiquitous problem, it should 
be 
 solved in the language itself. The best approach that I came up 
with 
 is to have two new attributes for the mx:DataGridColumn;
 
 sortDataType - Basically specify the type of data contained in the 
 column that would be honored by the sort routine irrespective of 
the 
 values contained in the column. Values would be any valid data type.
 
 sortNullCollatingSequence - This would define whether nulls get 
 sorted to the top or bottom of the list. Values would be low - 
which 
 would indicate that nulls would sort lower than the lowest normal 
 value, and high - which would indicate that nulls would sort higher 
 than the highest normal value.
 
 This is one possible solution, there may be better ones but in my 
 opinion the current method should be improved. I would like to see 
it 
 implemented quickly as I believe it is a serious problem.
 
 How do I go about getting this taken seriously, and not assigned 
 an enhancement request number and never looked at again?
 
 Paul





Re: [flexcoders] Application without MXML: Is it possible?

2007-12-01 Thread Dave Glasser
I looked at the generated actionscript and it does look like there's a lot 
going on, and it's not worth trying to make it work without MXML. Maybe I'll 
log a bug report requesting that they say in the API doc that the Application 
class can only (as a practical matter) be used via the mx:Application MXML 
tag.

hank williams [EMAIL PROTECTED] wrote:   Is what I'm trying to do 
impossible, at least without adding some amount of setup code that is normally 
generated by the MXML preprocessor and isn't documented anywhere? __

As I understand it, this is exactly correct. If you compile an MXML
with the option on that generates actionscript (I forget how you do
this) you will see a lot of generated code even in an MXML hello
world.

Regards,
Han


 


[flexcoders] Best Way to learn Flex

2007-12-01 Thread Sheriff
So I have been trying to learn flex now for almost 9 month and i pretty much 
still don't know much to get me anywhere. This is also my first programming 
language to learn. I know enough to make everything work on its own but i still 
can't create stuff like this
http://demo.quietlyscheming.com/displayShelf/index.html  or any of the adobe 
Examples. So i was wondering, how long does it take to actually start doing 
some of that stuff and what is the best way to learn. Looking at the source 
code doesn't help much since there are too many files and its split up and the 
functions get spread out all over.


  

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

RE: [flexcoders] Issues with Dynamic vs. Embedded Font Leading

2007-12-01 Thread Peter Farland
Are you using Flex and are you relying on MXMLC to do the embedding? Or
are you using Flash to first to do the embedding?

If it's Flex, what version of Flex and how are you embedding them? Are
you using a CSS @font-face rule? Are you using local() or url() as the
source of the font definition? Can you show me the font-manager section
of your flex-config.xml file?

Pete 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jon Bradley
Sent: Thursday, November 29, 2007 8:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Issues with Dynamic vs. Embedded Font Leading

This might've been brought up before, but I can't find reference to it.

I'm working on an application that is rendering text fields (multiline,
print resolution) on the client end that will be rendered on the server,
currently using GDI+ (but other options are open).

Photoshop, InDesign and Quark are my baselines. They all handle and deal
with font leading identically for all fonts that I've tested, barring
any slight shifts due to antialiasing.

Flash on the other hand yikes. By using some simple trickery, font
leading on device fonts can mimic identically, to the pixel almost, any
leading in the above 3 stated applications.

Embedded fonts, on the other hand, incorrectly render leading, always. I
say incorrectly because it's not how any other desktop print application
does it, so far as I can tell. Maybe it's an issue with the way saffron
was designed .. how is Flash calculating this?

Flash is definitely not rendering line spacing/leading correctly, but I
cannot figure out what it is doing to calculate this. If I can get that
taken care of, I have the rest of the situation solved (tracking,
margins, etc.), matching photoshop as my baseline.

Anyone in the know about this?

thanks in advance,

- jon


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links





RE: [flexcoders] Re: If Flex is open source, how do we go about changing the language?

2007-12-01 Thread Alex Harui
So when we do go open-source next year, you will be able to offer
changes to the source code like the Sort code (but not the language
itself).  Then Gordon and I and the rest of the team will duke it out
over whether your submission is reasonable, and if so, it  or something
like it will be changed in the source code for future versions.

 



From: Gordon Smith 
Sent: Saturday, December 01, 2007 3:00 PM
To: flexcoders@yahoogroups.com
Cc: Alex Harui; Lauren Park
Subject: RE: [flexcoders] Re: If Flex is open source, how do we go about
changing the language?

 

Your use case seem very reasonable to me. In this particular case I
disagree with my esteemed colleague Alex (who sits across from me)... I
think our default sorting routines should handle null values. So please
file this as a bug at http://bugs.adobe.com/flex and feel free to
mention that I consider it a bug.

 

However, I agree with Alex that it probably will not get fixed in time
for the Flex 3 release, as the bar is currently extremely high for
making changes at this point. We've got to stabilize the release and get
it out! So you'll need to use a workaround for now.

 

Gordon Smith

Adobe Flex SDK Team

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Saturday, December 01, 2007 2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: If Flex is open source, how do we go about
changing the language?

Gordon:

This thread was not intended as a technical thread, which is why I 
didn't include the details about the problem. I documented the 
problem in the following post;

http://tech.groups.yahoo.com/group/flexcoders/message/95131
http://tech.groups.yahoo.com/group/flexcoders/message/95131 

The only responses I got seemed to indicate that the behavior was by 
design, as opposed to a bug.

Yes, it does throw a runtime error.

I just signed up over at the Adobe bugs site.

Paul

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Gordon Smith [EMAIL PROTECTED] wrote:

  it gets confused when there are nulls in date, numeric, or boolean
 fields
 
  this is by design
 
 I doubt that we designed this code to intentionally get 
confused. : ) It
 sounds like we're simply not properly handling null field values 
when
 sorting.
 
 What do you mean by get confused? Does it throw an RTE? Do the 
nulls
 cause incorrect sorting of the non-null values? Do the nulls not 
sort
 together? How kind of sorting behavior do you think should occur 
when
 there are null values? Should they sort before or after other 
values?
 Please file the bug at htp://bugs.adobe.com/flex.
htp://bugs.adobe.com/flex. 
 
 BTW, the Flex SDK is not yet open-source, but it will be soon.
 
 Gordon Smith
 Adobe Flex SDK Team
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of aceoohay
 Sent: Friday, November 30, 2007 9:33 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] If Flex is open source, how do we go about
 changing the language?
 
 
 
 I just ran across what I consider a significant deficiency in Flex. 
 To correct this problem would require an addition of two attributes 
 to the mx:DataGridColumn class.
 
 I could make a change to my version of the language, or perhaps I 
 could create an inherited class. However, I feel strongly that the 
 problem is so fundamental that it should be changed in the 
language. 
 How do I go about making this happen?
 
 The problem is this;
 
 It appears that when sorting a DataGrid by clicking a column that 
 Flex currently does its best to determine the data type and sorts 
 based on that data type. The problem is that it gets confused when 
 there are nulls in date, numeric, or boolean fields. When it gets 
 confused it ralph's on its shoes (blows up). Based on my research, 
 including reading a bit of the file sortField.as, this is by design.
 
 There is a way around it but it requires instantiating a compare 
 function for each column that might get a null, and might be one of 
 non string data types. The workaround is to create a function, and 
 use the sortCompareFunction attribute to call a that function. 
 There is even a kludgier workaround to make the function generic by 
 using the headerRelease attribute of the DataGrid to update a 
 public variable with the column number.
 
 Since it seems as though this is an ubiquitous problem, it should 
be 
 solved in the language itself. The best approach that I came up 
with 
 is to have two new attributes for the mx:DataGridColumn;
 
 sortDataType - Basically specify the type of data contained in the 
 column that would be honored by the sort routine irrespective of 
the 
 values contained in the column. Values would be any valid data type.
 
 sortNullCollatingSequence - This 

RE: [flexcoders] Application without MXML: Is it possible?

2007-12-01 Thread Alex Harui
Not all applications have to have mx:Application at the top level.  You
can start with Sprite if you want.  That's what happens when you create
an ActionScript project in Flex Builder.  But then you can't use most of
the mx: components.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Glasser
Sent: Saturday, December 01, 2007 2:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Application without MXML: Is it possible?

 

I looked at the generated actionscript and it does look like there's a
lot going on, and it's not worth trying to make it work without MXML.
Maybe I'll log a bug report requesting that they say in the API doc that
the Application class can only (as a practical matter) be used via the
mx:Application MXML tag.

hank williams [EMAIL PROTECTED] wrote: 

 Is what I'm trying to do impossible, at least without adding
some amount of setup code that is normally generated by the MXML
preprocessor and isn't documented anywhere? __

As I understand it, this is exactly correct. If you compile an
MXML
with the option on that generates actionscript (I forget how you
do
this) you will see a lot of generated code even in an MXML hello
world.

Regards,
Han

 

 



Re: [flexcoders] Best Way to learn Flex

2007-12-01 Thread Paul Andrews
- Original Message - 
  From: Sheriff 
  To: flexcoders@yahoogroups.com 
  Sent: Sunday, December 02, 2007 12:27 AM
  Subject: [flexcoders] Best Way to learn Flex


  So I have been trying to learn flex now for almost 9 month and i pretty much 
still don't know much to get me anywhere. This is also my first programming 
language to learn. I know enough to make everything work on its own but i still 
can't create stuff like this
  http://demo.quietlyscheming.com/displayShelf/index.html  or any of the adobe 
Examples. So i was wondering, how long does it take to actually start doing 
some of that stuff and what is the best way to learn. Looking at the source 
code doesn't help much since there are too many files and its split up and the 
functions get spread out all over. 


Pick a small project to build. Develop it and stick it through to the very end. 
Start with nothing finish with the working program.

If  you get stuck as here and I'm sure we'll push you forward if  you get stuck.

Before you start coding decide exactly what you want - keep it simple.

Try and work out a basic user interface.

Consider the components and classes you might need to support the application 
and UI.

There will be loads of problems that you encounter along the way that you won't 
expect, just refine/redo until you overcome them.

We have all been there.

Get going!

(Where in the world are you?)

Paul

[flexcoders] FileReference on Mac - When will it be fixed?

2007-12-01 Thread Paul Whitelock
I've read that the bugs with FileReference on the Macintosh have been
fixed, but I'm still having problems uploading (as in uploads don't work).

The problem exists in Leopard (Mac Pro running Flash Player 9.0.98.0)
and Tiger (MacBook Pro running 9.0.60.235). No problems with uploads
running on Windows.

Anyone from Adobe care to comment?



[flexcoders] Re: FileReference on Mac - When will it be fixed?

2007-12-01 Thread Paul Whitelock
Just tried Ubuntu and no joy there either -- maybe it shares the same
code base as the Mac since they are both Unix.


--- In flexcoders@yahoogroups.com, Paul Whitelock [EMAIL PROTECTED] wrote:

 I've read that the bugs with FileReference on the Macintosh have been
 fixed, but I'm still having problems uploading (as in uploads don't
work).
 
 The problem exists in Leopard (Mac Pro running Flash Player 9.0.98.0)
 and Tiger (MacBook Pro running 9.0.60.235). No problems with uploads
 running on Windows.
 
 Anyone from Adobe care to comment?





[flexcoders] Re: If Flex is open source, how do we go about changing the language?

2007-12-01 Thread aceoohay
Gordon, et al:

Here is a simple test that will show the problem;

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
 creationComplete=initApp()
mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
[Bindable] public var acData:ArrayCollection = new 
ArrayCollection;
private function initApp():void
{
acData.addItem
({col1:null,col2:null,col3:null,col4:null});
acData.addItem({col1:1,col2:new Date
(),col3:true,col4:A});
acData.addItem
({col1:null,col2:null,col3:null,col4:null});
acData.addItem({col1:2,col2:new Date
(),col3:null,col4:B});
acData.addItem
({col1:null,col2:null,col3:null,col4:null});
acData.addItem({col1:3,col2:new Date
(),col3:true,col4:C});
acData.addItem
({col1:null,col2:null,col3:null,col4:null});
acData.addItem({col1:4,col2:new Date
(),col3:null,col4:D});
acData.addItem
({col1:null,col2:null,col3:null,col4:null});
acData.addItem({col1:5,col2:new Date
(),col3:true,col4:E});
acData.addItem
({col1:null,col2:null,col3:null,col4:null});
acData.addItem({col1:6,col2:new Date
(),col3:false,col4:F});
acData.addItem
({col1:null,col2:null,col3:null,col4:null});
dgSortTest.dataProvider = acData;
}
]]
/mx:Script

mx:DataGrid id=dgSortTest x=26 y=10
mx:columns
mx:DataGridColumn headerText=Column 1 
dataField=col1/
mx:DataGridColumn headerText=Column 2 
dataField=col2/
mx:DataGridColumn headerText=Column 3 
dataField=col3/
mx:DataGridColumn headerText=Column 4 
dataField=col4/
/mx:columns
/mx:DataGrid

/mx:Application

--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:

 Your use case seem very reasonable to me. In this particular case I
 disagree with my esteemed colleague Alex (who sits across from 
me)... I
 think our default sorting routines should handle null values. So 
please
 file this as a bug at http://bugs.adobe.com/flex and feel free to
 mention that I consider it a bug.
  
 However, I agree with Alex that it probably will not get fixed in 
time
 for the Flex 3 release, as the bar is currently extremely high for
 making changes at this point. We've got to stabilize the release 
and get
 it out! So you'll need to use a workaround for now.
  
 Gordon Smith
 Adobe Flex SDK Team
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of aceoohay
 Sent: Saturday, December 01, 2007 2:38 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: If Flex is open source, how do we go about
 changing the language?
 
 
 
 Gordon:
 
 This thread was not intended as a technical thread, which is why I 
 didn't include the details about the problem. I documented the 
 problem in the following post;
 
 http://tech.groups.yahoo.com/group/flexcoders/message/95131
 http://tech.groups.yahoo.com/group/flexcoders/message/95131 
 
 The only responses I got seemed to indicate that the behavior was 
by 
 design, as opposed to a bug.
 
 Yes, it does throw a runtime error.
 
 I just signed up over at the Adobe bugs site.
 
 Paul
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , Gordon Smith gosmith@ wrote:
 
   it gets confused when there are nulls in date, numeric, or 
boolean
  fields
  
   this is by design
  
  I doubt that we designed this code to intentionally get 
 confused. : ) It
  sounds like we're simply not properly handling null field values 
 when
  sorting.
  
  What do you mean by get confused? Does it throw an RTE? Do the 
 nulls
  cause incorrect sorting of the non-null values? Do the nulls not 
 sort
  together? How kind of sorting behavior do you think should occur 
 when
  there are null values? Should they sort before or after other 
 values?
  Please file the bug at htp://bugs.adobe.com/flex.
 htp://bugs.adobe.com/flex. 
  
  BTW, the Flex SDK is not yet open-source, but it will be soon.
  
  Gordon Smith
  Adobe Flex SDK Team
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 ] On
  Behalf Of aceoohay
  Sent: Friday, November 30, 2007 9:33 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
  Subject: [flexcoders] If Flex is open source, how do we go about
  changing the language?
  
  
  
  I just ran across what I consider a significant 

[flexcoders] Re: If Flex is open source, how do we go about changing the language?

2007-12-01 Thread aceoohay
Gordon:

Per your request I have filed a bug report. It can be found here;

https://bugs.adobe.com/jira/browse/ASC-3042

Paul
--- In flexcoders@yahoogroups.com, aceoohay [EMAIL PROTECTED] wrote:

 Gordon, et al:
 
 Here is a simple test that will show the problem;
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
 layout=absolute
creationComplete=initApp()
 mx:Script
   ![CDATA[
   import mx.collections.ArrayCollection;
   import mx.controls.Alert;
   [Bindable] public var acData:ArrayCollection = new 
 ArrayCollection;
   private function initApp():void
   {
   acData.addItem
 ({col1:null,col2:null,col3:null,col4:null});
   acData.addItem({col1:1,col2:new Date
 (),col3:true,col4:A});
   acData.addItem
 ({col1:null,col2:null,col3:null,col4:null});
   acData.addItem({col1:2,col2:new Date
 (),col3:null,col4:B});
   acData.addItem
 ({col1:null,col2:null,col3:null,col4:null});
   acData.addItem({col1:3,col2:new Date
 (),col3:true,col4:C});
   acData.addItem
 ({col1:null,col2:null,col3:null,col4:null});
   acData.addItem({col1:4,col2:new Date
 (),col3:null,col4:D});
   acData.addItem
 ({col1:null,col2:null,col3:null,col4:null});
   acData.addItem({col1:5,col2:new Date
 (),col3:true,col4:E});
   acData.addItem
 ({col1:null,col2:null,col3:null,col4:null});
   acData.addItem({col1:6,col2:new Date
 (),col3:false,col4:F});
   acData.addItem
 ({col1:null,col2:null,col3:null,col4:null});
   dgSortTest.dataProvider = acData;
   }
   ]]
 /mx:Script
   
   mx:DataGrid id=dgSortTest x=26 y=10
   mx:columns
   mx:DataGridColumn headerText=Column 1 
 dataField=col1/
   mx:DataGridColumn headerText=Column 2 
 dataField=col2/
   mx:DataGridColumn headerText=Column 3 
 dataField=col3/
   mx:DataGridColumn headerText=Column 4 
 dataField=col4/
   /mx:columns
   /mx:DataGrid
   
 /mx:Application
 
 --- In flexcoders@yahoogroups.com, Gordon Smith gosmith@ wrote:
 
  Your use case seem very reasonable to me. In this particular case 
I
  disagree with my esteemed colleague Alex (who sits across from 
 me)... I
  think our default sorting routines should handle null values. So 
 please
  file this as a bug at http://bugs.adobe.com/flex and feel free to
  mention that I consider it a bug.
   
  However, I agree with Alex that it probably will not get fixed in 
 time
  for the Flex 3 release, as the bar is currently extremely high for
  making changes at this point. We've got to stabilize the release 
 and get
  it out! So you'll need to use a workaround for now.
   
  Gordon Smith
  Adobe Flex SDK Team
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of aceoohay
  Sent: Saturday, December 01, 2007 2:38 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: If Flex is open source, how do we go 
about
  changing the language?
  
  
  
  Gordon:
  
  This thread was not intended as a technical thread, which is why 
I 
  didn't include the details about the problem. I documented the 
  problem in the following post;
  
  http://tech.groups.yahoo.com/group/flexcoders/message/95131
  http://tech.groups.yahoo.com/group/flexcoders/message/95131 
  
  The only responses I got seemed to indicate that the behavior was 
 by 
  design, as opposed to a bug.
  
  Yes, it does throw a runtime error.
  
  I just signed up over at the Adobe bugs site.
  
  Paul
  
  --- In flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com
  , Gordon Smith gosmith@ wrote:
  
it gets confused when there are nulls in date, numeric, or 
 boolean
   fields
   
this is by design
   
   I doubt that we designed this code to intentionally get 
  confused. : ) It
   sounds like we're simply not properly handling null field 
values 
  when
   sorting.
   
   What do you mean by get confused? Does it throw an RTE? Do 
the 
  nulls
   cause incorrect sorting of the non-null values? Do the nulls 
not 
  sort
   together? How kind of sorting behavior do you think should 
occur 
  when
   there are null values? Should they sort before or after other 
  values?
   Please file the bug at htp://bugs.adobe.com/flex.
  htp://bugs.adobe.com/flex. 
   
   BTW, the Flex SDK is not yet open-source, but it will be soon.
   
   Gordon Smith
   Adobe Flex SDK Team
   
   
   
   From: flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com
  
  [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com
  ] On
   

[flexcoders] Re: Air Bug?: Right click on swfLoader

2007-12-01 Thread Malik AlArfaj
So, is there no solution for this bug?

On Nov 29, 2007 8:19 PM, Malik AlArfaj [EMAIL PROTECTED] wrote:
 Hi,

 When I load the swfLoader in Flex Builder 3 Beta 2 with a swf file version
 6-8, I get an error message when I right click on the loaded swf. And my
 application closes.

 Error Details:
 Message: Adobe Air Debug Launcher has encounterd a problem and needs to
 close.

 Error Signature: adl.exe

 AppVer. 1.0.5.53310

 ModName: adobe air.dll

 ModVer: 1.0.5.53310

 Offset: 0012ceb5

 Regards,
 Malik



RE: [flexcoders] Re: Air Bug?: Right click on swfLoader

2007-12-01 Thread Alex Harui
Please file a bug with a test case.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Malik AlArfaj
Sent: Saturday, December 01, 2007 10:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Air Bug?: Right click on swfLoader

 

So, is there no solution for this bug?

On Nov 29, 2007 8:19 PM, Malik AlArfaj [EMAIL PROTECTED]
mailto:alarfaj%40gmail.com  wrote:
 Hi,

 When I load the swfLoader in Flex Builder 3 Beta 2 with a swf file
version
 6-8, I get an error message when I right click on the loaded swf. And
my
 application closes.

 Error Details:
 Message: Adobe Air Debug Launcher has encounterd a problem and needs
to
 close.

 Error Signature: adl.exe

 AppVer. 1.0.5.53310

 ModName: adobe air.dll

 ModVer: 1.0.5.53310

 Offset: 0012ceb5

 Regards,
 Malik


 



Re: [flexcoders] Application without MXML: Is it possible?

2007-12-01 Thread Anatole Tartakovsky
Try inheriting from SimpleApplication - you still will get all mixins for
css and static linkage for generated code, but less of the framework
initialization - you should be able to create screen and have controls
there. Of course, fewer things depending on the global managers will work
later on ...

Regards,
Anatole Tartakovsky
FarataSystems



On 11/30/07, Dave Glasser [EMAIL PROTECTED] wrote:

I'm trying to create an Application in pure Actionscript, by
 subclassing mx.core.Application, and when I run it I get:

 TypeError: Error #1009: Cannot access a property or method of a null
 object reference.
  at mx.core::UIComponent/getStyle
 ()[C:\dev\flex_201_ja\sdk\frameworks\mx\core\UIComponent.as:7095]
 ...etc.

 The source file is basically an empty shell, with nothing but a
 constructor that calls super(). I'm not adding any children or setting any
 properties. It's not in the top-level package, if that makes any difference.

 Is what I'm trying to do impossible, at least without adding some amount
 of setup code that is normally generated by the MXML preprocessor and isn't
 documented anywhere?