Re: [flexcoders] Styling Panels and Buttons

2006-02-04 Thread Teoti Graphix



I tried your same example, it works fine, using the styleName property.

Don't know other that you might be using styles that are not implemented or not obvious in the style change.

Just for your own test, in your selector style, insert a color style,
change it and see if your styleName is working at that point, then go
backwards at what you are trying to checkout.

Peace, MikeOn 2/3/06, Jonathan Miranda [EMAIL PROTECTED] wrote:















I've been forced a little out of my box into the flex
styles world and having issues with this…can someone explain what I'm
doing wrong? I have a "Button" style and a ".panelButton"
style. The Button covers all the buttons, but if I stick a "stylename=panelButton",
neither works at all.

mx:Style

Button {

font-size: 10pt;

color: #00476B; 

cornerRadius: 8;

textAlign: left;

}

.panelButton {

marginLeft: 20;

font-weight:bold;

} 

/mx:Style

mx:Button styleName=panelButton
id=panel3btn1 label=Staying Healthy
width=195 height=24/



The button now has 0 style effects. I also can't get width
or height into the style with it working. Help?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.











--
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
  
  
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: popup depth management

2006-02-04 Thread Teoti Graphix



Hello,

I am going out on a limb here and would love someone to correct me if I am wrong.

The PopUpManager singleton class creates new top-level windows and places or 
removes those windows from the layer on top of all other visible windows. See 
the SystemManager for a description of the layering. It is used for popup 
dialogs, menus, and dropdowns in ComboBox and similar components.  - LiveDocs

When even using Flash, the PopUpManager class was not designed to
actually create a window array. A popup is different from actual
'windows'. A window array is it's own reality all together.

Use the PopUpManager for things that need to 'catch' users focus because of some interaction by them.

For what you are doing, I would say create a component IE Panel like
your where, create a quasi manager and use addChild(), addChildAt(),
setChildIndex() which is just like using setDpeth() now.

Play with the Windows that way.

If I am wrong, I guess I do not fully understand the implied implementation of the PopUpManager.

Peace, Mike
On 2/3/06, Scott Langeberg [EMAIL PROTECTED] wrote:



Anyone found how to control the depths of windows created in such a manner?:   private var p1:IFlexDisplayObject;   private var p2:IFlexDisplayObject;  private function init() {
  
 p1 = PopUpManager.createPopUp(this, comps.TestPanel,
false);  
 p2 = PopUpManager.createPopUp(this, comps.TestPanel,
false); }I want to be able to overlap popups and exchange their depths, so the one clicked overlaps all others.
-- : : ) Scott






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  















--
Flexcoders 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] How to assign attribute value in XML?

2006-02-04 Thread flexhtoo
Hi Flex.

A.What method to assign/update the attribute value of XML object?



var testXML:XML = testXML attr1=10 attr2=hello/;

[EMAIL PROTECTED] = 20;
1) It isn't sutiable because of I didn't konw what attribute is to
assign value.

2) But I have just attribute name with string value. For instance

var a:String = attr1;
//testXML.attribute(a) = 20;  // It isn't assign!!!

???
?How to it?
???


Assume that we don't konw what attributes had come to assign. We have
just string of the attribute name to assign it.





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

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

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

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




[flexcoders] How to use SharedObject.getRemote with Flex 2 / AS3

2006-02-04 Thread flexargg
I have written the following code and SharedObject.getRemote return 
NULL !!! 

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
width=100% height=100% creationComplete=initApp()
mx:Script
![CDATA[
 import flash.media.*;
 import flash.net.*; 
 import mx.controls.Alert;

 public var nc_client:NetConnection;
 public var so:SharedObject;

 public function initApp():void {
   nc_client=new NetConnection(); 
   nc_client.connect(rtmp://localhost/testAS3,);
   nc_client.addEventListener
(NetStatusEvent.NET_STATUS,netStatusHandler);
 }

 public function netStatusHandler(event:NetStatusEvent):void {
   var info:Object = event.info;
   if (info.code == NetConnection.Connect.Success) {
   so=SharedObject.getRemote(so, nc_client.uri, false);
   if (so==null) mx.controls.Alert.show('SharedObject.getRemote 
return NULL');
  }
 }
]]
/mx:Script 
/mx:Application 








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

2006-02-04 Thread Husain Kitabi



I am just wondering why would you require struts and flex.  anyway, look into web.xml fileSrikanth [EMAIL PROTECTED] wrote:  Hello,Could you please explain the confiration and Integration of the Flex and Struts? Please send a sample code/link for that.Thanks in advance,with Regards,Srikanth  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.   hussain
	
		 Yahoo! Mail - Helps protect you from nasty viruses.





--
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] Passing nested objects to ColdFusion via WebService

2006-02-04 Thread Jason Y. Kwong



I'm attempting to call a CFC from a Flex 2.0 app. I would prefer to use RemoteObject but our ColdFusion server is running on Linux so we've got no Flex Connectivity. So I'm still using the WebService object to make calls via SOAP. This works fine normally, but things mess up if I try to pass a nested object to the CFC. Here's a simple example CFC method I'm trying to call:
cffunction name=testMethod access=remote returntype=string cfargument name=data type=struct required=yes cfreturn 
data.name/cffunctionIn my Flex app, I create a WebService object:mx:WebService id=service wsdl=... result=onResult(event) fault=onFault(event)/
If I call it the following way, everything works fine:var parm: Object = new Object();parm.name = XXX;
service.testMethod(parm);I can add as many scalar properties to parm as I want. However, as soon as I add an Object property, it messes up. eg:
parm.name = XXX;parm.stuff = {id:123};The service generates a fault and I get the generic HTTP request error. The fault detail isn't that helpful:
Error: [IOErrorEvent type=ioError bubbles=false cancelable=false text=Error #2032: Stream Error. URL: http://...]. URL: http://... The server logs aren't that helpful either. Our CF server is fronted by Apache. The Apache logs do show a 500 result for the request (but nothing else). However, the CF logs show nothing at all. It's like the call/error never happened.
I never had this kind of problem when I used Flash Remoting with Flash MX. Can anybody shed some light on this?








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

2006-02-04 Thread David Mendels





Hope this helps: http://www.macromedia.com/devnet/flex/articles/struts.html

-David
Adobe

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Husain 
  KitabiSent: Saturday, February 04, 2006 9:38 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex-Struts 
  configration
  
  I am just wondering why would you require struts and flex.
  anyway, look into web.xml file
  
  Srikanth [EMAIL PROTECTED] wrote:
  Hello,Could 
you please explain the confiration and Integration of the Flex and 
Struts? Please send a sample code/link for that.Thanks in 
advance,with Regards,Srikanth


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. 
  


hussain
  
  
  Yahoo! 
  Mail - Helps protect you from nasty viruses. 





--
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 use SharedObject.getRemote with Flex 2 / AS3

2006-02-04 Thread Brian Lesser
Totally wild guess, but trying adding these three lines after your 
import statements:

NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
NetStream.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
SharedObject.defaultObjectEncoding  = flash.net.ObjectEncoding.AMF0;

For what it's worth I posted a small sample app that does a some basic 
NetConnection and NetStream stuff here:

http://flash-communications.net/technotes/fms2/flex2FMS/index.html

It does not include SharedObject code.

Yours truly,
-Brian


flexargg wrote:

I have written the following code and SharedObject.getRemote return 
NULL !!! 

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
width=100% height=100% creationComplete=initApp()
mx:Script
![CDATA[
 import flash.media.*;
 import flash.net.*; 
 import mx.controls.Alert;

 public var nc_client:NetConnection;
 public var so:SharedObject;

 public function initApp():void {
   nc_client=new NetConnection(); 
   nc_client.connect(rtmp://localhost/testAS3,);
   nc_client.addEventListener
(NetStatusEvent.NET_STATUS,netStatusHandler);
 }

 public function netStatusHandler(event:NetStatusEvent):void {
   var info:Object = event.info;
   if (info.code == NetConnection.Connect.Success) {
   so=SharedObject.getRemote(so, nc_client.uri, false);
   if (so==null) mx.controls.Alert.show('SharedObject.getRemote 
return NULL');
  }
 }
]]
/mx:Script 
/mx:Application 








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



 


  



-- 
__
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
M5B 2K3Fax: (416) 979-5220
Office: AB48D  E-mail: [EMAIL PROTECTED]
(Enter through LB66)   Web: http://www.ryerson.ca/~blesser
__



--
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] setUsernamePassword and J2EE login

2006-02-04 Thread Jim Schneider










I finally got back to looking at this. I Instrumented
my code to look at flashgateway.Gateway.getHttpRequest().getRemotePrincipal()
and getRemoteUser(). RemoteUser is empty and remote principal is null. I
see the userid/password credentials in the amf trace from the client (setting
UsernamePassword on the service), but nothing in the service.



Im using remote objects. Remote
object is a spring bean.



Ive implemented a JAAS login module
that appears to be functioning correctly (loginContext succeeds). 



Using JBoss 4.0.x.



Any thoughts?



Thanks,



Jim











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager
Sent: Saturday, January 21, 2006
10:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
setUsernamePassword and J2EE login





If you use standard J2EE auth to the
container, you can get the remote user provided you are not using the proxy.
There is currently an issue with the proxy not forwarding the cookie in most (
all that we've seen ) circumstances. We have received a fix from Adobe on
this that we are in the process of testing.



This being said, if you don't use the
proxy, you'll be able to acccess the user without issue from within your
service implementations. Here's the kicker. The AS2 VM doesn't not
handle HTTP status code 500. It stops parsing the HTTP response when it sees a
500 which means that you will never be able to get at any data that occurs due
to a SOAP Fault. Per the web services spec, the container is required to return
an HTTP 500 status code when returning a fault. Effectively, you can't handle
SOAP faults when you don't use the proxy and you get that meaningless error
message that looks like it simply couldn't connect to the service. This
issue is handled by the proxy. It changes that HTTP status code to
200 so that the flash player can parse the request. This is a kludge if
you ask me but that's where we are today. As a note, this is being
addressed in FP8.5 but the fix will very likely not ( according to Adobe ) be
fixed in earlier versions due to backward compatibility.





Carson





Carson
Hager 
Cynergy
Systems, Inc. 
http://www.cynergysystems.com



Email:
[EMAIL PROTECTED] 
Office:
866-CYNERGY 
Mobile:
1.703.489.6466 

















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Saturday, January 21, 2006
7:37 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] setUsernamePassword
and J2EE login

I think you should be able to get it from
the flashgateway.Gateway.getHttpRequest().getRemotePrincipal() or
getRemoteUser().











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Schneider
Sent: Wednesday, January 18, 2006
8:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
setUsernamePassword and J2EE login





After calling setUsernamePassword on a service, is this
information available to the backend services (remote object or
web service)? Or perhaps after a J2EE/JAAS login? If so, how/where?



We have a requirement to do a lot of logging of whos
doing what in the system and was wondering whether there are any alternatives
to passing a username/id with most/all APIs.


Thanks for any help. 



Jim











--
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: popup depth management

2006-02-04 Thread Scott Langeberg



What I want is the dragging function of those windows created by PopUpManager. My own dragging implementation is buggy and has a lot of flicker. Granted, I don't know the ins and outs of flex graphics and mouse API. However, I know exactly what I'd do in Flash, unfortunately!
ScottOn 2/4/06, Teoti Graphix [EMAIL PROTECTED] wrote:



Hello,

I am going out on a limb here and would love someone to correct me if I am wrong.

The PopUpManager singleton class creates new top-level windows and places or 
removes those windows from the layer on top of all other visible windows. See 
the SystemManager for a description of the layering. It is used for popup 
dialogs, menus, and dropdowns in ComboBox and similar components.  - LiveDocs

When even using Flash, the PopUpManager class was not designed to
actually create a window array. A popup is different from actual
'windows'. A window array is it's own reality all together.

Use the PopUpManager for things that need to 'catch' users focus because of some interaction by them.

For what you are doing, I would say create a component IE Panel like
your where, create a quasi manager and use addChild(), addChildAt(),
setChildIndex() which is just like using setDpeth() now.

Play with the Windows that way.

If I am wrong, I guess I do not fully understand the implied implementation of the PopUpManager.

Peace, Mike
On 2/3/06, Scott Langeberg 
[EMAIL PROTECTED] wrote:




Anyone found how to control the depths of windows created in such a manner?:   private var p1:IFlexDisplayObject;   private var p2:IFlexDisplayObject;  private function init() {
  
 p1 = PopUpManager.createPopUp(this, comps.TestPanel,
false);  
 p2 = PopUpManager.createPopUp(this, comps.TestPanel,
false); }I want to be able to overlap popups and exchange their depths, so the one clicked overlaps all others.
-- : : ) Scott






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt


Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.




  















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



  








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



  









Fwd: [flexcoders] Flex 2: popup depth management

2006-02-04 Thread Scott Langeberg



I should clarify that I'm really going for a floating window effect like Jesse Warden's: http://dev.jessewarden.com/dndv5/dm.htmScott-- Forwarded message --
From: Scott Langeberg [EMAIL PROTECTED]Date: Feb 4, 2006 2:07 PMSubject: Re: [flexcoders] Flex 2: popup depth management
To: flexcoders@yahoogroups.comWhat I want is the dragging function of those windows created by PopUpManager. My own dragging implementation is buggy and has a lot of flicker. Granted, I don't know the ins and outs of flex graphics and mouse API. However, I know exactly what I'd do in Flash, unfortunately!
ScottOn 2/4/06, Teoti Graphix 
[EMAIL PROTECTED] wrote:



Hello,

I am going out on a limb here and would love someone to correct me if I am wrong.

The PopUpManager singleton class creates new top-level windows and places or 
removes those windows from the layer on top of all other visible windows. See 
the SystemManager for a description of the layering. It is used for popup 
dialogs, menus, and dropdowns in ComboBox and similar components.  - LiveDocs

When even using Flash, the PopUpManager class was not designed to
actually create a window array. A popup is different from actual
'windows'. A window array is it's own reality all together.

Use the PopUpManager for things that need to 'catch' users focus because of some interaction by them.

For what you are doing, I would say create a component IE Panel like
your where, create a quasi manager and use addChild(), addChildAt(),
setChildIndex() which is just like using setDpeth() now.

Play with the Windows that way.

If I am wrong, I guess I do not fully understand the implied implementation of the PopUpManager.

Peace, Mike
On 2/3/06, Scott Langeberg 

[EMAIL PROTECTED] wrote:




Anyone found how to control the depths of windows created in such a manner?:   private var p1:IFlexDisplayObject;   private var p2:IFlexDisplayObject;  private function init() {
  
 p1 = PopUpManager.createPopUp(this, comps.TestPanel,
false);  
 p2 = PopUpManager.createPopUp(this, comps.TestPanel,
false); }I want to be able to overlap popups and exchange their depths, so the one clicked overlaps all others.
-- : : ) Scott






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt



Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com











  
  
SPONSORED LINKS
  
  
  




Web site design development
  
  



Computer software development
  
  



Software design and development
  
  





Macromedia flex
  
  



Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.


  To unsubscribe from this group, send an email to:


[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.




  















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

.



  








-- : : ) Scott

-- : : ) Scott






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] setMask

2006-02-04 Thread Dmitry Miller
Working on a component with a custom shaped border. I thnk this can be
accomplished by setMask method. I could not find any good
documentation on how exactly masking works in Flex/Flash. Could
someone provide an example or point to a good documentation, please? 

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] Re: How to use SharedObject.getRemote with Flex 2 / AS3

2006-02-04 Thread flexargg
Hi Brian,

After adding your three lines, SharedObject.getRemote return NULL 
again !!!

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

 Totally wild guess, but trying adding these three lines after your 
 import statements:
 
 NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
 NetStream.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
 SharedObject.defaultObjectEncoding  = flash.net.ObjectEncoding.AMF0;
 
 For what it's worth I posted a small sample app that does a some 
basic 
 NetConnection and NetStream stuff here:
 
 http://flash-communications.net/technotes/fms2/flex2FMS/index.html
 
 It does not include SharedObject code.
 
 Yours truly,
 -Brian
 
 
 flexargg wrote:
 
 I have written the following code and SharedObject.getRemote 
return 
 NULL !!! 
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
 width=100% height=100% creationComplete=initApp()
 mx:Script
 ![CDATA[
  import flash.media.*;
  import flash.net.*; 
  import mx.controls.Alert;
 
  public var nc_client:NetConnection;
  public var so:SharedObject;
 
  public function initApp():void {
nc_client=new NetConnection(); 
nc_client.connect(rtmp://localhost/testAS3,);
nc_client.addEventListener
 (NetStatusEvent.NET_STATUS,netStatusHandler);
  }
 
  public function netStatusHandler(event:NetStatusEvent):void {
var info:Object = event.info;
if (info.code == NetConnection.Connect.Success) {
so=SharedObject.getRemote(so, nc_client.uri, false);
if (so==null) mx.controls.Alert.show('SharedObject.getRemote 
 return NULL');
   }
  }
 ]]
 /mx:Script 
 /mx:Application 
 
 
 
 
 
 
 
 
 --
 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
 
 
 
  
 
 
   
 
 
 
 -- 
 
__
 Brian Lesser
 Assistant Director, Teaching and Technology Support
 Computing and Communications Services
 Ryerson University
 350 Victoria St.
 Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
 M5B 2K3Fax: (416) 979-5220
 Office: AB48D  E-mail: [EMAIL PROTECTED]
 (Enter through LB66)   Web: 
http://www.ryerson.ca/~blesser
 
__







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

2006-02-04 Thread ze_fsaldanha
Hi

I am new to flex and now I play around with some ex. of samples and in 
companyapp where is de data dont have xml file no database, the data 
is stored in remoteObject in a classe .as file?

some Help needed 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] Re: flex companyapp example

2006-02-04 Thread ccoenraets
We use an embedded HSQLDB database for the Enterprise Services samples.
See CompanyAssembler.java and CompanyDAO.java for more details on data
access in that specific application.

Christophe

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

 Hi
 
 I am new to flex and now I play around with some ex. of samples and in 
 companyapp where is de data dont have xml file no database, the data 
 is stored in remoteObject in a classe .as file?
 
 some Help needed 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] Re: flex companyapp example

2006-02-04 Thread ze_fsaldanha
Ok now I see

Thanks Christophe



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

 We use an embedded HSQLDB database for the Enterprise Services 
samples.
 See CompanyAssembler.java and CompanyDAO.java for more details on 
data
 access in that specific application.
 
 Christophe
 
 --- In flexcoders@yahoogroups.com, ze_fsaldanha ze_fsaldanha@
 wrote:
 
  Hi
  
  I am new to flex and now I play around with some ex. of samples 
and in 
  companyapp where is de data dont have xml file no database, the 
data 
  is stored in remoteObject in a classe .as file?
  
  some Help needed 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] How to fix multiselected drag drop!

2006-02-04 Thread flexhtoo
Hi,


If multipleSelection property of List that can multiselected list but
multiselected list can't drag into other List?

How would we do?Thanks

Pls!


===
CODE
===
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
xmlns=* layout=horizontal
creationComplete=complete();
mx:Script
![CDATA[
private var data:Array = [One,

Two,

Three,

Four,

Five,

Six,

Seven,

Eight,

Nine,

Ten];

public function complete():void {
src.dataProvider  = data;   
}
]]
/mx:Script
mx:List id=src width=100 height=200 
dragEnabled=true dropEnabled=true dragMoveEnabled=true
multipleSelection=true/
mx:List id=dest width=100 height=200 
dragEnabled=true dropEnabled=true dragMoveEnabled=true
multipleSelection=true/
/mx:Application

===
Here is errors!
===

Error: Cannot insert when current is beforeFirst
at
mx.collections::ListCollectionViewCursor/insert()[C:\dev\beta1\sdk\frameworks\mx\collections\ListCollectionViewCursor.as:315]
at
mx.controls.listclasses::ListBase/dragDropHandler()[C:\dev\beta1\sdk\frameworks\mx\controls\listclasses\ListBase.as:3701]
at flash.events::EventDispatcher/dispatchEvent()
at
C:\dev\beta1\sdk\frameworks\mx\collections\ClassicSort.as$544::DragProxy/mouseUpHandler()[C:\dev\beta1\sdk\frameworks\mx\managers\DragManager.as:985]






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