[flexcoders] tryin to extend the Button (flex1.5)

2006-07-16 Thread shemeshkale
using flex1.5 i try to extend the Button.

class myComponents.myButton extends mx.controls.Button {
public function myButton(){
extraSpacing = 50;
this.btnOffset = 1;
label = NO LABEL;
useHandCursor = true;
}
}

and:
myComponents:myButton toolTip=btn tool tip /

the problem is that everything works BUT the useHandCursor is not!!
the extraSpacing, btnOffset and label do their work.
but i coudlnt find a way to make the useHandCursor work.

how can i make it work?






 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] Loading external css and setting a:hover style for htmlText

2006-07-16 Thread Olivier de Jonge



How do I connect an external stylesheet to a textfield so the htmlText gets the right styles?
I have an Application:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=

http://www.adobe.com/2006/mxml xmlns:myText=* layout=absolutemx:Style source=main.css /myText:TextFieldExample //mx:Application
That 'loads' an external stylesheet main.css:body {fontFamily : ThesisBolPla;leading : -3;}.heading {fontWeight :bold;
color: #FF3300;}a {color:#f0037f;}a:link{color:#f0037f;text-decoration:underline;}a:hover{color:#f0037f;}a:active{

color:#cc;}and creates the an instance of TextFieldExample:package {import mx.core.UIComponent;import flash.text.TextField;public class TextFieldExample extends UIComponent {
private var label:TextField;private var labelText:String = bodyspan class='heading'Hello world/spanbra href=''and welcome/a to the show. /body;
public function TextFieldExample() {configureLabel();setLabel(labelText);}public function setLabel(str:String):void {
label.htmlText = str;}private function configureLabel():void {label = new TextField();label.width = 200;label.embedFonts
 = true;
label.background = true;label.multiline = true;label.styleSheet = HOW TO CONNECT TO THE CSS?;addChild(label);}}}
How do I connect the external stylesheet to the textfield so the htmlText gets the right style?



__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Loading external css and setting a:hover style for htmlText

2006-07-16 Thread olivierdejonge
How do I connect an external stylesheet to a textfield so the htmlText
gets the right styles?

In Flex 1.5 that was easy:

var styles:TextField.StyleSheet = new TextField.StyleSheet();
styles.load('myStyles.css');
...
function onLoad(ok){
  if(ok){
myText.htmlText = hello a href=somelink.htmlworld/a
myText.styleSheet = styles
  }
}


But how to do this in Flex 2.0, when function 'load()' doesn't exist
anymore and parseCSS not realy seems tow work with a:hover style etc? 

In the 2.0 example I have an Application...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:myText=* layout=absolute
mx:Style source=main.css /
myText:TextFieldExample /
/mx:Application

...that loads an external stylesheet main.css,...

body {
fontFamily : ThesisBolPla;
leading : -3;
}
.heading {
fontWeight :bold;
color: #FF3300;
}
a {
color:#f0037f;
}
a:link{
color:#f0037f;
text-decoration:underline;
}
a:hover{
color:#f0037f;
}
a:active{
color:#cc;
}


...and creates the an instance of TextFieldExample:


package {
import mx.core.UIComponent;
import flash.text.TextField;


public class TextFieldExample extends UIComponent {


private var label:TextField;
private var labelText:String = bodyspan
class='heading'Hello world/spanbra href='javascript:void'and
welcome/a to the show. /body;

public function TextFieldExample() {
configureLabel();
setLabel(labelText);
}

public function setLabel(str:String):void {

  label.htmlText = str;
}

private function configureLabel():void {

label = new TextField();
label.width = 200;
label.embedFonts = true;
label.background = true;
label.multiline = true;
label.styleSheet = HOW TO CONNECT TO THE CSS?;

addChild(label);
}
}
}

How do I connect the external stylesheet to the textfield so the
htmlText gets the right style?





 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: Repeater ignores recycleChildren. on my image extendsion!!

2006-07-16 Thread olivierdejonge
--- In flexcoders@yahoogroups.com, maikelsibbald [EMAIL PROTECTED]
wrote:
Hello, 

I don't know if this is helping you, but I found out that you can't
have more Repeaters on one canvas anymore. (was no problem in 1.5) If
you create for each repeater a seperate child canvas on the original
canvas there is no problem.

Olivier


 Noboby got this problem??
 
 --- In flexcoders@yahoogroups.com, maikelsibbald maikelsibbald@
 wrote:
 
  If I have a trace in the constructor of my Component (extends Image).
  I see my traces, even when I use the recyclechildren (=true) property
  in the Repeater that creates the images... how come..?
 








--
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] Logging tool for Flex 2 : ZTORLog4f (http://sourceforge.net/projects/ztorlog4f)

2006-07-16 Thread tyombria



ZTOR team released version 1.0 of their logging tool for flex2 - ZTORLog4f . It was updated for flex2 official release compliance.

__._,_.___





--
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] get info from object web service

2006-07-16 Thread Kris Kross
Hi.
I really hope somone can help me. I'm a beginner at flex, and I'm 
struggeling to get my first test up and running.
I' trying to get an object from a web service. After galling a webservice 
using [webserviceName].[methodName].send() I get [object Object] in the 
textArea where I'm trying to fill whith the object.
I'm trying with:
[webserviceName].[methodname].lastResult

I't probably sould probably be something like:
[webserviceName].[methodname].lastResult.[objectname].[variabel]
But I can't figure out the correct way.

The object looks like this in the wsdl:
complexType name=getsimple
sequence
  element name=String_1 type=string nillable=true /
  /sequence
  /complexType


Using a method that returns a string is no problem.
I really hope somone colud take the time telling me. I've tried this for 2 
days now.

_
MSN Search http://search.msn.no/ Raskere. Rett på sak. Mer presist.



 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] Best $$$ Price on Flex?

2006-07-16 Thread Kevin Mulvihill





Hi 
all,

Just wondering if 
anyone can recommend whomever might have the best pricing on Flex with charting? 
Also, any crossgrade opportunities available?

Thanks,
Kevin
__._,_.___





--
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] RPC Vs. FDS and FDS Express

2006-07-16 Thread David
Hi all,
I'm extremely new to the Flex world, and have been pounding away
through tutorials for the last week. While i've found exceptional
tutorials on functionality, and getting started guides on Flex
builder, and even details on the framework works, i've yet to see a
good tutorial on how to install and what exactly you need installed. 

A while back i did a few admin sites with flash remoting i had learned
from ASFusion's Real Estate App (AWESOME SITE BTW). I have another
project coming up that deals with a lot of CRUD, and a database of
about 30 tables or so. So after seeing flex i was in awe, and of
course got excited of all the possiblities. BUT! As I am just a
developer, an individual contracter with not so big clients, i find it
impossible to afford 20k on FDS for on a server. I've searched all
over the web to find a single hosting environment that has FDS as an
additional option with Cold Fusion (as if good CF Hosting plans aren't
already hard enough to come by), but i've yet ot find any. I've
noticed that Adobe has a FDS Express? I've also noticed that it can be
installed and used commercially on a Single CPU? Does that include
Hosted Environments? 

After reading through a few messages on this site i noticed this
comment in one of the posts: 'If your server-side data requirements
are intense, you might want FDS, Flex Data Services.  For normal data
access, the RPC functionality is sufficient, and that is included with
the framework (free)'. But after looking into LiveDocs i get:
To use RemoteObject components, Flex Data Services or Macromedia
ColdFusion MX 7.0.2 with the Remoting Update is required. But then it
goes on to say that in order to use Remoting, FDS must be installed
and you have to set up Destinations. So which is it, and how do you do
it? If i just have basic CRUD Functionality, can i get away without
FDS on my hosted environment, and use the SDK to interact with a
backend Database via CF? 

If anyone knows of any good tutorial to get you installed correctly
locally, and then shows you how to replicate the same functionality on
a server, i'd love to see it.
Thanks again for listening, and i apologize in advance if i make no
sense, as i've been reading all night about this! :)
Thanks agian,
David





 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: binding ViewStack.selectedChild to the data model

2006-07-16 Thread jrjazzman23
thanks.  I successfully switched to using selectedIndex.  Curious
though, would the solution you provided create a binding?  Seems like
it might be a one-time assignment to selectedChild and not receive
updates.

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

 The docs say selectedChild can only be set in AS, not MXML.  Maybe 
 try something like:
 
 creationComplete=viewstack1.selectedChild = ModelLocator.getInstance
 ().selectedView 
 
 
 --- In flexcoders@yahoogroups.com, jrjazzman23 jrjazzman23@ 
 wrote:
 
  I think the binding is happening before the viewstack children are
  initialized.. getting the following error when I run the prog:
  
  TypeError: Error #2007: Parameter child must be non-null.
  
  
  ModelLocator snippet
  ---
  public var selectedView : Container;
  
  
  
  mainapp.mxml snippet
  --
  mx:ViewStack x=238 y=123 id=viewstack1 width=752 
 height=550
  creationPolicy=all
  selectedChild={ModelLocator.getInstance().selectedView} 
Components:FindClient id=FindClientCanvas /
Components:GeneralInformation id=GeneralInformationCanvas /
  /mx:ViewStack
  
  
  
  I've tried running the following from main app's initialize,
  preinitialize and creationcomplete
  ---
  ModelLocator.initialize();
  ModelLocator.getInstance().selectedView = FindClientCanvas;
  
  
  
  How can I delay the binding until the viewstack and its children 
 have 
  been created?
  
  thanks
 







--
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] Lynda.com Flex 2 training

2006-07-16 Thread Joel Provinsal










This is a very well put together
title. Combined with the AS3 title, it provides a great overview.
They dont make assumptions about prior knowledge, but cover a lot
of ground. The potential Flex 2 has is staggering. I am looking
forward to seeing what people come up with.




__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] button properites

2006-07-16 Thread slh_blakeley
I am currently trying to create a large button with the mutiple text 
lines within the button. Unfortunately I am struggling trying to do 
this. I have included the following mxml line to demonstrate:

mx:Buttonlabel=Multiple\nline#13;test width=202 height=186/

You can see that I have tried both potential solutions ie '\n' 
and '#13;' to create more than one line of text with no luck. The 
button is diplayed as:

Multiple\nline

Can somebody help. Please





--
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] Dashboard Sample: problems

2006-07-16 Thread Marcelo de Moraes Serpa



Matt, what do you mean by app compiled for the wrong player? On 7/14/06, Matt Chotin [EMAIL PROTECTED]
 wrote:












  













I get the same scenario as Paul, dashboard
is fine for me but Jesse's app on Firefox failed. Also loading
Jesse's SWF directly using the standalone player works. But when I
viewed source in IE some of the data didn't come through there either.
I took Jesse's source and downloaded it to run it locally and that worked
fine for me in both browsers. 



I don't get the preloader at 20%
though, in the past that has often meant that the app was compiled for the
wrong Player (maybe it's a beta project or something?).



Matt











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
On Behalf
Of Paul Andrews
Sent: Friday, July 14, 2006 1:02
PM
To: flexcoders@yahoogroups.com

Subject: Re: [flexcoders]
Dashboard Sample: problems











No problems here with the dashboard in ie or firefox
with 9,0,16,0.

Jesse's app gave me just a blue screen on firefox, but after a few refreshes 
on ie, no problems.

Paul

- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: flexcoders@yahoogroups.com
Sent: Friday, July 14, 2006 8:15 PM
Subject: Re: [flexcoders] Dashboard Sample: problems

I have the exact same problem with 9.0.16.0 here with my app:

 http://dev.jessewarden.com/flex/webserviceexample/


 1st time works. Refresh.

 2nd time, stops at 20%. Refresh.

 3rd time, doesn't even show preloader.

 Same exact behavior in IE and Firefox.

 - Original Message - 
 From: [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, July 14, 2006 12:22 PM
 Subject: [flexcoders] Dashboard Sample: problems


 I was messing around with the dashboard sample on the adobe site
 http://www.adobe.com/devnet/flex/samples/dashboard/

 And everything was going fine. Ever since upgrading FP9 to 9.0.16.0
 though I can't get the application to successfully load. I redownloaded
 the source just in case I inadvertently changed something - but same
 affect. I get the pretty blue background and a status window that
 freezes about 20% through the load.

 Any ideas?



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








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







 










  















__._,_.___





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








   






  
  
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] Dashboard Sample: problems

2006-07-16 Thread Ralf Bokelberg



I ancient times (read flash) we had problems like this, when we tried to jump to a frame, which wasn't loaded yet. Any chance, flex does something like this internally, gotoFrame that is? Cheers,Ralf. 
On 7/15/06, Matt Chotin [EMAIL PROTECTED] wrote:


















I get the same scenario as Paul, dashboard
is fine for me but Jesse's app on Firefox failed. Also loading
Jesse's SWF directly using the standalone player works. But when I
viewed source in IE some of the data didn't come through there either.
I took Jesse's source and downloaded it to run it locally and that worked
fine for me in both browsers. 



I don't get the preloader at 20%
though, in the past that has often meant that the app was compiled for the
wrong Player (maybe it's a beta project or something?).



Matt











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
On Behalf
Of Paul Andrews
Sent: Friday, July 14, 2006 1:02
PM
To: flexcoders@yahoogroups.com

Subject: Re: [flexcoders]
Dashboard Sample: problems











No problems here with the dashboard in ie or firefox
with 9,0,16,0.

Jesse's app gave me just a blue screen on firefox, but after a few refreshes 
on ie, no problems.

Paul

- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: flexcoders@yahoogroups.com
Sent: Friday, July 14, 2006 8:15 PM
Subject: Re: [flexcoders] Dashboard Sample: problems

I have the exact same problem with 9.0.16.0 here with my app:

 http://dev.jessewarden.com/flex/webserviceexample/


 1st time works. Refresh.

 2nd time, stops at 20%. Refresh.

 3rd time, doesn't even show preloader.

 Same exact behavior in IE and Firefox.

 - Original Message - 
 From: [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, July 14, 2006 12:22 PM
 Subject: [flexcoders] Dashboard Sample: problems


 I was messing around with the dashboard sample on the adobe site
 http://www.adobe.com/devnet/flex/samples/dashboard/

 And everything was going fine. Ever since upgrading FP9 to 9.0.16.0
 though I can't get the application to successfully load. I redownloaded
 the source just in case I inadvertently changed something - but same
 affect. I get the pretty blue background and a status window that
 freezes about 20% through the load.

 Any ideas?



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








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







 












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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Kevin Mulvihill





Hi 
all,

What do you all 
recommend for backend server-side technology to work with Flex? I'm planning on 
some work with MySQL and not particularly interested in 
.NET.

I know there's FDS 
but it's too pricey to own for small budget projects. Has anyone researched web 
hosts who offer FDS 2 on their servers and know what their hosting charges are 
for such access? Any recommendations would be great. I'm not seeing much through 
Google.

I'm thinking more 
along the lines of Ruby on Rails just because I've heard it's a very productive 
environment to work in. I confess I don't yet know too much about it though. Any 
comments on how this technology might work with Flex?


How does Cairngorm 
fit into the data access picture? Just a set of best practices or a full-on 
framework like Rails?

Any comments on these issues would be 
greatly appreciated! Thanks all!

Kevin
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Jeremy Lu




hi Kevin,

You can start with a serach in this list and flex 2 ldoc with following keyword:

1. HttpServices, WebServices, RemoteObject
2. Flash Remoting
3. modelLocator (for Cairngorm related stuff)


On 7/16/06, Kevin Mulvihill [EMAIL PROTECTED] wrote:













  






Hi 
all,

What do you all 
recommend for backend server-side technology to work with Flex? I'm planning on 
some work with MySQL and not particularly interested in 
.NET.

I know there's FDS 
but it's too pricey to own for small budget projects. Has anyone researched web 
hosts who offer FDS 2 on their servers and know what their hosting charges are 
for such access? Any recommendations would be great. I'm not seeing much through 
Google.

I'm thinking more 
along the lines of Ruby on Rails just because I've heard it's a very productive 
environment to work in. I confess I don't yet know too much about it though. Any 
comments on how this technology might work with Flex?


How does Cairngorm 
fit into the data access picture? Just a set of best practices or a full-on 
framework like Rails?

Any comments on these issues would be 
greatly appreciated! Thanks all!

Kevin

  















__._,_.___





--
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] need solution/best practice regarding VO's

2006-07-16 Thread Douglas Knudsen



drat! sorry, missed your mention of amfphp. I'm using CF and have used Java for this. Never used amfphp.DKOn 7/15/06, Andrea Varga 
[EMAIL PROTECTED] wrote:Eg.:I'm using remoting to get the data from the server (AMFHP).
On one hand: Class mappings won't work with VO's insite another VO.who says?Works for me.Are you using AMFPHP? Does it work in both ways for you (AS - PHP and
PHP - AS)? Yahoo! Groups Sponsor ~--See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
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] tryin to extend the Button (flex1.5)

2006-07-16 Thread JesterXL
Add:

this.onPress = null;

- Original Message - 
From: shemeshkale [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, July 16, 2006 5:49 AM
Subject: [flexcoders] tryin to extend the Button (flex1.5)


using flex1.5 i try to extend the Button.

class myComponents.myButton extends mx.controls.Button {
public function myButton(){
extraSpacing = 50;
this.btnOffset = 1;
label = NO LABEL;
useHandCursor = true;
}
}

and:
myComponents:myButton toolTip=btn tool tip /

the problem is that everything works BUT the useHandCursor is not!!
the extraSpacing, btnOffset and label do their work.
but i coudlnt find a way to make the useHandCursor work.

how can i make it work?







--
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] Yahoo Groups Problems

2006-07-16 Thread jwc_wensan
To All and or Moderator(s):

As of this post there have been 16 posts with a date stamp of July 
16 that I can see on the Yahoo web site.

However, I have my profile set to send to me email address and I 
have only received ONE today.

This happens at least once or twice a month.  Why?  Do any of the 
moderators have access to the Yahoo people?

I check my Yahoo account/profile every time, but do not find any 
errors or listed problems.

I have seen others mention this problem.  Anyone else still having 
this problem?

What options do we have?

Thanks,

Jack






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [Junk E-Mail - MED] [flexcoders] Yahoo Groups Problems

2006-07-16 Thread Shannon Hicks





Yahoo is relatively unhelpful with this. It's a known 
problem across all groups sometimes emails just don't go 
out.

A more often occurrence is that the emails might have been 
filtered as Junk Mail. Check your junk mail folder, and also check to see if 
your ISP filters mail without your knowledge.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
jwc_wensanSent: Sunday, July 16, 2006 10:42 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] [flexcoders] 
Yahoo Groups Problems


To All and or Moderator(s):As of this post there have been 16 
posts with a date stamp of July 16 that I can see on the Yahoo web 
site.However, I have my profile set to send to me email address and I 
have only received ONE today.This happens at least once or twice a 
month. Why? Do any of the moderators have access to the Yahoo 
people?I check my Yahoo account/profile every time, but do not find any 
errors or listed problems.I have seen others mention this problem. 
Anyone else still having this problem?What options do we 
have?Thanks,Jack
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 
7/14/2006
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



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


[flexcoders] problem embedding an icon in a popupmenu

2006-07-16 Thread hank williams



I am trying to get a menu to display some icons, and I cant get them to show up. The code I have written is based on the sample code for creating a popup menu and the sample code for creating a list where they show you how to include an icon. But the two examples are different enough that I may not be merging them together right.
The other thing that is odd is, if you look at the code you will se a line that looks like this:  myMenu.labelField=@label
I dont know why I need the @ here at all. But without it the label doesnt show up whereas with it it does. But for the following line  myMenu.labelField=@icon
The icons dont show up.I know that I am embedding the icon properly because the code also embeds one of the same icons inside the button.Any help appreciated.Hank?xml version=
1.0 encoding=utf-8?mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml   mx:LinkButton id=linkButton width=100
  icon=@Embed(source='../assets/assets.swf', symbol='thumbsup')  click=showMenu();mx:Script  ![CDATA[import 
mx.controls.Menu;  import mx.events.MenuEvent;  import mx.controls.Alert;   import flash.geom.Point; [Embed(source='../assets/assets.swf', symbol='thumbsup')] 
 public var thumbsup:Class;  [Embed(source='../assets/assets.swf', symbol='thumbsdown')] public var thumbsdown:Class;private var point1:Point = new Point();
  private var myMenu:Menu;// Create and display the Menu control.  private function showMenu():void {  myMenu= Menu.createMenu(parent, myMenuData, false);
  myMenu.labelField=@label  myMenu.iconField=@icon  myMenu.addEventListener(itemClick, menuHandler);  
  // Calculate position of Menu in Application's coordinates.   point1.x=linkButton.x;  point1.y=linkButton.y;   point1=
linkButton.localToGlobal(point1);   myMenu.show(point1.x, point1.y + linkButton.height + 1);  }// Event handler for the Menu control's change event.
  private function menuHandler(event:MenuEvent):void {  Alert.show(Label:  + event.item.label, Clicked menu item);  }   ]]
  /mx:Script /mx:LinkButton mx:XML id=myMenuData root menuitem label=No vote/ menuitem icon=thumbsup/
 menuitem icon=thumbsdown/ /root /mx:XML/mx:Canvas

__._,_.___





--
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: [Junk E-Mail - MED] [flexcoders] Yahoo Groups Problems

2006-07-16 Thread jwc_wensan
Shannon:

I have my emails from Flexcoders go straight to a folder that I set 
up.

Regarding my ISP.  Would they not always filter or just sometimes?

In other words, would I either not get any or I would get all?

Maybe this is another reason to move off of Yahoo.

Thanks,

Jack


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

 Yahoo is relatively unhelpful with this. It's a known problem 
across all
 groups sometimes emails just don't go out.
  
 A more often occurrence is that the emails might have been 
filtered as Junk
 Mail. Check your junk mail folder, and also check to see if your 
ISP filters
 mail without your knowledge.
  
 Shan
 
_  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of jwc_wensan
 Sent: Sunday, July 16, 2006 10:42 AM
 To: flexcoders@yahoogroups.com
 Subject: [Junk E-Mail - MED] [flexcoders] Yahoo Groups Problems
 
 
 
 To All and or Moderator(s)-:
 
 As of this post there have been 16 posts with a date stamp of July 
 16 that I can see on the Yahoo web site.
 
 However, I have my profile set to send to me email address and I 
 have only received ONE today.
 
 This happens at least once or twice a month. Why? Do any of the 
 moderators have access to the Yahoo people?
 
 I check my Yahoo account/profile every time, but do not find any 
 errors or listed problems.
 
 I have seen others mention this problem. Anyone else still having 
 this problem?
 
 What options do we have?
 
 Thanks,
 
 Jack
 
 
 
  
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 
7/14/2006
 
 
 
 -- 
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 
7/14/2006








 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] selecting a child node on a tree

2006-07-16 Thread Jesús Iglesias





Hi, 

I have a tree with an XML as dataProvider, 
something like


node label="label1"

 node label="label11" / 
 node label="label12" / 
 node label="label13" 
/
/node
node label="label2"
 node label="label21" / 
 node label="label22" / 
 node label="label23" 
/
/node

I need to select one node child, i.e. label12

[Bindable]private var 
arbolXML:XMLListCollection=new 
XMLListCollection();arbolXML.source=XMLList(result.arbol);my_tree.dataProvider=arbolXML;my_tree.validateNow();my_tree.selectedIndex=0;my_tree.expandItem(arbolXML.getItemAt(0), 
true);
With this code I expand de node label1, but now, how to set selected item 
no child label12?

Thanks
__._,_.___





--
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: [Junk E-Mail - MED] Re: [Junk E-Mail - MED] [flexcoders] Yahoo Groups Problems

2006-07-16 Thread Shannon Hicks





Mail is filtered by (usually) a complicated set of 
algorithms... The typical spam filter rates spam (based on many things including 
sender, DNS information, content of the message, amount of HTML, etc), and then 
performs an action based on that rating. Some spam filters allow high-rated 
messages to be deleted before it even is saved on the server, for your mail 
client to download.

Just make sure that flexcoders@yahoogroups.com is on 
your whitelist, and perhaps ask your ISP to do the same.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
jwc_wensanSent: Sunday, July 16, 2006 11:31 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: [Junk 
E-Mail - MED] [flexcoders] Yahoo Groups Problems


Shannon:I have my emails from Flexcoders go straight to a folder that 
I set up.Regarding my ISP. Would they not always filter or just 
sometimes?In other words, would I either not get any or I would get 
all?Maybe this is another reason to move off of 
Yahoo.Thanks,Jack--- In [EMAIL PROTECTED]ups.com, 
"Shannon Hicks" [EMAIL PROTECTED] wrote: Yahoo is relatively 
unhelpful with this. It's a known problem across all groups 
sometimes emails just don't go out.  A more often occurrence is 
that the emails might have been filtered as Junk Mail. Check your 
junk mail folder, and also check to see if your ISP filters mail 
without your knowledge.  Shan  _  
 From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of jwc_wensan Sent: Sunday, July 16, 2006 10:42 
AM To: [EMAIL PROTECTED]ups.com 
Subject: [Junk E-Mail - MED] [flexcoders] Yahoo Groups Problems  
  To All and or Moderator(s)-:  As of this 
post there have been 16 posts with a date stamp of July  16 that I can 
see on the Yahoo web site.  However, I have my profile set to 
send to me email address and I  have only received ONE today. 
 This happens at least once or twice a month. Why? Do any of the 
 moderators have access to the Yahoo people?  I check my 
Yahoo account/profile every time, but do not find any  errors or listed 
problems.  I have seen others mention this problem. Anyone else 
still having  this problem?  What options do we 
have?  Thanks,  Jack   
-- No virus found in this incoming 
message. Checked by AVG Free Edition. Version: 7.1.394 / Virus 
Database: 268.10.1/389 - Release Date: 7/14/2006   
 --  No virus found in this outgoing message. Checked by 
AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - 
Release Date: 7/14/2006
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 
7/14/2006
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



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


[flexcoders] Re: tryin to extend the Button (flex1.5)

2006-07-16 Thread shemeshkale
still not working, just to remind u - i m trying to use the
useHandCurosr
if i write it directly in the mxml tag (useHandCursor=true) it works
great!!  but when trying to do this from AS its not working.
my guess it is something to do with the scope..

but what is the solution?

 Add:
 
 this.onPress = null;






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Re: tryin to extend the Button (flex1.5)

2006-07-16 Thread JesterXL
Er, wait a minute, what the heck is this?

myComponents.myButton

Why not:

class MyComponent?  What is the . for?

- Original Message - 
From: shemeshkale [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, July 16, 2006 3:18 PM
Subject: [flexcoders] Re: tryin to extend the Button (flex1.5)


still not working, just to remind u - i m trying to use the
useHandCurosr
if i write it directly in the mxml tag (useHandCursor=true) it works
great!!  but when trying to do this from AS its not working.
my guess it is something to do with the scope..

but what is the solution?

 Add:
 
 this.onPress = null;







--
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] File - flexcodersFAQ.txt

2006-07-16 Thread flexcoders

 Flexcoders Frequently Asked Questions
  Last Updated: 30th May 2005

 Contributors:

Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper,
 Peter Farland, Abdul Qabiz, Tracy Spratt, Jesse Warden, Dan Harfleet,
  Manish Jethani, Dimitrios Gianninas


1. What is Flexcoders?
2. How does Flexcoders relate to the Macromedia Flex Forum on
   www.macromedia.com?
3. Who posts to Flexcoders?
4. Resources to check before asking a question
5. Guidelines for effective question-asking
6. FAQ


1. What is Flexcoders?

Flexcoders is a forum where developers can ask questions about Flex,
FlexBuilder, and Flex-related technologies (like Cairngorm, FlexUnit and
SynergyFLEX).  The community is made up of everyday Flex developers as
well as Macromedia employees. However, this is not an official
Macromedia-sponsored forum, it is actually moderated by the folks at
iteration::two, a consultancy responsible for authoring the book
Developing Rich Internet Applications with Macromedia Flex.


2. How does Flexcoders relate to the Macromedia Flex Forum on
   www.macromedia.com?

Both the Macromedia Flex Forum and Flexcoders provide help on issues
related to Flex, and neither is an official support mechanism.  Some
people monitor both forums, some only one.  It is up to you to decide
where you might have a better experience getting a question answered and
being able to subsequently help others.


3. Who posts to Flexcoders?

Everyone who has a question or an answer.  Many members of the Flex
development team read and respond to Flexcoders as well as other
Macromedia folks who monitor the community.

Some recurring Macromedia folks are:

David Mendels: EVP and GM, highest-level executive in charge of Flex.
Lucian Beebe: Sr. Product Manager, Flex. Matt Chotin, Manish Jethani,
Abdul Qabiz, Gordon Smith, Peter Farland and many more: Engineers on
Flex.

Active community members include:

Steven Webster (Technical Director at iteration::two and co-author of
Developing Rich Clients with Macromedia Flex), Alistair McLeod
(Development Director at iteration::two and co-author of Developing Rich
Clients with Macromedia Flex), Jesse Warden (JesterXL - Flash badass
playing with Flex), Tracy Spratt (long-time member, holder of all
knowledge related to 32K limits), Jeff Steiner (maintainer of
www.flexauthority.com), Tariq Ahmed (maintainer of www.cflex.net), Jimmy
Gianninas (long-time member, developer at Optimal Payments).

And so many more!


4. Resources to check before asking a question

The Flexcoders Mail Archive (better searching than YahooGroups):
http://www.mail-archive.com/flexcoders%40yahoogroups.com

http://www.cflex.net/showfaq.cfm
http://livedocs.macromedia.com/flex/15/asdocs_en/index.html
http://www.macromedia.com/go/flex15_java_livedocs
http://www.macromedia.com/cfusion/knowledgebase/index.cfm
http://www.cflex.net http://www.flexauthority.com
http://www.macromedia.com/devnet/flex http://coenraets.com
http://weblogs.macromedia.com/mxna/ http://www.google.com 

The Book Developing Rich Clients with Macromedia Flex (check your
favorite bookstore)



5. Guidelines to effective question-asking

Include a useful subject; this will help people find their own questions
and answers later.

Explain what you are trying to accomplish.

Explain the error (include compilation errors or a description of the
runtime behavior).

Be prepared to break your problem down into a simpler scenario in case
someone wants to try to debug the code themselves.  Remember, private
web services are inaccessible; you may need to create some dummy data to
emulate problems.

Phrases to avoid:

URGENT (we all have deadlines, no one is intentionally delaying a
response to you)

Please send code (this is very frustrating to read as it implies you
aren't interested in learning anything on your own.  Where code is
appropriate you can expect someone to provide it, but in many cases you
will learn more by doing it on your own with appropriate guidance.  It
may be that you're on a deadline and just want to finish, but many of
those who respond regularly would prefer to teach you to fish so that
you can answer your own questions next time and even help out others).


6. Mini-FAQ



Q: Can I mail Matt, Manish, Abdul, Pete, Gordon, iteration::two, or
anyone else for that matter off-line with my question?

A: Please don't!  If someone is capable of answering your question on-
list please believe that it will be done.  Everyone on the list has
full-time jobs doing their own work and often answer flexcoders on their
own time; mailing them off- list doesn’t endear you to them.  If no one
answers on-list in a reasonable amount of time (24 hours) you can try to
rephrase the question and perhaps include more detail (including a
version of the problem that someone can run without doing any setup on
their own 

Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Mark Wales







There are several ways that Ruby and Flex can work together. However,
so far, none of them offer the same degree of integration provided by
FDS, if that is what you are seeking. 

If you are intent on Rails and with a simple query/response model,
google "Rails Flex 2" and you'll find some of the posted examples. If
you want to dig into it a bit, Chad Fowler's new book on Rails offers a
description of how to make any Rails application talk XML. If that
suits your needs, an example of a real-life XML API can be found on
Basecamp - a product of 37 Signals and one of the foremost examples of
Rails used for commercial purposes. Here's a link to it:

  http://basecamphq.com/api/

I've not tried to integrate with it myself - but sending and receiving
XML from Flex is fairly easy and well documented and should be
relatively easy to use. 

-Mark



Kevin Mulvihill wrote:


  
  
  Hi all,
  
  What do you
all recommend for backend server-side technology to work with Flex? I'm
planning on some work with MySQL and not particularly interested in
..NET.
  
  I know
there's FDS but it's too pricey to own for small budget projects. Has
anyone researched web hosts who offer FDS 2 on their servers and know
what their hosting charges are for such access? Any recommendations
would be great. I'm not seeing much through Google.
  
  I'm thinking
more along the lines of Ruby on Rails just because I've heard it's a
very productive environment to work in. I confess I don't yet know too
much about it though. Any comments on how this technology might work
with Flex?
  
  
  How does
Cairngorm fit into the data access picture? Just a set of best
practices or a full-on framework like Rails?
  
  Any comments on these issues
would be greatly appreciated! Thanks all!
  
  Kevin
  
  



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___







Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread JesterXL





Some more relevant links:

http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1

http://www.liverail.net/articles/2006/05/06/rubyonrails-1-1-and-flex-2-0-pt-2

http://www.jessewarden.com/archives/2006/05/i_got_flash_to.html

http://www.jessewarden.com/archives/2006/05/e4x_doesnt_suck.html


- Original Message - 
From: Mark Wales 

To: flexcoders@yahoogroups.com 
Sent: Sunday, July 16, 2006 3:57 PM
Subject: Re: [flexcoders] Flex and Server-Side Technology 
Recommendations
There are several ways that Ruby and Flex can work 
together. However, so far, none of them offer the same degree of integration 
provided by FDS, if that is what you are seeking. If you are intent on 
Rails and with a simple query/response model, google "Rails Flex 2" and you'll 
find some of the posted examples. If you want to dig into it a bit, Chad 
Fowler's new book on Rails offers a description of how to make any Rails 
application talk XML. If that suits your needs, an example of a real-life XML 
API can be found on Basecamp - a product of 37 Signals and one of the foremost 
examples of Rails used for commercial purposes. Here's a link to 
it:  http://basecamphq.com/api/I've not 
tried to integrate with it myself - but sending and receiving XML from Flex is 
fairly easy and well documented and should be relatively easy to use. 
-MarkKevin Mulvihill wrote: 

  
  
  Hi 
  all,
  
  What do you all recommend 
  for backend server-side technology to work with Flex? I'm planning on some 
  work with MySQL and not particularly interested in 
  ..NET.
  
  I know there's FDS but 
  it's too pricey to own for small budget projects. Has anyone researched web 
  hosts who offer FDS 2 on their servers and know what their hosting charges are 
  for such access? Any recommendations would be great. I'm not seeing much 
  through Google.
  
  I'm thinking more along 
  the lines of Ruby on Rails just because I've heard it's a very productive 
  environment to work in. I confess I don't yet know too much about it though. 
  Any comments on how this technology might work with 
  Flex?
  
  
  How does Cairngorm fit into 
  the data access picture? Just a set of best practices or a full-on framework 
  like Rails?
  
  Any comments on these issues would be 
  greatly appreciated! Thanks all!
  
  Kevin 
__._,_.___





--
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 1.5. / DataGrid / change color of sortArrow

2006-07-16 Thread websectorde



I have figured out the following solution:"MyDataGrid.as" extends the mx.controls.DataGrid and add the "placeSortArrow" methods, so you can catch and color the "sortArrow":MyDataGrid.as:- - - - - - - - - - - - - - -importmx.controls.DataGrid;classMyDataGridextendsDataGrid{varsortArrowColor:Number;functionMyDataGrid(){}privatefunctionplaceSortArrow(Void):Void{super.placeSortArrow();coloredArrow(this.sortArrow);}privatefunctioncoloredArrow(arrow:MovieClip):Void{varmy_color:Color=newColor(arrow);my_color.setRGB(sortArrowColor);}} DataGridExample.mxml:- - - - - - - - - - - - - - - - - - -?xmlversion="1.0"encoding="utf-8"?mx:Applicationxmlns:mx="http://www.macromedia.com/2003/mxml"xmlns="*"mx:Script![CDATA[// fake data only privatefunctionfakeData():Array{varmyData:Array=newArray();for(vari:Number=0;i100;i++){vardata:Object={colum1:'A'+i,colum2:'B'+i};myData.push(data);}returnmyData;}]]/mx:ScriptMyDataGridid="dg"sortArrowColor="#DD00CC"dataProvider="{fakeData()}"//mx:ApplicationBest sectore__www.websector.de--- In flexcoders@yahoogroups.com, "websectorde" [EMAIL PROTECTED] wrote: How can I change the color of DataGrids sortArrow? I tried it over the headerRelease event, but I can't hold the new color value... Has anybody a solution?   ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"   mx:Script  ![CDATA[  private function fakeData() : Array  {  var myData: Array = new Array();  for(var i:Number = 0; i  100; i++)  {  var data: Object = { colum1:'A' + i, colum2:'B'  + i };  myData.push(data);  }  return myData;  }   private function styleSortArrow(event) : Void  {  var arrow: MovieClip = event.target.sortArrow;  var my_color:Color = new Color(arrow);  my_color.setRGB(0xFF);  }   ]]  /mx:Script   mx:DataGrid id="dg" headerColors="[#7C96A1, #43616E]" headerRelease="styleSortArrow(event)"  mx:dataProvider  { fakeData() }  /mx:dataProvider  /mx:DataGrid /mx:Application  Thanks, sectore

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Dumb Newbie Question - Underlined Hyperlinks

2006-07-16 Thread Mike Britton
I hate myself for this, but:

var link:String = bua href='http://www.google.com'
target='_blank'View Listing/au/b;

I can't find a way to change the link color through an external CSS
file though, and it's killing me.  You have to define the class like a
DOM object and there's no flippin way to specify the links in a
TextArea to be blue.





--
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: tryin to extend the Button (flex1.5)

2006-07-16 Thread shemeshkale
this is the way it is structured in my site. the AS file name is
myButton.as and it is inside myComponents folder.



 Er, wait a minute, what the heck is this?
 
 myComponents.myButton
 
 Why not:
 
 class MyComponent?  What is the . for?






 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: tryin to extend the Button (flex1.5)

2006-07-16 Thread JesterXL
Right, but that should be in the package, not the class.  Like:

package myComponents
{
class myButton extends Button
{
}
}

See what I mean?  I guess you don't have to do it that way.  Either way, 
that onPress worked in 1.5, not 2, sorry.  Hrm.

I just remembered, I think you need mouseChildren too.  Try here:

http://www.prismix.com/blog/2005/11/how_do_i_display_a_hand_cursor.cfm

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg29930.html

- Original Message - 
From: shemeshkale [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, July 16, 2006 5:38 PM
Subject: [flexcoders] Re: tryin to extend the Button (flex1.5)


this is the way it is structured in my site. the AS file name is
myButton.as and it is inside myComponents folder.



 Er, wait a minute, what the heck is this?

 myComponents.myButton

 Why not:

 class MyComponent?  What is the . for?







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







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

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

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

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




Re: [Junk E-Mail - MED] Re: [Junk E-Mail - MED] [flexcoders] Yahoo Groups Problems

2006-07-16 Thread Clint Modien



That is of course unless you own the domain groupvii.net and the mail server and not using your isp's email. After doing a whois on groupvii.net
 I'm assuming that you do own that domain.An example of the filtering that Shannon is talking about would be if your using dial-up or dsl from ATT and you have an ATT email... then and only then would ATT filter your mail. If you have ATT as your ISP but are not using 
groupvii.net for email... ATT will not filter your groupvii.net email.Although I havn't read further into ATT's assocation with the NSA... so they might be? *snickers*
On 7/16/06, Shannon Hicks [EMAIL PROTECTED] wrote:













  






Mail is filtered by (usually) a complicated set of 
algorithms... The typical spam filter rates spam (based on many things including 
sender, DNS information, content of the message, amount of HTML, etc), and then 
performs an action based on that rating. Some spam filters allow high-rated 
messages to be deleted before it even is saved on the server, for your mail 
client to download.

Just make sure that 
flexcoders@yahoogroups.com is on 
your whitelist, and perhaps ask your ISP to do the same.

Shan


From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of 
jwc_wensanSent: Sunday, July 16, 2006 11:31 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: [Junk 
E-Mail - MED] [flexcoders] Yahoo Groups Problems


Shannon:I have my emails from Flexcoders go straight to a folder that 
I set up.Regarding my ISP. Would they not always filter or just 
sometimes?In other words, would I either not get any or I would get 
all?Maybe this is another reason to move off of 
Yahoo.Thanks,Jack--- In flexcoders@yahoogroups.com
, 
Shannon Hicks [EMAIL PROTECTED] wrote: Yahoo is relatively 
unhelpful with this. It's a known problem across all groups 
sometimes emails just don't go out.  A more often occurrence is 
that the emails might have been filtered as Junk Mail. Check your 
junk mail folder, and also check to see if your ISP filters mail 
without your knowledge.  Shan  _  
 From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of jwc_wensan Sent: Sunday, July 16, 2006 10:42 
AM To: flexcoders@yahoogroups.com 
Subject: [Junk E-Mail - MED] [flexcoders] Yahoo Groups Problems  
  To All and or Moderator(s)-:  As of this 
post there have been 16 posts with a date stamp of July  16 that I can 
see on the Yahoo web site.  However, I have my profile set to 
send to me email address and I  have only received ONE today. 
 This happens at least once or twice a month. Why? Do any of the 
 moderators have access to the Yahoo people?  I check my 
Yahoo account/profile every time, but do not find any  errors or listed 
problems.  I have seen others mention this problem. Anyone else 
still having  this problem?  What options do we 
have?  Thanks,  Jack   
-- No virus found in this incoming 
message. Checked by AVG Free Edition. Version: 7.1.394 / Virus 
Database: 268.10.1/389 - Release Date: 7/14/2006   
 --  No virus found in this outgoing message. Checked by 
AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - 
Release Date: 7/14/2006
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 
7/14/2006


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

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: problem embedding an icon in a popupmenu

2006-07-16 Thread hank williams



lol.Just five minutes ago I switched to an array and got it working.It looks like you cant create a field of type class in an xml object, or at least I wasnt able to. It seems to want to interpret it as text. When putting braces around it it doesnt work either.
But you are right. It was the wrong strategy anyway because the icon is left justified, so it looks wierd. I am just (today) playing with itemRenderers so I will give that a shot. In fact this popup is being used inside an itemrenderer that is inside a datagrid! So it looks like I will just have to do the next level :)
Thanks for taking a look. It was driving me crazy.HankOn 7/16/06, Tim Hoff [EMAIL PROTECTED] wrote:



Hi Hank,
I couldn't get this to work with xml. So, I changed the dataProvider to an array and used an iconFunction. It works, but if you select an icon, when the menu is displayed a second time the icon is also used as the selected icon. For what you are trying to do, I would recommend that you use an itemRenderer for your menu items. That way you can still use xml and control the positioning of the icon image. I know that you have asked this question a couple of time, so I thought I would give it a try. I can see why you are having problems with this.

-TH
?xml version=1.0 encoding=utf-8?mx:Canvas xmlns:mx=
http://www.adobe.com/2006/mxml creationComplete=initList(); mx:Script ![CDATA[  import mx.controls.Menu
; import mx.events.MenuEvent; import mx.controls.Alert;  import flash.geom.Point;
[Embed(source='../assets/assets.swf', symbol='thumbsdown')] public var thumbsup:Class; [Embed(source='../assets/assets.swf', symbol='thumbsup')]public var thumbsdown:Class; 
// Define data provider. private var myDP: Array; private function initList():void { myDP = [ {label:'No Vote', icon:''}, {label:'', icon:'thumbsup'},
 {label:'', icon:'thumbsdown'}];  }  private var point1:Point = new Point();  private var myMenu:Menu;  // Create and display the Menu control.
 private function showMenu():void {  myMenu=Menu.createMenu(parent, myDP, false);  myMenu.labelField=label; myMenu.iconFunction=myIconfunction;
 myMenu.addEventListener(itemClick, menuHandler);   // Calculate position of Menu in Application's coordinates.  point1.x=linkButton.x
; point1.y=linkButton.y;  point1= linkButton.localToGlobal(point1); myMenu.show(point1.x, point1.y + linkButton.height + 1); }  // Event handler for the Menu control's change event. 
 private function menuHandler(event:MenuEvent):void { Alert.show(Label:  + event.item.label, Clicked menu item); }   // Determine icon based on icon field. 
 private function myIconfunction(item:Object):Class { if (item.icon == thumbsup) { return thumbsup; }  if (item.icon == thumbsdown) {
 return thumbsdown; }  return null;  } ]]  /mx:Script
 mx:LinkButton id=linkButton width=100  icon=@Embed(source='../assets/assets.swf', symbol='thumbsup') click=showMenu();/
 /mx:Canvas
--- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote:
 I am trying to get a menu to display some icons, and I cant get them to show up. The code I have written is based on the sample code for creating a popup menu and the sample code for creating a list where they show you how to
 include an icon. But the two examples are different enough that I may not be merging them together right.  The other thing that is odd is, if you look at the code you will se a line that looks like this:
 myMenu.labelField=@label  I dont know why I need the @ here at all. But without it the label doesnt show up whereas with it it does. But for the following line myMenu.labelField=
@icon  The icons dont show up.  I know that I am embedding the icon properly because the code also embeds one of the same icons inside the button.  Any help appreciated.
  Hank  ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=
http://www.adobe.com/2006/mxml   mx:LinkButton id=linkButton width=100 icon=@Embed(source='../assets/assets.swf', symbol='thumbsup') click=showMenu();
  mx:Script ![CDATA[  import mx.controls.Menu; import mx.events.MenuEvent; import mx.controls.Alert; import flash.geom.Point;  [Embed(source='../assets/assets.swf', symbol='thumbsup')]
 public var thumbsup:Class; [Embed(source='../assets/assets.swf', symbol='thumbsdown')] public var thumbsdown:Class;  private var point1:Point = new Point(); private var myMenu:Menu;
  // Create and display the Menu control. private function showMenu():void { myMenu= Menu.createMenu(parent, myMenuData, false); myMenu.labelField=@label myMenu.iconField=
@icon myMenu.addEventListener(itemClick, menuHandler);  // Calculate position of Menu in Application's coordinates. point1.x=linkButton.x; point1.y=linkButton.y
; point1=linkButton.localToGlobal(point1);  myMenu.show(point1.x, point1.y + linkButton.height + 1); }  // Event handler for the Menu control's change event. private function menuHandler(event:MenuEvent):void {
 Alert.show(Label:  + event.item.label, Clicked menu item); } ]] /mx:Script /mx:LinkButton mx:XML id=myMenuData
 root 

[flexcoders] Webservice resultFormat object?

2006-07-16 Thread wayne_badu_johnson
Hi

Just got a couple of questions on how Flex deserializes results in 
resultFormat 'object' from a ws call. 

1. What happens to result attributes, which would be returned in 
xml,e4x formats?

2. Is typing info returned in some way? (String, Int, DateTime)

Thanks
Wayne






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Re: problem embedding an icon in a popupmenu

2006-07-16 Thread hank williams



Yes... but how do you assign an itemRenderer to a menu.You cant use mxml which takes care of the typing niceties.the problem is that you cant do this:  myMenu= Menu.createMenu(parent, menuData, false);
  myMenu.itemRenderer=ThumbPopUpRenderer;Where ThumbPopUpRenderer is an MXML component. It gives you a type error because itemRenderer is of type IFactory and ThumbPopupRenderer is not.
But if you do this:  myMenu= Menu.createMenu(parent, menuData, false);  myMenu.itemRenderer=ThumbPopUpRenderer as IFactory;It runs, but apparently an MXML itemRenderer is not of the right type, so it throws a runtime error.
Any ideas?HankOn 7/16/06, hank williams [EMAIL PROTECTED] wrote:
lol.Just five minutes ago I switched to an array and got it working.It looks like you cant create a field of type class in an xml object, or at least I wasnt able to. It seems to want to interpret it as text. When putting braces around it it doesnt work either.
But you are right. It was the wrong strategy anyway because the icon is left justified, so it looks wierd. I am just (today) playing with itemRenderers so I will give that a shot. In fact this popup is being used inside an itemrenderer that is inside a datagrid! So it looks like I will just have to do the next level :)
Thanks for taking a look. It was driving me crazy.HankOn 7/16/06, 
Tim Hoff [EMAIL PROTECTED] wrote:



Hi Hank,
I couldn't get this to work with xml. So, I changed the dataProvider to an array and used an iconFunction. It works, but if you select an icon, when the menu is displayed a second time the icon is also used as the selected icon. For what you are trying to do, I would recommend that you use an itemRenderer for your menu items. That way you can still use xml and control the positioning of the icon image. I know that you have asked this question a couple of time, so I thought I would give it a try. I can see why you are having problems with this.

-TH
?xml version=1.0 encoding=utf-8?mx:Canvas xmlns:mx=

http://www.adobe.com/2006/mxml creationComplete=initList(); mx:Script ![CDATA[  import mx.controls.Menu

; import mx.events.MenuEvent; import mx.controls.Alert;  import flash.geom.Point;
[Embed(source='../assets/assets.swf', symbol='thumbsdown')] public var thumbsup:Class; [Embed(source='../assets/assets.swf', symbol='thumbsup')]public var thumbsdown:Class; 
// Define data provider. private var myDP: Array; private function initList():void { myDP = [ {label:'No Vote', icon:''}, {label:'', icon:'thumbsup'},
 {label:'', icon:'thumbsdown'}];  }  private var point1:Point = new Point();  private var myMenu:Menu;  // Create and display the Menu control.
 private function showMenu():void {  myMenu=Menu.createMenu(parent, myDP, false);  myMenu.labelField=label; myMenu.iconFunction=myIconfunction;

 myMenu.addEventListener(itemClick, menuHandler);   // Calculate position of Menu in Application's coordinates.  point1.x=linkButton.x

; point1.y=linkButton.y;  point1= linkButton.localToGlobal(point1); myMenu.show(point1.x, point1.y + linkButton.height + 1); }  // Event handler for the Menu control's change event. 
 private function menuHandler(event:MenuEvent):void { Alert.show(Label:  + event.item.label, Clicked menu item); }   // Determine icon based on icon field. 
 private function myIconfunction(item:Object):Class { if (item.icon == thumbsup) { return thumbsup; }  if (item.icon == thumbsdown) {
 return thumbsdown; }  return null;  } ]]  /mx:Script
 mx:LinkButton id=linkButton width=100  icon=@Embed(source='../assets/assets.swf', symbol='thumbsup') click=showMenu();/
 /mx:Canvas
--- In flexcoders@yahoogroups.com
, hank williams [EMAIL PROTECTED] wrote:
 I am trying to get a menu to display some icons, and I cant get them to show up. The code I have written is based on the sample code for creating a popup menu and the sample code for creating a list where they show you how to
 include an icon. But the two examples are different enough that I may not be merging them together right.  The other thing that is odd is, if you look at the code you will se a line that looks like this:
 myMenu.labelField=@label  I dont know why I need the @ here at all. But without it the label doesnt show up whereas with it it does. But for the following line myMenu.labelField=

@icon  The icons dont show up.  I know that I am embedding the icon properly because the code also embeds one of the same icons inside the button.  Any help appreciated.
  Hank  ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=

http://www.adobe.com/2006/mxml   mx:LinkButton id=linkButton width=100 icon=@Embed(source='../assets/assets.swf', symbol='thumbsup') click=showMenu();
  mx:Script ![CDATA[  import mx.controls.Menu; import mx.events.MenuEvent; import mx.controls.Alert; import flash.geom.Point;  [Embed(source='../assets/assets.swf', symbol='thumbsup')]
 public var thumbsup:Class; [Embed(source='../assets/assets.swf', symbol='thumbsdown')] public var thumbsdown:Class;  private var point1:Point = new Point(); 

RE: [Junk E-Mail - MED] Re: [Junk E-Mail - MED] [flexcoders] Yahoo Groups Problems

2006-07-16 Thread Jack W. Caldwell @ Zingit Technologies, Inc.





Clint:

I do own the domain and it is at Network Solutions. 
This problem occurs
about twice a month that I can tell maybe more 
often.

I do not check at www.yahoo.com to verify, so it may be happening 
more
often.

I have since changed my Yahoo Groups emails to go to 
another email
address. Also a domain I own. 
It is at Godaddy.

I guess we will see.

Thanks,

Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Sunday, July 16, 2006 6:00 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [Junk E-Mail - MED] Re: [Junk 
E-Mail - MED] [flexcoders] Yahoo Groups Problems


That is of course unless you own the domain "groupvii.net" and the mail server and not using 
your isp's email. After doing a whois on groupvii.net I'm assuming that you do own that 
domain.An example of the filtering that Shannon is talking about would 
be if your using dial-up or dsl from ATT and you have an ATT email... 
then and only then would ATT filter your mail. If you have ATT 
as your ISP but are not using groupvii.net for 
email... ATT will not filter your groupvii.net email.Although I havn't read 
further into ATT's assocation with the NSA... so they might be? *snickers* 

On 7/16/06, Shannon 
Hicks [EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  
  Mail is 
  filtered by (usually) a complicated set of algorithms... The typical spam 
  filter rates spam (based on many things including sender, DNS information, 
  content of the message, amount of HTML, etc), and then performs an action 
  based on that rating. Some spam filters allow high-rated messages to be 
  deleted before it even is saved on the server, for your mail client to 
  download.
  
  Just make 
  sure that flexcoders@yahoogroups.com is on your whitelist, and perhaps 
  ask your ISP to do the same.
  
  Shan
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  jwc_wensan
  Sent: Sunday, July 16, 2006 11:31 
  AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - 
  MED] Re: [Junk E-Mail - MED] [flexcoders] Yahoo Groups 
  Problems
  
  
  
  Shannon:I have my emails from Flexcoders go straight to a folder 
  that I set up.Regarding my ISP. Would they not always filter or 
  just sometimes?In other words, would I either not get any or I would 
  get all?Maybe this is another reason to move off of 
  Yahoo.Thanks,Jack--- In flexcoders@yahoogroups.com , "Shannon Hicks" 
  [EMAIL PROTECTED] wrote: Yahoo is relatively unhelpful with 
  this. It's a known problem across all groups sometimes emails 
  just don't go out.  A more often occurrence is that the emails 
  might have been filtered as Junk Mail. Check your junk mail 
  folder, and also check to see if your ISP filters mail without 
  your knowledge.  Shan  _   
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  jwc_wensan Sent: Sunday, July 16, 2006 10:42 AM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - 
  MED] [flexcoders] Yahoo Groups ProblemsTo 
  All and or Moderator(s)-:  As of this post there have been 16 
  posts with a date stamp of July  16 that I can see on the Yahoo web 
  site.  However, I have my profile set to send to me email 
  address and I  have only received ONE today.  This 
  happens at least once or twice a month. Why? Do any of the  moderators 
  have access to the Yahoo people?  I check my Yahoo 
  account/profile every time, but do not find any  errors or listed 
  problems.  I have seen others mention this problem. Anyone 
  else still having  this problem?  What options do we 
  have?  Thanks,  Jack   
  -- No virus found in this incoming 
  message. Checked by AVG Free Edition. Version: 7.1.394 / Virus 
  Database: 268.10.1/389 - Release Date: 7/14/2006   
   --  No virus found in this outgoing message. Checked 
  by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - 
  Release Date: 7/14/2006
  --No virus found in this incoming message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.1/389 - Release 
  Date: 7/14/2006
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.1/389 - Release 
  Date: 7/14/2006
  
  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.

[flexcoders] Re: problem embedding an icon in a popupmenu

2006-07-16 Thread Tim Hoff
If you want to use an mxml itemRenderer (MyItemRenderer.mxml):

myMenu.itemRenderer=new ClassFactory(MyItemRenderer);

-TH

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

 Yes... but how do you assign an itemRenderer to a menu.
 
 You cant use mxml which takes care of the typing niceties.
 
 the problem is that you cant do this:
 
 myMenu= Menu.createMenu(parent, menuData, 
false);
 myMenu.itemRenderer=ThumbPopUpRenderer;
 
 Where ThumbPopUpRenderer is an MXML component. It gives you a type 
error
 because itemRenderer is of type IFactory and ThumbPopupRenderer is 
not.
 
 But if you do this:
 
 myMenu= Menu.createMenu(parent, menuData, 
false);
 myMenu.itemRenderer=ThumbPopUpRenderer as 
IFactory;
 
 It runs, but apparently an MXML itemRenderer is not of the right 
type, so it
 throws a runtime error.
 
 Any ideas?
 
 Hank
 
 On 7/16/06, hank williams [EMAIL PROTECTED] wrote:
 
  lol.
 
  Just five minutes ago I switched to an array and got it working.
 
  It looks like you cant create a field of type class in an xml 
object, or
  at least I wasnt able to. It seems to want to interpret it as 
text. When
  putting braces around it it doesnt work either.
 
  But you are right. It was the wrong strategy anyway because the 
icon is
  left justified, so it looks wierd. I am just (today) playing with
  itemRenderers so I will give that a shot. In fact this popup is 
being used
  inside an itemrenderer that is inside a datagrid! So it looks 
like I will
  just have to do the next level :)
 
  Thanks for taking a look. It was driving me crazy.
 
  Hank
 
 
  On 7/16/06, Tim Hoff [EMAIL PROTECTED] wrote:
  
   Hi Hank,
  
   I couldn't get this to work with xml.  So, I changed the 
dataProvider to
   an array and used an iconFunction.  It works, but if you 
select an icon,
   when the menu is displayed a second time the icon is also used 
as the
   selected icon.  For what you are trying to do, I would 
recommend that you
   use an itemRenderer for your menu items.  That way you can 
still use xml and
   control the positioning of the icon image.  I know that you 
have asked this
   question a couple of time, so I thought I would give it a 
try.  I can see
   why you are having problems with this.
  
   -TH
  
   ?xml version=1.0 encoding=utf-8?
   mx:Canvas xmlns:mx= http://www.adobe.com/2006/mxml;
creationComplete=initList();
  
  
mx:Script
   ![CDATA[
  
   import mx.controls.Menu ;
   import mx.events.MenuEvent;
   import mx.controls.Alert;
   import flash.geom.Point;
  
 [Embed(source='../assets/assets.swf', symbol='thumbsdown')]
 public var thumbsup:Class;
 [Embed(source='../assets/assets.swf', symbol='thumbsup')]
 public var thumbsdown:Class;
  
 // Define data provider.
   private var myDP: Array;
   private function initList():void {
   myDP = [
   {label:'No Vote', icon:''},
   {label:'', icon:'thumbsup'},
   {label:'', icon:'thumbsdown'}];
  
   }
  
   private var point1:Point = new Point();
   private var myMenu:Menu;
  
   // Create and display the Menu control.
   private function showMenu():void {
myMenu=Menu.createMenu(parent, myDP, false);
myMenu.labelField=label;
myMenu.iconFunction=myIconfunction;
  
myMenu.addEventListener(itemClick, menuHandler);
  
   // Calculate position of Menu in Application's 
coordinates.
   point1.x=linkButton.x ;
   point1.y=linkButton.y;
   point1= linkButton.localToGlobal(point1);
   myMenu.show(point1.x, point1.y + linkButton.height 
+ 1);
   }
  
   // Event handler for the Menu control's change event.
   private function menuHandler(event:MenuEvent):void  {
   Alert.show(Label:  + event.item.label, Clicked 
menu
   item);
   }
  
   // Determine icon based on icon field.
private function myIconfunction(item:Object):Class
{
   if (item.icon == thumbsup) {
   return thumbsup;
   }
   if (item.icon == thumbsdown) {
   return thumbsdown;
   }
   return null;
   }
  
]]
   /mx:Script
  
   mx:LinkButton id=linkButton width=100
   icon=@Embed(source='../assets/assets.swf', 
symbol='thumbsup')
   click=showMenu();/
  
   /mx:Canvas
  
  
   --- In flexcoders@yahoogroups.com, hank williams hank777@ 
wrote:
   
I am trying to get a menu to display some icons, and I cant 
get them
   to show
up. The code I have written is based on the sample code for 
creating a
   popup
menu and the sample code for creating a list where they show 
you how
   to
include an icon. But 

Re: [flexcoders] RPC Vs. FDS and FDS Express

2006-07-16 Thread Nick Collins



What I ended up doing is just anteing up and getting a dedicated server. Enterhost has a plan that includes a license of Coldfusion for like $200 a month. For me, it's been well worth it, being able to setup my own staging area, public area, being able to update software as I need, not as the host dictates. I was able to install FDS express with no issues, as well as Flash Media Server 2, and update coldfusion to 
7.0.2 for flex integration. It just makes my life so much easier, I can never go back to a shared hosting solution.On 7/16/06, David 
[EMAIL PROTECTED] wrote:












  



Hi all,
I'm extremely new to the Flex world, and have been pounding away
through tutorials for the last week. While i've found exceptional
tutorials on functionality, and getting started guides on Flex
builder, and even details on the framework works, i've yet to see a
good tutorial on how to install and what exactly you need installed. 

A while back i did a few admin sites with flash remoting i had learned
from ASFusion's Real Estate App (AWESOME SITE BTW). I have another
project coming up that deals with a lot of CRUD, and a database of
about 30 tables or so. So after seeing flex i was in awe, and of
course got excited of all the possiblities. BUT! As I am just a
developer, an individual contracter with not so big clients, i find it
impossible to afford 20k on FDS for on a server. I've searched all
over the web to find a single hosting environment that has FDS as an
additional option with Cold Fusion (as if good CF Hosting plans aren't
already hard enough to come by), but i've yet ot find any. I've
noticed that Adobe has a FDS Express? I've also noticed that it can be
installed and used commercially on a Single CPU? Does that include
Hosted Environments? 

After reading through a few messages on this site i noticed this
comment in one of the posts: 'If your server-side data requirements
are intense, you might want FDS, Flex Data Services.  For normal data
access, the RPC functionality is sufficient, and that is included with
the framework (free)'. But after looking into LiveDocs i get:
To use RemoteObject components, Flex Data Services or Macromedia
ColdFusion MX 7.0.2 with the Remoting Update is required. But then it
goes on to say that in order to use Remoting, FDS must be installed
and you have to set up Destinations. So which is it, and how do you do
it? If i just have basic CRUD Functionality, can i get away without
FDS on my hosted environment, and use the SDK to interact with a
backend Database via CF? 

If anyone knows of any good tutorial to get you installed correctly
locally, and then shows you how to replicate the same functionality on
a server, i'd love to see it.
Thanks again for listening, and i apologize in advance if i make no
sense, as i've been reading all night about this! :)
Thanks agian,
David


  















__._,_.___





--
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] switch (expression)? I think not

2006-07-16 Thread ben.clinkinbeard
Posting this mostly for reference in case anyone else spends 30
minutes uttering WTF over and over... Although the documentation for
the switch statement purports to accept any expression, that is most
certainly not the case. See below.

// will always fall through to the default case.
switch ([EMAIL PROTECTED])

// will work as expected
var myVar:MyType = [EMAIL PROTECTED];
switch (myVar)

Is there a valid reason for this behavior?

Ben






 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Jeremy Lu



If this is all about ruby, there are various open source Ruby projects going now, most active one is :http://blog.themidnightcoders.com/2006/06/weborb-and-flex-remoting-for-ruby-on.html
and this one had been dead for more then two year but there are workable code in the CVS:http://rubyforge.org/projects/amf4r/Jeremy.
On 7/17/06, JesterXL [EMAIL PROTECTED] wrote:













  






Some more relevant links:


http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1


http://www.liverail.net/articles/2006/05/06/rubyonrails-1-1-and-flex-2-0-pt-2


http://www.jessewarden.com/archives/2006/05/i_got_flash_to.html


http://www.jessewarden.com/archives/2006/05/e4x_doesnt_suck.html


- Original Message - 
From: 
Mark Wales 

To: flexcoders@yahoogroups.com
 
Sent: Sunday, July 16, 2006 3:57 PM
Subject: Re: [flexcoders] Flex and Server-Side Technology 
Recommendations
There are several ways that Ruby and Flex can work 
together. However, so far, none of them offer the same degree of integration 
provided by FDS, if that is what you are seeking. If you are intent on 
Rails and with a simple query/response model, google Rails Flex 2 and you'll 
find some of the posted examples. If you want to dig into it a bit, Chad 
Fowler's new book on Rails offers a description of how to make any Rails 
application talk XML. If that suits your needs, an example of a real-life XML 
API can be found on Basecamp - a product of 37 Signals and one of the foremost 
examples of Rails used for commercial purposes. Here's a link to 
it:  http://basecamphq.com/api/I've not 
tried to integrate with it myself - but sending and receiving XML from Flex is 
fairly easy and well documented and should be relatively easy to use. 
-MarkKevin Mulvihill wrote: 

  
  
  Hi 
  all,
  
  What do you all recommend 
  for backend server-side technology to work with Flex? I'm planning on some 
  work with MySQL and not particularly interested in 
  ..NET.
  
  I know there's FDS but 
  it's too pricey to own for small budget projects. Has anyone researched web 
  hosts who offer FDS 2 on their servers and know what their hosting charges are 
  for such access? Any recommendations would be great. I'm not seeing much 
  through Google.
  
  I'm thinking more along 
  the lines of Ruby on Rails just because I've heard it's a very productive 
  environment to work in. I confess I don't yet know too much about it though. 
  Any comments on how this technology might work with 
  Flex?
  
  
  How does Cairngorm fit into 
  the data access picture? Just a set of best practices or a full-on framework 
  like Rails?
  
  Any comments on these issues would be 
  greatly appreciated! Thanks all!
  
  Kevin 

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Anatole Tartakovsky



If it is not all about Ruby, but getting the same productivity with FDS and remoting - (here comes shameless self-promoting plug) - check out Flex Exchange for DaoFlex - also open source and developed primarily around Flex remoting and FDS and SQL


http://www.adobe.com/go/flex_exchange
 
Regards,
Anatole


On 7/17/06, Jeremy Lu [EMAIL PROTECTED] wrote:






If this is all about ruby, there are various open source Ruby projects going now, most active one is :
http://blog.themidnightcoders.com/2006/06/weborb-and-flex-remoting-for-ruby-on.html and this one had been dead for more then two year but there are workable code in the CVS:
http://rubyforge.org/projects/amf4r/Jeremy.

On 7/17/06, JesterXL 
[EMAIL PROTECTED] wrote: 







Some more relevant links:


http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1


http://www.liverail.net/articles/2006/05/06/rubyonrails-1-1-and-flex-2-0-pt-2


http://www.jessewarden.com/archives/2006/05/i_got_flash_to.html


http://www.jessewarden.com/archives/2006/05/e4x_doesnt_suck.html



- Original Message - 
From: Mark Wales
 
To: 
flexcoders@yahoogroups.com 
Sent: Sunday, July 16, 2006 3:57 PM
Subject: Re: [flexcoders] Flex and Server-Side Technology Recommendations
There are several ways that Ruby and Flex can work together. However, so far, none of them offer the same degree of integration provided by FDS, if that is what you are seeking. If you are intent on Rails and with a simple query/response model, google Rails Flex 2 and you'll find some of the posted examples. If you want to dig into it a bit, Chad Fowler's new book on Rails offers a description of how to make any Rails application talk XML. If that suits your needs, an example of a real-life XML API can be found on Basecamp - a product of 37 Signals and one of the foremost examples of Rails used for commercial purposes. Here's a link to it:
  http://basecamphq.com/api/
I've not tried to integrate with it myself - but sending and receiving XML from Flex is fairly easy and well documented and should be relatively easy to use. -MarkKevin Mulvihill wrote: 



Hi all,

What do you all recommend for backend server-side technology to work with Flex? I'm planning on some work with MySQL and not particularly interested in ..NET.

I know there's FDS but it's too pricey to own for small budget projects. Has anyone researched web hosts who offer FDS 2 on their servers and know what their hosting charges are for such access? Any recommendations would be great. I'm not seeing much through Google.


I'm thinking more along the lines of Ruby on Rails just because I've heard it's a very productive environment to work in. I confess I don't yet know too much about it though. Any comments on how this technology might work with Flex?



How does Cairngorm fit into the data access picture? Just a set of best practices or a full-on framework like Rails?

Any comments on these issues would be greatly appreciated! Thanks all!

Kevin



 

__._,_.___





--
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: problem embedding an icon in a popupmenu

2006-07-16 Thread Tim Hoff
Hank,

I have an AS solution for you, but it's too much code to post.  If 
you want the code, send me an email ([EMAIL PROTECTED]) and I'll send 
you the code.

-TH

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

 If you want to use an mxml itemRenderer (MyItemRenderer.mxml):
 
 myMenu.itemRenderer=new ClassFactory(MyItemRenderer);
 
 -TH
 
 --- In flexcoders@yahoogroups.com, hank williams hank777@ 
 wrote:
 
  Yes... but how do you assign an itemRenderer to a menu.
  
  You cant use mxml which takes care of the typing niceties.
  
  the problem is that you cant do this:
  
  myMenu= Menu.createMenu(parent, menuData, 
 false);
  myMenu.itemRenderer=ThumbPopUpRenderer;
  
  Where ThumbPopUpRenderer is an MXML component. It gives you a 
type 
 error
  because itemRenderer is of type IFactory and ThumbPopupRenderer 
is 
 not.
  
  But if you do this:
  
  myMenu= Menu.createMenu(parent, menuData, 
 false);
  myMenu.itemRenderer=ThumbPopUpRenderer as 
 IFactory;
  
  It runs, but apparently an MXML itemRenderer is not of the right 
 type, so it
  throws a runtime error.
  
  Any ideas?
  
  Hank
  
  On 7/16/06, hank williams hank777@ wrote:
  
   lol.
  
   Just five minutes ago I switched to an array and got it 
working.
  
   It looks like you cant create a field of type class in an xml 
 object, or
   at least I wasnt able to. It seems to want to interpret it as 
 text. When
   putting braces around it it doesnt work either.
  
   But you are right. It was the wrong strategy anyway because 
the 
 icon is
   left justified, so it looks wierd. I am just (today) playing 
with
   itemRenderers so I will give that a shot. In fact this popup 
is 
 being used
   inside an itemrenderer that is inside a datagrid! So it looks 
 like I will
   just have to do the next level :)
  
   Thanks for taking a look. It was driving me crazy.
  
   Hank
  
  
   On 7/16/06, Tim Hoff TimHoff@ wrote:
   
Hi Hank,
   
I couldn't get this to work with xml.  So, I changed the 
 dataProvider to
an array and used an iconFunction.  It works, but if you 
 select an icon,
when the menu is displayed a second time the icon is also 
used 
 as the
selected icon.  For what you are trying to do, I would 
 recommend that you
use an itemRenderer for your menu items.  That way you can 
 still use xml and
control the positioning of the icon image.  I know that you 
 have asked this
question a couple of time, so I thought I would give it a 
 try.  I can see
why you are having problems with this.
   
-TH
   
?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx= http://www.adobe.com/2006/mxml;
 creationComplete=initList();
   
   
 mx:Script
![CDATA[
   
import mx.controls.Menu ;
import mx.events.MenuEvent;
import mx.controls.Alert;
import flash.geom.Point;
   
  [Embed(source='../assets/assets.swf', symbol='thumbsdown')]
  public var thumbsup:Class;
  [Embed(source='../assets/assets.swf', symbol='thumbsup')]
  public var thumbsdown:Class;
   
  // Define data provider.
private var myDP: Array;
private function initList():void {
myDP = [
{label:'No Vote', icon:''},
{label:'', icon:'thumbsup'},
{label:'', icon:'thumbsdown'}];
   
}
   
private var point1:Point = new Point();
private var myMenu:Menu;
   
// Create and display the Menu control.
private function showMenu():void {
 myMenu=Menu.createMenu(parent, myDP, false);
 myMenu.labelField=label;
 myMenu.iconFunction=myIconfunction;
   
 myMenu.addEventListener(itemClick, menuHandler);
   
// Calculate position of Menu in Application's 
 coordinates.
point1.x=linkButton.x ;
point1.y=linkButton.y;
point1= linkButton.localToGlobal(point1);
myMenu.show(point1.x, point1.y + 
linkButton.height 
 + 1);
}
   
// Event handler for the Menu control's change event.
private function menuHandler(event:MenuEvent):void  {
Alert.show(Label:  + 
event.item.label, Clicked 
 menu
item);
}
   
// Determine icon based on icon field.
 private function myIconfunction(item:Object):Class
 {
if (item.icon == thumbsup) {
return thumbsup;
}
if (item.icon == thumbsdown) {
return thumbsdown;
}
return null;
}
   
 ]]
/mx:Script
   
mx:LinkButton id=linkButton width=100
icon=@Embed(source='../assets/assets.swf', 
 symbol='thumbsup')

RE: [flexcoders] switch (expression)? I think not

2006-07-16 Thread Jason Hawryluk
not sure of the reason but could be a type casting problem.

try

switch (MyType([EMAIL PROTECTED]))

jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de ben.clinkinbeard
Envoyé : lundi 17 juillet 2006 05:17
À : flexcoders@yahoogroups.com
Objet : [flexcoders] switch (expression)? I think not


Posting this mostly for reference in case anyone else spends 30
minutes uttering WTF over and over... Although the documentation for
the switch statement purports to accept any expression, that is most
certainly not the case. See below.

// will always fall through to the default case.
switch ([EMAIL PROTECTED])

// will work as expected
var myVar:MyType = [EMAIL PROTECTED];
switch (myVar)

Is there a valid reason for this behavior?

Ben







 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/