RE: [flexcoders] Re: Sorting problem on date and numbers with null values, I think

2007-11-30 Thread Alex Harui
Well, you can file an enhancement request suggesting those changes.  It
won't make 3.0, and I'm not sure it is "common enough" to get into 4.0.
In the same way I offer several DataGridColumn subclasses on my blog,
you could certainly contribute to the community by offering a
NullDataGridColumn featuring those capabilities.

 

Subclassing DataGridColumn to have a default generic sortCompareFunction
would be my recommendation for a solution today as well.  If the
sortCompareFunction points to a method on your subclass, your 'this'
pointer is the column and you can pull information from the column to
pull the right data from the rows.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Friday, November 30, 2007 6:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Sorting problem on date and numbers with null
values, I think

 

I agree that you cannot tell what type of data a null is. 

The sort routine(s) has no problem sorting nulls when the non-null 
data is string. It also works for completely null columns. 

I think a reasonable solution would be a new column 
attribute, "sortDataType" (values: ascii, number, date) for datagrid 
columns. If you wanted to go crazy, add another 
attribute, "nullCollateOrder" (values: low, high). Modifying the 
existing sort routines to handle nulls should be fairly trivial. This 
may improve performance for columns where these attributes are 
specified since the routine doesn't need to read data to determine 
the type of sort to perform.

A different approach might be an attribute nvl(value), where any 
nulls would be converted to the value specified. Examples might be nvl
(0), nvl(9), nvl(01/01/0001), or nvl(12/31/5600)

I realize I must deal with the here and now, so how would you write a 
generic function to hande this? 

It is my understanding that the sortCompareFunction wants a function 
like mySort(obj1:Object,obj2:Object). obj1 and obj2 are two objects 
that represent two rows, and to access the column to compare you need 
to know the property such as obj1.myDate, or obj[4]. In order to 
write a generic routine I need to know know what column has been 
clicked.

Paul

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> because null can be assigned to anything is does not have a "type" 
so we
> can't tell by examining the data if you want to sort by date, 
number,
> etc.
> 
> Where do you want nulls to appear in a sort? Could go anywhere 
right?
> That's why you'll have to write your own compare function with the 
null
> handling rules you want.
> 
> I haven't tried writing a generic compare function, but I don't see 
why
> it wouldn't be possible.
> 
> 
> 
> From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of aceoohay
> Sent: Friday, November 30, 2007 1:15 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: Sorting problem on date and numbers with 
null
> values, I think
> 
> 
> 
> The data is fully populated at the time the column header is 
> clicked. However some of the cells are null.
> 
> We certainly disagree on this:-) 
> 
> Since a null is a valid result for all data types, it seems to me 
> that any sort algorithm should handle the universe of valid data 
> elements for that type. 
> 
> Additionally there appears to be no way to write a generic 
> sortCompareFunction handler that will handle any column from any 
> datagrid. If this is true then the developer needs to decide what 
> type of data is being stored in each column, can nulls ever exist 
in 
> this column and then write a custom sort routine for that column.
> 
> If in fact Flex cannot sort columns with nulls, and every column 
> that could contain a null requires the developer to write a 
separate 
> custom sort handler, I think that "serious shortcoming" is a polite 
> way of stating the issue.
> 
> Is there a way of working around this "feature?"
> 
> Paul
> --- In flexcoders@yahoogroups.com
  
> , "Alex Harui"  wrote:
> >
> > Well, I don't see it as a shortcoming that we default to 
efficient 
> sort
> > algorithms that assume that all values are of the same type. 
> Seems like
> > all you need is a comparefunction for dates and one for numbers 
and
> > assign the correct function to the appropriate column. Also note 
> that
> > if you sort with nulls for data that hasn't arrived yet, you'll 
> probably
> > have to re-sort as the data arrives. The collections generally 
> wait
> > until all data has arrived to do the sort so it doesn't have to 
> keep
> > resorting as data has arrived.
> > 
> > So, you could wait for all data to arrive as well, or maybe 
monkey-
> patch
> > th

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

2007-11-30 Thread aceoohay
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-11-30 Thread Jerome Clarke
yeah the command line option for that is

-keep

or

-keep-generated-actionscript

I normally use "-keep" ... quicker to type :p

On Dec 1, 2007 3:30 AM, 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] Application without MXML: Is it possible?

2007-11-30 Thread hank williams
> 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] Re: Sorting problem on date and numbers with null values, I think

2007-11-30 Thread aceoohay
I agree that you cannot tell what type of data a null is. 

The sort routine(s) has no problem sorting nulls when the non-null 
data is string. It also works for completely null columns. 

I think a reasonable solution would be a new column 
attribute, "sortDataType" (values: ascii, number, date) for datagrid 
columns. If you wanted to go crazy, add another 
attribute, "nullCollateOrder" (values: low, high). Modifying the 
existing sort routines to handle nulls should be fairly trivial. This 
may improve performance for columns where these attributes are 
specified since the routine doesn't need to read data to determine 
the type of sort to perform.

A different approach might be an attribute nvl(value), where any 
nulls would be converted to the value specified. Examples might be nvl
(0), nvl(9), nvl(01/01/0001), or nvl(12/31/5600)

I realize I must deal with the here and now, so how would you write a 
generic function to hande this? 

It is my understanding that the sortCompareFunction wants a function 
like mySort(obj1:Object,obj2:Object). obj1 and obj2 are two objects  
that represent two rows, and to access the column to compare you need 
to know the property such as obj1.myDate, or obj[4]. In order to 
write a generic routine I need to know know what column has been 
clicked.

Paul

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> because null can be assigned to anything is does not have a "type" 
so we
> can't tell by examining the data if you want to sort by date, 
number,
> etc.
>  
> Where do you want nulls to appear in a sort?  Could go anywhere 
right?
> That's why you'll have to write your own compare function with the 
null
> handling rules you want.
>  
> I haven't tried writing a generic compare function, but I don't see 
why
> it wouldn't be possible.
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of aceoohay
> Sent: Friday, November 30, 2007 1:15 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Sorting problem on date and numbers with 
null
> values, I think
> 
> 
> 
> The data is fully populated at the time the column header is 
> clicked. However some of the cells are null.
> 
> We certainly disagree on this:-) 
> 
> Since a null is a valid result for all data types, it seems to me 
> that any sort algorithm should handle the universe of valid data 
> elements for that type. 
> 
> Additionally there appears to be no way to write a generic 
> sortCompareFunction handler that will handle any column from any 
> datagrid. If this is true then the developer needs to decide what 
> type of data is being stored in each column, can nulls ever exist 
in 
> this column and then write a custom sort routine for that column.
> 
> If in fact Flex cannot sort columns with nulls, and every column 
> that could contain a null requires the developer to write a 
separate 
> custom sort handler, I think that "serious shortcoming" is a polite 
> way of stating the issue.
> 
> Is there a way of working around this "feature?"
> 
> Paul
> --- In flexcoders@yahoogroups.com 
> , "Alex Harui"  wrote:
> >
> > Well, I don't see it as a shortcoming that we default to 
efficient 
> sort
> > algorithms that assume that all values are of the same type. 
> Seems like
> > all you need is a comparefunction for dates and one for numbers 
and
> > assign the correct function to the appropriate column. Also note 
> that
> > if you sort with nulls for data that hasn't arrived yet, you'll 
> probably
> > have to re-sort as the data arrives. The collections generally 
> wait
> > until all data has arrived to do the sort so it doesn't have to 
> keep
> > resorting as data has arrived.
> > 
> > So, you could wait for all data to arrive as well, or maybe 
monkey-
> patch
> > the sort code to handle null. You can file an enhancement 
> request, but
> > I don't see it getting done in 3.0
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of aceoohay
> > Sent: Friday, November 30, 2007 9:13 AM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Re: Sorting problem on date and numbers 
with 
> null
> > values, I think
> > 
> > 
> > 
> > What is the workaround?
> > 
> > The sortCompareFunction does not seem to be reasonable, since a 
> > version needs to be written for each column in each grid.
> > 
> > This seems like a serious shortcoming...
> > 
> > Paul
> > 
> > --- In flexcoders@yahoogroups.com
>    40yahoogroups.com>
> > , "Alex Harui"  wrote:
> > >
> > > THe default sort code can't handle null as it isn't a date or 
> > number
> > > 
> > > 
> > > 
> > > From: flexcoders@yaho

[flexcoders] Application without MXML: Is it possible?

2007-11-30 Thread Dave Glasser
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?


RE: [flexcoders] FP9.0.60.235 can't catch onPlayStatus ?

2007-11-30 Thread Peter DeHaan
Adnan,

 

You can file Flash Player bugs or feature requests using the following form:

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

 

Just select Flash Player from the drop down menu and it will get to the correct 
team.

 

Peter

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adnan 
Doric
Sent: Friday, November 30, 2007 12:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FP9.0.60.235 can't catch onPlayStatus ?

 

Hello,

It seems that Flash player 9,0,60,235 can't catch NetStram onPlayStatus 
Event (dispatched when streaming is finished), at least on my computer.

I tried with a debugger, it doesn't stop at the breakpoint inside that 
function at all.

It is triggered with 9,0,47,0 on IE, and Firefox.

Can someone confirm that and tell me where can I submit à bug.

Thank you in advance

 



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

2007-11-30 Thread Michael Pengi

Maybe that works in Flex 2, but the menu options in Flex 3 beta 2 are
different.

Import, then Flex Project, but it want a zip file. The project I'm working
with isn't in zip format, it's a folder inside a zip that contains other
stuff...iow it's does not seem to be a 'flex project archive'.


Anthony DeBonis wrote:
> 
> 
> Go to Menu: File > Import ... then choose Existing Project to Workspace.
> 
> Then choose the directory where the project lives, works well.
> 
> 
> --- In flexcoders@yahoogroups.com, 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.
>>
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-open-a-flex-project-that-was-created-elsewhere--tf4923183.html#a14101356
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Re: Incomplete scrolling

2007-11-30 Thread Richard Rodseth
FWIW, I was able to solve/workaround this by adding an extra HBox as the
only child of the Panel, and giving *it* the horizontalAlign and
verticalAlign settings.

On Nov 30, 2007 11:45 AM, Richard Rodseth <[EMAIL PROTECTED]> wrote:

> I have a variable-size dashboard-like component, centered inside a panel.
> The dashboard is encapsulated in an HBox with a border, and is made up of a
> couple of tilelists and some repeated items. It resizes correctly as its
> data changes.
>
> My problem is that when the dashboard gets too large to display, the
> panel  gets scrollbars correctly, but scrolling to the left doesn't take me
> all the way to the beginning of the dashboard, i.e. it's clipped.  Any
> ideas? I don't wish to give up the centering behaviour when the dashboard is
> small.
>
>
>
>
>


[flexcoders] Slider Thumb overlaps end of Track

2007-11-30 Thread ninobronzed
The thumb is centered, and it's two halves hang over the track bar at
0 and at the maximum.

This is normal and looks great, but I want my thumb to be in the
inside of the track only. It's a rectangle and fits in the track...the
edges of the thumb should be flush with the edges of the track

Is there a solution for this? I'm trying really hard but it's getting
hacky, and I'm using mx_internal, and even that approach isn't working.

Thanks!!



RE: [flexcoders] Re: Sorting problem on date and numbers with null values, I think

2007-11-30 Thread Alex Harui
because null can be assigned to anything is does not have a "type" so we
can't tell by examining the data if you want to sort by date, number,
etc.
 
Where do you want nulls to appear in a sort?  Could go anywhere right?
That's why you'll have to write your own compare function with the null
handling rules you want.
 
I haven't tried writing a generic compare function, but I don't see why
it wouldn't be possible.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Friday, November 30, 2007 1:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Sorting problem on date and numbers with null
values, I think



The data is fully populated at the time the column header is 
clicked. However some of the cells are null.

We certainly disagree on this:-) 

Since a null is a valid result for all data types, it seems to me 
that any sort algorithm should handle the universe of valid data 
elements for that type. 

Additionally there appears to be no way to write a generic 
sortCompareFunction handler that will handle any column from any 
datagrid. If this is true then the developer needs to decide what 
type of data is being stored in each column, can nulls ever exist in 
this column and then write a custom sort routine for that column.

If in fact Flex cannot sort columns with nulls, and every column 
that could contain a null requires the developer to write a separate 
custom sort handler, I think that "serious shortcoming" is a polite 
way of stating the issue.

Is there a way of working around this "feature?"

Paul
--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Well, I don't see it as a shortcoming that we default to efficient 
sort
> algorithms that assume that all values are of the same type. 
Seems like
> all you need is a comparefunction for dates and one for numbers and
> assign the correct function to the appropriate column. Also note 
that
> if you sort with nulls for data that hasn't arrived yet, you'll 
probably
> have to re-sort as the data arrives. The collections generally 
wait
> until all data has arrived to do the sort so it doesn't have to 
keep
> resorting as data has arrived.
> 
> So, you could wait for all data to arrive as well, or maybe monkey-
patch
> the sort code to handle null. You can file an enhancement 
request, but
> I don't see it getting done in 3.0
> 
> 
> 
> From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of aceoohay
> Sent: Friday, November 30, 2007 9:13 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: Sorting problem on date and numbers with 
null
> values, I think
> 
> 
> 
> What is the workaround?
> 
> The sortCompareFunction does not seem to be reasonable, since a 
> version needs to be written for each column in each grid.
> 
> This seems like a serious shortcoming...
> 
> Paul
> 
> --- In flexcoders@yahoogroups.com
  
> , "Alex Harui"  wrote:
> >
> > THe default sort code can't handle null as it isn't a date or 
> number
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
  
> 
> [mailto:flexcoders@yahoogroups.com
  
> ] On
> > Behalf Of aceoohay
> > Sent: Thursday, November 29, 2007 8:49 PM
> > To: flexcoders@yahoogroups.com 
 
> > Subject: [flexcoders] Re: Sorting problem on date and numbers 
with 
> null
> > values, I think
> > 
> > 
> > 
> > When I said no values returned from the DB, I meant that the 
grid 
> is 
> > populated with some records that have the values in the 
> number/date 
> > column, and others that don't.
> > 
> > Paul
> > --- In flexcoders@yahoogroups.com
 
>   40yahoogroups.com>
> > , "aceoohay"  wrote:
> > >
> > > I running flexbuilder 2.0.1, AS 3.
> > > 
> > > I have a number of datagrids. In two of my grids I have date 
and 
> > > number fields that sometimes have no values returned from the 
> DB. 
> > > When I click the heading on these columns to sort Ascending 
they 
> > work 
> > > fine. When I click a second time (descending) I get the 
> following 
> > > error;
> > > 
> > > ===
> > > Error: Cannot determine comparator for SortField with 
> > > name ''MyNumberDataField''.
> > > at mx.collections::SortField/::nullCompare()
> > > at 
> > > 
> > 
> 
mx.collections::SortField/http://www.adobe.com/2006/flex/mx/internal:


Re: [flexcoders] Passing Parameters, is something like this possible with Flex?

2007-11-30 Thread Steve Mathews
Try something like this:

for( var i:String in elements ){
if( Application.application.parameters[i] )
this[i] = Application.application.parameters[i];
}



On 11/30/07, flexnubslice <[EMAIL PROTECTED]> wrote:
>
> Instead of posting a ton of :
>
> if( Application.application.parameters.x)
> this.x= Application.application.parameters.x;
>
> if( Application.application.parameters.y)
> this.y= Application.application.parameters.y;
>
> ... ad nauseam ...  I was wondering if it was possible to do something
> like this?
>
> var elements:Array = [ "a", "b", "c" ];
>
> for( var i:String in elements ){
> if( Application.application.parameters.i )
> this.i = Application.application.parameters.i;
> }
>
> I'm not too certain of the language constructs here being new to Flex,
> help greatly appreciated!  The  highlighted line, it does not like.
>
> Thanks!
> Alex
> 
>


Re: [flexcoders] Web Service & Enumerations...Is this a bug?...need help!

2007-11-30 Thread jeff
On Fri, Nov 30, 2007 at 12:47:17PM -0500, Kevin wrote:

> Has anyone been successful accessing web services (with the  
> WebService classes) that include an enumeration in them.  I cannot  
> get it to work properly and no one seems to have an answer (even the  
> support people at the web service company...).  Take a look at this  
> WSDL to see the structure of the webservice I am trying to access.


We use them.  The enumeration is a restriction and Flex ignores it, so you'll 
see it/generate it as a normal string as if the restrictions were not 
there.


Jeff



RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Gordon Smith
>  HTTPService.url isn't marked [Bindable]. 
 
Alex, your code
 


should have generated a binding warning. Do you have them turned off?
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Farland
Sent: Friday, November 30, 2007 3:26 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables properly?



Right, HTTPService.url isn't marked [Bindable]. Programmatically
updating it as needed should work, as Tracy mentioned.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 6:13 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables properly?


> I had to finally resort to giving the HTTPService object an id
 
The HTTPService object already had id="contactform".
 
> and adjusting that object's ID inside of the initialize block. 
 
Do you mean adjusting the HTTPService's 'url' property?
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lex
Sent: Friday, November 30, 2007 2:26 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Registering flashvar variables properly?



Whatever I tried, it just wouldn't work.
 
I had to finally resort to giving the HTTPService object an id, and
adjusting that object's ID inside of the initialize block.  Doing that,
worked.  Setting the HTTPService url to the bindable var inside of the
XML markup, was a no-go.
 
 
 
 

- Original Message - 
From: Tracy Spratt   
To: flexcoders@yahoogroups.com
  
Sent: Friday, November 30, 2007 5:23 PM
Subject: RE: [flexcoders] Registering flashvar variables
properly?




Oops, missed that, but of course, otherwise "this[i] =" would
have errored, since Application is not dynamic.



Thanks' for the correction, Gordon, and never-mind, Alex.



So, Alex, this: "url= "{scrmurl}xmlrpc/request.php"  should
work.  How about when you do your send(), you verify scrmurl has the
string in it?



You might also try a different style of binding/assignment:

url= "{scrmurl + 'xmlrpc/request.php'}"



Tracy









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 4:40 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables
properly?



scrmurl isn't a dynamic property.. it's declared at compile time
as a public var, and should be bindable. 



- Gordon







From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Friday, November 30, 2007 12:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables
properly?

You won't be able to {bind} to dynamically created properties
easily.  There may be a way to set up a binding using AS, not sure.  

You could just set the url directly in initApp().

Tracy






From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of flexnubslice
Sent: Friday, November 30, 2007 2:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?

Hi,

   I'm busting my head against the wall on this one, I have to
say that Flex is pretty frustrating when you otherwise code C++ or Java
by trade.

   Poking around, I have found how to pass variables into Flex
apps using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex,
that will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">








The idea is to pass in scrmurl, ie http://yourdomain.com/  and
the URL in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl
variable?  When it posts, it only posts to xmlrpc/request.php, as though
the parameter is being completely ignored..

Thanks!
Alex





 


RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Peter Farland
Right, HTTPService.url isn't marked [Bindable]. Programmatically
updating it as needed should work, as Tracy mentioned.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 6:13 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables properly?


> I had to finally resort to giving the HTTPService object an id
 
The HTTPService object already had id="contactform".
 
> and adjusting that object's ID inside of the initialize block. 
 
Do you mean adjusting the HTTPService's 'url' property?
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lex
Sent: Friday, November 30, 2007 2:26 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Registering flashvar variables properly?



Whatever I tried, it just wouldn't work.
 
I had to finally resort to giving the HTTPService object an id, and
adjusting that object's ID inside of the initialize block.  Doing that,
worked.  Setting the HTTPService url to the bindable var inside of the
XML markup, was a no-go.
 
 
 
 

- Original Message - 
From: Tracy Spratt   
To: flexcoders@yahoogroups.com
  
Sent: Friday, November 30, 2007 5:23 PM
Subject: RE: [flexcoders] Registering flashvar variables
properly?




Oops, missed that, but of course, otherwise "this[i] =" would
have errored, since Application is not dynamic.



Thanks' for the correction, Gordon, and never-mind, Alex.



So, Alex, this: "url= "{scrmurl}xmlrpc/request.php"  should
work.  How about when you do your send(), you verify scrmurl has the
string in it?



You might also try a different style of binding/assignment:

url= "{scrmurl + 'xmlrpc/request.php'}"



Tracy









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 4:40 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables
properly?



scrmurl isn't a dynamic property.. it's declared at compile time
as a public var, and should be bindable. 



- Gordon







From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Friday, November 30, 2007 12:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables
properly?

You won't be able to {bind} to dynamically created properties
easily.  There may be a way to set up a binding using AS, not sure.  

You could just set the url directly in initApp().

Tracy






From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of flexnubslice
Sent: Friday, November 30, 2007 2:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?

Hi,

   I'm busting my head against the wall on this one, I have to
say that Flex is pretty frustrating when you otherwise code C++ or Java
by trade.

   Poking around, I have found how to pass variables into Flex
apps using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex,
that will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">








The idea is to pass in scrmurl, ie http://yourdomain.com/  and
the URL in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl
variable?  When it posts, it only posts to xmlrpc/request.php, as though
the parameter is being completely ignored..

Thanks!
Alex





 


RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Gordon Smith
> I had to finally resort to giving the HTTPService object an id
 
The HTTPService object already had id="contactform".
 
> and adjusting that object's ID inside of the initialize block. 
 
Do you mean adjusting the HTTPService's 'url' property?
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lex
Sent: Friday, November 30, 2007 2:26 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Registering flashvar variables properly?



Whatever I tried, it just wouldn't work.
 
I had to finally resort to giving the HTTPService object an id, and
adjusting that object's ID inside of the initialize block.  Doing that,
worked.  Setting the HTTPService url to the bindable var inside of the
XML markup, was a no-go.
 
 
 
 

- Original Message - 
From: Tracy Spratt   
To: flexcoders@yahoogroups.com
  
Sent: Friday, November 30, 2007 5:23 PM
Subject: RE: [flexcoders] Registering flashvar variables
properly?




Oops, missed that, but of course, otherwise "this[i] =" would
have errored, since Application is not dynamic.



Thanks' for the correction, Gordon, and never-mind, Alex.



So, Alex, this: "url= "{scrmurl}xmlrpc/request.php"  should
work.  How about when you do your send(), you verify scrmurl has the
string in it?



You might also try a different style of binding/assignment:

url= "{scrmurl + 'xmlrpc/request.php'}"



Tracy









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 4:40 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables
properly?



scrmurl isn't a dynamic property.. it's declared at compile time
as a public var, and should be bindable. 



- Gordon







From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Friday, November 30, 2007 12:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables
properly?

You won't be able to {bind} to dynamically created properties
easily.  There may be a way to set up a binding using AS, not sure.  

You could just set the url directly in initApp().

Tracy






From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of flexnubslice
Sent: Friday, November 30, 2007 2:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?

Hi,

   I'm busting my head against the wall on this one, I have to
say that Flex is pretty frustrating when you otherwise code C++ or Java
by trade.

   Poking around, I have found how to pass variables into Flex
apps using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex,
that will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">








The idea is to pass in scrmurl, ie http://yourdomain.com/  and
the URL in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl
variable?  When it posts, it only posts to xmlrpc/request.php, as though
the parameter is being completely ignored..

Thanks!
Alex





 


[flexcoders] Replace httpservice busy cursor with other indicator but not cursors

2007-11-30 Thread George
Hi guys,

The busy clock cursor cannot render smoothly when too much works running 
in Flash player, so I think it could be better to replace it with other 
indicators, such as animated SWF some fixed place. Unfortunately I 
couldn't find mx.rpc.http.HTTPService.as source(rpc package not open?) 
and cannot extend something based on.

So my plan is to send on-event from each httpservice operation instance, 
when service executed, turning SWF indicator on; and send another 
off-event when result/fault happen, when count back to zero. And another 
clearAll() to turn it off manually.

Any better methods?

Thanks in advance,
George


RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Gordon Smith
Sorry, I was cc'ing Peter Farland to ask him.
 
I was wondering whether the problem is that the binding isn't working,
or that changing the url property isn't working.
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Friday, November 30, 2007 2:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables properly?



I set the url property (I use several) of the HTTPService just before I
invoke any send() and it works fine.  Or did I misunderstand?  Come to
think of it my name's not Pete, either ;)

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 4:37 PM
To: flexcoders@yahoogroups.com
Cc: Peter Farland
Subject: RE: [flexcoders] Registering flashvar variables properly?

Pete, should changing the 'url' property of an HTTPService after it is
created work?

- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexnubslice
Sent: Friday, November 30, 2007 11:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?

Hi,

   I'm busting my head against the wall on this one, I have to say that
Flex is pretty frustrating when you otherwise code C++ or Java by trade.

   Poking around, I have found how to pass variables into Flex apps
using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex, that
will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">








The idea is to pass in scrmurl, ie http://yourdomain.com/  and the URL
in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl variable?  When
it posts, it only posts to ! xmlrpc/request.php, as though the parameter
is being completely ignored..

Thanks!
Alex

 


[flexcoders] Re: toto.jp Wave effect

2007-11-30 Thread mlharrisn
Forgot to add link!

http://www.toto.jp



[flexcoders] toto.jp Wave effect

2007-11-30 Thread mlharrisn
Hi,

Has anyone run across any source code, or have any clue how to begin
to develop an effect similar to this ripple effect for as3 when you
move the mouse around?  

Thanks!



[flexcoders] Re: Module Loader

2007-11-30 Thread Gus
Yep you were right... 

at the beginning I did it but just after I got the event.COMPLETE when
I extracted it from the zip, the factory.create() returned null... and
 I forgot about that approach... 

now I used the ModuleInfo and ModuleInfoProxy to wrap the factory and
works perfectly...

Thanks again!!

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Probably not, but it wasnt' clear to me that you needed to get your
code loaded under the ModuleManager.  I think you could just
instantiate the module directly.
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Gus
> Sent: Friday, November 30, 2007 9:04 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Module Loader
> 
> 
> 
> Done!!
> 
> Thanks Alex, I did it... but had to do it by monkey patching some
> classes.. don't like to do this... but...
> 
> although I only modified the load method in the ModuleInfo class to
> add the loadBytes call, had to change the FactoryInfo,
> ModuleInfoProxy, ModuleLoader, ModuleManager and ModuleManagerImpl
> because they either have a ModuleInfo variable or weren't visible to
> my class...
> 
> I don't know if can be done better...
> 
> one little defect is that the module is not visible in the design
> mode... a red X appears...
> 
> Any thought on this???
> 
> Thanks!!!
> 
> --- In flexcoders@yahoogroups.com
 , "Alex Harui"  wrote:
> >
> > There doesn't look like there's a way to plug that into the
> ModuleManager and it doesn't support loadBytes.
> > 
> > If you look at the FlexModuleFactory and ModuleManager code, it
> appears that you can listen for the ready event and then call create()
> on the factory.
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com  ]
> On Behalf Of Gus
> > Sent: Wednesday, November 28, 2007 2:27 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Re: Module Loader
> > 
> > 
> > 
> > To extract the swf module from the zip I'm using the following code:
> > 
> > var zipFile:ZipFile = new ZipFile(loadedData);
> > var data:ByteArray;
> > for(var i:int = 0; i < zipFile.entries.length; i++) 
> > {
> > var entry:ZipEntry = zipFile.entries[i];
> > data = zipFile.getInput(entry);
> > }
> > 
> > loader = new Loader( );
> > loader.contentLoaderInfo.addEventListener( Event.COMPLETE,
> onLoadComplete );
> > var context : LoaderContext = new LoaderContext( );
> > context.applicationDomain = ApplicationDomain.currentDomain;
> > loader.loadBytes( data, context );
> > 
> > On the onLoadComplete the loader.content has:
> > 
> > _TestModule_mx_core_FlexModuleFactory (@17975f1)
> > 
> > which seems to be similar to the variable info.factory in
> ModuleInfoProxy
> > 
> > you can see a screenshot of the debugger window in:
> > 
> > http://www.flickr.com/photos/[EMAIL PROTECTED]/2072440268/
 
> > 
> > Thanks for the help
> > Gus...
> > 
> > 
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com
 , "Alex Harui"  wrote:
> > >
> > > can we see how you are getting the instance of the module factory?
> > > 
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com
 
> [mailto:flexcoders@yahoogroups.com
 ] On Behalf Of Gus
> > > Sent: Wednesday, November 28, 2007 8:59 AM
> > > To: flexcoders@yahoogroups.com
 
> > > Subject: [flexcoders] Module Loader
> > > 
> > > 
> > > 
> > > Hey all...
> > > 
> > > is there a way to load a module not from an url but an object
> instance?
> > > 
> > > I have a zip file with a module, I unzipped it with the nochump zip
> > > libraries and obtain the instance of the factory for the module ( or
> > > at least is what it seems )... but then I can´t find a way to
pass it
> > > to the ModuleLoader... so, I'm stuck... don't know where to look... 
> > > 
> > > Any Ideas???
> > > Thanks in advance
> > >
> >
>




Re: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Lex
Whatever I tried, it just wouldn't work.

I had to finally resort to giving the HTTPService object an id, and adjusting 
that object's ID inside of the initialize block.  Doing that, worked.  Setting 
the HTTPService url to the bindable var inside of the XML markup, was a no-go.




  - Original Message - 
  From: Tracy Spratt 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, November 30, 2007 5:23 PM
  Subject: RE: [flexcoders] Registering flashvar variables properly?



  Oops, missed that, but of course, otherwise "this[i] =" would have errored, 
since Application is not dynamic.



  Thanks' for the correction, Gordon, and never-mind, Alex.



  So, Alex, this: "url= "{scrmurl}xmlrpc/request.php"  should work.  How about 
when you do your send(), you verify scrmurl has the string in it?



  You might also try a different style of binding/assignment:

  url= "{scrmurl + 'xmlrpc/request.php'}"



  Tracy






--

  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Gordon Smith
  Sent: Friday, November 30, 2007 4:40 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Registering flashvar variables properly?



  scrmurl isn't a dynamic property.. it's declared at compile time as a public 
var, and should be bindable. 



  - Gordon




--

  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy 
Spratt
  Sent: Friday, November 30, 2007 12:23 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Registering flashvar variables properly?

  You won't be able to {bind} to dynamically created properties easily.  There 
may be a way to set up a binding using AS, not sure.  

  You could just set the url directly in initApp().

  Tracy


--

  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
flexnubslice
  Sent: Friday, November 30, 2007 2:57 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Registering flashvar variables properly?

  Hi,

 I'm busting my head against the wall on this one, I have to say that Flex 
is pretty frustrating when you otherwise code C++ or Java by trade.

 Poking around, I have found how to pass variables into Flex apps using 
flashvars.  If I check the Application.application.parameters value, they are 
all there.  So far so good.

 What I need to do, is pass a proxy URL from HTML, into Flex, that will be 
used as a url parameter for an HTTPService.

  I have for example:

  
  http://www.adobe.com/2006/mxml"; 
  layout="absolute" height="380" width="450" alpha="1.0" 
initialize="initApp();">

  
  
  

  


  The idea is to pass in scrmurl, ie http://yourdomain.com/  and the URL in 
HTTPService then becomes:
  http://yourdomain.com/xmlrpc/request.php

  Why won't they HTTPService then, acknowledge the scrmurl variable?  When it 
posts, it only posts to xmlrpc/request.php, as though the parameter is being 
completely ignored..

  Thanks!
  Alex



   

RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Tracy Spratt
I set the url property (I use several) of the HTTPService just before I
invoke any send() and it works fine.  Or did I misunderstand?  Come to
think of it my name's not Pete, either ;)

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 4:37 PM
To: flexcoders@yahoogroups.com
Cc: Peter Farland
Subject: RE: [flexcoders] Registering flashvar variables properly?

 

Pete, should changing the 'url' property of an HTTPService after it is
created work?

 

- Gordon

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexnubslice
Sent: Friday, November 30, 2007 11:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?

Hi,

   I'm busting my head against the wall on this one, I have to say that
Flex is pretty frustrating when you otherwise code C++ or Java by trade.

   Poking around, I have found how to pass variables into Flex apps
using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex, that
will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">








The idea is to pass in scrmurl, ie http://yourdomain.com/  and the URL
in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl variable?  When
it posts, it only posts to ! xmlrpc/request.php, as though the parameter
is being completely ignored..

Thanks!
Alex

 



RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Tracy Spratt
Oops, missed that, but of course, otherwise "this[i] =" would have
errored, since Application is not dynamic.

 

Thanks' for the correction, Gordon, and never-mind, Alex.

 

So, Alex, this: "url= "{scrmurl}xmlrpc/request.php"  should work.  How
about when you do your send(), you verify scrmurl has the string in it?

 

You might also try a different style of binding/assignment:

url= "{scrmurl + 'xmlrpc/request.php'}"

 

Tracy

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 4:40 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables properly?

 

scrmurl isn't a dynamic property.. it's declared at compile time as a
public var, and should be bindable. 

 

- Gordon

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Friday, November 30, 2007 12:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables properly?

You won't be able to {bind} to dynamically created properties easily.
There may be a way to set up a binding using AS, not sure.  

You could just set the url directly in initApp().

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexnubslice
Sent: Friday, November 30, 2007 2:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?

Hi,

   I'm busting my head against the wall on this one, I have to say that
Flex is pretty frustrating when you otherwise code C++ or Java by trade.

   Poking around, I have found how to pass variables into Flex apps
using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex, that
will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">








The idea is to pass in scrmurl, ie http://yourdomain.com/  and the URL
in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl variable?  When
it posts, it only posts to xmlrpc/request.php, as though the parameter
is being completely ignored..

Thanks!
Alex

 



Re: [flexcoders] Web Service & Enumerations...Is this a bug?...need help!

2007-11-30 Thread Kevin
Ah!  Thank you for the suggestions. I took an old machine and  
installed Eclipse and the Flex Builder Plugins.  Here were my results:


Flex 2:  Ran my WSDL Test and everything worked fine.

Flex 2 with Hotfix 2: Ran WSDL Test and it failed with decode errors

Flex 2 with Hotfix 3: Ran WSDL Test and it failed with decode errors

Flex 3:  Ran my WSDL Test and everything worked fine.

It appears that somewhere between 2 & 3 something broke and got fixed  
again.  I am happy that it is working in the newest version!


However, here is my dilemma.  We are in the middle of a huge project  
with weekly deadlines.  It is not my practice to install "beta"  
versions of software while we are in development like this. But in  
this case it seems that if we want the fix then we may need to  
upgrade.  So my question is how stable is this Flex 3 version and  
what potential issues may we run into using this with LCDS 2.5.1?  Is  
there any timeout period to the beta version where we would be stuck  
with software that we can't use anymore work?


This may have already been discussed on the forums so I will search  
there as well for my answers.  Thanks for the help.


- Kevin




On Nov 30, 2007, at 3:15 PM, Peter Farland wrote:



"Hotfix" is a misnomer as applied to the WebService feature - Flex  
2.0.1 HF2 coincided with LCDS 2.5 and a new stricter, E4X based  
implementation of WebService was developed during the LCDS 2.5  
release. Many more schema situations were supported and more fixes  
have been made since, but the effort today is directed to the Flex  
3 release.


To get the latest nightly builds of the pre-release version of Flex  
3 SDK, see Adobe Labs:


http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html

If you could try a later SDK out and let us know if any bugs remain  
(best way is to log a bug athttp://bugs.adobe.com/flex/ by  
providing a snippet of code, the wsdl, and an XML capture of the  
response if it's a decoding issue) that'd be really helpful.


Note, when you say the enumeration behavior is not working as  
expected, are values missing in the encoded or decoded output, or  
were you hoping for validation? Right now we do not validate the  
content but simply use the schema to encode and decode content.




From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin

Sent: Friday, November 30, 2007 2:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Web Service & Enumerations...Is this a  
bug?...need help!


I am wondering if this is related to the problem I am having:

https://bugs.adobe.com/jira/browse/FB-9521

Is there a way to see what was changed in the HotFix?  My web  
services are not behaving as expected and I am wondering if this is  
a bug.  I would love to hear from anyone else who has experience  
with using web services regularly.


- Kevin


On Nov 30, 2007, at 12:47 PM, Kevin wrote:


Has anyone been successful accessing web services (with the
WebService classes) that include an enumeration in them. I cannot
get it to work properly and no one seems to have an answer (even the
support people at the web service company...). Take a look at this
WSDL to see the structure of the webservice I am trying to access.

http://ws.strikeiron.com/USAddressVerification4_0?WSDL

Thanks for the help... I am getting desperate.

- Kevin









[flexcoders] Re: Events and Non-Display Objects

2007-11-30 Thread bithroop
Just a quick follow up... I hooked up Muzak's suggestion and that's
exactly what I'm looking for. Thank you Muzak!

-b

--- In flexcoders@yahoogroups.com, "bithroop" <[EMAIL PROTECTED]> wrote:
>
> Yeah that totally makes sense and looks like the proper way of doing
> things.
> 
> Thanks Muzak
> 
> -b
> 
> --- In flexcoders@yahoogroups.com, "Muzak"  wrote:
> >
> > I think what you're looking for is a Singleton class that extends
> EventDispatcher which only purpose is to be able to add listeners 
> > to and dispatch events upon.
> > 
> > package com.muzakdeezign.mvc.managers {
> >  import flash.events.EventDispatcher;
> >  public class SystemEventManager extends EventDispatcher {
> > 
> >   private static var __instance:SystemEventManager = null;
> > 
> >   public function SystemEventManager() {
> >if(__instance != null) {
> > throw new Error("Instance of SystemManager already exists. Use
> SystemManager.getInstance()");
> >}
> >   }
> > 
> >   public static function getInstance():SystemEventManager {
> >if(__instance == null ) {
> > __instance = new SystemEventManager();
> >}
> >return __instance;
> >   }
> >  }
> > }
> > 
> > //from anywhere in your app:
> > 
> > import com.muzakdeezign.mvc.managers.SystemEventManager;
> > 
> > SystemEventManager.getInstance().addEventListener("someEvent",
> someEventHandler);
> > 
> > //and somewhere else in your app
> > SystemEventManager.getInstance().dispatchEvent(new
Event("someEvent"));
> > 
> > Make sense?
> > 
> > regards,
> > Muzak
> > 
> > - Original Message - 
> > From: "bithroop" 
> > To: 
> > Sent: Thursday, November 29, 2007 5:33 PM
> > Subject: [flexcoders] Re: Events and Non-Display Objects
> > 
> > 
> > Jehanzeb - first, thank you for the detailed response! I really
> > appreciate it.
> > 
> > In the code you provided, the CustomEventDispatcher was instantiated
> > within the mx:Application object. So from what I've seen, yes
> > Application will be able to hear CustomEventDispatcher's events.
> > 
> > However, my sitation is more like:
> > 
> > Application
> > |
> > |-->ContainerC->ContainerD
> > |
> > |-->ContainerA->Custom AS class not in display
> > list->CustomEventDispatcher.
> > 
> > And I want CustomEventDispatcher's event to be heard by Container D.
> > Right now I have my listener on Application, and then Application is
> > calling a method on ContainerC, which is then calling a method on
> > ContainerD. This seems to be ugly and bad form.
> >
>




RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Gordon Smith
scrmurl isn't a dynamic property.. it's declared at compile time as a
public var, and should be bindable. 
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Friday, November 30, 2007 12:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Registering flashvar variables properly?



You won't be able to {bind} to dynamically created properties easily.
There may be a way to set up a binding using AS, not sure.  

You could just set the url directly in initApp().

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexnubslice
Sent: Friday, November 30, 2007 2:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?

Hi,

   I'm busting my head against the wall on this one, I have to say that
Flex is pretty frustrating when you otherwise code C++ or Java by trade.

   Poking around, I have found how to pass variables into Flex apps
using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex, that
will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">








The idea is to pass in scrmurl, ie http://yourdomain.com/  and the URL
in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl variable?  When
it posts, it only posts to xmlrpc/request.php, as though the parameter
is being completely ignored..

Thanks!
Alex

 


RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Gordon Smith
Pete, should changing the 'url' property of an HTTPService after it is
created work?
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexnubslice
Sent: Friday, November 30, 2007 11:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?



Hi,

   I'm busting my head against the wall on this one, I have to say that
Flex is pretty frustrating when you otherwise code C++ or Java by trade.

   Poking around, I have found how to pass variables into Flex apps
using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex, that
will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">







The idea is to pass in scrmurl, ie http://yourdomain.com/  and the URL
in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl variable?  When
it posts, it only posts to ! xmlrpc/request.php, as though the parameter
is being completely ignored..

Thanks!
Alex


 


RE: [flexcoders] Arrays, iteration, and referencing local variables?

2007-11-30 Thread Gordon Smith
BTW, assuming that initApp() is a method of your , the
'this' object for initApp() is the instance of your application.
Therefore you can just refer to parameters[i] rather than to
Application.application.parameters[i].
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lex
Sent: Friday, November 30, 2007 10:42 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Arrays, iteration, and referencing local
variables?



Got it with:
 
private function initApp():void{

var elements:Array = [ 

"scrmurl", "form_title", "form_email", "form_subject",

"form_message", "form_submit", "category", "confirmText", 

"wait", "success_title", "success" 

];

for( var i:String in elements ){ 

if( Application.application.parameters[i] ) 

this[i] = Application.application.parameters[i];

} 

}

 

 

- Original Message - 
From: flexnubslice   
To: flexcoders@yahoogroups.com
  
Sent: Friday, November 30, 2007 3:36 AM
Subject: [flexcoders] Arrays, iteration, and referencing local
variables?


I'm trying to do something like this, but am unsure of the
proper
language constructs in Flex:

var a:String = "";
var b:String = "";
var c:String = "";

private function initApp():void{
var elements:Array = [ "a", "b", "c" ];

for( var i:String in elements ){
if( Application.application.parameters.i )
this.i = Application.application.parameters.i;
}
}

Just trying to init some vars if they were set, but not sure how
to
reference the this.i part..

Thanks!
Alex



 


[flexcoders] Re: Events and Non-Display Objects

2007-11-30 Thread bithroop
Yeah that totally makes sense and looks like the proper way of doing
things.

Thanks Muzak

-b

--- In flexcoders@yahoogroups.com, "Muzak" <[EMAIL PROTECTED]> wrote:
>
> I think what you're looking for is a Singleton class that extends
EventDispatcher which only purpose is to be able to add listeners 
> to and dispatch events upon.
> 
> package com.muzakdeezign.mvc.managers {
>  import flash.events.EventDispatcher;
>  public class SystemEventManager extends EventDispatcher {
> 
>   private static var __instance:SystemEventManager = null;
> 
>   public function SystemEventManager() {
>if(__instance != null) {
> throw new Error("Instance of SystemManager already exists. Use
SystemManager.getInstance()");
>}
>   }
> 
>   public static function getInstance():SystemEventManager {
>if(__instance == null ) {
> __instance = new SystemEventManager();
>}
>return __instance;
>   }
>  }
> }
> 
> //from anywhere in your app:
> 
> import com.muzakdeezign.mvc.managers.SystemEventManager;
> 
> SystemEventManager.getInstance().addEventListener("someEvent",
someEventHandler);
> 
> //and somewhere else in your app
> SystemEventManager.getInstance().dispatchEvent(new Event("someEvent"));
> 
> Make sense?
> 
> regards,
> Muzak
> 
> - Original Message - 
> From: "bithroop" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, November 29, 2007 5:33 PM
> Subject: [flexcoders] Re: Events and Non-Display Objects
> 
> 
> Jehanzeb - first, thank you for the detailed response! I really
> appreciate it.
> 
> In the code you provided, the CustomEventDispatcher was instantiated
> within the mx:Application object. So from what I've seen, yes
> Application will be able to hear CustomEventDispatcher's events.
> 
> However, my sitation is more like:
> 
> Application
> |
> |-->ContainerC->ContainerD
> |
> |-->ContainerA->Custom AS class not in display
> list->CustomEventDispatcher.
> 
> And I want CustomEventDispatcher's event to be heard by Container D.
> Right now I have my listener on Application, and then Application is
> calling a method on ContainerC, which is then calling a method on
> ContainerD. This seems to be ugly and bad form.
>




[flexcoders] Re: Sorting problem on date and numbers with null values, I think

2007-11-30 Thread aceoohay
The data is fully populated at the time the column header is 
clicked. However some of the cells are null.

We certainly disagree on this:-) 

Since a null is a valid result for all data types, it seems to me 
that any sort algorithm should handle the universe of valid data 
elements for that type. 

Additionally there appears to be no way to write a generic 
sortCompareFunction handler that will handle any column from any 
datagrid. If this is true then the developer needs to decide what 
type of data is being stored in each column, can nulls ever exist in 
this column and then write a custom sort routine for that column.

If in fact Flex cannot sort columns with nulls, and every column 
that could contain a null requires the developer to write a separate 
custom sort handler, I think that "serious shortcoming" is a polite 
way of stating the issue.

Is there a way of working around this "feature?"

Paul
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Well, I don't see it as a shortcoming that we default to efficient 
sort
> algorithms that assume that all values are of the same type.  
Seems like
> all you need is a comparefunction for dates and one for numbers and
> assign the correct function to the appropriate column.  Also note 
that
> if you sort with nulls for data that hasn't arrived yet, you'll 
probably
> have to re-sort as the data arrives.  The collections generally 
wait
> until all data has arrived to do the sort so it doesn't have to 
keep
> resorting as data has arrived.
>  
> So, you could wait for all data to arrive as well, or maybe monkey-
patch
> the sort code to handle null.  You can file an enhancement 
request, but
> I don't see it getting done in 3.0
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of aceoohay
> Sent: Friday, November 30, 2007 9:13 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Sorting problem on date and numbers with 
null
> values, I think
> 
> 
> 
> What is the workaround?
> 
> The sortCompareFunction does not seem to be reasonable, since a 
> version needs to be written for each column in each grid.
> 
> This seems like a serious shortcoming...
> 
> Paul
> 
> --- In flexcoders@yahoogroups.com 
> , "Alex Harui"  wrote:
> >
> > THe default sort code can't handle null as it isn't a date or 
> number
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of aceoohay
> > Sent: Thursday, November 29, 2007 8:49 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Re: Sorting problem on date and numbers 
with 
> null
> > values, I think
> > 
> > 
> > 
> > When I said no values returned from the DB, I meant that the 
grid 
> is 
> > populated with some records that have the values in the 
> number/date 
> > column, and others that don't.
> > 
> > Paul
> > --- In flexcoders@yahoogroups.com
>    40yahoogroups.com>
> > , "aceoohay"  wrote:
> > >
> > > I running flexbuilder 2.0.1, AS 3.
> > > 
> > > I have a number of datagrids. In two of my grids I have date 
and 
> > > number fields that sometimes have no values returned from the 
> DB. 
> > > When I click the heading on these columns to sort Ascending 
they 
> > work 
> > > fine. When I click a second time (descending) I get the 
> following 
> > > error;
> > > 
> > > ===
> > > Error: Cannot determine comparator for SortField with 
> > > name ''MyNumberDataField''.
> > > at mx.collections::SortField/::nullCompare()
> > > at 
> > > 
> > 
> 
mx.collections::SortField/http://www.adobe.com/2006/flex/mx/internal:
>  
> :
> >   > 
> > > internalCompare()
> > > at mx.collections::Sort/::internalCompare()
> > > at mx.collections::Sort/findItem()
> > > at mx.collections::ListCollectionView/getItemIndex()
> > > at ::ListCollectionViewCursor/::collectionEventHandler()
> > > at 
> > > 
> > 
> 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
> v
> > > entFunction()
> > > at flash.events::EventDispatcher/dispatchEvent()
> > > at mx.collections::ListCollectionView/dispatchEvent()
> > > at mx.collections::ListCollectionView/::internalRefresh()
> > > at mx.collections::ListCollectionView/refresh()
> > > at mx.controls::DataGrid/::sortByColumn()
> > > at mx.controls::DataGrid/::headerReleaseHandler()
> > > at 
> > > 
> > 
> 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
> v
> > > entFunction()
> > > at flash.events::EventDispatcher/dispatchEvent()
> > > at mx.core::UIComponent/dis

[flexcoders] FP9.0.60.235 can't catch onPlayStatus ?

2007-11-30 Thread Adnan Doric
Hello,

It seems that Flash player 9,0,60,235 can't catch NetStram
onPlayStatus Event (dispatched when streaming is finished), at least
on my computer.

I tried with a debugger, it doesn't stop at the breakpoint inside that
function at all.

It is triggered with 9,0,47,0 on IE, and Firefox.

Can someone confirm that and tell me where can I submit à bug.

Thank you in advance



[flexcoders] Re: Combobox and XML and label functions I cannot seem to get labels to show up

2007-11-30 Thread kuroiryu42
Turns out at some point my data was going away.
I am afraid I don't know why, but I have managed to fix it.
Seems like the data was getting assigned before the creation complete
phase.

I was also able to get rid of the label function.
I set the labelField.
dataProvider="{dataSetColl}" labelField="DisplayName"

Thanks for you responses.
Joe


--- In flexcoders@yahoogroups.com, "kuroiryu42" <[EMAIL PROTECTED]> wrote:
>
> When I trace the code it seems like the label function is working
> great it returns demo as a string yet i see nothing on the comobox.
> What am I missing here?! sooo frustrated.
> 
> Another question, how do i get responses to my questions without
> having to search through the all the groups messages?
> 
> 
> XML1 = 
>  
>   
>demo
>
>  
>  
>
>   
>   
>demo2
>
>  
>  
>
>   
>  
> 
> 
> after the http call comes back i initialize the dataprovider for my
> combobox
> 
> dataSetColl = new XMLListCollection( XML1.Datasets.Dataset );
> 
> private function boxLabelFuntion(item):String
>   {
>   return XML(item).DisplayName.valueOf(); 
>   }
> 
> 
>  labelFunction="boxLabelFuntion" change="dataSetBoxChange(event)" x="0"
> y="-2" width="201" height="20">
> 
> Thanks,
> Joe
>




[flexcoders] Re: creationComplete Not Firing

2007-11-30 Thread Anthony DeBonis
Be sure you put ()

creationComplete="onCreationComplete()"

With out parentheses you get warning but no error - but the method does 
not fire...



[flexcoders] FP9.0.60.235 can't catch onPlayStatus ?

2007-11-30 Thread Adnan Doric
Hello,

It seems that Flash player 9,0,60,235 can't catch NetStram onPlayStatus 
Event (dispatched when streaming is finished), at least on my computer.

I tried with a debugger, it doesn't stop at the breakpoint inside that 
function at all.

It is triggered with 9,0,47,0 on IE, and Firefox.

Can someone confirm that and tell me where can I submit à bug.

Thank you in advance


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

2007-11-30 Thread Anthony DeBonis

Go to Menu: File > Import ... then choose Existing Project to Workspace.

Then choose the directory where the project lives, works well.


--- In flexcoders@yahoogroups.com, 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.
>




[flexcoders] CSS usage?

2007-11-30 Thread Lex
If I go here and build a CSS sheet:
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#

Where do I instruct the system to use it thereafter?

Thanks.
Alex

RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Tracy Spratt
You won't be able to {bind} to dynamically created properties easily.
There may be a way to set up a binding using AS, not sure.  

 

You could just set the url directly in initApp().

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexnubslice
Sent: Friday, November 30, 2007 2:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Registering flashvar variables properly?

 

Hi,

   I'm busting my head against the wall on this one, I have to say that
Flex is pretty frustrating when you otherwise code C++ or Java by trade.

   Poking around, I have found how to pass variables into Flex apps
using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

   What I need to do, is pass a proxy URL from HTML, into Flex, that
will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml"; 
layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">








The idea is to pass in scrmurl, ie http://yourdomain.com/  and the URL
in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl variable?  When
it posts, it only posts to xmlrpc/request.php, as though the parameter
is being completely ignored..

Thanks!
Alex

 



RE: [flexcoders] Web Service & Enumerations...Is this a bug?...need help!

2007-11-30 Thread Peter Farland
"Hotfix" is a misnomer as applied to the WebService feature - Flex 2.0.1
HF2 coincided with LCDS 2.5 and a new stricter, E4X based implementation
of WebService was developed during the LCDS 2.5 release. Many more
schema situations were supported and more fixes have been made since,
but the effort today is directed to the Flex 3 release.
 
To get the latest nightly builds of the pre-release version of Flex 3
SDK, see Adobe Labs:
 
http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html
 
If you could try a later SDK out and let us know if any bugs remain
(best way is to log a bug at http://bugs.adobe.com/flex/ by providing a
snippet of code, the wsdl, and an XML capture of the response if it's a
decoding issue) that'd be really helpful.
 
Note, when you say the enumeration behavior is not working as expected,
are values missing in the encoded or decoded output, or were you hoping
for validation? Right now we do not validate the content but simply use
the schema to encode and decode content.
 
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Friday, November 30, 2007 2:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Web Service & Enumerations...Is this a
bug?...need help!


I am wondering if this is related to the problem I am having: 

https://bugs.adobe.com/jira/browse/FB-9521

Is there a way to see what was changed in the HotFix?  My web services
are not behaving as expected and I am wondering if this is a bug.  I
would love to hear from anyone else who has experience with using web
services regularly.

- Kevin


On Nov 30, 2007, at 12:47 PM, Kevin wrote:




Has anyone been successful accessing web services (with the 
WebService classes) that include an enumeration in them. I
cannot 
get it to work properly and no one seems to have an answer (even
the 
support people at the web service company...). Take a look at
this 
WSDL to see the structure of the webservice I am trying to
access.

http://ws.strikeiron.com/USAddressVerification4_0?WSDL
 

Thanks for the help... I am getting desperate.

- Kevin





 


Re: [flexcoders] Web Service & Enumerations...Is this a bug?...need help!

2007-11-30 Thread Kevin
I just installed HotFix 3 and I am no longer getting the initial  
error.  Instead I get the following error.  Any ideas what this means?


FAULT
(mx.rpc::Fault)#0
  errorID = 0
  faultCode = "DecodingError"
  faultDetail = (null)
  faultString = "Error #1006: getAttributeByQName is not a function."
  message = "faultCode:DecodingError faultString:'Error #1006:  
getAttributeByQName is not a function.' faultDetail:'null'"

  name = "Error"
  rootCause = (null)

Thanks, Kevin



On Nov 30, 2007, at 2:12 PM, Paul Decoursey wrote:

Have you tried Hotfix 3?  That had a lot of updates to web service  
code.



I did notice a lot of odd things similar to what was described when  
I updated to hotfix 3(I didn't install hotfix 2 until that time).   
Most of the issues were due to Flex actually handling the SOAP  
calls as they should be verses the close enough hack way they were  
before.


Paul

On Nov 30, 2007, at 1:06 PM, Kevin wrote:


I am wondering if this is related to the problem I am having:

https://bugs.adobe.com/jira/browse/FB-9521

Is there a way to see what was changed in the HotFix?  My web  
services are not behaving as expected and I am wondering if this  
is a bug.  I would love to hear from anyone else who has  
experience with using web services regularly.


- Kevin


On Nov 30, 2007, at 12:47 PM, Kevin wrote:


Has anyone been successful accessing web services (with the
WebService classes) that include an enumeration in them. I cannot
get it to work properly and no one seems to have an answer (even the
support people at the web service company...). Take a look at this
WSDL to see the structure of the webservice I am trying to access.

http://ws.strikeiron.com/USAddressVerification4_0?WSDL

Thanks for the help... I am getting desperate.

- Kevin











[flexcoders] Registering flashvar variables properly?

2007-11-30 Thread flexnubslice
Hi,

I'm busting my head against the wall on this one, I have to say that
Flex is pretty frustrating when you otherwise code C++ or Java by trade.

Poking around, I have found how to pass variables into Flex apps
using flashvars.  If I check the Application.application.parameters
value, they are all there.  So far so good.

What I need to do, is pass a proxy URL from HTML, into Flex, that
will be used as a url parameter for an HTTPService.

I have for example:


http://www.adobe.com/2006/mxml";
 layout="absolute" height="380" width="450" alpha="1.0"
initialize="initApp();">

 
 
 




The idea is to pass in scrmurl, ie http://yourdomain.com/  and the URL
in HTTPService then becomes:
http://yourdomain.com/xmlrpc/request.php

Why won't they HTTPService then, acknowledge the scrmurl variable?  When
it posts, it only posts to xmlrpc/request.php, as though the parameter
is being completely ignored..

Thanks!
Alex



Re: [flexcoders] Passing Parameters, is something like this possible with Flex?

2007-11-30 Thread Daniel Freiman
use
Application.application.parameters[i]
instead of
Application.application.parameters.i

- Dan Freiman

On Nov 30, 2007 11:36 AM, flexnubslice <[EMAIL PROTECTED]> wrote:

>   Instead of posting a ton of :
>
> if( Application.application.parameters.x)
> this.x= Application.application.parameters.x;
>
> if( Application.application.parameters.y)
> this.y= Application.application.parameters.y;
>
> ... ad nauseam ...  I was wondering if it was possible to do something
> like this?
>
> var elements:Array = [ "a", "b", "c" ];
>
> for( var i:String in elements ){
> if( Application.application.parameters.i )
> this.i = Application.application.parameters.i;
> }
>
> I'm not too certain of the language constructs here being new to Flex,
> help greatly appreciated!  The  highlighted line, it does not like.
>
> Thanks!
> Alex
>  
>


[flexcoders] Incomplete scrolling

2007-11-30 Thread Richard Rodseth
I have a variable-size dashboard-like component, centered inside a panel.
The dashboard is encapsulated in an HBox with a border, and is made up of a
couple of tilelists and some repeated items. It resizes correctly as its
data changes.

My problem is that when the dashboard gets too large to display, the panel
gets scrollbars correctly, but scrolling to the left doesn't take me all the
way to the beginning of the dashboard, i.e. it's clipped.  Any ideas? I
don't wish to give up the centering behaviour when the dashboard is small.


Re: [flexcoders] Get the Security settings back into flash?

2007-11-30 Thread Rick Schmitty
did you find an answer to this?

On 14 Mar 2007 17:59:31 -0700, Patrick Lemiuex <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Quick question:
>
>  Is there a way to pull the security settings back into flash - say
>  for instance you have syndicated a swf and Coldfusion comes back
>  behind your embed tag does a replace for allownetworking=false etc...
>
>  I want some buttons to be disabled in these situations.
>
>  Thanks,
>  Patrick
>  


Re: [flexcoders] Web Service & Enumerations...Is this a bug?...need help!

2007-11-30 Thread Paul Decoursey

Have you tried Hotfix 3?  That had a lot of updates to web service code.

I did notice a lot of odd things similar to what was described when I  
updated to hotfix 3(I didn't install hotfix 2 until that time).  Most  
of the issues were due to Flex actually handling the SOAP calls as  
they should be verses the close enough hack way they were before.


Paul

On Nov 30, 2007, at 1:06 PM, Kevin wrote:


I am wondering if this is related to the problem I am having:

https://bugs.adobe.com/jira/browse/FB-9521

Is there a way to see what was changed in the HotFix?  My web  
services are not behaving as expected and I am wondering if this is  
a bug.  I would love to hear from anyone else who has experience  
with using web services regularly.


- Kevin


On Nov 30, 2007, at 12:47 PM, Kevin wrote:


Has anyone been successful accessing web services (with the
WebService classes) that include an enumeration in them. I cannot
get it to work properly and no one seems to have an answer (even the
support people at the web service company...). Take a look at this
WSDL to see the structure of the webservice I am trying to access.

http://ws.strikeiron.com/USAddressVerification4_0?WSDL

Thanks for the help... I am getting desperate.

- Kevin








Re: [flexcoders] Web Service & Enumerations...Is this a bug?...need help!

2007-11-30 Thread Kevin

I am wondering if this is related to the problem I am having:

https://bugs.adobe.com/jira/browse/FB-9521

Is there a way to see what was changed in the HotFix?  My web  
services are not behaving as expected and I am wondering if this is a  
bug.  I would love to hear from anyone else who has experience with  
using web services regularly.


- Kevin


On Nov 30, 2007, at 12:47 PM, Kevin wrote:


Has anyone been successful accessing web services (with the
WebService classes) that include an enumeration in them. I cannot
get it to work properly and no one seems to have an answer (even the
support people at the web service company...). Take a look at this
WSDL to see the structure of the webservice I am trying to access.

http://ws.strikeiron.com/USAddressVerification4_0?WSDL

Thanks for the help... I am getting desperate.

- Kevin






RE: [flexcoders] Strange multiple select bug in List

2007-11-30 Thread Alex Harui
multi-select requires CTRL and SHIFT keys along with clicking or arrow
keys.  Are you doing that?
 
datatips don't show up unless the string can't be fully seen.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ken Dunnington
Sent: Thursday, November 29, 2007 10:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Strange multiple select bug in List



I'm having a problem getting allowMultipleSelection to work properly. I
have a form with a List control that's populated by an ArrayCollection.
I cannot seem to get multiple selection or dataTips to work. The code
for the list is: 


















  






I've tried completely replacing the list with a DataGrid, and that
doesn't work either. I've tried setting just the bare minimum attributes
for the List control (and DG) without any luck. 

I've tried this using Flex 3 Beta 2 and 2.0.1 on Mac/Safari with player
9.0.47.0. I tried it on Mac/FF as well, and it sort of worked at first
(clicking items didn't cause other items to deselect - so that's more
like another bug really) but when I reloaded the app, it behaved the
same way as Safari. I'm just building the UI at the moment, so there's
no other functionality in the app. This has got me very confused, and I
haven't been able to find any clues. I know about the Tree multiple
select issue in Flex 2, is this related? I swear I've used a
multi-select List control before. Any tips would be greatly appreciated.


 - Ken

 


RE: [flexcoders] Re: Sorting problem on date and numbers with null values, I think

2007-11-30 Thread Alex Harui
Well, I don't see it as a shortcoming that we default to efficient sort
algorithms that assume that all values are of the same type.  Seems like
all you need is a comparefunction for dates and one for numbers and
assign the correct function to the appropriate column.  Also note that
if you sort with nulls for data that hasn't arrived yet, you'll probably
have to re-sort as the data arrives.  The collections generally wait
until all data has arrived to do the sort so it doesn't have to keep
resorting as data has arrived.
 
So, you could wait for all data to arrive as well, or maybe monkey-patch
the sort code to handle null.  You can file an enhancement request, but
I don't see it getting done in 3.0



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Friday, November 30, 2007 9:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Sorting problem on date and numbers with null
values, I think



What is the workaround?

The sortCompareFunction does not seem to be reasonable, since a 
version needs to be written for each column in each grid.

This seems like a serious shortcoming...

Paul

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> THe default sort code can't handle null as it isn't a date or 
number
> 
> 
> 
> From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of aceoohay
> Sent: Thursday, November 29, 2007 8:49 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: Sorting problem on date and numbers with 
null
> values, I think
> 
> 
> 
> When I said no values returned from the DB, I meant that the grid 
is 
> populated with some records that have the values in the 
number/date 
> column, and others that don't.
> 
> Paul
> --- In flexcoders@yahoogroups.com
  
> , "aceoohay"  wrote:
> >
> > I running flexbuilder 2.0.1, AS 3.
> > 
> > I have a number of datagrids. In two of my grids I have date and 
> > number fields that sometimes have no values returned from the 
DB. 
> > When I click the heading on these columns to sort Ascending they 
> work 
> > fine. When I click a second time (descending) I get the 
following 
> > error;
> > 
> > ===
> > Error: Cannot determine comparator for SortField with 
> > name ''MyNumberDataField''.
> > at mx.collections::SortField/::nullCompare()
> > at 
> > 
> 
mx.collections::SortField/http://www.adobe.com/2006/flex/mx/internal:
 
:
>  > 
> > internalCompare()
> > at mx.collections::Sort/::internalCompare()
> > at mx.collections::Sort/findItem()
> > at mx.collections::ListCollectionView/getItemIndex()
> > at ::ListCollectionViewCursor/::collectionEventHandler()
> > at 
> > 
> 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
v
> > entFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.collections::ListCollectionView/dispatchEvent()
> > at mx.collections::ListCollectionView/::internalRefresh()
> > at mx.collections::ListCollectionView/refresh()
> > at mx.controls::DataGrid/::sortByColumn()
> > at mx.controls::DataGrid/::headerReleaseHandler()
> > at 
> > 
> 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
v
> > entFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.core::UIComponent/dispatchEvent()
> > at mx.controls::DataGrid/mx.controls:DataGrid::mouseUpHandler
> > ()
> > ===
> > 
> > I am not using a sort compare function anywhere. I have other 
text 
> > type fields with nulls that seem to sort correctly.
> > 
> > This seems like a bug. 
> > 
> > Any ideas?
> > 
> > Paul
> >
>



 


Re: [flexcoders] Thumb Nail and Indexing

2007-11-30 Thread Paul Decoursey
I'd suggest something like FFMpeg or TeleStream FlipFactory for the  
video files.  For the SWF and FLV you can load back into the Flex app  
and generate thumbnails that way.

Paul

On Nov 30, 2007, at 12:48 PM, dranoel1967 wrote:

> I am wanting to create a thumbnail image of files uploaded to my  
> Flex app, as well as gather
> basic info on the file (size , aspect, etc)
>
> File types: Flash swf, flv, mov, mpeg, avi, wmv
>
> Background - SQL 2005, .net 2.0, Flex 2
>
> anyone have any thoughts on this ?
>
>
>
> --
> 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
>
>
>



[flexcoders] Re: Project works then doesn't

2007-11-30 Thread Steve Hueners
Might this be behavior specific to FB3?


RE: [flexcoders] Re: Actionscript: Copy an Object or Dictionary

2007-11-30 Thread Peter Farland
mx.utils.ObjectUtil.copy() won't work for Dictionary or Class as these
types are not supported by AMF. (I logged bug SDK-13787 to track this).

(Also, I think it doesn't make sense to copy a Class instance in AS3 as
there is only one definition per application domain).

Pete


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of polestar11
Sent: Friday, November 30, 2007 10:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Actionscript: Copy an Object or Dictionary

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> > it only copies over object values, not exact values.
> 
> Huh?
> 
> 

@Tom
How would one bind the keys to the new dictionary children?
var newDict:Dictionary = new Dictionary(); var item:Class for each(item
in myDictionary) { newDict[?] = item; }

@ben
If I have an object containing types (in my case a collection of Class
types referenced by a key string). Using the ObjectProxy.copy(), the new
object will contain child objects with the same keys as the original,
but the child types are Object types, not Class types.





--
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: Module Loader

2007-11-30 Thread Alex Harui
Probably not, but it wasnt' clear to me that you needed to get your code loaded 
under the ModuleManager.  I think you could just instantiate the module 
directly.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gus
Sent: Friday, November 30, 2007 9:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Module Loader



Done!!

Thanks Alex, I did it... but had to do it by monkey patching some
classes.. don't like to do this... but...

although I only modified the load method in the ModuleInfo class to
add the loadBytes call, had to change the FactoryInfo,
ModuleInfoProxy, ModuleLoader, ModuleManager and ModuleManagerImpl
because they either have a ModuleInfo variable or weren't visible to
my class...

I don't know if can be done better...

one little defect is that the module is not visible in the design
mode... a red X appears...

Any thought on this???

Thanks!!!

--- In flexcoders@yahoogroups.com  , "Alex 
Harui" <[EMAIL PROTECTED]> wrote:
>
> There doesn't look like there's a way to plug that into the
ModuleManager and it doesn't support loadBytes.
> 
> If you look at the FlexModuleFactory and ModuleManager code, it
appears that you can listen for the ready event and then call create()
on the factory.
> 
> 
> 
> From: flexcoders@yahoogroups.com   
> [mailto:flexcoders@yahoogroups.com  ]
On Behalf Of Gus
> Sent: Wednesday, November 28, 2007 2:27 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: Module Loader
> 
> 
> 
> To extract the swf module from the zip I'm using the following code:
> 
> var zipFile:ZipFile = new ZipFile(loadedData);
> var data:ByteArray;
> for(var i:int = 0; i < zipFile.entries.length; i++) 
> {
> var entry:ZipEntry = zipFile.entries[i];
> data = zipFile.getInput(entry);
> }
> 
> loader = new Loader( );
> loader.contentLoaderInfo.addEventListener( Event.COMPLETE,
onLoadComplete );
> var context : LoaderContext = new LoaderContext( );
> context.applicationDomain = ApplicationDomain.currentDomain;
> loader.loadBytes( data, context );
> 
> On the onLoadComplete the loader.content has:
> 
> _TestModule_mx_core_FlexModuleFactory (@17975f1)
> 
> which seems to be similar to the variable info.factory in
ModuleInfoProxy
> 
> you can see a screenshot of the debugger window in:
> 
> http://www.flickr.com/photos/[EMAIL PROTECTED]/2072440268/ 
>  
> 
> Thanks for the help
> Gus...
> 
> 
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com  , 
> "Alex Harui"  wrote:
> >
> > can we see how you are getting the instance of the module factory?
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com  
[mailto:flexcoders@yahoogroups.com  ] On 
Behalf Of Gus
> > Sent: Wednesday, November 28, 2007 8:59 AM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Module Loader
> > 
> > 
> > 
> > Hey all...
> > 
> > is there a way to load a module not from an url but an object
instance?
> > 
> > I have a zip file with a module, I unzipped it with the nochump zip
> > libraries and obtain the instance of the factory for the module ( or
> > at least is what it seems )... but then I can´t find a way to pass it
> > to the ModuleLoader... so, I'm stuck... don't know where to look... 
> > 
> > Any Ideas???
> > Thanks in advance
> >
>



 


RE: [flexcoders] Height Problems of List component using itemrenderer with different row height

2007-11-30 Thread Alex Harui
Not sure when I'll get time to look.  The basic trick to getting multiline to 
work is to set the explicitWidth/width of the text widget so it can define its 
height correctly.  The explicitWidth of the renderer is set by the list class 
before the renderer's measure() is called.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Christoph Atteneder
Sent: Friday, November 30, 2007 9:00 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Height Problems of List component using itemrenderer 
with different row height



With the default renderer with wordWrap = true and variableRowHeight= true it 
works if I´m setting the height of the list after calling 
measureHeightOfItems().
But it is not working if you are using more sophisticated ItemRenderers( e.g. 
with VBox and multiple TextFields, Buttons,...) I´ve already uploaded a simple 
Example under

www.cubeworx.net/ripcurlx/ResizeBug.zip 
  

br,

Christoph



On Nov 30, 2007 5:47 PM, Alex Harui <[EMAIL PROTECTED]  > wrote:




does it work with the default renderers with wordWrap=true and 
variableRowHeight=true?



From: flexcoders@yahoogroups.com   
[mailto:flexcoders@yahoogroups.com  ] On 
Behalf Of Christoph Atteneder
Sent: Friday, November 30, 2007 7:43 AM
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] Height Problems of List component using 
itemrenderer with different row height



Hi,

My problem is following:

I have a List component which is filled with a list of properties and I 
want to know how much space it needs to display all of its items.

This only works with single label renderer or renderer with a fixed 
height, but not with renderer with different row height with Text component. 

I really have big problems with all releases of the flex 3 framework so 
far regarding this issue.

I´ve uploaded a flex builder project for testing.

www.cubeworx.net/ripcurlx/ResizeBug.zip 
 

This text wrap size problem is critical for my application, so I hope 
there is at least a workaround for this issue. 

thx for any hints in advance

br,

Christoph 




 


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

2007-11-30 Thread Michael Pengi

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.



[flexcoders] Re: need urgent help >> Working with CF8 and flex

2007-11-30 Thread denny431
Just adjust the path to the CFC.
The path on a J2EE installation is: /c:/JRun4/servers/cfusion/cfusion-
ear/cfusion-war/

This is where Coldfusion will start to look for CFC's.

Build a folder structure from here such as:
mysite/cfsource

So if you are using RemoteObject the source would be 
mysite/cfsource/AddressBook

Hope this helps

DJM




--- In flexcoders@yahoogroups.com, "Shakthi. K" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> 
> I have developed a flex application which uses CFCs to access data 
from 
> MySQL 5.0
> It works fine on my localhost (installed with CF8 and MySQL 5).
> But when I upload this to my web host which supports CF8 and MySQL 
5, it 
> gives the following error
> 
> faultCode:Server.Processing faultString:'Unable to invoke CFC - 
Could 
> not find the ColdFusion Component or Interface 
AddressBook.cfcs.getAll.' 
> faultDetail:'For details, turn on Robust Exception Information in 
the 
> ColdFusion Administrator'
> 
> Please visit below link and click on the button "ALL".
> http://76.12.87.37/apps/addressbook/myAddressBookCon.html
> 
> Can somebody help on this.
> 
> VERY URGENT.
> 
> Regards,
> 
> Shakthi
>




[flexcoders] Thumb Nail and Indexing

2007-11-30 Thread dranoel1967
I am wanting to create a thumbnail image of files uploaded to my Flex app, as 
well as gather 
basic info on the file (size , aspect, etc) 

File types: Flash swf, flv, mov, mpeg, avi, wmv

Background - SQL 2005, .net 2.0, Flex 2

anyone have any thoughts on this ?



Re: [flexcoders] Arrays, iteration, and referencing local variables?

2007-11-30 Thread Lex
Got it with:

private function initApp():void{

var elements:Array = [ 

"scrmurl", "form_title", "form_email", "form_subject",

"form_message", "form_submit", "category", "confirmText", 

"wait", "success_title", "success" 

];



for( var i:String in elements ){ 

if( Application.application.parameters[i] ) 

this[i] = Application.application.parameters[i];

} 



}





  - Original Message - 
  From: flexnubslice 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, November 30, 2007 3:36 AM
  Subject: [flexcoders] Arrays, iteration, and referencing local variables?


  I'm trying to do something like this, but am unsure of the proper
  language constructs in Flex:

  var a:String = "";
  var b:String = "";
  var c:String = "";

  private function initApp():void{
  var elements:Array = [ "a", "b", "c" ];

  for( var i:String in elements ){
  if( Application.application.parameters.i )
  this.i = Application.application.parameters.i;
  }
  }

  Just trying to init some vars if they were set, but not sure how to
  reference the this.i part..

  Thanks!
  Alex



   

[flexcoders] Re: Error 2032 - Stream error

2007-11-30 Thread Abyss Knight
I just had this same error yesterday and had a couple answers posted.
You might try a search on this board, but the checklist I was asked
for was:

1. Is it using SSL?
2. Are you using Pragma: no-cache or cache control?
3. Is the server using gzip?
4. Did you check the URL of your HTTPService call?

Go ahead and print the fault message too, as that can be helpful at
times. My issue was with #2, but it was an IE6 only issue. Service
Capture is a great program for debugging these things as well. Just
grab the trial, and see what's up with your HTTPService call in the
way of traffic.

-- William

--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
>
> Hello flexcoders,
> 
> 
> I am having a problem where my Flex application dipplays this error:
> 
> faultCode:Server.Error.Request faultString:'HTTP request error'
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false
cancelable=false eventPhase=2 text="Error #2032: Stream Error.[/CODE]
> 
> Error is displayed every time i use HTTPService for connecting to a
simple .php script:
> 
>  
> include('file_handler.php');
> 
> $f = new file_handler("webct.carnet.hr", 80, "username", "password",
"url", WEBDAV);
> 
> ?>
> 
> 
> I should mention that .php script work just fine when executed
directly from browser and basically what it does is connect to a
remote server using webdav protocol through custom 'file_handler.php'
class. If i remove the line:
> 
> $f = new file_handler("webct.carnet.hr", 80, "username", "password",
"url", WEBDAV);
> 
> used for connecting error is not displayed. I googled and didn't
find any solution and what's even worse i don't know what's the
problem? Can someone help me on this?
> 
> -- 
> Best regards,
>  Mirko  mailto:msabljic[at]gmail.com
>




[flexcoders] Error 2032 - Stream error

2007-11-30 Thread msabljic
Hello flexcoders,


I am having a problem where my Flex application dipplays this error:

faultCode:Server.Error.Request faultString:'HTTP request error' 
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false 
eventPhase=2 text="Error #2032: Stream Error.[/CODE]

Error is displayed every time i use HTTPService for connecting to a simple .php 
script:




I should mention that .php script work just fine when executed directly from 
browser and basically what it does is connect to a remote server using webdav 
protocol through custom 'file_handler.php' class. If i remove the line:

$f = new file_handler("webct.carnet.hr", 80, "username", "password", "url", 
WEBDAV);

used for connecting error is not displayed. I googled and didn't find any 
solution and what's even worse i don't know what's the problem? Can someone 
help me on this?

-- 
Best regards,
 Mirko  mailto:msabljic[at]gmail.com



[flexcoders] Re: Bind a property of an ActionScript generated component

2007-11-30 Thread vixiom
solved it, use binding utils...


http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="onCreationComplete()">








--- In flexcoders@yahoogroups.com, "vixiom" <[EMAIL PROTECTED]> wrote:
>
> Is it possible to bind an ActionScript generated component's properties?
> 
> In the example below 'sq1' will move when the browser is resized but
> 'sq2' won't.
> 
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute" creationComplete="onCreationComplete()">
>   
>   
>   
>backgroundColor="#ff">
>y="50" backgroundColor="#00"/>
>   
> 
>




[flexcoders] Web Service & Enumerations...Is this a bug?...need help!

2007-11-30 Thread Kevin
Has anyone been successful accessing web services (with the  
WebService classes) that include an enumeration in them.  I cannot  
get it to work properly and no one seems to have an answer (even the  
support people at the web service company...).  Take a look at this  
WSDL to see the structure of the webservice I am trying to access.

http://ws.strikeiron.com/USAddressVerification4_0?WSDL

Thanks for the help... I am getting desperate.

- Kevin


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

2007-11-30 Thread Alex Harui
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 
, "Alex Harui" <[EMAIL PROTECTED]> 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@yahoogroups.com 
] On
> Behalf Of florian.salihovic
> Sent: Thursday, November 29, 2007 4:27 PM
> To: flexcoders@yahoogroups.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:
> 
> 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; i
this._children.addItem(PackageDescriptor(packageDescriptor.packages.getI
> temAt(i)));
> }
> for (var j:uint = 0; j
this._children.addItem(ClassDescriptor(packageDescriptor.classes.getItem
> At(j)));
> }
> for (var k:uint = 0; k
this._children.addItem(InterfaceDescriptor(packageDescriptor.interfaces.
> getItemAt(k)));
> }
> /*for (var l:uint = 0; 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;
> }
> }
> 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] Calling a method defined in a script block from an swf... how?

2007-11-30 Thread Alex Harui
swfloader.content.application.sayHello, but after the "complete" event.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of vrempp
Sent: Friday, November 30, 2007 8:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Calling a method defined in a script block from an
swf... how?



Hi evrybody,

I'm wondering how to call the sayHello() method from an inbeded swf.
Does anyone  have a solution for this? (
The goal is to call the sayHello method (defined in the mxml) from the
swf compiled with flash cs3.)



http://www.adobe.com/2006/mxml";
layout="vertical">







thanks,

Vincent




 


RE: [flexcoders] creationComplete Not Firing

2007-11-30 Thread Alex Harui
Does the UI show up or does nothing show up.  If nothing, then there's
something continously causing invalidations



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of urmacboy
Sent: Friday, November 30, 2007 8:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] creationComplete Not Firing



We're experiencing an interesting problem where the function in the
creationComplete attribute in the Application tag fails to run. Has
anyone else experienced problems with this attribute. The code for
our Application tag is as follows:

http://www.adobe.com/2006/mxml
 "
layout="absolute" 
xmlns:ns1="assets.*" 
backgroundImage="../assets/images/bark.png" 
width="1024" height="768" 
backgroundGradientAlphas="[0.0, 0.0]"
creationComplete="initApp()">

Thanks for any advice. 

Scott



 


[flexcoders] creationComplete Not Firing

2007-11-30 Thread urmacboy
We're experiencing an interesting problem where the function in the
creationComplete attribute in the Application tag fails to run.  Has
anyone else experienced problems with this attribute.  The code for
our Application tag is as follows:

http://www.adobe.com/2006/mxml";
layout="absolute" 
xmlns:ns1="assets.*" 
backgroundImage="../assets/images/bark.png" 
width="1024" height="768" 
backgroundGradientAlphas="[0.0, 0.0]"
creationComplete="initApp()">

Thanks for any advice. 

Scott



[flexcoders] Passing Parameters, is something like this possible with Flex?

2007-11-30 Thread flexnubslice
Instead of posting a ton of :

if( Application.application.parameters.x)
 this.x= Application.application.parameters.x;

if( Application.application.parameters.y)
 this.y= Application.application.parameters.y;

... ad nauseam ...  I was wondering if it was possible to do something
like this?

var elements:Array = [ "a", "b", "c" ];

for( var i:String in elements ){
 if( Application.application.parameters.i )
 this.i = Application.application.parameters.i;
}

I'm not too certain of the language constructs here being new to Flex, 
help greatly appreciated!  The  highlighted line, it does not like.

Thanks!
Alex



[flexcoders] Calling a method defined in a script block from an swf... how?

2007-11-30 Thread vrempp
Hi evrybody,

I'm wondering how to call the sayHello() method from an inbeded swf.
Does anyone  have a solution for this? (
The goal is to call the sayHello method (defined in the mxml) from the
swf compiled with flash cs3.)



 http://www.adobe.com/2006/mxml";
layout="vertical">
 
 
 
 



thanks,

Vincent





[flexcoders] Re: Symmetric Key Encryption in Flex Client C# WebServices

2007-11-30 Thread kaleb_pederson
--- In flexcoders@yahoogroups.com, "peeyushtuli" <[EMAIL PROTECTED]> 
wrote:
> Thank you all for the responses, but I have already tried this 
one.
> C# does not have an official implementation for AES, so I had to 
> ignore that one.

Actually, it does.  AES is a subset of Rijndael.  It's basically 
Rijdnael with a few more restrictions (block and key size), so 
that's what you should use.

Docs are here:

http://msdn2.microsoft.com/en-us/library/system.security.cryptography.rijndael.aspx

I started working with ASCrypt3 and found that it needed a lot of 
work.  Specifically, some of the bitshifts were signed and should 
not have been and the padding algorithms were not consistent with 
the standard padding algorithms.

Shortly after I fixed these in a private implementation (feel free 
to let me know if anybody wants these), Metal Hurlant released his 
AS3 Crypto framework.  Once I took a look at Hurlant's AS3 Crypto 
work, I haven't touched ASCrypt3. Hurlant's work is extremely well 
done using common design patterns and enterprise quality tests.

The only thing that was missing in the AS3 Crypto libraries (and 
might not be missing any more) was a couple of padding algorithms.  
However, I have tested for compatibility with both Java and C# using 
the provided padding algorithms and it works perfectly.

Best of luck.

--Kaleb


> I tried Triple DES , but it was not consistent if 
> you try both sides, flex and C#, I guess there is a difference in 
> implementations. I would need to do some substantial test cases, 
> before reporting that to the author. If aybody with a real time 
> implementation experience for this case can guide me, I would be 
> really grateful.
> 
> Thanks,
> Peeyush Tuli
> MetaDesign Solutions
> 
> --- In flexcoders@yahoogroups.com, Jeffry Houser  wrote:
> >
> > 
> >   And ascrypt3.riaforge.com .
> > 
> >   As an aside, I could never get ascrypt3 AES to work with 
> ColdFusion, 
> > however I could get crypto AES to work w/ CF.
> > 
> > Florian Sprenger wrote:
> > > 
> > > 
> > > Hi,
> > > 
> > > have a look at As3 Crypto : http://crypto.hurlant.com/ 
> > > 
> > > Florian
> > > 
> > >  >
> > >  > There is a requirement to implement encryption some data in 
a 
> Flex
> > >  > based client and decrypt it in a C# based web service, and 
> vice versa.
> > >  > Has anybody tried it with AES, Blowfish or Triple DES?
> > >  > Any pointers would be appreciated.
> > >  >
> > >  > Thanks,
> > >  > Peeyush
> > >  > MetaDesign Solutions
> > >  >
> > > 
> > >  > _
> > >  >
> > >  >
> > > 
> > > -- 
> > > Florian Sprenger, Actionscript Software Developer
> > > sMeet Limited
> > > Gipsstr. 5
> > > D-10119 Berlin
> > > 
> > > Tel: +49-30-9700 
> > > Fax: +49-30-9700 5359
> > > Mob: +49-
> > > E-Mail: florian.sprenger@ 
> > > 
> > > Handelsregister Berlin Charlottenburg: HRB 104503 B
> > > 
> > > 
> > 
> > -- 
> > Jeffry Houser, Technical Entrepreneur, Software Developer, 
Author, 
> > Recording Engineer
> > AIM: Reboog711  | Phone: 1-203-379-0773
> > --
> > My Company: 
> > My Podcast: 
> > My Blog: 
> >
>




[flexcoders] Wrapper freezes during HTTPService call

2007-11-30 Thread Paul Fischer
I have a web application that is primarily html/jsp.  It embeds a Flex 
app for displaying a DataGrid of data from a web service.  While the 
service is executing, the web page does not respond to clicks on links 
which would navigate to a different page.  The embeded Flex app, 
however, does respond to mouse clicks.

I set a timeout on the HTTPService and found that even after the 
timeout, the web page does not respond to clicks for about another 2 
minutes.  At that time, the web page will execute whatever I clicked 
on during the freeze up period.

Is there something I can change about the HTTPService or the wrapper 
configuration?  I did a lot of searching through the Flex docs and web 
sites, but have not found any relevant information.

Thanks,
Paul



[flexcoders] Re: Subversion clients

2007-11-30 Thread eestes1
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, "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.
>





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

2007-11-30 Thread florian.salihovic

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, "Alex Harui" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] On
> Behalf Of florian.salihovic
> Sent: Thursday, November 29, 2007 4:27 PM
> To: flexcoders@yahoogroups.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:
> 
> 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; i this._children.addItem(PackageDescriptor(packageDescriptor.packages.getI
> temAt(i)));
> }
> for (var j:uint = 0; j this._children.addItem(ClassDescriptor(packageDescriptor.classes.getItem
> At(j)));
> }
> for (var k:uint = 0; k this._children.addItem(InterfaceDescriptor(packageDescriptor.interfaces.
> getItemAt(k)));
> }
> /*for (var l:uint = 0; 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;
> }
> }
> 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.
>





[flexcoders] Arrays, iteration, and referencing local variables?

2007-11-30 Thread flexnubslice
I'm trying to do something like this, but am unsure of the proper
language constructs in Flex:


var a:String = "";
var b:String = "";
var c:String = "";

private function initApp():void{
  var elements:Array = [ "a", "b", "c" ];

  for( var i:String in elements ){
if( Application.application.parameters.i )
  this.i = Application.application.parameters.i;
  }
}

Just trying to init some vars if they were set, but not sure how to
reference the this.i part..

Thanks!
Alex



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

2007-11-30 Thread florian.salihovic
I really thought i got it - but i was wrong... i isolated my problem and 
perhaps someone 
could elaborate what i need to change and why.

Here are the srcs: [FONT="Century Gothic"]Ich konnte den Fehler rekonstruieren 
auch bei 
einem anderen Modell feststellen. Ich glaube ich hab eine Blockade gerade. 
Vielleicht mag 
sich das nochmal jemand anschauen?

http://www.box.net/shared/gmbrc5yc2k

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] On
> Behalf Of florian.salihovic
> Sent: Thursday, November 29, 2007 4:27 PM
> To: flexcoders@yahoogroups.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:
> 
> 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; i this._children.addItem(PackageDescriptor(packageDescriptor.packages.getI
> temAt(i)));
> }
> for (var j:uint = 0; j this._children.addItem(ClassDescriptor(packageDescriptor.classes.getItem
> At(j)));
> }
> for (var k:uint = 0; k this._children.addItem(InterfaceDescriptor(packageDescriptor.interfaces.
> getItemAt(k)));
> }
> /*for (var l:uint = 0; 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;
> }
> }
> 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.
>



[flexcoders] TypeError: Error #1006: value is not a function.

2007-11-30 Thread LyraSpace
Hi there. I'm trying to do a very simple urlRequest ...

var loader:URLLoader = new URLLoader(); 
loader.addEventListener(Event.COMPLETE,onLoadCSS); 
loader.load(new URLRequest("htmlStyles.css"));

But I'm getting this error message ...

TypeError: Error #1006: value is not a function.
at url_loader/::onLoadCSS()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

I've checked and double-checked the code and it is fine. The error suggests 
problems with the EventDispatcher class itself. Anyone have any ideas at all?

[flexcoders] Strange multiple select bug in List

2007-11-30 Thread Ken Dunnington
I'm having a problem getting allowMultipleSelection to work properly. I have
a form with a List control that's populated by an ArrayCollection. I cannot
seem to get multiple selection or dataTips to work. The code for the list
is:

















  




I've tried completely replacing the list with a DataGrid, and that doesn't
work either. I've tried setting just the bare minimum attributes for the
List control (and DG) without any luck.

I've tried this using Flex 3 Beta 2 and 2.0.1 on Mac/Safari with player
9.0.47.0. I tried it on Mac/FF as well, and it sort of worked at first
(clicking items didn't cause other items to deselect - so that's more like
another bug really) but when I reloaded the app, it behaved the same way as
Safari. I'm just building the UI at the moment, so there's no other
functionality in the app. This has got me very confused, and I haven't been
able to find any clues. I know about the Tree multiple select issue in Flex
2, is this related? I swear I've used a multi-select List control before.
Any tips would be greatly appreciated.

 - Ken


[flexcoders] need urgent help >> Working with CF8 and flex

2007-11-30 Thread Shakthi. K
Hi,

I have developed a flex application which uses CFCs to access data from 
MySQL 5.0
It works fine on my localhost (installed with CF8 and MySQL 5).
But when I upload this to my web host which supports CF8 and MySQL 5, it 
gives the following error

faultCode:Server.Processing faultString:'Unable to invoke CFC - Could 
not find the ColdFusion Component or Interface AddressBook.cfcs.getAll.' 
faultDetail:'For details, turn on Robust Exception Information in the 
ColdFusion Administrator'

Please visit below link and click on the button "ALL".
http://76.12.87.37/apps/addressbook/myAddressBookCon.html

Can somebody help on this.

VERY URGENT.

Regards,

Shakthi



[flexcoders] Re: Sorting problem on date and numbers with null values, I think

2007-11-30 Thread aceoohay
What is the workaround?

The sortCompareFunction does not seem to be reasonable, since a 
version needs to be written for each column in each grid.

This seems like a serious shortcoming...

Paul

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> THe default sort code can't handle null as it isn't a date or 
number
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of aceoohay
> Sent: Thursday, November 29, 2007 8:49 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Sorting problem on date and numbers with 
null
> values, I think
> 
> 
> 
> When I said no values returned from the DB, I meant that the grid 
is 
> populated with some records that have the values in the 
number/date 
> column, and others that don't.
> 
> Paul
> --- In flexcoders@yahoogroups.com 
> , "aceoohay"  wrote:
> >
> > I running flexbuilder 2.0.1, AS 3.
> > 
> > I have a number of datagrids. In two of my grids I have date and 
> > number fields that sometimes have no values returned from the 
DB. 
> > When I click the heading on these columns to sort Ascending they 
> work 
> > fine. When I click a second time (descending) I get the 
following 
> > error;
> > 
> > ===
> > Error: Cannot determine comparator for SortField with 
> > name ''MyNumberDataField''.
> > at mx.collections::SortField/::nullCompare()
> > at 
> > 
> 
mx.collections::SortField/http://www.adobe.com/2006/flex/mx/internal:
:
>  
> > internalCompare()
> > at mx.collections::Sort/::internalCompare()
> > at mx.collections::Sort/findItem()
> > at mx.collections::ListCollectionView/getItemIndex()
> > at ::ListCollectionViewCursor/::collectionEventHandler()
> > at 
> > 
> 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
v
> > entFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.collections::ListCollectionView/dispatchEvent()
> > at mx.collections::ListCollectionView/::internalRefresh()
> > at mx.collections::ListCollectionView/refresh()
> > at mx.controls::DataGrid/::sortByColumn()
> > at mx.controls::DataGrid/::headerReleaseHandler()
> > at 
> > 
> 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
v
> > entFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.core::UIComponent/dispatchEvent()
> > at mx.controls::DataGrid/mx.controls:DataGrid::mouseUpHandler
> > ()
> > ===
> > 
> > I am not using a sort compare function anywhere. I have other 
text 
> > type fields with nulls that seem to sort correctly.
> > 
> > This seems like a bug. 
> > 
> > Any ideas?
> > 
> > Paul
> >
>




[flexcoders] Re: Module Loader

2007-11-30 Thread Gus
Done!!

Thanks Alex, I did it... but had to do it by monkey patching some
classes.. don't like to do this... but...

although I only modified the load method in the ModuleInfo class to
add the loadBytes call, had to change the FactoryInfo,
ModuleInfoProxy, ModuleLoader, ModuleManager and ModuleManagerImpl
because they either have a ModuleInfo variable or weren't visible to
my class...

I don't know if can be done better...

one little defect is that the module is not visible in the design
mode... a red X appears...

Any thought on this???

Thanks!!!


--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> There doesn't look like there's a way to plug that into the
ModuleManager and it doesn't support loadBytes.
>  
> If you look at the FlexModuleFactory and ModuleManager code, it
appears that you can listen for the ready event and then call create()
on the factory.
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Gus
> Sent: Wednesday, November 28, 2007 2:27 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Module Loader
> 
> 
> 
> To extract the swf module from the zip I'm using the following code:
> 
> var zipFile:ZipFile = new ZipFile(loadedData);
> var data:ByteArray;
> for(var i:int = 0; i < zipFile.entries.length; i++) 
> {
> var entry:ZipEntry = zipFile.entries[i];
> data = zipFile.getInput(entry);
> }
> 
> loader = new Loader( );
> loader.contentLoaderInfo.addEventListener( Event.COMPLETE,
onLoadComplete );
> var context : LoaderContext = new LoaderContext( );
> context.applicationDomain = ApplicationDomain.currentDomain;
> loader.loadBytes( data, context );
> 
> On the onLoadComplete the loader.content has:
> 
> _TestModule_mx_core_FlexModuleFactory (@17975f1)
> 
> which seems to be similar to the variable info.factory in
ModuleInfoProxy
> 
> you can see a screenshot of the debugger window in:
> 
> http://www.flickr.com/photos/[EMAIL PROTECTED]/2072440268/
> 
> Thanks for the help
> Gus...
> 
> 
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Alex Harui"  wrote:
> >
> > can we see how you are getting the instance of the module factory?
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Gus
> > Sent: Wednesday, November 28, 2007 8:59 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Module Loader
> > 
> > 
> > 
> > Hey all...
> > 
> > is there a way to load a module not from an url but an object
instance?
> > 
> > I have a zip file with a module, I unzipped it with the nochump zip
> > libraries and obtain the instance of the factory for the module ( or
> > at least is what it seems )... but then I can´t find a way to pass it
> > to the ModuleLoader... so, I'm stuck... don't know where to look... 
> > 
> > Any Ideas???
> > Thanks in advance
> >
>




Re: [flexcoders] Height Problems of List component using itemrenderer with different row height

2007-11-30 Thread Christoph Atteneder
With the default renderer with wordWrap = true and variableRowHeight= true
it works if I´m setting the height of the list after calling
measureHeightOfItems().
But it is not working if you are using more sophisticated ItemRenderers(e.g.
with VBox and multiple TextFields, Buttons,...) I´ve already uploaded a
simple Example under

www.cubeworx.net/ripcurlx/ResizeBug.zip

br,

Christoph


On Nov 30, 2007 5:47 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

>does it work with the default renderers with wordWrap=true and
> variableRowHeight=true?
>
>  --
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Christoph Atteneder
> *Sent:* Friday, November 30, 2007 7:43 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Height Problems of List component using
> itemrenderer with different row height
>
>  Hi,
>
> My problem is following:
>
> I have a List component which is filled with a list of properties and I
> want to know how much space it needs to display all of its items.
>
> This only works with single label renderer or renderer with a fixed
> height, but not with renderer with different row height with Text component.
>
>
> I really have big problems with all releases of the flex 3 framework so
> far regarding this issue.
>
> I´ve uploaded a flex builder project for testing.
>
> www.cubeworx.net/ripcurlx/ResizeBug.zip
>
> This text wrap size problem is critical for my application, so I hope
> there is at least a workaround for this issue.
>
> thx for any hints in advance
>
> br,
>
> Christoph
>  
>


RE: [flexcoders] Height Problems of List component using itemrenderer with different row height

2007-11-30 Thread Alex Harui
does it work with the default renderers with wordWrap=true and 
variableRowHeight=true?



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Christoph Atteneder
Sent: Friday, November 30, 2007 7:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Height Problems of List component using itemrenderer with 
different row height



Hi,

My problem is following:

I have a List component which is filled with a list of properties and I want to 
know how much space it needs to display all of its items.

This only works with single label renderer or renderer with a fixed height, but 
not with renderer with different row height with Text component. 

I really have big problems with all releases of the flex 3 framework so far 
regarding this issue.

I´ve uploaded a flex builder project for testing.

www.cubeworx.net/ripcurlx/ResizeBug.zip 
 

This text wrap size problem is critical for my application, so I hope there is 
at least a workaround for this issue. 

thx for any hints in advance

br,

Christoph 

 


[flexcoders] Re: Question

2007-11-30 Thread vixiom
doh... employers [EMAIL PROTECTED] searchcoders.com

--- In flexcoders@yahoogroups.com, "vixiom" <[EMAIL PROTECTED]> wrote:
>
> There's a flex job's group here
> http://tech.groups.yahoo.com/group/flexjobs/
> 
> You might also want to send an email to [EMAIL PROTECTED]
> (just write up the job description and email it)
> 
> --- In flexcoders@yahoogroups.com, "essuark"  wrote:
> >
> > Am I allowed to post jobs on this list or is there a list just for
Flex 
> > Jobs?
> > 
> > thanks
> > Ralph
> >
>




[flexcoders] Re: Question

2007-11-30 Thread vixiom
There's a flex job's group here
http://tech.groups.yahoo.com/group/flexjobs/

You might also want to send an email to [EMAIL PROTECTED]
(just write up the job description and email it)

--- In flexcoders@yahoogroups.com, "essuark" <[EMAIL PROTECTED]> wrote:
>
> Am I allowed to post jobs on this list or is there a list just for Flex 
> Jobs?
> 
> thanks
> Ralph
>




[flexcoders] Bind a property of an ActionScript generated component

2007-11-30 Thread vixiom
Is it possible to bind an ActionScript generated component's properties?

In the example below 'sq1' will move when the browser is resized but
'sq2' won't.


http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="onCreationComplete()">










[flexcoders] Question

2007-11-30 Thread essuark
Am I allowed to post jobs on this list or is there a list just for Flex 
Jobs?

thanks
Ralph



Re: [flexcoders] Subversion clients

2007-11-30 Thread Darron Schall
Gordon Smith 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.
>  
> Gordon Smith
> Adobe Flex SDK Team
>  
>  

Having just switched to a mac recently myself (and still getting used to 
it), it's frustrating that there isn't a TortoiseSVN-like client that 
integrates well with Finder.

The best I've found so far seems to be ZigVersion.  It's standalone, but 
it does a good job in a task-oriented workflow.  Rather than just being 
a GUI for the command line svn client, it has options based on what 
tasks you're trying to accomplish which makes it pretty easy to use.

On Linux I use kdesvn.

Typically, I prefer to use Subclipse, but it's always helpful to have a 
"full blown" svn gui client in the event that Subclipse gets fubar'd.

-d


Re: [flexcoders] Re: Actionscript: Copy an Object or Dictionary

2007-11-30 Thread Douglas Knudsen
take a look at
http://www.darronschall.com/weblog/archives/000271.cfm

You can use ObjectUtil.copy() and retain types

DK

On Nov 30, 2007 10:30 AM, polestar11 <[EMAIL PROTECTED]> wrote:

>   --- In flexcoders@yahoogroups.com , "
> ben.clinkinbeard"
>
> <[EMAIL PROTECTED]> wrote:
> >
> > > it only copies over object values, not exact values.
> >
> > Huh?
> >
> >
>
> @Tom
> How would one bind the keys to the new dictionary children?
> var newDict:Dictionary = new Dictionary();
> var item:Class
> for each(item in myDictionary) {
> newDict[?] = item;
> }
>
> @ben
> If I have an object containing types (in my case a collection of Class
> types referenced by a key string). Using the ObjectProxy.copy(), the
> new object will contain child objects with the same keys as the
> original, but the child types are Object types, not Class types.
>
>  
>



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


[flexcoders] Height Problems of List component using itemrenderer with different row height

2007-11-30 Thread Christoph Atteneder
 Hi,

My problem is following:

I have a List component which is filled with a list of properties and I want
to know how much space it needs to display all of its items.

This only works with single label renderer or renderer with a fixed height,
but not with renderer with different row height with Text component.

I really have big problems with all releases of the flex 3 framework so far
regarding this issue.

I´ve uploaded a flex builder project for testing.

www.cubeworx.net/ripcurlx/ResizeBug.zip

This text wrap size problem is critical for my application, so I hope there
is at least a workaround for this issue.

thx for any hints in advance

br,

Christoph


[flexcoders] Rails routes and Flex module, relative path?

2007-11-30 Thread nxzone
Hi, 

I am loading a SWF (main.swf). This swf load other SWF(module.swf). 
The module.swf is not found because he look in the wrong folder. 
Main.swf and Module.swf are in the root folder. 


The url = www.test.com/t34/password 


Main.swf is showed and work but when main.swf load module.swf. I get a 
error because main.swf try to load /t34/module.swf! How can i load the 
file in Flex with the relative path of the main.swf... 


My route.rb 
map.connect '/:id/:openPassword', :controller => '/home',:action => 
'view',:requirements => {:id => /[t|s]\d+/} 


Thank you. 




RE: [flexcoders] Subversion clients

2007-11-30 Thread Samuel R. Neff

Yeah, VisualSVN really is nice.  It's commercial but works really well and
they have amazing support.  For example, VS2008 was just released and there
were some reports of problems with VisualSVN not working with VS2008 (not
too surprising) and they fixed all the problems and put out a new release in
less than a week.

They also offer VisualSVN Server which is a wrapper of SVN server for
Windows and gives you a very nice windows package (installer, mmc snap-in,
web interface) and in future will provide things like active directory
integration.  VisualSVN Server is actually free.

HTH,

Sam

---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sam Shrefler
Sent: Friday, November 30, 2007 9:42 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Subversion clients

Sam:

Thanks for the explanation.  Even though Gordon is looking for Mac,
you gave me a hint on VisualSVN.  I've never used it.  I've always
just left VS to go into Tortoise, but I'll have to give it a try.

Thanks!

Sam



[flexcoders] Re: Actionscript: Copy an Object or Dictionary

2007-11-30 Thread polestar11
--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> > it only copies over object values, not exact values.
> 
> Huh?
> 
> 

@Tom
How would one bind the keys to the new dictionary children?
var newDict:Dictionary = new Dictionary();
var item:Class
for each(item in myDictionary) {
newDict[?] = item;
}

@ben
If I have an object containing types (in my case a collection of Class
types referenced by a key string). Using the ObjectProxy.copy(), the
new object will contain child objects with the same keys as the
original, but the child types are Object types, not Class types.





[flexcoders] truly borderless chart (no gaps between chart inside and edge)

2007-11-30 Thread Pan Troglodytes
Well, I fought for a while getting a chart that didn't have ANY gaps on the
sides.  It was tricky, but I thought I'd share my solution for posterity.


http://www.adobe.com/2006/mxml";
backgroundColor="green"
  borderColor="blue" borderStyle="solid" borderThickness="5"
  paddingBottom="0" paddingLeft="0" paddingRight="0"  paddingTop="0"
  >
  

  



  



  


  



  

  

  



  

  


  

  



  

  



-- 
Jason


[flexcoders] Project works then doesn't

2007-11-30 Thread Steve Hueners
I'm working on a project that initially compiles and runs correctly. I
change a mx:Label control to a mx:TextArea - no other property changes
at all:




becomes:





No pre-compile problems listed but running the project gets:

TypeError: Error #1006: getInstance is not a function.
at 
mx.core::Singleton$/getInstance()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\core\Singleton.as:65]
at mx.core::UIComponent$cinit()
at 
global$init()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:817]
at global$init()[C:\Documents and Settings\ME\My Documents\Flex
Builder 3\Campus\src\MenuLister.mxml:4]
<<
<<

Even strangerchanging the control back to a Label does _not clear
the error. Meaning i'm back to code that 20 seconds ago worked and now
doesn't.

The first time this happened I set in some breakpoints in a few
different files looking to see where the muckup occurred...didn't find
anything - but while looking the code started working again.

The second time I can only punt to you guys.


[flexcoders] Re: Subversion clients

2007-11-30 Thread Stephen Allison

>> 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] Subversion clients

2007-11-30 Thread Sam Shrefler
Sam:

Thanks for the explanation.  Even though Gordon is looking for Mac,
you gave me a hint on VisualSVN.  I've never used it.  I've always
just left VS to go into Tortoise, but I'll have to give it a try.

Thanks!

Sam

On Nov 30, 2007 9:38 AM, Samuel R. Neff <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Not Mac, but hope this helps...
>
> For eclipse we use Subclipse.  It's ok--get's job done--but a lot of times
> when we want to use more advanced features of Subversion we feel it's easier
> to open Windows Explorer and use TortoiseSVN.
>
> In Visual Studio we use VisualSVN which is a TortoiseSVN wrapper.  It's very
> nice except for the icons.  Integrates into Visual Studio very nicely and
> has full access to SVN features in clean interface and nice presentation
> (largely due to piggy backing on TortoiseSVN).
>
> In the past we've used PushOK's SVN SCC provider for Visual Studio
> integration.  This is an actual SCC API implementation so would work with
> any product that follows the MS SCC API standards (all MS ide product and
> many third party like Borland and Sapien).  This was a little buggy, always
> gave the impression of being poorly written, and since it followed the SCC
> API it was the Visual Source Safe model and didn't map to SVN very well (VSS
> uses checkin/checkout model whereas SVN/CVS is change/merge).  At the time
> (prior to VisualSVN), PushOK SVN SCC was best option.
>
> One of our developers used a Mac for a while and was frustrated with lack of
> a good comparable GUI to TortoiseSVN.  He eventually switched back to
> Windows (for a variety of reasons).  He just got a new Mac though, so he may
> be revisiting that decision.  ;)
>
> Sam
>
>
> ---
> We're Hiring! Seeking a passionate developer to join our team building Flex
> based products. Position is in the Washington D.C. metro area. If interested
> contact [EMAIL PROTECTED]
>
>
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Gordon Smith
> Sent: Friday, November 30, 2007 1:46 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Subversion clients
>
>
> 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.
>
> Gordon Smith
> Adobe Flex SDK Team
>
> 


RE: [flexcoders] Subversion clients

2007-11-30 Thread Samuel R. Neff
Not Mac, but hope this helps...
 
For eclipse we use Subclipse.  It's ok--get's job done--but a lot of times
when we want to use more advanced features of Subversion we feel it's easier
to open Windows Explorer and use TortoiseSVN.  
 
In Visual Studio we use VisualSVN which is a TortoiseSVN wrapper.  It's very
nice except for the icons.  Integrates into Visual Studio very nicely and
has full access to SVN features in clean interface and nice presentation
(largely due to piggy backing on TortoiseSVN).  
 
In the past we've used PushOK's SVN SCC provider for Visual Studio
integration.  This is an actual SCC API implementation so would work with
any product that follows the MS SCC API standards (all MS ide product and
many third party like Borland and Sapien).  This was a little buggy, always
gave the impression of being poorly written, and since it followed the SCC
API it was the Visual Source Safe model and didn't map to SVN very well (VSS
uses checkin/checkout model whereas SVN/CVS is change/merge).  At the time
(prior to VisualSVN), PushOK SVN SCC was best option.
 
One of our developers used a Mac for a while and was frustrated with lack of
a good comparable GUI to TortoiseSVN.  He eventually switched back to
Windows (for a variety of reasons).  He just got a new Mac though, so he may
be revisiting that decision.  ;)
 
Sam
 

---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
  

 


  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Friday, November 30, 2007 1:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Subversion clients


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.
 
Gordon Smith
Adobe Flex SDK Team


RE: [flexcoders] Re: Symmetric Key Encryption in Flex Client C# WebServices

2007-11-30 Thread Samuel R. Neff

I don't know what data you're trying to encrypt/decrypt but when we tried
using SHAxxx hashing in both AS3 and C# we ended up with problems any time
the source data had characters beyond ascii 127 character set.  The
encryption algorithms in .NET deal with bytes and even though we had tried
using the same encodings to convert strings to bytes in .NET / AS3 we
couldn't not get the hashing algorithms to do the same thing.

Perhaps you're problems are related...

HTH,

Sam 


---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of peeyushtuli
Sent: Friday, November 30, 2007 12:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Symmetric Key Encryption in Flex Client C#
WebServices


Thank you all for the responses, but I have already tried this one.
C# does not have an official implementation for AES, so I had to 
ignore that one. I tried Triple DES , but it was not consistent if 
you try both sides, flex and C#, I guess there is a difference in 
implementations. I would need to do some substantial test cases, 
before reporting that to the author. If aybody with a real time 
implementation experience for this case can guide me, I would be 
really grateful.

Thanks,
Peeyush Tuli
MetaDesign Solutions



[flexcoders] Re: Actionscript: Copy an Object or Dictionary

2007-11-30 Thread ben.clinkinbeard
> it only copies over object values, not exact values.

Huh?


--- In flexcoders@yahoogroups.com, "polestar11" <[EMAIL PROTECTED]> wrote:
>
> Hi there
> 
> Does anyone know how to iterate through an Object / Dictionary & copy
> child items.
> 
> I've tried ObjectUtil, but it only copies over object values, not
> exact values.
> 
> cheers
> tracy
>




Re: [flexcoders] Actionscript: Copy an Object or Dictionary

2007-11-30 Thread Tom Chiverton
On Friday 30 Nov 2007, polestar11 wrote:
> Does anyone know how to iterate through an Object / Dictionary & copy
> child items.

for each ?

-- 
Tom Chiverton
Helping to advantageously enable corporate markets
on: http://thefalken.livejournal.com



Please note, as of 10th December 2007 the registered office address of 
Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  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 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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Subversion clients

2007-11-30 Thread Paul Decoursey
I've used subclise and I really don't care for it.  I have not tried  
subversive.  I've reverted to just using the command line on the Mac.   
i used to use SVNX, which isn't that bad, in fact I might even  
recommend it.


Paul

On Nov 30, 2007, at 7:17 AM, Mike Krotscheck wrote:

We currently use the subclipse plugin, and it’s been rock-solid for  
us, even if it’s a little slow at times. Nevertheless if subversive  
really has fewer bugs it certainly warrants exploration.


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.


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]  
On Behalf Of Jens Halm

Sent: Friday, November 30, 2007 3:07 AM
To: Gordon Smith
Subject: Re: [flexcoders] Subversion clients


> 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.

I can't say anything about the Mac, but I always use the Subversive
Plugin for Eclipse:

http://www.polarion.org/index.php?page=overview&project=subversive

It seems to be less buggy than the alternative Subclipse plugin. Also
it became an official Eclipse project, so in the future it might be
part of the core platform like the CVS plugin.

I'm using Subversive with HTTP and with svn+ssh and did not have any
issues yet.

Jens Halm
www.spicefactory.org






Re: [flexcoders] Eliminating scrollbars

2007-11-30 Thread Paul Andrews
It's my fault - my post wasn't too explicit. I wasn't particularly thinking of 
vertical scrollbars. Let's say you had a vertical scrollbar and a width of 
100%, this now means you also get a horizontal scrollbar because you can't get 
the 100% for the component (because of the scrollbar), so a horizontal bar will 
appear. I really don't want a horizontal bar and depending on content and 
context I might not have a vertical scrollbar either.

So really it's more a case of when you have one scrollbar and don't want two of 
them!

This is the scenario I had in mind:


http://www.adobe.com/2006/mxml"; layout="absolute"
 height="300">

 
 



If you make the box too high, the vertical scrollbar appears and also a 
horizontal scrollbar. Of course, when the height is small enough there is no 
vertical scrollbar.
I'd like the box width to track the available space so that no horizontal bar 
appears. The lazy approach with a magic number less than 100% does do the job, 
but it would be nice to see how others approach this. If I deliberately 
suppress the horizontal scroll policy, the vertical scrollbar will be over the 
box, obscuring part of it.

Paul
  - Original Message - 
  From: Giles Roadnight 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, November 30, 2007 11:09 AM
  Subject: Re: [flexcoders] Eliminating scrollbars


  verticalScrollPolicy="off" ?


  On Nov 30, 2007 11:03 AM, Paul Andrews <[EMAIL PROTECTED]> wrote:

I've noticed that in order to eliminate scrollbars on layouts that are 
percentage based, I'm often choosing magic numbers to avoid the appearance 
of scrollbars in the layout.

Whats the perceived best practice to avoid the generation of scrollbars in 
layouts?

Paul 






  -- 
  Giles Roadnight
  http://giles.roadnight.name  

  1   2   >