RE: [flexcoders] how to create a component in AS?

2006-07-05 Thread Bjorn Schultheiss












Youll want to create a new flash.display.TextField
instance.

Whats cool is you could compile it in
the flash 9 ide with graphical mcs.

Then reference those child elements once
imported into a flex app.





Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Wednesday, 5 July 2006 3:18
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] how to
create a component in AS?













I have not looked at this example, but presumably it extends some
container, like Canvas or VBox.



You will want to use the createChild() method of that container to
add your label.



Tracy













From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of shemeshkale
Sent: Tuesday, July 04, 2006 8:47
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to create
a component in AS?











on the
Adobe website there is a tutorial to create an AS clock.
here : http://www.adobe.com/devnet/flex/articles/creating_comp.html

i want do add a label to show the time in digits on top of all.
how do i create this label inside the AS file?














__._,_.___





--
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] Re: Cairngorm Responder interface changes

2006-07-05 Thread Tim Hoff
Hi Jesse,

Let me start by saying that I acquiesce; no more viewHelpers.  All 
code has been rolled into the view.  For component oriented 
development, it makes sense.  

Concerning your cogent points of view:

1) ResultEvent  FaultEvent events:  Not sure how much of an impact 
this makes in reality, But yes, do we need to support undefined?  
It adds weight.

2) Command callbacks:  When I first got into Cairngorm, I wondered 
why there wasn't a round trip of communication back to the 
view/gesture.  There are plenty of local view actions that benefit 
from knowing the result of a command; maybe ViewResponder.  Here, 
I would hope that you would accept Steven's invitation to show your 
enhanced code, so that it might benefit all of us by possibly being 
rolled into Cairngorm.

Functions vs. state variables: Yes, the scope of the function 
dictates the need for state representation.  I mean, if model == 
state, should every toggled RadioButton or focused TextInput require 
a state variable for control.  At a point it becomes redundant, and 
more efficient to address locally.

3) Added 2 methods to ServiceLocator:  See #2 about sharing and 
possible adoption.

My comments to you are not personal, or even professional.  I have 
seen your work, website, and sat in on one of your online 
presentations.  I think that you are brilliant.  Being from SoCal, I 
know and appreciate your snowboarder mentality. :)  I agree with 
your points here.  I would just hope that, instead of bagging, you 
would contribute your proposed solutions, so that we all might enjoy 
a cleaner architecture.

::looking for teddy bears::
-TH

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

 Sending again; sent at like 10:00am this morning, but still don't 
see it.  10:03pm now.
 
 -
 
 1. ResultEvent  FaultEvent events.  I disagree with this change, 
so have changed them back instead of of using the * change for the 
Responder interface.
 
 2. Command callbacks.  Sometimes, there is a legitimate need for a 
View to know when a Command is completed.  In my consulting, we've 
added an optional callback method that can be passed via 
EventBroadcaster (Cairngorm 1).  So, View's launching Commands have 
the option of using a Callback (like flash.net.Responder) to have a 
result method called when the Command is done.  We extended 
Cairngorm's command to have all of this plumbing hidden.  The 
convention we have is, If the View has his onResult run, he can 
conclude that the Command succeeded in it's operation.  If a fault 
was fired in the Delegate, this means the app is broken and needs to 
be fixed.  There is no error handling, only error fixing.
 
 In my personal work, I've implemented both; result and faults, via 
Event's.  If an event extends my JXLEvent class (which extends 
Cairngorm), it has the option of getting those callbacks.  I should 
probably do it like we do it at work, but for now, it works.  I like 
handling errors, so although fault and result are pretty low level, 
I can have View's handle errors (or Commands obviously).
 
 Both avoid ViewLocator via a nice convention.  It also makes it 
cake to have a chained command with visual feedback.  You can have 
your View fire off other commands in a particular order AND show 
visual feedback the whole time.  Could you do this by binding?  
Sure, but I'd rather use functions vs. state variables. 
 
 3. Added 2 methods to ServiceLocator.  He doesn't support Producer 
or Consumer (MessageAgent) services, so with a new method he does.  
He also doesn't support NetConnection; with the new method, he 
does.  Since Cairngorm was made for a more request response, it 
feels like both of the above are halfway implemented, but for 
sending messages, Cairngorm works great, including Acknowledge 
messages for Delegates that fire the original message.  In both 
cases, actual callbacks are handled by totally different classes 
that basically act as Observers, and emit events.  The more 
specialized (for example, a channel in FDS created for Text 
messages, and thus Chat only) is an extension of that 
ConsumerObserver class, called ChatObsever, and he omits Chat 
specific events for those who care.  They, like Delegate's, utlize 
ServiceLocator.
 
 I would, however, prefer you all either give me a better idea(s), 
christen this idea as good for handling NetConnection / FDS' 
consumer/producer model, and/or implement something that supports 
these push based technologies into Cairngorm.
 
 With the exclusion of #1, both #2, and #3 can be done via 
extneding the Cairngorm base classes so you're not affecting the 
original framework, only extending it.  I'd prefer #3 be made 
official though, by you all somehow, some way.
 
 - Original Message - 
 From: Steven Webster 
 To: flexcoders@yahoogroups.com 
 Sent: Monday, July 03, 2006 6:03 PM
 Subject: RE: [flexcoders] Re: Cairngorm Responder interface changes
 
 
 Jesse,
 
 I'd love for you to share 

RE: [flexcoders] CF Flash Remoting project results in Jrun servlet error

2006-07-05 Thread Bjorn Schultheiss












I dont think its building the
directory.

You will need to confirm that it exists
in wwwroot/test/bin/





Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of yaagcur
Sent: Tuesday, 4 July 2006 11:20
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CF Flash
Remoting project results in Jrun servlet error











If I attempt to set up a project using the above
wizard, running the
project in a browser

e.g http://localhost:8500/test/bin/main.html


produces the error

404 /test/bin/main.html.

This applies even if I am not attempting any remoting e.g just putting
a button on the page. The same project done in the basic method
produces the correct outcome

If I add the additional compiler argument
-services C:\CFusionMX7\wwwroot\WEB-INF\flex\services-config.xml
-locale en_US
to a basic project, the page loads correctly. However I cannot make
any remote connections work - just get busy cursor

Any ideas on what I can do. Is there a log file somewhere I should be
accessing. I cannot determine its whereabouts






__._,_.___





--
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] Server push from ColdFusion without FDS?

2006-07-05 Thread Bjorn Schultheiss
Nah you're dreaming :)
I think he's saying that coldfusion is configured to work with FDS to
achieve push.

Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, 4 July 2006 8:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Server push from ColdFusion without FDS?

On Monday 03 July 2006 23:32, Greg Fuller wrote:
  So the question is:  Can you perform server-to-client-push without
 installing FDS?  Which is the same as asking (I think): Is
 server-to-client-push built into the cf adaptor, like remoting?  Or am
 I only dreaming?

I think the only way is to have your app poll the server every so often.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

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

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




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



 



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-05 Thread Bjorn Schultheiss












Hey Jesse,



Any idea on why ViewHelper and
ViewLocator classes are in Cairngorm 2 if they have been deemed un-beneficial? 

I myself felt obligated to see if there
was a valid use for this based on the fact that they were included.





Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Tuesday, 4 July 2006 7:37 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Cairngorm2: ViewLocator - ViewHelper











Speaking for Steven, but the reason they espoused
using ModelLocator over 
ViewHelpers was a few reasons. First off, many people felt the need to 
create ViewHelpers for every View. This was ridicolous; no View could ever 
do anything useful but instantiate GUI components, and register for events. 
You had no clue WHAT that View could do. Suddenly you're code base 
basically doubled for extremely little gain.

Secondly, most people utilized ViewHelpers with ViewLocator instead of the 
actual View's. While this was nice, no one ever implemented strong typing, 
thus defeating the purpose of casting as ViewHelper describing what the View 
could do.

Third, you wrote more code for no gain. Some people would even put code in 
both the MXML View and ViewHelper, further compounding the issue of
what's 
really being seperated here.

In all fairness, I come from a Flash background where you wrote classes. 
These classes were your View. You can do the same thing in Flex; write your 
class to extend Canvas instead of using a root Canvas tag; same thing. To 
me, organizing code is 2nd nature. MXML + embedded Script tags were just a 
wonderful next step. My code changes never broke my GUI changes and vice 
versa. For some reason, it seems people can't fathom the thought of 
ActionScript in MXML files. That's just absurd; you can see what the GUI is 
AND does in the same. Go look at the source code; all kinds of controls 
draw themselves and perform actions. This isn't rocket science, it's a 
fuggin' form for crying out loud.

The other option of using an external script file for the script tag is just 
as bad. You have to define controls and other buttons again, defeating the 
use of the ID control concept which helps shield your code from being broken 
when you change your GUI. :: que Carlos Mencia duh dah d ::

Bottom line, MXML components are extremely portable and encapsulated with 
ActionScript inside them. Granted, there are still people who will write 
components with ModelLocator's littered amongst them vs.
expousing public 
properties and methods to set the data instead... but that's the developers 
fault, not MXML's.

MXML is just a class... it's ok to write properties and methods in a 
class... seriously, it's ok. :: whips out a bag of teddy bears to hand out 
just in case ::

- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]com
To: [EMAIL PROTECTED]ups.com
Sent: Monday, July 03, 2006 5:01 PM
Subject: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

Thanks for the responses guys,

Dimitrios:
Yes, the majority of my views are updated through binding to the
ModelLocator. However, there are certain functions that are soley
view-related (like setFocus(), filtering a DataGrid, updating a
search parameter VO with view component values prior to executing a
search command), that imo don't merit creating a command to
perform. These kind of functions could just be located in a script
tag inside the view. But, if the functions are numerous, the code
becomes more readable if a seperate class is used.

Bjorn:
I agree that a command shouldn't interrogate a view. That would
defeat the encapsulation. For the most part though, the command
should update the ModelLocator and the ModelLocator should update
the view.

Jesse:
As always, you crack me up. In the situations that I mentioned
above, I assume that you are using a ViewLocator - uid approach.
This is probably more efficient and centralized than using
ViewHelpers. Besides, I really don't want to deal with Satan
spawn. Care to share a small sample of your approach?

All in all, this isn't a huge issue. Out of my current 300 views,
I've only found the need to use three ViewHelpers. My questions are
more theoretical and best practice oriented. Good stuff to know
when scalability is an issue. Also, I'm still not sure what Alex
Uhlmann meant by the ViewHelper adds and removes itself from the
ViewLocator. Guess I need to take a trip back to the Cairngorm
source.

Thanks again for your answers. I was hoping that Steven or
Alistaire had time to chime in here, but I realize that they are
very busy these days.

Cheers,
Tim Hoff

--- In [EMAIL PROTECTED]ups.com,
JesterXL [EMAIL PROTECTED]. wrote:

 ViewHelpers == spawn of satan. Nothing here but bloated
code. Seperation
 of concerns doesn't count here; it's just something they say to
make
 themselves feel better by using them.

 ViewLocators, to me 

RE: [flexcoders] Re: How to integrate Flash and Flex well done ?

2006-07-05 Thread Bjorn Schultheiss












I guess Flash 9 solves the issue of
creating new flash content for flex applications.





Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Versweyveld | VERSO
Sent: Tuesday, 4 July 2006 7:05 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: How
to integrate Flash and Flex well done ?













Just dont expect everything to run smoothly, if you load
flash 8 content (with code) into a 9player swf, you can get all kinds of weird
memory issues http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=54e2eda3



Grtz,

tom













From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Bjorn Schultheiss
Sent: dinsdag 20 juni 2006 1:42
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: How
to integrate Flash and Flex well done ?





Heres a nice article on Flash Swfs within Flex2/AS3

http://www.asserttrue.com/articles/2006/05/23/autocompleted-autocomplete-embed-legacy-swf-as3-0-project-example-updated-for-beta-3







Regards,





Bjorn Schultheiss



Senior Flash Developer



QDC Technologies











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Pan Troglodytes
Sent: Tuesday, 20 June 2006 7:31
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How
to integrate Flash and Flex well done ?











I'm very
new at this, so I gave you all the info I really have. As Tim said, in
the *future*, SWFs created for Flash 9 and up will likely be very friendly with
Flex. But the help is pretty clearly stating that right now anything made
for 8 and below can only talk using LocalConnection. But who knows, maybe
the docs are incomplete/wrong on that part. Like I said, I'm very new at
this... 



On 6/19/06, roberto.rosenthal

[EMAIL PROTECTED] wrote:











Jason, thanks for the prompt reply... But that doesn't
really help,
does it ? How strange.. I just spoke today with James Ward, a Flex
Evangelist, and he assure me that the future for Flash developers was
to build customs components (SWC) to interact with Flex... and also
sugest me to ask the flexcoders group about this issue (what I'm doing).

Anyhow, do you know where I can learn how to do that ? Meaning: build
a custom SWC component with Flash and use it as a Flex component tag.

I really appreciate it,
Roberto Rosenthal 
















-- 
Jason 














__._,_.___





--
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] FlexUnit, Web Service

2006-07-05 Thread Bjorn Schultheiss












Besides dummying the webservice result
can you place the assert in the handler.



I am interested in this and will run
some tests myself later on.





Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bchirgwin
Sent: Tuesday, 4 July 2006 3:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FlexUnit,
Web Service












I have a web service I am trying to write and test a web service using 
FlexUnit.

I write the test that FlexUnit I add the a testsuite, but I can't test 
(assert) the results, because the web service doesn't immediately 
return a response. I have dispatched an event and tried asserting 
results in the dispatched event, but this causes an error in the 
console as asserts are being performed outside of a test.

Any help would be appreciated.






__._,_.___





--
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] ServiceLocator - does it have to be MXML?

2006-07-05 Thread Bjorn Schultheiss












Using the mxml defined service you would
need to set your handlers.

So when calling the service,

Var call:AsyncToken = service.GetDataByGrouping();

Call.resultHandler = blah

Same for fault (excuse word formatting
the code)



In terms of does it have to be mxml,
obviously not, but isnt easier?





Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard
Sent: Tuesday, 4 July 2006 5:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
ServiceLocator - does it have to be MXML?











Is it possible to implement your app's ServiceLocator
in ActionScript?
I strongly prefer making WebService calls in AS so I would rather do
it this way. If this is not possible, I am hoping someone can explain
how a complex call would be made. I am not currently using a Delegate
(isn't Delegate.create not necessary in AS3?), so here is the code in
my Command class.

var service:AbstractService =
ServiceLocator.getInstance().getService(industryService);
service.GetDataByGrouping();

The problem is that neither the onResult nor onFault handlers are firing.

Here is the service as defined in my Services.mxml file:

mx:WebService id=industryService 
wsdl=myWSDL 
showBusyCursor=true
useProxy=false
result=event.token.resultHandler(event) 
fault=event.token.faultHandler(event)

mx:operation name=GetDataByGrouping resultFormat=object
mx:request
GroupingRequests
GroupName
RPRToolStaticData
/GroupName
/GroupingRequests
/mx:request
/mx:operation
/mx:WebService

The equivalent in AS, if you're interested is:

var ws:WebService = new WebService();
ws.loadWSDL(xml_config.client_measures_[EMAIL PROTECTED] +
?WSDL); 
ws.useProxy = false;
ws.addEventListener(result, onIndustryAndSizeIdsLoaded);
ws.addEventListener(fault, onIndustryAndSizeIdsFault);

var op:AbstractOperation;
op = ws['GetDataByGrouping'];

var args:Object = new Object;
args.groupingRequests = new Array();
args.groupingRequests.push({GroupName: RPRToolStaticData});

op.arguments = args;
op.send();

Thanks in advance,
Ben






__._,_.___





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



  






__,_._,___






[Junk E-Mail - LOW] [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] Dat

2006-07-05 Thread polestar11
Thanks Shannon

You have pointed me in the right direction. Just realised that I have
a lot more to learn, reading the manuals.

Cheers
Tracy





 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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/
 




[Junk E-Mail - LOW] [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] Dat

2006-07-05 Thread polestar11
... I mean thanks Tracy





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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] Re: Flex 2 Icon in PopUpMenuButton

2006-07-05 Thread Jason Hawryluk






Thanks for your help, 
but no, it does not solve the problem. Perhaps 
Adobe or others could contribute to this for a better solution, or be aware of 
thebugs/items/work arounds. 

A couple of things with 
this control. After a little 
testing.

1: The lableFunction 
does not work at all. No matter what method chosen.
 

2: Icons 
arenotworking at all.
 2a: 
not with out 3a and/or 3b

3: There is no 
iconFieldlike in the menu. there 
is in the popup menu component however can't get at it design time and it's set 
to icon (which = no icon for xml as I need to use @icon).
 3a: 
The solution to the above for an icon in the popup is on the creation complete 
event set it to @label like so "event.currentTarget.popUp.iconField = 
"@icon";"
 3b: 
or subclass the popupmenubutton, add the property, and do it there.

4: I think that 
checking or un-checking the menu check spot should not close the popup, but 
still dispatchitem Click, or changeevent. 

5: The icon shows when 
bound to a object array only. As per the docs, specify xml possibilities as 
well.
 5a: 
See 3a and 3b for solution

6: When bound to and 
object array, and icon is showing. In the menu drop down portion with each click 
on the menu item in the drop down the icon becomes progressively muddy, seems 
it's not be cleared for each drop down. Or being redrawn over top 
of.
 6a: 
Solution is to use xml and 3a or 3b then the icon displays properly

7: When using a xml 
data source and icons working the icon will not show in the button itself until 
you select an item as the object method does.
 7a: 
3b may be able to fix this.


This 
is the code to demonstrate the behavior described above. Hopefully with all this 
others will not have the same problemsI 
have.

Cheers,

Jason

?xml 
version="1.0" encoding="utf-8"?mx:Application xmlns="mx.controls.*" 
xmlns:mx="http://www.adobe.com/2006/mxml" 
layout="absolute"
mx:Script 
![CDATA[ 
[Embed(source="Shared_Assets/Icons/2.png")] 
public var exitOn:Class;
 
[Bindable] public var menuXml:XML 
= XML(items item label="Inbox" 
icon="exitOn" / item 
label="Calendar"/ item 
label="Sent"/ item label="Deleted 
Items"/ item 
label="Spam"/ 
/items);[Bindable] 
public var menuObject:Array = [{label: 
"Inbox",icon:"exitOn"}, 
{label: "Calendar"}, 
 
{label: 
"Sent"}, 
{label: "Deleted 
Items"}, 
{label: "Spam"}];
private 
function getLabel(item:Object):String{return "this does 
not work";}private function 
handleCustome(event:Event):void{event.currentTarget.popUp.iconField 
= "@icon";} 
]]/mx:Script
!--xml 
data source-- mx:PopUpMenuButton labelField="@label" 
creationComplete="handleCustome(event)" height="22" cornerRadius="0" 
dataProvider="{menuXml.children()}" id="test" x="84" y="40" 
/
!--object 
array data source-- mx:PopUpMenuButton height="22" 
cornerRadius="0" dataProvider="{menuObject}" id="test2" x="312" y="40" 
/
mx:Label 
x="10" y="42" text="XML Bound"/mx:Label x="225" y="42" 
text="Object 
Bound"//mx:Application




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Tim HoffEnvoyé: mardi 4 juillet 2006 
  21:10À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Re: Flex 2 Icon in PopUpMenuButton
  
  
  Hi Jason,
  Kelly Birr addressed this topic a week ago for a MenuBar. The same 
  solution will work for a PopUpMenuButton. They bothuse the Menu 
  class.
  http://groups.yahoo.com/group/flexcoders/message/41282?l=1
  The icon string in your dataProvider has to be the same name as the class 
  variable thatreferences theicon asset.
  -TH--- In flexcoders@yahoogroups.com, "sourcecoderia" 
  [EMAIL PROTECTED] wrote: Any Idea how one could set the icon, 
  tried a few things but dosn't seem  to be working. I want an icon on 
  the individual menu items. The data  source does have the icon set as 
  a string and the asset is available to  the control.  
  Any Ideas ?  Jason
  
__._,_.___





--
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] Array of object types returned from remote objects

2006-07-05 Thread Tom Chiverton
On Tuesday 04 July 2006 17:02, João Fernandes wrote:
 Tom if you want to avoid casting all away in your flex app you can follow
 the new rules for mapping cfcs  AS. Instead of returning an array of
 struts, return an array of components with cfproperty / define in them
 (very same order or it won't work). Better, right click on your AS file and
 use the CF extensions to generate your cfc.

 1) bind your AS class to your cfc generated object

You mean the ActionScript value object ? I'm guessing there is some 
square-bracket compiler hint I need in the class ?

 2) in your remote function call define returntype=mypath.to.my.cfc[] ---
 return type of array of mypath.to.my.cfc (don't know if it's mandatory)

That would be the returnType of the CFC method being called ?

 generate your AS  CFC based on your table

*Ahh* :-)
Choosing 'wizard' and then 'CFC' gives you the option to make ActionScript 
classes too. That's a big help.

Wish me luck :-)

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 





Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-07-05 Thread Tom Chiverton
On Tuesday 04 July 2006 15:47, Tom Chiverton wrote:
 Has anyone else had problems using the printJob classes ?

If I try and print a dynamicaly instantiated GUI component, the job silently 
fails.
If I create the same component in line in the page, the job works well.

Please can someone confirm this and/or an Adobe person take a look ?

In the below example (of it not working) change 
printJob.addObject(formPrintView, FlexPrintJobScaleType.MATCH_WIDTH);
to
printJob.addObject(thePrintView, FlexPrintJobScaleType.MATCH_WIDTH);
to get the working behaviour.

test.mxml:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:print=com.halliwells.flex.archiving.*
 height=100% width=100%

mx:Script  
![CDATA[   
import mx.printing.*;   
import mx.controls.Alert;

private function alertClickHandler(event:Object):void {
var printJob:FlexPrintJob = new FlexPrintJob();
// Start the print job.
if(printJob.start()){
// Create a MyPrintView control as a child of the current view.

var formPrintView:CoverSheetPrintView = new 
CoverSheetPrintView();
addChild(formPrintView);
formPrintView.file=fileModel;

// Add the SimplePrintview control to the print job.
// For comparison, try setting the second parameter to none.
printJob.addObject(formPrintView, 
FlexPrintJobScaleType.MATCH_WIDTH);

// Send the job to the printer.
printJob.send();

// Remove the print-specific control to free memory.
//removeChild(formPrintView);
}else{
Alert.show(Argh, can't start);
}
   }
]]
/mx:Script

mx:Model id=fileModel
xml   
file_id0123456/file_id
file_refMy ref/file_ref
file_desc a nice logn description that goes on and on and on and on and 
on and on and on and on and on and on and on and on and on and on and on and 
on and on and on and on and on and on and on and on and on and on and on and 
on and on and on and on and on and on and on and on and on and on and on and 
on and on and on and on and on and on and on and on and on and on and on and 
on and on and on and on and on and on and /file_desc
/xml
/mx:Model

print:CoverSheetPrintView id=thePrintView file={fileModel}/

mx:Button label=print click=alertClickHandler(event) /

/mx:Application

CoverSheetPrintView.mxml:
?xml version=1.0?
mx:VBox  xmlns:mx=http://www.adobe.com/2006/mxml; backgroundColor=#FF

mx:Script  
![CDATA[   
[Bindable]
public var file:Object;

private function addStars(str:String):String{
return '*'+str+'*';
}
]]
/mx:Script

mx:Label text={file.file_id}/
 
mx:HBox
mx:Label text=Name/
mx:Label text=your name here /
/mx:HBox  

mx:HBox
mx:Label text=File ref:/
mx:Label text={file.file_ref} /
/mx:HBox  

mx:HBox
mx:Label text=Description/
mx:Text text={file.file_desc} width=600 height=600/
/mx:HBox  

/mx:VBox

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

* 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] Flex and commercial use

2006-07-05 Thread Tom Chiverton
On Tuesday 04 July 2006 18:50, Ville Walveranta wrote:
 Yeah, it’s the IDE that costs $499, but it’s not necessary to create Flex
 apps (as the compiler is free), though it does make the life with Flex much
 easier :-).

I'm not so sure as I was.
But then I was happy with CFEclipse rather than DreamWeaver or HomeSite :-)

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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] Array of object types returned from remote objects

2006-07-05 Thread João Fernandes
Tom,

How can you have missed everything ColdFusion team has been speaking about all 
this time? 
ColdFusion Extensions can make your life a lot easier (believe me). Generate 
those files and you'll see what must implement, but basically 
1) in your AS :
[RemoteClass(alias=mypath.to.my.cfcomponent.thiscaseReactorTomssql)] 
2) your CFC (VO in CF side):
Have a alias attribute in your component tag with the dot path notation 
like  mypath.to.my.cfcomponent.thiscaseReactorTomssql
Have cfproperty tags for each attribute and with same order like in 
your AS file

With this, if you return an array of any CF component, that will be translated 
to an ArrayCollection of your AS Value Object, so, no more castings.

In case you plan to use FDS, hasOne and hasMany properties inside your CFC 
component should be defined
Company/employees (hasMany)/address(hasOne) example:
In your company component
cfproperty name=employees type=path.to.the.employees.component[]/
cfset this.employees = arraynew(1)/

cfproperty name=address type=path.to.the.address.component/
cfset this.address = structnew()/


João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom 
Chiverton
Sent: quarta-feira, 5 de Julho de 2006 9:32
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Array of object types returned from remote objects

On Tuesday 04 July 2006 17:02, João Fernandes wrote:
 Tom if you want to avoid casting all away in your flex app you can 
 follow the new rules for mapping cfcs  AS. Instead of returning an 
 array of struts, return an array of components with cfproperty / 
 define in them (very same order or it won't work). Better, right click 
 on your AS file and use the CF extensions to generate your cfc.

 1) bind your AS class to your cfc generated object

You mean the ActionScript value object ? I'm guessing there is some 
square-bracket compiler hint I need in the class ?

 2) in your remote function call define returntype=mypath.to.my.cfc[] 
 --- return type of array of mypath.to.my.cfc (don't know if it's 
 mandatory)

That would be the returnType of the CFC method being called ?

 generate your AS  CFC based on your table

*Ahh* :-)
Choosing 'wizard' and then 'CFC' gives you the option to make ActionScript 
classes too. That's a big help.

Wish me luck :-)

--
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- Great 
things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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 ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/
 





[flexcoders] ScrollBar eating content

2006-07-05 Thread Jean-Luc ESSER





In beta3, when using an auto scroll bar in a Box 
with content sized to 100% width and no height, when the scrollbar appeared, the 
content was resized accordingly so the scroll bar could fit in.

In final version, the scroll appears on top of the 
content, thus eating some of it !

I find this to be very annoying.
Any workarounds ?

Best,
Jean-Luc.
__._,_.___





--
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] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-05 Thread Steven Webster





Guys,

There's a lot of passion, misconception and misinformation 
around view helpers and their usefulness. However, a fact of life is that 
there ARE a number of projects in production where developers have made their 
own decisions to use ViewLocators and ViewHelpers, and in doing so have 
delivered successful projects. The project that was delivered for Fairfax 
in Australia (http://www.flexdaddy.info/2006/06/19/afr-access-one-of-the-largest-public-flex-apps-to-date/) 
is a great example of this, where Robin Hilliard felt that he gained from using 
the ViewLocator and ViewHelper pattern - I know Robin plans on writing this up 
at some point.

Within Adobe Consulting, we see ViewHelper misused more 
than it's usefully used, and our introduction of the ModelLocator concept was 
our way of steering people to leveraging data-binding instead of abusing 
ViewHelpers beyond their intent. However, it's our responsibility as 
framework developers and maintainers, to not break all the legacy applications 
out there, which is why we've left that pattern in Cairngorm 
2.

Best,

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] 
  


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn 
  SchultheissSent: 05 July 2006 09:06To: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm2: 
  ViewLocator - ViewHelper
  
  
  
  
  Hey 
  Jesse,
  
  Any idea on why 
  ViewHelper and ViewLocator classes are in Cairngorm 2 if they have been deemed 
  un-beneficial? 
  I myself felt 
  obligated to see if there was a valid use for this based on the fact that they 
  were included.
  
  
  Regards,
  
  Bjorn 
  Schultheiss
  Senior Flash 
  Developer
  QDC 
  Technologies
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXLSent: Tuesday, 4 July 2006 7:37 
  AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm2: 
  ViewLocator - ViewHelper
  
  
  
  
  Speaking 
  for Steven, but the reason they espoused using ModelLocator over 
  ViewHelpers was a few reasons. First off, many people felt the need to 
  create ViewHelpers for every View. This was ridicolous; no View could ever 
  do anything useful but instantiate GUI components, and register for 
  events. You had no clue WHAT that View could do. Suddenly you're code base 
  basically doubled for extremely little gain.Secondly, most people 
  utilized ViewHelpers with ViewLocator instead of the actual View's. While 
  this was nice, no one ever implemented strong typing, thus defeating the 
  purpose of casting as ViewHelper describing what the View could 
  do.Third, you wrote more code for no gain. Some people would even put 
  code in both the MXML View and ViewHelper, further compounding the issue 
  of "what's really being seperated here".In all fairness, I come 
  from a Flash background where you wrote classes. These classes were your 
  View. You can do the same thing in Flex; write your class to extend Canvas 
  instead of using a root Canvas tag; same thing. To me, organizing code is 
  2nd nature. MXML + embedded Script tags were just a wonderful next step. 
  My code changes never broke my GUI changes and vice versa. For some 
  reason, it seems people can't fathom the thought of ActionScript in MXML 
  files. That's just absurd; you can see what the GUI is AND does in the 
  same. Go look at the source code; all kinds of controls draw themselves 
  and perform actions. This isn't rocket science, it's a fuggin' form for 
  crying out loud.The other option of using an external script file for 
  the script tag is just as bad. You have to define controls and other 
  buttons again, defeating the use of the ID control concept which helps 
  shield your code from being broken when you change your GUI. :: que Carlos 
  Mencia duh dah d ::Bottom line, MXML components are extremely 
  portable and encapsulated with ActionScript inside them. Granted, there 
  are still people who will write "components" with ModelLocator's 
  littered amongst them vs. expousing public properties and methods to set 
  the data instead... but that's the developers fault, not 
  MXML's.MXML is just a class... it's ok to write properties and methods 
  in a class... seriously, it's ok. :: whips out a bag of teddy bears to 
  hand out just in case ::- Original Message - From: 
  "Tim Hoff" [EMAIL PROTECTED]comTo: [EMAIL PROTECTED]ups.comSent: 
  Monday, July 03, 2006 5:01 PMSubject: [flexcoders] Re: Cairngorm2: 
  ViewLocator - ViewHelperThanks for the responses 
  guys,Dimitrios:Yes, the majority of my views are updated through 
  binding to 

Re: [flexcoders] Displaying the error string from a web service?

2006-07-05 Thread Paul Norton
Reading other posts here got me to looking at the resultFormat attribute 
on the operation element.
Setting that attribute cleared up my issues.

Thanks,

Paul

Carson Hager wrote:
 Hey Paul,
  
 All of the details are definitely coming back and should be 
 accessible. You mention you're getting the erroNumber.  How are you 
 accessing it?  Can you share some code so I can see what you're doing?
  
 Thanks,
  
  
 Carson
  
 
  
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com http://www.cynergysystems.com/
  
 Email:  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466
  

 
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Paul Norton
 *Sent:* Monday, July 03, 2006 10:38 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Displaying the error string from a web service?

 Hi,

 I'm using flex 2. I'm trying to interface with a webservice. I can get
 the app on the server to respond but I'm having trouble interpreting the
 response. Even thought the response has an error number, an error
 string, and a result node, all I seem to be able to display is the error
 number.

 The response from the server looks like this:

 SOAP-ENV:BodyWS:RunScriptResulterrorNumber4/errorNumbererrorStringUnterminated
  

 string
 constant/errorStringscriptResult/scriptResult/WS:RunScriptResult/SOAP-ENV:Body

 {WS.RunScript.lastResult} gives me the errorNumber but I can't see how
 to get the errorString (or scriptResult, if it had content.)

 Thanks!

 Paul

  


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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/
 





[flexcoders] Compiling Flex--thank you!

2006-07-05 Thread John



Hi,I would like to thank everybody who has offered me help`-`I can't figure out how to compile flex applications using eclipse (or any IDE) on the Mac, and have given up on it. It worked fine in beta 3, but the final release does not work for me!I guess I will have to wait for flex builder to come to the mac, as I heard that is being worked on.If anybody has a detailed solution and would like to help, please contact me at school:[EMAIL PROTECTED]Thanks very much for all those who have helped`-`John 
		Want to be your own boss? Learn how on  Yahoo! Small Business. 

__._,_.___





--
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] Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread Artur Kordowski





@Tom
Why not use a delegate ?
The delegate class is not longer available in the flex framework, so I 
can't use it.

@Jester
I've got still an error. Here my code how I've build 
it.

Service.mxml - subclass from ServiceLocator
?xml version="1.0" 
encoding="utf-8"?cairngorm:ServiceLocatorxmlns:mx="http://www.adobe.com/2006/mxml"xmlns:cairngorm="com.adobe.cairngorm.business.*"mx:WebServiceid 
= "webservice"wsdl = "http://123.456.78.90/webservice/webservice.asmx?wsdl"result 
= "event.token.resultHandler(event)"fault = 
"event.token.faultHandler(event)"//cairngorm:ServiceLocator

index.mxml 
- Main App
private 
function init():void{var call:AsyncToken = 
ServiceLocator.getInstance().getService("webservice").getData();call.addEventListener(mx.rpc.events.ResultEvent.RESULT, 
resultHandler);}

When I use 
it this way I've got still an error from the debug player: "resultHandler is no 
function".

Any other 
ideas?

Artur
__._,_.___





--
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] Re: Beta 3 WebService Result

2006-07-05 Thread someguy7_7
Our webservices are written in J2EE 1.5 with Axis. I can get the
specific version of Axis if you think it matters. 

Here is part of wsdl that pertains to the question. Sorry about the
formatting.

complexType name=SearchResponse
sequence
element maxOccurs=1 minOccurs=0 name=items nillable=true
complexType
sequence
element maxOccurs=1 minOccurs=0 name=totalresults
type=tns1:int/
element maxOccurs=unbounded minOccurs=0 name=item
nillable=true
complexType
sequence
element maxOccurs=1 minOccurs=0 name=category
type=tns1:string/
element maxOccurs=1 minOccurs=0 name=categoryid
type=tns1:string/
/sequence
/complexType
/element
/sequence
/complexType
/element
/sequence
/complexType


Thanks
--- In flexcoders@yahoogroups.com, Kelly Birr [EMAIL PROTECTED] wrote:

 Yes, most likely.  What does your WSDL element look like for these
strings?
 What technology are you using for your web services (.NET, J2EE, CF)? 
 
 - Kelly
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of someguy7_7
 Sent: Tuesday, July 04, 2006 9:11 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Beta 3 WebService Result
 
 I assume you mean set the resultFormat in the operation. I have
set that
 as well as makeObjectsBindable=false in the webservice and
operation
 but I still comes back as an array of complex strings. If I look at
the last
 result in the debugger it looks like this.
 
 item=Array(@12345)
   [0]=mx.rpc.xml.ComplexString(@23423)
   [1]=mx.rpc.xml.ComplexString(@745545)
 
 I am expecting something like
 item=Object(@12345)
   [0]=category(@23423)
   [1]=categoryid(@745545)
 
 Then I will be able to reference it by lastResult.items.item.category
 instead of lastResult.items.item[0].
 
 Any ideas on why I am getting complex strings? Is this something to
do with
 how my wsdl is structured?
 
 Thanks
 --- In flexcoders@yahoogroups.com, Kelly Birr kelly.fx@ wrote:
 
  If you set makeObjectsBindable=false and resultFormat=object in 
  the webservice tag you should get arrays of objects.
  
  mx:WebService id=ws resultFormat=object
 makeObjectsBindale=false /
  
  - Kelly
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  On Behalf Of someguy7_7
  Sent: Monday, July 03, 2006 2:37 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Beta 3 WebService Result
  
  I am finally getting back to this issue. I have since moved to Flex 
  2.0 released version. Is there no way for me to use
 resultFormat=object if the
  resulting data contains Object Arrays? Or in flex 2.0 are we
 required to use
  e4x?  
  
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
   Either way,
   
   Change the resultFormat:
   
   mx:WebService id=ws resultFormat=e4x/
   
   Or, cast lastResult to an XML var.
   
   -TH
   
   --- In flexcoders@yahoogroups.com, someguy7_7 bmcpheeters@
   wrote:
   
Do you mean change the operation.resultFormat to xml? Or
somehow 
cast the lastResult of the operation to a variable typed to XML?

Brian
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:

 The default return type from a web service call is object().  If
   you
 cast this to XML, you should be able to get the same
   funtionality.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Brian McPheeters 
 bmcpheeters@ wrote:
 
  We are porting an application from 1.5 to 2.0 Beta 3. The app
 connects
  to a couple different web services to populate a ListView. In
   the
 1.5
  version the result from the web service is an object that I
   can
 pull
  data for the list view from using the result xml element
   names. 
   
  Ex: currentitem.category, currentitem.categoryid
   
  But in 2.0 Beta 3 the result is interpreted by flex as an
   Array.
  currentitem = Array (@38cceb21). This causes me to index into
   the
 array
  to get the values. 
   
  Ex: currentitem[0],currentitem[1]
   
  Both apps are using the exact same webservices. Do I need to
 somehow
  cast the result from the webservice to an object? Any ideas on
 what is
  causing this and how to get it so I can reference by element
   name
 in 2.0
  Beta 3?
   
  Thanks
  Brian
 

   
  
  
  
  
  
  
  
  
  --
  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
~-- See
 what's inside the new Yahoo! Groups email.
 http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
 

[flexcoders] Cairngorm 2 SequenceCommand question

2006-07-05 Thread der_kotty
Ok, here's another question about the new Cairngorm 2 release:

In the org.nevis.cairngorm.control.FrontController I used to add
commands by using 

addCommand( commandName : String, commandRef : Command ).


This enabled me to use the addCommand method more than once with the
same SequenceCommand subclass. 

For example:

addCommand(MY_EVENT_1, new MySequenceCommand(new CairngormEventA());
addCommand(MY_EVENT_2, new MySequenceCommand(new CairngormEventB());


In terms of code reusability this was very helpful.

Surprisingly the constructor of the
com.adobe.cairngorm.commands.SequenceCommand doesn't seem to have
changed compared to its predecessor, but the
com.adobe.cairngorm.control.FrontController has changed a lot.

The addCommand method does not accept a command instance as a
parameter - it only works with Class references:

addCommand( commandName : String, commandRef : Class )

Why has it been changed to a Class reference?
How can I add (and ideally reuse) a SequenceCommand to the
FrontController now? To me it looks like I have to write seperate
SequenceCommands instead of reusing one for multiple purposes.
Or am I wrong here?

Cheers
David






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





[flexcoders] how to call Webservice within cairngorm2 and flex2 stable?

2006-07-05 Thread saicn_1205
how to call Webservice within cairngorm2 and flex2 stable?

i have change the cairngorm2 alpha 's sample login to the
caingorm2and flex 2 stable.

then i wanna to change the service from HttpService to Webservice;

i take services.mxml as:
?xml version=1.0 encoding=utf-8?
cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml;  
 xmlns:cairngorm=com.adobe.cairngorm.business.*
 mx:WebService id=LoginWS 
wsdl=http://10.32.64.28/sin/webservice/login.asmx?wsdl;
userProxy=false 
result=event.token.resultHandler(event)
fault=event.token.resultHandler(event) /
/cairngorm:ServiceLocator

and change the LoginDelegate.as as:
package saicn.samples.login.business 
{

import com.adobe.cairngorm.business.Responder;
import com.adobe.cairngorm.business.ServiceLocator;
import saicn.samples.login.vo.LoginVO;


public class LoginDelegate
{
import mx.rpc.soap.WebService;
public function LoginDelegate( responder : Responder )
{
this.service = 
ServiceLocator.getInstance().getService(LoginWS);

this.responder = responder;
}

//


public function login( loginVO : LoginVO ): void
{

var call : Object = 
service.getUserStatus(loginVO.username); 
call.loginVO = loginVO;
call.resultHandler = responder.onResult;
call.faultHandler = responder.onFault;
}

//-

private var responder:Responder;
private var service:Object;
}

}


than i run the mxml application ,return error such as:
Error: Cannot assign operations into an RPC Service (userProxy)
at
mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/proxy::setProperty()
at saicn.samples.login.business::Services/::_WebService1_i()
at saicn.samples.login.business::Services$iinit()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at mx.core::Application/initialize()
at CairngormLogin/initialize()
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::frameEndHandler()



everybody ,plz help me , how to call Webservice within cairngorm2 and
flex2 stable?

saicn





 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 





[flexcoders] Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread davidgolds
How can I convert from a String to a ByteArray?

ByteArray to String was easy courtesy of ByteArray.toString but I 
can't see a way to do the reverse.

Thanks








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 





[flexcoders] how to call Webservice within cairngorm2 and flex2 stable?

2006-07-05 Thread saicn_1205
how to call Webservice within cairngorm2 and flex2 stable?

i have change the cairngorm2 alpha 's sample login to the
caingorm2and flex 2 stable.

then i wanna to change the service from HttpService to Webservice;

i take services.mxml as:
?xml version=1.0 encoding=utf-8?
cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml;  
 xmlns:cairngorm=com.adobe.cairngorm.business.*
 mx:WebService id=LoginWS 
wsdl=http://10.32.64.28/sin/webservice/login.asmx?wsdl;
userProxy=false 
result=event.token.resultHandler(event)
fault=event.token.resultHandler(event) /
/cairngorm:ServiceLocator

and change the LoginDelegate.as as:
package saicn.samples.login.business 
{

import com.adobe.cairngorm.business.Responder;
import com.adobe.cairngorm.business.ServiceLocator;
import saicn.samples.login.vo.LoginVO;


public class LoginDelegate
{
import mx.rpc.soap.WebService;
public function LoginDelegate( responder : Responder )
{
this.service = 
ServiceLocator.getInstance().getService(LoginWS);

this.responder = responder;
}

//


public function login( loginVO : LoginVO ): void
{

var call : Object = 
service.getUserStatus(loginVO.username); 
call.loginVO = loginVO;
call.resultHandler = responder.onResult;
call.faultHandler = responder.onFault;
}

//-

private var responder:Responder;
private var service:Object;
}

}


than i run the mxml application ,return error such as:
Error: Cannot assign operations into an RPC Service (userProxy)
at
mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/proxy::setProperty()
at saicn.samples.login.business::Services/::_WebService1_i()
at saicn.samples.login.business::Services$iinit()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at mx.core::Application/initialize()
at CairngormLogin/initialize()
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::frameEndHandler()



everybody ,plz help me , how to call Webservice within cairngorm2 and
flex2 stable?

saicn





 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread scox
Hi Tim,

Thanks for this, unfortunately that's going to be a no-go. Basically I
have an item renderer which is used create an 'edit' button. Upon clicking
that the view will change to give more detail on that item. The
selectedIndex of the datagrid could be different to the row they actually
clicked on.

I don't understand at all why rowIndex is coming back as the datagrid
index, rather than the dataprovider's index - it's totally baffled me.

I really need to work out a way of getting the row index of the
dataprovider, rather than the datagrid from within the itemrenderer

Steve




-Original Message-
From: Tim Hoff [EMAIL PROTECTED]
Sent: Tuesday, July 4, 2006 5:25 pm
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: listData rowIndex ) [f2 final]

Hi Steve,

Have you considered using DataGrid.selectedIndex.  This is the same
index as the dataProvider item.

-TH

--- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote:

 I'm hoping I'm making a stupid mistake somewhere regarding
rowIndex from
 within an item Renderer.

 The docs state:
 rowIndex : int
 The index of the item in the data provider.

 However in practice the rowIndex I'm actually getting is the
rowIndex of
 the DataGrid itself, not the dataProvider. So for example if I
were to
 click onto an item it's rowIndex may be 7, but scrolling down a
little
 the rowIndex changes. This is obviously not the rowIndex of the
 provider, but the datagrid.

 I'm using the following code:

 var evt:DataGridItemEvent = new DataGridItemEvent(editItem);
 evt.rowIndex = listData[rowIndex];
 var owner:DataGrid = listData[owner];
 owner.dispatchEvent(evt);

 Where DataGridItemEvent is a simple custom event.

 Any clues?

 Cheers, Steve












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





[flexcoders] file uploads

2006-07-05 Thread Clint Tredway



I am using the code from the docs and Flex Builder is telling this 1120: Access of undefined property fileRef. and that the selectHandler and completeHandler are undefined properties as well. I am declaring the var fileRef, so i dont get why its doing this... very frustrating...
-- diabetic? http://www.diabetesforums.comBill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice.

__._,_.___





--
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] A datagrid with a separate scrollbar

2006-07-05 Thread hank williams



I want to implement a datagrid, but not use the normal scrollbar, or not to use it where it is currently placed. Basically I want to be able to scroll, but have the datagrid look as if the scrollPolicy was no scroll bars. I want to put a bar in an entirely different location. The scrollbar stuff seems to be fairly deeply baked into the datagrid or the scrollControlBase actually, and it is not obvious to me how to work with this any other way than the way it was designed. Does anyone have any thoughts on how to do this?
Hank 

__._,_.___





--
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] Menu - handle sub-menu clicks

2006-07-05 Thread chrislee943
Hello all,

There is a need to handle MenuEvent.ITEM_CLICK for sub-menus of the
standard Menu component. Basically I need this for a case when there
is a huge amount of data to show in the menu and click on sub-menu
would show a new menu from the current level. So event must contain at
least id of current menu item. And seems like only ITEM_CLICK contains
this info. But ITEM_CLICK is not dispatched for sub-menu clicks.

Thank you in advance,

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

* 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] A datagrid with a separate scrollbar

2006-07-05 Thread Jeremy Lu



If you could provide some visual mock-ups, I might be able to help :-)On 7/5/06, hank williams [EMAIL PROTECTED]
 wrote:












  



I want to implement a datagrid, but not use the normal scrollbar, or not to use it where it is currently placed. Basically I want to be able to scroll, but have the datagrid look as if the scrollPolicy was no scroll bars. I want to put a bar in an entirely different location. The scrollbar stuff seems to be fairly deeply baked into the datagrid or the scrollControlBase actually, and it is not obvious to me how to work with this any other way than the way it was designed. Does anyone have any thoughts on how to do this?
Hank 

  















__._,_.___





--
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] Any way to tell a hbox to be only as wide as is needed for contents

2006-07-05 Thread hank williams



I have a variety of situations where I want a box to be just big enough to hold its contents, and to just resize other stuff to accomodate. One of the most important reasons for this is localization. I want to support lots of languages and I dont want to have to hard code widths to get things to look the way I want. This is also true for datagrid, where I would like certain columns to be exactly what they need to be to accomodate the headertext length and other to just grow or shrink to use the remaining available space.
Hank

__._,_.___





--
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] Compiling Flex--thank you!

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 03:45, John wrote:
 I can't figure out how to compile flex applications using eclipse (or any
 IDE) on the Mac, and have given up on it. 

Just use the command line. It's fine.
If not, post what you typed, what it did, and your code :-)

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

* 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] Tomcat and jdk version for Flex

2006-07-05 Thread a a



Hi all! I have just a simple question for starting develop Flex application with java.Someone are using Flex with java 1.5 and tomcat 5.5? Can this be a good configuration for application developing or maybe it's better using JRun with jdk1.4?I hope that you understand my bad english :PThanks for the answerbyeRex Chiacchiera con i tuoi amici in tempo reale!  http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 
__._,_.___





--
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] Excel, Flex and Database

2006-07-05 Thread Ritesh Jariwala










Hi All,



I have question regarding application development.



I need to develop little application which can load data
from database using flex into Microsoft Excel.



Is it possible that flex can load the excel data or suppose
if I made changes in excel sheet and click on save it can save data into
database using flex?



I know, I already seen such video when fabridge introduced, I
am not able to find the link of that video and examples.



Can anyone tell me whether this is possible or not with flex?





With
Regards,



Ritesh
Jariwala (Actkid)

Freelance
Developer 

www.actkid.com

Company:
www.synonymic.com










__._,_.___





--
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] application first crashes,next time runs ok

2006-07-05 Thread Adrian Ionut Beschea



Hello, Flex newbie here.I am using Flex 2.0 (standard version, no Data Services) and the  Cairngrom 2.0 project and I don't know if this has anything to do with  my problem.   Basically I have a login form. When I send my user and password for the  first time I get an RefferenceError. If I go back in Flex and hit the  "build" button again, it works ok.   When building in debug mode, I don't get the error at all so I reckon  it's something with the flash player and/or browser cache. Any ideas what's causing this ?   Thanks.This is the error :ReferenceError: Error #1065: Variable is not defined.   at global/flash.utils::getDefinitionByName()   at mx.utils::DescribeTypeCache$/describeType()   at mx.utils::ObjectUtil$/getClassInfo()   at mx.controls::DataGrid/::generateCols()   at
 mx.controls::DataGrid/mx.controls:DataGrid::collectionChangeHandler()   at mx.controls.listClasses::ListBase/set dataProvider()   at mx.controls::DataGrid/set dataProvider()   at mx.core::Container/createComponentFromDescriptor()   at mx.core::Container/createComponentsFromDescriptors()   at mx.core::Container/mx.core:Container::createChildren()   at mx.core::UIComponent/initialize()   at mx.core::Container/initialize()   at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()   at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()   at mx.core::Container/addChildAt()   at mx.core::Container/addChild()   at mx.core::Container/createComponentFromDescriptor() 
  at mx.core::Container/createComponentsFromDescriptors()   at mx.core::Container/mx.core:Container::createChildren()   at mx.core::UIComponent/initialize()   at mx.core::Container/initialize()   at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()   at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()   at mx.core::Container/addChildAt()   at mx.core::Container/addChild()   at mx.core::Container/createComponentFromDescriptor()   at mx.core::Container/createComponentsFromDescriptors()   at mx.core::Container/mx.core:Container::createChildren()   at mx.core::UIComponent/initialize()   at mx.core::Container/initialize()   at
 finder.view::AdsView/initialize()   at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()   at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()   at mx.core::Container/addChildAt()   at mx.core::Container/addChild()   at finder.view::ApplicationView/::_Canvas4_i()   at finder.view::ApplicationView/::_TabNavigator1_i()   at finder.view::ApplicationView/::_VBox1_c()   at mx.core::DeferredInstanceFromFunction/getInstance()   at mx.states::AddChild/createInstance()   at mx.states::AddChild/initialize()   at mx.states::State/http://www.adobe.com/2006/flex/mx/internal::initialize()   at mx.core::UIComponent/::initializeState()   at
 mx.core::UIComponent/::commitCurrentState()   at mx.core::UIComponent/setCurrentState()   at mx.core::UIComponent/set currentState()   at MethodInfo-1512()   at Function/http://adobe.com/AS3/2006/builtin::call()   at mx.binding::Binding/::innerExecute()   at Function/http://adobe.com/AS3/2006/builtin::apply()   at mx.binding::Binding/mx.binding:Binding::wrapFunctionCall()   at mx.binding::Binding/execute()   at mx.binding::Binding/watcherFired()   at mx.binding::Watcher/notifyListeners()   at mx.binding::PropertyWatcher/eventHandler()   at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()   at flash.events::EventDispatcher/dispatchEvent() 
  at finder.model::ApplicationModel/dispatchEvent()   at finder.model::ApplicationModel/set applicationState()   at finder.commands::LoginCommand/onResult()   at finder.business::ApplicationServices/__loginDelegate_result()   at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()   at flash.events::EventDispatcher/dispatchEvent()   at mx.rpc::AbstractService/dispatchEvent()   
		Yahoo! Music Unlimited - Access over 1 million songs.
Try it free. 
__._,_.___





--
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: listData rowIndex ) [f2 final]

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 10:06, [EMAIL PROTECTED] wrote:
 Thanks for this, unfortunately that's going to be a no-go. Basically I
 have an item renderer which is used create an 'edit' button. Upon clicking
 that the view will change to give more detail on that item. The
 selectedIndex of the datagrid could be different to the row they actually
 clicked on.

If your dataGrid has a dataProvider, why isn't dataGrid.selectedItem what you 
want ?

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

* 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] Re: Cairngorm Responder interface changes

2006-07-05 Thread JesterXL
Tim, as long as you don't go off and use AJAX, we'll all love you no matter 
what you do.

1. Nope.  The common use case is remoting calls, webservices 2nd, 
httpservices 3rd.  Everyeone will get ResultEvents  FaultEvents.  Those who 
don't are using custom stuff, and thus know what they are getting into.

2. Steven, and others like my boss the architect, do not like the 
possibility of View's getting raw server data.  For example, an unfettered / 
un-processed result that comes back from a Delegate call could make it's way 
back to the View the originaly fired the Command.  This makes it all too 
easy for developers not experienced with Cairngorm to allow View's to start 
screwing with data.  They also have to know about ResultEvents and 
FaultEvents.  To me, it's worth it; we just use the convention if we get a 
result, it succeeded and follow the original rules.

Regarding state, yeah man, you stated my feelings exactly.

3. Cool.

I'm working on training online material, professional for a change, that 
will have a lot of the above.  The rest I'll blog as usual when it's 
presentable.

- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 05, 2006 2:51 AM
Subject: [flexcoders] Re: Cairngorm Responder interface changes


Hi Jesse,

Let me start by saying that I acquiesce; no more viewHelpers.  All
code has been rolled into the view.  For component oriented
development, it makes sense.

Concerning your cogent points of view:

1) ResultEvent  FaultEvent events:  Not sure how much of an impact
this makes in reality, But yes, do we need to support undefined?
It adds weight.

2) Command callbacks:  When I first got into Cairngorm, I wondered
why there wasn't a round trip of communication back to the
view/gesture.  There are plenty of local view actions that benefit
from knowing the result of a command; maybe ViewResponder.  Here,
I would hope that you would accept Steven's invitation to show your
enhanced code, so that it might benefit all of us by possibly being
rolled into Cairngorm.

Functions vs. state variables: Yes, the scope of the function
dictates the need for state representation.  I mean, if model ==
state, should every toggled RadioButton or focused TextInput require
a state variable for control.  At a point it becomes redundant, and
more efficient to address locally.

3) Added 2 methods to ServiceLocator:  See #2 about sharing and
possible adoption.

My comments to you are not personal, or even professional.  I have
seen your work, website, and sat in on one of your online
presentations.  I think that you are brilliant.  Being from SoCal, I
know and appreciate your snowboarder mentality. :)  I agree with
your points here.  I would just hope that, instead of bagging, you
would contribute your proposed solutions, so that we all might enjoy
a cleaner architecture.

::looking for teddy bears::
-TH

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

 Sending again; sent at like 10:00am this morning, but still don't
see it.  10:03pm now.

 -

 1. ResultEvent  FaultEvent events.  I disagree with this change,
so have changed them back instead of of using the * change for the
Responder interface.

 2. Command callbacks.  Sometimes, there is a legitimate need for a
View to know when a Command is completed.  In my consulting, we've
added an optional callback method that can be passed via
EventBroadcaster (Cairngorm 1).  So, View's launching Commands have
the option of using a Callback (like flash.net.Responder) to have a
result method called when the Command is done.  We extended
Cairngorm's command to have all of this plumbing hidden.  The
convention we have is, If the View has his onResult run, he can
conclude that the Command succeeded in it's operation.  If a fault
was fired in the Delegate, this means the app is broken and needs to
be fixed.  There is no error handling, only error fixing.

 In my personal work, I've implemented both; result and faults, via
Event's.  If an event extends my JXLEvent class (which extends
Cairngorm), it has the option of getting those callbacks.  I should
probably do it like we do it at work, but for now, it works.  I like
handling errors, so although fault and result are pretty low level,
I can have View's handle errors (or Commands obviously).

 Both avoid ViewLocator via a nice convention.  It also makes it
cake to have a chained command with visual feedback.  You can have
your View fire off other commands in a particular order AND show
visual feedback the whole time.  Could you do this by binding?
Sure, but I'd rather use functions vs. state variables.

 3. Added 2 methods to ServiceLocator.  He doesn't support Producer
or Consumer (MessageAgent) services, so with a new method he does.
He also doesn't support NetConnection; with the new method, he
does.  Since Cairngorm was made for a more request response, it
feels like both of the above are halfway implemented, 

Re: [flexcoders] Cairngorm 2 SequenceCommand question

2006-07-05 Thread Joshua Garnett



Hmm... My e-mail got cut off for some reason.For each, of my SequenceCommands I then put the following after the execute statement:   var sequenceEvent:SequenceEvent = SequenceEvent(cairngormEvent);
   nextEvent = sequenceEvent.nextEvent;Then of course at the end of the execute or onResult I put:   executeNextCommand();To build a chain of commands, you must build the chain of events from last to first.
   var secondEvent : SequenceEvent = new SequenceEvent(Controller.EVENT_DO_SECOND);   var firstEvent : SequenceEvent = new SequenceEvent(Controller.EVENT_DO_FIRST, secondEvent);   
CairngormEventDispatcher.getInstance().dispatchEvent(firstEvent);There may be a better approach, but this has been working for me.--JoshOn 7/5/06, 
Joshua Garnett [EMAIL PROTECTED] wrote:
There are a couple of ways that you can do it. 1) Have your command extend SequenceCommand and then in the command's constructor call super(nextEvent). or 2) You can dynamically assign the nextEvent by passing it to the command. This is the way I prefer, since it allows you to build different chains of commands. To aide this I built a class called SequenceEvent:
 public class SequenceEvent extends CairngormEvent  { public var nextEvent : CairngormEvent;  public function SequenceEvent ( eventType:String, nextEvent : CairngormEvent = null ) 
 { super( eventType );  this.nextEvent = nextEvent; } }



__._,_.___





--
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: Cairngorm2: ViewLocator - ViewHelper

2006-07-05 Thread JesterXL





'Cause, there are those that like them and I'm sure 
Adobe is being responsive to the community, and ViewLocator's have their valid 
uses.

- Original Message - 
From: Bjorn Schultheiss 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, July 05, 2006 3:06 AM
Subject: Re: [flexcoders] Re: Cairngorm2: ViewLocator - 
ViewHelper


Hey 
Jesse,

Any idea on why 
ViewHelper and ViewLocator classes are in Cairngorm 2 if they have been deemed 
un-beneficial? 
I myself felt 
obligated to see if there was a valid use for this based on the fact that they 
were included.


Regards,

Bjorn 
Schultheiss
Senior Flash 
Developer
QDC 
Technologies




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: Tuesday, 4 July 2006 7:37 
AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm2: 
ViewLocator - ViewHelper




Speaking for Steven, but the reason they espoused using 
ModelLocator over ViewHelpers was a few reasons. First off, many people felt 
the need to create ViewHelpers for every View. This was ridicolous; no View 
could ever do anything useful but instantiate GUI components, and register 
for events. You had no clue WHAT that View could do. Suddenly you're code 
base basically doubled for extremely little gain.Secondly, most 
people utilized ViewHelpers with ViewLocator instead of the actual View's. 
While this was nice, no one ever implemented strong typing, thus defeating 
the purpose of casting as ViewHelper describing what the View could 
do.Third, you wrote more code for no gain. Some people would even put 
code in both the MXML View and ViewHelper, further compounding the issue of 
"what's really being seperated here".In all fairness, I come from a 
Flash background where you wrote classes. These classes were your View. You 
can do the same thing in Flex; write your class to extend Canvas instead of 
using a root Canvas tag; same thing. To me, organizing code is 2nd nature. 
MXML + embedded Script tags were just a wonderful next step. My code changes 
never broke my GUI changes and vice versa. For some reason, it seems people 
can't fathom the thought of ActionScript in MXML files. That's just absurd; 
you can see what the GUI is AND does in the same. Go look at the source 
code; all kinds of controls draw themselves and perform actions. This isn't 
rocket science, it's a fuggin' form for crying out loud.The other 
option of using an external script file for the script tag is just as bad. 
You have to define controls and other buttons again, defeating the use of 
the ID control concept which helps shield your code from being broken when 
you change your GUI. :: que Carlos Mencia duh dah d ::Bottom line, 
MXML components are extremely portable and encapsulated with ActionScript 
inside them. Granted, there are still people who will write "components" 
with ModelLocator's littered amongst them vs. expousing public 
properties and methods to set the data instead... but that's the developers 
fault, not MXML's.MXML is just a class... it's ok to write 
properties and methods in a class... seriously, it's ok. :: whips out a bag 
of teddy bears to hand out just in case ::- Original Message 
- From: "Tim Hoff" [EMAIL PROTECTED]comTo: [EMAIL PROTECTED]ups.comSent: 
Monday, July 03, 2006 5:01 PMSubject: [flexcoders] Re: Cairngorm2: 
ViewLocator - ViewHelperThanks for the responses 
guys,Dimitrios:Yes, the majority of my views are updated through 
binding to theModelLocator. However, there are certain functions that are 
soleyview-related (like setFocus(), filtering a DataGrid, updating 
asearch parameter VO with view component values prior to executing 
asearch command), that imo don't merit creating a command toperform. 
These kind of functions could just be located in a scripttag inside the 
view. But, if the functions are numerous, the codebecomes more readable if a 
seperate class is used.Bjorn:I agree that a command shouldn't 
interrogate a view. That woulddefeat the encapsulation. For the most part 
though, the commandshould update the ModelLocator and the ModelLocator 
should updatethe view.Jesse:As always, you crack me up. In the 
situations that I mentionedabove, I assume that you are using a ViewLocator 
- uid approach.This is probably more efficient and centralized than 
usingViewHelpers. Besides, I really don't want to deal with Satanspawn. 
Care to share a small sample of your approach?All in all, this isn't a 
huge issue. Out of my current 300 views,I've only found the need to use 
three ViewHelpers. My questions aremore theoretical and best practice 
oriented. Good stuff to knowwhen scalability is an issue. Also, I'm still 
not sure what AlexUhlmann meant by "the ViewHelper adds and removes itself 
from theViewLocator". Guess I need to take a trip back to the 
Cairngormsource.Thanks again for your answers. I was hoping that 
Steven orAlistaire had time to chime in here, but I realize that they 
arevery busy these 

Re: [flexcoders] Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 07:20, Artur Kordowski wrote:
 Why not use a delegate ?
 The delegate class is not longer available in the flex framework, so I
 can't use it.

It was never in the flex framework, it's a Cairngorm convention.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/
 





[flexcoders] Excel, Flex Database

2006-07-05 Thread Ritesh Jariwala










Hi All,



I have question regarding application development.



I need to develop little application which can load data
from database using flex into Microsoft Excel.



Is it possible that flex can load the excel data or suppose if
I made changes in excel sheet and click on save it can save data into database
using flex?



I know, I already seen such video when fabridge introduced,
I am not able to find the link of that video and examples.



Can anyone tell me whether this is possible or not with
flex?





With
Regards,



Ritesh
Jariwala (Actkid)

Freelance
Developer 

www.actkid.com

Company:
www.synonymic.com








__._,_.___





--
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 2 SequenceCommand question

2006-07-05 Thread Joshua Garnett



There are a couple of ways that you can do it. 1) Have your command extend SequenceCommand and then in the command's constructor call super(nextEvent). or 2) You can dynamically assign the nextEvent by passing it to the command. This is the way I prefer, since it allows you to build different chains of commands. To aide this I built a class called SequenceEvent:
 public class SequenceEvent extends CairngormEvent  { public var nextEvent : CairngormEvent;  public function SequenceEvent ( eventType:String, nextEvent : CairngormEvent = null ) 
 { super( eventType );  this.nextEvent = nextEvent; } }

__._,_.___





--
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] FlexUnit, Web Service

2006-07-05 Thread Brian

I tried adding the asserts in the handler. If the asserts fails, it causes a 
crash of the application.  I tested this by making forcing an assert fail.  It 
seems, since the handler is not part of the test suite, the FlexUnit is 
crashing (on failure only). Must be looking for the test that is running (or 
something) and since it isn't, it fails. 

I did recompile FlexUnit to work with Flex Release (wouldn't work without some 
changes). Maybe there are other changes required as well.

I am new to Flex, so I could very well be doing something wrong.

On Wed, 5 Jul 2006 17:09:27 +1000, Bjorn Schultheiss wrote:
 Besides dummying the webservice result can you place the assert in the 
 handler.

  

 I am interested in this and will run some tests myself later on.

  

 Regards,

  

 Bjorn Schultheiss

 Senior Flash Developer

 QDC Technologies






 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 





[flexcoders] Re: Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread bhaq1972
try something like this

var byteArr:ByteArray = new ByteArray();
byteArr.writeUTF(hello);
trace(byteArr.length);
byteArr.position = 0;
trace(byteArr.readUTF());

(something i tried in beta2...so who knows)


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

 How can I convert from a String to a ByteArray?
 
 ByteArray to String was easy courtesy of ByteArray.toString but I 
 can't see a way to do the reverse.
 
 Thanks







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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/
 




[flexcoders] Validators and iconName

2006-07-05 Thread Rajesh C.
1). What is the equivalent for validationError() function in Flex2.0 ?
* Can i use ValidatorResult Constructor for this ?

2). What is the equivalent for iconName in Flex2.0 ?
* I want to use this to put an icon on a Button


Regards,
Rajesh C.





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/
 





[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread ben.clinkinbeard
I am also having trouble with Web Services in Cairngorm 2. The execute
method of my command is being called, but the WS call is not being
made, much less handled correctly. Can someone tell me what I am
missing here?

From Services.xml:

mx:WebService id=industryAndSizeIdsService makeObjectsBindable=false

wsdl={TestModel.getInstance()[EMAIL PROTECTED]
+ '?WSDL'} 
showBusyCursor=true useProxy=false
result=event.token.resultHandler(event) 
fault=event.token.faultHandler(event)

mx:operation name=GetDataByGrouping resultFormat=e4x
mx:request
GroupingRequests
GroupName
RPRToolStaticData
/GroupName
/GroupingRequests
/mx:request
/mx:operation
/mx:WebService

And here is the call in my command class:

public class LoadIndustryAndSizeIdsCommand implements Command, Responder
{   
public function execute(event:CairngormEvent):void
{
var service:AbstractService =
ServiceLocator.getInstance().getService(industryAndSizeIdsService);
var call:AsyncToken = service.GetDataByGrouping.send();
call.addEventListener(mx.rpc.events.FaultEvent.FAULT, 
onFault);
call.addEventListener(mx.rpc.events.ResultEvent.RESULT, 
onResult);
trace(execute);
}

public function onResult(event:* = null):void
{
trace(result);
}

public function onFault(event:* = null):void
{
trace(fault);
}
}

Thanks,
Ben






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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] Flex 2 - Drag-n-Drop with TabNavigator

2006-07-05 Thread Paul Andrews





- Original Message - 

  From: 
  Wayne McFetridge 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, July 05, 2006 1:13 
  AM
  Subject: [flexcoders] Flex 2 - 
  Drag-n-Drop with TabNavigator
  
  Happy Independence Day to American Based Flex developers.I am 
  trying to drag and drop over a TabNavigator -- ie drag something over a 
  "tab" to have it open that tab
  
I'd be curious to know how this drag and drop idea improves 
upon clicking the tab and then dropping inside the open tab?

Are you trying to do two things at once - replacing click plus 
drop with a single drop if the tab isn't already open?

Personally I think it sounds dangerous. If you drop target is 
inside an open tab, then all well and good, but dropping onto the unopened tab 
itself is prone to having the user drop onto the wrong tab, which isn't too user 
friendly. I also think it's a behaviour likely to confuse the users. I don't 
think I've ever seen an application behave like this - it doesn't follow the tab 
metaphor.

If I've got the wrong idea please tell me!

Paul

  Am I overloooking something really simple ? Hope so 
  ThanksWayne McFetridge 
  -- 
__._,_.___





--
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] Remote Services using Flex2 Data Services final released

2006-07-05 Thread arianrechia
I am trying to setup Remote Services using Flex2 Data Services with
integrated JRUN and Flex Builder2.

 Unfortunately, I am receiving the following error:

 faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed

the error message:
(mx:rpc:Fault)#0
errorID = 0
faultCode = Client.Error.MessageSend
faultDetail = Channel.connect.Failed error NetConnection.Call.Failed:
HTTP: Failed
FaultString = Send Failed
message = faultCode: Client.Error.MessageSend
   faultString:'Send Failed'
   faultDetail:'Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP:Failed'
name = Error
rootCause = (Objet)#1
code = NetConnection.Call.Failed
description = HTTP:Failed
details = http://localhost:8700/messagebroker/amf;
level = error
 
 In the JRUN window, it logs the following:

 error Requested resource '/messagebroker/amf' %2fmessagebroker%famf
not found

my remoting-config.xml:
destination id=test
properties
sourcecom.package.Test/source
scopeapplication/scope
/properties
/destination

my AScript remote-object:
var remoteObj:RemoteObject = new mx.rpc.remoting.RemoteObject();
remoteObj.destination = test; 
remoteObj.source = com.package.Test;
remoteObj.addEventListener(result,handleResult);
remoteObj.addEventListener(fault,handleError);

 Any ideas? 






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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] Excel, Flex Database

2006-07-05 Thread Darron J. Schall
Yes, it's possible for Flex to load Microsoft Excel data.  However, it's 
not easy.  You have to write a custom parser for the .xls file format.  
You can pull the raw binary data in via URLLoader setting it's 
dataFormat to DataFormat.BINARY, and then parse the .xls data into 
something usable for the Flex client.

See Jim Cheng's discussion on it here: 
http://www.psalterego.com/2006/05/17/parsing-excel-files-with-actionscript-30/

Simple demo here: http://dev.psalterego.com/xls/ExcelParser.html

-d

Ritesh Jariwala wrote:

 Hi All,

  

 I have question regarding application development.

  

 I need to develop little application which can load data from database 
 using flex into Microsoft Excel.

  

 Is it possible that flex can load the excel data or suppose if I made 
 changes in excel sheet and click on save it can save data into 
 database using flex?

  

 I know, I already seen such video when fabridge introduced, I am not 
 able to find the link of that video and examples.

  

 Can anyone tell me whether this is possible or not with flex?

  

  

 With Regards,

  

 Ritesh Jariwala (Actkid)

 Freelance Developer

 www.actkid.com http://www.actkid.com

 Company: www.synonymic.com http://www.synonymic.com

  

  

  




 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread scox
I had hoped to be able to keep the itemRenderer completely seperate to the
Datagrid - the rowIndex would have been exactly what I was after. The
problem would arise when multiple rows are selected. How would I know
which itemRenderer was clicked on?

Thanks for your suggestion, I may have to just use the selectedIndex of
the datagrid after all but unless I'm completely missing something,
listData.rowIndex is not doing what the docs say it is.




-Original Message-
From: Tom Chiverton [EMAIL PROTECTED]
Sent: Wednesday, July 5, 2006 1:44 pm
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: listData rowIndex ) [f2 final]

On Wednesday 05 July 2006 10:06, [EMAIL PROTECTED] wrote:
 Thanks for this, unfortunately that's going to be a no-go. Basically I
 have an item renderer which is used create an 'edit' button. Upon clicking
 that the view will change to give more detail on that item. The
 selectedIndex of the datagrid could be different to the row they actually
 clicked on.

If your dataGrid has a dataProvider, why isn't dataGrid.selectedItem what you
want ?

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office address
is at St James's Court Brown Street Manchester M2 2JF.  A list of members
is available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

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

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



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












--
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] Compiling Flex--thank you!

2006-07-05 Thread Shannon Hicks





Just keep in mind that Adobe has not announced any plans to 
release a Mac version. They did remark that if they do release a Mac version 
(and we all assume they will), it won't be until the next major revision of Flex 
Builder. (Does that mean Flex Builder 3? If so, that's 16+ months 
away!)

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JohnSent: 
Tuesday, July 04, 2006 9:45 PMTo: flexcodersSubject: 
[flexcoders] Compiling Flex--thank you!


Hi,I would like to thank everybody who has offered me 
help`-`I can't figure 
out how to compile flex applications using eclipse (or any IDE) on the Mac, and 
have given up on it. It worked fine in beta 3, but the final release does not 
work for me!I guess I will 
have to wait for flex builder to come to the mac, as I heard that is being 
worked on.If anybody has a 
detailed solution and would like to help, please contact me at school:[EMAIL PROTECTED]Thanks very much for all those who have 
helped`-`John


Want to be your own boss? Learn how on Yahoo! 
Small Business. 

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 
7/4/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006
 


Re: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread John
Hi Tom,
Thanks so much for your helpl`-`
here is a very simple example:
---Flex.mxml---
?xml version=1.0 encoding=UTF-8?
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Label text=Hello World/
/mx:Application

---compile---
(1) open termnial
(2) cd flex
(3) java -jar {flex}/lib/mxmlc.jar -flexlib
{flexdir}/frameworks/Flex.mxml

This command line instructions came from:
http://labs.adobe.com/wiki/index.php/Flex_Builder:tutorials:compiling_mxmlc

---Error---
Unable to access jarfile {flex}/lib/mxmlc.jar

I also tried to cd into the flex/lib, as well as
flex/framework
The Flex.mxml is located in flex/frameworks

I just downloaded the flex SDK, and remaned the
folder(the SDK) flex.

Any help that you could provide to compile using the
command line would be wonderful.
Thanks so much,
John

--- Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Wednesday 05 July 2006 03:45, John wrote:
  I can't figure out how to compile flex
 applications using eclipse (or any
  IDE) on the Mac, and have given up on it. 
 
 Just use the command line. It's fine.
 If not, post what you typed, what it did, and your
 code :-)
 
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells
 LLP.
 
 Halliwells LLP is a limited liability partnership
 registered in England and Wales under registered
 number OC307980 whose registered office address is
 at St James's Court Brown Street Manchester M2 2JF. 
 A list of members is available for inspection at the
 registered office. Any reference to a partner in
 relation to Halliwells LLP means a member of
 Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the
 addressee named above and may be confidential or
 legally privileged.  If you are not the addressee
 you must not read it and must not use any
 information contained in nor copy it nor inform any
 person other than Halliwells LLP or the addressee of
 its existence or contents.  If you have received
 this email in error please delete it and notify
 Halliwells LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit
 www.halliwells.com.
 
 
 
 --
 Flexcoders Mailing List
 FAQ:

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:

http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
 Yahoo! Groups Links
 
 
 [EMAIL PROTECTED]
 
  
 
 
 
 


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


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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/
 




Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-07-05 Thread Tom Chiverton
(resend as appears to have vanished)
On Tuesday 04 July 2006 15:47, Tom Chiverton wrote:
 Has anyone else had problems using the printJob classes ?

If I try and print a dynamicaly instantiated GUI component, the job silently 
fails.
If I create the same component in line in the page, the job works well.

Please can someone confirm this and/or an Adobe person take a look ?

In the below example (of it not working) change 
printJob.addObject(formPrintView, FlexPrintJobScaleType.MATCH_WIDTH);
to
printJob.addObject(thePrintView, FlexPrintJobScaleType.MATCH_WIDTH);
to get the working behaviour.

test.mxml:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:print=com.halliwells.flex.archiving.*
 height=100% width=100%

mx:Script  
![CDATA[   
import mx.printing.*;   
import mx.controls.Alert;

private function alertClickHandler(event:Object):void {
var printJob:FlexPrintJob = new FlexPrintJob();
// Start the print job.
if(printJob.start()){
// Create a MyPrintView control as a child of the current view.

var formPrintView:CoverSheetPrintView = new 
CoverSheetPrintView();
addChild(formPrintView);
formPrintView.file=fileModel;

// Add the SimplePrintview control to the print job.
// For comparison, try setting the second parameter to none.
printJob.addObject(formPrintView, 
FlexPrintJobScaleType.MATCH_WIDTH);

// Send the job to the printer.
printJob.send();

// Remove the print-specific control to free memory.
//removeChild(formPrintView);
}else{
Alert.show(Argh, can't start);
}
   }
]]
/mx:Script

mx:Model id=fileModel
xml   
file_id0123456/file_id
file_refMy ref/file_ref
file_desc a nice logn description that goes on and on and on and on and 
on and on and on and on and on and on and on and on and on and on and on and 
on and on and on and on and on and on and on and on and on and on and on and 
on and on and on and on and on and on and on and on and on and on and on and 
on and on and on and on and on and on and on and on and on and on and on and 
on and on and on and on and on and on and /file_desc
/xml
/mx:Model

print:CoverSheetPrintView id=thePrintView file={fileModel}/

mx:Button label=print click=alertClickHandler(event) /

/mx:Application

CoverSheetPrintView.mxml:
?xml version=1.0?
mx:VBox  xmlns:mx=http://www.adobe.com/2006/mxml; backgroundColor=#FF

mx:Script  
![CDATA[   
[Bindable]
public var file:Object;

private function addStars(str:String):String{
return '*'+str+'*';
}
]]
/mx:Script

mx:Label text={file.file_id}/
 
mx:HBox
mx:Label text=Name/
mx:Label text=your name here /
/mx:HBox  

mx:HBox
mx:Label text=File ref:/
mx:Label text={file.file_ref} /
/mx:HBox  

mx:HBox
mx:Label text=Description/
mx:Text text={file.file_desc} width=600 height=600/
/mx:HBox  

/mx:VBox

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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 

[flexcoders] Re: Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread drome.dario
var str:String = Hi David Golds;
var bin:ByteArray = new ByteArray();
bin.writeUTFBytes( str );

Hope it helps
Regards.

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

 How can I convert from a String to a ByteArray?
 
 ByteArray to String was easy courtesy of ByteArray.toString but I 
 can't see a way to do the reverse.
 
 Thanks







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 





[flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread bhaq1972
from what your describingyour itemRenderer is an 'edit' button.

the itemRenderer is appearing in a datagrid.

save the row index during a datagrid.itemFocusIn event
eg
private var savedIndex:int;
mx:DataGrid itemFocusIn=saveIndex(event)

private function saveIndex(event:DataGridEvent):void
{
  this.savedIndex = event.rowIndex;
}

and then use that in your code
var evt:DataGridItemEvent = new DataGridItemEvent(editItem);
evt.rowIndex = savedIndex;
var owner:DataGrid = listData[owner];
owner.dispatchEvent(evt);


--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] 
wrote:

 On Wednesday 05 July 2006 10:06, [EMAIL PROTECTED] wrote:
  Thanks for this, unfortunately that's going to be a no-go. 
Basically I
  have an item renderer which is used create an 'edit' button. 
Upon clicking
  that the view will change to give more detail on that item. The
  selectedIndex of the datagrid could be different to the row they 
actually
  clicked on.
 
 If your dataGrid has a dataProvider, why isn't 
dataGrid.selectedItem what you 
 want ?
 
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.







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

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

* 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] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 14:02, [EMAIL PROTECTED] wrote:
 problem would arise when multiple rows are selected. How would I know
 which itemRenderer was clicked on?

Don't allow multiple selects then :-)

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

* 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] Re: A datagrid with a separate scrollbar

2006-07-05 Thread bhaq1972
Firstly, you need to make sure scrollPolicy is swicthed off
eg
mx:DataGrid id=dg verticalScrollPolicy=off

then for example, have a button which changes the scrollposition as 
follows

mx:Button label=scrollDown click=dg.verticalScrollPosition +=10
 autoRepeat=true 
 buttonDown=dg.verticalScrollPosition +=10/

this is untested 

--- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote:

 If you could provide some visual mock-ups, I might be able to 
help :-)
 
 
 
 On 7/5/06, hank williams [EMAIL PROTECTED] wrote:
 
I want to implement a datagrid, but not use the normal 
scrollbar,  or
  not to use it where it is currently placed. Basically I want to 
be able to
  scroll, but have the datagrid look as if the scrollPolicy was no 
scroll
  bars. I want to put a bar in an entirely different location. The 
scrollbar
  stuff seems to be fairly deeply baked into the datagrid or the
  scrollControlBase actually, and it is not obvious to me how to 
work with
  this any other way than the way it was designed. Does anyone 
have any
  thoughts on how to do this?
 
  Hank
   
 








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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] Compiling Flex--thank you!

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 14:28, John wrote:
 (3) java -jar {flex}/lib/mxmlc.jar -flexlib
 {flexdir}/frameworks/Flex.mxml

 This command line instructions came from:
 http://labs.adobe.com/wiki/index.php/Flex_Builder:tutorials:compiling_mxmlc

 ---Error---
 Unable to access jarfile {flex}/lib/mxmlc.jar

Where it says 
{flex}
you need to write the path (from /) that will take you to the thing it wants, 
not a literal set of curly braces around a string.
Something like
java -jar /System/Library/lib/mxmlc.jar -flexlib 
/System/Library/frameworks/Flex.mxml
should work better.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

* 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] Re: CF Flash Remoting project results in Jrun servlet error

2006-07-05 Thread yaagcur
Bjorn
  You are spot on. It is not building the directory - at least not in
the right place
So although I am setting defaults of
flex root folder: C:\CFusionMX7\wwwroot
flex server url: http://localhost:8500/

It is actually writing the bin folder to the default for the project
contents viz. C:\Documents and Settings\Owner\My Documents\Flex
Builder 2. As if it was a basic project. The beta had no problem
splitting the two folders

So if I now have a URL of
file:///C:/Documents%20and%20Settings/Owner/My%20Documents/Flex%20Builder%202/test/bin/test.html
the page works

Alternatively and the right approach presumably, I can create a new
output folder (test/bin) in the wizard. Otherwise there is a warning
that the output folder is not a subfolder of the server root

Then I can successfully run 
http://localhost:8500/test/bin/test.html

However, I did not previously go to that page. Unless there's
something specifically odd about my setup I'm not at all clear why
Adobe do not default the bin directory to the server root. I
definitely did not need to go through this rigmarole in the betas





 I don't think its building the directory.
 
 You will need to confirm that it exists in wwwroot/test/bin/
 
  
 
 Regards,
 
  
 
 Bjorn Schultheiss
 
 Senior Flash Developer
 
 QDC Technologies
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of yaagcur
 Sent: Tuesday, 4 July 2006 11:20 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] CF Flash Remoting project results in Jrun servlet
 error
 
  
 
 If I attempt to set up a project using the above wizard, running the
 project in a browser
 
 e.g http://localhost: http://localhost:8500/test/bin/main.html
 8500/test/bin/main.html 
 
 produces the error
 
 404 /test/bin/main.html.
 
 This applies even if I am not attempting any remoting e.g just putting
 a button on the page. The same project done in the basic method
 produces the correct outcome
 
 If I add the additional compiler argument
 -services C:\CFusionMX7\wwwroot\WEB-INF\flex\services-config.xml
 -locale en_US
 to a basic project, the page loads correctly. However I cannot make
 any remote connections work - just get busy cursor
 
 Any ideas on what I can do. Is there a log file somewhere I should be
 accessing. I cannot determine its whereabouts







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 





[flexcoders] Re: Webservice Results Format

2006-07-05 Thread Will Morgan



Sorry, screwed up on the results, but I think you get my point...W.On 7/5/06, Will Morgan [EMAIL PROTECTED]
 wrote:Hi All,The results from the webservice I'm using look something like this:
orderheaderorder12345/order /header/headerslines
 line  /line/orderIt's similar to a master / detail view. I can only bind to either headers or orders. headersDataGrid.dataprovider = {webservice.getOrder.lastResult.headers

}I was hoping I could use headersDataGrid.selectedItem.lines to show the lines detail in another dataGrid, but because it is only bound to headers, I can't do it.Is there a simple way to do this within Flex or would you suggest changing the way the results are returned?



__._,_.___





--
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] Webservice Results Format

2006-07-05 Thread Will Morgan



Hi All,The results from the webservice I'm using look something like this:orderheaderorder12345/order /header/headerslines
 line  /line/orderIt's similar to a master / detail view. I can only bind to either headers or orders. headersDataGrid.dataprovider = {webservice.getOrder.lastResult.headers
}I was hoping I could use headersDataGrid.selectedItem.lines to show the lines detail in another dataGrid, but because it is only bound to headers, I can't do it.Is there a simple way to do this within Flex or would you suggest changing the way the results are returned?

__._,_.___





--
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] Excel, Flex Database

2006-07-05 Thread Ritesh Jariwala










Yea darron,



My question was not loading xls file into Flex Client. My
question was how can we integrate flex data services to xls file so if I add record
in excel file and click on save button will reflect changes in database.



I know its possible with flex data services..i even saw video of
it when fabridge was introduce, currently adobe has took off video from the
website. I remember it has source codes too.



Do you know how to that or any suggestions on it?





With Regards,



Ritesh Jariwala (Actkid)

Freelance Developer 

www.actkid.com

Company: www.synonymic.com











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darron
J. Schall
Sent: Wednesday, July 05, 2006 7:07 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Excel, Flex  Database













Yes, it's possible for Flex to load Microsoft
Excel data. However, it's 
not easy. You have to write a custom parser for the .xls file format. 
You can pull the raw binary data in via URLLoader setting it's 
dataFormat to DataFormat.BINARY, and then parse the .xls data into 
something usable for the Flex client.

See Jim Cheng's discussion on it here: 
http://www.psalterego.com/2006/05/17/parsing-excel-files-with-actionscript-30/

Simple demo here: http://dev.psalterego.com/xls/ExcelParser.html

-d

Ritesh Jariwala wrote:

 Hi All,

 

 I have question regarding application development.

 

 I need to develop little application which can load data from database 
 using flex into Microsoft Excel.

 

 Is it possible that flex can load the excel data or suppose if I made 
 changes in excel sheet and click on save it can save data into 
 database using flex?

 

 I know, I already seen such video when fabridge introduced, I am not 
 able to find the link of that video and examples.

 

 Can anyone tell me whether this is possible or not with flex?

 

 

 With Regards,

 

 Ritesh Jariwala (Actkid)

 Freelance Developer

 www.actkid.com http://www.actkid.com

 Company: www.synonymic.com http://www.synonymic.com

 

 

 



 




__._,_.___





--
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] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread scox
Unfortunately not an option.

Can anyone else confirm this is a bug? Or am I doing something stupid?




-Original Message-
From: Tom Chiverton [EMAIL PROTECTED]
Sent: Wednesday, July 5, 2006 3:12 pm
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: listData rowIndex ) [f2 final]

On Wednesday 05 July 2006 14:02, [EMAIL PROTECTED] wrote:
 problem would arise when multiple rows are selected. How would I know
 which itemRenderer was clicked on?

Don't allow multiple selects then :-)

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office address
is at St James's Court Brown Street Manchester M2 2JF.  A list of members
is available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

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

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



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













 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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] Compiling Flex--thank you!

2006-07-05 Thread Ted Patrick












Shan,



Not exactly true



http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_builder_on.cfm



Via the Flex Team Blog









June 30, 2006

Flex Builder on the
Mac

There
have been many questions over the last few days as to Adobe's intentions for
releasing Flex Builder on the Mac. As part of our continuing effort at
transparency here is a short list of questions and attempts at answers. Let us
preface this by saying that we have only begun the planning phases of the next
release(s), so many of these answers will be incomplete until we've had some
more time (and sleep).

Q:
Is there going to be a Flex Builder release for the Mac? 
A: Yes

Q:
Why wasn't it released with the Windows version? 
A: We began by developing Flex Builder for both Mac and Windows at the same
time. However during development we ran into a number of issues that were
specific to OS X and needed to be addressed in Eclipse itself. Fixing those
issues would have meant delaying the overall schedule, so we decided to focus
on finishing the Windows release before returning to the Mac in a follow-up. In
the meantime the Eclipse community has been working on Eclipse 3.2 which fixes
a number of the issues we ran into earlier. This makes the likelihood of a
timely Mac release that much better, and we're looking forward to continuing to
improve Eclipse on the Mac. 

Q:
When will Flex Builder for the Mac be available?
A: We are still in our planning phases but we are hoping to have a public beta
on Labs this year and the production release early next year. One can imagine a
particular event in October where we'd be thrilled if we could launch the beta,
but we simply don't know our timelines yet. We can say that a whole lot of Flex
Builder engineers just received shiny new toys to help in this pursuit, while
Product Management received nothing. Not that Product Management is jealous.

Q:
If I buy Flex Builder for Windows can I transfer that license to the Mac when
it comes out?
A: Honestly we're not sure yet, we still need to figure this out. We'll need
another few weeks to answer this, hopefully before the trial expires.

Q:
Will Flex Builder for Mac run on PPC, Intel, or both?
A: We're very excited about the new Intel-based Macs (at least the engineers
who received them are, PM is still not jealous) and at minimum we will be
supporting that platform. We'd be interested in getting your feedback on the
importance of supporting PPC given how quickly the Intel is getting adopted.
Feel free to leave feedback here.

Q:
What about Flash Player 9 on the Intel for Mac?
A: You can grab a beta version of that Player here:
http://www.adobe.com/products/flashplayer/public_beta

Q:
What do I do in the meantime if I have a Mac?
A: Download and use the free SDK. A number of developers have come up with
workflows for building Flex applications using the Mac; we'll try to put
together a more comprehensive list of them in the next few days.













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shannon Hicks
Sent: Wednesday, July 05, 2006
6:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Compiling Flex--thank you!











Just keep in mind that Adobe has not
announced any plans to release a Mac version. They did remark that if they do
release a Mac version (and we all assume they will), it won't be until the next
major revision of Flex Builder. (Does that mean Flex Builder 3? If so, that's
16+ months away!)



Shan









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John
Sent: Tuesday, July 04, 2006 9:45
PM
To: flexcoders
Subject: [flexcoders] Compiling
Flex--thank you!



Hi,

I would like to thank everybody who has offered me help`-`

I can't figure out how to compile flex applications using eclipse (or any IDE)
on the Mac, and have given up on it. It worked fine in beta 3, but the final
release does not work for me!

I guess I will have to wait for flex builder to come to the mac, as I heard
that is being worked on.

If anybody has a detailed solution and would like to help, please contact me at
school:
[EMAIL PROTECTED]

Thanks very much for all those who have helped`-`
John 







Want to be your own boss? Learn how on Yahoo!
Small Business. 







--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006






__._,_.___





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

Re: [flexcoders] Excel, Flex Database

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 15:17, Ritesh Jariwala wrote:
 can we integrate flex data services to xls file so if I add record in excel
 file  and click on save button will reflect changes in database.

With Enterprise FDS, you set the xls file as a CF datasource, and FDS will 
send the updated data to the Flex client.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] Compiling Flex--thank you!

2006-07-05 Thread Shannon Hicks





Thanks for the link! Turns out my information was 3 days 
older.

Perhaps I can get that MacBook Pro sooner than I thought? 
:)

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ted 
PatrickSent: Wednesday, July 05, 2006 10:07 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Compiling 
Flex--thank you!




Shan,

Not exactly 
true

http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_builder_on.cfm

Via the Flex Team 
Blog



June 
30, 2006
Flex 
Builder on the Mac
There 
have been many questions over the last few days as to Adobe's intentions for 
releasing Flex Builder on the Mac. As part of our continuing effort at 
transparency here is a short list of questions and attempts at answers. Let us 
preface this by saying that we have only begun the planning phases of the next 
release(s), so many of these answers will be incomplete until we've had some 
more time (and sleep).
Q: Is 
there going to be a Flex Builder release for the Mac? A: 
Yes
Q: 
Why wasn't it released with the Windows version? A: We began by developing 
Flex Builder for both Mac and Windows at the same time. However during 
development we ran into a number of issues that were specific to OS X and needed 
to be addressed in Eclipse itself. Fixing those issues would have meant delaying 
the overall schedule, so we decided to focus on finishing the Windows release 
before returning to the Mac in a follow-up. In the meantime the Eclipse 
community has been working on Eclipse 3.2 which fixes a number of the issues we 
ran into earlier. This makes the likelihood of a timely Mac release that much 
better, and we're looking forward to continuing to improve Eclipse on the Mac. 

Q: 
When will Flex Builder for the Mac be available?A: We are still in our 
planning phases but we are hoping to have a public beta on Labs this year and 
the production release early next year. One can imagine a particular event in 
October where we'd be thrilled if we could launch the beta, but we simply don't 
know our timelines yet. We can say that a whole lot of Flex Builder engineers 
just received shiny new toys to help in this pursuit, while Product Management 
received nothing. Not that Product Management is 
jealous.
Q: If 
I buy Flex Builder for Windows can I transfer that license to the Mac when it 
comes out?A: Honestly we're not sure yet, we still need to figure this out. 
We'll need another few weeks to answer this, hopefully before the trial 
expires.
Q: 
Will Flex Builder for Mac run on PPC, Intel, or both?A: We're very excited 
about the new Intel-based Macs (at least the engineers who received them are, PM 
is still not jealous) and at minimum we will be supporting that platform. We'd 
be interested in getting your feedback on the importance of supporting PPC given 
how quickly the Intel is getting adopted. Feel free to leave feedback 
here.
Q: 
What about Flash Player 9 on the Intel for Mac?A: You can grab a beta 
version of that Player here: 
http://www.adobe.com/products/flashplayer/public_beta
Q: 
What do I do in the meantime if I have a Mac?A: Download and use the free 
SDK. A number of developers have come up with workflows for building Flex 
applications using the Mac; we'll try to put together a more comprehensive list 
of them in the next few days.






From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shannon HicksSent: Wednesday, July 05, 2006 6:50 
AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Compiling 
Flex--thank you!




Just keep in mind that 
Adobe has not announced any plans to release a Mac version. They did remark that 
if they do release a Mac version (and we all assume they will), it won't be 
until the next major revision of Flex Builder. (Does that mean Flex Builder 3? 
If so, that's 16+ months away!)

Shan




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JohnSent: Tuesday, July 04, 2006 9:45 
PMTo: flexcodersSubject: [flexcoders] Compiling Flex--thank 
you!

Hi,I would like to thank 
everybody who has offered me help`-`I can't figure out how to compile 
flex applications using eclipse (or any IDE) on the Mac, and have given up on 
it. It worked fine in beta 3, but the final release does not work for 
me!I guess I will have to wait for flex builder to come to the mac, as I 
heard that is being worked on.If anybody has a detailed solution and 
would like to help, please contact me at 
school:[EMAIL PROTECTED]Thanks very much for all those who have 
helped`-`John 



Want to be your own boss? Learn how on Yahoo! 
Small Business. 

--No 
virus found in this incoming message.Checked by AVG Free 
Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 
7/4/2006

--No 
virus found in this outgoing message.Checked by AVG Free 
Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 
7/4/2006


--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus 

RE: [flexcoders] Compiling Flex--thank you!

2006-07-05 Thread Ted Patrick












I have a MacBook Pro and run bootcamp + Flexbuilder. Many devs
internally are running Parallels to use Flex Builder and the set-up works great.
The entire Flex Builder team got MacBooks for development of the Mac version of
Flex Builder. Adobe is very serious about making FlexBuilder great on both Win
and Mac similar to all other Adobe tools.



More to come



Ted Patrick

Flex Evangelist

Adobe Systems Incorporated













From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Shannon Hicks
Sent: Wednesday, July 05, 2006
8:30 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Compiling Flex--thank you!











Thanks for the link! Turns out my
information was 3 days older.



Perhaps I can get that MacBook Pro sooner
than I thought? :)



Shan









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted Patrick
Sent: Wednesday, July 05, 2006
10:07 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Compiling Flex--thank you!







Shan,

Not exactly true

http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_builder_on.cfm

Via the Flex Team Blog

June
30, 2006

Flex
Builder on the Mac

There have been many
questions over the last few days as to Adobe's intentions for releasing Flex
Builder on the Mac. As part of our continuing effort at transparency here is a
short list of questions and attempts at answers. Let us preface this by saying
that we have only begun the planning phases of the next release(s), so many of
these answers will be incomplete until we've had some more time (and sleep).

Q: Is there going to
be a Flex Builder release for the Mac? 
A: Yes

Q: Why wasn't it
released with the Windows version? 
A: We began by developing Flex Builder for both Mac and Windows at the same
time. However during development we ran into a number of issues that were
specific to OS X and needed to be addressed in Eclipse itself. Fixing those
issues would have meant delaying the overall schedule, so we decided to focus
on finishing the Windows release before returning to the Mac in a follow-up. In
the meantime the Eclipse community has been working on Eclipse 3.2 which fixes
a number of the issues we ran into earlier. This makes the likelihood of a
timely Mac release that much better, and we're looking forward to continuing to
improve Eclipse on the Mac. 

Q: When will Flex
Builder for the Mac be available?
A: We are still in our planning phases but we are hoping to have a public beta
on Labs this year and the production release early next year. One can imagine a
particular event in October where we'd be thrilled if we could launch the beta,
but we simply don't know our timelines yet. We can say that a whole lot of Flex
Builder engineers just received shiny new toys to help in this pursuit, while
Product Management received nothing. Not that Product Management is jealous.

Q: If I buy Flex
Builder for Windows can I transfer that license to the Mac when it comes out?
A: Honestly we're not sure yet, we still need to figure this out. We'll need
another few weeks to answer this, hopefully before the trial expires.

Q: Will Flex Builder
for Mac run on PPC, Intel, or both?
A: We're very excited about the new Intel-based Macs (at least the engineers
who received them are, PM is still not jealous) and at minimum we will be
supporting that platform. We'd be interested in getting your feedback on the
importance of supporting PPC given how quickly the Intel is getting adopted.
Feel free to leave feedback here.

Q: What about Flash
Player 9 on the Intel for Mac?
A: You can grab a beta version of that Player here:
http://www.adobe.com/products/flashplayer/public_beta

Q: What do I do in
the meantime if I have a Mac?
A: Download and use the free SDK. A number of developers have come up with
workflows for building Flex applications using the Mac; we'll try to put
together a more comprehensive list of them in the next few days.











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Shannon Hicks
Sent: Wednesday, July 05, 2006
6:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Compiling Flex--thank you!











Just keep in mind that Adobe has not announced any plans to release
a Mac version. They did remark that if they do release a Mac version (and we
all assume they will), it won't be until the next major revision of Flex
Builder. (Does that mean Flex Builder 3? If so, that's 16+ months away!)

Shan









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of John
Sent: Tuesday, July 04, 2006 9:45
PM
To: flexcoders
Subject: [flexcoders] Compiling
Flex--thank you!



Hi,

I would like to thank everybody who has offered me help`-`

I can't figure out how to compile flex applications using eclipse (or any IDE)
on the Mac, and have given up on it. It worked fine in beta 3, but the final
release does not work for me!

I guess I will have to wait for flex builder to come to the mac, 

RE: [flexcoders] change to mm.cfg setup in FP9?

2006-07-05 Thread Matt Horn
the only thing I can think of is the location of the mm.cfg file. what
do you mean by root of my user folder?

It should be in the directory specified by a combination of the
HOMEDRIVE/HOMEPATH environment variables (to see their values, open a
command prompt and type set).

on windows xp, the default should be something like c:\Documents and
Settings\username\, which I suspect you mean, but I just wanted to be
sure. On Win NT, though, it's typically just c:\

hth,

matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Paul BH
 Sent: Monday, July 03, 2006 9:39 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] change to mm.cfg setup in FP9?
 
 yep  - tried using the standalone player:
 C:\Program Files\Adobe\Flex Builder 2 
 Plug-in\Player\debug\saflashplayer.exe
 
 and both IE and FF plugins (debug)
 
 also tried removing the outputfilename parameter (at your 
 suggestion) so that any trace output would go to the default 
 location /me/flashlog.txt 
 
 still no dice
 
 the only way I can see my trace is when I do debug asflex 
 app and then I see the trace in the console.
 
 if anyone can offer any other clues I'd be really grateful 
 (or even just confirm that it works for them!) 
 
 ta
 
 PBH
 
 
 On 7/2/06, Johannes Nel [EMAIL PROTECTED] wrote:
 
   make certain its the debug player you have installed 
 otherwise it does not trace.
   
   
 
   On 6/30/06, Paul BH [EMAIL PROTECTED]  wrote:
 
   hi all - having some trouble setting up log file 
 tracing using FP9 
   standalone debug player...
   
   Ive done this a load of times befre, but this time 
 round I just cant
   get it to work
   
   my mm.cfg file is in the root of my user filder and 
 loks like this:
   
   TraceOutputFileName=c:/logs/flashlog.txt 
   ErrorReportingEnable=1
   TraceOutputFileEnable=1
   MaxWarnings=0
   
   
   pretty simple, but it just doesnt want to work for me...
   
   anyone have any pointers on any gotchas I might have overlooked?
   
   ta 
   
   PBH
   
   
   
   
   
   
    Yahoo! Groups Sponsor 
 ~--
   Yahoo! Groups gets a make over. See the new email design.
   
 http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM 
 http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM 
   
 --
 --~-
   
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t
 xt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
   Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links 
   
   
   
   
   
   
   
 
 
 
   -- 
   j:pn 
   http://www.lennel.org
   
 
   
 
   
 
 
  
 


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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] Tomcat and jdk version for Flex

2006-07-05 Thread Carson Hager





Tomcat 5.5 and Flex 1.5 are a great combination. We use 
Tomcat on nearly all of our Flex 1.5 apps. Just copy the flex.war to 
webapps and Tomcat will automatically deploy the Flex web 
application.


Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of a aSent: 
Wednesday, July 05, 2006 12:50 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Tomcat and jdk 
version for Flex


Hi all! I have just a simple question for starting develop Flex application 
with java.Someone are using Flex with java 1.5 and tomcat 5.5? Can 
this be a good configuration for application developing or maybe it's better 
using JRun with jdk1.4?I hope that you understand my bad english 
:PThanks for the answerbyeRex
Chiacchiera con i tuoi amici in tempo reale! 
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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] Excel, Flex Database

2006-07-05 Thread Ritesh Jariwala
Tom, can you redirect to me example or any tutorial on it?

With Regards,
 
Ritesh Jariwala (Actkid)
Freelance Developer 
www.actkid.com
Company: www.synonymic.com
 
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Wednesday, July 05, 2006 8:54 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Excel, Flex  Database

On Wednesday 05 July 2006 15:17, Ritesh Jariwala wrote:
 can we integrate flex data services to xls file so if I add record in 
 excel file  and click on save button will reflect changes in database.

With Enterprise FDS, you set the xls file as a CF datasource, and FDS will
send the updated data to the Flex client.

--
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~--
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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 ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] Tomcat and jdk version for Flex

2006-07-05 Thread hank williams



Well, its almost that easy.For flex 2 at least, you need to also install the JOTM for tomcat to work.Below is a description of how to do it that is better than the one in the manual. 
Hank1. un gzip the file http://debian-sf.objectweb.org/projects/
jotm
2. go to the lib directory in the resulting uncompressed folder3. place all the files in this folder in the $CATALINA_HOME/shared/lib directory except: a. log4j.jar b. commons-cli.jar c. jotm_iiop_stubs.jar
 NOTE: $CATALINA_HOME is just your tomcat folder.4. Create a new file called context.xml in :$CATALINA_HOME/webapps/your app name, in this case samples/META-INF5. Place the following in the file:
 Context path=/samples docBase=samples debug=0 reloadable=true crossContext=true !-- Description of the resource UserTransaction --
Resource name=UserTransaction auth=Container type=javax.transaction.UserTransaction /ResourceParams name=UserTransactionparameter
namefactory/namevalueorg.objectweb.jotm.UserTransactionFactory/value/parameterparameter name 
jotm.timeout/name
 value60/value /parameter/ResourceParams/ContextNOTE: In the first line above, the word samples listed twice, should
be whatever thename of your webapp is. Using samples allows you to
run the samples application that comes with FDS.or if you have Tomcat 5.5 or greater you may just place the following in the file:Context reloadable=true
 Transaction factory=
org.objectweb.jotm.UserTransactionFactory jotm.timeout=60 //Context
On 7/5/06, Carson Hager [EMAIL PROTECTED] wrote:







Tomcat 5.5 and Flex 1.5 are a great combination. We use 
Tomcat on nearly all of our Flex 1.5 apps. Just copy the flex.war to 
webapps and Tomcat will automatically deploy the Flex web 
application.


Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of a aSent: 
Wednesday, July 05, 2006 12:50 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Tomcat and jdk 
version for Flex


Hi all! I have just a simple question for starting develop Flex application 
with java.Someone are using Flex with java 1.5 and tomcat 5.5? Can 
this be a good configuration for application developing or maybe it's better 
using JRun with jdk1.4?I hope that you understand my bad english 
:PThanks for the answerbyeRex
Chiacchiera con i tuoi amici in tempo reale! 
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 






__._,_.___





--
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 release version: XML attribute string too long

2006-07-05 Thread Jonathan Bezuidenhout



Hi,I have XML that worked fine up to Beta 3 - the one attribute contains a long string - not exceptionally long - but not short - too lazy to count the number of characters.The released version of Flex does not seem to parse this string anymore, and tells me the following:
TypeError: Error #1095: XML parser failure: Unterminated attribute. at Main/::_XML1_i() at Main$iinit() at mx.managers::SystemManager/create() at mx.managers::SystemManager/::initializeTopLevelWindow
() at mx.managers::SystemManager/::frameEndHandler()I guess it is unable to see the end of the string. Maybe this is a player problem with the XML.Anyone else seen this and any ideas how to allow long strings?
ThanksJonathan

__._,_.___





--
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] Any way to tell a hbox to be only as wide as is needed for contents

2006-07-05 Thread Steve Webster



Hank,I have a variety of situations where I want a box to be just big enough to hold its contents, and to just resize other stuff to accomodate. One of the most important reasons for this is localization. I want to support lots of languages and I dont want to have to hard code widths to get things to look the way I want. This is also true for datagrid, where I would like certain columns to be exactly what they need to be to accomodate the headertext length and other to just grow or shrink to use the remaining available space.
Set width to NaN (if using ActionScript) or remove the width attribute (if in MXML view).Cheers,Steve-- Steve Webster
http://dynamicflash.com

__._,_.___





--
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] Re: Cairngorm Responder interface changes

2006-07-05 Thread Tim Hoff
Cool, thanks man.  Yeah, concerning the callbacks (2), just 
intrested to know success or failure (no data), so the view could 
react if necessary (applicable when binding is overkill, of course).

-TH

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

 Tim, as long as you don't go off and use AJAX, we'll all love you 
no matter 
 what you do.
 
 1. Nope.  The common use case is remoting calls, webservices 2nd, 
 httpservices 3rd.  Everyeone will get ResultEvents  FaultEvents.  
Those who 
 don't are using custom stuff, and thus know what they are getting 
into.
 
 2. Steven, and others like my boss the architect, do not like the 
 possibility of View's getting raw server data.  For example, an 
unfettered / 
 un-processed result that comes back from a Delegate call could 
make it's way 
 back to the View the originaly fired the Command.  This makes it 
all too 
 easy for developers not experienced with Cairngorm to allow View's 
to start 
 screwing with data.  They also have to know about ResultEvents 
and 
 FaultEvents.  To me, it's worth it; we just use the convention if 
we get a 
 result, it succeeded and follow the original rules.
 
 Regarding state, yeah man, you stated my feelings exactly.
 
 3. Cool.
 
 I'm working on training online material, professional for a 
change, that 
 will have a lot of the above.  The rest I'll blog as usual when 
it's 
 presentable.
 
 - Original Message - 
 From: Tim Hoff [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 05, 2006 2:51 AM
 Subject: [flexcoders] Re: Cairngorm Responder interface changes
 
 
 Hi Jesse,
 
 Let me start by saying that I acquiesce; no more viewHelpers.  All
 code has been rolled into the view.  For component oriented
 development, it makes sense.
 
 Concerning your cogent points of view:
 
 1) ResultEvent  FaultEvent events:  Not sure how much of an impact
 this makes in reality, But yes, do we need to support undefined?
 It adds weight.
 
 2) Command callbacks:  When I first got into Cairngorm, I wondered
 why there wasn't a round trip of communication back to the
 view/gesture.  There are plenty of local view actions that benefit
 from knowing the result of a command; maybe ViewResponder.  Here,
 I would hope that you would accept Steven's invitation to show your
 enhanced code, so that it might benefit all of us by possibly being
 rolled into Cairngorm.
 
 Functions vs. state variables: Yes, the scope of the function
 dictates the need for state representation.  I mean, if model ==
 state, should every toggled RadioButton or focused TextInput 
require
 a state variable for control.  At a point it becomes redundant, and
 more efficient to address locally.
 
 3) Added 2 methods to ServiceLocator:  See #2 about sharing and
 possible adoption.
 
 My comments to you are not personal, or even professional.  I have
 seen your work, website, and sat in on one of your online
 presentations.  I think that you are brilliant.  Being from SoCal, 
I
 know and appreciate your snowboarder mentality. :)  I agree with
 your points here.  I would just hope that, instead of bagging, you
 would contribute your proposed solutions, so that we all might 
enjoy
 a cleaner architecture.
 
 ::looking for teddy bears::
 -TH
 
 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  Sending again; sent at like 10:00am this morning, but still don't
 see it.  10:03pm now.
 
  -
 
  1. ResultEvent  FaultEvent events.  I disagree with this change,
 so have changed them back instead of of using the * change for the
 Responder interface.
 
  2. Command callbacks.  Sometimes, there is a legitimate need for 
a
 View to know when a Command is completed.  In my consulting, 
we've
 added an optional callback method that can be passed via
 EventBroadcaster (Cairngorm 1).  So, View's launching Commands have
 the option of using a Callback (like flash.net.Responder) to have a
 result method called when the Command is done.  We extended
 Cairngorm's command to have all of this plumbing hidden.  The
 convention we have is, If the View has his onResult run, he can
 conclude that the Command succeeded in it's operation.  If a fault
 was fired in the Delegate, this means the app is broken and needs 
to
 be fixed.  There is no error handling, only error fixing.
 
  In my personal work, I've implemented both; result and faults, 
via
 Event's.  If an event extends my JXLEvent class (which extends
 Cairngorm), it has the option of getting those callbacks.  I should
 probably do it like we do it at work, but for now, it works.  I 
like
 handling errors, so although fault and result are pretty low level,
 I can have View's handle errors (or Commands obviously).
 
  Both avoid ViewLocator via a nice convention.  It also makes it
 cake to have a chained command with visual feedback.  You can have
 your View fire off other commands in a particular order AND show
 visual feedback the whole time.  Could you do 

RE: [flexcoders] Tomcat and jdk version for Flex

2006-07-05 Thread Carson Hager





Right but he's not asking about Flex 2. That step is not a 
part of a Flex 1.5 installation.


Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Wednesday, July 05, 2006 10:12 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Tomcat and jdk 
version for Flex


Well, its almost that easy.For flex 2 at least, you need to also 
install the JOTM for tomcat to work.Below is a description of how to do 
it that is better than the one in the manual. 
Hank1. un "gzip" the file http://debian-sf.objectweb.org/projects/ jotm 2. go to the lib directory in the resulting 
uncompressed folder3. place all the files in this folder in the 
$CATALINA_HOME/shared/lib directory except: a. 
log4j.jar b. commons-cli.jar c. 
jotm_iiop_stubs.jar  NOTE: $CATALINA_HOME is just your tomcat 
folder.
4. Create a new file called context.xml in 
:$CATALINA_HOME/webapps/your app name, in this case 
"samples"/META-INF5. Place the following in the file: 
Context path="/samples" docBase="samples" debug="0" 
reloadable="true" crossContext="true"!-- Description 
of the resource "UserTransaction -- Resource 
name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction" 
/ResourceParams 
name="UserTransaction"parameter 
namefactory/namevalueorg.objectweb.jotm.UserTransactionFactory/value/parameterparameter 
name jotm.timeout/name 
value60/value 
/parameter/ResourceParams/ContextNOTE: 
In the first line above, the word "samples" listed twice, should be whatever 
thename of your webapp is. Using "samples" allows you to run the 
samples application that comes with FDS.
or if you have Tomcat 5.5 or greater you may just place the following in 
the file:Context reloadable="true" 
 Transaction factory=" org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60" 
//Context
On 7/5/06, Carson 
Hager [EMAIL PROTECTED] 
wrote:

  
  
  Tomcat 5.5 
  and Flex 1.5 are a great combination. We use Tomcat on nearly all of our Flex 
  1.5 apps. Just copy the flex.war to webapps and Tomcat will 
  automatically deploy the Flex web application.
  
  
  Carson
  
  Carson 
  HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 
  866-CYNERGYMobile: 1.703.489.6466
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of a 
  aSent: Wednesday, July 05, 2006 12:50 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  Tomcat and jdk version for Flex
  
  
  
  Hi all! I have just a simple question for starting develop Flex application 
  with java.Someone are using Flex with java 1.5 and tomcat 5.5? Can 
  this be a good configuration for application developing or maybe it's better 
  using JRun with jdk1.4?I hope that you understand my bad english 
  :PThanks for the answerbyeRex
  Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 
  
  
  

__._,_.___





--
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] Tomcat and jdk version for Flex

2006-07-05 Thread hank williams



I think you misread him. He did not mention flex 1.5 he mentioned java 1.5.RegardsHankOn 7/5/06, Carson Hager 
[EMAIL PROTECTED] wrote:






Right but he's not asking about Flex 2. That step is not a 
part of a Flex 1.5 installation.


Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
williamsSent: Wednesday, July 05, 2006 10:12 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Tomcat and jdk 
version for Flex


Well, its almost that easy.For flex 2 at least, you need to also 
install the JOTM for tomcat to work.Below is a description of how to do 
it that is better than the one in the manual. 
Hank1. un gzip the file http://debian-sf.objectweb.org/projects/
 jotm 2. go to the lib directory in the resulting 
uncompressed folder3. place all the files in this folder in the 
$CATALINA_HOME/shared/lib directory except: a. 
log4j.jar b. commons-cli.jar c. 
jotm_iiop_stubs.jar  NOTE: $CATALINA_HOME is just your tomcat 
folder.
4. Create a new file called context.xml in 
:$CATALINA_HOME/webapps/your app name, in this case 
samples/META-INF5. Place the following in the file: 
Context path=/samples docBase=samples debug=0 
reloadable=true crossContext=true!-- Description 
of the resource UserTransaction -- Resource 
name=UserTransaction auth=Container type=javax.transaction.UserTransaction 
/ResourceParams 
name=UserTransactionparameter 
namefactory/namevalueorg.objectweb.jotm.UserTransactionFactory/value/parameterparameter 
name jotm.timeout/name 
value60/value 
/parameter/ResourceParams/ContextNOTE: 
In the first line above, the word samples listed twice, should be whatever 
thename of your webapp is. Using samples allows you to run the 
samples application that comes with FDS.
or if you have Tomcat 5.5 or greater you may just place the following in 
the file:Context reloadable=true 
 Transaction factory= org.objectweb.jotm.UserTransactionFactory jotm.timeout=60 
//Context
On 7/5/06, Carson 
Hager [EMAIL PROTECTED] 
wrote:

  
  
  Tomcat 5.5 
  and Flex 1.5 are a great combination. We use Tomcat on nearly all of our Flex 
  1.5 apps. Just copy the flex.war to webapps and Tomcat will 
  automatically deploy the Flex web application.
  
  
  Carson
  
  Carson 
  HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
  866-CYNERGYMobile: 1.703.489.6466
  
  
  
  From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of a 
  aSent: Wednesday, July 05, 2006 12:50 AMTo: flexcoders@yahoogroups.com
Subject: [flexcoders] 
  Tomcat and jdk version for Flex
  
  
  
  Hi all! I have just a simple question for starting develop Flex application 
  with java.Someone are using Flex with java 1.5 and tomcat 5.5? Can 
  this be a good configuration for application developing or maybe it's better 
  using JRun with jdk1.4?I hope that you understand my bad english 
  :PThanks for the answerbyeRex
  Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
 
  
  
  






__._,_.___





--
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] Excel, Flex Database

2006-07-05 Thread Lance Linder












Darron, thanks for the links to these
examples! It is great to see some work done to import .xls files.



Is there any more recent work on this or
source to go with these examples? I would like to play around with this idea
and any source code would be greatly appreciated!



Thanks,

Lance











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darron J. Schall
Sent: Wednesday, July 05, 2006
8:37 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Excel,
Flex  Database











Yes, it's possible for Flex to load Microsoft Excel
data. However, it's 
not easy. You have to write a custom parser for the .xls file format. 
You can pull the raw binary data in via URLLoader setting it's 
dataFormat to DataFormat.BINARY, and then parse the .xls data into 
something usable for the Flex client.

See Jim Cheng's discussion on it here: 
http://www.psalterego.com/2006/05/17/parsing-excel-files-with-actionscript-30/

Simple demo here: http://dev.psalterego.com/xls/ExcelParser.html

-d

Ritesh Jariwala wrote:

 Hi All,

 

 I have question regarding application development.

 

 I need to develop little application which can load data from database 
 using flex into Microsoft Excel.

 

 Is it possible that flex can load the excel data or suppose if I made 
 changes in excel sheet and click on save it can save data into 
 database using flex?

 

 I know, I already seen such video when fabridge introduced, I am not 
 able to find the link of that video and examples.

 

 Can anyone tell me whether this is possible or not with flex?

 

 

 With Regards,

 

 Ritesh Jariwala (Actkid)

 Freelance Developer

 www.actkid.com http://www.actkid.com

 Company: www.synonymic.com http://www.synonymic.com

 

 

 






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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] Any way to tell a hbox to be only as wide as is needed for contents

2006-07-05 Thread hank williams



Thanks steve.That works great for components, but doesnt seem to work for datagrid columns. In that situation when I set the column width to nothing the column got bigger than when it was set manually. Ideally I would like to be able to make the column the width of the header text for the column.
HankOn 7/5/06, Steve Webster [EMAIL PROTECTED] wrote:



Hank,I have a variety of situations where I want a box to be just big enough to hold its contents, and to just resize other stuff to accomodate. One of the most important reasons for this is localization. I want to support lots of languages and I dont want to have to hard code widths to get things to look the way I want. This is also true for datagrid, where I would like certain columns to be exactly what they need to be to accomodate the headertext length and other to just grow or shrink to use the remaining available space.
Set width to NaN (if using ActionScript) or remove the width attribute (if in MXML view).Cheers,Steve-- Steve Webster

http://dynamicflash.com






__._,_.___





--
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] Re: Flex 2 - Sending complex objects to WebService

2006-07-05 Thread Jeremy Rottman
Can you post some code?

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

 I'm having trouble sending ValueObjects through WebServices (to
ColdFusion).
 
 When I try to send the ValueObject itself, flex only sends 'null'
for the
 value. Same if I try to send them in an array.
 
 Is there some method to serialize these objects so that the WSDL
knows what
 I'm supposed to be sending?
 
 Thanks,
 
 
 : : ) Scott







--
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] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread JesterXL
Required, no, encouraged, yes.

You have a public webservice I can call?  I can make an example, but don't 
know of a public one.

- Original Message - 
From: ben.clinkinbeard [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 05, 2006 1:51 PM
Subject: [flexcoders] Re: Handle result/fault from webservice call in 
Cairngorm 2


Can someone please post an example of making and handling a WS call in
Cairngorm 2? Is a Delegate required?

Thanks,
Ben

--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:

 I am also having trouble with Web Services in Cairngorm 2. The execute
 method of my command is being called, but the WS call is not being
 made, much less handled correctly. Can someone tell me what I am
 missing here?

 From Services.xml:

 mx:WebService id=industryAndSizeIdsService
makeObjectsBindable=false

 wsdl={TestModel.getInstance()[EMAIL PROTECTED]
 + '?WSDL'}
 showBusyCursor=true useProxy=false
 result=event.token.resultHandler(event)
 fault=event.token.faultHandler(event)

 mx:operation name=GetDataByGrouping resultFormat=e4x
 mx:request
 GroupingRequests
 GroupName
 RPRToolStaticData
 /GroupName
 /GroupingRequests
 /mx:request
 /mx:operation
 /mx:WebService

 And here is the call in my command class:

 public class LoadIndustryAndSizeIdsCommand implements Command, Responder
 {
 public function execute(event:CairngormEvent):void
 {
 var service:AbstractService =
 ServiceLocator.getInstance().getService(industryAndSizeIdsService);
 var call:AsyncToken = service.GetDataByGrouping.send();
 call.addEventListener(mx.rpc.events.FaultEvent.FAULT, onFault);
 call.addEventListener(mx.rpc.events.ResultEvent.RESULT, onResult);
 trace(execute);
 }

 public function onResult(event:* = null):void
 {
 trace(result);
 }

 public function onFault(event:* = null):void
 {
 trace(fault);
 }
 }

 Thanks,
 Ben









--
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 ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 





[flexcoders] Legend not Updating

2006-07-05 Thread Brendan Meutzner



Hi,I'm creating my the series for my Chart instance dynamically. When I change the yField value for a series it isn't updating the associated legend which uses my Chart instance as it's dataProvider. Do I actually have to destroy and recreate the series for the Legend to update?
Brendan

__._,_.___





--
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] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread ben.clinkinbeard
Sure, here is a simple call to Amazon's ItemSearch method. I emailed
you my access key b/c I am a little hesitant to post it out here.

mx:WebService id=ws makeObjectsBindable=false

wsdl=http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl;
useProxy=false showBusyCursor=true
result=onResult(event) fault=onFault(event)
mx:operation name=ItemSearch resultFormat=e4x
mx:request xmlns=
ItemSearch
Service
AWSECommerceService
/Service
AWSAccessKeyId
***ACCESS KEY HERE***
/AWSAccessKeyId
Request
SearchIndex
Books
/SearchIndex
Keywords
{keywords.text}
/Keywords
ResponseGroup
Small,Images
/ResponseGroup
/Request
/ItemSearch
/mx:request
/mx:operation
/mx:WebService

Thanks!
Ben






 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] Tomcat and jdk version for Flex

2006-07-05 Thread Kelly @ Dekayd Media Inc.












Flex 1.5 runs great on Tomcat.



We used it for a project for Mazda and
Honda and as far as I know it is in production now.







--Kelly

















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of a a
Sent: Wednesday, July 05, 2006
12:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tomcat and
jdk version for Flex











Hi all! I
have just a simple question for starting develop Flex application with java.

Someone are using Flex with java 1.5 and tomcat 5.5? 
Can this be a good configuration for application developing or maybe it's
better using JRun with jdk1.4?

I hope that you understand my bad english :P

Thanks for the answer

bye
Rex

Chiacchiera
con i tuoi amici in tempo reale! 
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 






__._,_.___





--
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] Re: Flex 2 - Sending complex objects to WebService

2006-07-05 Thread slangeberg



2 Problems:

- Can't send a custom object via WS (this will work if I create plain old object with same params):
 [Looking at ServiceCapture, Flex tries to send as Map with value of 'null']
- Second problem in email to come...!

mx:Script![CDATA[import mx.rpc.events.FaultEvent;import mx.controls.Alert;import com.churchwerks.attendance.vo.StudentVO;function init() {var students:Array = new Array();
var svo:StudentVO = new StudentVO();svo.firstName = Aaron;svo.lastName = Johnson;attendanceDelegate.saveAttendance( svo );}public function resultHandler( event : * = null ) : void
{trace( \n *** Test.onResult() );if ( String( event.result.SUCCESS ).toLowerCase() != true ) {Alert.show( event.result.MSG, Attendance Save Failed );
}}//public function faultHandler( event : * = null ) : void{var fe:FaultEvent = event as FaultEvent;
Alert.show( ( fe ? fe.fault.faultString : Unable to save attendance ), Test - WebService Fault );}]]/mx:Scriptmx:WebService wsdl=
http://granite/churchwerks/sis/sis_ent/ws/AttendanceService.cfc?wsdl id=attendanceDelegate  fault=faultHandler(event) 
 result=resultHandler(event)  useProxy=false   mx:operation name=saveAttendance / /mx:WebService 

package com.churchwerks.attendance.vo{//import org.nevis.cairngorm.vo.ValueObject;import com.adobe.cairngorm.vo.ValueObject; [Bindable]public class StudentVO implements ValueObject
{public var id: String = null; public var gender:String = ;public var firstName: String = ;public var lastName: String = ;public var photo: String = ;
public var AT_ID: String = 0;public var ATS_SID: String = 0;public var status:String = ;public var reason:String = ;public var symbol:String = ;
public var themeColor:String = ;public var row:int;public var col:int;

public function toString():String {return [StudentVO, + id + , + gender + , + firstName + , + lastName + , + photo + , 
+ AT_ID + , + ATS_SID + , + status + , + reason + , + symbol + , + themeColor + , + (+row+, +col+)
+ ];}}}
On 7/5/06, Jeremy Rottman [EMAIL PROTECTED] wrote:






Can you post some code?
--- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:
 I'm having trouble sending ValueObjects through WebServices (toColdFusion).  When I try to send the ValueObject itself, flex only sends 'null'for the value. Same if I try to send them in an array.
  Is there some method to serialize these objects so that the WSDLknows what I'm supposed to be sending?  Thanks,   : : ) Scott


 -- : : ) Scott 

__._,_.___





--
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] Problem with chart license

2006-07-05 Thread pasflex
We compile our app using ant and mxmlc.jar.  Bought a charting license 
and followed the install instructions and put the license key in the 
license.properties but still get the Flex Charting Trial Watermark on 
our charts.  Tried a variety of deleting/reinstalling things but the 
watermark is still there.

Anyone have any ideas?





 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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] Re: Flex 2 - Sending complex objects to WebService

2006-07-05 Thread slangeberg



2nd Problem:

Can't send an array of plain old objects!:

In this case, data appears to go across alright, but ColdFusion returns the following error: 
  SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

Can someone please describe how they are sending sets of objects to a WS from flex? (Coldfusion webservice, in this case).
mx:Script![CDATA[import mx.rpc.events.FaultEvent;import mx.controls.Alert;import com.churchwerks.attendance.vo.StudentVO;function init() {var students:Array = new Array();
var s:Object = new Object(); // s:StudentVO = new StudentVO();s.firstName = Aaron;s.lastName = Johnson;students.push( s );s = new Object(); s.firstName
 = Scott;s.lastName = Langeberg;students.push( s );attendanceDelegate.saveAttendance( students );}public function resultHandler( event : * = null ) : void
{trace( \n *** Test.onResult() );if ( String( event.result.SUCCESS ).toLowerCase() != true ) {Alert.show( event.result.MSG, Attendance Save Failed );
}}//public function faultHandler( event : * = null ) : void{var fe:FaultEvent = event as FaultEvent;
Alert.show( ( fe ? fe.fault.faultString : Unable to save attendance ), Test - WebService Fault );}]]/mx:Scriptmx:WebService wsdl=
http://granite/churchwerks/sis/sis_ent/ws/AttendanceService.cfc?wsdl id=attendanceDelegate  fault=faultHandler(event) 
 result=resultHandler(event)  useProxy=false   mx:operation name=saveAttendance / /mx:WebService 
On 7/5/06, Jeremy Rottman [EMAIL PROTECTED] wrote:






Can you post some code?
--- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:
 I'm having trouble sending ValueObjects through WebServices (toColdFusion).  When I try to send the ValueObject itself, flex only sends 'null'for the value. Same if I try to send them in an array.
  Is there some method to serialize these objects so that the WSDLknows what I'm supposed to be sending?  Thanks,   : : ) Scott


 -- : : ) Scott 

__._,_.___





--
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] Getting #1034 Type Coercion Error in FB2 GA - didn't happen in FB2B3.

2006-07-05 Thread medfordpics
I have had an application going since BETA 1 of Flex 2.0.  I am just
doing a simple query to a PHP script and now with the GA of Flex 2.0 -
I am getting a #1034 Type Coercion Error on my queries.  I have tried
debugging but I am getting hopelessly lost in the errors.

Below is an example of the code I am using - this was just working
before I upgraded.

...creationComplete=getLatestAlbums.send() //when the app comes up.

mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;

[Bindable]
public var LatestAlbums:ArrayCollection;

private function resultlatestalbumsHandler(event:ResultEvent) : void
{
LatestAlbums = new
ArrayCollection(getLatestAlbums.lastResult.albumlist.albums)
}
private function faultHandler(event:FaultEvent) : void
{
Alert.show(I can't believe this is now broken);
}
]]
/mx:Script

mx:HTTPService id=getLatestAlbums url=../php/latestalbums.php 
useProxy=false method=POST
result=resultlatestalbumsHandler(event)
fault=faultHandler(event)
showBusyCursor=true
/mx:HTTPService
myPanel title=Latest Albums id=LatestAlbumsPanel
myTileList dataProvider={LatestAlbums}
itemRenderer=latestalbumthumbs id=latestalbumslist/
/myPanel

All I am trying to do, is get the latest pictures from my query and
throw them into the TileList.  This worked before...and now is busted.
 I don't get any errors when I compile this in Flex Builder, but when
I use the latest Flash Player (GA) it blows up on me with the Type
Coercion errors.

Thanks for your help.

-Jeff






--
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] Getting #1034 Type Coercion Error in FB2 GA - didn't happen in FB2B3.

2006-07-05 Thread Brendan Meutzner



Hey,Set makeObjectsBindable=false inside your HTTPService call... http://groups.yahoo.com/group/flexcoders/message/37852
Brendan
On 7/5/06, medfordpics [EMAIL PROTECTED] wrote:














  



I have had an application going since BETA 1 of Flex 2.0.  I am just
doing a simple query to a PHP script and now with the GA of Flex 2.0 -
I am getting a #1034 Type Coercion Error on my queries.  I have tried
debugging but I am getting hopelessly lost in the errors.

Below is an example of the code I am using - this was just working
before I upgraded.
--
...creationComplete=getLatestAlbums.send() //when the app comes up.

mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;

[Bindable]
public var LatestAlbums:ArrayCollection;

private function resultlatestalbumsHandler(event:ResultEvent) : void
{
LatestAlbums = new
ArrayCollection(getLatestAlbums.lastResult.albumlist.albums)
}
private function faultHandler(event:FaultEvent) : void
{
Alert.show(I can't believe this is now broken);
}
]]
/mx:Script

mx:HTTPService id=getLatestAlbums url="" 
		useProxy=false method=POST
		result=resultlatestalbumsHandler(event)
		fault=faultHandler(event)
		showBusyCursor=true
/mx:HTTPService
myPanel title=Latest Albums id=LatestAlbumsPanel
myTileList dataProvider={LatestAlbums}
itemRenderer=latestalbumthumbs id=latestalbumslist/
/myPanel
--
All I am trying to do, is get the latest pictures from my query and
throw them into the TileList.  This worked before...and now is busted.
 I don't get any errors when I compile this in Flex Builder, but when
I use the latest Flash Player (GA) it blows up on me with the Type
Coercion errors.

Thanks for your help.

-Jeff


  
















__._,_.___





--
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] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread ben.clinkinbeard
But the Delegate class used in Delegate.create() seems to be missing
from AS3, so how would you use Delegates?

Thanks,
Ben

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Wednesday 05 July 2006 07:20, Artur Kordowski wrote:
  Why not use a delegate ?
  The delegate class is not longer available in the flex framework, so I
  can't use it.
 
 It was never in the flex framework, it's a Cairngorm convention.
 
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 




[flexcoders] Re: any disadvantages to using FDS + CF vs. FDS + Java?

2006-07-05 Thread Tom Jordahl
--- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote:

 Since we have more CF developers in-house, we're wondering if there
are any
 disadvantages or limitations of using CF with FDS instead of using Java.

Just wanted to jump in here and say that using ColdFusion does have
some advantages over Java.  For one thing, not having to write Java
code to do JDBC manipulation of your data is a big one.  We believe
that for RAD development, CFML (especially given the Flex Builder
wizards we provide)  will get you up and running much quicker.

A CF solution should scale very well, as you are offloading the
processing of the DB operations on to the CF server.  You do pay a
small price in moving the result sets from CF to Flex over a network
if CF and Flex are on different machines.

We fully support the change object model of writing Assemblers as
ColdFusion Components.  The one thing we do not support writing in
CFML is the 'server push' API which allows a Java application running
in the Flex web application to 'push' changes to the data in to the
Flex managed result sets.  We are currently evaluating supporting this
in a future release.

I hope this (biased) information helps.


--
Tom Jordahl
Adobe CF Team





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/
 




[flexcoders] FDS on CFMX configuration problems

2006-07-05 Thread Tom Bray



When I first started working with FDS, I used the standalone version with integrated JRun and had FB configured to launch FDS and direct its logging to the output pane in FB. I was happy.Now, I'm trying to configure FDS on top of CFMX and haven't had much success. I used the instructions below at this link: 
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4f079a4dpss=rss_flex_4f079a4d. It would be very helpful if Adobe would expand upon those instructions with the steps for getting the sample apps up and running.
Also, the instructions for setting up debugging (http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debugging) need to be updated for the final release of FDS and I'd love to see a similar document for setting up debugging with FDS on CFMX.
In the meantime, I'm having errors that I don't know how to get additional information on. I'm trying to get the notes sample app running, and I get this error:[RPC Fault faultString=Send failed faultCode=
Client.Error.MessageSend faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500]Subscribing to the notes destination works, but sending a message doesn't. I obviously need more details to diagnose the problem, so an explanation of how to see that logging information would be awesome.
Thanks,Tom

__._,_.___





--
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] falling between items when using itemRollOver (DataGrid)

2006-07-05 Thread djbrown_rotonews
I'm using the itemRollOver event mechanism to display additional info 
about items in my DataGrid, and it appears that you can fall between 
items with the mouse (ie, I'll be at Row 1 Column 5 and move the mouse 
a tick down and it goes to Row 2 Column 0, and then back to Row 2 
Column 5 after another slight move).

 Is there a way to programmaticaly prevent this behavior? The end 
result is I get some info flicker as the event triggers some info 
based on Row 2, Column 0 very quickly before proceeding to the next 
event target.






--
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] Custom Context Menus

2006-07-05 Thread Shannon Hicks





I think that it'd be nice to have an "about this 
application" next to the "aboutflash"... something where we can specify a 
URL to go to, just like the "view source" option.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of David 
MendelsSent: Wednesday, July 05, 2006 3:05 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Custom Context 
Menus



Hello,

To be clear, you can do context menus: http://livedocs.macromedia.com/flex/2/langref/flash/ui/ContextMenuItem.html

You can't remove the About menu item. If there are 
features you want us to add to context menus in Flex, please submit: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

-David

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Pottavathini, 
  SathishSent: Wednesday, July 05, 2006 2:24 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Custom Context 
  Menus
  
  That 
  should not matter, if the OS is not supported then context manu doesn't appear 
  in that case. If they are allowing custom menus then i fail to understand why 
  they don't allow submenus. The main reason people write their programs in flex 
  is for the richness in it, if it doesn't offer simple things like context 
  menus then it works so against it.
  
  Sathish
  
-Original Message-From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED]On Behalf Of Ben 
StuckiSent: Saturday, July 01, 2006 5:29 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Custom 
Context Menus

The context menus 
are probably a special case, as they are quite obviously rendered by the OS. 
Windows has context icons and submenus, but do older Mac and Linux versions 
have these features? I dont know for sure, but Im guessing not every 
targeted OS has these. Its a critical goal that flash works consistently 
across all platforms. In a few cases like this it means going with the 
lowest common denominator.





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Michael 
SchmalleSent: Friday, June 
30, 2006 6:19 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Custom 
Context Menus




 but i 
don't see any reason for not allowing icons and submenus!HAHA I 
don't either but...Hey, have you used Flash? We have been 
asking for this for years man! You have to keep nagging the Flash Player 
team!Peace, Mike

On 6/30/06, Pottavathini, Sathish [EMAIL PROTECTED] 
wrote:






I 
understand #1, but i don't see any reason for not allowing icons and 
submenus!

-Original 
Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Michael 
SchmalleSent: Friday, June 
30, 2006 1:46 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Custom 
Context Menus
Simply 
put;No and 
No.These have been asked for for along time but 
there is the line and you hit.You also cannot 
remove the About menu item, which is required so that users can find out 
what version of Flash Player they are using.Sorry :)Peace, 
Mike


On 6/30/06, 
Jeremy Rottman [EMAIL PROTECTED] wrote: 






I am working on a real estate transaction app, done 
in flex/cf. Tostream line things and to make it a little eaiser to get 
the data theadmins want, I am using a custom context menu on my data 
grids. I have run into something I dont really conside a problem, 
but it issomething I would like to do. I have already created my context 
menu,and it works just fine. Two things I would like to do is:1. 
Remove the Settings menuitem and remove the About Adobe Flashplayer 9 
menu item. I have an inkling that the poeple using it mightconfuse those 
with somehting else. Can this even be done?2. I would also like to 
add small icons next to the menu items to giveit a nice look and feel. I 
have searched the live docs and cant seemto find this. Any help with 
this would also be greatly appreciated.Here is the code I am 
using.import flash.ui.*;import flash.events.*;import 
mx.controls.dataGridClasses.*;import 
mx.controls.Alert;//--//*HANDLE 
LISTING SEARCH CONTEXTMENU**// SET 
CONTEXT MENU VARprivate var listSearchM:ContextMenu;private 
function 
applyContextMenu(){createListingMenu();listingSearchDG.contextMenu = 
listSearchM;}private function 
createListingMenu(){listSearchM = new 
ContextMenu();listSearchM.addEventListener("menuSelect", 
menuSelectHandler);listSearchM.hideBuiltInItems();var 
customContextArray:Array = new Array();var newList:ContextMenuItem = 
newContextMenuItem("Create New 
  

Re: [flexcoders] Re: any disadvantages to using FDS + CF vs. FDS + Java?

2006-07-05 Thread Tom Bray



Thanks, Tom. The primary responsibility of our server-side logic is to push data out to clients (updating user lists, sending validated chat messages, etc.), so it sounds like that's a deal-breaker for CF. :(-Tom
On 7/5/06, Tom Jordahl [EMAIL PROTECTED] wrote:













  



--- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote:


 Since we have more CF developers in-house, we're wondering if there
are any
 disadvantages or limitations of using CF with FDS instead of using Java.

Just wanted to jump in here and say that using ColdFusion does have
some advantages over Java.  For one thing, not having to write Java
code to do JDBC manipulation of your data is a big one.  We believe
that for RAD development, CFML (especially given the Flex Builder
wizards we provide)  will get you up and running much quicker.

A CF solution should scale very well, as you are offloading the
processing of the DB operations on to the CF server.  You do pay a
small price in moving the result sets from CF to Flex over a network
if CF and Flex are on different machines.

We fully support the change object model of writing Assemblers as
ColdFusion Components.  The one thing we do not support writing in
CFML is the 'server push' API which allows a Java application running
in the Flex web application to 'push' changes to the data in to the
Flex managed result sets.  We are currently evaluating supporting this
in a future release.

I hope this (biased) information helps.

--
Tom Jordahl
Adobe CF Team


  















__._,_.___





--
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] Flex 2: Debugger annoyance

2006-07-05 Thread Tobias Patton










Hello Flexcoders;



Sometimes when Im in a debugging session, one or more
variables in the Variables windows refuses to close. If I click -
next to the row it closes, but then immediately opens up again. This is
irritating because the debugger seems to slow down the more variables are open
for inspection.



Anyone else have this problem? Anyone know how to fix it?



Thanks.

Tobias.

Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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] Chart watermark won't go away in SDK

2006-07-05 Thread vanhoese
I followed the instructions from the readme_charting.htm for the 
standalone Flex SDK.  I also removed the generated cache file that is 
created when I call mxmlc from the java command through ANT.  the new 
compiled swf still has watermarked charts.  Is seems like something is 
still cached.  Has anybody had success installing the serial key after 
you had used the charting trial?  

Here's my OS and java versions:
 uname -a
SunOS utopia 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-V240
 java -version
java version 1.4.2_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
 





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





[flexcoders] Re: Tomcat and jdk version for Flex

2006-07-05 Thread Dave Wolf
We use this configuration consistantly.  It is quite stable and proven
so in production.  You will find, like with all products, that some
minor dot releases of Tomcat are better than others.  

However it is a fabulous configuration overall.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc.
[EMAIL PROTECTED] wrote:

 Flex 1.5 runs great on Tomcat.
 
  
 
 We used it for a project for Mazda and Honda and as far as I know it
is in
 production now.
 
  
 
  
 
  
 
 --Kelly
 
  
 
  
 
  
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of a a
 Sent: Wednesday, July 05, 2006 12:50 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Tomcat and jdk version for Flex
 
  
 
 Hi all! I have just a simple question for starting develop Flex
application
 with java.
 
 Someone are using Flex with java 1.5 and tomcat 5.5? 
 Can this be a good configuration for application developing or maybe
it's
 better using JRun with jdk1.4?
 
 I hope that you understand my bad english :P
 
 Thanks for the answer
 
 bye
 Rex
 
  Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com







 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/
 





CF/Flex wizards (was Re: [flexcoders] Re: any disadvantages to using FDS + CF vs. FDS + Java?)

2006-07-05 Thread Douglas Knudsen
On 7/5/06, Tom Jordahl [EMAIL PROTECTED] wrote:
 --- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote:
 
  Since we have more CF developers in-house, we're wondering if there
 are any
  disadvantages or limitations of using CF with FDS instead of using Java.

 Just wanted to jump in here and say that using ColdFusion does have
 some advantages over Java.  For one thing, not having to write Java
 code to do JDBC manipulation of your data is a big one.  We believe
 that for RAD development, CFML (especially given the Flex Builder
 wizards we provide)  will get you up and running much quicker.

Speaking of these wizards, how can we modify the templates they are
generated from?
How difficult would it be to make them scriptable or add the ability
for them to act on mulitple tables?

DK


 A CF solution should scale very well, as you are offloading the
 processing of the DB operations on to the CF server.  You do pay a
 small price in moving the result sets from CF to Flex over a network
 if CF and Flex are on different machines.

 We fully support the change object model of writing Assemblers as
 ColdFusion Components.  The one thing we do not support writing in
 CFML is the 'server push' API which allows a Java application running
 in the Flex web application to 'push' changes to the data in to the
 Flex managed result sets.  We are currently evaluating supporting this
 in a future release.

 I hope this (biased) information helps.


 --
 Tom Jordahl
 Adobe CF Team






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









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


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
 




[flexcoders] Re: Shift-tabbing not working in Firefox with wmode=opaque

2006-07-05 Thread Scott Romer
An additional problem that I noticed... droplists don't seem to use
the correct key functions when wmode=opaque.  For instance, the
default key combination of using Ctrl-[Down Arrow] should open up a
droplist on a combobox.   When wmode=opaque, Ctrl doesn't seem to be
recognized, but the Alt key seems to open the dropdown?

I'm confused at why this has an impact.

I'm going to try to convince team that we should not need
wmode=opaque, but would still be nice to have a different work around.

Thanks for any ideas.
-Scott

--- In flexcoders@yahoogroups.com, Scott Romer [EMAIL PROTECTED] wrote:

 I have wmode=opaque in my Object/Embed tag.  When I tab through the
 dataGrid everything works fine.  However, when I try to shift-tab (to
 tab backwards), it only tabs forwards (as if the shift key is not
 being held down).
 
 This seems to only be reproducible on FireFox (have not tried other
 Mozilla browsers).  This is not a bug on Internet Explorer...
 (Tested on Windows XP)
 
 It sounds similar to someone else's issue about the mouse scrollWheel
 not working. (I'm guessing on the correlation here though)
 
 Any ideas?








 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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] Compiling Flex--thank you!

2006-07-05 Thread Nick Collins



I'd wait on the MacBook a little while longer... they're updating them as soon as Intel starts shipping their Core 2 Duo laptop processors and it'll be alot faster. Plus I've heard rumors they'll be changing the case design at that point to, so here's to hoping they don't use another aluminum case that interferes with the WiFi. :-)
On 7/5/06, Ted Patrick [EMAIL PROTECTED] wrote:













  













I have a MacBook Pro and run bootcamp + Flexbuilder. Many devs
internally are running Parallels to use Flex Builder and the set-up works great.
The entire Flex Builder team got MacBooks for development of the Mac version of
Flex Builder. Adobe is very serious about making FlexBuilder great on both Win
and Mac similar to all other Adobe tools.



More to come…



Ted Patrick

Flex Evangelist

Adobe Systems Incorporated













From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Shannon Hicks
Sent: Wednesday, July 05, 2006
8:30 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Compiling Flex--thank you!











Thanks for the link! Turns out my
information was 3 days older.



Perhaps I can get that MacBook Pro sooner
than I thought? :)



Shan









From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Ted Patrick
Sent: Wednesday, July 05, 2006
10:07 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Compiling Flex--thank you!







Shan,

Not exactly true…


http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_builder_on.cfm

Via the Flex Team Blog…


June
30, 2006


Flex
Builder on the Mac


There have been many
questions over the last few days as to Adobe's intentions for releasing Flex
Builder on the Mac. As part of our continuing effort at transparency here is a
short list of questions and attempts at answers. Let us preface this by saying
that we have only begun the planning phases of the next release(s), so many of
these answers will be incomplete until we've had some more time (and sleep).


Q: Is there going to
be a Flex Builder release for the Mac? 
A: Yes


Q: Why wasn't it
released with the Windows version? 
A: We began by developing Flex Builder for both Mac and Windows at the same
time. However during development we ran into a number of issues that were
specific to OS X and needed to be addressed in Eclipse itself. Fixing those
issues would have meant delaying the overall schedule, so we decided to focus
on finishing the Windows release before returning to the Mac in a follow-up. In
the meantime the Eclipse community has been working on Eclipse 3.2 which fixes
a number of the issues we ran into earlier. This makes the likelihood of a
timely Mac release that much better, and we're looking forward to continuing to
improve Eclipse on the Mac. 


Q: When will Flex
Builder for the Mac be available?
A: We are still in our planning phases but we are hoping to have a public beta
on Labs this year and the production release early next year. One can imagine a
particular event in October where we'd be thrilled if we could launch the beta,
but we simply don't know our timelines yet. We can say that a whole lot of Flex
Builder engineers just received shiny new toys to help in this pursuit, while
Product Management received nothing. Not that Product Management is jealous.


Q: If I buy Flex
Builder for Windows can I transfer that license to the Mac when it comes out?
A: Honestly we're not sure yet, we still need to figure this out. We'll need
another few weeks to answer this, hopefully before the trial expires.


Q: Will Flex Builder
for Mac run on PPC, Intel, or both?
A: We're very excited about the new Intel-based Macs (at least the engineers
who received them are, PM is still not jealous) and at minimum we will be
supporting that platform. We'd be interested in getting your feedback on the
importance of supporting PPC given how quickly the Intel is getting adopted.
Feel free to leave feedback here.


Q: What about Flash
Player 9 on the Intel for Mac?
A: You can grab a beta version of that Player here:
http://www.adobe.com/products/flashplayer/public_beta


Q: What do I do in
the meantime if I have a Mac?
A: Download and use the free SDK. A number of developers have come up with
workflows for building Flex applications using the Mac; we'll try to put
together a more comprehensive list of them in the next few days.











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Shannon Hicks
Sent: Wednesday, July 05, 2006
6:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Compiling Flex--thank you!











Just keep in mind that Adobe has not announced any plans to release
a Mac version. They did remark that if they do release a Mac version (and we
all assume they will), it won't be until the next major revision of Flex
Builder. (Does that mean Flex Builder 3? If so, that's 16+ months away!)

Shan









From: 
flexcoders@yahoogroups.com

  1   2   >