[flexcoders] Flex Apps and Google/Search Engines

2006-05-12 Thread Simon Fifield





Hi 
All,

Does anyone have any 
information or links about how successful Google and other search engine bots 
are at crawling Flex Apps?

Some of the 
possibilities for creating online shopping experiences are fantastic, but it has 
occurred to me that this area of search engine ranking may stumble Flex's 
adoption in the ecommerce area.

Has Adobe considered 
this or do you have any thoughts on this topic that you would like to 
share?

Regards,
Simon 
Fifield





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 1.5 Cairngorm and Data Binding

2006-05-11 Thread Simon Fifield






For a member of the 
Cairngorm team or anyone who is a Cairngorm expert:

Is it good to use 
Data Binding with Cairngorm or should it be avoided?

Can Data Binding be 
"overused"?


Regards,
Simon





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex 1.5 Cairngorm and Data Binding

2006-05-11 Thread Simon Fifield





Would you say that it is one of the better/key features of 
the Flex framework?

Simon


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steven 
WebsterSent: 11 May 2006 11:51To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 1.5 
Cairngorm and Data Binding

Simon,

Data-binding is good. Very good. We advocate it 
hugely, and the ModelLocator pattern which we added to Cairngorm was our way of 
encouraging people to leverage data-binding more than we were seeing they were, 
during consulting engagements. Have bindings. Lots of them, between 
the Model (ModelLocator) and the view (your MXML components). Let 
data-binding do the hard work of model-view notifications.

Data-binding is simply a short-hand notation for setting up 
observers/listeners; if you didn't use data-binding, you'd have to do this 
heavy-lifting yourself.

Perhaps data-binding can be abused (used the wrong way - 
though I can't offer any examples), but overused ? I don't think 
so.

Best wishes,

Steven




  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6108
m: +44 (0)7917 428 947[EMAIL PROTECTED] 
  

Of Simon 
FifieldSent: 11 May 2006 11:14To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 1.5 Cairngorm 
and Data Binding

  
  
  For a member of 
  the Cairngorm team or anyone who is a Cairngorm expert:
  
  Is it good to use 
  Data Binding with Cairngorm or should it be avoided?
  
  Can Data Binding 
  be "overused"?
  
  
  Regards,
  Simon





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Good Code Stops Working For Me Too

2006-05-09 Thread Simon Fifield





Hi Matt,

No they did not.

My Client's maintenance contract has expired and he has 
tried to get it renewed and was told he'd be called back and never 
was.

I must say he's pretty disappointed about the amount of 
money he's paid out for Flex and what he's got in return.

I've now wasted what amounts to a solid week just trying to 
get good code to work with a system that should just work.

I think I'm saying I'm disappointed as well. I want to say 
that Flex is a fantastic product and it is except my clients service and 
exceptfor this bug which I just cannot find a workaround 
for.

I've checked that the code does not have any binding 
warnings - it does not. I've checked for the "dreaded NoChange bug" and it does 
have this.

If Adobe are not going to fix this and release an update 
for Flex 1.5 (and I think they should) they should at least spend some time 
working out a workaround that WILL WORK.

I'm willing to supply my complete application source code 
to Adobe if that would help.

Is there anything you can do to help or get any of the 
other Adobe guys to help?
Or can anyone on Flexcoders help?

Libby has offered some help but I could not get any of her 
suggestions to resolve the issue. I've also tried the "XWrapper" solution but 
this cannot work in my case.

Regards,
Simon



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: 09 May 2006 07:42To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Good Code Stops 
Working For Me Too


Did they contact 
you? Someone said they would I think.

I dont think we have 
an existing fix for it though.

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Simon 
FifieldSent: Monday, May 08, 
2006 5:37 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Good Code Stops 
Working For Me Too

Have support made any 
response to this issue at all?

I still have no 
solution.

Simon




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matt 
ChotinSent: 16 April 2006 
23:35To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Good Code Stops 
Working For Me Too
Ive forwarded this on 
to our support team. Its possible we have a hotfix for it already (or 
theyll know of a workaround or something).

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Simon 
FifieldSent: Saturday, April 
15, 2006 4:40 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Good Code Stops 
Working For Me Too


I have some MXML TitleWindow 
components that have form field that are bound totheir respective 
VO's.



These were working fine but when I 
started implementing validation with the Validators components Binding stopped 
working in these TitleWindow components.



I have spent several days trying to 
figure out what has gone wrong but I am certain that the code is 
good.



So I decided to duplicate the code, 
so I created a new blank file and copied and paste the code into it. I'm using 
cairngorm and it has a ViewHelper so I did the same with this. The code for the 
new files is identical with the exception of the name changes for the MXML file 
and the ViewHelper file.



Now when I run the app, the 
duplicated files work correctly and display the bound data. But the original 
files are still not binding even though the new Component is running correctly 
in the same app at the same time!



I have read a post by Libby that 
mentioned good code stops working and followed the response by Matt Chotin, but 
am still unable to fix the problem (if its the same!).



To Adobe/MM:

If this is a bug in Flex 1.5, do 
youintend to release an update for it?



Simon







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 1.5 app hangs when loading

2006-04-26 Thread Simon Fifield





I have a flex app 
that has been loading perfectly well on my localhost dev machine 
(WinXP/Apache2/Tomcat5 - http://localhost/flexapp/index.mxml). 
But when I upload it to the staging server(RHEL3/Apache2/Tomcat5 - http://my.domain.com/index.mxml) it 
will not load, its just hang at 3% to 7%.

I've found people on 
flexcoders having the same problem but no-one has posted their 
solution!

It can't be a 
compilation problem because its obviously built the swf and is attempting to 
load it.
It can't be anything 
to do with Services because it hasn't even got to that stage 
yet.
It can't be the browser because I'm using the same 
browser/flash playerto request both the dev and staged 
apps.

The only difference 
I can see is the domain name and tomcat host/context setup - but I think that 
this must be okay otherwise it would respond with an error (I 
think).

I can't find any 
solutions to this problem - not on Flexcoders, Google 
nowhere!

Anyone who knows why 
this is happening - please, please, please help me!

Also, but this is 
not important, my staging server takes ages to compile the app even though it is 
a monster compared to my local dev server - any ideas?

Regards,
(desperately) 
Simon





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex1.5 Cairngorm ModelLocator and VO's

2006-04-25 Thread Simon Fifield



Hi,

I've made some tweaks to the cairngorm framework for my own purposes, but I
would like to ask your opinion of a feature I would like to add.

Scenario:
User logs in and the Value Objects are all filed with data using Java
RemoteObjects. User does lots of stuff then wants to log out.

Now I would like to clear the VO's of their data without having to destroy
and re-create them.

One idea I have to do this is to extend all of my VO's from a base VO class
which has a reset() method. This method will clear all the property data
in its instance. I would also add a reset() method to the ModelLocator which
will iterate through all the registered VO's and call their reset() method.

Has anyone got any opinions on this? Is there a better way? Should I even
bother?


Simon Fifield
Senior Developer
Mango Solutions








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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Simon Fifield



Are/have you used a validator with a bound field anywhere in this file?

If so you may be experiencing the same problem as I did. I wasted days
trying to figure out why my Binding had suddenly broken down on several
forms. I was using about 6 or 7 validators per form and the fields in the
forms were using binding which should be no problem. However the binding
just stopped working and I tried for days to get it to work again. In the
end I got it working by commenting out nearly all of the mxml content and
when it started working again I uncommented it and it worked, but then guess
what - it stopped working again.

Libby kindly gave me some pointers and mentioned that you must use the
listener attribute of the Validator tag to explicitly target the field
that you want to validate.

I'm not certain if her solution works but give it a go.

I found a workaround by using just 1 Validator for the entire form and using
a custom validation function.

 mx:Validator field=checkContact
validate=contactVH.validateForm(event.validator, event.value) /

Then your validate function could be:

 function validateForm( validator, value ) : Void { 

  if ( value.firstname== || value.firstname==undefined ) {
   validator.validationError(firstnameMissing, You
must enter the firstname, firstname);
  }

  if ( value.lastname== || value.lastname==undefined ) {
   validator.validationError(lastnameMissing, You
must enter the lastname, lastname);
  }

  EmailValidator.validateEmail( validator, value.email, null,
email ); 
 
  if ( value.telephone== || value.telephone==undefined ) {
   validator.validationError(telephoneMissing, You
must enter the landline telephone number, telephone);
  }

  if ( value.addrstreet== || value.addrstreet==undefined ) {
   validator.validationError(addrstreetMissing, You
must enter the street address, addrstreet);
  }

  if ( value.addrcity== || value.addrcity==undefined ) {
   validator.validationError(addrcityMissing, You
must enter the city address, addrcity);
  }

  if ( value.addrpostcode== || value.addrpostcode==undefined
) {
   validator.validationError(addrpostcodeMissing,
You must enter the post code, addrpostcode);
  }

 }

Its not at all efficient because I validate the form on every change of
every field so there is lots of testing going on - but that's because I need
it to highlight errors as they are being typed or being resolved

This seems to work for me.

If you are not experiencing the Validator/Binding problem - ignore all of
this!

Regards,
Simon




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Suzy Lawson
Sent: 25 April 2006 14:17
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput
help please

Have you tried debugging? set a breakpoint in your onResult of the Command
class and where you explictly set the selectedUser in the model locator.
Once that line has passed, you should stop again then check your text box to
see if it has the value. I find I get a lot further debugging then using
trace statements. Then repeat the process with the second hit when the
behavior works OK. This should hopefully identify your issue.

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

 Thanks Suzy but my problem isn't with populating a combobox...my 
 combobox of users populates just fine, when I select a user from the 
 list and the user is fetched, the user object whose fields are
bound to
 various textinput fields in my form are not shown...it's only when I 
 'touch' the file and refresh my browser, is the user information
shown
 correctly in the textinput components of my form...I can't grasp why 
 this would be happening...
 
 robert l. brueckmann
 vice president
 merlin securities
 595 madison avenue
 new york, ny 10022
 p: 212.822.4821
 f: 212.822.4820
 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Suzy Lawson
 Sent: Monday, April 24, 2006 7:32 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to 
 TextInput help please
 
 Roger,
 I have faced the same problem. The reason is that when you deploy
it
 the server for the first time, nothing is compiled. So in your
initial
 request, your application returns the users before it has compiled
and
 created the component...so your call to set the combo box with user 
 silenty fails. When you hit refresh, since everything is already 
 compiled, it can set the combobox with the data in time.
 
 Put your logic to fetch the XML user in the creationComplete method
of
 your mx:Combobox...or somewhere where you know it is created. 
 
 hope this helps. cheers.
 
 --- In flexcoders@yahoogroups.com, Robert Brueckmann
 rbrueckmann@ wrote:
 
  I tried searching the archives and couldn't find anything
relevant to
  what we're doing here, so I'm hoping someone can explain
something:
  
  
  
  
  
  1. User logs in
  
  

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Simon Fifield



Hi Robert,

Although on the surface of things our problems were not the same, I'll bet
it's the same thing somewhere under the hood of the Flex 1.5 compiler that
is causing these strange binding problems to occur.

I keep reading of more and more people that are encountering this
binding/compilation bug.

Have you tried changing your flex-config.xml settings to not keep the
compiled mxml components:

 !-- cache compiled custom components as swo files --
 cache-swosfalse/cache-swos

And maybe try some of the other cache/compiling settings to see if this
resolves your problem. Compiling may be a little slower but it may be a
better workaround than you currently have.


With the growing number of people having these mysterious problems I
wonder if Adobe are going to release an update to resolve them.


Regards,
Simon



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: 25 April 2006 18:19
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to
TextInput help please

Thanks for taking the time for the detailed reply Simon! I WISH it was
validator related. In one instance, I am using a validator but the first
time I saw this behavior was in a simple MXML file that had 3 lists that get
populated with 3 separate message types and directly next to the lists is a
title label and a text area...when the user clicks on a message in any of
the 3 lists, the title and text area should be updated with the selected
message's title and body content.

The title label and body text area have their text attributes bound to
{ModelLocator.selectedMessage.title} and {ModelLocator.selectedMessage.body}
respectively and the change listener on all 3 of the lists is simple
ModelLocator.selectedMessage = event.target.selectedItem;

This NEVER works upon first compilation after a fresh server restart.
If I 'touch' the file that contains this message reader component and
refresh my browser...magically, the title and body start appearing when I
select a message in the lists.

This behavior escapes me and is obviously not conducive to a production
release because I can't exactly go in and 'touch' all necessary files for
this behavior to be fixed...this should work the first time.

I even have a test button on the message reader page that, upon first time
server start and app compilation, when I click on a message and the
ModelLocator.selectedMessage object have been set but the title and body do
not appear, I can click on this button and in an alert body display the
title and the body of the selectedMessage object...I am confirming the
selectedMessage object is getting set with the proper information, the damn
TextInput components do not want to show it to me though...if I open up
FlexBuilder, open up my MessagerReader.mxml file, hit the spacebar,
backspace and then save it, refresh my browser...magically it all works
properly. It's that initial load that is completely baffling me.

I've tried debugging and because my components are being created as children
on the fly it doesn't see the breakpoints I'm setting up. I'm at a loss. 

My work around, and this is the kicker, if I take the two fields that
currently, in the same component, reside next to the 3 lists, and wrap them
up into their own MXML file component and add a COMPLETELY EMPTY

public function set message(m:Message){}

method call in this new wrapped up component and then in the original
message reader component, do this:

comp:MessageReaderFields width=100% height=100%
message={ModelLocator.selectedMessage} /

And now, when I select a message, first compilation, 14th compilation, 1st
server restart, 10th server restart, the message title and body field
binding to the ModelLocator.selectedMessage object in my new embedded
component work as they should. Makes sense, right? Nope. Not even a
little bit.

Whatever...looks like I have a work-around for the time being...

robert l. brueckmann
vice president
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Simon Fifield
Sent: Tuesday, April 25, 2006 11:33 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to
TextInput help please

Are/have you used a validator with a bound field anywhere in this file?

If so you may be experiencing the same problem as I did. I wasted days
trying to figure out why my Binding had suddenly broken down on several
forms. I was using about 6 or 7 validators per form and the fields in the
forms were using binding which should be no problem. However the binding
just stopped working and I tried for days to get it to work again. In the
end I got it working by commenting out nearly all of the mxml content and
when it started working again I uncommented it and it worked, but then guess
what - it stopped

RE: [flexcoders] Flex1.5 Cairngorm ModelLocator and VO's

2006-04-25 Thread Simon Fifield



Haha,

No need for me to add reset() methods to all my VO's because I've just added
a reInitialise() method to the ModelLocator that reintialises all the
Models.

Now I need to do similar thing for my ViewHelpers to make the view go back
to their normal state when a user logs in.


Simon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Simon Fifield
Sent: 25 April 2006 16:13
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex1.5 Cairngorm ModelLocator and VO's

Hi,

I've made some tweaks to the cairngorm framework for my own purposes, but I
would like to ask your opinion of a feature I would like to add.

Scenario:
User logs in and the Value Objects are all filed with data using Java
RemoteObjects. User does lots of stuff then wants to log out.

Now I would like to clear the VO's of their data without having to destroy
and re-create them.

One idea I have to do this is to extend all of my VO's from a base VO class
which has a reset() method. This method will clear all the property data
in its instance. I would also add a reset() method to the ModelLocator which
will iterate through all the registered VO's and call their reset() method.

Has anyone got any opinions on this? Is there a better way? Should I even
bother?


Simon Fifield
Senior Developer
Mango Solutions




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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Eclipse Plugin for Flex 1.5?

2006-04-25 Thread Simon Fifield



I use ASDT for the AS code, WTP/WST for editing the MXML files (using the
mxml.xsd for the schema) and I use the mxml c as the project compiler from
Eclipse.

Its great being able to finally do all of my Java/JSP/AS/MXML/XML/PHP/HTML
development in one IDE. Eclipse is allowing me to dump several other tools
that I can now do with Eclipse.

Its not quite as sleek as FB2 (of course) but it works fairly well.

Darron's blog has the details of how to do it - nice job Darron!

Simon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: 26 April 2006 00:42
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Eclipse Plugin for Flex 1.5?

Try Flashout for your GUI:
http://www.osflash.org/flashout

ASDT for your AS:
http://www.osflash.org/asdt

MTASC for your compiler:
http://www.osflash.org/mtasc

You can use Oxygen for XML I think.

Darron's got more info here:
http://www.darronschall.com/weblog/archives/000182.cfm


- Original Message -
From: Dmitry Miller [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 25, 2006 7:20 PM
Subject: [flexcoders] Eclipse Plugin for Flex 1.5?


Gentlemen, 

Forgive my possibly naive question. But is there an Eclipse plugin for
Flex 1.5 and AS 2? And if not, would I be able to use the plugin for
Flex 2.0 for development in Flex 1.5 and AS2?

Cheers,

Dmitry





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Good Code Stops Working For Me Too

2006-04-15 Thread Simon Fifield





I have some MXML 
TitleWindow components that have form field that are bound totheir 
respective VO's.

These were working 
fine but when I started implementing validation with the Validators components 
Binding stopped working in these TitleWindow components.

I have spent several 
days trying to figure out what has gone wrong but I am certain that the code is 
good.

So I decided to 
duplicate the code, so I created a new blank file and copied and paste the code 
into it. I'm using cairngorm and it has a ViewHelper so I did the same with 
this. The code for the new files is identical with the exception of the name 
changes for the MXML file and the ViewHelper file.

Now when I run the 
app, the duplicated files work correctly and display the bound data. But the 
original files are still not binding even though the new Component is running 
correctly in the same app at the same time!

I have read a post 
by Libby that mentioned good code stops working and followed the response by 
Matt Chotin, but am still unable to fix the problem (if its the 
same!).

To 
Adobe/MM:
If this is a bug in 
Flex 1.5, do youintend to release an update for it?

Simon





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] FW: Validator and Binding problem

2006-04-13 Thread Simon Fifield






Hi,

I have a form with 
fields whose values are bound to a ValueObject. The VO is set to a List's 
selectedItem when this changes.

This all works fine 
until I add Validators for the form fields. And to make matters worse the 
problem seems to occasionally go away for no apparent 
reason.

I have tried 
deleting all the cached .swo's in the generated folder but this does not seem to 
have any permanent effect. I have tried disabling generation of the .swo's but 
all this does not have a permanent effect.

When I had Flex (I'm 
using 1.5 by the way) configured to keep the generated .swo's the problem was 
unpredictable but I was generally able to make the Binding work by commenting 
out the validators. But If I configure it to not keep the generated swo's 
commenting out the binding stops working with or without the 
Validators.

This problem is a 
real hassle - has anyone any idea of what is going on?

I've read about some 
weird compiling problem where unpredictable problems can arise over a period of 
time, but I'm not sure if this is relevant in my case?

Thanks for anyone's 
input.

Simon





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Cairngorm ModelLocator

2005-10-05 Thread Simon Fifield
HI

This brings up an interesting problem I had recently with the
ModelLocator.initialise() method. I am trying to use Binding to its full
use, but I had a situation where I was binding to a ModelLocator value
before it was being initialised and my view was screwed - the ModelLocator's
initialise call in the Applications initialize event handler - which gets
called after all the other initialize handlers.

So I just added a static variable initialised:Boolean and now I can
initialise the ModelLocator anywhere in the app either in a view or a
ViewHelper.

Do you guys think that this is a good, bad or indifferent approach?

Regards,
Simon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Steven Webster
Sent: 04 October 2005 21:01
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Cairngorm ModelLocator

Hey,

We would tend to have global model objects all hung off the one
ModelLocator.  For instance, we might have a class Assets.mxml which itself
contains 100+ attributes for embedded images, but we'll have one attribute
in ModelLocator called assets.

However, if you wanted to have multiple ModelLocators, I'd recommend a
factory strategy similar to the old cairngorm ViewLocator or ServiceLocator,
where the ModelLocator becomes a factory rather than a singleton, and you do
things like:

ModelLocator.getModel(assets).bannerImage

I've a funny feeling we considered this in the Cairngorm Committee, and
there were issues with data-binding that chose us to not go for this in the
general cairngorm package.

But I could be talking rubbish.

Steven

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of fowleryj
Sent: 04 October 2005 20:22
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm ModelLocator

Is the ModelLocator intended to be the *only* global repository for
variables to which you'll need to bind throughout your application? My
ModelLocator is getting huge, and I would like to split it into a few
ModelLocators (with different names, obviously). Has anyone done this?
Are there any caveats of which I should be aware? How have others dealt with
their ModelLocator's large size?




 Yahoo! Groups Sponsor ~-- Get
Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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



 



 Yahoo! Groups Sponsor ~-- Most
low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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



 





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* 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] How to print PDF file when click on a button

2005-10-02 Thread Simon Fifield





Try looking here for an example of using iFrame in your 
Flex app:

http://coenraets.com/viewarticle.jsp?articleId=95

run the example and you could put your PDF where the web 
page is and then use _javascript_ to print the PDF (I'm guessing the last 
bit!)

Simon


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 01 October 2005 01:57To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to print PDF 
file when click on a button

That would work or use the iframe approach embedded inside 
of your application.


Carson

  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com 
 Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 
89Mobile: 1.703.489.6466   



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sandip 
PatilSent: Friday, September 30, 2005 5:20 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to print PDF 
file when click on a button

Hi Carson,

You mean to say to print my PDF I need to open it in browser like URL

Http://localhost:8080/Mydir/Pdf_filname

with this code

mx:Button label="Print File" click="getUrl(xyz.link, 
'_blank')" /

where xyz is my PDF file name ..

Sandip.Carson Hager 
[EMAIL PROTECTED] wrote:
Flex 
  does not have any native PDF rendering but I'd sure like to seethat in the 
  future with the whole Adobe merger. Your best bet is toload the PDF 
  in an iframe and let the browser launch acrobat. The userwill likely have 
  to click on the print button that acrobat provides. Idon't believe you can 
  script to that aspect of the acrobat container butI could be 
  wrong.Carson 
  Carson 
  HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
  [EMAIL PROTECTED]Office: 866-CYNERGY ext. 
  89Mobile: 1.703.489.6466-Original 
  Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] OnBehalf Of sandip_patil01Sent: 
  Friday, September 30, 2005 4:04 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] How to print PDF file when 
  click on a buttonHi All,I want to print PDF file.Which I 
  stored in database.Now I want to printthat PDF file when I click on a 
  button.Here What I want is,Let say I have a file "ABC.mxml" which 
  has a button when I click on thatbutton my PDF file should open.And then 
  from menu I can print that.But how to open that PDF file when I click on 
  that button.Any sugeession Thx in advance,Sandip 
  Patil. Yahoo! Groups 
  Sponsor ~--Fair play? Video games influencing 
  politics. Click and talk back!http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~- 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links


Yahoo! for GoodClick here 
to donate to the Hurricane Katrina relief effort. 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Development of components with AS

2005-05-16 Thread Simon Fifield





I 
asked the same question as point four:

 
These classes are not included in the FlexForFlash.zip file while they can be 
valuable to the development of good UI components. Does any1 know 
why?

The 
Macromedia answer was that FlexForFlash.zip was included for backward 
compatibility with version 1 where the components were heavily based on Flash 
skins, whereas v1.5 is heavily based on AS skins.

I 
think this issue will be resolved with version 2. Hopefully the documentation 
for the components in version 2 will be a lot clearer with detailed explanations 
of what a method does and what it returns under all circumstances etc., and with 
more detailed explanations of the properties and how they relate to other 
components - especially for the more complicated components such as the DataGrid 
and Tree components. The amount of time that I've wasted trying to work out 
these component when the answers should be in the docs is pretty annoying and 
has literally cost me in time/money.

Matt 
Chotin kindly pointed me in the direction of a sneaky way to get the ACTUAL 
component code ( the AS code in the FlashForFlex.zip file is very different to 
the actual component code used in v1.5 ). Here's how:

Run 
FDB and your mxml using the ?debug=true query (obviously your Flex config needs 
setting correctly for this). When the Flex App is connected to the FDB run as 
usual, but instead of continuing, type "list mx.controls.List" to get the actual 
code for the list component. It lists 10 lines at a time and copying and pasting 
into an editor is tedious and the line numbers need removing ( I have a saved 
Find/Replace setup for FlexBuilder if anyone wants it ).

Its 
not pretty but it works, so if anyone has a better/easier way of doing this, I 
would be pleased to know it.

Regards,
Simon



  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Manish 
  JethaniSent: 16 May 2005 17:52To: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Development of 
  components with ASOn 5/13/05, Erik Westra 
  [EMAIL PROTECTED] wrote: Hello, some questions 
  :)Answers inline... 1: _measuredWidth 
  _measuredHeight _measuredPreferredWidth 
  _measuredPreferredHeight __width __height etc. 
   Is there anywhere a list of these kind of properties that can be 
  used with the development of a custom component in actionscript. I 
  would be interested in knowing wich properties are available and what 
  effect they have in the framework.I searched Google for 
  "_measuredPreferredWidth" and unfortunatelyfound only a single page of 
  results. :(http://www.google.com/search?q=_measuredPreferredWidthhttp://search.yahoo.com/search?p=_measuredPreferredWidthAnyway, 
  here's a nice article about how to create components:http://www.macromedia.com/support/documentation/en/flex/1_5/createcomponents/ 
  2:  
  MyCustomComponent 
  mx:TextArea / /MyCustomComponent  The 
  above piece of xml creates a child on the MyCustomComponent. Im 
  wondering what code is used to determine wich childs must be created. 
  If u extend container, either the container createChildren function or 
  the View container function takes care of this creation. But how does 
  it work?When the MXML is compiled to ActionScript internally, 
  the container(MyCustomComponent) gets a bunch of object descriptors 
  specifying whatchildren it must contain and what properties and styles the 
  childrenmust have. Then when the container is getting initialized, 
  it looksat the object descriptors and created its children using 
  createChild()You can see how the descriptors are set up by setting the 
  followingoption in 
  flex-config.xml !-- 
  write xxx-generated.as file to disk 
  -- !-- These files are 
  generated by the compiler during mxmltranslation. 
  -- 
  keep-generated-astrue/keep-generated-asThen you can 
  open the MyMXMLFile-generated.as file to see thetranslated AS code. 
  Look for "Descriptor" in that file to get anidea. 3: 
   In (for instance) the accordion class the visibility of childs 
  is explicitly set with setVisible(false, true). This is not 
  documented, but an importend part of the framework. Im wondering how 
  many of these (for component development) usefull functions there 
  exists.There may be many, but if they are not in the ASDoc then one 
  has toassume they were not meant for public use. 4: 
   mx.effects.EffectManager mx.core.UIObjectDescriptor 
  mx.container.Box; mx.container.VBox; 
  mx.container.HBox;  These classes are not included in the 
  FlexForFlash.zip file while they can be valuable to the development of 
  good UI components. Does any1 know why?No idea. 
  :-/ 5.  Does any1 know how a Box determines the 
  size of its children? I mean when u resize a child within a box, the 
  positions of the other childs (and sometimes their sizes) are 
  recalculated. How does this process exactly work.When you 
  resize a child in the box, its parent's "layout" needs 

RE: [flexcoders] MXMXL Editor

2005-04-14 Thread Simon Fifield





Hi 
flexcoders,

I've 
been using FlexBuilder for my MXML/Actionscript and Eclipse for my Java 
RemoteObjects. FlexBuilder used to be stupidly slow until they put in the switch 
todisable MXML Design View (Preferences/General), nowI don't have 
any problems with it no matter how many files I have open.

I do 
nearly all of my work in Flexbuilder and I'm still getting into Eclipse (it's 
like Photoshop - youcan do so many thingswith it). I really don't like programming Actionscript in 
it, its so basic. The real reason I use it so much is because I have all of my 
site settings created for JSP, Flex, and PHP websites. Do any of you know of any 
way of setting up something comparable in Eclipse? Or perhaps some links to 
somewhere with examples or tutorials etc?

Thanks,
Simon 
Fifield


  -Original Message-From: Scott Barnes 
  [mailto:[EMAIL PROTECTED]Sent: 14 April 2005 
  08:02To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] MXMXL EditorPrimalCoder...I am 
  actually drooling here :) hehehe.On 4/14/05, Hans Omli 
  [EMAIL PROTECTED] wrote:  In addition to FlexBuilder, 
  I use Eclipse with the following plug-ins installed:  
  * OxygenXML for coding MXML (can also use _javascript_ editor for 
  Actionscript) * CFEclipse for CFML and CFCs * Sysdeo for 
  controlling Tomcat from within the IDE * Eclipse's built-in Java 
  support for POJOs that will be called as Remote Objects 
   XMLSpy and PrimalScript are also good.   
  -Original Message- From: Ketan Bengali 
  [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 9:17 
  PM To: flexcoders@yahoogroups.com Subject: [flexcoders] MXMXL 
  Editor  Has anybody tried any editors apart from from Flex 
  Builder for mxml? Flex Builder degrades the performance of my 
  PC.  -- Regards,  Ketan 
  Bengali  Yahoo! Groups Links   
-- Regards,Scott Barneshttp://www.mossyblog.comhttp://www.flexcoder.com (Coming 
  Soon)







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Flex Non Comercial

2005-04-13 Thread Simon Fifield





I 
applied a couple of weeks ago and haven't heard a thing back since, perhaps I 
don't blog enough, but then they should at least tell me what's going 
on?

Simon

  -Original Message-From: Rich Tretola 
  [mailto:[EMAIL PROTECTED]Sent: 13 April 2005 19:46To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex Non 
  ComercialAnyone here from MM know how long it 
  takes to get a response aboutgetting a non commercial flex licence 
  ?Rich







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield





Hi 
all,

Has anyone tried 
using Zinc to create an EXE from an SWF?
How did it turn 
out?
I've tried it and 
the exe ran, but when the swf attempted to get data from the server, it failed. 
I couldn't find any information about either Flex or whether it allows AMF 
communication which my Flex/SWF uses.


Kind Regards,

Simon Fifield







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield





Hi 
Ali,

I 
specified 
keep-generated-swfs to be 
TRUE and just copied this.

Regards,
Simon

  -Original Message-From: Alistair McLeod 
  [mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
  17:38To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Using Zinc with Flex
  Hi Simon,
  
  I've not tried it, but it sounds like the gateway url (or 
  equivalent if you're using web services rather than remote object) has not 
  been specified, or is specified incorrectly. Did you precompile the swf? If 
  not, how does Zinc request the MXML file - is it over 
http?
  
  Cheers,
  
  Ali
  
  
  
  
  --
  Alistair 
  McLeodDevelopmentDirector
  iteration::two[EMAIL PROTECTED]
  
  Office: +44 (0)131 338 
  6108
  
  This e-mail and any associated 
  attachments transmitted with it may contain confidential information and must 
  not be copied, or disclosed, or used by anyone other than the intended 
  recipient(s). If you are not the intended recipient(s) please destroy this 
  e-mail, and any copies of it, immediately.Please also note that 
  while software systems have been used to try to ensure that this e-mail has 
  been swept for viruses, iteration::two do not accept responsibility for any 
  damage or loss caused in respect of any viruses transmitted by the e-mail. 
  Please ensure your own checks are carried out before any attachments are 
  opened.
  
  
  
  
  From: Simon Fifield 
  [mailto:[EMAIL PROTECTED] Sent: 12 April 2005 
  17:31To: [EMAIL PROTECTED] ComSubject: 
  [flexcoders] Using Zinc with Flex
  
  Hi 
  all,
  
  Has anyone tried 
  using Zinc to create an EXE from an SWF?
  How did it turn 
  out?
  I've tried it and 
  the exe ran, but when the swf attempted to get data from the server, it 
  failed. I couldn't find any information about either Flex or whether it allows 
  AMF communication which my Flex/SWF uses.
  
  
  Kind Regards,
  
  Simon Fifield







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield





Hi 
Jesse,

Why 
would it be violating the License? I would be generating the SWF using a fully 
licensed version of Flex and the user would be communicating (if it worked) with 
the same Flex server that generated it and would be used by the same people that 
would be using it online.

Maybe 
I didn't understand the license exactly but I thought that this scenario would 
be fine.

Any 
official pointers from Macromedia people?

Regards,
Simon 
Fifield

  -Original Message-From: JesterXL 
  [mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
  17:37To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Using Zinc with Flex
  Yes, it works well.
  
  Bad... it's against Macromedia's Flex EULA, even 
  if you use Zinc's URL vs. local file option to build the 
  projector.
  
  Not sure about your server problem; I wasn't 
  using it to get dynamic data.
  
  - Original Message - 
  From: Simon Fifield 
  To: [EMAIL PROTECTED] Com 
  
  Sent: Tuesday, April 12, 2005 12:31 PM
  Subject: [flexcoders] Using Zinc with Flex
  
  Hi 
  all,
  
  Has anyone tried 
  using Zinc to create an EXE from an SWF?
  How did it turn 
  out?
  I've tried it and 
  the exe ran, but when the swf attempted to get data from the server, it 
  failed. I couldn't find any information about either Flex or whether it allows 
  AMF communication which my Flex/SWF uses.
  
  
  Kind Regards,
  
  Simon Fifield







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield





Hi 
Alistair,

I use 
the Cairngorm framework and have a login to start, I type my login details and 
click login and the clock face just keeps going round and 
round.
I 
don't really know how to try and debug it, the Zinc debugger shows 
nothing.

I'm 
just assuming that it is an issue with remoting because I know that some Players 
do not implement all the communication protocols that are available in the Flash 
Browser plug-in.

I am 
running the server on the same machine that I'm running the test EXE file on 
(localhost) but this shouldn't cause any issues.

I'll 
try run the NetConnection Debugger to see if it shows any 
activity

Regards,
Simon 
Fifield


  -Original Message-From: Alistair McLeod 
  [mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
  18:03To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Using Zinc with Flex
  So, that effectively compiled the gateway url to the url 
  you typed into your browser window. 
  
  In what way does it fail, just silently, or do you get an 
  error? Did anything appear in the flashlog.txt (need to be running with debug 
  player and have mm.cfg set up) - I'm thinking the players sandbox restrictions 
  may be stopping you
  Cheers,
  
  Ali
  
  
  
  
  --
  Alistair 
  McLeodDevelopmentDirector
  iteration::two[EMAIL PROTECTED]
  
  Office: +44 (0)131 338 
  6108
  
  This e-mail and any associated 
  attachments transmitted with it may contain confidential information and must 
  not be copied, or disclosed, or used by anyone other than the intended 
  recipient(s). If you are not the intended recipient(s) please destroy this 
  e-mail, and any copies of it, immediately.Please also note that 
  while software systems have been used to try to ensure that this e-mail has 
  been swept for viruses, iteration::two do not accept responsibility for any 
  damage or loss caused in respect of any viruses transmitted by the e-mail. 
  Please ensure your own checks are carried out before any attachments are 
  opened.
  
  
  
  
  From: Simon Fifield 
  [mailto:[EMAIL PROTECTED] Sent: 12 April 2005 
  17:45To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Using Zinc with Flex
  
  Hi 
  Ali,
  
  I 
  specified 
  keep-generated-swfs to be 
  TRUE and just copied this.
  
  Regards,
  Simon
  
-Original Message-From: Alistair McLeod 
[mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
17:38To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Using Zinc with Flex
Hi Simon,

I've not tried it, but it sounds like the gateway url 
(or equivalent if you're using web services rather than remote object) has 
not been specified, or is specified incorrectly. Did you precompile the swf? 
If not, how does Zinc request the MXML file - is it over 
http?

Cheers,

Ali




--
Alistair 
McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 
6108

This e-mail and any associated 
attachments transmitted with it may contain confidential information and 
must not be copied, or disclosed, or used by anyone other than the intended 
recipient(s). If you are not the intended recipient(s) please destroy this 
e-mail, and any copies of it, immediately.Please also note 
that while software systems have been used to try to ensure that this e-mail 
has been swept for viruses, iteration::two do not accept responsibility for 
any damage or loss caused in respect of any viruses transmitted by the 
e-mail. Please ensure your own checks are carried out before any attachments 
are opened.




From: Simon Fifield 
[mailto:[EMAIL PROTECTED] Sent: 12 April 2005 
17:31To: [EMAIL PROTECTED] ComSubject: 
[flexcoders] Using Zinc with Flex

Hi 
all,

Has anyone tried 
using Zinc to create an EXE from an SWF?
How did it turn 
out?
I've tried it 
and the exe ran, but when the swf attempted to get data from the server, it 
failed. I couldn't find any information about either Flex or whether it 
allows AMF communication which my Flex/SWF uses.


Kind Regards,

Simon Fifield







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield





Hi 
Alistair,

Setup 
Flashlog.txt (thanks for the tip) and here's some output:

Warning: 'mx' has no property 'NONMODAL'at ()Warning: 'mx' 
has no property 'YES'at ()Warning: 'mx' has no property 
'NO'at ()Warning: 'mx' has no property 'OK'at 
()Warning: 'mx' has no property 'CANCEL'at ()Warning: 'mx' has 
no property 'MULTIPLE_CONCURRENCY'at ()Warning: 'mx' has no 
property 'ENVELOPE_TYPE'at ()4/12 18:27:32 [INFO] 
RemoteObject_AMF: Creating Service for 
com.mango.aviator.business.PilotDelegate4/12 18:27:32 [INFO] 
RemoteObject_AMF: Creating gateway connection for 
null/aviator/amfgatewayWarning: onStatus is not a functionat 
Object::connect()4/12 18:27:32 [INFO] RemoteObject_AMF: Successfully created 
Service4/12 18:27:32 [INFO] RemoteObject_AMF: Creating Service for 
com.mango.aviator.business.PilotLogDelegate4/12 18:27:32 [INFO] 
RemoteObject_AMF: Successfully created Service4/12 18:27:32 [INFO] 
RemoteObject_AMF: Creating Service for 
com.mango.aviator.business.AirportDelegate4/12 18:27:32 [INFO] 
RemoteObject_AMF: Successfully created ServiceWarning: 'w' has no property 
'firstname'at mx_binding_Binding::_srcFunc()
...more like these for ages

then...
Warning: Reached warning limit of 1004/12 18:27:49 [INFO] 
RemoteObject_AMF: Invoking login on 
com.mango.aviator.business.PilotDelegate


So its 
successfully creating a link to the remoting server, but then something 
somewhere goes wrong.

Regards,
Simon


  -Original Message-From: Alistair McLeod 
  [mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
  18:03To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Using Zinc with Flex
  So, that effectively compiled the gateway url to the url 
  you typed into your browser window. 
  
  In what way does it fail, just silently, or do you get an 
  error? Did anything appear in the flashlog.txt (need to be running with debug 
  player and have mm.cfg set up) - I'm thinking the players sandbox restrictions 
  may be stopping you
  Cheers,
  
  Ali
  
  
  
  
  --
  Alistair 
  McLeodDevelopmentDirector
  iteration::two[EMAIL PROTECTED]
  
  Office: +44 (0)131 338 
  6108
  
  This e-mail and any associated 
  attachments transmitted with it may contain confidential information and must 
  not be copied, or disclosed, or used by anyone other than the intended 
  recipient(s). If you are not the intended recipient(s) please destroy this 
  e-mail, and any copies of it, immediately.Please also note that 
  while software systems have been used to try to ensure that this e-mail has 
  been swept for viruses, iteration::two do not accept responsibility for any 
  damage or loss caused in respect of any viruses transmitted by the e-mail. 
  Please ensure your own checks are carried out before any attachments are 
  opened.
  
  
  
  
  From: Simon Fifield 
  [mailto:[EMAIL PROTECTED] Sent: 12 April 2005 
  17:45To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Using Zinc with Flex
  
  Hi 
  Ali,
  
  I 
  specified 
  keep-generated-swfs to be 
  TRUE and just copied this.
  
  Regards,
  Simon
  
-Original Message-From: Alistair McLeod 
[mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
17:38To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Using Zinc with Flex
Hi Simon,

I've not tried it, but it sounds like the gateway url 
(or equivalent if you're using web services rather than remote object) has 
not been specified, or is specified incorrectly. Did you precompile the swf? 
If not, how does Zinc request the MXML file - is it over 
http?

Cheers,

Ali




--
Alistair 
McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 
6108

This e-mail and any associated 
attachments transmitted with it may contain confidential information and 
must not be copied, or disclosed, or used by anyone other than the intended 
recipient(s). If you are not the intended recipient(s) please destroy this 
e-mail, and any copies of it, immediately.Please also note 
that while software systems have been used to try to ensure that this e-mail 
has been swept for viruses, iteration::two do not accept responsibility for 
any damage or loss caused in respect of any viruses transmitted by the 
e-mail. Please ensure your own checks are carried out before any attachments 
are opened.




From: Simon Fifield 
[mailto:[EMAIL PROTECTED] Sent: 12 April 2005 
17:31To: [EMAIL PROTECTED] ComSubject: 
[flexcoders] Using Zinc with Flex

Hi 
all,

Has anyone tried 
using Zinc to create an EXE from an SWF?
How did it turn 
out?
I've tried it 
and the exe ran, but when the swf attempted to get data from the server, it 
failed. I couldn't find any information about either Flex or whether it 
allows AMF communication which my Flex/SWF uses.


Kind

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield





When I 
run the Flex app as usual in the browser, it continues 
correctly:

4/12 
18:37:41 [INFO] RemoteObject_AMF: Invoking login on 
com.mango.aviator.business.PilotDelegate - Zinc app stops 
here4/12 18:37:41 [INFO] RemoteObject_AMF: Invoking getPilot on 
com.mango.aviator.business.PilotLogDelegate4/12 18:37:41 [INFO] 
RemoteObject_AMF: com.mango.aviator.business.PilotDelegate.login() returned 
{_remoteClass: "com.mango.aviator.vo.LoginVO",  
loginDate: Tue Apr 12 18:37:41 GMT+0100 2005,  
password: "thunder",  pilotId: 1, 
 username: "simon"}4/12 18:37:42 [INFO] 
RemoteObject_AMF: Invoking getAirports on 
com.mango.aviator.business.AirportDelegate4/12 18:37:42 [INFO] 
RemoteObject_AMF: Invoking getPilotLogBooks on 
com.mango.aviator.business.PilotLogDelegate
.and loads more

Any 
clues anyone?
Do you 
think its a sandbox problem?

Regards,
Simon


  -----Original Message-From: Simon Fifield 
  [mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
  18:33To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Using Zinc with Flex
  Hi 
  Alistair,
  
  Setup Flashlog.txt (thanks for the tip) and here's some 
  output:
  
  Warning: 'mx' has no property 'NONMODAL'at ()Warning: 
  'mx' has no property 'YES'at ()Warning: 'mx' has no property 
  'NO'at ()Warning: 'mx' has no property 'OK'at 
  ()Warning: 'mx' has no property 'CANCEL'at ()Warning: 'mx' 
  has no property 'MULTIPLE_CONCURRENCY'at ()Warning: 'mx' has no 
  property 'ENVELOPE_TYPE'at ()4/12 18:27:32 [INFO] 
  RemoteObject_AMF: Creating Service for 
  com.mango.aviator.business.PilotDelegate4/12 18:27:32 [INFO] 
  RemoteObject_AMF: Creating gateway connection for 
  null/aviator/amfgatewayWarning: onStatus is not a functionat 
  Object::connect()4/12 18:27:32 [INFO] RemoteObject_AMF: Successfully 
  created Service4/12 18:27:32 [INFO] RemoteObject_AMF: Creating Service for 
  com.mango.aviator.business.PilotLogDelegate4/12 18:27:32 [INFO] 
  RemoteObject_AMF: Successfully created Service4/12 18:27:32 [INFO] 
  RemoteObject_AMF: Creating Service for 
  com.mango.aviator.business.AirportDelegate4/12 18:27:32 [INFO] 
  RemoteObject_AMF: Successfully created ServiceWarning: 'w' has no property 
  'firstname'at mx_binding_Binding::_srcFunc()
  ...more like these for ages
  
  then...
  Warning: Reached warning limit of 1004/12 18:27:49 [INFO] 
  RemoteObject_AMF: Invoking login on 
  com.mango.aviator.business.PilotDelegate
  
  
  So 
  its successfully creating a link to the remoting server, but then something 
  somewhere goes wrong.
  
  Regards,
  Simon
  
  
-Original Message-From: Alistair McLeod 
[mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
18:03To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Using Zinc with Flex
So, that effectively compiled the gateway url to the 
url you typed into your browser window. 

In what way does it fail, just silently, or do you get 
an error? Did anything appear in the flashlog.txt (need to be 
running with debug player and have mm.cfg set up) - I'm thinking the players 
sandbox restrictions may be stopping 
you
Cheers,

Ali




--
Alistair 
McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 
6108

This e-mail and any associated 
attachments transmitted with it may contain confidential information and 
must not be copied, or disclosed, or used by anyone other than the intended 
recipient(s). If you are not the intended recipient(s) please destroy this 
e-mail, and any copies of it, immediately.Please also note 
that while software systems have been used to try to ensure that this e-mail 
has been swept for viruses, iteration::two do not accept responsibility for 
any damage or loss caused in respect of any viruses transmitted by the 
e-mail. Please ensure your own checks are carried out before any attachments 
are opened.

    
    

From: Simon Fifield 
[mailto:[EMAIL PROTECTED] Sent: 12 April 2005 
17:45To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Using Zinc with Flex

Hi 
Ali,

I 
specified 
keep-generated-swfs to 
be TRUE and just copied this.

Regards,
Simon

  -Original Message-From: Alistair McLeod 
  [mailto:[EMAIL PROTECTED]Sent: 12 April 2005 
  17:38To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Using Zinc with Flex
  Hi Simon,
  
  I've not tried it, but it sounds like the gateway url 
  (or equivalent if you're using web services rather than remote object) has 
  not been specified, or is specified incorrectly. Did you precompile the 
  swf? If not, how does Zinc request the MXML file - is it over 
  http?
  
  Cheers,
  
  Ali
  
  
  
  
  --
  Alistair 
 

RE: [flexcoders] My Company's Flex Site Live

2005-04-08 Thread Simon Fifield





Hi 
Flexcoders,

I 
think that its great that James has posted a link to his Flex site. I also think 
that some of the negative comments and feedback about the site are just going to 
put off other people from posting links to their sites here.

How 
about posting some POSITIVE feedback to James and help the collective 
encouragement here.

I 
think everyone responds much better to POSITIVE than negative - 
eh?

Simon



  -Original Message-From: James Ward 
  [mailto:[EMAIL PROTECTED]Sent: 08 April 2005 01:14To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] My Company's Flex 
  Site LiveI want to thank everyone on this list for 
  all the help over the past fewmonths! Just minutes ago we launched 
  our all Flex site:http://www.pillardata.comFlex is 
  beautiful and this community makes it even better! Thank 
  youall!-James







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] My Company's Flex Site Live

2005-04-08 Thread Simon Fifield





Hi 
Shell,

On the 
whole I agree with criticism - as long as its constructive. I hope that when you 
post your site here that no one will say "its crap" because that's just a 
useless, careless statement which will not help the creator to improve the site 
at all, instead it will just put them and others off posting their links 
here.

Others 
have linked their criticism with constructive tips on how the improvement could 
be achieved - this kind of criticism is great because it alerts the creator to 
potential problems and offers direction on how to improve 
it.

Also, 
I would imagine that the majority of people posting to this group will actually 
be Flexprogrammers and not have the background indesignlike 
some of us do. So we have the responsibility of helping those even more 
so.

Having 
worked in a design environment for over a decade I know that what one designer 
likes, another despises, and that's why if you get too many peoples opinion of 
the design, it becomes watered down and is no longer sharp.

Personally I think that he's done a pretty good job of making a Flex app 
look like its not a Flex app and that its a Flash site.

Please 
don't take offence at anything I've said, and please don't stop the constructive 
criticismbecause I just want everyone (including myself)to get the 
most out of this forum - which is here to help us all build Flex apps and help 
usmake our Flex apps better.

Kind 
Regards,
Simon 
Fifield


  -Original Message-From: Shell Bryson 
  [mailto:[EMAIL PROTECTED]Sent: 08 April 2005 
  11:54To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] My Company's Flex Site Live
  
  People shouldnt be 
  put off of posting sites here. Honest opinion should be encouraged too. Im a 
  web DESIGNER, not a coder, and aesthetics, usability, accessibility and 
  functionality are all equally important to me (and hopefully the end user). 
  While Jamess site might be a technical achievement, Im afraid this means 
  nothing to an end user  or the googlebot when it visits! I just dont like 
  the design very much. Ill happily post some of our designs here when Im able 
  to, and I hope to get honest feedback (even if its thats crap) 
  J
  
  Try posting a design 
  to a design critique group.
  
  S.
  
  
  
  
  
  From: Simon Fifield 
  [mailto:[EMAIL PROTECTED] Sent: 08 April 2005 11:45To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] My Company's 
  Flex Site Live
  
  
  Hi 
  Flexcoders,
  
  
  
  I think that its 
  great that James has posted a link to his Flex site. I also think that some of 
  the negative comments and feedback about the site are just going to put off 
  other people from posting links to their sites 
  here.
  
  
  
  How about posting 
  some POSITIVE feedback to James and help the collective encouragement 
  here.
  
  
  
  I think everyone 
  responds much better to POSITIVE than negative - 
  eh?
  
  
  
  Simon
  
  
  
  
  
-Original 
Message-From: James 
Ward [mailto:[EMAIL PROTECTED]Sent: 08 April 2005 01:14To: 
flexcoders@yahoogroups.comSubject: [flexcoders] My Company's Flex 
Site Live
I want to thank everyone on this list for all the 
help over the past fewmonths! Just minutes ago we launched our all Flex 
site:http://www.pillardata.comFlex is beautiful and this community makes it even 
better! Thank youall!-James







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] file uploader's news?

2005-04-08 Thread Simon Fifield





I 
believe that it's in hand. From what I've heard from the MM people, FlashPlayer8 
and Flex2 will have this capability.

Simon

  -Original Message-From: Duccio Del Ministro 
  [mailto:[EMAIL PROTECTED]Sent: 08 April 2005 12:47To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] file uploader's 
  news?Any news from Macromedia regarding file 
  uploader?RegardsDuccio Del 
  Ministro 
   ___ 
  Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, 
  Giochi, Rubrica… Scaricalo ora! http://it.messenger.yahoo.it







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] My Company's Flex Site Live

2005-04-08 Thread Simon Fifield





Shell,

I've 
been told I sometimes come across as being arrogant, but what the hell would 
they know!

Regards,
Simon


  -Original Message-From: Shell Bryson 
  [mailto:[EMAIL PROTECTED]Sent: 08 April 2005 
  12:27To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] My Company's Flex Site Live
  
  Simon,
  
  Fair points of 
  course. You are right about designers  youll rarely find two who agree on 
  something J
  
  I also agree, James 
  has done a good job at making Flex look like a regular page, which is an 
  achievement and something I hope we can achieve on our own 
  projects.
  
  I suppose when it 
  comes down to constructive tips for the design: The speed issue should be 
  looked into. I find the whole site a bit dark, but then thats a taste thing. 
  I would be tempted to introduce some animation, especially when moving between 
  different sections of the site. It could make the site flow a lot better. Also 
  for some reason when the site first loads it sticks my CPU up to 100% for 5 
  seconds (2.8ghz Windows XP machine with FireFox  Ive not tried it on 
  my fast machine yet).
  
  I really like this 
  forum, and Ive been lurking for the past 3200 message, and when we get down 
  to the guts of building our UI I imagine this list is going to be 
  invaluable.
  
  Not sure why youd 
  think Id take offence J
  
  
  
  
  
  From: Simon Fifield 
  [mailto:[EMAIL PROTECTED] Sent: 08 April 2005 12:17To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] My Company's 
  Flex Site Live
  
  
  Hi 
  Shell,
  
  
  
  On the whole I agree 
  with criticism - as long as its constructive. I hope that when you post your 
  site here that no one will say "its crap" because that's just a useless, 
  careless statement which will not help the creator to improve the site at all, 
  instead it will just put them and others off posting their links 
  here.
  
  
  
  Others have linked 
  their criticism with constructive tips on how the improvement could be 
  achieved - this kind of criticism is great because it alerts the creator to 
  potential problems and offers direction on how to improve 
  it.
  
  
  
  Also, I would imagine 
  that the majority of people posting to this group will actually be 
  Flexprogrammers and not have the background indesignlike 
  some of us do. So we have the responsibility of helping those even more 
  so.
  
  
  
  Having worked in a 
  design environment for over a decade I know that what one designer likes, 
  another despises, and that's why if you get too many peoples opinion of the 
  design, it becomes watered down and is no longer 
  sharp.
  
  
  
  Personally I think 
  that he's done a pretty good job of making a Flex app look like its not a Flex 
  app and that its a Flash site.
  
  
  
  Please don't take 
  offence at anything I've said, and please don't stop the constructive 
  criticismbecause I just want everyone (including myself)to get the 
  most out of this forum - which is here to help us all build Flex apps and help 
  usmake our Flex apps better.
  
  
  
  Kind 
  Regards,
  
  Simon 
  Fifield
  
  
  
-Original 
Message-From: Shell 
Bryson [mailto:[EMAIL PROTECTED]Sent: 08 April 2005 11:54To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] My Company's 
Flex Site Live
People shouldnt be 
put off of posting sites here. Honest opinion should be encouraged too. Im 
a web DESIGNER, not a coder, and aesthetics, usability, accessibility and 
functionality are all equally important to me (and hopefully the end user). 
While Jamess site might be a technical achievement, Im afraid this means 
nothing to an end user  or the googlebot when it visits! I just dont like 
the design very much. Ill happily post some of our designs here when Im 
able to, and I hope to get honest feedback (even if its thats crap) 
J

Try posting a 
design to a design critique group.

S.





From: Simon Fifield 
[mailto:[EMAIL PROTECTED] Sent: 08 April 2005 11:45To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] My Company's 
Flex Site Live


Hi 
Flexcoders,



I think that its 
great that James has posted a link to his Flex site. I also think that some 
of the negative comments and feedback about the site are just going to put 
off other people from posting links to their sites 
here.



How about posting 
some POSITIVE feedback to James and help the collective encouragement 
here.



I think everyone 
responds much better to POSITIVE than negative - 
eh?



Simon





  -Original 
  Message-From: James 
  Ward [mailto:[EMAIL PROTECTED]Sent: 08 April 2005 01:14To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] My Company's 
  Flex

RE: [flexcoders] My Company's Flex Site Live

2005-04-07 Thread Simon Fifield





Congrats!

Very 
nice site, and as Scott says - it does indeed look like a proper website. Nice 
design and colouring, even the servers look good!

Simon 
Fifield

  -Original Message-From: James Ward 
  [mailto:[EMAIL PROTECTED]Sent: 08 April 2005 01:14To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] My Company's Flex 
  Site LiveI want to thank everyone on this list for 
  all the help over the past fewmonths! Just minutes ago we launched 
  our all Flex site:http://www.pillardata.comFlex is 
  beautiful and this community makes it even better! Thank 
  youall!-James







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Remote object that returns an array of objects

2005-04-05 Thread Simon Fifield





Hi 
Jeff,

You 
don't mention if you are using the Cairngorm frameworkor not, but I do and 
I also use ValueObjects. I took the ViewHelper/ViewLocator pattern and created a 
ValueObject (or Model) Pattern so that finding ValueObjects from anywhere in 
your app is as easy as the ViewHelper pattern.

If I 
understand your question correctly its the same thing that I do - wrapping a 
single array of VOs within a VO. Not be a master of programming patterns and 
methodologies, I too would be interested in knowing if this is a good solution 
for our situations.

Regards,
Simon 
Fifield


  -Original Message-From: Jeff Krueger 
  [mailto:[EMAIL PROTECTED]Sent: 05 April 2005 
  16:47To: flexcoders@yahoogroups.comSubject: [flexcoders] 
  Remote object that returns an array of objects
  
  All,
  
   
  I have a method on my app server called getAllUser() that returns UserVO[]. 
  When I get that back in flex as an Array the items inside the array are 
  of type object, instead of the actionScript UserVO that is associated with 
  that java type being returned. My work around for this is to create a 
  UserArrayVO class on both sides (App Server and Flex) and in that class is 
  just one variable that is of type UserVO[] on the server and Array on flex and 
  then I get back the correct classes in flex. So my question is, is this 
  the way to do something like this? Obviously flex knows how to handle 
  the objects when it is within another class, just not when it is an array of 
  them coming back.
  
  Thanks
  
  Jeff 
  







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Run MXML on PC, Calling to Java on Remote Server - Help

2005-04-05 Thread Simon Fifield

Hi Libby,

I'm no J2EE expert and I do not use servlets with Flex, but I do use
RemoteObjects. Can't you instantiate your servlet from a Java RemoteObject
and call the servlets methods from within the RemoteObject?

Regards,
Simon Fifield



-Original Message-
From: Libby Chantel [mailto:[EMAIL PROTECTED]
Sent: 05 April 2005 17:55
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Run MXML on PC, Calling to Java on Remote
Server - Help



I read your chapter but it didn't explain how to do
what I am trying to do. I think my favorite part was
on page 5, where it says:
... if youre implementing an
RIA interface on an existing J2EE infrastructure that
has business logic contained in your
Servlet tier, consult the Flex documentation to see
how you can use RemoteObject to invoke methods exposed
on Servlets in your app server.
That note was particularly helpful sarcasm in light
of the fact I can't find any such info so far in the
MM documentation.

Eventually I will figure out exactly where to look,
I'm sure. So far I can find tidbits, but no examples,
of how to write mxml on one machine in flexbuilder,
then run it from flexbuilder to invoke java on a
remote app server, as if it were a client-server app.

Libby

--- Steven Webster [EMAIL PROTECTED]
wrote:

 Libby,

 Chapter 20 of Developing Rich Clients with
 Macromedia Flex is a free
 download (I posted
 in an earlier message) and covers in great detail
 the use of the
 RemoteObject tag, to
 achieve just what you are trying to do.

 Steven

  -Original Message-
  From: Libby Chantel
 [mailto:[EMAIL PROTECTED]
  Sent: 04 April 2005 18:59
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Run MXML on PC, Calling to
 Java on
  Remote Server - Help
 
 
  I am a newbie with Flex, trying to get it going
 for a proof
  of concept. I have Flex installed on my remote
 Java Server
  (Websphere). I can successfully make calls from
 Flash apps on
  my pc to the java programs running on the server.
 So far, I
  cannot get the very same calls from Flex to work.
 I cannot
  find an example of this setup in the MM doco for
 Flex. Could
  someone PLEASE either post a link to the doco that
 explains
  it in terms a dummy like me can understand, or,
 post sample
  MXML code that works for you? Or, maybe even do
 both :)
 
  Thank you very much,
  Libby
 
 
 
 
  __
  Do you Yahoo!?
  Yahoo! Small Business - Try our new resources
 site!
  http://smallbusiness.yahoo.com/resources/
 
 
 
  Yahoo! Groups Links
 
 
 
 
 
 
  --
  No virus found in this incoming message.
  Checked by AVG Anti-Virus.
  Version: 7.0.308 / Virus Database: 266.9.2 -
 Release Date: 05/04/2005
 
 

 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.9.2 - Release
 Date: 05/04/2005





 Yahoo! Groups Links


 [EMAIL PROTECTED]







__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



Yahoo! Groups Links











 
Yahoo! Groups Links

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

* 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] Remote object that returns an array of objects

2005-04-05 Thread Simon Fifield





Hi 
Jeff,

I do 
exactly what you are doing in Test 2, I duplicated this pattern from the Login 
example of the Cairngorm framework files. If you find a better way, let me know 
because it does add unnecessary extra work to wrap an extra value object around 
your array when that's all you want back from the server.

Regards,
Simon 
Fifield

  -Original Message-From: Jeff Krueger 
  [mailto:[EMAIL PROTECTED]Sent: 05 April 2005 
  21:56To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Remote object that returns an array of 
  objectsI use the UserVO within script in the 
  application, not in the exact script,but in other places. I 
  was doing an alert with the typeof function. I don't have a function 
  butI do have lots of public vars which come back undefined. So I 
  assume theywere not of the proper type.I think I have a test case 
  that should prove the class is available but I amnot sure. I am 
  using the cairngorm framework. So in my command class inthe onResult 
  class I can test these two sets of code. Obviously I switchout the 
  java code to return the correct types to match the test.Test 1 (Fails, 
  but I do get the correct length array of 1 item)var tempArray:Array = 
  Array (event.result);for (var i = 0; itempArray.length; 
  i++){ var tempUser:UserVO = 
  UserVO(tempArray[i]); 
  mx.core.Application.alert ("Test with userVo " + 
  tempUser.userName);}Test 2 (Succeeds)var temp:UserArrayVO = 
  UserArrayVO (event.result);var tempUser:UserVO = 
  UserVO(temp.userArray[0]);mx.core.Application.alert ("Test2 with userVo " 
  + tempUser.userName);Does that test make any sense or prove or 
  disprove anything?ThanksJeff-Original 
  Message-From: Peter Farland [mailto:[EMAIL PROTECTED] Sent: 
  Tuesday, April 05, 2005 2:15 PMTo: flexcoders@yahoogroups.comSubject: 
  RE: [flexcoders] Remote object that returns an array of 
  objects[snip]Info: Serializing response (Message 
  #0 targetURI=/2/onResult, responseURI=null) (Array 
  #0) [0] = (Typed Object #1 
  'net.crownmedia.flex.user.vo.UserVO')[/snip]The AMF trace says 
  objects are being sent back as Typed AMF Objects inboth cases... so now 
  you have to determine whether the type is linked inat compile time (this 
  will depend on more than just an import statement- you actually have to 
  use the type somewhere in the script) so that itis available at 
  runtime.When you said "the items inside the array are of type object" 
  how areyou determining that they are just a plain old ActionScript object? 
  Notethat typeof() in AS2 does not tell you the class name of an instance, 
  italways says object for anything that is derived from object. Do 
  you have a function on your ActionScript UserVO class that you cancall to 
  check whether it was correctly instantiated as 
  UserVO?Yahoo! Groups 
  Links







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Re: Flex Events (UK South)

2005-04-04 Thread Simon Fifield





Hi 
Aral,

Thanks 
for the reply.

Yes I 
would be interested. I have also had an email from "Greenfishinwater" that also 
expressed interest and I have mailed them back to see if they would be 
interested in meeting up.

As I 
said to Greenfish (don't know their real name yet) I have never been to a User 
Group - apart from a local BBC MicroUser Club when I was a kid. So I don't 
really know what goes on. Generally I try to avoid going into London unless I 
really need to - I prefer to drive than train.

Greenfish is in Guildford and I'm in Southampton - perhaps we could all 
meet up somewhere in between?

Here 
are some questions I asked Greenfish:


For example, where 
do you find you spend the most time - is it debugging Actionscript/MXML? Or, is 
it debugging RemoteObject/WebService communications?
If you have found 
ways of overcoming these types of problems - how?
Have you made any 
components or extension to components that you would be willing and able to 
share?
Would you be 
willing/able to work collaboratively on some component 
development?
What are your other 
skills?
What platform do you 
develop on/for?
Do you program other 
languages?
Do you work for a 
company or are you a lone developer?

If you 
have any questions for me, fire away!

Kind 
Regards,

Simon 
Fifield


  -Original Message-From: Aral Balkan 
  [mailto:[EMAIL PROTECTED]Sent: 04 April 2005 00:12To: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flex Events 
  (UK South)We are going to be having a session on Flex at 
  our next meeting (London MMUG) and I am thinking of possibly getting a 
  Brighton RIA UserGroup together. Would there be any interest in 
  this?All the best,Aral
  -- Aral 
  Balkan
  
Instructor, Ariaware Trainingwww.ariaware.com/training/courses/
Director, London MMUGwww.londonmmug.org 
  greenfishinwater wrote: 
  Simon,

I know of nothing outside of Edinburgh as Steve Webster has pointed out.

I live in Guildford, maybe we could create out own usergroup, for the
south, southeast etc.

Andrew







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Flex Events (UK South)

2005-04-02 Thread Simon Fifield





Hi 
Flexcoders,

Does anyone know of 
any Flex events in the South of the UK - particularly near 
Southampton?


Kind Regards,

Simon Fifield
Mango 
Solutions









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Flex 1.5 price

2005-04-01 Thread Simon Fifield





Perhaps Macromedia are planning a version of Flex that will allow the 
programmer to use MXML/Actionscript to generate an SWF, without the whole Flex 
Server Side Application (sorry - Flex Enterprise Server!)

I 
imagine that the price for this would still be more than Flash MX 2004 Pro say 
1,200 or so. I would pay that. Of course then connecting up to a server would 
still be a difficult task especially when you've used Flex and its built in 
Flash Remoting Gatewayand experienced how easy it makes it. So small 
companies that build web sites and small webapps would be able to take advantage 
of MXML without having to use Flash to do the whole job. Of course they would 
still buy Flash because its good or doing animation - just look at all those 
Flash Banner ads.

Has 
this option been considered at Macromedia?

Simon 
Fifield

  -Original Message-From: Hans Omli 
  [mailto:[EMAIL PROTECTED]Sent: 01 April 2005 18:16To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 1.5 
  priceMacromedia selected the medium/large enterprise 
  as the beachhead toestablish Flex as a worthwhile technology in the 
  marketplace. With 200customers as of December, I'd say Macromedia 
  has been quite successfullaying this foundation. It seems to me the 
  new pricing signals an evengreater focus on this market segment as Flex 
  moves from a technology used byinnovators (most of us here) to a product 
  for early adopters. Since earlyadopters are most willing to pay high 
  prices for the right to use a newproduct, the new pricing seems to make 
  sense. I had expected new pricing inthe 2.0 timeframe since this 
  would be a natural point for transitioning froma technology to a product 
  focus, but can see that early adopters areprobably more interested in 
  development support than they are in additionalfunctionality at this point 
  in the adoption life cycle. So, from thatstandpoint, the recent 
  price changes combined with bundled support make awhole lot of business 
  sense.Most of the friction around Flex pricing is more a question of 
  target marketthan anything else, with the high level of friction in forums 
  like thisindicating to me there is significant demand for technology like 
  Flex comingfrom many other markets outside of medium/large 
  enterprises. I will becurious to see if/how Macromedia expands Flex 
  into a more mainstream market.I suppose in some sense this has already 
  begun with the limited use of Flexin ColdFusion MX 7. Nonetheless, 
  it seems there is still quite a bit ofmoney on the table for Laszlo and 
  others to pursue... at least for now.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Flex 1.5 price

2005-04-01 Thread Simon Fifield





Good 
point Robert.

Regards,
Simon

  -Original Message-From: Robert Stuttaford 
  [mailto:[EMAIL PROTECTED]Sent: 01 April 2005 
  18:46To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Flex 1.5 price
  
  Simon,
  
  It is possible, 
  currently, to use Flex with FlashORB for remoting. Apart from the license, 
  it’s perfectly capable of being a standalone product… mxmlc.exe is the 
  compiler, I imagine a simple GUI for that would be all one would 
  need.
  
  Technically sensible, 
  but I think Macromedia want to regain some of their investment and let the 
  current incarnation mature somewhat. As Hans mentions below, I’m sure 
  Macromedia are aware that Flex could provide massive benefit outside of their 
  current focus.
  
  We’ll see, I guess 
  J
  
  Robert
  
  
  
  
  
  From: Simon 
  Fifield [mailto:[EMAIL PROTECTED] Sent: 01 April 2005 07:30 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 1.5 
  price
  
  
  Perhaps Macromedia 
  are planning a version of Flex that will allow the programmer to use 
  MXML/Actionscript to generate an SWF, without the whole Flex Server Side 
  Application (sorry - Flex Enterprise 
  Server!)
  
  
  
  I imagine that the 
  price for this would still be more than Flash MX 2004 Pro say £1,200 or so. I 
  would pay that. Of course then connecting up to a server would still be a 
  difficult task especially when you've used Flex and its built in Flash 
  Remoting Gatewayand experienced how easy it makes it. So small companies 
  that build web sites and small webapps would be able to take advantage of MXML 
  without having to use Flash to do the whole job. Of course they would still 
  buy Flash because its good or doing animation - just look at all those Flash 
  Banner ads.
  
  
  
  Has this option been 
  considered at Macromedia?
  
  
  
  Simon 
  Fifield
  
-Original 
Message-From: Hans 
Omli [mailto:[EMAIL PROTECTED]Sent: 01 April 2005 18:16To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 1.5 
price
Macromedia selected the medium/large enterprise as 
the beachhead toestablish Flex as a worthwhile technology in the 
marketplace. With 200customers as of December, I'd say Macromedia has been 
quite successfullaying this 
foundation. It seems to me the new pricing signals an 
evengreater focus on this 
market segment as Flex moves from a technology used 
byinnovators (most of us here) 
to a product for early adopters. Since earlyadopters are most willing to pay high prices for the 
right to use a newproduct, the 
new pricing seems to make sense. I had expected new pricing 
inthe 2.0 timeframe since this 
would be a natural point for transitioning froma technology to a product focus, but can see that early 
adopters areprobably more 
interested in development support than they are in 
additionalfunctionality at this 
point in the adoption life cycle. So, from 
thatstandpoint, the recent 
price changes combined with bundled support make awhole lot of business sense.Most of the friction around Flex pricing is more a 
question of target marketthan 
anything else, with the high level of friction in forums like 
thisindicating to me there is 
significant demand for technology like Flex comingfrom many other markets outside of medium/large 
enterprises. I will becurious to see if/how Macromedia expands Flex into a more 
mainstream market.I suppose in 
some sense this has already begun with the limited use of 
Flexin ColdFusion MX 7. 
Nonetheless, it seems there is still quite a bit ofmoney on the table for Laszlo and others to pursue... at 
least for now.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] DataGrid getColumnName problem

2005-03-31 Thread Simon Fifield





Hi 
Flexcoders,

I have a DataGrid 
that uses the same data in 2 columns but each with a different labelFunction to 
display the data in different ways. the data is called 'depart' in the 
dataProvider and so to get this data I have to the same name to the 
2columns in the DataGrid that display the data 
differently.

When I use 
dg.getColumnName('depart') I always get the first of the 2 columns. I know I can 
use dg.getColumnAt( colIndex ) butin the future Iwould prefer to use 
the column name. I have seen an extended DataGid that allows the dragging and 
re-ordering of columns so the ColumnIndex will not be 
possible.

Can I use id 
somehow?


Kind Regards,

Simon Fifield
Mango 
Solutions








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Flex 1.5 price

2005-03-31 Thread Simon Fifield





My 
clients have also stretched themselves to purchase the 2cpu license, which cost 
more than theDual Processor server they purchased to match the 
spec.

Now 
that the license for Flex is either 1 or 4 cpu does this mean that my clients 
are going to have to more than double the original purchase price when they need 
to renew their maintenance license?
Or 
will the 1 cpu license cover the whole server? (i.e. does cpu mean server or 
does it mean processors?)

Simon


  -Original Message-From: Matthew Shirey 
  [mailto:[EMAIL PROTECTED]Sent: 31 March 2005 18:17To: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 1.5 
  priceWhat about a 2cpu license? Please 
  answer. Your 'starter kit' isoverkill for us. If our price is 
  based on a minimum 4cpu price, thenthis is no longer a joke at all. 
  We will have to drop Flex and neverlook back. We will have wasted 
  months of training and actualdevelopment time. This is NOT a price I 
  can justify to anyone.We're seriously disappointed in Macromedia at 
  this time. We're a verysmall shop and its starting to look like 
  Macromedia does not careabout the little guy at all anymore.-- 
  MatthewOn Thu, 31 Mar 2005 12:00:13 -0500, Darron J. 
  Schall[EMAIL PROTECTED] wrote:  Jeff Steiner 
  wrote:  Lazslo, while the samples look great, is still 
  based upon Flash player 5 (Beta 3 of Lazslo is player 6). It 
  is one of those things where you have to wonder - how does Lazslo 
  know what to extend of the Flash Player. The people that are 
  contributing to it make guesses and try to extend the capabilities 
  as far as they can, but they are still limited in their 
  knowledge. I have never seen an API to the Flash player made 
  readily available to the public. Also - as the Flash Player 
  gets more complicated it will become more difficult to code hooks 
  into the player to give developers the same functionality that is 
  provided by Flex, and Breeze, and Flash,  
As a Flash developer, I'd like to chime in 
  here..  The fact that Lazslo works on Flash Player 5 really 
  isn't an issue. In fact, I'd say it's a bonus! Here's 
  why:  * Because Lazslo outputs to Flash Player 5, it has a 
  larget target audience. See the penetration stats: http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html 
  -- FP 5 is 97%. FP7 is 82% - so apps created in Laszlo have a 
  better chance of being viewed  * There are no "older 
  is slower" arguments. The v7 player will play a v5 swf faster 
  than the v5 player, because the v7 player itself is faster than the v5 
  player.  * The internals are abstracted away. Right now 
  your Lazslo code publishes to .swf, but it's not tied to the Flash 
  Player in any way - there are no MovieClip references, etc in your 
  lazslo code. In fact, you don't even use ActionScript, you write 
  in _javascript_. There's nothing to stop someone from writing a 
  new "player" and with a few tweaks to the Laszlo compilation process 
  you could have output for that new player.  When you 
  develop an application, do you really care about the internal API 
  calls of Flash Player 7? If I'm a Lazslo developer, I say no.. I 
  know what tags I can use in my markup, I know what the APIs are, and I 
  use them and get a *working* .swf file. As long as it works, that's 
  all I care about. If SWF5 is all it takes to make it work, then 
  that's cool.  Is there anything in v7 SWF that would benefit 
  Lazslo apps? Not really. Some of the new things added in 
  FP 7 over FP 6 is case sensitivty, depth management functions 
  (getNextHighestDepth..) , context menu, etc,. The biggest change 
  would probably be embedded video, and that may be a show stopper for 
  some.. but it's rare that an "application" needs video in it. FP 
  6 adds some things over FP5 like ShardObjects, so I can see how 
  upgrading to v6 in that respect would be benefitical. FP 6 also 
  added different event handlers than FP5 (.onPress, vs on (press)) - 
  but that has 0 effect on how I code my Lazslo markup. The FP6 
  style event handlers are meant to make AS coding easier, but Lazslo 
  doesn't care about that because it has it's own coding model. 
   The fact that Lazslo accomplishes what it does on an old version of 
  the SWF format is not a drawback, it's a benefit. There's really 
  no reason to use SWF7 if everything you need to do can be accomplished 
  in SWF5. The fact that Lazslo separates itself from the Flash Player 
  is another benefit as well.. If something should ever happen, 
  maybe legal issues or whatever, Lazslo can output to, say, Java 
  applets or whatever, since the code is all abstracted from the VM and 
  the compilation process handles the dirty work of putting your code 
  into a format the VM can understand.  -d 
Yahoo! Groups Links
  







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go 

RE: [flexcoders] Flex 1.5 price

2005-03-31 Thread Simon Fifield





Hi 
Lucian,

I will 
need to speak to my clients ( I can't remember if they purchased the Flex 
License at v1 or v1.5 ).

I'm 
sure that there is an amicable agreement that can be reached - price increases 
are an ongoing problem for everyone around the world but particularly for the 
small to medium whoever/whatever. Although larger companies must be careful to 
count the pennies (therefore looking after the pounds) they are in a much better 
position to find the cash to make larger purchases if it makes sense in the 
bigger picture.

I 
imagine ( and I may be wrong ) that most of us are a little disturbed by not 
being able to see a price on a tag. Hardly anyone in the UK is used to haggling, 
and personally I'm not keen on squeezing as much out of someone as I can. I am 
not the one who authorises purchases, and I imagine that most of us here are in 
the same boat.

It 
just feels very uncomfortable seeing a price tag for a small bag of sweets, a 
price tag for a large bag of sweets, but for medium and jumbo bags you have to 
haggle with the shop keeper. I'm not saying its wrong - I just think that lots 
of developers like me have a hard time having to go back to the people who make 
the purchasing decisions and trying to get them to pay an unknown but 
considerable amount of money for something that they are not sure that they 
want, and we are the ones that have to persuade them that they want 
it.

For my 
part, I sold Flex based on the knowledge that my clients wanted to develop their 
webapps using the Flash Player. My experience of creating webapps in the Flash 
environment was most unpleasant(especially when having to work with 
designers that can't program and aren't at all tidy!) so I pushed the fact that 
the webapps would be developed much much faster using Flex thanwith Flash. 
Yes, there has been a bigger learning curve than I thought, but if I had tried 
to do this using Flash only - well I think that I would be in a hospital room 
with nice padded walls to dampen the sound of my screaming!

I love 
Flex. And I'm gladsomeone else has bought it for me to work 
with.

Kind 
Regards,
Simon 
Fifield


  -Original Message-From: Lucian Beebe 
  [mailto:[EMAIL PROTECTED]Sent: 31 March 2005 
  21:17To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Flex 1.5 price
  
  Maintenance will be 
  calculated based on the CPUs or Quick Start price if you go that route. . I 
  think thats pretty consistent with other software industry 
  norms.
  
  Ill make you the 
  same offer, Simon. Where you have serious projects running, lets talk directly 
  and find a way to make this work out.
  
  Lucian 
  
  
  
  
  
  
  From: Simon 
  Fifield [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 11:49 
  AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 1.5 
  price
  
  
  My clients have also 
  stretched themselves to purchase the 2cpu license, which cost more than 
  theDual Processor server they purchased to match the 
  spec.
  
  
  
  Now that the license 
  for Flex is either 1 or 4 cpu does this mean that my clients are going to have 
  to more than double the original purchase price when they need to renew their 
  maintenance license?
  
  Or will the 1 cpu 
  license cover the whole server? (i.e. does cpu mean server or does it mean 
  processors?)
  
  
  
  Simon
  
  
  
-Original 
Message-From: Matthew 
Shirey [mailto:[EMAIL PROTECTED]Sent: 31 March 2005 18:17To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 1.5 
price
What about a 2cpu license? Please 
answer. Your 'starter kit' isoverkill for us. If our price is based on a minimum 
4cpu price, thenthis is no 
longer a joke at all. We will have to drop Flex and 
neverlook back. We will 
have wasted months of training and actualdevelopment time. This is NOT a price I can justify 
to anyone.We're seriously 
disappointed in Macromedia at this time. We're a 
verysmall shop and its starting 
to look like Macromedia does not careabout the little guy at all 
anymore.-- 
MatthewOn Thu, 31 Mar 
2005 12:00:13 -0500, Darron J. Schall[EMAIL PROTECTED] 
wrote: 
 Jeff Steiner 
wrote: 
 Lazslo, while the 
samples look great, is still based upon Flash player 
5 (Beta 3 of Lazslo is 
player 6). It is one of those things where you have 
to wonder - how does 
Lazslo know what to extend of the Flash Player. 
The people that are 
contributing to it make guesses and try to extend 
the capabilities as far 
as they can, but they are still limited in their knowledge. I have never seen an API to the 
Flash player made readily 
available to the public. Also - as the Flash Player gets more 
complicated it will 
become more difficult to code hooks into the player to 
give developers the 
same functionality that is provided by Flex, and Breeze, 
and Flash

RE: [flexcoders] CheckBox oddity

2005-03-31 Thread Simon Fifield
Title: Message





I 
tried putting just a single CheckBox on the UI with no label set. When you move 
your mouse to the right of the CheckBox you can see it highlight, clicking there 
checks/unchecks it. When you add some text to the label property you can see 
that this area is indeed where the textlabel is - it doesn't get turned off when 
there is no text. 
I 
think that it should.

Simon 
Fifield


  -Original Message-From: Gordon Smith 
  [mailto:[EMAIL PROTECTED]Sent: 01 April 2005 
  00:20To: 'flexcoders@yahoogroups.com'Subject: RE: 
  [flexcoders] CheckBox oddity
  Is 
  the problem that the CheckBox's width is too large when it doesn't have a 
  label?
  
  - 
  Gordon
  

-Original Message-From: Simon Fifield 
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 
2005 12:28 PMTo: [EMAIL PROTECTED] ComSubject: 
[flexcoders] CheckBox oddity
Hi 
Flexers,

I've just 
noticed an oddity with the CheckBox and I don't know how I missed it before. 
When there is no label, the mouse events still trigger over the blank 
label.

Does anyone know 
if this is a bug - it seems like one to me?
(How do I 
register bugs again?)
Has anyone a 
work around for this - perhaps some way of turning off the underlying 
TextField?


Kind Regards,

Simon Fifield








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] CheckBox oddity

2005-03-31 Thread Simon Fifield
Title: Message





Joan,

That 
works like a dream!

Thank 
you,
Simon 
Fifield

  -Original Message-From: Joan Tan 
  [mailto:[EMAIL PROTECTED]Sent: 01 April 2005 00:46To: 
  'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] CheckBox 
  oddity
  You are right, this is a bug. I believe there is a 
  workaround, however. You can have
  
  mx:CheckBox label="" /
  
  instead of just mx:CheckBox 
  /
  
  and you shouldn't have that 
  problem.
  
  Thanks,
  Joan
  
  
  
  From: Simon Fifield 
  [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 
  3:27 PMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] CheckBox oddity
  
  I 
  tried putting just a single CheckBox on the UI with no label set. When you 
  move your mouse to the right of the CheckBox you can see it highlight, 
  clicking there checks/unchecks it. When you add some text to the label 
  property you can see that this area is indeed where the textlabel is - it 
  doesn't get turned off when there is no text. 
  I 
  think that it should.
  
  Simon Fifield
  
  
-Original Message-From: Gordon Smith 
[mailto:[EMAIL PROTECTED]Sent: 01 April 2005 
00:20To: 'flexcoders@yahoogroups.com'Subject: RE: 
[flexcoders] CheckBox oddity
Is 
the problem that the CheckBox's width is too large when it doesn't have a 
label?

- 
Gordon

  
  -Original Message-From: Simon 
      Fifield [mailto:[EMAIL PROTECTED] Sent: Thursday, 
  March 31, 2005 12:28 PMTo: [EMAIL PROTECTED] 
  ComSubject: [flexcoders] CheckBox oddity
  Hi 
  Flexers,
  
  I've just 
  noticed an oddity with the CheckBox and I don't know how I missed it 
  before. When there is no label, the mouse events still trigger over the 
  blank label.
  
  Does anyone 
  know if this is a bug - it seems like one to me?
  (How do I 
  register bugs again?)
  Has anyone a 
  work around for this - perhaps some way of turning off the underlying 
  TextField?
  
  
  Kind Regards,
      
  Simon Fifield
  







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Re: Flex 1.5 price

2005-03-31 Thread Simon Fifield





Hey 
Scott,

I love 
the disclaimer at the bottom of your mossyblog.com site:


  We own this crap (Any 
  hacking, copying, spaming, etc will result in headbutts) All trademarks 
  property of their owners. blah blah.. . We also reserve the right to use poor 
  spelling, terrible gramma and at times are not required to make sense. We are 
  NOT Macromedia worshipers, we are infact Monkeys at a 
  keyboard...OooO.OoO.oo 
Nice.

Simon

  -Original Message-From: Scott Barnes 
  [mailto:[EMAIL PROTECTED]Sent: 01 April 2005 
  00:57To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Re: Flex 1.5 price  I have 
  been dealing with Macromedia/allaire since 1997. And I have never once 
  seen a price decrease. and in all of that time I want to say the 
  typical price increase has been about 100%. Or if not a price increase 
  a drop off in what you are getting.. 4 CPus now is only 2. (CFMX) 2 
  Cpus is now only 1 (Flex).That goes with inflation, technology 
  increases and what not. I'm yetto see any software really get lower in 
  price with increase infeatures...its like crack, give it cheaply away for 
  free early thenonce they are hooked, up the price heh...not saying i smoke 
  crack -well it would explain a lot - just an analogy.  
  Along time ago they decided to go with the strategy of Fewer customers 
  paying higher bills. 200 new customers does not sound like a lot, 
  which is why you have to charge a lot. it certainly is not on the 
  install base of asp, .NET etc. Clearly they like FLEX becasue it is 
  new and they can charge twice what they charge for CFMX.You *could* 
  argue the whole Qty vs Quality, 200 customers @$12k(2xCPU) or 500 
  customers at 6k(2xCPU) - now you could say that 300customers could of 
  bought them at 12k and so thats a loss in profits -but reality dictates 
  that those 300 customers could bought into theproduct based on price. I'm 
  also a little fuzzy as to the what ITManager in what Enterprise 
  corporation looks at a product like FLEX,(even without knowing it) gives 
  it a test run and simply turns to thepowers that be and go "yeah, i think 
  its too cheap so i'm not going tobuy it now...if it were double the price, 
  well then maybe ..) I knowi'm fueling an argument here but that is a 
  consistent reply i seem toread where people go "Enterprise buy big, its 
  too cheap etc"We bought the product without thinking of the price at 
  all, it wasmore out of need / and how we could best use it and so thats 
  why i'min different to the price uphike because i have a rich company to 
  playin. Yet if the whole "its priced for enterprise" companies is 
  justplain silly to me as a lot of IT Managers i know here in Australia 
  insome pretty darn big corporations tend to think conservatively 
  abouttheir spending. I know one company who refuses to buy FLEX 
  becausethey see Macromedia as this company shouting from the roof tops 
  "weare no longer web agency specific..hello..we are now 
  enterprise..seeour products have the word enterprise in them now...carn 
  gimme fiddy-kin products"hehe. that was his exact words 
  btw. In 2 years it will be FLEX 40k, and you will have only a 
  small base of people to hire, and if you want a FLEX developer plan on 
  building a 6 month training process into the hire.Yes, I did a 
  costings on MossyBlog when flex first came out read:http://www.mossyblog.com/archives/235.cfm 
  - Flex The Hidden Costs.I as a personal developer hate the price tag 
  as i want to use FLEX forone of my get rich quick apps floating around in 
  my head hehehe. Yet,again as an employee for the company i work with and 
  the buying powerwe have, its not a sore point - the future is and thats 
  where i end upcaving in on price.Lazlo needs more work, compare as 
  much as you want and strip it downto what it can offer today. Tommorow is 
  another debate and it couldjust fade away (like many Open Source projects 
  before it) - or itcould ramp up and be this dark horse. The point is, how 
  much money andinvestment will it take to get Lazlo to the point at which 
  you can useFlex now? what benefits is it bringing to the table? what is 
  itsbackground? what's its community like? what's its capabilities 
  interms of integration with your legacy systems or current 
  technologyetc..I did this little audit a while back for here, and 
  while $15k made myfirst tier give me this "eh, please explain" - he 
  straight away sawwhy it was beneficial as all i had to go with was 
  DHTML...15k to codeDHTML would be spent in the first 3 months alone in 
  terms man power,testing and may i add a this point no actual worthwhile 
  apps are made.I see Laszlo as the same in many ways. Its too immature 
  and needs moretime in the oven.Flex is the sleeping 
  giant.-- Regards,Scott Barneshttp://www.mossyblog.comhttp://www.flexcoder.com (Coming 
  Soon)







Yahoo! Groups Links

To visit your group on the web, go 

RE: [flexcoders] Flex 1.5 price

2005-03-30 Thread Simon Fifield





Do you 
have upgrade prices for Flex 1.5 Users?

  -Original Message-From: Lucian Beebe 
  [mailto:[EMAIL PROTECTED]Sent: 30 March 2005 
  23:51To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Flex 1.5 priceThere has been a lot of 
  speculation about price changes for Flex. Let's setthe record straight. As 
  of April 1, we are adjusting the price of Flex.There are now three 
  different packages for Flex going forward. For mostpeople, the starter kit 
  will provide everything you need for your Flexapplications: 4 CPUs and 
  Gold Support for $29,000. That's actually cheaperthan Flex was in the past 
  for 4 CPUs + Gold Support. For the larger Flexapplications out there, we 
  will sell per CPU at $15,000 per CPU. Finally,for software vendors who 
  want to embed Flex in their applications, we havespecial pricing built 
  around your requirements and your market. However, andthis is important, 
  where you see value in Flex, we are interested in workingwith you to 
  design the right packaging for your needs. If you are interestedin using 
  Flex on a real project, let us know so we can work with you andfind the 
  right packaging/pricing to fit your needs. In response to some of your 
  comments, over time, we are very interested inoffering additional 
  licensing options to broaden the range of projects anddevelopers who can 
  leverage Flex technology. We follow the market veryclosely, and pay 
  great attention to your constructive feedback. We all havea stake in 
  the success of this marketplace.Why are we changing the price of 
  Flex?We have been building, selling, and supporting Flex for a year 
  now. Themarketplace for rich Internet applications is really taking off. 
  Hundreds ofapplications are being delivered all over the world, and the 
  generalinterest level is really growing out there. Within this 
  overall marketplace, there are a variety of customer segmentsand project 
  types with varying requirements. Large enterprise customers andsystems 
  integration partners require substantial pre-sales engagement andongoing 
  assistance from Macromedia commensurate with the value that theyintend to 
  derive from the software. Small and medium size customers andindividual 
  developers require low up front costs to get started fast andoperate 
  within very limited IT budgets.It is important to have great offerings 
  for each type of user. There is no"one size fits all" approach that both 
  makes everyone successful and issustainable over the long term. A 
  stratified approach makes the most sense,and that's what we're gradually 
  implementing. We've adjusted our coreproduct pricing to better 
  reflect both the value derived and the costsinvolved in driving successful 
  projects within large enterprise customers.We've also created a starter 
  package that combines deeply discounted Flexlicenses with high quality 
  support designed to address the needs of largecustomers doing pilot 
  projects or medium size customers doing fulldeployments. 
  Please talk to us if you have special needs. We will continue to 
  workdirectly with enterprise customers doing larger deployments or who 
  desireEnterprise Licensing Agreements. We also have specialized offerings 
  for ISVsdelivering packaged software solutions based on Flex. If you have 
  a projectspecifically suited to Flex but need different packaging, please 
  contactyour Macromedia sales rep to discuss your project and the pricing 
  optionsthat meet your needs. If you see real value in Flex, there is 
  probably away to make it work.Lucian BeebeFlex product 
  managerMacromedia 







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] super.super?

2005-03-30 Thread Simon Fifield





I have 
extended the DateChooser component to allow user to click throughYears and 
Months rather than just Months.

I have 
overridden the createChildren() method. DateChooser calls 
super.createChildren(). If I call super.createChildren() in my subclass at the 
end of my method it redefines the objects that I have overridden, if I call it 
at the beginning of my method before I create the objects, it does most of the 
work twice.

It 
works if I don't callsuper.createChildren() at all, but there are side 
effects that I have to fix after anyway.

If the 
superClass creates and lays-out objects that I do not want in my subClass I 
would like to be able to call the superClass' super methods to by-pass the 
instantiation and layout of the objects that I don't want.

But I 
presume its not possible?


  -Original Message-From: Chris Velevitch 
  [mailto:[EMAIL PROTECTED]Sent: 30 March 2005 
  03:15To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] super.super?If you are in a method of 
  say class C which extends class B, thencalling super.someMethodName works. 
  If class B extends class A and Bdoesn't redefine a method of A, say, 
  called methodOfA, then in class Cyou can call super.methodOfA. This is 
  because, through inheritance,all unredefined methods of A are 
  automatically available to B. Superonly works one level up.







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] DateChooser component

2005-03-30 Thread Simon Fifield





Just in case any MM 
component guys are reading.

The DateChooser sets 
the dateDisplay (header date text) with the same command:dateDisplay.text = monthNames[m]+" "+displayedYear;
in nearly all of the 
setters.
It would have been 
easier to override this if a method had been used to set this, then we wouldn't 
have to override all of the setters as well.

I've now done this 
in my extended DateChooser/DateField so that I can step through the years as 
well as the months.


Kind Regards,

Simon 
Fifield







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] prevent Double click

2005-03-30 Thread Simon Fifield





hi 
Devis,

Ihighly recommend using Cairngorm framework for your apps. My Apps 
were like spaghetti junction (that means complicated) before I started using 
Cairngorm.

I just 
wished they had used a different name for it because A) its long, and B) It 
makes mewish I was walking up in the mountains instead of sitting in front 
of a computer all day long!

Regards,
Simon 
Fifield

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: 30 March 2005 09:44To: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] prevent Double 
  clickSorry we don't use Cairngorm, but i'm looking 
  ViewHelper for understand the mechanism,thanks you vey 
  muchDevisLaurent Cornelis ha scritto:If you use 
  Cairngorm, use a ViewHelper to change the button state. This way you 
  can change the state from 
  anywhere.Regards,Laurent 
  Cornélis[EMAIL PROTECTED] a écrit : 
  thanks Gordon, but i'm using our framework for receive 
  data (ServiceLocator etc)and our function are called 
  in other piece of code in our project, and the id or name of 
  button are not the same, and i think to put in our delgate all id 
  button it's not a good idea, (in our 
  case)DevisGordon 
  Smith ha scritto: 
  Disable the button in your click handler when you 
  call your RemoteObjectmethod. Re-enable it when your result 
  handler is called.- 
  Gordon-Original 
  Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 
  11:53 PMTo: Flex CodersSubject: [flexcoders] 
  prevent Double 
  clickHi,have 
  some suggestion from prevent double click on the button? for 
  example my button throw some functions on 
  back-end,i wish to disable button until the function are 
  end.It's 
  possible?DevisYahoo! 
  Groups 
  LinksYahoo! 
  Groups 
  Links 
   Yahoo! Groups 
  Links 
   
   Yahoo! Groups 
  Links  
  







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] LabelFunctions and SortFunctions

2005-03-30 Thread Simon Fifield





At the moment a 
labelFunction or sortFunction has to be defined in the MXML file that it is 
being used in.

It would be nice to 
be able to use an external Classto achieve this and thus enhance 
codeclarity andre-use.

Does anyone have any 
ideas on this?

Kind Regards,

Simon Fifield








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] LabelFunctions and SortFunctions

2005-03-30 Thread Simon Fifield





Hi 
Dirk,

Thanks 
for the suggestion, I hadn't thought of that, but it didn't work when I tried 
it. So I tried just 

dg.getColumnAt( 0 ).labelFunction = dgVH.labelFunc;

and 
this did work. Its a big improvement over wrapping external class functions with 
a function!

But 
what I was originally trying to do was set the labelfunction in the MXML which 
was giving the error I described. I also tried your suggestion here, but this 
didn't work either.

Thanks 
for your pointer,

Regards,
Simon 
Fifield


  -Original Message-From: Dirk Eismann 
  [mailto:[EMAIL PROTECTED]Sent: 30 March 2005 
  15:05To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] LabelFunctions and SortFunctionsHave you 
  tried using the mx.utils.Delegate class? 
  myGrid.getColumnAt(0).labelFunction = 
  mx.utils.Delegate.create(anotherClassInstance, 
  anotherFunction);haven't tested it, but it should 
  work.Dirk.-Original Message-From: Simon Fifield 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, March 30, 2005 4:03 
  PMTo: [EMAIL PROTECTED] ComSubject: [flexcoders] LabelFunctions 
  and SortFunctionsAt the moment a labelFunction or sortFunction has 
  to be defined in the MXML file that it is being used in.It would be 
  nice to be able to use an external Class to achieve this and thus enhance code 
  clarity and re-use.Does anyone have any ideas on this?Kind 
  Regards,Simon FifieldYahoo! Groups 
  SponsorADVERTISEMENTYahoo! Groups 
  LinksTo visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
  To unsubscribe from this group, send an email 
  to:[EMAIL PROTECTED] Your use of Yahoo! 
  Groups is subject to the Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] super.super?

2005-03-29 Thread Simon Fifield





Hi 
Flexcoders,

Is it possible to 
make a call like:super.super.layoutChildren();
The compiler says 
"There is no such method with the name 'super'."

Is there another way 
around?



Kind Regards,

Simon 
Fifield







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] ComboBox __dropdown.bug97664?

2005-03-28 Thread Simon Fifield





I'm curious about 
the __dropdown.bug97664 in the ComboBox component.

Anyone have any idea 
what that's all about?


Kind Regards,

Simon Fifield








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] RowRenderer for Custom List

2005-03-26 Thread Simon Fifield





Hi,

I'm trying to extend 
the List class and the default SelectableRow rowRenderer. I have successfully 
extended the List class but cannot get it to use my 
RowRenderer.

It works if I use 
the rowRenderer property in MXML (with the full class  path - 
com.mango.controls.ListMenuRow)but I want it to use my rowRenderer by 
default - therefore I need to get the extended List to instantiate my 
rowRenderer rather than the SelectableRow.

I've tried just 
overriding:__rowRenderer : String= "SelectableRow";
and changing it 
to:__rowRenderer : String= "ListMenuRow";
and 
also:
__rowRenderer : String= "ListMenuRow";
Trying something 
else.
I just tried copying the 
complete code for the ScrollSelectList into my extended List and changing the 
Class name etc, and set the __rowRenderer string to the class name of my new 
Rowrendere and that worked...so I can conclude that there is something wrong 
with my extension of the List.

Here's the 
code:import mx.controls.List;import com.mango.controls.ListMenuRow;class com.mango.controls.ListMenu2 extends List {var __rowRenderer : String = "com.mango.controls.ListMenuRow";//Component Classstatic var symbolName : String = "ListMenu2";static var symbolOwner : Object = ListMenu2;var className : String = "ListMenu2";// Class Constructorfunction ListMenu() {}// MXML Component Constructorfunction constructObject2(o:Object) : Void{super.constructObject2(o);}// Component Initialiserfunction init() : Void{super.init();}function createChildren():Void {super.createChildren();}// all the below catch mouse events from the rowsfunction onRowPress(rowIndex : Number) : Void{if ( rows[rowIndex].item.separator != "true" ) {super.onRowPress(rowIndex);}}function onRowRollOver(rowIndex : Number) : Void{if ( rows[rowIndex].item.separator != "true" ) {super.onRowRollOver(rowIndex);}}function onRowDragOver(rowIndex : Number) : Void{if ( rows[rowIndex].item.separator != "true" ) {super.onRowDragOver(rowIndex);}}}
Can anyone see what 
is wrong with thismy eyes are getting blurry!

Kind Regards,

Simon Fifield








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] RowRenderer for Custom List

2005-03-26 Thread Simon Fifield





Thanks 
Matt,

I've 
just been trawling through the thousands of Flexcoders posts and found a reply 
you sent to someone explaining how you can use FDB to view the code because it 
is probably different to the classes found in FlexForFash 
resources.

A 
little dissappointing that these classes are not the final classes used for 
Flex1.5. I've literally taken days to try and figure out what I'm doing wrong 
and the source code I'm looking at is not the correct source code at all - 
FRUSTRATION!!!

Anyway, I've literally just this minute copied the code from FDB into 
FlexBuilder and seen that there is indeed at the bottom of ScrollSelectList a 
method called classConstruct() which specifically refers to the SelectableRow 
class.

I'll 
bear in mind next time not to bother looking at the code in FlexForFlash as it 
seems unreliable - or am I missing the point of why it's there in the first 
place?

Anyway, thanks again for the tip.


And by 
the way - I admire just how sharp your skills are - keep up the good 
work.


Regards,
Simon



  -Original Message-From: Matt Chotin 
  [mailto:[EMAIL PROTECTED]Sent: 26 March 2005 
  19:49To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] RowRenderer for Custom List
  
  In init() you can do 
  rowRenderer = com.mango.controls.ListMenuRow (no 
  quotes).
  
  rowRenderer takes 
  either a String or a Class, so pass the class in init() and I think youll be 
  fine.
  
  Matt
  
  
  
  
  
  From: Simon 
  Fifield [mailto:[EMAIL PROTECTED] Sent: Saturday, March 26, 2005 3:06 
  AMTo: 
  [EMAIL PROTECTED] ComSubject: [flexcoders] RowRenderer for 
  Custom List
  
  
  Hi,
  
  
  
  I'm trying to extend the List 
  class and the default SelectableRow rowRenderer. I have successfully extended 
  the List class but cannot get it to use my 
  RowRenderer.
  
  
  
  It works if I use the rowRenderer 
  property in MXML (with the full class  path - 
  com.mango.controls.ListMenuRow)but I want it to use my rowRenderer by 
  default - therefore I need to get the extended List to instantiate my 
  rowRenderer rather than the SelectableRow.
  
  
  
  I've tried just 
  overriding:__rowRenderer : String= "SelectableRow";
  
  and changing it 
  to:__rowRenderer : String= "ListMenuRow";
  
  and 
  also:
  __rowRenderer : String= "ListMenuRow";
  
  Trying something 
  else.
  
  I just tried copying the complete 
  code for the ScrollSelectList into my extended List and changing the Class 
  name etc, and set the __rowRenderer string to the class name of my new 
  Rowrendere and that worked...so I can conclude that there is something wrong 
  with my extension of the List.
  
  
  
  Here's the 
  code:import mx.controls.List;
import com.mango.controls.ListMenuRow;class com.mango.controls.ListMenu2 extends List {var __rowRenderer : String = "com.mango.controls.ListMenuRow";

//Component Class
static var symbolName : String = "ListMenu2";
static var symbolOwner : Object = ListMenu2;
var className : String = "ListMenu2";

// Class Constructor
function ListMenu() {
}// MXML Component Constructor
function constructObject2(o:Object) : Void
{
super.constructObject2(o);
}// Component Initialiser
function init() : Void
{
super.init();
}function createChildren():Void {
super.createChildren();
}// all the below catch mouse events from the rows
function onRowPress(rowIndex : Number) : Void
{
if ( rows[rowIndex].item.separator != "true" ) {
super.onRowPress(rowIndex);
}
}
function onRowRollOver(rowIndex : Number) : Void
{
if ( rows[rowIndex].item.separator != "true" ) {
super.onRowRollOver(rowIndex);
}
}
function onRowDragOver(rowIndex : Number) : Void
{
if ( rows[rowIndex].item.separator != "true" ) {
super.onRowDragOver(rowIndex);
}
}
}
  
  Can anyone see what is wrong with 
  thismy eyes are getting blurry!
  
  
  
  Kind 
  Regards,
  
  
  
  Simon 
  Fifield
  
  
  







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Flex 1.5 price

2005-03-25 Thread Simon Fifield

I heard that Macromedia decided that they wee going to move Flex over to
Apache to be released as an Open Source Project.

;-)

-Original Message-
From: Jeff Steiner [mailto:[EMAIL PROTECTED]
Sent: 25 March 2005 17:21
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 1.5 price



I heard months ago that the price was going to change on April 1st.  I still
don't know if it will go up or down - as I have heard both from different
sources.

I would also guess that if the price goes up that sometime soon MM will
introduce a scaled down version of Flex server to serve companies that do
not have the money to spend on Flex Server now.

Just my .02

Jeff
http://www.flexauthority.com

- Original Message -
From: Dennis Jackson [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, March 25, 2005 8:36 AM
Subject: Re: [flexcoders] Flex 1.5 price


 Sounds like laszlo time :)
 -Original Message-
 From: Matthew Shirey [EMAIL PROTECTED]
 Date: Fri, 25 Mar 2005 08:32:45
 To:flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex 1.5 price


 Our shop cannot hardly pull the current price... If it goes up I don't
 know what it will mean for us, but I doubt its good.  We're in love
 with flex, but we may have to give it up if they raise the price on it
 like that.

 -- Matthew


 On Fri, 25 Mar 2005 14:25:38 +0200, Robert Stuttaford
 [EMAIL PROTECTED] wrote:
 
 
 
  Ohh lord it's that time again
 
 
 
  I started freelancing on April 1 2004  my boss thought I was trying to
pull
  his leg!
 
 
 
  I guess that means it's champagne time for me soon 
 
 
 
 
 
 
  From: ?? [mailto:[EMAIL PROTECTED]
   Sent: 25 March 2005 01:54 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Flex 1.5 price
 
 
 
 
 
  I heard bad news today.
 
 
 
  Macromedia will change Flex 1.5 price $12,000(2cpu) to $20,000(1cpu).
 
 
  This price will be started at april 1, 2005.
 
 
   Is it true?
 
 
 
 
 
  yang lim.
 
 
 
 
 
 
 
 
 
 
 
   Yahoo! Groups Sponsor
 
   ADVERTISEMENT
 
 
 
   Yahoo! Groups Links
 
 
  To visit your group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
 
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



 Yahoo! Groups Links








 Sent via BlackBerry - a service from ATT Wireless.



 Yahoo! Groups Links









Yahoo! Groups Links











 
Yahoo! Groups Links

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

* 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/
 





[flexcoders] Custom Control Components

2005-03-24 Thread Simon Fifield





Is it just me, or 
are custom control (actionscript) components really really difficult to get your 
head around?

I am struggling with 
just about every aspect of creating custom controls, from deciding what to 
extend, through sizing/layout,right down to event 
handling.

I have created some 
custom controls but they have never turned out to be what I really 
wanted.

There is a real lack 
of documentation about this subject. I've read the Flex Components PDF, 
andI've read the relevant parts of Developing Flex Apps, but none of these 
really covers creating components in actionscript from scratch through to more 
advanced components at reasonable steps. Some of the more basic examples that 
are given require you to draw a circle in Flash first - I don't want to (and I 
know I shouldn't) have to use Flash to create a basic custom 
component.

I would like a more 
in-depth discussion of what the various sizes are - _measuredXXX, preferredXXX, 
defaultXXXproperties etc
A clearer 
explanation of the instantiation and display order/process.
Perhaps a breakdown 
of some existing components that have both been built from scratch and has 
extended other components.

Anyoneelsefindingthistopichard going like 
me?


Kind Regards,

Simon 
Fifield







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Custom Control Components

2005-03-24 Thread Simon Fifield





Manish 
posted a good article from the Macromedia Devnet Flex site:
http://www.macromedia.com/devnet/flex/articles/creating_comp.html

I have 
yet to go through the article in detail and try it out with my own home-brewed 
component. From a quick scan it looks quite in depth, but 
simple.

I'll 
let you know how I get on.

Regards,
Simon


  -Original Message-From: Erik Westra 
  [mailto:[EMAIL PROTECTED]Sent: 24 March 2005 14:45To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Custom Control 
  Components
  I feel u there, 
  
  I myself want to create components that are fully 
  functional, skinnable and fit right into the V2 architecture. I havent been 
  able to put my head around it yet. I think i found the the same PDF u are 
  talking about (Developing Flex Components and Themes in Flash Authoring) wich 
  i hope gives enough detail.
  
  A problem in this matter is that the flow of components 
  (UIObject and UIComponent with their helper classes) is very complex and not 
  easy to understand. And besides that, i couldnt find a document that describes 
  the flow very good (it may be in the PDF though).
  
  I understand that this is a complex problem for 
  macromedia as well, as they are familiar with this architecture. Maybe we 
  could provide them with a list of questions regarding the building of 
  components. Questions like:
  
  - How can i makea custom component 
  skinnable?
  -- And how does the skinning of components work 
  internally?
  - Say i want to build a 'wizard' (next, previous) 
  component, how would u do it?
  - I want to make a component with buttons from wich the 
  states are dynamicly loaded images combined with a label. The placement of the 
  label is dependend of the available size of the component. In wich 'hook' 
  would i place the check function. And how would i build a button component 
  with different states?
  
  As u can see these are more practical based questions of 
  problems i ran into. Im guessing that more of us developers are having these 
  kind of questions.
  
  
  Greetz Erik
  
  
  
  From: Simon Fifield 
  [mailto:[EMAIL PROTECTED] Sent: donderdag 24 maart 2005 
  14:59To: [EMAIL PROTECTED] ComSubject: 
  [flexcoders] Custom Control Components
  
  Is it just me, or 
  are custom control (actionscript) components really really difficult to get 
  your head around?
  
  I am struggling 
  with just about every aspect of creating custom controls, from deciding what 
  to extend, through sizing/layout,right down to event 
  handling.
  
  I have created 
  some custom controls but they have never turned out to be what I really 
  wanted.
  
  There is a real 
  lack of documentation about this subject. I've read the Flex Components PDF, 
  andI've read the relevant parts of Developing Flex Apps, but none of 
  these really covers creating components in actionscript from scratch through 
  to more advanced components at reasonable steps. Some of the more basic 
  examples that are given require you to draw a circle in Flash first - I don't 
  want to (and I know I shouldn't) have to use Flash to create a basic custom 
  component.
  
  I would like a 
  more in-depth discussion of what the various sizes are - _measuredXXX, 
  preferredXXX, defaultXXXproperties etc
  A clearer 
  explanation of the instantiation and display 
order/process.
  Perhaps a 
  breakdown of some existing components that have both been built from scratch 
  and has extended other components.
  
  Anyoneelsefindingthistopichard going like 
  me?
  
  
  Kind Regards,
  
  Simon 
  Fifield







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Cairngorm for a newbie :)

2005-03-17 Thread Simon Fifield



Hi 
Scott,

I 
think that your understanding of the framework is pretty much 
correct.

The 
way I look at ViewHelpers is that if you need to make any changes to the bit 
that the visual part of the App - the View then the code for this should goonly 
in that Views ViewHelper. For example the user ticks a tick box and the change 
event for the tick box calls a method in the ViewHelper of a StatusView 
Component. The method changes some Text of the StatusView to reflect the new 
status. So the codeis always in a logical placerather than bitsof 
view control code being distributed all over.

Before 
adopting the Cairngorm Framework I found it hard going. The most difficult part 
of Flex without the Cairngorm (or similar) framework is 
locatingObjects/Componentsfrom another Object/Component and 
standardizing this method. In fact I've taken the whole ethos of these Framework 
"Patterns" on board, and added a few extras.After looking at the 
ViewLocator pattern I added a ValueObjectLocator that allowed me to easily 
access the Apps Data Models from whatever Component or ViewHelper I happen to be 
in.

The 
cairngorm framework has vastly expanded my understanding of Object Oriented 
programming and at the same time made my Flex Apps much more understandableand 
maintainable.

I 
greatly thank Steven Webster and the Cairngorm team for their 
efforts.

Regards,
Simon 
Fifield


-Original Message-From: Scott Barnes 
[mailto:[EMAIL PROTECTED]Sent: 17 March 2005 
02:36To: flexcoders@yahoogroups.comSubject: [flexcoders] 
Cairngorm for a newbie :)I'm currently getting ready 
to begin a long journey in FLEXdevelopment for a bunch of systems here at 
work.I've been reading up as much as i can on cairngorm and trying 
tofigure out its value in FLEX and whether I should adopt it or 
ploughon without it.So far I've watched Robin Hilliards Breeze 
preso, sampled some examplecairngorm applications from both I2 guys 
and Robin.I've outlined some summary notes below, and would absolutely 
love itif someone here could correct them or expand on them to enableme 
tounderstand the cairngorm luv :)Heres what I've gathered so 
far:- formalised approach to command subscriptions, in that a 
controlleris established which registers itself against commands for both 
Viewsand Models - but in a relatively simplified syntax (ie 
addCommand)- Seperating ViewPods from logic via "ViewHelpers". It 
appears thatthe framework allows a developer to add "behaviours" or 
"logic" to aview but in a way that its not coupled with that said view (ie 
iassume you could add a ViewHelper to other ViewPods? - yet all 
feedoff the one instance/codebase).- Templated Command Objects : 
it seems to me that the whole Commandconcept has established a base 
template to work from, so thatonResult, onFault and execute are 
automatically invoked per command? -then the developer can just fill in 
the blanks based on the eventtype?- ViewLocator - kind of reminds 
me of DHTML'sdocument.getElementById() in that it appears each ViewHelper 
registersitself within cairngorm and the ViewLocator simply provides a 
dynamicbridge between the actual view and the object requesting its 
location?or something like that?Thats my note so far, and again I 
do apologise if its inaccurate inanyway but i'm trying to wrap my 
headspace into how it implements MVCand why its used.If this is 
Offtopic I do apologise but *poke* *prod* a "GettingStarted Guide" would 
of been great ;) heheheheh-- Regards,Scott 
Barneshttp://www.mossyblog.com


DateField - setting selectedDate when enable=false

2005-03-16 Thread Simon Fifield



Trying toset 
selectedDate on the DateField component whenenabled = false does not set 
or display the date given to it.

Is this abug or a 
feature?

Personally, I think 
that it should be possible to set it programmatically when enabled = false but 
user interaction is disabled. Does this make sense or am I missing something 
here?

It seems to me that 
the DateField and DateChooser really need a major overhaul!

Kind Regards,

Simon Fifield



RE: [flexcoders] flexcoders is one year old~

2005-03-16 Thread Simon Fifield



1237

Simon

-Original Message-From: David Mendels 
[mailto:[EMAIL PROTECTED]Sent: 16 March 2005 
17:14To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] flexcoders is one year 
old~Hi,Anyone know how many members thislist 
has now?-David  -Original Message- From: 
choipeter [mailto:[EMAIL PROTECTED]  Sent: Wednesday, March 16, 
2005 8:17 AM To: flexcoders@yahoogroups.com Subject: 
[flexcoders] flexcoders is one year old~
Anyone realize that today is the one year-old birthday of this group? 
Best wishes to all flex coders! 
  Yahoo! Groups Links   
 


DatagridColumn Sort function

2005-03-11 Thread Simon Fifield



I set up a 
DataGridColumn sort function but the sort only happens every otherheader 
clickeven though the sort arrow changes direction on every 
click.

Anyone got any 
ideas???


Kind Regards,

Simon Fifield



FlashPaper for developers?

2005-02-25 Thread Simon Fifield



Does anyone know if 
it's possible to get a developer (i.e. no cost) version of 
FlashPaper?


Kind Regards,

Simon Fifield



RE: [flexcoders] List.getLength

2005-02-18 Thread Simon Fifield
Title: Message



Hi 
Markus,

I'm 
not 100% sure about this, but I think that all list based 
componentsimplement the new DataSelector class.

Regards,

Simon

-Original Message-From: Markus Ansamaa 
[mailto:[EMAIL PROTECTED]Sent: 18 February 2005 
13:38To: flexcoders@yahoogroups.comSubject: [flexcoders] 
List.getLength
I have wondered 
why there isn't a getLength method for a List. I have used 
List.dataProvider.length which feels clumsy to use. Today I just happenedto 
try if such a method exists and there it was! I think most of you alreadyknew 
that, but to me it was a totally new discovery. List seems to use DataSelector 
internally, which is the reason why getLength is not mentioned in the 
API.

Iam just 
wondering, how should I know that List uses DataSelector and getLength 
methodexists?! List's API says nothing about getLength or DataSelector. 

And howmany other 
"hidden" interfaces there are?

Markus 
Ansamaa