[flexcoders] Re: No more posts re: moderation / yahoogroups pls

2006-06-18 Thread Jeremy Rottman
I personally have to agree with steven, the list works well. So well
in fact that I do not see a need to change to any other type of
forum/list.

If you are having issues with finding posts, searching, getting an
answer. Then to be frank, you are doing it wrong. As many have posted
before, use outlook, thunderbird, exchange, or you could use gmail.
The search functionally that google has developed for gmail is
astounding. Every single post that goes through flexcoders is sent to
my list gmail account and auto tagged and sorted for me. If I need
something a few days later, or even weeks later. I open up my list
account, search for what I need and bam it is right there.

The obvious reasons for no moving the list off yahoo groups would be.
Money, who is going to pay for the domain name, the hosting, the forum
software, the up keep. Secondly I forsee the forum/list turning into
the same debacle that was known as flashcoders. Thier forums/list was
a great assest for new flash/as developers. Now it is nothing but a
flame fest where new people can't get a lick of help.

Me for one, I appreciate every ounce of help I have gotten from
flexcoders. I have learned alot in a very short time, mainly because I
know if I have an issue that I can't figure out. There is a great
community willing to help me. 

I thank steven for all his hardwork he does with this group, and I say
leave the topic alone and let it die and lets move on to some good
questions and even better answers.

Elguapo--


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

 Guys,
  
 Post will be much easier to find, and the list much easier to read, if
 there aren't 30+ posts a day with various opinions on how the list could
 be different or better !  We've had a successful community running here
 on yahoogroups since day zero of Flex's launch ... we'll keep a very
 close eye on whether there's a compelling need to make changes to the
 way the list operates, but for the time being, it's satisfying the aims
 of the silent majority.  For many of us, yahoogroups *is* the flex
 coding community - if you've joined recently, I'd urge you to get to
 know the community here, rather than call for it's fragmentation.  
  
 There's a depth of resource on this list like few others - newcomers
 arrive in waves, and with each wave, those who have come before them are
 doing a tremendous job of answering the questions that they themselves
 were asking only a few months ago.  With the depth of experience on the
 list going all the way back to the community who were using Flex during
 it's advisory board/alpha/beta before the Flex 1.0 release, the Adobe
 Consultants who are helping customers and partners in their success with
 Flex, and a great number of the Adobe Engineers who unofficially hang
 out here to make sure that the fruits of their labor become the enabling
 technology for the fruits of yours, you're not going to struggle to have
 your questions answered here.
  
 There's an archive search of the list here -
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 http://www.mail-archive.com/flexcoders%40yahoogroups.com   - if anyone
 requires it, and as so many of you have pointed out, there are a number
 of strategies of using your various and favourite mail clients to find a
 way of using and contributing to the list in a manner that suits your
 needs.
  
 Can I ask that we move the conversation on from the technical
 infrastrcture behind the list - as with a community of ~4000 people,
 there are always going to be opinions on how things could be done
 differently, that will match some needs but not others.  Instead, can I
 ask that we return our focus back to ensuring that flexcoders continue
 to be the high-value resource and focalpoint of the Flex development
 community that it has successfully been for almost two and half years.
  
 Let's hear about the web-changing experiences you're delivering with
 Flex, the challenges you faced building them, and the solutions you
 innovated to address them.
  
 Best wishes,
  
 Steven
 ( List administrator )








 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/
 





[flexcoders] Re: F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-18 Thread Tim Hoff



Thanks for the great tips. The changes worked great. I wonder if there is additional overhead associated with declaring untyped special type variables (*) compared to typed variables?
I couldn't get the color picker focus border to dissapear completely. Nothing that I tried with the FocusManager worked. I'm probably just doing it wrong. But, for now the sample is good enough to demonstrate the ComboBox ItemRenderer concepts.
Thanks again,Tim Hoffhttp://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=447--- In flexcoders@yahoogroups.com, "Jeremy Lu" [EMAIL PROTECTED] wrote: hi Tim,  try this (solves yellow can't be selected problem):  private function addColor(event:Event):void { cp.visible = false; // var itm:* = cp.dataProvider[ cp.selectedIndex ]; Util.traceValue(itm); // colorArray.push({label:itm.label, color:itm.color}); messageText.setStyle('color',itm.color); messageText.text = itm.label + " has been added to the comboBox."; cbxColor.open(); btnAddColor.setFocus(); }  things I changed:  1. listen to ColorPicker's "close" event, instead of "change" event  2. get the value from cp using "selectedIndex" instead of "selectedItem", this will ensure you get the right value out of the picker.  regarding the focus around cp after it's set invisible, can't figure out it, but in the past when I ran into this, I usually set focus to a textfield off the stage or completely turn off the focus.

__._,_.___





--
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] No more posts re: moderation / yahoogroups pls

2006-06-18 Thread Vinny Timmermans





Steven, 

It does not make a lot of sense to defend again and 
againwhathas beenright for a few 100 flexcoders two years ago, 
while so many community members have new ideas to make things better. Embrace 
complaints and suggestions instead of asking people not to post their ideas 
anymore on how to improve this community. This request soundsweird from an 
innovative guy like you. This is a community, you cannot dictate the topics on 
the agenda.

Times change, new members arrive, people are getting used 
to better experiences, this means flexcoders need to adapt to these changes as 
well, especially now we are going to see an increase in the amountof 
people working with Flex.

Where do you see room for improvement? What are your plans 
for flexcoders?. Show us your roadmap for flexcoders 2.0?

Vinny


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steven 
WebsterSent: zondag 18 juni 2006 6:52To: 
flexcoders@yahoogroups.comSubject: [flexcoders] No more posts re: 
moderation / yahoogroups pls



Guys,

Post will be much easier to find, and the list much easier 
to read, if there aren't 30+ posts a day with various opinions on how the list 
could be different or better ! We've had a successful community running 
here on yahoogroups since day zero of Flex's launch ... we'll keep a very close 
eye on whether there's a compelling need to make changes to the way the list 
operates, but for the time being, it's satisfying the aims of the silent 
majority. For many of us, yahoogroups *is* the flex coding community - if 
you've joined recently, I'd urge you to get to know the community here, rather 
than call for it's fragmentation. 

There's a depth of resource on this list like few others - 
newcomers arrive in waves, and with each wave, those who have come before them 
are doing a tremendous job of answering the questions that they themselves were 
asking only a few months ago. With the depth of experience on the list 
going all the way back to the community who were using Flex during it's advisory 
board/alpha/beta before the Flex 1.0 release, the Adobe Consultants who are 
helping customers and partners in their success with Flex, and a great number of 
the Adobe Engineers who unofficially hang out here to make sure that the fruits 
of their labor become the enabling technology for the fruits of yours, you're 
not going to struggle to have your questions answered here.

There's an archive search of the list here - http://www.mail-archive.com/flexcoders%40yahoogroups.com 
- if anyone requires it, and as so many of you have pointed out, there are a 
number of strategies of using your various and favourite mail clients to find a 
way of using and contributing to the list in a manner that suits your 
needs.

Can I ask that we 
move the conversation on from the technical infrastrcture behind the list - as 
with a community of ~4000 people, there are always going to be opinions on how 
things could be done differently, that will match some needs but not 
others. Instead, can I ask that we return our focus back to ensuring that 
flexcoders continue to be the high-value resource and focalpoint of the Flex 
development community that it has successfully been for almost two and half 
years.

Let's hear about the web-changing experiences you're 
delivering with Flex, the challenges you faced building them, and the solutions 
you innovated to address them.

Best wishes,

Steven
( List administrator )

__._,_.___





--
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: No more posts re: moderation / yahoogroups pls

2006-06-18 Thread Tim Hoff
Hi Vinny,

I respectfully disagree with you.  There are several very qualified 
moderators that are watching closely to ensure that this list 
functions as intended.  I'm confident that if a need to change the 
format arises, an effective change will be made.  Meanwhile, the 
request is simple: The majority of personal opinions (rants) should 
be reserved for personal blogs.  With this discretion, the purity 
and quality of useful interchange will be preserved.  

Regards,
Tim Hoff

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

 Steven, 
  
 It does not make a lot of sense to defend again and again what has 
been
 right for a few 100 flexcoders two years ago, while so many 
community
 members have new ideas to make things better. Embrace complaints 
and
 suggestions instead of asking people not to post their ideas 
anymore on how
 to improve this community. This request sounds weird from an 
innovative guy
 like you. This is a community, you cannot dictate the topics on 
the agenda.
  
 Times change, new members arrive, people are getting used to better
 experiences, this means flexcoders need to adapt to these changes 
as well,
 especially now we are going to see an increase in the amount of 
people
 working with Flex. 
  
 Where do you see room for improvement? What are your plans for 
flexcoders?.
 Show us your roadmap for flexcoders 2.0?
  
 Vinny
 
   _  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Steven Webster
 Sent: zondag 18 juni 2006 6:52
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] No more posts re: moderation / yahoogroups 
pls
 
 
 
 
 Guys,
  
 Post will be much easier to find, and the list much easier to 
read, if there
 aren't 30+ posts a day with various opinions on how the list could 
be
 different or better !  We've had a successful community running 
here on
 yahoogroups since day zero of Flex's launch ... we'll keep a very 
close eye
 on whether there's a compelling need to make changes to the way 
the list
 operates, but for the time being, it's satisfying the aims of the 
silent
 majority.  For many of us, yahoogroups *is* the flex coding 
community - if
 you've joined recently, I'd urge you to get to know the community 
here,
 rather than call for it's fragmentation.  
  
 There's a depth of resource on this list like few others - 
newcomers arrive
 in waves, and with each wave, those who have come before them are 
doing a
 tremendous job of answering the questions that they themselves 
were asking
 only a few months ago.  With the depth of experience on the list 
going all
 the way back to the community who were using Flex during it's 
advisory
 board/alpha/beta before the Flex 1.0 release, the Adobe 
Consultants who are
 helping customers and partners in their success with Flex, and a 
great
 number of the Adobe Engineers who unofficially hang out here to 
make sure
 that the fruits of their labor become the enabling technology for 
the fruits
 of yours, you're not going to struggle to have your questions 
answered here.
  
 There's an archive search of the list here -
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 http://www.mail-archive.com/flexcoders%40yahoogroups.com  - if 
anyone
 requires it, and as so many of you have pointed out, there are a 
number of
 strategies of using your various and favourite mail clients to 
find a way of
 using and contributing to the list in a manner that suits your 
needs.
  
 Can I ask that we move the conversation on from the technical 
infrastrcture
 behind the list - as with a community of ~4000 people, there are 
always
 going to be opinions on how things could be done differently, that 
will
 match some needs but not others.  Instead, can I ask that we 
return our
 focus back to ensuring that flexcoders continue to be the high-
value
 resource and focalpoint of the Flex development community that it 
has
 successfully been for almost two and half years.
  
 Let's hear about the web-changing experiences you're delivering 
with Flex,
 the challenges you faced building them, and the solutions you 
innovated to
 address them.
  
 Best wishes,
  
 Steven
 ( List administrator )







 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] Re: Flash access to a local serial or USB port

2006-06-18 Thread Yaniv De Ridder










Hello,



I had to make a flash application one year
ago that interact with an external device that was connected on USB or serial
port.

I used Python to communicate directly with
the USB/Serial device and used an xml socket, created a Flash application that listen
the xml socket. So I was able to interact with the USB/Serial device this way
and it was working very well.

The only cons, you have to launch you
python script locally before starting your flash app.

It was not a problem in my case.



If you want I can share the python script
that connect the serial device and send/receive info using an xml socket.



Cheers,




 
  
  
  
  
  De Ridder Yaniv
  Flex Consultant (Rich Internet Applications)
  Adobe Consulting
  Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ,
   UK
  m: +44 (0)7758 643 37 81
  [EMAIL PROTECTED]
  
  
 












From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Sunday, June 18, 2006 4:58
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flash
access to a local serial or USB port











A FlashLite to Flex conduit would be a perfect
solution for my use. 
Perhaps a wireless approach is possible. 

Thanks Jeremy,
-TH

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

 Direct communication with USB/Serial is not possible.
 
 But Flash - C++/C# wrapper - USB/Serial is very possible.
 
 this means : you need to tie into another resource for 
communications, wrap
 activeX inside another binary).
 
 Jeremy.
 
 On 6/18/06, Spencer Nassar [EMAIL PROTECTED] wrote:
 
  I'm interested in presenting users with a web page that 
contains a
  flash object that can communicate to a device on a serial or USB
  connection (think camera or GPS unit). It needs to be able to 
detect
  active USB connections and do basic serial communications over 
USB or
  a serial port. There will also be devices that use a USB 'mass
  storage device profile' (look like a hard drive).
 
  So is this a practical use of Flash? Can I do it natively, or 
will I
  need to tie into another resource for communications (activeX 
control
  or some other binary)? The ideal solution would work on Explorer 
and
  Firefox, Windows and Mac.
 
  Thoughts? Ideas?
 
  Thanks!
  Spencer
 
  
 







__._,_.___





--
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] No more posts re: moderation / yahoogroups pls

2006-06-18 Thread Steven Webster





Vinny,

Honestly, I'd love for this to be the last post on the 
subject; not to censor or to stifle information, but because for the vast 
majority of the list, this is a topic that they are using their delete key 
for.

The purpose of flexcoders is not to be a forum, is not to 
be a resource of articles, is not to be a knowledge base, is not to be a 
community site as such. The purpose of flexcoders is to provide a mailing list 
where people can email questions, and where people can email responses. 
There are numerous solutions to providing a mailing list, and we've chosen 
yahoogroups. 

Others have sought to have more of a web-based community, 
and have responded to that - Tariq's efforts with cfflex would be a great 
example of this. If anyone feels there is a gap in the community - 
an online chat, a place for posting and sharing code snippets, a knowledge base 
of articles, and they don't feel that things like labs, adobe forums, blogs, 
cfflex,etc, are covering those gaps, I'd encourage you to innovate and 
deliver.

This is a mailing list, not a software product - we don't 
have a team "publishing a roadmap for flexcoders 2". Rather we'd devote 
our time to supporting the mailing list as best we can, by keeping the signal to 
noise ratio high through the minimum amount of moderation, and contributing 
knowledge to the list where the gaps exist. We have a team of moderators 
who have the sole aim of ensuring that this list is as spam free as possible 
(and I'd hope you feel that we're achieving that) and who try to step in as 
little as possible when the content on the list is deviating from the core 
subject as much as possible. If we're achieving both these aims, we're 
achieving our ambition with flexcoders.

If - with the release of Flex 2 - there is an 
explosive growth in the community, and a need to split into separate lists, we 
will entertain that option. However, this option can create as many problems as 
it solves - people cross-posting to lists and the volume of emails increasing 
rather than becoming more managable, or the reaching of a tipping point whereby 
those who hang out on the list to "give more than they receive" find the effort 
has reached the point of overwhelming, and the fragmentation drives down the 
value of content. But we are users as well as moderators of the 
list, and as soon as it becomes unusable for us, we'll be sure to entertain the 
next logical options.

We are keeping flexcoders the way it is right now not 
because we don't care, but because we care passionately.

It is never our intention to offer web-based forums, wikis, 
blogs, knowledge bases or any of these other things. There are other 
resources for doing so, or the community is able to respond accordingly. 
Perhaps you are volunteering ? :)

Flexcoders is a mailing list, and the primary interaction 
is intended by design to be people posting emails to the list, and these emails 
hitting the inbox of every other member, with a digest for those who wish to 
scan on a more irregular basis. This enables the quickest responses to 
solutions, so that the list becomes an enabling means of making the growing 
flexcoders community as successful as possible. This is a forum where 
those learning and pushing the technology, can hit a brick wall several times a 
day, and have that wall removed for them by someone else. That carries 
immeasurable value to me.

I stress again; we have close to 4000 members who are using 
the list regularly, and there are less than 10-15 members who regularly post 
about alternatives (more often that not, moving the list to their own site or 
servers). 

We're only trying to be a mailing list, and the volume and 
value that the community are finding from the emails here, would suggest we're 
still doing a decent job of being just that.

Now please, if people want to discuss alternatives, can we 
take the discussion off-list, rather than frustrate those here, who are happy 
with the solution as is, and who are more interested in 
"flexcoding".

Thanks for your passionate support; that's a great measure 
of community.

Best,

Steven
__._,_.___





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

RE: [flexcoders] Re: Dates WebServices .NET (redux)

2006-06-18 Thread Dirk Eismann
Kelly,

have you read my suggestions? We also had Date conversion issues but where able 
to resolve them (see my reply from Friday)

Dirk.


 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/
 
winmail.dat

Re: [flexcoders] Re: F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-18 Thread Jeremy Lu




oh, if you are worried about the overhead for *, 
you can also set the type as Object, 
or in a more common approach, a value object (VO).

if my memory served me right, * will be converted to correct type
during run time, don't know how much overhead it would take though.

Jeremy.On 6/18/06, Tim Hoff [EMAIL PROTECTED] wrote:









  



Thanks
for the great tips. The changes worked great. I wonder if
there is additional overhead associated with declaring untyped special
type variables (*) compared to typed variables?
I couldn't get the color picker focus border to
dissapear completely. Nothing that I tried with the FocusManager
worked. I'm probably just doing it wrong. But, for now the
sample is good enough to demonstrate the ComboBox ItemRenderer concepts.
Thanks again,Tim Hoff
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=447
--- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote:
 hi Tim,  try this (solves yellow can't be selected problem):  private function addColor(event:Event):void { cp.visible = false; // var itm:* = cp.dataProvider
[ cp.selectedIndex ]; Util.traceValue(itm); // colorArray.push({label:itm.label, color:itm.color}); messageText.setStyle('color',itm.color); messageText.text = itm.label +  has been added to the comboBox.;
 cbxColor.open(); btnAddColor.setFocus(); }  things I changed:  1. listen to ColorPicker's close event, instead of change event  2. get the value from cp using selectedIndex instead of selectedItem,
 this will ensure you get the right value out of the picker.  regarding the focus around cp after it's set invisible, can't figure out it, but in the past when I ran into this, I usually set focus to a textfield off
 the stage or completely turn off the focus.

  















__._,_.___





--
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] No more posts re: moderation / yahoogroups pls

2006-06-18 Thread Vinny Timmermans





Steven, agreed. A final puzzle 
for you. 

Given Adobe's target to attract hundreds of 
thousandsnew Flex developerswhich mayleadto 
15.000members ofFlexcodersin2007. In 2007 how many times 
do you thinka member willhaveto hit the delete keya day 
for flexcoders alone when flexcoders does not offer categorization? And 
how much timedo members wasteeveryday reading flexcoders subject 
linesthey arenot interested in?

Last word from me on this topic!

Vinny

P.S. If you are looking for people to help you transform 
flexcoders into a full blown community with all the bells and whistles, yes you 
can count on my contribution. And if you need more HBR articles, i'll provide 
those too :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steven 
WebsterSent: zondag 18 juni 2006 11:58To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] No more posts re: 
moderation / yahoogroups pls



Vinny,

Honestly, I'd love for this to be the last post on the 
subject; not to censor or to stifle information, but because for the vast 
majority of the list, this is a topic that they are using their delete key 
for.

The purpose of flexcoders is not to be a forum, is not to 
be a resource of articles, is not to be a knowledge base, is not to be a 
community site as such. The purpose of flexcoders is to provide a mailing list 
where people can email questions, and where people can email responses. 
There are numerous solutions to providing a mailing list, and we've chosen 
yahoogroups. 

Others have sought to have more of a web-based community, 
and have responded to that - Tariq's efforts with cfflex would be a great 
example of this. If anyone feels there is a gap in the community - 
an online chat, a place for posting and sharing code snippets, a knowledge base 
of articles, and they don't feel that things like labs, adobe forums, blogs, 
cfflex,etc, are covering those gaps, I'd encourage you to innovate and 
deliver.

This is a mailing list, not a software product - we don't 
have a team "publishing a roadmap for flexcoders 2". Rather we'd devote 
our time to supporting the mailing list as best we can, by keeping the signal to 
noise ratio high through the minimum amount of moderation, and contributing 
knowledge to the list where the gaps exist. We have a team of moderators 
who have the sole aim of ensuring that this list is as spam free as possible 
(and I'd hope you feel that we're achieving that) and who try to step in as 
little as possible when the content on the list is deviating from the core 
subject as much as possible. If we're achieving both these aims, we're 
achieving our ambition with flexcoders.

If - with the release of Flex 2 - there is an 
explosive growth in the community, and a need to split into separate lists, we 
will entertain that option. However, this option can create as many problems as 
it solves - people cross-posting to lists and the volume of emails increasing 
rather than becoming more managable, or the reaching of a tipping point whereby 
those who hang out on the list to "give more than they receive" find the effort 
has reached the point of overwhelming, and the fragmentation drives down the 
value of content. But we are users as well as moderators of the 
list, and as soon as it becomes unusable for us, we'll be sure to entertain the 
next logical options.

We are keeping flexcoders the way it is right now not 
because we don't care, but because we care passionately.

It is never our intention to offer web-based forums, wikis, 
blogs, knowledge bases or any of these other things. There are other 
resources for doing so, or the community is able to respond accordingly. 
Perhaps you are volunteering ? :)

Flexcoders is a mailing list, and the primary interaction 
is intended by design to be people posting emails to the list, and these emails 
hitting the inbox of every other member, with a digest for those who wish to 
scan on a more irregular basis. This enables the quickest responses to 
solutions, so that the list becomes an enabling means of making the growing 
flexcoders community as successful as possible. This is a forum where 
those learning and pushing the technology, can hit a brick wall several times a 
day, and have that wall removed for them by someone else. That carries 
immeasurable value to me.

I stress again; we have close to 4000 members who are using 
the list regularly, and there are less than 10-15 members who regularly post 
about alternatives (more often that not, moving the list to their own site or 
servers). 

We're only trying to be a mailing list, and the volume and 
value that the community are finding from the emails here, would suggest we're 
still doing a decent job of being just that.

Now please, if people want to discuss alternatives, can we 
take the discussion off-list, rather than frustrate those here, who are happy 
with the solution as is, and who are more interested in 
"flexcoding".

Thanks for your passionate 

[flexcoders] Re: Cairngorm store - still trying

2006-06-18 Thread websectorde



For me who use a mac (OS X Tiger) is an absolute path the solution too.@Mac-Users: You have to change the slash syntax for the db_path at store.cfg as follows:db_path=/{absolutePathToTomcat}/db/Took me some minutes to figure this out sectore--www.websector.de--- In flexcoders@yahoogroups.com, "pmaegerman" [EMAIL PROTECTED] wrote: I have encountered a similar problem with Tomcat, it doesn't seem to find the 'db' directory.  Unfortunately for me, it doesn't create itself the directory. I managed to have it work with db_path=c:\\DB\\ I thought it might be due to the spaces in Tomcat's location (c:\program files ...) but trying db_path=c:\\D B\\ did work so I guess that's not the problem. My file structure is C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\store\ I have tried to put the 'db' directory in all levels of directory, restarting the server every time, but no success :( At least it works with an absolute path, I'll be able to dig into the application now ;)  Cheers  --- In flexcoders@yahoogroups.com, "Daniel Harfleet" [EMAIL PROTECTED] wrote:  Tom,thanks for the feedback on the docs, I will ammend the typos.There seems to be some inconsistancy at where Tomcat thinks the  current directory is, maybe on some operating systems and/or some  versions of Tomcat, it thinks it is in the web context and others, it  thinks it is under the webapps directory.I'd be interested to see if this is a common problem.Just out of interest, are you using the Ant script, or are you doing  all the configuration manually ?By the way, you can ignore the warning messages for Log4J, the log4J  configuration should be picked up from the classes directory, where  the store.cfg is, but maybe it is not happening for some reason, when  I get time I will look into it.thanks for your feedback and glad you got it working eventually,dan  --- In flexcoders@yahoogroups.com, Tom Fitzpatrick [EMAIL PROTECTED] wrote:   At 10:29 AM 5/26/2005, you wrote:   So  please ensure that you hve the catalog.script file copied into   the db/ directory that you have created;  This did work - thanks!  But - for the sake of others who might be confused - the odd thing  is thatI didn't create that db folder, it was created automatically (one levelhigher) after I had created a db folder, with the script file in it,  at thelevel indicated in the docs and in Alex's email. Then, when I moved thescript file to that newly created folder, the product images showed up.  I am still getting the log4j error messages - I take it I can safely  ignorethem.  Thanks again for your help in getting this going. Onward and upward!  - 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.



  






__,_._,___



Re: [flexcoders] MovieClips in AS3

2006-06-18 Thread Hilary Bridel



Weyert, that's correct.
If I cant do it with a flash 8 swf, how can I make a flash 9/AS3 movieclip so I can use it in Flex with gotoAndPlay etc.
The AS3 docos say that you can only manipulate AS3 movieclips.

Hil

--
On 6/18/06, Weyert de Boer [EMAIL PROTECTED] wrote:
I think he wants to import a Flash 8 SWF and use gotoAndPlay() commandson a movieclip of the loaded flash 8 movie.
 What I want to do is import/load a flash 8 SWF and manipulate it with gotoAndPlay etc, but you can only do that with AS3 MC's. I don't really understand what you mean? IE only do that with AS3 MC's.
 Import  load into a Flex Application? 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/-- Hilary-- 

__._,_.___





--
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] MovieClips in AS3

2006-06-18 Thread Hilary Bridel



Ok,
I did some more research.
You cannot programmatically make AS3 movieclips.
Ali Mills has a blog post with a workaround using localconnection until Blaze is available

http://www.asserttrue.com/articles/2006/05/16/library-type-assets-in-actionscript-3-0-using-assets-created-with-current-releases-of-flash-authoring


Thanks Ali...

Hil

--
On 6/18/06, Hilary Bridel [EMAIL PROTECTED] wrote:


Weyert, that's correct.
If I cant do it with a flash 8 swf, how can I make a flash 9/AS3 movieclip so I can use it in Flex with gotoAndPlay etc.
The AS3 docos say that you can only manipulate AS3 movieclips.

Hil

--


__._,_.___





--
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: Using HTTPService in a function

2006-06-18 Thread NZEYIMANA Emery Fabrice





Hello Group, 
I still have a problem with the HTTPService. 

It ignores the request parameters I pass to it. 

Also, I set the request method to POST but my PHP 
script shows me that the method is GET.

mx:Script  
![CDATA[   
import mx.rpc.events.ResultEvent;  
import mx.rpc.http.mxml.HTTPService;  
  private function 
SampleFunction(event:Event):void  
{   var 
http:HTTPService;  
   http = new 
HTTPService();   
http.url = ""http://www.domain.com/my_xml.php">http://www.domain.com/my_xml.php"; 

 http.method="POST"; // This is ignored and Flash 
sends GET   
http.useProxy = 
false; 
http.request = "testID=SomeIDNumber"; //This is 
ignored 
// I also tried "?testID=SomeIDNumber" but it is 
stillignored 
http.showBusyCursor = 
true; 
http.resultFormat = "xml";  

  http.addEventListener(ResultEvent.RESULT, 
xmlReceived); 
http.send(); 
// I also tried to pass the 
requestlikehttp.send("testID=SomeIDNumber") and 
http.send("?testID=SomeIDNumber") but it is still 
ignored 
} 
]] /mx:Script 
Can anybody tell me what's wrong? 



Thanks 
Emery 


  - Original Message - 
  From: 
  Michael 
  Schmalle 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, June 17, 2006 19:17
  Subject: Re: [flexcoders] Re: Using 
  HTTPService in a function
  
  
  I know this has been answerd but here is a sample from your 
  code.Peace, Mike?xml version="1.0" 
  encoding="utf-8"?mx:Application  
  xmlns:mx="http://www.adobe.com/2006/mxml" 
   
  creationComplete="SampleFunction(event)" 
  layout="absolute" 
  mx:Script  
  ![CDATA[   
  import mx.rpc.events.ResultEvent;  
  import mx.rpc.http.mxml.HTTPService;  
private function 
  SampleFunction(event:Event):void  
  {   var 
  http:HTTPService;  
 http = new 
  HTTPService();   
  http.url = ""http://www.domain.com/my_xml.php">http://www.domain.com/my_xml.php"; 
 

  http.method="POST";  
   http.useProxy = false; 
http.showBusyCursor = 
  true;   
  http.resultFormat = "xml";  
 
 
  http.addEventListener(ResultEvent.RESULT, xmlReceived); 
http.send(); 
   }  
   private function 
  xmlReceived(event:ResultEvent):void  
  {   var 
  myXML:String;   
  myXML = event.result as XML;  
   trace(myXML); 
// Do something with the 
  XML  } 
 
 
   ]] 
  /mx:Script 
  /mx:Application
  On 6/17/06, NZEYIMANA 
  Emery Fabrice [EMAIL PROTECTED] wrote:
  




Thank you very much. I imported the class and it now works. 
Thanks to you Geoffrey and Martine for the help. 
Emery
--- In flexcoders@yahoogroups.com, "Geoffrey Williams" 
[EMAIL PROTECTED] wrote: Are you importing the 
class?  import mx.rpc.events.ResultEvent;  
--- In flexcoders@yahoogroups.com, "NZEYIMANA Emery Fabrice" 
 nzeyimana@ wrote:   Thanks Martine, 
  I have read from the manuals and tried to do the following: 
private function SampleFunction():void 
 {  var http:HTTPService;http = 
new HTTPService();  http.url = ""http://www.domain.com/my_xml.php" 
target=_blank>http://www.domain.com/my_xml.php";  
http.method="POST";  http.useProxy = false;  
http.showBusyCursor = true;  http.resultFormat = "text"; 
 http.addEventListener( "result", 
xmlReceived );  http.send();  }  
private function 
xmlReceived(event:ResultEvent):void  {  var 
myXML:String;  myXML = event.toString();   
 // Do something with the XML  }
  The application cannot compile because it says that the 
 ResultEvent Type cannot be found.  I even tried to 
private function xmlReceived (event:mx.rpc.events.ResultEvent):void 
but it doesn't solve the  problem.   The error message I 
receive is "Type was not found or was not a  compile-time constant: 
ResultEvent."

-- What goes up, does come down. 
  
__._,_.___





--
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] No more posts re: moderation / yahoogroups pls

2006-06-18 Thread Steven Webster







  
  
  
  Steven, agreed. A final puzzle for 
  you. 
  
  Given Adobe's target to attract hundreds of thousandsnew 
  Flex developerswhich mayleadto 15.000members 
  ofFlexcodersin2007.
  
  
  
  
  

Vinny, 
as you know, I'm also a big proponent of agilemethods - so I'm a big 
believer in "the simplest thing that works" and "no bigup-front 
design". Sowhen the situation you described happens, the cost of us 
switching then will be no greater than the cost of us switching now, and who 
knows, by the time we actually have to make that decision, there may be a better 
solution that isn't available to us at present.

Best,

Steven
__._,_.___





--
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] No more posts re: moderation / yahoogroups pls

2006-06-18 Thread Michael Schmalle



Steven, I was nieve when I posted a couple things also but,

 by the time we actually have to make that decision, there may be a better 
solution that isn't available to us at present.

I am sure this type of thinking for you got you to where you are today.

Peace, Mike
On 6/18/06, Steven Webster [EMAIL PROTECTED] wrote:









  








  
  
  
  Steven, agreed. A final puzzle for 
  you. 
  
  Given Adobe's target to attract hundreds of thousandsnew 
  Flex developerswhich mayleadto 15.000members 
  ofFlexcodersin2007.
  
  
  
  
  

Vinny, 
as you know, I'm also a big proponent of agilemethods - so I'm a big 
believer in the simplest thing that works and no bigup-front 
design. Sowhen the situation you described happens, the cost of us 
switching then will be no greater than the cost of us switching now, and who 
knows, by the time we actually have to make that decision, there may be a better 
solution that isn't available to us at present.

Best,

Steven

  













-- What goes up, does come down.

__._,_.___





--
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] Using HTTPService in a function

2006-06-18 Thread Peter Farland





Did you import the type?

import mx.rpc.events.ResultEvent;

Do you 
have the rpc.swc in the classpath?


Also, 
to use the MXML tag in ActionScript, be sure to use the mxml subpackage version 
of HTTPService, i.e.

import 
mx.rpc.http.mxml.HTTPService;



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of NZEYIMANA Emery 
FabriceSent: Saturday, June 17, 2006 8:47 AMTo: 
flexcoders@yahoogroups.comCc: Mac MartineSubject: Re: 
[flexcoders] Using HTTPService in a function





Thanks Martine, 
I have read from the manuals and tutorialsand 
tried to do the following: 



private function 
SampleFunction():void{var 
http:HTTPService;http = new 
HTTPService();http.url = 
""FONT-SIZE: 10pt; FONT-FAMILY: Arial">http://www.domain.com/my_xml.php";http.method="POST";http.useProxy = 
false;http.showBusyCursor = 
true;http.resultFormat = 
"text";
http.addEventListener( "result", xmlReceived 
);http.send();}

private function xmlReceived(event:ResultEvent):void{ var 
myXML:String;myXML = 
event.toString();

 // Do something with the 
XML}


The application cannot compile because it says that 
the ResultEvent Type cannot be found.
I even tried to private function 
xmlReceived(event:mx.rpc.events.ResultEvent):voidbut it 
doesn't solve the problem. 
The error message I receive is "Type was not found or was not a compile-time constant: 
ResultEvent."


Thanks 
Emery 

  - Original Message - 
  From: Mac Martine 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, June 17, 2006 08:13
  Subject: RE: [flexcoders] Using 
  HTTPService in a function
  
  
  
  Its because at the 
  point that you do:
  myXML = 
  http.lastResult.toString();
  
   the result of the 
  service has not yet been received. You need to create an event listener to let 
  you know when the service has completed its call.
  The event listener 
  will then trigger a result function that you create, and in that function is 
  where you should get the result (myXML = 
  http.lastResult.toString();
  ) and do whatever you 
  want with it.
  
  -Mac
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of NZEYIMANA Emery 
  FabriceSent: Friday, June 
  16, 2006 5:07 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Using HTTPService 
  in a function
  
  
  
  
  
  Hello Group, 
  
  
  I am new here and seeking help 
  from you. 
  
  I have created a function in my 
  Flex application and would like to use the HTTPService object from retreiving 
  XML data from my webservice (based on PHP). 
  
  All the examples I have seen on 
  the Adobe website use same approach (that I don't like) of binding the object 
  to some controls. 
  
  What I trying to achieve is: 
  Create an HTTP object, instruct that object to retreive a web XML string, 
  store that string locally in a variable. 
  
  Using the code I have provided 
  below, the application gives an error saying that the object is not yet 
  created (null). And if I watch the task bar after the error message (in 
  Firefox), I see that the flash application is accessing the webXML. 
  
  
  What might be 
  wrong?
  
  
  
  
  
  
  
  private function 
  SampleFunction():void{var 
  http:HTTPService;var 
  myXML:String;http = new 
  HTTPService();http.url = 
  ""FONT-SIZE: 10pt; FONT-FAMILY: Arial">http://www.domain.com/my_xml.php";http.method="POST";http.useProxy = 
  false;http.showBusyCursor = 
  true;http.resultFormat = 
  "text";http.send();
  
  
  
  myXML = 
  http.lastResult.toString();
  
  
  
  // Do something with 
  XML
  
  }

__._,_.___





--
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] Using HTTPService in a function

2006-06-18 Thread Michael Schmalle



Hi,

You not using and object in send()

http.send(?testID=SomeIDNumber)

do;

http.send({testID:someIDNumber})

PS, It really does help to read the docs, they spell this stuff out.

Peace, Mike


On 6/18/06, Peter Farland [EMAIL PROTECTED] wrote:









  






Did you import the type?

import mx.rpc.events.ResultEvent;

Do you 
have the rpc.swc in the classpath?


Also, 
to use the MXML tag in ActionScript, be sure to use the mxml subpackage version 
of HTTPService, i.e.

import 
mx.rpc.http.mxml.HTTPService;



From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of NZEYIMANA Emery 
FabriceSent: Saturday, June 17, 2006 8:47 AMTo: 
flexcoders@yahoogroups.comCc: Mac MartineSubject: Re: 
[flexcoders] Using HTTPService in a function





Thanks Martine, 
I have read from the manuals and tutorialsand 
tried to do the following: 



private function 
SampleFunction():void{
var 
http:HTTPService;http = new 
HTTPService();http.url = 
"">http://www.domain.com/my_xml.php
;
http.method=POST;http.useProxy = 
false;http.showBusyCursor = 
true;http.resultFormat = 
text;

http.addEventListener( result, xmlReceived 
);http.send();
}

private function xmlReceived(event:ResultEvent):void{ var 
myXML:String;myXML = 
event.toString();

 // Do something with the 
XML}


The application cannot compile because it says that 
the ResultEvent Type cannot be found.
I even tried to private function 
xmlReceived(event:mx.rpc.events.ResultEvent):voidbut it 
doesn't solve the problem. 
The error message I receive is Type was not found or was not a compile-time constant: 
ResultEvent.


Thanks 
Emery 

  - Original Message - 
  
From: Mac Martine 
  To: 
flexcoders@yahoogroups.com 
  Sent: Saturday, June 17, 2006 08:13

  Subject: RE: [flexcoders] Using 
  HTTPService in a function
  
  
  
  It's because at the 
  point that you do:
  myXML = 
  http.lastResult.toString();
  
  … the result of the 
  service has not yet been received. You need to create an event listener to let 
  you know when the service has completed it's call.
  The event listener 
  will then trigger a result function that you create, and in that function is 
  where you should get the result (myXML = 
  http.lastResult.toString();
  ) and do whatever you 
  want with it.
  
  -Mac
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of NZEYIMANA Emery 
  FabriceSent: Friday, June 
  16, 2006 5:07 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Using HTTPService 
  in a function
  
  
  
  
  
  Hello Group, 
  
  
  I am new here and seeking help 
  from you. 
  
  I have created a function in my 
  Flex application and would like to use the HTTPService object from retreiving 
  XML data from my webservice (based on PHP). 
  
  All the examples I have seen on 
  the Adobe website use same approach (that I don't like) of binding the object 
  to some controls. 
  
  What I trying to achieve is: 
  Create an HTTP object, instruct that object to retreive a web XML string, 
  store that string locally in a variable. 
  
  Using the code I have provided 
  below, the application gives an error saying that the object is not yet 
  created (null). And if I watch the task bar after the error message (in 
  Firefox), I see that the flash application is accessing the webXML. 
  
  
  What might be 
  wrong?
  
  
  
  
  
  
  
  private function 
  SampleFunction():void{
var 
  http:HTTPService;var 
  myXML:String;http = new 
  HTTPService();http.url = 
  "">
http://www.domain.com/my_xml.php;
http.method=POST;
http.useProxy = 
  false;http.showBusyCursor = 
  true;http.resultFormat = 
  text;http.send();
  
  
  
  myXML = 
  http.lastResult.toString();
  
  
  
  // Do something with 
  XML
  
  }



  













-- What goes up, does come down.

__._,_.___





--
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] Cold Fusion And Flex 2

2006-06-18 Thread David Mendels
The install is an update to CF, not additional software.  It include
cumulative bug fixes to CF MX 7, so I expect most providers to install
it early.

Regards,
David 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
 Sent: Saturday, June 17, 2006 9:08 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Cold Fusion And Flex 2
 
 depends on how you want to retrieve your data.  If you use 
 WebServices or REST via HTTPService, no need to install 
 anything.  Only need the install if you want to use RemoteObjects.
 
 DK
 
 On 6/17/06, mvbaffa [EMAIL PROTECTED] wrote:
  Hi all,
 
  I am considering to use Flex and Cold Fusion for a new 
 application. It 
  seems that this is a very good integration and combination.
 
  The problem is that this application will run on a public provider 
  that already have Cold Fusion MX 7 installed. It is very 
 difficult to 
  find a provider that will accept to install any additional 
 software at 
  his production server
 
  Is it necessary that Cold Fusion/Flex Connectivity be 
 installed in the 
  production server or this is only a development plug-in 
 
  Thanks in advance
 
 
 
 
 
 
 
  --
  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 
 ~-- 
 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
 
 
 
  
 
 
 
 


 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: Flash access to a local serial or USB port

2006-06-18 Thread Tim Hoff
Hello,

Yes, I would be very interested to see how you used xml socket with 
your python code.  Perhaps you could email me off-list.  Ultimately, 
Im looking for a solution that doesn't require any instalation of 
conduit software, on the client's PC.  There are plenty of products 
out there that establiush a connection between a handheld and a PC, 
but the ones that I've seen, carry with them a host of installation 
and support issues.  It would be nice to load the handheld with my 
software, ship the handheld to a customer and be done with it.  The 
client connects the PDA to a PC, via USB or serial port, while a 
Flex application is running.  Then the applications on both ends 
recognize each other and prompt for data transfer.  I'm sure that a 
simple solution like this is possible, or maybe close on the horizon.

Thank you very much for your input,
Tim Hoff


--- In flexcoders@yahoogroups.com, Yaniv De Ridder [EMAIL PROTECTED] 
wrote:

 Hello,
 
  
 
 I had to make a flash application one year ago that interact with 
an
 external device that was connected on USB or serial port.
 
 I used Python to communicate directly with the USB/Serial device 
and
 used an xml socket, created a Flash application that listen the xml
 socket. So I was able to interact with the USB/Serial device this 
way
 and it was working very well.
 
 The only cons, you have to launch you python script locally before
 starting your flash app.
 
 It was not a problem in my case.
 
  
 
 If you want I can share the python script that connect the serial 
device
 and send/receive info using an xml socket.
 
  
 
 Cheers,
 
  
 
  
 
 De Ridder Yaniv
 Flex Consultant (Rich Internet Applications)
 Adobe Consulting
 Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
 
 m: +44 (0) 7758 643 37 81
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Tim Hoff
 Sent: Sunday, June 18, 2006 4:58 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flash access to a local serial or USB 
port
 
  
 
 A FlashLite to Flex conduit would be a perfect solution for my 
use. 
 Perhaps a wireless approach is possible. 
 
 Thanks Jeremy,
 -TH
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , Jeremy Lu wade.lu@ wrote:
 
  Direct communication with USB/Serial is not possible.
  
  But Flash - C++/C# wrapper - USB/Serial is very possible.
  
  this means : you need to tie into another resource for 
 communications, wrap
  activeX inside another binary).
  
  Jeremy.
  
  On 6/18/06, Spencer Nassar spencer@ wrote:
  
   I'm interested in presenting users with a web page that 
 contains a
   flash object that can communicate to a device on a serial or 
USB
   connection (think camera or GPS unit). It needs to be able to 
 detect
   active USB connections and do basic serial communications over 
 USB or
   a serial port. There will also be devices that use a USB 'mass
   storage device profile' (look like a hard drive).
  
   So is this a practical use of Flash? Can I do it natively, or 
 will I
   need to tie into another resource for communications (activeX 
 control
   or some other binary)? The ideal solution would work on 
Explorer 
 and
   Firefox, Windows and Mac.
  
   Thoughts? Ideas?
  
   Thanks!
   Spencer
  
   
  
 








 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] Flex beta 3/CF and Datagrid not being populated

2006-06-18 Thread malik_robinson
Hi,

I have the following code that I *thought* would work, but it does 
not.  Can anyone see why this might not work?  Basically the datagrid 
does not get loaded, the browser says transferring data from 
localhost, but it never populates the grid, no error, I see the show 
busy cursor and my empty datagrid.  I am using CF 7 and there is a 
datasource that is defined when you install the tutorials.  It is 
basically a database of artists or something.  I wrote a test page to 
ensure my CFC works and it does return a query object, so I know the 
CFC is fine.

I am just trying to have it load the datagrid upon creationComplete

Here is the main.mxml:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute creationComplete=initApp()

mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import mx.rpc.events.*;


public function initApp():void  {
// Force artists class to load
artSvc.getArtists();
}
]]
/mx:Script

mx:RemoteObject id=artSvc destination=ColdFusion 
source=myapp.cf.com.artists showBusyCursor=true /

   mx:DataGrid id=dgArtists 
   dataProvider={artSvc.getArtists.artists} x=177 y=65
 mx:columns
mx:DataGridColumn headerText=First Name 
dataField=firstname/
mx:DataGridColumn headerText=Last Name 
dataField=lastname/
 /mx:columns
   /mx:DataGrid


/mx:Application


Any ideas?

-Malik





 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: Flex beta 3/CF and Datagrid not being populated

2006-06-18 Thread Tim Hoff



Hi Malik,
I can't test this, but this is how the examples that I've seen work.
-TH
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute" creationComplete="initApp()"mx:Script![CDATA[import mx.collections.ArrayCollection;import mx.rpc.events.*;public function initApp():void {// Force artists class to loadartSvc.getArtists.send();}]]/mx:Scriptmx:RemoteObject id="artSvc" destination="ColdFusion" source="myapp.cf.com.artists" showBusyCursor="true" /mx:DataGrid id="dgArtists" dataProvider="{artSvc.getArtists.lastResult.artists}" x="177" y="65" mx:columns mx:DataGridColumn headerText="First Name" dataField="firstname"/ mx:DataGridColumn headerText="Last Name" dataField="lastname"/ /mx:columns/mx:DataGrid/mx:Application--- In flexcoders@yahoogroups.com, "malik_robinson" [EMAIL PROTECTED] wrote: Hi,  I have the following code that I *thought* would work, but it does  not. Can anyone see why this might not work? Basically the datagrid  does not get loaded, the browser says "transferring data from  localhost", but it never populates the grid, no error, I see the show  busy cursor and my empty datagrid. I am using CF 7 and there is a  datasource that is defined when you install the tutorials. It is  basically a database of artists or something. I wrote a test page to  ensure my CFC works and it does return a query object, so I know the  CFC is fine.  I am just trying to have it load the datagrid upon creationComplete  Here is the main.mxml:  ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" creationComplete="initApp()"  mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.*;   public function initApp():void { // Force artists class to load artSvc.getArtists();  } ]] /mx:Script  mx:RemoteObject id="artSvc" destination="ColdFusion"  source="myapp.cf.com.artists" showBusyCursor="true" /  mx:DataGrid id="dgArtists"  dataProvider="{artSvc.getArtists.artists}" x="177" y="65" mx:columns mx:DataGridColumn headerText="First Name"  dataField="firstname"/ mx:DataGridColumn headerText="Last Name"  dataField="lastname"/ /mx:columns /mx:DataGrid   /mx:Application   Any ideas?  -Malik

__._,_.___





--
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] Flex2B3 :: Ambiguous reference to setStyle :: classConstruct()

2006-06-18 Thread Michael Schmalle



Hi,

I have got this error before. Ambiguous reference to setStyle. in the classConstruct() initializer.

I thought when you create a component and want to defined you class styles, you use classConstruct() construct.

Am I wrong? Or do I use a style sheet. Seems to me I would use this, did this change in b3?

Anyway, 

I have this; at the top of the class;


[Style(name=buttonModuleDisabledSkin, type=Class, inherit=no)]

[Style(name=buttonModuleDownSkin, type=Class, inherit=no)]

[Style(name=buttonModuleOverSkin, type=Class, inherit=no)]

[Style(name=buttonModuleUpSkin, type=Class, inherit=no)]


And this at the bottom of the class.


 private static var classConstructed:Boolean = classConstruct();

 private static function classConstruct():Boolean 
 {
  if (!StyleManager.getStyleDeclaration(MessageBarFX)) 
  {
   var style:CSSStyleDeclaration = new CSSStyleDeclaration();
   style.setStyle(buttonModuleUpSkin, ButtonSkin);
   style.setStyle(buttonModuleOverSkin, ButtonSkin);
   style.setStyle(buttonModuleDownSkin, ButtonSkin);
   style.setStyle(buttonModuleDisabledSkin, ButtonSkin);
 
   StyleManager.setStyleDeclaration(MessageBarFX, style, false);
  }
  return true;
 }


I guess I just don't get what is ambiguous about this call.

If it IS ambiguous, then how do I initialize these styles with ButtonSkin?

Peace, Mike

-- What goes up, does come down.

__._,_.___





--
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: Flex2B3 :: Ambiguous reference to setStyle :: classConstruct()

2006-06-18 Thread Michael Schmalle



Oh yeah, one other thing;

Why can't we have...


[Style(name=buttonModuleDisabledSkin, type=Class, inherit=no default=mx.skins.halo.ButtonSkin)]
Where default would be the default value?

or even easier example..

[Style(name=cornerRadius, type=Number, format=Length, inherit=no, default=4)]

Just a question.

Peace, Mike
On 6/18/06, Michael Schmalle [EMAIL PROTECTED] wrote:
Hi,

I have got this error before. Ambiguous reference to setStyle. in the classConstruct() initializer.

I thought when you create a component and want to defined you class styles, you use classConstruct() construct.

Am I wrong? Or do I use a style sheet. Seems to me I would use this, did this change in b3?

Anyway, 

I have this; at the top of the class;


[Style(name=buttonModuleDisabledSkin, type=Class, inherit=no)]

[Style(name=buttonModuleDownSkin, type=Class, inherit=no)]

[Style(name=buttonModuleOverSkin, type=Class, inherit=no)]

[Style(name=buttonModuleUpSkin, type=Class, inherit=no)]


And this at the bottom of the class.


 private static var classConstructed:Boolean = classConstruct();

 private static function classConstruct():Boolean 
 {
  if (!StyleManager.getStyleDeclaration(MessageBarFX)) 
  {
   var style:CSSStyleDeclaration = new CSSStyleDeclaration();
   style.setStyle(buttonModuleUpSkin, ButtonSkin);
   style.setStyle(buttonModuleOverSkin, ButtonSkin);
   style.setStyle(buttonModuleDownSkin, ButtonSkin);
   style.setStyle(buttonModuleDisabledSkin, ButtonSkin);
 
   StyleManager.setStyleDeclaration(MessageBarFX, style, false);
  }
  return true;
 }


I guess I just don't get what is ambiguous about this call.

If it IS ambiguous, then how do I initialize these styles with ButtonSkin?

Peace, Mike

-- What goes up, does come down.

-- What goes up, does come down.

__._,_.___





--
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] FDS Samples

2006-06-18 Thread hank williams



I just downloaded flex data services, installed, and tried to run the the sample apps.The flash UI part all works fine, but it cant connect to data. The error that comes in on the java console looks like this:
[Flex] [DEBUG] Before invoke service: data-service incomingMessage: Flex Message (flex.data.messages.DataMessage)  operation = fill id = null clientId = 5C535BF9-496C-1163-025E-E8915E76244B
 correlationId =  destination = contact messageId = 43802177-0968-4AB3-9AB5-E8915E86D54E timestamp = 1150658109140 timeToLive = 0 body =  [  ] hdr(DSEndpoint) = my-rtmp
Throwable in RtmpReader thread: java.lang.NoClassDefFoundError: javax/transaction/SystemExceptionjava.lang.NoClassDefFoundError: javax/transaction/SystemException at flex.data.DataService.serviceMessage
(DataService.java:284) at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:565) at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:298) at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage
(AbstractRTMPServer.java:653) at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:643) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Unknown Source)Obviously I have done something wrong from a setup perspective, but I am not sure what.
Any input would be greatly appreciated.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] Re: Flex beta 3/CF and Datagrid not being populated

2006-06-18 Thread Tim Hoff
If that doesn't work try:

artSvc.getArtists.lastResult

for the dataProvider, without artists at the end.

-TH

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

 
 Hi Malik,
 
 I can't test this, but this is how the examples that I've seen 
work.
 
 -TH
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml 
 layout=absolute creationComplete=initApp()
 
 mx:Script
 ![CDATA[
 import mx.collections.ArrayCollection;
 import mx.rpc.events.*;
 
 public function initApp():void {
 // Force artists class to load
 artSvc.getArtists.send();
 }
 ]]
 /mx:Script
 
 mx:RemoteObject id=artSvc destination=ColdFusion
 source=myapp.cf.com.artists showBusyCursor=true /
 
 mx:DataGrid id=dgArtists
 dataProvider={artSvc.getArtists.lastResult.artists} x=177 
y=65
 mx:columns
mx:DataGridColumn headerText=First Name 
dataField=firstname/
mx:DataGridColumn headerText=Last Name 
dataField=lastname/
 /mx:columns
 /mx:DataGrid
 
 /mx:Application
 
 --- In flexcoders@yahoogroups.com, malik_robinson 
Malik_Robinson@
 wrote:
 
  Hi,
 
  I have the following code that I *thought* would work, but it 
does
  not. Can anyone see why this might not work? Basically the 
datagrid
  does not get loaded, the browser says transferring data from
  localhost, but it never populates the grid, no error, I see the 
show
  busy cursor and my empty datagrid. I am using CF 7 and there is a
  datasource that is defined when you install the tutorials. It is
  basically a database of artists or something. I wrote a test 
page to
  ensure my CFC works and it does return a query object, so I know 
the
  CFC is fine.
 
  I am just trying to have it load the datagrid upon 
creationComplete
 
  Here is the main.mxml:
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  layout=absolute creationComplete=initApp()
 
  mx:Script
  ![CDATA[
  import mx.collections.ArrayCollection;
  import mx.rpc.events.*;
 
 
  public function initApp():void {
  // Force artists class to load
  artSvc.getArtists();
  }
  ]]
  /mx:Script
 
  mx:RemoteObject id=artSvc destination=ColdFusion
  source=myapp.cf.com.artists showBusyCursor=true /
 
  mx:DataGrid id=dgArtists
  dataProvider={artSvc.getArtists.artists} x=177 y=65
  mx:columns
  mx:DataGridColumn headerText=First Name
  dataField=firstname/
  mx:DataGridColumn headerText=Last Name
  dataField=lastname/
  /mx:columns
  /mx:DataGrid
 
 
  /mx:Application
 
 
  Any ideas?
 
  -Malik
 








 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: Dates WebServices .NET (redux)

2006-06-18 Thread kellyb723
Dirk,

Yes I have read your response and thank you for it.  Your suggestions
seem well thought out and quite effective.  Unfortunately, they would
cause me and my team to much extra work at this point in our project,
to be particularly helpful.  

In my current network the servers reside in Seattle (GMT-8 or -7 in
summers) but the app is used in at least 5 time zones.  The App
however simply does not care about time zone.  For the most part it
does not care about time, only date.

Having to convert the dates to/from UTC time would mean we have to
configure each user for their home time zone and then look that data
up each time we deal with a date value.  This also becomes a problem
since many users use this system on laptops and travel all around
North America.

We also deal with some very large datasets, it not uncommon for a user
to load 5,000 records in a single request each containing 2 date
fields.  We would have to retrieve the records from the database, loop
through then converting each field by the difference between UTC and
that user's current time zone, and then send them to the client.  This
would ensure that they get to the user in their local time.

Yet a bigger issue is that we are concurrently developing 2 more UI
options; a .NET Smart Client and a pure ASP.NET/HTML client for
down-level users.  It has always been our intent that these other UI's
would use the same mid-tier and web services as the Flex UI.  

We have decided that we do not want to write several hundred extra
lines of code and create a separate set of web services to deal with
the bad behavior of one UI technology.  

The solution I am currently adopting is two-fold:  

1) I've build an HTTP Module that recognizes requests from Flex and
re-writes the WSDL on-the-fly replacing 'dateTime' elements with
'string' elements.  This causes flex to leave the date as a string in
format -MM-ddThh:mm:ss and works much better than a Date object
in AS3.  It's also comparable with standard operators and sortable.  

I've also built my own DateUtils class for performing additional
functions and conversion to/from AS3 Dates, and a DateInput component
that works like a hybrid TextInput / DateField control and supports
2-way binding directly to a date string in the format .NET sends.  

In short, we decided not to use any date object in Flex.

2) Continue to respectfully petition the Flex development team to fix
the behavior of Dates and Web Services in Flex 2.0 to be more
compatible with services that are not time zone aware, by making these
behaviors user definable.  I'm also hoping to convince them to change
the inner working of the Date object to be comparable and sortable
using standard operators, like Strings and Numbers are.

--

Thanks to everyone who has offered their help and comments to my
question.  Based on much of your feedback I now have a solution that
although not perfect, is working well.

If any other .NET users would like copies of the HTTP module and/or
custom Flex components we've developed for this solution, we will be
documenting them and releasing them open source after our project is
completed and released.

Sincerely,

- Kelly Birr
VP / Lead Developer
Agents Ally, Inc


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

 Kelly,
 
 have you read my suggestions? We also had Date conversion issues but
where able to resolve them (see my reply from Friday)
 
 Dirk.








 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: Flex beta 3/CF and Datagrid not being populated

2006-06-18 Thread malik_robinson



Hi,
I ended up getting an error, I think it was due to the text "lastResult". Below is the error:
I am very curious to know if someone can try this simple example and get a datagrid to populate via a query object from CF.
Error: Unknown Property 'artists'.at mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()at mx.binding::PropertyWatcher/::updateProperty()at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()at mx.binding::PropertyWatcher/updateParent()at mx.binding::Watcher/updateChildren()at mx.binding::PropertyWatcher/::updateProperty()at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()at mx.binding::PropertyWatcher/eventHandler()at flash.events::EventDispatcher/dispatchEvent()at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()at mx.rpc::Responder/result()at mx.rpc::AsyncRequest/acknowledge()at ::NetConnectionMessageResponder/NetConnectionChannel.as$42:NetConnectionMessageResponder::resultHandler()at mx.messaging::MessageResponder/result()
Here is the CFC:
cfcomponent

cffunction name="getArtists" access="remote" returntype="query"
cfset var artists = '' /
cfquery name="Artists" datasource="cfcodeexplorer"
SELECT firstname, lastname
FROM ARTISTS
/cfquery
cfreturn Artists /
/cffunction
/cfcomponent
Here is the current MXML:
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initApp()"
mx:Script![CDATA[import mx.rpc.events.*;import mx.collections.ArrayCollection;public function initApp():void {// Force artists class to loadartSvc.getArtists.send();}
]]/mx:Script
mx:RemoteObject id="artSvc" destination="ColdFusion" source="myApp.cf.com.artists" showBusyCursor="true" /
mx:DataGrid id="dg" dataProvider="{artSvc.getArtists.artists}" x="177" y="65"mx:columnsmx:DataGridColumn headerText="First Name" dataField="firstName"/mx:DataGridColumn headerText="Last Name" dataField="lastName"//mx:columns/mx:DataGrid/mx:Application
--- In flexcoders@yahoogroups.com, "Tim Hoff" [EMAIL PROTECTED] wrote:  Hi Malik,  I can't test this, but this is how the examples that I've seen work.  -TH  ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml " layout="absolute" creationComplete="initApp()"  mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.*;  public function initApp():void { // Force artists class to load artSvc.getArtists.send(); } ]] /mx:Script  mx:RemoteObject id="artSvc" destination="ColdFusion" source="myapp.cf.com.artists" showBusyCursor="true" /  mx:DataGrid id="dgArtists" dataProvider="{artSvc.getArtists.lastResult.artists}" x="177" y="65" mx:columns mx:DataGridColumn headerText="First Name" dataField="firstname"/ mx:DataGridColumn headerText="Last Name" dataField="lastname"/ /mx:columns /mx:DataGrid  /mx:Application  --- In flexcoders@yahoogroups.com, "malik_robinson" Malik_Robinson@ wrote:   Hi,   I have the following code that I *thought* would work, but it does  not. Can anyone see why this might not work? Basically the datagrid  does not get loaded, the browser says "transferring data from  localhost", but it never populates the grid, no error, I see the show  busy cursor and my empty datagrid. I am using CF 7 and there is a  datasource that is defined when you install the tutorials. It is  basically a database of artists or something. I wrote a test page to  ensure my CFC works and it does return a query object, so I know the  CFC is fine.   I am just trying to have it load the datagrid upon creationComplete   Here is the main.mxml:   ?xml version="1.0" encoding="utf-8"?  mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" creationComplete="initApp()"   mx:Script  ![CDATA[  import mx.collections.ArrayCollection;  import mx.rpc.events.*;public function initApp():void {  // Force artists class to load  artSvc.getArtists();  }  ]]  /mx:Script   mx:RemoteObject id="artSvc" destination="ColdFusion"  source="myapp.cf.com.artists" showBusyCursor="true" /   mx:DataGrid id="dgArtists"  dataProvider="{artSvc.getArtists.artists}" x="177" y="65"  mx:columns  mx:DataGridColumn headerText="First Name"  dataField="firstname"/  mx:DataGridColumn headerText="Last Name"  dataField="lastname"/  /mx:columns  /mx:DataGrid/mx:ApplicationAny ideas?   -Malik 

__._,_.___





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

[flexcoders] Re: Flex beta 3/CF and Datagrid not being populated

2006-06-18 Thread Tim Hoff
Yeah,

Sorry, use:

artSvc.getArtists.lastResult

for the dataProvider, without artists at the end.

-TH

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

 
 Hi,
 
 I ended up getting an error, I think it was due to the text
 lastResult. Below is the error:
 
 I am very curious to know if someone can try this simple example 
and get
 a datagrid to populate via a query object from CF.
 
 Error: Unknown Property 'artists'.
   at
 
mx.collections::ListCollectionView/http://www.adobe.com/2006/actionsc
rip\
 t/flash/proxy::getProperty()
   at mx.binding::PropertyWatcher/::updateProperty()
   at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()
   at mx.binding::PropertyWatcher/updateParent()
   at mx.binding::Watcher/updateChildren()
   at mx.binding::PropertyWatcher/::updateProperty()
   at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()
   at mx.binding::PropertyWatcher/eventHandler()
   at flash.events::EventDispatcher/dispatchEvent()
   at
 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::r
esu\
 ltHandler()
   at mx.rpc::Responder/result()
   at mx.rpc::AsyncRequest/acknowledge()
   at
 ::NetConnectionMessageResponder/NetConnectionChannel.as$42:NetConne
ction\
 MessageResponder::resultHandler()
   at mx.messaging::MessageResponder/result()
 
 
 Here is the CFC:
 
 cfcomponent
 
 
 
 cffunction name=getArtists access=remote returntype=query
 
 cfset var artists = '' /
 
 cfquery name=Artists datasource=cfcodeexplorer
 
 SELECT firstname, lastname
 
 FROM ARTISTS
 
 /cfquery
 
 cfreturn Artists /
 
 /cffunction
 
 /cfcomponent
 
 Here is the current MXML:
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml  layout=absolute
 creationComplete=initApp()
 
 mx:Script
![CDATA[
 import mx.rpc.events.*;
 import mx.collections.ArrayCollection;
 
 
public function initApp():void {
// Force artists class to load
artSvc.getArtists.send();
}
 
]]
   /mx:Script
 
 mx:RemoteObject
   id=artSvc
   destination=ColdFusion
   source=myApp.cf.com.artists
   showBusyCursor=true /
 
 
   mx:DataGrid id=dg dataProvider={artSvc.getArtists.artists} 
x=177
 y=65
mx:columns
 mx:DataGridColumn headerText=First Name 
dataField=firstName/
 mx:DataGridColumn headerText=Last Name 
dataField=lastName/
/mx:columns
   /mx:DataGrid
 
 /mx:Application
 
 
 
 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
 
  Hi Malik,
 
  I can't test this, but this is how the examples that I've seen 
work.
 
  -TH
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
  http://www.adobe.com/2006/mxml 
  layout=absolute creationComplete=initApp()
 
  mx:Script
  ![CDATA[
  import mx.collections.ArrayCollection;
  import mx.rpc.events.*;
 
  public function initApp():void {
  // Force artists class to load
  artSvc.getArtists.send();
  }
  ]]
  /mx:Script
 
  mx:RemoteObject id=artSvc destination=ColdFusion
  source=myapp.cf.com.artists showBusyCursor=true /
 
  mx:DataGrid id=dgArtists
  dataProvider={artSvc.getArtists.lastResult.artists} x=177 
y=65
  mx:columns
  mx:DataGridColumn headerText=First Name 
dataField=firstname/
  mx:DataGridColumn headerText=Last Name dataField=lastname/
  /mx:columns
  /mx:DataGrid
 
  /mx:Application
 
  --- In flexcoders@yahoogroups.com, malik_robinson 
Malik_Robinson@
  wrote:
  
   Hi,
  
   I have the following code that I *thought* would work, but it 
does
   not. Can anyone see why this might not work? Basically the 
datagrid
   does not get loaded, the browser says transferring data from
   localhost, but it never populates the grid, no error, I see 
the
 show
   busy cursor and my empty datagrid. I am using CF 7 and there 
is a
   datasource that is defined when you install the tutorials. It 
is
   basically a database of artists or something. I wrote a test 
page to
   ensure my CFC works and it does return a query object, so I 
know the
   CFC is fine.
  
   I am just trying to have it load the datagrid upon 
creationComplete
  
   Here is the main.mxml:
  
   ?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
   layout=absolute creationComplete=initApp()
  
   mx:Script
   ![CDATA[
   import mx.collections.ArrayCollection;
   import mx.rpc.events.*;
  
  
   public function initApp():void {
   // Force artists class to load
   artSvc.getArtists();
   }
   ]]
   /mx:Script
  
   mx:RemoteObject id=artSvc destination=ColdFusion
   source=myapp.cf.com.artists showBusyCursor=true /
  
   mx:DataGrid id=dgArtists
   dataProvider={artSvc.getArtists.artists} x=177 y=65
   mx:columns
   mx:DataGridColumn headerText=First Name
   dataField=firstname/
   mx:DataGridColumn headerText=Last Name
   dataField=lastname/
   /mx:columns
   /mx:DataGrid
  
  
   /mx:Application
  
  
   Any ideas?
  
   -Malik
  
 







 Yahoo! Groups 

[flexcoders] Re: FDS Samples

2006-06-18 Thread hank williams
Well, I figured out what the problem is.

On the wiki (but nowhere in the downloaded package) it says that FDS
on Tomcat requires the JOTM transaction manager.

The wiki points to two articles by unrelated third parties that have
different instructions for what is required to install. Then there are
some additional instructions directly in the wiki that seem to overlap
and contradict the instructions in the articles. The bottom line is
this is no easy drop a war or jar in and your done kind of
installation - or if it is, then the instructions are even worse than
I thought.

I would suggest that adobe make the effort to tighten up the
documentation on this and maybe do some kind of an installer that
maybe even makes the necessary adjustments to the tomcat config file.
Just because someone programs in java doesnt mean they know all of the
ins and outs of servlet container configurations. This, oh we will
leave the last few steps as an exercise for the reader is just one of
my personal pet peeves. Just because software is targeted at
programmers and technical folks doesnt mean its ok to make it hard.
Adobe has, in general, done a good job with the client side. But, for
lots of people, this will be a bummer.

Hank

On 6/18/06, hank williams [EMAIL PROTECTED] wrote:

 I just downloaded flex data services, installed, and tried to run the the 
 sample apps.

 The flash UI part all works fine, but it cant connect to data. The error that 
 comes in on the java console looks like this:


 [Flex] [DEBUG] Before invoke service: data-service
   incomingMessage: Flex Message (flex.data.messages.DataMessage)
 operation = fill
 id = null
 clientId = 5C535BF9-496C-1163-025E-E8915E76244B
  correlationId =
 destination = contact
 messageId = 43802177-0968-4AB3-9AB5-E8915E86D54E
 timestamp = 1150658109140
 timeToLive = 0
 body =
 [

 ]
 hdr(DSEndpoint) = my-rtmp

 Throwable in RtmpReader thread: java.lang.NoClassDefFoundError: 
 javax/transaction/SystemException
 java.lang.NoClassDefFoundError: javax/transaction/SystemException
 at flex.data.DataService.serviceMessage (DataService.java:284)
 at 
 flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:565)
 at 
 flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:298)
 at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage 
 (AbstractRTMPServer.java:653)
 at 
 flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:650)
 at 
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask
  (ThreadPoolExecutor.java:643)
 at 
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
 at java.lang.Thread.run(Unknown Source)


 Obviously I have done something wrong from a setup perspective, but I am not 
 sure what.

 Any input would be greatly appreciated.


 Hank



 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: FDS Samples

2006-06-18 Thread hank williams



I wrote up a little explanation that is much (I think) easier to understand that the instructions provided by adobe for installing JOTM (which is necessary for FDS)1. un gzip the file 
http://debian-sf.objectweb.org/projects/jotm2. 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. Add the following XML to $CATALINA_HOME/conf/server.xmlContext 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/name  valueorg.objectweb.jotm.UserTransactionFactory/value  /parameter  parameter  name
jotm.timeout/name  value60/value  /parameter  /ResourceParams /Context NOTE: In the first line above, the word samples listed twice, should be whatever the name of your webapp is. Using samples allows you to run the samples application that comes with FDS.
On 6/18/06, hank williams [EMAIL PROTECTED] wrote: Well, I figured out what the problem is.  On the wiki (but nowhere in the downloaded package) it says that FDS
 on Tomcat requires the JOTM transaction manager.  The wiki points to two articles by unrelated third parties that have different instructions for what is required to install. Then there are
 some additional instructions directly in the wiki that seem to overlap and contradict the instructions in the articles. The bottom line is this is no easy drop a war or jar in and your done kind of
 installation - or if it is, then the instructions are even worse than I thought.  I would suggest that adobe make the effort to tighten up the documentation on this and maybe do some kind of an installer that
 maybe even makes the necessary adjustments to the tomcat config file. Just because someone programs in java doesnt mean they know all of the ins and outs of servlet container configurations. This, oh we will
 leave the last few steps as an exercise for the reader is just one of my personal pet peeves. Just because software is targeted at programmers and technical folks doesnt mean its ok to make it hard.
 Adobe has, in general, done a good job with the client side. But, for lots of people, this will be a bummer.  Hank  On 6/18/06, hank williams 
[EMAIL PROTECTED] wrote:   I just downloaded flex data services, installed, and tried to run the the sample apps.   The flash UI part all works fine, but it cant connect to data. The error that comes in on the java console looks like this:
[Flex] [DEBUG] Before invoke service: data-service  incomingMessage: Flex Message (flex.data.messages.DataMessage)  operation = fill  id = null
  clientId = 5C535BF9-496C-1163-025E-E8915E76244B correlationId =  destination = contact  messageId = 43802177-0968-4AB3-9AB5-E8915E86D54E  timestamp = 1150658109140
  timeToLive = 0  body =  [   ]  hdr(DSEndpoint) = my-rtmp   Throwable in RtmpReader thread: java.lang.NoClassDefFoundError
: javax/transaction/SystemException  java.lang.NoClassDefFoundError: javax/transaction/SystemException  at flex.data.DataService.serviceMessage (DataService.java:284)  at flex.messaging.MessageBroker.routeMessageToService
(MessageBroker.java:565)  at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:298)  at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage (AbstractRTMPServer.java
:653)  at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:650)  at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java
:643)  at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)  at java.lang.Thread.run(Unknown Source)Obviously I have done something wrong from a setup perspective, but I am not sure what.
   Any input would be greatly appreciated.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] Re: FDS Samples

2006-06-18 Thread klumikaze
Couldn't agree with your comments more... I burned about 4 hours the
other day trying to get FDS up and running with Tomcat (will have to
try your clearer instructions on the JOTM install, as I tried the 2
sources you mentioned and did not get anywhere).

In Adobe's defense, I don't think it's just them, the Java community
seems to have so many amazing platforms and frameworks, but there's so
many that just accomplish the same thing, and in general, there's no
simple documentation on installation or usage that makes any sense.
Sometimes it seems like it takes 6 frameworks running around the clock
to print out 'hello world'. :)

All that being said, I'm sure that once Flex 2 goes GA, we'll see much
better documentation on all of this. They are probably a little busy
right now...

Thanks again for the instructions though, I'm sure these will help
many who found the JOTM instructions cryptic before.

Brian

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

 I wrote up a little explanation that is much (I think) easier to
understand
 that the instructions provided by adobe for installing JOTM (which is
 necessary for FDS)
 
 1. un gzip the file http://debian-sf.objectweb.org/projects/jotm
 2. go to the lib directory in the resulting uncompressed folder
 3. 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. Add the following XML to $CATALINA_HOME/conf/server.xml
 
  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/name
   valueorg.objectweb.jotm.UserTransactionFactory/value
 /parameter
 parameter
namejotm.timeout/name
value60/value
  /parameter
   /ResourceParams
 /Context
 
 NOTE: In the first line above, the word samples listed twice,
should be
 whatever the  name of your webapp is. Using samples allows you to
run the
 samples application that comes with FDS.
 
 
 
 On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
  Well, I figured out what the problem is.
 
  On the wiki (but nowhere in the downloaded package) it says that FDS
  on Tomcat requires the JOTM transaction manager.
 
  The wiki points to two articles by unrelated third parties that have
  different instructions for what is required to install. Then there are
  some additional instructions directly in the wiki that seem to overlap
  and contradict the instructions in the articles. The bottom line is
  this is no easy drop a war or jar in and your done kind of
  installation - or if it is, then the instructions are even worse than
  I thought.
 
  I would suggest that adobe make the effort to tighten up the
  documentation on this and maybe do some kind of an installer that
  maybe even makes the necessary adjustments to the tomcat config file.
  Just because someone programs in java doesnt mean they know all of the
  ins and outs of servlet container configurations. This, oh we will
  leave the last few steps as an exercise for the reader is just one of
  my personal pet peeves. Just because software is targeted at
  programmers and technical folks doesnt mean its ok to make it hard.
  Adobe has, in general, done a good job with the client side. But, for
  lots of people, this will be a bummer.
 
  Hank
 
  On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
  
   I just downloaded flex data services, installed, and tried to
run the
 the sample apps.
  
   The flash UI part all works fine, but it cant connect to data.
The error
 that comes in on the java console looks like this:
  
  
   [Flex] [DEBUG] Before invoke service: data-service
 incomingMessage: Flex Message (flex.data.messages.DataMessage)
   operation = fill
   id = null
   clientId = 5C535BF9-496C-1163-025E-E8915E76244B
correlationId =
   destination = contact
   messageId = 43802177-0968-4AB3-9AB5-E8915E86D54E
   timestamp = 1150658109140
   timeToLive = 0
   body =
   [
  
   ]
   hdr(DSEndpoint) = my-rtmp
  
   Throwable in RtmpReader thread: java.lang.NoClassDefFoundError:
 javax/transaction/SystemException
   java.lang.NoClassDefFoundError: javax/transaction/SystemException
   at flex.data.DataService.serviceMessage (DataService.java:284)
   at flex.messaging.MessageBroker.routeMessageToService(
 MessageBroker.java:565)
   at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(
 AbstractEndpoint.java:298)
   at
flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(
 AbstractRTMPServer.java:653)
   at
flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(
 NIORTMPConnection.java:650)
   at


[flexcoders] Flex 2.0/Flash crash with big xml datasets.

2006-06-18 Thread kellyb723
Has anyone tried loading any fairly large dataset from an HTTPService
into an ArrayCollection and then binding it to a DataGrid.  I have a
75mb XML (Unicode) file that contains ~54,000 records.  I'm trying to
do as I just stated with this file.  

I sure anyone reading this is laughing and asking why I would do such
a stupid thing, but bear with me for the sake of BETA testing.  

I find two problems occurring:

1)  The Flash Player (and Web Browser) often crashes.  I get errors
like The Shockwave Flash plug-in has performed an illegal operation;
it's recommended you restart Firefox immediately.  The error dialog
in IE6 is different but conveys the same general message.

2) If it does not crash, it consumes almost 1GB or RAM to load this
75MB file.  I understand that building and binding the objects in
memory will use more RAM that the size of the file itself but this is
a very big difference.

Also, in my actual application I use a Web Service to load the file in
chunks of 50-100 records per request and add them to the (already
bound) ArrayCollection in a loop.  This ALWAYS crashes in both IE and
Firefox without fail.  It usually happens after only 1000 records or so.

Has anyone else experienced this behavior, or been foolish enough to
try this?

- Kelly









 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] Rss Feed CrossDomain Confusion

2006-06-18 Thread Faisal Abid



I am trying to retrive an rss feed from BBC.co.uk, and this is my crossdomain XMl File?xml version="1.0"?!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"cross-domain-policy allow-access-from domain="*" /allow-access-from domain="http://newsrss.bbc.co.uk" //cross-domain-policyand my flex applications runs and retrives the feed locally without a crossdomain xml file , but when i upload it i obviously have to use a crossdomain xml file , and when i upload this to te root of my HTDOCS , i get this error in the flex application[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at ::DirectHTTPMessageResponder/securityErrorHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()Can someone please help this is killing me :{} AHH

__._,_.___





--
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] Rss Feed CrossDomain Confusion

2006-06-18 Thread Faisal Abid



Is there a way to do this in PHP? Im not really good with php someone please script it.From: "Carson Hager" [EMAIL PROTECTED]Sent: Sunday, June 18, 2006 9:03 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Rss Feed CrossDomain ConfusionThe crossdomain file has to be on the bbc.co.uk host, not your host. This is a common point of confusion. You can always proxy this kind of stuff very simply with an ASPX, Servlet, JSP, etc. to get around this limitation.   Carson    Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com  Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Faisal AbidSent: Sunday, June 18, 2006 5:55 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Rss Feed CrossDomain Confusion   I am trying to retrive an rss feed from BBC.co.uk, and this is my crossdomain XMl File?xml version="1.0"?!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"cross-domain-policy allow-access-from domain="*" /allow-access-from domain="http://newsrss.bbc.co.uk" //cross-domain-policyand my flex applications runs and retrives the feed locally without a crossdomain xml file , but when i upload it i obviously have to use a crossdomain xml file , and when i upload this to te root of my HTDOCS , i get this error in the flex application[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at ::DirectHTTPMessageResponder/securityErrorHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()Can someone please help this is killing me :{} AHH 

__._,_.___





--
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] Rss Feed CrossDomain Confusion

2006-06-18 Thread Faisal Abid



Oh Nevermind , I just relized i can do this with Coldfusion easily. Thanks for finally explaining Cross Domain to me ... pff lousy tech teacher couldnt tell me what crossdomian excatly is.From: "Carson Hager" [EMAIL PROTECTED]Sent: Sunday, June 18, 2006 9:03 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Rss Feed CrossDomain ConfusionThe crossdomain file has to be on the bbc.co.uk host, not your host. This is a common point of confusion. You can always proxy this kind of stuff very simply with an ASPX, Servlet, JSP, etc. to get around this limitation.   Carson    Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com  Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Faisal AbidSent: Sunday, June 18, 2006 5:55 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Rss Feed CrossDomain Confusion   I am trying to retrive an rss feed from BBC.co.uk, and this is my crossdomain XMl File?xml version="1.0"?!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"cross-domain-policy allow-access-from domain="*" /allow-access-from domain="http://newsrss.bbc.co.uk" //cross-domain-policyand my flex applications runs and retrives the feed locally without a crossdomain xml file , but when i upload it i obviously have to use a crossdomain xml file , and when i upload this to te root of my HTDOCS , i get this error in the flex application[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at ::DirectHTTPMessageResponder/securityErrorHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()Can someone please help this is killing me :{} AHH 

__._,_.___





--
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: FDS Samples

2006-06-18 Thread Jeremy Lu



Thanks for the detailed tutorial.

Btw, I tried to install FDS on JBoss and Resin and it worked pretty
well, just have to comment out one block in the configuration file.

Maybe the document should mention this so people have another choice over Tomcat ?

Jeremy.


On 6/19/06, klumikaze [EMAIL PROTECTED] wrote:









  



Couldn't agree with your comments more... I burned about 4 hours the
other day trying to get FDS up and running with Tomcat (will have to
try your clearer instructions on the JOTM install, as I tried the 2
sources you mentioned and did not get anywhere).

In Adobe's defense, I don't think it's just them, the Java community
seems to have so many amazing platforms and frameworks, but there's so
many that just accomplish the same thing, and in general, there's no
simple documentation on installation or usage that makes any sense.
Sometimes it seems like it takes 6 frameworks running around the clock
to print out 'hello world'. :)

All that being said, I'm sure that once Flex 2 goes GA, we'll see much
better documentation on all of this. They are probably a little busy
right now...

Thanks again for the instructions though, I'm sure these will help
many who found the JOTM instructions cryptic before.

Brian

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

 I wrote up a little explanation that is much (I think) easier to
understand
 that the instructions provided by adobe for installing JOTM (which is
 necessary for FDS)
 
 1. un gzip the file http://debian-sf.objectweb.org/projects/jotm
 2. go to the lib directory in the resulting uncompressed folder
 3. 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. Add the following XML to $CATALINA_HOME/conf/server.xml
 
  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/name
   valueorg.objectweb.jotm.UserTransactionFactory/value
 /parameter
 parameter
namejotm.timeout/name
value60/value
  /parameter
   /ResourceParams
 /Context
 
 NOTE: In the first line above, the word samples listed twice,
should be
 whatever the  name of your webapp is. Using samples allows you to
run the
 samples application that comes with FDS.
 
 
 
 On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
  Well, I figured out what the problem is.
 
  On the wiki (but nowhere in the downloaded package) it says that FDS
  on Tomcat requires the JOTM transaction manager.
 
  The wiki points to two articles by unrelated third parties that have
  different instructions for what is required to install. Then there are
  some additional instructions directly in the wiki that seem to overlap
  and contradict the instructions in the articles. The bottom line is
  this is no easy drop a war or jar in and your done kind of
  installation - or if it is, then the instructions are even worse than
  I thought.
 
  I would suggest that adobe make the effort to tighten up the
  documentation on this and maybe do some kind of an installer that
  maybe even makes the necessary adjustments to the tomcat config file.
  Just because someone programs in java doesnt mean they know all of the
  ins and outs of servlet container configurations. This, oh we will
  leave the last few steps as an exercise for the reader is just one of
  my personal pet peeves. Just because software is targeted at
  programmers and technical folks doesnt mean its ok to make it hard.
  Adobe has, in general, done a good job with the client side. But, for
  lots of people, this will be a bummer.
 
  Hank
 
  On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
  
   I just downloaded flex data services, installed, and tried to
run the
 the sample apps.
  
   The flash UI part all works fine, but it cant connect to data.
The error
 that comes in on the java console looks like this:
  
  
   [Flex] [DEBUG] Before invoke service: data-service
 incomingMessage: Flex Message (flex.data.messages.DataMessage)
   operation = fill
   id = null
   clientId = 5C535BF9-496C-1163-025E-E8915E76244B
correlationId =
   destination = contact
   messageId = 43802177-0968-4AB3-9AB5-E8915E86D54E
   timestamp = 1150658109140
   timeToLive = 0
   body =
   [
  
   ]
   hdr(DSEndpoint) = my-rtmp
  
   Throwable in RtmpReader thread: java.lang.NoClassDefFoundError:
 javax/transaction/SystemException
   java.lang.NoClassDefFoundError: javax/transaction/SystemException
   at flex.data.DataService.serviceMessage (DataService.java:284)
   at flex.messaging.MessageBroker.routeMessageToService(
 

Re: [flexcoders] Re: FDS Samples

2006-06-18 Thread hank williams
yeah, jboss is a JEE application server so I think JOTM is part of the
spec by now. But I didnt know resin had it. Jetty is another one that
should go more smoothly than tomcat since JOTM came out of the jetty
project.

If it had turned out to be much harder than it actually was I probably
would have switched. But as it turns out the biggest issue with using
tomcat is the documentation, not the actual process.

Hank

On 6/18/06, Jeremy Lu [EMAIL PROTECTED] wrote:



 Thanks for the detailed tutorial.

  Btw, I tried to install FDS on JBoss and Resin and it worked pretty well, 
 just have to comment out one block in the configuration file.

  Maybe the document should mention this so people have another choice over 
 Tomcat ?

  Jeremy.





 On 6/19/06, klumikaze  [EMAIL PROTECTED] wrote:

 
 
 
 
 
 
 
 
  Couldn't agree with your comments more... I burned about 4 hours the
   other day trying to get FDS up and running with Tomcat (will have to
   try your clearer instructions on the JOTM install, as I tried the 2
   sources you mentioned and did not get anywhere).
 
   In Adobe's defense, I don't think it's just them, the Java community
   seems to have so many amazing platforms and frameworks, but there's so
   many that just accomplish the same thing, and in general, there's no
   simple documentation on installation or usage that makes any sense.
   Sometimes it seems like it takes 6 frameworks running around the clock
   to print out 'hello world'. :)
 
   All that being said, I'm sure that once Flex 2 goes GA, we'll see much
   better documentation on all of this. They are probably a little busy
   right now...
 
   Thanks again for the instructions though, I'm sure these will help
   many who found the JOTM instructions cryptic before.
 
   Brian
 
 
   --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] 
  wrote:
   
I wrote up a little explanation that is much (I think) easier to
   understand
that the instructions provided by adobe for installing JOTM (which is
necessary for FDS)
   
1. un gzip the file http://debian-sf.objectweb.org/projects/jotm
2. go to the lib directory in the resulting uncompressed folder
3. 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. Add the following XML to $CATALINA_HOME/conf/server.xml
   
 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/name
  valueorg.objectweb.jotm.UserTransactionFactory/value
/parameter
parameter
   namejotm.timeout/name
   value60/value
 /parameter
  /ResourceParams
/Context
   
NOTE: In the first line above, the word samples listed twice,
   should be
whatever the  name of your webapp is. Using samples allows you to
   run the
samples application that comes with FDS.
   
   
   
 
On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
 Well, I figured out what the problem is.

 On the wiki (but nowhere in the downloaded package) it says that FDS
 on Tomcat requires the JOTM transaction manager.

 The wiki points to two articles by unrelated third parties that have
 different instructions for what is required to install. Then there are
 some additional instructions directly in the wiki that seem to overlap
 and contradict the instructions in the articles. The bottom line is
 this is no easy drop a war or jar in and your done kind of
 installation - or if it is, then the instructions are even worse than
 I thought.

 I would suggest that adobe make the effort to tighten up the
 documentation on this and maybe do some kind of an installer that
 maybe even makes the necessary adjustments to the tomcat config file.
 Just because someone programs in java doesnt mean they know all of the
 ins and outs of servlet container configurations. This, oh we will
 leave the last few steps as an exercise for the reader is just one of
 my personal pet peeves. Just because software is targeted at
 programmers and technical folks doesnt mean its ok to make it hard.
 Adobe has, in general, done a good job with the client side. But, for
 lots of people, this will be a bummer.

 Hank

 
 On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
 
  I just downloaded flex data services, installed, and tried to
   run the
the sample apps.
 
  The flash UI part all works fine, but it cant connect to data.
   The error
that comes in on the java console looks like this:
 
 
  

Re: [flexcoders] Re: FDS Samples

2006-06-18 Thread Carlos Rovira



I make it work under JOnAS 4.6.6 (a little out of date version), and I only must to change xalan package for the lastest version (maybe in th elast JOnAS version this could not be necesary).
On 6/19/06, hank williams [EMAIL PROTECTED] wrote:









  



yeah, jboss is a JEE application server so I think JOTM is part of the
spec by now. But I didnt know resin had it. Jetty is another one that
should go more smoothly than tomcat since JOTM came out of the jetty
project.

If it had turned out to be much harder than it actually was I probably
would have switched. But as it turns out the biggest issue with using
tomcat is the documentation, not the actual process.

Hank

On 6/18/06, Jeremy Lu [EMAIL PROTECTED] wrote:



 Thanks for the detailed tutorial.

  Btw, I tried to install FDS on JBoss and Resin and it worked pretty well, just have to comment out one block in the configuration file.

  Maybe the document should mention this so people have another choice over Tomcat ?

  Jeremy.





 On 6/19/06, klumikaze  [EMAIL PROTECTED] wrote:

 
 
 
 
 
 
 
 
  Couldn't agree with your comments more... I burned about 4 hours the
   other day trying to get FDS up and running with Tomcat (will have to
   try your clearer instructions on the JOTM install, as I tried the 2
   sources you mentioned and did not get anywhere).
 
   In Adobe's defense, I don't think it's just them, the Java community
   seems to have so many amazing platforms and frameworks, but there's so
   many that just accomplish the same thing, and in general, there's no
   simple documentation on installation or usage that makes any sense.
   Sometimes it seems like it takes 6 frameworks running around the clock
   to print out 'hello world'. :)
 
   All that being said, I'm sure that once Flex 2 goes GA, we'll see much
   better documentation on all of this. They are probably a little busy
   right now...
 
   Thanks again for the instructions though, I'm sure these will help
   many who found the JOTM instructions cryptic before.
 
   Brian
 
 
   --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote:

   
I wrote up a little explanation that is much (I think) easier to
   understand
that the instructions provided by adobe for installing JOTM (which is
necessary for FDS)
   
1. un gzip the file http://debian-sf.objectweb.org/projects/jotm

2. go to the lib directory in the resulting uncompressed folder
3. 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. Add the following XML to $CATALINA_HOME/conf/server.xml
   
 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/name
  valueorg.objectweb.jotm.UserTransactionFactory/value
/parameter
parameter
   namejotm.timeout/name
   value60/value
 /parameter
  /ResourceParams
/Context
   
NOTE: In the first line above, the word samples listed twice,
   should be
whatever the  name of your webapp is. Using samples allows you to
   run the
samples application that comes with FDS.
   
   
   
 
On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
 Well, I figured out what the problem is.

 On the wiki (but nowhere in the downloaded package) it says that FDS
 on Tomcat requires the JOTM transaction manager.

 The wiki points to two articles by unrelated third parties that have
 different instructions for what is required to install. Then there are
 some additional instructions directly in the wiki that seem to overlap
 and contradict the instructions in the articles. The bottom line is
 this is no easy drop a war or jar in and your done kind of
 installation - or if it is, then the instructions are even worse than
 I thought.

 I would suggest that adobe make the effort to tighten up the
 documentation on this and maybe do some kind of an installer that
 maybe even makes the necessary adjustments to the tomcat config file.
 Just because someone programs in java doesnt mean they know all of the
 ins and outs of servlet container configurations. This, oh we will
 leave the last few steps as an exercise for the reader is just one of
 my personal pet peeves. Just because software is targeted at
 programmers and technical folks doesnt mean its ok to make it hard.
 Adobe has, in general, done a good job with the client side. But, for
 lots of people, this will be a bummer.

 Hank

 
 On 6/18/06, hank williams [EMAIL PROTECTED]