[flexcoders] Re: Drag drop within a tree control itself

2006-03-04 Thread Robs
Thanks a lot Tracy...ur code did the job :)

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

 There is a working example of drag drop within the same tree in the
 archives.  Search on the subject Drag and Drop in Tree Componet 
(yes,
 sp)
 
 Tracy
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Robs
 Sent: Thursday, March 02, 2006 4:03 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Drag  drop within a tree control itself
 
 Hi people,
  I've a tree control which is the drag source  drop target itself 
to 
 enable shuffling of nodes within the tree. As such, the normal drag 
 
 drop codes work fine but there is 1 problem in the dragComplete 
 event. I've used the following function within dragComplete event:
 
 function doDragComplete(event) 
   {
  var dragItems = event.dragSource.dataForFormat
 (source).selectedItems;
//var dragItems = event.dragSource.dataForFormat
 (source).selectedNode;
//mx.controls.Alert.show(event.dragSource, Drag 
 source);
   mx.controls.Alert.show(dragItems[0].getProperty
 (label), Drag Complete);
 /* var counter = dragItems.length;
  for (var i=0;icounter;i++)
  {
 var item = dragItems[i];
 item.removeTreeNode();
  }*/
   }
 
 As u can see above the alert popup shud show the selected node, but 
 its blank. The main purpose is to relocate the dragged node from 
the 
 old to the new location.
 
 Kindly help...
 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







--
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: a GridTree component for flex 2

2006-03-04 Thread Dima Ulich
I was thinking about something like that for my
projects, long to see the component released.
A good job,
Street

--- jeremy lu [EMAIL PROTECTED] wrote:

 the component will be released in swc format afer I
 finished the project and
 got time to refurbish the code, about a month later,
 will post again then.
 
 jeremy.
 
 On 3/4/06, thunderstumpgesatwork
 [EMAIL PROTECTED] wrote:
 
  Looks good! I've been thinking I'm going to need
 something like this too.
 
  Any plans to release this as a component at least?
 If so when?
 
  Thanks,
  Thunder
 
  --- In flexcoders@yahoogroups.com, dc
 [EMAIL PROTECTED] wrote:
  
   hi list,
  
   just made a GridTree component for next project,
 please take a look at
  
   -preview video
  

http://ria.richtechmedia.com/upload/GridTreeForFlex2/
  
   -blog entry (upper half written in English)
   http://ria.richtechmedia.com/?p=330
  
   any suggestions or ideas would be appreciated.
  
   btw, thanks to the flex team for making
 AS3/datagrid/cell renderer so
   fast that this could be achieved.
  
   jeremy lu.
  
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 


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


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

* 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] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-04 Thread Boon Chew



I am not using Flex, I am mostly curious what I would have to do to my existing Flash actionscript code when AS3 is out for Flash.Gordon Smith [EMAIL PROTECTED] wrote:Whoa not only is there no eval(),  there's no _target, no _level0, and no _global! Plus, you should almost always  use Sprite instead of MovieClip.So what are you really trying to do? Are  you using Flex or just pure AS3? Where are you getting a string like "sprite1.sprite2.sprite3"  from? Why do you have to transform it back into a Sprite reference? Could you have  just kept the reference instead of the string?- GordonFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boon Chew  Sent: Friday, March 03, 2006 3:41  PM  To: flexcoders@yahoogroups.com  Subject: [flexcoders] eval gone in  AS3, how to get reference to movieclip via target name?Hi all,With the _eval being gone in AS3, does anyone know how to get to the reference  of a movieclip (via the target name string) without using _eval (e.g.  "_level0.mc1.mc2.mc3") ? I know we can instantiate an object  from a class name string via the _global namespace but not positive about mc's.Thanks.- boonYahoo! Mail  Bring photos to life! New  PhotoMail makes sharing a breeze.   
		Brings words and photos together (easily) with 
PhotoMail  - it's free and works with Yahoo! Mail.





--
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: Understanding UIComponent

2006-03-04 Thread billlane1962
Thanks to all.  It's good to know I'm on the right track.  Obviously
there is a lot to get a handle on for a Flex newbie.  The link for the
book is particularly appreciated (208 pages that should keep me out of
trouble for a while).

Bill Lane

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

 Please be aware that some of it is changing for Beta 2. For example, the
 'initialize' event is going to be dispatched AFTER the children have
 been created. A new 'preinitialize' event will be dispatched before.
 Also, 'initialize' and 'creationComplete' are going to be deferred for
 panes of navigator components until you navigate to them and they create
 their children.
 
  
 
 - Gordon
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of jeremy lu
 Sent: Friday, March 03, 2006 7:08 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Understanding UIComponent
 
  
 
 
 that chapter is particularly well written, should read it over and over
 again.
 
 
 
 
 On 3/3/06, Stephen Gilson  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
 
 There is indeed a book - It is called  Creating and Extending Flex
 Components and you can find it at:
 http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_docu
 mentation 
 
  
 
 This page lists the order of events when you create a component:
 http://livedocs.macromedia.com/flex/20beta1/docs/1877.html 
 
  
 
 Stephen
 
  
 
 
 
 From: Gordon Smith 
 Sent: Thursday, March 02, 2006 11:55 PM
 To: 'flexcoders@yahoogroups.com'
 Cc: Stephen Gilson
 Subject: RE: [flexcoders] Understanding UIComponent
 
 He wants to create custom components, so he needs to understand methods
 like
 
 createChildren(), commitProperties(), measure(), and
 updateDisplayList().
 
  
 
 There should be a whole book in the documentation set about creating
 your own components, and it should cover basic methods like these.
 
  
 
 - Gordon
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] On
 Behalf Of JesterXL
 
 Sent: Thursday, March 02, 2006 8:26 PM
 
 To: flexcoders@yahoogroups.com 
 
 Subject: Re: [flexcoders] Understanding UIComponent
 
  
 
 You look like you're on the right track.  For now (as of Beta 1), I
 think the only ones that actually matter event wise are:
 
  
 
 initialize
 
 creationComplete
 
  
 
 The only difference is initialize runs before all of the layout stuff,
 so if you need to do your own positioning/sizing, this is a good place
 to do it; creationComplete is after all the children have been created
 AND sized + positioned.
 
  
 
 We've all asked for the goto flow diagram of the main component that is
 UIComponent, so hopefully this'll get clearer doc wise soon.
 
  
 
 - Original Message - 
 
 From: Bill Lane 
 
 To: flexcoders@yahoogroups.com 
 
 Sent: Thursday, March 02, 2006 7:51 PM
 
 Subject: [flexcoders] Understanding UIComponent
 
  
 
 I'm just getting started with Flex Beta.  We are particularly
 
 interested in being able to create custom components using AS3.  So I
 
 am keen to get my head around the structure of UIComponent.  In AS2 I
 
 saw an excellent diagram that explained the sequence that methods were
 
 executed and what should be done with each.  I have been looking for a
 
 similar diagram for AS3 with no luck.  Consequently I've had a go
 myself.
 
  
 
 Firstly, does anyone know of a good resource (other than the AS3
 
 language reference which has become my constant companion) with this
 
 information.  OR Could someone have a look at my drawing
 
 (http://www.geekglue.com/media/swf/uicomponent.htm ) and let me know if
 
 I'm on the right track.
 
  
 
 Bill Lane
 
  
 
  
 
 --
 
 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 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
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 

[flexcoders] Re: Understanding UIComponent

2006-03-04 Thread billlane1962
Sure.  There are a few simple diagrams and explanations in a tutorial at:

http://www.ultrashock.com/tutorials/flashmx2004/v2a-01.php

Bill Lane


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

 Bill, hi
 
 You have mentioned a diagram for AS2. Do you happen to have a link to
 this diagram?
 
 Thanks, 
 
 --- Dmitry







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

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

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

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




[flexcoders] Parsing Unterminated xml elements in Flex 2.0 Beta

2006-03-04 Thread Daniel Nelson



Hi all,

I was wondering if you can parse unterminated XML elements inflex 2.0 beta. For example I want to parsethe following stringflash:streamroot intoaXMLNode. I keep getting this error XML parser failure: Unterminated element. In flash 8, I can successfully parse unterminated XML, A flash 8 example below:


var myData:String = flash:streamroot;var xmlData:XML = new XML();xmlData.ignoreWhite = this.ignoreWhite;xmlData.parseXML(myData);var firstNode:XMLNode = xmlData.firstChild
;var nodeName:String = firstNode.nodeName.toLowerCase();trace(nodeName); //outputs flash:stream

I can't seem to get this working withAction Script 3.0in flex or get a rewrite with the new XML classes in AS3?

Anyone have any thoughts or solutions to this problem of mine?

-Dan






--
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] Parsing unterminated xml elements

2006-03-04 Thread nelsond6
Hi all,
 
I was wondering if you can parse unterminated XML elements in flex 
2.0 beta.  For example I want to parse the following 
string flash:streamroot into a XMLNode.  I keep getting this 
error XML parser failure: Unterminated element.  In flash 8, I can 
successfully parse unterminated XML, A flash 8 example below: 
 
var myData:String = flash:streamroot;
var xmlData:XML = new XML();
xmlData.ignoreWhite = this.ignoreWhite;
xmlData.parseXML(myData);
var firstNode:XMLNode = xmlData.firstChild ;
var nodeName:String = firstNode.nodeName.toLowerCase();
trace(nodeName); //outputs flash:stream
 
I can't seem to get this working with Action Script 3.0 in flex or 
get a rewrite with the new XML classes in AS3?
 
Anyone have any thoughts or solutions to this problem of mine?
 
-Dan





--
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] Flex2 - how do I set the color of the header on a grid?

2006-03-04 Thread andrewstuartblah
Hello,

I can't work out how to set the header color on a grid.

It seems that the header text has the same color as the text of the
rows in the grid.

But I want to have a different color for the header text.

Any help appreciated.

Thanks

Andrew Stuart






--
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] regarding data Grid and remote Object

2006-03-04 Thread neha



I added a DataGridColumn to my grid using the following code  *  var col:DataGridColumn;  col = new DataGridColumn();  col.headerText = "Busy Value";  col.columnName = "busyValue";  col.labelFunction = busyValueLabelFunc;selectedFieldsGrid.addColumnAt(4,col);  *  Label Function is:  **  function busyValueLabelFunc(item):String   {  if chkBusyValue.selected)  {   return "busy";   }  if (!chkBusyValue.selected)   {   return "-";  }  }  **   
 WhenevrI drag a row from another grid to this grid having busy Value column  value in Busy Value column is always "-"...irrespective of state of checkBox...Other problem is...when a row is added in the grid ...it is always saved in the session thru remote Object...  and the row is send to remote Object as a Java Class Object...In java class object I want to set the busy Value as true or falseIf anybody knows how to do it...  plz help me!! Its really urgent!  
	

	
		 
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.





--
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-config.xml in FES2 Beta

2006-03-04 Thread adamcath123
Hi guys,

I am trying to load images into my app where the user specifies the
url of the image. I believe I'm getting a sandbox violation since the
urls aren't known at compile-time. I want to edit flex-config.xml to
allow the app to access any image on the web. How should I do this?

I tried putting 
destination id=thewholeweb
properties
dynamic-urlhttp://*/dynamic-url
/properties
/destination

in my flex-proxy-service.xml, but the destination apparently needs a
channel. The beta docs talk about referencing channels, but I dont see
where they talk about defining channels. Is this even the right approach?

Thanks,
Adam





--
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] Securing Messaging

2006-03-04 Thread nischalpathania
Hi

Can someone guide me to secure my jms adapter for some particular
domain in FES 2.0? I have created an application that is using
messaging service and I don't want to access that service by other
application with different domain and hosted on same machine. Can we
use something like whitelist tag to define service domain?

Regards,
Nischal Pathania





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

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

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

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




[flexcoders] flex 2 creation policy

2006-03-04 Thread Johannes Nel



hi all

i have
mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=*
 mx:Canvas id=__container
  innit:SomeComp id=__build width=100%/  
  container:SomeComp2
id=__tool width=100%
creationPolicy=none/  
 /mx:Canvas
/mx:VBox

where __tool's creationPolicy is set to none
then in a function is do this
 __tool.createComponentsFromDescriptors(true); to create this child

and in __tool's creationCompleteEvent i access some of its children.
this throws an error (found null where it is expecting a child component)

is this expected behaviour. i would have expected creationcomplete in
__tool to only fire once all its child components have been created, no
matter what the creationPolicy of __tool is. 

thanks
j

-- j:pn http://www.lennel.org






--
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: Authentication with Macromedia Flex

2006-03-04 Thread Dave Wolf
Tracy,

Yep this is definately coming out from us as Carson said.  I'll post
here when its been published.  I've been thinking a lot about it
recently.  I think its really important to show it from a Flex login
form also.  Its such an awesome example of how well Flex just
seamlessly integrates into J2EE, as well as how J2EE benefits from the
real RIA experience of Flex.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

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

 We actually have an article coming out on this for DevNet in a couple
 months. The problem is that all J2EE containers have their own way of
 configuring these things. Yes, from a J2EE deployment standpoint, a
 web.xml is the same across all app servers but post deployment, per the
 J2EE spec, the server is not required to depend upon web.xml any more.
 That being said, the best we could do is to provide a sample web app
 that you could then deploy using your J2EE containers deployment method
 but at that point, tweeking the confguration would be server specific.
  
  
 Carson
  
 
  
   
 Carson Hager 
 Cynergy Systems, Inc. 
 http://www.cynergysystems.com http://www.cynergysystems.com/  
   
 Email:  [EMAIL PROTECTED] 
 Office:  866-CYNERGY 
 Mobile: 1.703.489.6466 
   
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tracy Spratt
 Sent: Friday, March 03, 2006 5:48 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Authentication with Macromedia Flex
 
 
 
 Hey, guys, would it be possible to come up with a simple, but full
 example?  A step by step, keystroke by keystroke tutorial, that assumes
 no understanding of J2EE containers? It would have no options, no
 decisions, just do-this-and-it-will-work.  A hello, world of J2EE
 authentication?
 
  
 
 Using a Flex IU would be ideal, if that does not complicate matters too
 much.
 
  
 
 Flex has forced a lot of folks into the J2EE world, and we need J2EE for
 dummies in a bad way!
 
  
 
 Tracy
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Carson Hager
 Sent: Thursday, March 02, 2006 11:11 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex
 
  
 
 It can be html or even a flex form that simply posts to
 j_security_check.
 
 
 Carson
 
 
 
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY ext. 89
 Mobile: 1.703.489.6466
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Sent: Thu Mar 02 23:11:04 2006
 Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex
 
 But Dave described using a cusom screen instead of the grey
 security/login popup thingy.  In the web.xml settings you can set the
 URL of a custom form for login.  This form can be in HTML or whatever,
 eh?
 
 DK
 
 
 On 3/2/06, Dimitrios Gianninas [EMAIL PROTECTED]
 wrote:
 
  Dave,
 
  I don't disagree with you, that will work and I have seen it work. But
 I don't like the little pop-up challenge window. For lack of a better
 term, I wanted a more presentable login screen for my end users, so
 with the wonderful component model that Flex provides, I created a
 LoginView component that all our UIs re-use... see I didn't write much
 code either :) Is my way more complex? Perhaps just a wee little bit,
 but not very much. Both ways work, just a matter of choice I guess.
 
  Jimmy
 
  -Original Message-
  From: flexcoders@yahoogroups.com on behalf of Dave Wolf
  Sent: Thu 3/2/2006 9:20 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Authentication with Macromedia Flex
 
  I am trying to understand why we all keep trying to make this so
  complex rather then taking advantage of the functionality that is
  already in Flex and your container (JRun, Tomcat etc).  J2EE has a
  resonably simple model for handling authentication and access control
  that alleviates the requirement to write your own login logic, to
  write specific login remote objects, use custom authentication etc.
 
  Effectively you only need to do the following.
 
  1) Secure specific URL patterns via settings in the web applications
  deployment descriptor (web.xml).  I have in the past, and would now be
  more then happy to show how to configure these.
 
  2) Upon trying to load a secured URL pattern, the container will
  challenge you by presenting a login screen.  We have developed these
  screens in Flex.  Effectively you create a simple form with two input
  fields name j_username and j_password.  You post those values to the
  url /j_security_check.  

RE: [flexcoders] flex-config.xml in FES2 Beta

2006-03-04 Thread Matt Chotin
The proxy doesn't have anything to do with images so you don't need to
mess around there.

If your SWF is served from the network and the image is served from the
network I believe Flex should let you load the image.  The problem is if
the SWF is running as local or the image is served as local.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of adamcath123
Sent: Saturday, March 04, 2006 9:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex-config.xml in FES2 Beta

Hi guys,

I am trying to load images into my app where the user specifies the
url of the image. I believe I'm getting a sandbox violation since the
urls aren't known at compile-time. I want to edit flex-config.xml to
allow the app to access any image on the web. How should I do this?

I tried putting 
destination id=thewholeweb
properties
dynamic-urlhttp://*/dynamic-url
/properties
/destination

in my flex-proxy-service.xml, but the destination apparently needs a
channel. The beta docs talk about referencing channels, but I dont see
where they talk about defining channels. Is this even the right
approach?

Thanks,
Adam





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




[flexcoders] Flex / AS3 libraries available

2006-03-04 Thread Scott Langeberg



http://weblogs.macromedia.com/cantrell/: : ) Scott






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: Authentication with Macromedia Flex

2006-03-04 Thread Douglas Knudsen
random thoughts...in no way construed to be a instigation.

Is using FORM or BASIC really an integration of Flex and J2EE though? 
Seems to be no different then HTML, does one claim that HTML and J2EE
integrate well?  Hmm...just some thoughts.  Now, if you use the
setusernamepassword() in Flex, isn't that integration with J2EE?

On another note, I don't see why a CF developer couldn't setup J2EE
security and use the FORM or BASIC method with Flex, eh?  Might need a
little code to setup a session based on a jsessionid.


DK

On 3/4/06, Dave Wolf [EMAIL PROTECTED] wrote:
 Tracy,

 Yep this is definately coming out from us as Carson said.  I'll post
 here when its been published.  I've been thinking a lot about it
 recently.  I think its really important to show it from a Flex login
 form also.  Its such an awesome example of how well Flex just
 seamlessly integrates into J2EE, as well as how J2EE benefits from the
 real RIA experience of Flex.


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

 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY

 --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED]
 wrote:
 
  We actually have an article coming out on this for DevNet in a couple
  months. The problem is that all J2EE containers have their own way of
  configuring these things. Yes, from a J2EE deployment standpoint, a
  web.xml is the same across all app servers but post deployment, per the
  J2EE spec, the server is not required to depend upon web.xml any more.
  That being said, the best we could do is to provide a sample web app
  that you could then deploy using your J2EE containers deployment method
  but at that point, tweeking the confguration would be server specific.
 
 
  Carson
 
 
  
 
  Carson Hager
  Cynergy Systems, Inc.
  http://www.cynergysystems.com http://www.cynergysystems.com/
 
  Email:  [EMAIL PROTECTED]
  Office:  866-CYNERGY
  Mobile: 1.703.489.6466
 
 
 
 
  
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of Tracy Spratt
  Sent: Friday, March 03, 2006 5:48 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Re: Authentication with Macromedia Flex
 
 
 
  Hey, guys, would it be possible to come up with a simple, but full
  example?  A step by step, keystroke by keystroke tutorial, that assumes
  no understanding of J2EE containers? It would have no options, no
  decisions, just do-this-and-it-will-work.  A hello, world of J2EE
  authentication?
 
 
 
  Using a Flex IU would be ideal, if that does not complicate matters too
  much.
 
 
 
  Flex has forced a lot of folks into the J2EE world, and we need J2EE for
  dummies in a bad way!
 
 
 
  Tracy
 
 
 
 
 
  
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of Carson Hager
  Sent: Thursday, March 02, 2006 11:11 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex
 
 
 
  It can be html or even a flex form that simply posts to
  j_security_check.
 
 
  Carson
 
  
 
  Carson Hager
  Cynergy Systems, Inc.
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY ext. 89
  Mobile: 1.703.489.6466
 
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
  To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
  Sent: Thu Mar 02 23:11:04 2006
  Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex
 
  But Dave described using a cusom screen instead of the grey
  security/login popup thingy.  In the web.xml settings you can set the
  URL of a custom form for login.  This form can be in HTML or whatever,
  eh?
 
  DK
 
 
  On 3/2/06, Dimitrios Gianninas [EMAIL PROTECTED]
  wrote:
  
   Dave,
  
   I don't disagree with you, that will work and I have seen it work. But
  I don't like the little pop-up challenge window. For lack of a better
  term, I wanted a more presentable login screen for my end users, so
  with the wonderful component model that Flex provides, I created a
  LoginView component that all our UIs re-use... see I didn't write much
  code either :) Is my way more complex? Perhaps just a wee little bit,
  but not very much. Both ways work, just a matter of choice I guess.
  
   Jimmy
  
   -Original Message-
   From: flexcoders@yahoogroups.com on behalf of Dave Wolf
   Sent: Thu 3/2/2006 9:20 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Authentication with Macromedia Flex
  
   I am trying to understand why we all keep trying to make this so
   complex rather then taking advantage of the functionality that is
   already in Flex and your container (JRun, Tomcat etc).  J2EE has a
   resonably simple model for handling authentication and access control
   that alleviates the requirement to 

RE: [flexcoders] mx.control.alert

2006-03-04 Thread Matt Chotin










If you call Alert.show youll get
the Alert instance back. You should be able to then set its width and height.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepak Verma
Sent: Thursday, March 02, 2006 9:41
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
mx.control.alert





Yes, adding \n \r increases the box size
but scrollbar is still there .

Any ideas to remove scroll bar











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Friday, March 03, 2006 12:09
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
mx.control.alert





Try adding some
\n and \r to the end of the text you put in to the
Alert 
box.

- Original Message - 
From: deepu_verma [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, March 02, 2006 12:05 PM
Subject: [flexcoders] mx.control.alert


Hi all,
I am using mx.controls.Alert.show in flex 1.5
The text in the alert box is displayed with a
vertical scroll bar.
How can I increase the size of the alert box.

Thanks,
Deepak






--
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] Clearing Results

2006-03-04 Thread Matt Chotin
I'm confused, you want to clear those inputs, but when you call the
service you want them filled again?  The result handler will fire again
when the next result is returned and everything will fill in, right?
I'm not sure I understand what piece you're missing here.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Friday, March 03, 2006 8:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Clearing Results

In my app, I have a section called add sale. When this state is called I
use initialize to call a fucntion. This function queries my db and I use
another fucntion that populates a text input when the results are
returned.

With the code below, how can I clear the results of the state. I have
several text inputs that I have set to no values, but I cant figure out
how to make it so that the next time I call the state, the text input is
populated again. I am assuming that I need to clear the results handler.
But I am not sure how to do that.

Here are the snippets of code.

Initializing the function:

mx:Canvas width=100% height=100%
initialize=SaleModqiAdminSaleStart() 
xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*

Webservice call:
 mx:WebService id=SaleMod  useProxy=false
wsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl;
showBusyCursor=true
 mx:operation name=qiAdminSaleStart
result=SaleModqiAdminSaleStartResult( SaleMod.qiAdminSaleStart.result
) fault=SaleModqiAdminSaleStartFault( event )/
 /mx:WebService

Function used to query my db:

 // used to call the service
 function SaleModqiAdminSaleStart(){
 SaleMod.qiAdminSaleStart();
 }

 // called when results received
 function SaleModqiAdminSaleStartResult( result ){
 fileNum.text = result;
 }

 function SaleModqiAdminSaleStartFault ( event ){}






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



 




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

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

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

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





RE: [flexcoders] Re: Can we remove RemoteObject instances??

2006-03-04 Thread Matt Chotin
Where did you store the RemoteObject instances?  It may be that you
can't delete them, but you just have to set them to null.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sn197412
Sent: Friday, March 03, 2006 8:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can we remove RemoteObject instances??

Hi, thank you for replay.

But delete myRo; didn't work...
myRo still exists in this.
(I checked this by a debug mode.)

--Shigeru

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

 Have you tried calling delete myRo; in a script block of the
 Application (or component) that declares the RemoteObject?
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of sn197412
 Sent: Friday, March 03, 2006 6:54 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Can we remove RemoteObject instances??
 
 Hi.
 
 About RemoteObject instances.
 Can we remove RemoteObject instances like removeChild method??
 If we create 100 RemoteObject instances, we can't remove those
 instances??
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







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



 




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

* 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] 1.5 datagrid - toggle cell editable property

2006-03-04 Thread Matt Chotin
Title: Message










Hmm, I think this might be though to do,
its an interesting use-case. I think maybe youre going to need
to do something custom. Like give each column a cell renderer that looks at a
certain property on the item that its viewing and determines if it
should show the editor based on that property. Then the button would update
that property (using dg.setPropertiesAt or dg.dataProvider.editField) which would
then cause the cell renderers setValue function to be called which you
can then use to make the switch as appropriate. Not easy but I dont
have a better suggestion for you at the moment, maybe someone else will.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Griffin, Michael (FEB)
Sent: Friday, March 03, 2006 10:35
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] 1.5 datagrid
- toggle cell editable property







Working with the 1.5 grid and I have a
columnthat hasa button in each row that has to make just the cells
in that row editable when clicked. As a starting point I assume I have to
have the grids editable property set to true, and the rows editable properties
set to false initially. 











Does anyone have the syntax handy to
target the editable property of all the cells in a row, or another approach
that can be used to target the properties of a rows cells? I can get at
the column, but so far not the individual cell in the column and I'm assuming
to get the effect that I'm looking for I need to loop through all the columns
setting the editable property for the cell in the row that was clicked.











Any ideas or guidance would be
appreciated.











Mike











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] DragManager issues when running in swf inside a swf

2006-03-04 Thread Matt Chotin










Yes, the one that has the loader control
in it. The point is you need to make sure that the first application you load
has the DragManager linked into it. Maybe do a static var in the Application?



private static var dm:DragManager;



I dont think _lockroot will do
anything for you.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson
Sent: Friday, March 03, 2006 6:33
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
DragManager issues when running in swf inside a swf





Thanks much for the reply Matt. This was
supposed to be put in the application initialize event of the parent flex app
(the one that has the loader control)? I tried in both and didn't have any
luck.



A colleague had suggested setting
_lockroot=true on the loader object but that didn't seem to do it
either. Any other ideas? This problem is really killing me!



Thanks for your help.



Karl









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt
 Chotin
Sent: Friday, March 03, 2006 9:13
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
DragManager issues when running in swf inside a swf

This is a known issue because the drag and
drop stuff is static and therefore doesnt often play nice across loaded
swfs. 



In the Flex app that does the loading try
putting a specific reference to the DragManager to make sure it gets loaded
correctly. So for example, in your initialize for the Application put var
dm:DragManager = null.



I think that should pull it in and help
out.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson
Sent: Thursday, March 02, 2006
9:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DragManager
issues when running in swf inside a swf









(Flex 1.5, AS 2)











My drag and drop code has worked fine for a long time. Today, I took
the swf generated by the flex compiler and am loading it inside of a loader
control in another flex app. Everything about the inner app works
fineexcept for the call to DragManager.doDrag(), which gets called by the
mouseDown event on the draggable objects.











I have verified that the event is getting called, and that inside the
event handler event.target is correct. Yet, for some reason, when
the swf is loaded inside of another swf, the drag operation does not work. It
is like the call to doDrag is failing without error. All of the other code in
the dragDrop and dragOver event handlers execute fine (when I drag in an item
from a list, where I am not handling the initialization of the dragsource and
am not calling doDrag()). 











When I hit the swf directly, drag/drop works wonderfully. When I load
it inside of another swf, dragging does not work.











Any thoughts? ANY help very much appreciated.











Thanks,





Karl















--
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] How to add Icon to MenuItem?

2006-03-04 Thread Matt Chotin
I believe that the Menu expects any icons to be already loaded, it won't
load icons dynamically.  So what you have is correct only if you've
embedded those images in the SWF.  Actually you'd probably need to
specify the embedded name.

I'm not sure Menu will support loading images on its own...

That's Flex 1.5 at least, is this for 1.5 or 2.0?

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexhtoo
Sent: Friday, March 03, 2006 11:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to add Icon to MenuItem?

I want to konw how to add icon to menuitem, and then How to customize
the MenuCellRenderer?

There are right way or not?
MainMenu
menuitem label=slick
menuitem label=MenuItem A 
menuitem label=SubMenuItem 1-A /
 menuitem label=SubMenuItem 2-A /
/menuitem
menuitem label=MenuItem B /
menuitem label=MenuItem C /
menuitem label=MenuItem D 
menuitem label=SubMenuItem 1-D icon=icon1.png/
menuitem label=SubMenuItem 2-D icon=icon2.png/
menuitem label=SubMenuItem 3-D icon=icon3.png/
/menuitem
/menuitem
/MainMenu


Please give me a way.






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



 




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

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

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

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





RE: [flexcoders] Flex2 - how do I set the color of the header on a grid?

2006-03-04 Thread Matt Chotin
Check out the headerColors style.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of andrewstuartblah
Sent: Saturday, March 04, 2006 2:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 - how do I set the color of the header on a
grid?

Hello,

I can't work out how to set the header color on a grid.

It seems that the header text has the same color as the text of the
rows in the grid.

But I want to have a different color for the header text.

Any help appreciated.

Thanks

Andrew Stuart






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



 





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

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

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

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




RE: [flexcoders] Flex2 - how do I set the color of the header on a grid?

2006-03-04 Thread Matt Chotin
Sorry, that might actually be for the background color of the header.
You may want to use the headerStyle to define the actual text color.
I'm not sure of the exact syntax, try making a named style and then
putting the color in it.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Saturday, March 04, 2006 2:11 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex2 - how do I set the color of the header
on a grid?

Check out the headerColors style.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of andrewstuartblah
Sent: Saturday, March 04, 2006 2:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 - how do I set the color of the header on a
grid?

Hello,

I can't work out how to set the header color on a grid.

It seems that the header text has the same color as the text of the
rows in the grid.

But I want to have a different color for the header text.

Any help appreciated.

Thanks

Andrew Stuart






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



 





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



 




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

* 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] Parsing Unterminated xml elements in Flex 2.0 Beta

2006-03-04 Thread Matt Chotin










I dont think we allow invalid XML
in the e4x stuff at least. You can try using the flash.xml.XMLDocument class
which is the legacy XML object, I suppose it may do what you want.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Nelson
Sent: Friday, March 03, 2006 11:49
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Parsing
Unterminated xml elements in Flex 2.0 Beta







Hi all,











I was wondering if you can parse unterminated XML elements inflex
2.0 beta. For example I want to parsethe following
stringflash:streamroot
intoaXMLNode. I keep getting this error XML parser
failure: Unterminated element. In flash 8, I can successfully parse
unterminated XML, A flash 8 example below: 











var myData:String = flash:streamroot;
var xmlData:XML = new XML();
xmlData.ignoreWhite = this.ignoreWhite;
xmlData.parseXML(myData);
var firstNode:XMLNode = xmlData.firstChild ;
var nodeName:String = firstNode.nodeName.toLowerCase();
trace(nodeName); //outputs flash:stream











I can't seem to get this working withAction Script 3.0in
flex or get a rewrite with the new XML classes in AS3?











Anyone have any thoughts or solutions to this problem of mine?











-Dan











--
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] regarding data Grid and remote Object

2006-03-04 Thread Matt Chotin










This is 1.5? And chkBusyValue is an
object in your class? You probably need a Delegate for the busyValueLabelFunc



col.labelFunction =
mx.utils.Delegate(this, busyValueLabelFunc)



As for when you send it through a remote
object, youll either need to convert it on the server-side or make sure
you change the value in the object before you actually send it. Or store the boolean
as another value on the object and just send it that way.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of neha
Sent: Friday, March 03, 2006 10:45
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] regarding
data Grid and remote Object









I added a DataGridColumn to my grid using the following code





*





var col:DataGridColumn;





col = new DataGridColumn();





col.headerText = Busy Value;





col.columnName = busyValue;





col.labelFunction = busyValueLabelFunc;





selectedFieldsGrid.addColumnAt(4,col);





*





Label Function is:





**





function busyValueLabelFunc(item):String 





{





if chkBusyValue.selected)





{





 return busy;





 }





if (!chkBusyValue.selected)





 {





 return -;





}





}





**











WhenevrI drag a row from another grid to this grid having busy
Value column





value in Busy Value column is always -...irrespective of
state of checkBox...











Other problem is...when a row is added in the grid ...it is always
saved in the session thru remote Object...





and the row is send to remote Object as a Java Class Object...











In java class object I want to set the busy Value as true or false











If anybody knows how to do it...





plz help me!! Its really urgent!



























Jiyo cricket on Yahoo!
India cricket
Yahoo!
Messenger Mobile Stay in touch with your buddies all the time. 







--
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 2 creation policy

2006-03-04 Thread Matt Chotin










Gordon may be able to answer this better
but I thought I saw him say that we were firing that event too early in beta 1
and were fixing things to only do it after the children were actually created.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel
Sent: Saturday, March 04, 2006
9:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex 2
creation policy





hi all

i have
mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml
xmlns=*
 mx:Canvas id=__container
  innit:SomeComp id=__build
width=100%/  
  container:SomeComp2
id=__tool width=100%
creationPolicy=none/  
 /mx:Canvas
/mx:VBox

where __tool's creationPolicy is set to none
then in a function is do this
 __tool.createComponentsFromDescriptors(true); to create this
child

and in __tool's creationCompleteEvent i access some of its children.
this throws an error (found null where it is expecting a child component)

is this expected behaviour. i would have expected creationcomplete in __tool to
only fire once all its child components have been created, no matter what the
creationPolicy of __tool is. 

thanks
j



-- 
j:pn 
http://www.lennel.org








--
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: Authentication with Macromedia Flex

2006-03-04 Thread Dave Wolf
The integration comes in the fact that the flash player inherits the
HTTP stack of the underlying browser.  What that means is that any
data service call, whether mx:RemoteObject/, mx:HttpService/ or
mx:WebService/ make calls on the same HTTP Session containing the
same j_sessionid cookie value.  That might seem quite simple on the
face of it, but it is not.  It has some incredibly powerful
ramifications.  

For instance, there is not simple web services authentication
specification.  (yeah ok, WS-Security but I said simple).  What many
people (as we have seen in posts around this place) do is to pass the
current user credentials as a part of the web service call. 
Effectively a parameters.  Why?  Since the HTTP transport inherited
the j_sessionid context, the container is very aware of who the
current user is.  Not only does it simplify your API but more
importantly it reduces a nefarious users ability to hijack sessions etc.

Now as for the setUsername() custom auth integration, remember that
is really only used for/needed for mx:RemoteObject/ and for only one
simple reason.  See the AMF gateway uses only one URL for all remote
obect calls.  Since J2EE security requires implementation by
url-pattern, there is no way to lock down different services in
different ways.  Hence the security is handled by the AMF gateway
servlet and servlet filters.  If it werent for this limitation, you
wouldn't have any need for the custom auth.  Yes, there is some more
code-level integration in the proxy.  For instance the HttpService and
WebService proxy servlet propogates the j_sessionid to the back-end
service implementations.  (or it should, there are a few bugs in 1.5
we found which Adobe addressed for us in propogating that session). 
Generally however we simply by-pass the proxy and make direct calls
where feasable.  

Another huge advantage os this seamless inheritence of the j_sessionid
context is that i makes integrating the RIA with any third party j2EE
based applications a dream.  For instance, we've done a lot of work
integrating the RIA with third party products from folks like Jive
Software and Atlassian Software.  We can have the RIA participating is
broad (even distributed) Single Sign on implementations across
multiple applications.  We can take an existing HTML front-ended
engine and very simply plug in a RIA user experience instead.

Flex and the Flash Player could have very easily been implemented in
such a way that the movie does not open connections using the same
HTTP session as the main browser.  Luckily the Macromedia/Adobe folks
made the right choice, and the amount of power it unleashes is
limitless.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




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

 random thoughts...in no way construed to be a instigation.
 
 Is using FORM or BASIC really an integration of Flex and J2EE though? 
 Seems to be no different then HTML, does one claim that HTML and J2EE
 integrate well?  Hmm...just some thoughts.  Now, if you use the
 setusernamepassword() in Flex, isn't that integration with J2EE?
 
 On another note, I don't see why a CF developer couldn't setup J2EE
 security and use the FORM or BASIC method with Flex, eh?  Might need a
 little code to setup a session based on a jsessionid.
 
 
 DK
 
 On 3/4/06, Dave Wolf [EMAIL PROTECTED] wrote:
  Tracy,
 
  Yep this is definately coming out from us as Carson said.  I'll post
  here when its been published.  I've been thinking a lot about it
  recently.  I think its really important to show it from a Flex login
  form also.  Its such an awesome example of how well Flex just
  seamlessly integrates into J2EE, as well as how J2EE benefits from the
  real RIA experience of Flex.
 
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY
 
  --- In flexcoders@yahoogroups.com, Carson Hager carson.hager@
  wrote:
  
   We actually have an article coming out on this for DevNet in a
couple
   months. The problem is that all J2EE containers have their own
way of
   configuring these things. Yes, from a J2EE deployment
standpoint, a
   web.xml is the same across all app servers but post deployment,
per the
   J2EE spec, the server is not required to depend upon web.xml any
more.
   That being said, the best we could do is to provide a sample web app
   that you could then deploy using your J2EE containers deployment
method
   but at that point, tweeking the confguration would be server
specific.
  
  
   Carson
  
  
   
  
   Carson Hager
   Cynergy Systems, Inc.
   http://www.cynergysystems.com http://www.cynergysystems.com/
  
   Email:  carson.hager@
   Office:  866-CYNERGY
   Mobile: 1.703.489.6466
  
  
  
  
   

Re: [flexcoders] AS3 Date month starting at 0?

2006-03-04 Thread Peter Hall



I'm sure it's doing slightly more than an implicit coercion, when you do something like:

 new Date(Mar 10 20:00 2006);

;-)


Peter
On 3/4/06, Gordon Smith [EMAIL PROTECTED] wrote:

















Sure, it's perfectly happy to coerce a
string like 2006 to the number 2006. But if you pass 2006 it
wouldn't have to coerce anything.



- Gordon








--
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 2.0 with 1.5 default skin/theme?

2006-03-04 Thread Stephane B.










Hello everyone,



Is there any safe way to use the Flex 1.5 default skin and
theme (Halo) for an
application developed with Flex 1.5? 



Thank for your time.



Stephane B.









--
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] Checkboard / chessboard pattern

2006-03-04 Thread andrewstuartblah
Hello

I'd like the background of my application to be a checkerboard /
chessboard pattern.

Can anyone suggest an easy programmtic way to do this?

I'd like to avoid using bitmaps but i'll do it if need be.

Thanks

Andrew






--
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] Webservices not accessible

2006-03-04 Thread Mi Shikha



I have whitelisted the webservice with its given end point. When I send the request on button click, I get this messagejava.lang.RuntimeException:You are not allowed to access the endpoint http://localhost/etc-etc/etcetc via this proxy. The URL is not in the endpoint list for the service.I added the above endpoint in flex-config.xml. problem still persists. Please let me know what is the catch. Are web-services supposed to register the url which would be accessing the service. Since my local server becomes proxy server.ShikhaMatt Chotin [EMAIL PROTECTED] wrote: Check out the headerColors style.  -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of andrewstuartblah Sent: Saturday, March 04, 2006 2:41 AM To:
 flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 - how do I set the color of the header on a grid?  Hello,  I can't work out how to set the header color on a grid.  It seems that the header text has the same color as the text of the rows in the grid.  But I want to have a different color for the header text.  Any help appreciated.  Thanks  Andrew Stuart   -- 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   Ms Shikha MiglaniGraduate Student Electrical EngineeringPennsylavania State UniversityUniversity Park,PA 16801 Home:445,Waupelani Drive,Apt#K14State College,PA 16801 Phone :(814)-272-0110Mobile:(814)-441-5448
		 Yahoo! Mail 
Use Photomail to share photos without annoying attachments.





--
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] How to add Icon to MenuItem?

2006-03-04 Thread Carlos Rovira



Hi Matt,If the XML is external and I have the icons embeded in the SWF, How could I reference the icons in the external XML?I was trying a lot of ways but I couldn't get the icons displayed in the menu items. 
Could you say me if that is possible to accomplish or I'm trying something that we can't do it?Thanks.On 3/4/06, Matt Chotin 
[EMAIL PROTECTED] wrote:



I believe that the Menu expects any icons to be already loaded, it won't
load icons dynamically. So what you have is correct only if you've
embedded those images in the SWF. Actually you'd probably need to
specify the embedded name.

I'm not sure Menu will support loading images on its own...

That's Flex 1.5 at least, is this for 1.5 or 2.0?

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of flexhtoo
Sent: Friday, March 03, 2006 11:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to add Icon to MenuItem?

I want to konw how to add icon to menuitem, and then How to customize
the MenuCellRenderer?

There are right way or not?
MainMenu
 menuitem label=slick
  menuitem label=MenuItem A 
  menuitem label=SubMenuItem 1-A /
  menuitem label=SubMenuItem 2-A /
  /menuitem
  menuitem label=MenuItem B /
  menuitem label=MenuItem C /
  menuitem label=MenuItem D 
  menuitem label=SubMenuItem 1-D icon=icon1.png/ 
  menuitem label=SubMenuItem 2-D icon=icon2.png/
  menuitem label=SubMenuItem 3-D icon=icon3.png/ 
  /menuitem
 /menuitem
/MainMenu


Please give me a way.






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



  









-- ::| Carlos Rovira::| http://www.carlosrovira.com






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] [AS3][E4X] Node access problem due to - char

2006-03-04 Thread Carlos Rovira



Hi,I was playing with the new AS3 E4X and trying to access the following kind of XML node:some-nodeHi!some-nodeI can't access this kind of node due to the middle - char. This problem happens in old AS2 XML object too.
In both XML objects (old AS2 and new AS3) we can reach the node using the following notation (and not dot notation that will be the preferred way):myXML[some-node]Some XML languajes out there use this kind of notation (with - inserted inside node names), so I suppose this is a bug in the way E4X (and old XML AS2 object) works or I'm missing something. Please tell me If I'm wrong.
If this is a bug, could we expect a fix in the next FP8.5 alpha or beta version?Thanks.C.-- ::| Carlos Rovira::| http://www.carlosrovira.com







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Flex 2.0 with 1.5 default skin/theme?

2006-03-04 Thread Matt Chotin










Hi, we shipped the haloclassic theme in
the themes folder. So you just need to get that thing loaded and hopefully it
will work. I dont know how tested it is right now



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stephane B.
Sent: Saturday, March 04, 2006 1:02
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0
with 1.5 default skin/theme?





Hello everyone,



Is there any safe way to use the Flex 1.5 default skin and
theme (Halo) for an
application developed with Flex 1.5? 



Thank for your time.



Stephane B.









--
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] Webservices not accessible

2006-03-04 Thread Matt Chotin










Did you restart the server? Im
assuming this is 1.5 since you said you edited flex-config.xml?









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mi Shikha
Sent: Saturday, March 04, 2006
2:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Webservices
not accessible





I have whitelisted the webservice with its given end point. When I send
the request on button click, I get this message

java.lang.RuntimeException:You are not allowed to access the endpoint
http://localhost/etc-etc/etcetc via this proxy. The URL is not in the
endpoint list for the service.

I added the above endpoint in flex-config.xml. problem still persists. 

Please let me know what is the catch. Are web-services supposed to register the
url which would be accessing the service. Since my local server becomes proxy
server.

Shikha



















--
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] [AS3][E4X] Node access problem due to - char

2006-03-04 Thread Matt Chotin










Since hyphen is minus in the language
theres no way that we can support it in an e4x _expression_. Youll
have to use the bracket notation for it. This is something that wont
change.



Matt 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira
Sent: Saturday, March 04, 2006
4:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [AS3][E4X]
Node access problem due to - char





Hi,

I was playing with the new AS3 E4X and trying to access the following kind of
XML node:

some-nodeHi!some-node

I can't access this kind of node due to the middle - char. This
problem happens in old AS2 XML object too. 
In both XML objects (old AS2 and new AS3) we can reach the node using the
following notation (and not dot notation that will be the preferred way):

myXML[some-node]

Some XML languajes out there use this kind of notation (with -
inserted inside node names), so I suppose this is a bug in the way E4X (and old
XML AS2 object) works or I'm missing something. Please tell me If I'm wrong. 

If this is a bug, could we expect a fix in the next FP8.5 alpha or beta
version?

Thanks.

C.





-- 
::| Carlos Rovira
::| http://www.carlosrovira.com 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2.0 with 1.5 default skin/theme?

2006-03-04 Thread Stephane B.










Forgive me the typo below, I meant for
an application developed with Flex 2.0, of course.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephane B.
Sent: Saturday, March 04, 2006
1:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0
with 1.5 default skin/theme?





Hello everyone,



Is there any safe way to use the Flex 1.5 default skin and
theme (Halo) for an
application developed with Flex 1.5? 



Thank for your time.



Stephane B.









--
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] How to add Icon to MenuItem?

2006-03-04 Thread Matt Chotin










You want to use the name of the variable that
you used to embed the resource.



[Embed(foo.swf)]

public var symbol1:Class;



menuitem icon=symbol1



More here:

http://livedocs.macromedia.com/flex/20beta1/docs/0791.html



Im not sure how much is working in B1 (e.g., the example code in
there is untested)



Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira
Sent: Saturday, March 04, 2006
4:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to
add Icon to MenuItem?





Hi Matt,

If the XML is external and I have the icons embeded in the SWF, How could I
reference the icons in the external XML?
I was trying a lot of ways but I couldn't get the icons displayed in the menu
items. 

Could you say me if that is possible to accomplish or I'm trying something that
we can't do it?

Thanks.



On 3/4/06, Matt Chotin  [EMAIL PROTECTED] wrote:



I believe that the Menu
expects any icons to be already loaded, it won't
load icons dynamically. So what you have is
correct only if you've
embedded those images in the SWF. Actually
you'd probably need to
specify the embedded name.

I'm not sure Menu will support loading images on
its own...

That's Flex 1.5 at least, is this for 1.5 or 2.0?

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of flexhtoo
Sent: Friday, March 03, 2006 11:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to add Icon to MenuItem?

I want to konw how to add icon to menuitem, and
then How to customize
the MenuCellRenderer?

There are right way or not?
MainMenu
 menuitem
label=slick
 
menuitem label=MenuItem A 

 menuitem label=SubMenuItem
1-A /

 menuitem
label=SubMenuItem 2-A /
 
/menuitem
 
menuitem label=MenuItem B /
 
menuitem label=MenuItem C /
 
menuitem label=MenuItem D 

 menuitem label=SubMenuItem
1-D icon=icon1.png/ 

 menuitem label=SubMenuItem
2-D icon=icon2.png/

 menuitem label=SubMenuItem
3-D icon=icon3.png/ 
 
/menuitem
 /menuitem
/MainMenu


Please give me a way.






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

















-- 
::| Carlos Rovira
::| http://www.carlosrovira.com 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] AS3 Date month starting at 0?

2006-03-04 Thread Gordon Smith










Yes, but that's not what the code I commented on was doing.
It was doing



 new Date(2006, 03,
22);



I was simply trying to point out that it would be more
efficient to do



 new Date(2006, 3, 22); 



rather than having 2006 coerce to 2006,
03 coerce to 3, and 22 coerce to 22.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Hall
Sent: Saturday, March 04, 2006
9:59 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS3 Date
month starting at 0?





I'm sure it's doing
slightly more than an implicit coercion, when you do something like:

 new Date(Mar 10 20:00 2006);

;-)


Peter





On 3/4/06, Gordon
Smith [EMAIL PROTECTED]
wrote:





Sure, it's perfectly happy to coerce a string like
2006 to the number 2006. But if you pass 2006 it wouldn't have to
coerce anything.



- Gordon


















--
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] Checkboard / chessboard pattern

2006-03-04 Thread Gordon Smith
There are drawing APIs like beginFill(), drawRect(), etc. that you can
use to draw the squares. Check out the Graphics class.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of andrewstuartblah
Sent: Saturday, March 04, 2006 1:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Checkboard / chessboard pattern

Hello

I'd like the background of my application to be a checkerboard /
chessboard pattern.

Can anyone suggest an easy programmtic way to do this?

I'd like to avoid using bitmaps but i'll do it if need be.

Thanks

Andrew






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



 




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

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

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

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




RE: [flexcoders] [AS3][E4X] Node access problem due to - char

2006-03-04 Thread Gordon Smith










It sounds like you are asking why



 myXML.some-node



doesn't give you what you wan. The answer
is that it is actually a subtraction:



 myXML.some - node



This isn't a bug; it's just how the . and
- operators work in AS3 and E4X. When a node name isn't a legal AS3 identifier,
you have to either write



 myXML[some-node]



or



 myXML.elements(some-node)



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira
Sent: Saturday, March 04, 2006
4:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [AS3][E4X]
Node access problem due to - char





Hi,

I was playing with the new AS3 E4X and trying to access the following kind of
XML node:

some-nodeHi!some-node

I can't access this kind of node due to the middle - char. This
problem happens in old AS2 XML object too. 
In both XML objects (old AS2 and new AS3) we can reach the node using the
following notation (and not dot notation that will be the preferred way):

myXML[some-node]

Some XML languajes out there use this kind of notation (with -
inserted inside node names), so I suppose this is a bug in the way E4X (and old
XML AS2 object) works or I'm missing something. Please tell me If I'm wrong. 

If this is a bug, could we expect a fix in the next FP8.5 alpha or beta
version?

Thanks.

C.





-- 
::| Carlos Rovira
::| http://www.carlosrovira.com 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex (or Related) Conferences this Year

2006-03-04 Thread Renaun Erickson
I am wondering if there is any Flex (or related technology)
conferences coming up in 2006.

I have seen RIA Conference by SYS-Con (http://riaconference.com/).
Flash Forward is in September, 2006 in Austin.  Will there be any Flex
related stuff during this conference? 

I see some AS3 being presented at FITC, April 21, 2006.

When is Max happening this year?






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

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

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

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




Re: [flexcoders] Flex 2.0 Dashboard Project

2006-03-04 Thread Thijs Triemstra | Collab
Rob,

the dashboard on your blog page isnt loading btw..

Thijs


Op 4-mrt-2006, om 7:37 heeft Rob Rusher het volgende geschreven:

 Sergio,

 I did a presentation at MAX last year on building a dashboard. The  
 preso is
 based on Flex 1.5 but it can at least get you started.

 http://www.robrusher.com/1/2006/03/Flex-15-Dashboard-Tutorial.cfm



 Rob Rusher

 RIA Consultant
 Macromedia Certified Flex Instructor
 e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher
 blog:http://www.robrusher.com

 -Original Message-
 From: flexcoders@yahoogroups.com  
 [mailto:[EMAIL PROTECTED] On
 Behalf Of sergiosergiomon
 Sent: Friday, March 03, 2006 4:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 2.0 Dashboard Project

 Hello everyone!
 I had already posted here asking for a tutorial on how to build a
 dashboard like the sample on the Adobe/Macromedia Flex page.
 Being advised to look at the sample alreade in the Welcome page of
 Flex 2.0, I decided to go ahead, but being novice to Flex I really
 need a STEP BY STEP tutorial.
 Is there anything like that out there?
 Or at least how to work with charting components?

 Thanks!
 Sergio
 Brazil





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








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










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

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