[flexcoders] createClassObject || Create dynamically series of buttons in AS components

2005-08-23 Thread david_gal-reyniez





Hi 
everybody,

I need your advises 
concerning the development of customized component.
I would like 
totransform this following code that I did in my mxml component into a in 
actionscript coded component :
mx:Repeaterid="rpTreeExpandCollapse"dataProvider="{ 
arrTreeExpandCollapseBtn }" 
cp:CustomizedButtonid="btnTreeExpandCollapse"styleName="button"icon="{ 
arrTreeExpandCollapseBtn[rpTreeExpandCollapse.currentIndex].icon 
}"toolTip="{ 
arrTreeExpandCollapseBtn[rpTreeExpandCollapse.currentIndex].tooltip}"width="28"mouseOverEffect="Fade"tabEnabled="true" 
/mx:Spacer 
width="3" //mx:Repeater

Do I have to use the 
loop for(var i:Number=0; imyArray.length;I++)
{
 // Here the component CustomizedButtonif (CustomizedButton== 
undefined)createClassObject(CustomizedButton,"myButton",3,{text: 
myArray[i],});
}

or do I have to 
create a Repeater in which I'm going to use createClassObject() or 
createChildren().
Thanks in advance 
for your help.

David
** 

Coface facilite les echanges entre les entreprises partout dans le monde. Pour cela, elle offre a toutes les entreprises des solutions pour gerer, financer et proteger leur poste client, en leur permettant d'externaliser tout ou partie de la gestion et des risques lies a leurs relations commerciales. Coface est notee AA par Fitch Ratings et Aa3 par Moody's. 

Pour en savoir plus, http://www.coface.fr 

 

Coface facilitates business-to-business commerce worldwide. It offers all size companies an array of solutions to manage, finance, and protect their accounts receivables affording them the option of fully or partly outsourcing trade relationship management and attendant risks. Coface is rated AA by Fitch ratings and Aa3 by Moody's. 

More about Coface, http://www.coface.com 

 

WARNING :  

- Soyez conscient que notre systeme Anti-Spam peut parfois rejeter des messages, soit parce que certains mots et types de fichiers ne sont pas acceptes, ou bien parce que le mail n'a pas ete identifie correctement. 

- Be aware that from time to time our Anti-Spam system may reject mails either because some words and types of files are not allowed or because mails are misidentified.  

**  





--
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] Calling functions

2005-08-23 Thread david_gal-reyniez





Prasad,

What I may say about your code :

- the function line contains moveTo that you call 
each time you call the method line(). It's not a good 
practise.
moveTo is use at the beginning to set the first x,y 
coordinates, then you use lineTo to draw the shape you 
want.

- arrow seems to be a reserved 
name

- you must createEmptyMovieClip into a control 
otherwise your Movieclip is overrided by the 
application

I hope that it will help 
you!
David

function fArrow(x1:Number, y1:Number, x2:Number, y2:Number, 
size:Number, sharpness:Number, obj:Object):Void{var 
lines:MovieClip = new MovieClip();lines = 
obj.createEmptyMovieClip("line_mc", -1);var 
w:Number = x2 - x1;var h:Number = y2 - y1;var 
l:Number = Math.sqrt(w * w + h * h);// Alert.show("w : " + w + " 
h : " + h + "l : " + l, "__Message__", 
Alert.OK);// helpful for 
debugging, don't forget to import the concerned class;w *= size 
/ l;h *= size / l;var s:Number = 
Math.sin(sharpness);var c:Number = 
Math.cos(sharpness); 
with (lines) 
{lineStyle(1, 0x99, 
100);moveTo(x1, y1);lineTo(x2, 
y2);lineTo(x2 - w * c - s * h, y2 + w * s - h * 
c);lineTo(x2 - w * c + s * h, y2 - w * s - h * 
c);endFill();}}

 function drawlines( event:Object):Void 
{ fArrow(145, 25, 192, 88, 10, 0.4, 
event.target);}


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de Prasad 
DhananjayaEnvoyé: mardi 23 août 2005 11:53À: 
flexcoders@yahoogroups.comObjet: Re: [flexcoders] Calling 
functions
Hi,Thank you very much for the reply.I tried it. But 
still not working.(Didn't call "line()" and "arrow()" functions)Any other 
errors?Best 
Regards,Prasad?xml 
version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
mx:Panel width="732" title="MyPanel" 
 mx:Canvas id ="mycanvas" width="715" 
height="408" backgroundColor="#FF" 
initialize="drawlines(event.target)" 
/mx:Canvas/mx:Panelmx:Script 
![CDATA[function line(x1, y1, x2, y2) 
{ moveTo(x1, 
y1); lineTo(x2, 
y2);} function arrow(x1, y1, x2, y2, 
size, sharpness) { var w = x2 - 
x1; var h = y2 - 
y1; var l = Math.sqrt(w * w + h * 
h); w *= size / 
l; h *= size / 
l; var s = 
Math.sin(sharpness); var c = 
Math.cos(sharpness); line(x1, y1, x2, 
y2); line(x2, y2, x2 - w * c - s * h, y2 + w * 
s - h * c); line(x2, y2, x2 - w * c + s * h, 
y2 - w * s - h * c);} function drawlines(target) 
 { var 
lines = target.createEmptyMovieClip("line_mc", 
1); with 
(lines)  
 {  
  lineStyle(1, 0xff, 
100);  
  line(145, 25,192, 
88);  
  arrow(100, 100, 300, 300, 10, 
0.4); 
} 
}]]/mx:Script/mx:Application---- 
Hello,  You had several errors in your script, try this 
variant:   ?xml version="1.0" 
encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
 mx:Panel width="732" title="MyPanel"  
 mx:Canvas id ="mycanvas" width="715" 
height="408" backgroundColor="#FF" 
initialize="drawlines(event.target)"  
/mx:Canvas /mx:Panel  
mx:Script 
![CDATA[ function line(x1, y1, x2, 
y2)  {  
  trace("func 
line");  } 
  function 
arrow(x1, y1, x2, y2, size)  { 
  trace("func 
arrow");  } 
 function drawlines(target)  
 
{ var lines = 
target.createEmptyMovieClip("line_mc", 
1); 
with (lines)  
  { 
  
  lineStyle(1, 0xff, 100); 
  
  line(145, 25,192, 88); 
  
  arrow(100, 100, 300, 300, 10, 
0.4); 
} } ]] /mx:Script 
/mx:Application  Best regards Stanislav 
 On 8/23/05, Prasad Dhananjaya [EMAIL PROTECTED] 
wrote:  Hi All,I have a small 
question.  I want to call function "line()" and function "arrow()" 
from  function "drawlinesArrows()". I tried sevaral ways. But 
failed.  Can someone tell me how to do this?   
 Best Regards,  Prasad  (Absolute beginner of Flex 
 ActionScript)  
 
 ?xml version="1.0" encoding="utf-8"?  
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
  mx:Panel width="732" title="MyPanel"   
mx:Canvas id ="mycanvas" width="715" height="408" 
backgroundColor="#FF" 
 
initialize="drawlinesArrows(event.target)"  
/mx:Canvas  /mx:Panel
mx:Script  ![CDATA[ 
 function line(x1, y1, x2, y2) { moveTo(x1, 
y1); lineTo(x2, y2); }  function 
arrow(x1, y1, x2, y2, size) { . }   
 function drawlinesArrows(target) 

RE: [flexcoders] Flash Player quality setting

2005-08-23 Thread Matt Horn
If you're writing your application as a JSP, you can pass it as the value of a 
param tag:

flash source=myapp.swf
param name=quality value=BEST/
/flash

This adds a param to the object/embed tags in the HTML wrapper for you. 

If you're not using the JSP tag lib, you can manually edit the wrapper. There's 
a section in the docs on the HTML wrapper:
http://livedocs.macromedia.com/flex/15/flex_docs_en/0923.htm

Hth,
Matt Horn
Flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
 Sent: Monday, August 22, 2005 9:12 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flash Player quality setting
 
 It's global so anywhere.
 
 However, do it it your Application's main method.
 
 - Original Message -
 From: superabe superabe [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Monday, August 22, 2005 8:51 PM
 Subject: Re: [flexcoders] Flash Player quality setting
 
 
 Where would you set _quality=BEST?
 
 on the Application tag ?
 in flex_config ?
 
 where :-)
 
 - superabe
 
 
 On 8/22/05, JesterXL [EMAIL PROTECTED] wrote:
  _quality = BEST;
 
  - Original Message -
  From: superabe superabe [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Monday, August 22, 2005 7:02 PM
  Subject: [flexcoders] Flash Player quality setting
 
 
  Hello List,
 
  Anybody know how/where I can  set the Flash player's 
 quality property to
  best.
  This is for a Flex app.
 
  Typically for Flash I would set it in the object tags in the html
  container page, but am not sure how to do that for Flex
 
  Thanks,
 
  - superabe
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 font face=arial size=-1a 
 href=http://us.ard.yahoo.com/SIG=12hdqo48k/M=362131.6882499.7
 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124766710
 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
 Get Bzzzy! (real tools to help you find a job) Welcome to 
 the Sweet Life - brought to you by One Economy/a./font
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hloal0o/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124811348/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Calling functions

2005-08-23 Thread Stanislav Zayarsky
Actually it call's functions line() and arrow(),  but you forgot
to mention where application should draw line!!

function line(x1, y1, x2, y2) {
  moveTo(x1, y1);
  lineTo(x2, y2);
}

it should look like 

movie_clip.moveTo(x1,y1);
movie_clip.lineTo(x1,y1);

You need to send additional parameter to line function that contain
movieclip where you want to draw that line!

Best regards
Stanislav Zayarsky


On 8/23/05, david_gal-reyniez [EMAIL PROTECTED] wrote:
  
 Prasad, 
   
 What I may say about your code : 
   
 - the function line contains moveTo that you call each time you call the
 method line(). It's not a good practise. 
 moveTo is use at the beginning to set the first x,y coordinates, then you
 use lineTo to draw the shape you want. 
   
 - arrow seems to be a reserved name 
   
 - you must createEmptyMovieClip into a control otherwise your Movieclip is
 overrided by the application 
   
 I hope that it will help you! 
 David 
   
 function fArrow(x1:Number, y1:Number, x2:Number, y2:Number, size:Number,
 sharpness:Number, obj:Object):Void
  {
   var lines:MovieClip = new MovieClip();
   lines = obj.createEmptyMovieClip(line_mc, -1);
   
   var w:Number = x2 - x1;
   var h:Number = y2 - y1;
   var l:Number = Math.sqrt(w * w + h * h);
  //  Alert.show(w :  + w +  h :  + h + l :  + l, __Message__,
 Alert.OK);// helpful for debugging, don't forget to import the
 concerned class;
   w *= size / l;
   h *= size / l;
   var s:Number = Math.sin(sharpness);
   var c:Number = Math.cos(sharpness);
 
   with (lines)
 {
lineStyle(1, 0x99, 100);
moveTo(x1, y1);
lineTo(x2, y2);
lineTo(x2 - w * c - s * h, y2 + w * s - h * c);
lineTo(x2 - w * c + s * h, y2 - w * s - h * c);
endFill();
   }
  } 
   
 function drawlines( event:Object):Void 
  {
fArrow(145, 25, 192, 88, 10, 0.4, event.target);
  }
  
  
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
 part de Prasad Dhananjaya
 Envoyé : mardi 23 août 2005 11:53
 À : flexcoders@yahoogroups.com
 Objet : Re: [flexcoders] Calling functions
 
  
 Hi,
 
 Thank you very much for the reply.
 I tried it. But still not working.(Didn't call line() and arrow()
 functions)
 Any other errors?
 
 Best Regards,
 Prasad
 
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application
 xmlns:mx=http://www.macromedia.com/2003/mxml; 
 mx:Panel width=732 title=MyPanel 
   mx:Canvas id =mycanvas width=715 height=408
 backgroundColor=#FF initialize=drawlines(event.target)
   /mx:Canvas
 /mx:Panel
 
 mx:Script
 ![CDATA[
 function line(x1, y1, x2, y2) {
   moveTo(x1, y1);
   lineTo(x2, y2);
 }
   
 function arrow(x1, y1, x2, y2, size, sharpness) {
   var w = x2 - x1;
   var h = y2 - y1;
   var l = Math.sqrt(w * w + h * h);
   w *= size / l;
   h *= size / l;
   var s = Math.sin(sharpness);
   var c = Math.cos(sharpness);
   line(x1, y1, x2, y2);
   line(x2, y2, x2 - w * c - s * h, y2 + w * s - h * c);
   line(x2, y2, x2 - w * c + s * h, y2 - w * s - h * c);
 }
 
 function drawlines(target) 
   {
var lines = target.createEmptyMovieClip(line_mc, 1);
with (lines)
{
  lineStyle(1, 0xff, 100);
  line(145, 25,192, 88);
  arrow(100, 100, 300, 300, 10, 0.4);
}
}
 ]]
 /mx:Script
 /mx:Application
 
 
 
 
 
  Hello,
  
  You had several errors in your script, try this variant:
  
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application
 xmlns:mx=http://www.macromedia.com/2003/mxml; 
  mx:Panel width=732 title=MyPanel 
mx:Canvas id =mycanvas width=715 height=408
  backgroundColor=#FF initialize=drawlines(event.target)
/mx:Canvas
  /mx:Panel
  
  mx:Script
  ![CDATA[
  function line(x1, y1, x2, y2)
{ 
  trace(func line);
}

  function arrow(x1, y1, x2, y2, size)
{
  trace(func arrow);
}
  
  function drawlines(target) 
{
 var lines = target.createEmptyMovieClip(line_mc, 1);
 with (lines)
 {
   lineStyle(1, 0xff, 100);
   line(145, 25,192, 88);
   arrow(100, 100, 300, 300, 10, 0.4);
 }
 }
  ]]
  /mx:Script
  /mx:Application
  
  Best regards
  Stanislav
  
  On 8/23/05, Prasad Dhananjaya [EMAIL PROTECTED] wrote:
   Hi All,
   
   I have a small question.
   I want to call function line() and function arrow() from
   function drawlinesArrows(). I tried sevaral ways. But failed.
   Can someone tell me how to do this?
   
   Best Regards,
   Prasad
   (Absolute beginner of Flex  ActionScript

Re: [flexcoders] Flex App with RSL fails in Standalone Flash Player

2005-08-23 Thread Stanislav Zayarsky
So is it possible to run that app with rsl from standalone player? If
so, can you please create some sample with crossdomain.xml file?

Best Regards
Stanislav Zayarsky

On 8/23/05, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
 
 You might need a crossdomain.xml file available since the standalone is not
 considered to be running from the same location as localhost in all
 likelihood. 
 
   
 
 What happens if you open up the standalone player, then use File - Open and
 hit http://localhost/pathtofile?  If it works I'm pretty sure the
 crossdomain.xml is gonna be it. 
 
   
 
 Matt 
 
   
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Kevin Broce
  Sent: Monday, August 22, 2005 2:42 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex App with RSL fails in Standalone Flash Player 
 
   
 
 I cannot get a simple Flex application to run in the standalone 
  Flash Player when an RSL is used.  
  
  This App (with RSL) runs SUCCESSFULLY when I load it in a browser 
  from my localhost web server.  Its only FAILING in the SA Flash 
  Player.  If I compile the App without the RSL, it runs correctly in 
  the SA Flash Player.
  
  I am compiling the App and RSL using the Flex command-line 
  compilers.  I am not using the runtime Flex server.
  
  Here's what happens when I run the App in the SA Flash Player:
  
  1) The Library preloader displays Library 1 of 1.  
  2) The Application preloader displays Initializing.  Progress bar 
  goes to 100% but preloader does not disappear.
  3) A very small black square with a green border appears in the 
  upper left corner of the Flash Player.  
  4) If I click the small black square, the border color changes to 
  pink.  The cursor changes to a hand symbol.
  
  ---
  myApp.mxml
  ---
  
  ?xml version=1.0 encoding=iso-8859-1?
  mx:Application
 xmlns:mx=http://www.macromedia.com/2003/mxml; 
  width=100% height=100%
  rsl=myRSL.sws
  
  mx:Panel title=RSL Issue Test width=100% height=100% 
mx:Button label=App Has Loaded! /
  /mx:Panel
  
  /mx:Application
  
  ---
  myRSL.sws
  ---
  
  library url=http://localhost/myApp/myRSL.swf;
component name=Application 
  uri=http://www.macromedia.com/2003/mxml; /
component name=foo uri=* /
  /library
  
  All the files are located in the same folder.  
  
  Again:  This App runs successfully in the browser!
  
  Any comments or advice will be most appreciated.  
  
  Roger G.:  PLEASE 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 
 
  
 
  
  SPONSORED LINKS 
  Computer software testing Macromedia flex Development 
  Software developer 
  
  
  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. 
  
  



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hvh8jcr/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124814648/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Need help defining named service using HTTPS

2005-08-23 Thread terry_hrtn
I have a web service running on HTTPS, and I'm trying to define it as a 
named service in my flex-config.xml file.  How do I change the protocol 
from http to https ( protocol=https) in flex-config.xml?

service name=myService
  wsdlhttps://localhost/myService/MyService.asmx?WSDL/wsdl
endpoints
  endpointhttps://localhost/myService/myService.asmx/endpoint
/endpoints
use-custom-authenticationfalse/use-custom-authentication
/service





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hhfrvvo/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124819871/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] OH, For the love of all that's good, please help!

2005-08-23 Thread bsd










Im still trying to figure this out. Anyone
whos had experience with this issue and found a solution, your help
would be appreciated






I'm passing an array from Flex to a web service
located in a CFC.
It returns an error that states:

org.xml.sax.SAXException: No deserializer
for array type 


I've tried any number of workarounds to no avail,
including:

1. including
the array as part of a structure that is passed to
the cfc (the structure by itself passes fine)

2. sending the
array as a separate argument to the cfc

3. creating a
separate method within the cfc to handle the array

4. trying the
data types array, object, structure, and any to
handle the array











Brad Dardaganian









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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Returning multiple recordsets from CFC only returns first recordset

2005-08-23 Thread coldfs
Hi,

I'm trying to call a CFC that returns multiple array of structure 
recordsets.  I don't get any errors but only the first recordset is 
returned.  Does anyone have any ideas?

BTW, I'd be happy to use VO instead, but I've given-up trying to 
figure this out...it's beyond this newbies grasp.

Many thanks,
Darius

CFC

cfcomponent

cffunction name=invUpdateAuthorization access=remote 
returnType=Array
cfargument name=Input required=true type=Array
cfset var arrResult = ArrayNew(1)/ 
cfset var arrResult2 = ArrayNew(1)/ 
cfset var arrResult3 = ArrayNew(1)/
cfset Attributes.AuthorizedUserId = input[1] 
cfset Attributes.CCode = input[2] 
cfset Attributes.CFlag = input[3] 
cfset Attributes.COrderAvailableFlag = input[4] 

cfinclude template=qry_UpdateAuthorization.cfm

cfoutput query=qGetUpdateAuthorization
cfset stItem = StructNew()/
cfset stItem[Function] = 
#qGetUpdateAuthorization.Function#
cfset stItem[Description] = 
#qGetUpdateAuthorization.Description#
cfset arrayAppend(arrResult,stItem)/ 
/cfoutput

cfoutput query=qGetUpdateAuthorization
cfset stItem = StructNew()/
cfset stItem[Function] = 
#qGetUpdateAuthorization.Function#
cfset stItem[Description] = 
#qGetUpdateAuthorization.Description#
cfset arrayAppend(arrResult2,stItem)/ 
/cfoutput

cfset arrayAppend(arrResult3,arrResult)
cfset arrayAppend(arrResult3,arrResult2)

   cfreturn arrResult3/  

/cffunction

/cfcomponent

As
-
private function handleResult(result:Array):Void{
var result:Array = result[0];
var result2:Array = result[1];
Updates.dataProvider = result;
Tasks.dataProvider = result2;
}





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h779vhf/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124823590/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Need help defining named service using HTTPS

2005-08-23 Thread Shahnavaz Alware

Hi,

You will also need to set https-url in Web-Service-proxy element

https-url{context.root}/flashproxy/https-url

Thanks

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of terry_hrtn
Sent: Tuesday, August 23, 2005 8:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need help defining named service using HTTPS

I have a web service running on HTTPS, and I'm trying to define it as a 
named service in my flex-config.xml file.  How do I change the protocol 
from http to https ( protocol=https) in flex-config.xml?

service name=myService
  wsdlhttps://localhost/myService/MyService.asmx?WSDL/wsdl
    endpoints
  endpointhttps://localhost/myService/myService.asmx/endpoint
    /endpoints
    use-custom-authenticationfalse/use-custom-authentication
/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 
Computer software testing 
Macromedia flex 
Development 
Software developer 




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. 






 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h3mrrl3/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124824592/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Strange behavior of the scroll bar in the Panel

2005-08-23 Thread maricnkg
What am I doing wrong that the scroll bar is not showing last 2 
labels???
--START OF THE CODE
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
width=400 height=100% vScrollPolicy=off 
hScrollPolicy=off

mx:Model id=res source=resource.xml/

mx:Panel  title={res.title} width=100% height=200 
vScrollPolicy=on
mx:Label text=a height={res.height}/
mx:Label text= 
height={res.height}/
mx:Label text=cc 
height={res.height}/
mx:Label text=dd 
height={res.height}/
mx:Label text=e 
height={res.height}/
mx:Label text= 
height={res.height}/
mx:Label text= height={res.height}/
mx:Label text=hhh 
height={res.height}/
mx:Label text=iii 
height={res.height}/
mx:Label text= 
height={res.height}/
mx:Label text= 
height={res.height}/
mx:Label text=ll 
height={res.height}/
mx:Label text=mm 
height={res.height}/
mx:Label text=nnn 
height={res.height}/
mx:Label text=ooo 
height={res.height}/
mx:Label text=p height={res.height}/
mx:Label text=r 
height={res.height}/


mx:ControlBar horizontalAlign=center
mx:Label text={res.control_bar_text}/
/mx:ControlBar
/mx:Panel

/mx:Application
--END OF THE CODE

Thanks,
-Marcin




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h21h2kg/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124826464/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] OH, For the love of all that's good, please help!

2005-08-23 Thread Sean McKibben


I ran into this as well. Looking at the SOAP encoded message, it appeared to me that flex wasn't making clean SOAP (pun definitely intended).When we switched over to using the CFC's RemoteObject instead of the WebService, things started working again. Wasn't too hard of a switch, and I'll take the NetConnectionDebugger over paging through SOAP any day. (still wish webservice serializing worked better...)See my "Flex serializer vs CF7 deserializer" post thread or the "Collections between Flex and Web services" thread for some possible workarounds that didn't work for me...Sean McKibbenOn Aug 23, 2005, at 10:29 AM, bsd wrote: I'm passing an array from Flex to a web service located in a CFC. It returns an error that states:  "org.xml.sax.SAXException: No deserializer for array type"   





--
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: Need help defining named service using HTTPS

2005-08-23 Thread terry_hrtn
https-url is already set, still no response.  I can hit it directly 
in IE but get an error message that says Could not load WSDL: Server 
java.lang.RuntimeException: Invalid URL - can't access HTTPS URLs 
when accessing proxy via HTTP
tlh

--- In flexcoders@yahoogroups.com, Shahnavaz Alware [EMAIL PROTECTED] 
wrote:
 
 Hi,
 
 You will also need to set https-url in Web-Service-proxy 
element
 
 https-url{context.root}/flashproxy/https-url
 
 Thanks
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of terry_hrtn
 Sent: Tuesday, August 23, 2005 8:56 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Need help defining named service using HTTPS
 
 I have a web service running on HTTPS, and I'm trying to define it 
as a 
 named service in my flex-config.xml file.  How do I change the 
protocol 
 from http to https ( protocol=https) in flex-config.xml?
 
 service name=myService
   wsdlhttps://localhost/myService/MyService.asmx?WSDL/wsdl
     endpoints
   
endpointhttps://localhost/myService/myService.asmx/endpoint
     /endpoints
     use-custom-authenticationfalse/use-custom-authentication
 /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 
 Computer software testing 
 Macromedia flex 
 Development 
 Software developer 
 
 
 
 
 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. 
 
 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h8hp784/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124827918/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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: OH, For the love of all that's good, please help!

2005-08-23 Thread Rajesh Jayabalan
Hey,

 We ran into the same problem, the wsdl is generated corretly but the
object which has an arry in it is not serialized correctly by flex, so
now we have no choice but to call the services twice.

Rajesh J

--- In flexcoders@yahoogroups.com, Sean McKibben [EMAIL PROTECTED] wrote:
 I ran into this as well. Looking at the SOAP encoded message, it  
 appeared to me that flex wasn't making clean SOAP (pun definitely  
 intended).
 
 When we switched over to using the CFC's RemoteObject instead of the  
 WebService, things started working again. Wasn't too hard of a  
 switch, and I'll take the NetConnectionDebugger over paging through  
 SOAP any day. (still wish webservice serializing worked better...)
 
 See my Flex serializer vs CF7 deserializer post thread or the  
 Collections between Flex and Web services thread for some possible  
 workarounds that didn't work for me...
 
 Sean McKibben
 
 
 On Aug 23, 2005, at 10:29 AM, bsd wrote:
 
 
  I'm passing an array from Flex to a web service located in a CFC.
  It returns an error that states:
 
  org.xml.sax.SAXException: No deserializer for array type





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hagukkn/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124828225/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

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

2005-08-23 Thread Mehdi, Agha
Title: ModelLocator







Hi All,

How does ModelLocator work? I am looking at the sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are bound to views and Commands manipulate ModelLocator to update views. Is ModelLocator available to the entire application once it gets initialized on the root level? If it works like that then it means that I'd hardly ever need ViewLocators??? I can create models, initialize them in ModelLocator and use them wherever I want in the app?

Thanks


Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766









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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Error deploying flex application to Weblogic server

2005-08-23 Thread Parekh, Shweta - BLS CTR
Hi,

I am trying to deploy my flex application in the form of an ear file to
WebLogic 8.1 server through the console. While deployment, I get the
following error. Strangely when the application is put in applications
folder on the server in an exploded format, the application runs fine.
The error that I get on deployment is:

Aug 22, 2005 4:49:26 PM EDT Error HTTP PAREKH_S-DPPS cgServer
ExecuteThread: '3' for queue: 'weblogic.kernel.System' WLS Kernel 
BEA-101165 Could not load user defined filter in web.xml:
flex.bootstrap.BootstrapFilter.
javax.servlet.ServletException: flex.server.j2ee.DetectionFilter
at
flex.bootstrap.BootstrapFilter.init(Ljavax.servlet.FilterConfig(BootstrapFil
ter.java:53)
at
weblogic.servlet.internal.WebAppServletContext$FilterInitAction.run()Ljava.l
ang.Object;(WebAppServletContext.java:6745)

Also, the weblogic server is not able to preload the flex servlets. I gte
the following error for all flex servlets defined in web.xml
Aug 22, 2005 5:07:09 PM EDT Error HTTP PAREKH_S-DPPS cgServer
ExecuteThread: '1' for queue: 'weblogic.kernel.System' WLS Kernel 
BEA-101216 Servlet: AMFGatewayServlet failed to preload on startup in
Web application: ppi.javax.servlet.ServletException: Unable to load
configuration. Reason: nullat
weblogic.servlet.internal.ServletStubImpl.createServlet()Ljavax.servlet.Serv
let;(ServletStubImpl.java:919)

My web.xml for filter and filter-mapping looks like this:

filter
filter-nameFlexDetectionFilter/filter-name
filter-classflex.bootstrap.BootstrapFilter/filter-class
init-param
param-namefilter.class/param-name
param-valueflex.server.j2ee.DetectionFilter/param-value
/init-param
/filter

filter
filter-nameFlexCacheFilter/filter-name
filter-classflex.bootstrap.BootstrapFilter/filter-class
init-param
param-namefilter.class/param-name
param-valueflex.server.j2ee.cache.CacheFilter/param-value
/init-param
/filter

filter-mapping
filter-nameFlexDetectionFilter/filter-name
servlet-nameFlexMxmlServlet/servlet-name
/filter-mapping

filter-mapping
filter-nameFlexCacheFilter/filter-name
servlet-nameFlexMxmlServlet/servlet-name
/filter-mapping

filter-mapping
filter-nameFlexCacheFilter/filter-name
servlet-nameFlexSwfServlet/servlet-name
/filter-mapping

Can anyone please tell me what I am missing here? Why is it not able to load
the filter and why are the servelts not being preloaded?
Thanks,
Shweta 



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hb2it3o/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124830306/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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 change dividedbox divider icon?

2005-08-23 Thread Jaime Bermudez
Hey guys,

Does any flexcoder out there know if/how I can change the divider icon
of a DividedBox?  I'm not talking about the dividerThickness,
dividerAlpha, etc. that controls how the line appears once the user
selects into the gap.  I really want to change the appearance of the
little multi-line bar that appears by default between the gap.  Any
ideas?

- Jaime


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hf2ih8h/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124830751/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

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

2005-08-23 Thread Mercer, Dustin
Title: ModelLocator










Exactly. I found after implementing the
ModelLocator, I pretty much wiped out the need for ViewHelpers. The only thing
I use the ViewHelpers for now is setting focus on fields! It makes things a
lot more organized and simplified. You are right though. Just initialize it
in the app init event and you will be able to use it anywhere, anytime.



Dustin Mercer











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha
Sent: Tuesday, August 23, 2005
11:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ModelLocator





Hi All,

How does ModelLocator work? I am looking at the
sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are
bound to views and Commands manipulate ModelLocator
to update views. Is ModelLocator available to the entire application once it
gets initialized on the root level? If it works like that then it means that
I'd hardly ever need ViewLocators??? I can create models, initialize them in
ModelLocator and use them wherever I want in the app?

Thanks



Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766









--
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] how to change dividedbox divider icon?

2005-08-23 Thread Sreejith Unnikrishnan
Jaimie,

You may use the attached flash file that contains the divider clip.
After you make the required changes, export it from the library as a swc 
file.

Use it in your application as a theme.
Eg:
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
width=100% height=100% theme=assets\divider.swc

Sree


Jaime Bermudez wrote:

 Hey guys,

 Does any flexcoder out there know if/how I can change the divider icon
 of a DividedBox?  I'm not talking about the dividerThickness,
 dividerAlpha, etc. that controls how the line appears once the user
 selects into the gap.  I really want to change the appearance of the
 little multi-line bar that appears by default between the gap.  Any
 ideas?

 - Jaime


 --
 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
   http://groups.yahoo.com/group/flexcoders on the web.

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

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


 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hkr36g7/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124831924/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

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


divider.fla
Description: Binary data


RE: [flexcoders] Error deploying flex application to Weblogic server[ Parekh, Shweta ]

2005-08-23 Thread Shahnavaz Alware










Hi Parekh,



Below is the reply we received recently from Macromedia about
deploying Flex-Apps on Weblogic 8.1. Its a reported bug.





-

Reply from Brian at Macromedia





The bug numbers are only internal to
Macromedia. I provided it here just for reference when talking with
someone from Macromedia. I know of no complete workarounds other than
expanding the war. Idid talk to someone who worked on the issue,
and she said that if you are only using RemoteObject (not
WebService/HTTPServlet) and precompile your SWFs (that is, not using.mxml
directly ever on the production machine, so you have to save the HTML wrapper
as well), then you don't run into this problem. I don't know how widely
this workaround is being used or tested, however, so your mileage may vary.



-Brian









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shahnavaz Alware
Sent: Thursday, July 28, 2005 7:57
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Trouble
Deploying on WebLogic 8.1 [ Brian Deitte ]

Hi Brian 



Are the
internal bug numbers public, or are they only internal to Macromedia? Are
there any work arounds for this bug besides deploying exploded?



Thanks,



Shahnavaz







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian Deitte
Sent: Tuesday, July 26, 2005 9:40
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Trouble
Deploying on WebLogic 8.1



Yes this is a known issue (internal bug
number 93750). I believe this is documented but don't have a reference to
it. -Brian









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Kuncl
Sent: Tuesday, July 26, 2005 11:58
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Trouble
Deploying on WebLogic 8.1

I am having trouble deploying a Flex web
app on WebLogic. It deploys fine if I expand the war file and hot deploy,
but when the app is bundled in a war file inside an ear file the servlets fail
to load.



Can a Flex web app only be deployed
expanded on WebLogic?














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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







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

2005-08-23 Thread Mehdi, Agha
Title: ModelLocator










Great. That sounds exciting and a very
good approach. The way Im implementing is that I have a ModelLocator,
which has models as properties. Now should those individual models make the
ValueObjects available to views or just their own properties? Why I am leaning
towards VOs is so that its easier for me to send them over to CF. Does
that sound ok?



Thanks



Agha Mehdi 
IDT - eBusiness Program Manager 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin
Sent: Tuesday, August 23, 2005
11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ModelLocator





Exactly. I found after implementing
the ModelLocator, I pretty much wiped out the need for ViewHelpers. The
only thing I use the ViewHelpers for now is setting focus on fields! It
makes things a lot more organized and simplified. You are right
though. Just initialize it in the app init event and you will be able to
use it anywhere, anytime.



Dustin Mercer











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha
Sent: Tuesday, August 23, 2005
11:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ModelLocator





Hi All,

How does ModelLocator work? I am looking at the
sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are
bound to views and Commands manipulate ModelLocator
to update views. Is ModelLocator available to the entire application once it
gets initialized on the root level? If it works like that then it means that
I'd hardly ever need ViewLocators??? I can create models, initialize them in
ModelLocator and use them wherever I want in the app?

Thanks



Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766










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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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 change dividedbox divider icon?

2005-08-23 Thread Jaime Bermudez
Thanks Sree.  I forwarded the .FLA file to a Flash developer here and
we're going to work on it later this week.  Should be a neat learning
experience and may lead to other reskinning.

- Jaime

On 8/23/05, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote:
 Jaimie,
 
 You may use the attached flash file that contains the divider clip.
 After you make the required changes, export it from the library as a swc
 file.
 
 Use it in your application as a theme.
 Eg:
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 width=100% height=100% theme=assets\divider.swc
 
 Sree
 
 
 Jaime Bermudez wrote:
 
  Hey guys,
 
  Does any flexcoder out there know if/how I can change the divider icon
  of a DividedBox?  I'm not talking about the dividerThickness,
  dividerAlpha, etc. that controls how the line appears once the user
  selects into the gap.  I really want to change the appearance of the
  little multi-line bar that appears by default between the gap.  Any
  ideas?
 
  - Jaime
 
 
  --
  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
http://groups.yahoo.com/group/flexcoders on the web.
 
  *  To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 
  *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/.
 
 
  
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hdbdhf1/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124835985/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

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

2005-08-23 Thread Shahnavaz Alware
Title: ModelLocator










Hi Mehdi



To use ModelLocator and transfer VO is perfectly fine. 

Eg. I have a Datagrid dp=ModelLocator.organizations
and when I select in the datagrid I have ModelLocator.organization =
SelectedItem which I send to my J2EE server in your case CF.



import com.VO.*;



class model.ModelLocator implements
org.nevis.cairngorm.model.ModelLocator {

 

 public static function initialise()
: Void {

 }



//

 

public static var
organizations : Array;

public static var
organization : OrganizationalUnitVO;



}











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Tuesday, August 23, 2005
12:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ModelLocator





Great. That sounds exciting and a very
good approach. The way Im implementing is that I have a ModelLocator,
which has models as properties. Now should those individual models make the
ValueObjects available to views or just their own properties? Why I am leaning
towards VOs is so that its easier for me to send them over to CF. Does
that sound ok?



Thanks



Agha Mehdi 
IDT - eBusiness Program Manager 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mercer, Dustin
Sent: Tuesday, August 23, 2005
11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ModelLocator





Exactly. I found after implementing
the ModelLocator, I pretty much wiped out the need for ViewHelpers. The
only thing I use the ViewHelpers for now is setting focus on fields! It
makes things a lot more organized and simplified. You are right
though. Just initialize it in the app init event and you will be able to
use it anywhere, anytime.



Dustin Mercer











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Tuesday, August 23, 2005
11:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ModelLocator





Hi All,

How does ModelLocator work? I am looking at the
sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are
bound to views and Commands manipulate ModelLocator
to update views. Is ModelLocator available to the entire application once it gets
initialized on the root level? If it works like that then it means that I'd
hardly ever need ViewLocators??? I can create models, initialize them in
ModelLocator and use them wherever I want in the app?

Thanks



Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766











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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Error with populationg a Datagrid

2005-08-23 Thread Jeremy Rottman
I have written a cfc to pull data from my data base and I am calling
this as a ws to be displayed in my datagrid. But when I try to compile
the code I get this error.

There is no property with the name 'userlist'

Here is my mxml code and cfc code.
---MXML---
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:WebService id=srv
wsdl=http://test.codepirates.com/mls/FindEmployee.cfc?wsdl;
mx:operation name=employeeQuery
result=userlist=srv.employeeQuery.result /
/mx:WebService
mx:HBox width=100%
mx:Panel title=Restaurant List width=50%
mx:DataGrid id=dg dataProvider={userlist} width=100%
height=100%
mx:columns
  mx:Array
mx:DataGridColumn headerText=First Name 
columnName=fname /
mx:DataGridColumn headerText=Last Name 
columnName=lname /
mx:DataGridColumn headerText=UserName colum
nName=fld_userlogin /
  /mx:Array
/mx:columns
/mx:DataGrid
mx:ControlBar horizontalAlign=center
mx:Button label=Get Data click=srv.employeeQuery() 
/
/mx:ControlBar
/mx:Panel
/mx:HBox
/mx:Application


---CFC code---

cfcomponent displayName=FindEmployee 
   cffunction name=FindEmployeeSort access=remote  
   returnType=query output=false
  
   !--- FindEmployeeSort body ---
   cfquery name=employeeQuery datasource=cf_agentPortal
   Select * from tbl_agentPortal_users
   Order by lname asc 
/cfquery
 
cfreturn employeeQuery /
 
/cffunction
/cfcomponent





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h79kskk/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124841984/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] move scroll bar programmatically

2005-08-23 Thread maricnkg
how can I move scroll bar programmatically?
or
at least set it all the way up?





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hdiob9j/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124842016/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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: Error deploying flex application to Weblogic server[ Parekh, Shweta ]

2005-08-23 Thread shweta_parekh
Thanks Shahnavaz for the clarification. I have been struggling with 
this thing for the past two weeks. Hopefully there is a resolution 
soon...till then exploded form is the way to go.

Thanks for your input.

Shweta

--- In flexcoders@yahoogroups.com, Shahnavaz Alware [EMAIL PROTECTED] 
wrote:
 Hi Parekh,
 
  
 
 Below is the reply we received recently from Macromedia about 
deploying
 Flex-Apps on Weblogic 8.1. It's a reported bug.
 
  
 
  
 
 ---
 
 Reply from Brian at Macromedia
 
  
 
  
 
 The bug numbers are only internal to Macromedia.  I provided it 
here just
 for reference when talking with someone from Macromedia.  I know 
of no
 complete workarounds other than expanding the war.  I did talk to 
someone
 who worked on the issue, and she said that if you are only using
 RemoteObject (not WebService/HTTPServlet) and precompile your SWFs 
(that is,
 not using .mxml directly ever on the production machine, so you 
have to save
 the HTML wrapper as well), then you don't run into this problem.  
I don't
 know how widely this workaround is being used or tested, however, 
so your
 mileage may vary.
 
  
 
 -Brian
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Shahnavaz Alware
 Sent: Thursday, July 28, 2005 7:57 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Trouble Deploying on WebLogic 8.1 [ 
Brian Deitte ]
 
 Hi Brian 
 
  
 
 Are the internal bug numbers public, or are they only internal to
 Macromedia?  Are there any work arounds for this bug besides 
deploying
 exploded?
 
  
 
 Thanks,
 
  
 
 Shahnavaz
 
   _  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Brian Deitte
 Sent: Tuesday, July 26, 2005 9:40 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Trouble Deploying on WebLogic 8.1
 
  
 
 Yes this is a known issue (internal bug number 93750).  I believe 
this is
 documented but don't have a reference to it.  -Brian
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Kuncl
 Sent: Tuesday, July 26, 2005 11:58 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Trouble Deploying on WebLogic 8.1
 
 I am having trouble deploying a Flex web app on WebLogic.  It 
deploys fine
 if I expand the war file and hot deploy, but when the app is 
bundled in a
 war file inside an ear file the servlets fail to load.
 
  
 
 Can a Flex web app only be deployed expanded on WebLogic?
 
  
 
  
 
  
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Parekh, Shweta - BLS CTR
 Sent: Tuesday, August 23, 2005 11:48 AM
 To: 'flexcoders@yahoogroups.com'
 Subject: [flexcoders] Error deploying flex application to Weblogic 
server
 
  
 
 Hi,
 
 I am trying to deploy my flex application in the form of an ear 
file to
 WebLogic 8.1 server through the console. While deployment, I get 
the
 following error. Strangely when the application is put in 
applications
 folder on the server in an exploded format, the application runs 
fine.
 The error that I get on deployment is:
 
 Aug 22, 2005 4:49:26 PM EDT Error HTTP PAREKH_S-DPPS 
cgServer
 ExecuteThread: '3' for queue: 'weblogic.kernel.System' WLS 
Kernel 
 BEA-101165 Could not load user defined filter in web.xml:
 flex.bootstrap.BootstrapFilter.
 javax.servlet.ServletException: flex.server.j2ee.DetectionFilter
 at
 flex.bootstrap.BootstrapFilter.init(Ljavax.servlet.FilterConfig
(BootstrapFil
 ter.java:53)
 at
 weblogic.servlet.internal.WebAppServletContext$FilterInitAction.run
()Ljava.l
 ang.Object;(WebAppServletContext.java:6745)
 
 Also, the weblogic server is not able to preload the flex 
servlets. I gte
 the following error for all flex servlets defined in web.xml
 Aug 22, 2005 5:07:09 PM EDT Error HTTP PAREKH_S-DPPS 
cgServer
 ExecuteThread: '1' for queue: 'weblogic.kernel.System' WLS 
Kernel 
 BEA-101216 Servlet: AMFGatewayServlet failed to preload on 
startup in
 Web application: ppi.javax.servlet.ServletException: Unable to 
load
 configuration. Reason: nullat
 weblogic.servlet.internal.ServletStubImpl.createServlet()
Ljavax.servlet.Serv
 let;(ServletStubImpl.java:919)
 
 My web.xml for filter and filter-mapping looks like this:
 
 filter
 filter-nameFlexDetectionFilter/filter-name
 filter-classflex.bootstrap.BootstrapFilter/filter-class
 init-param
 param-namefilter.class/param-name
 param-valueflex.server.j2ee.DetectionFilter/param-value
 /init-param
 /filter
 
 filter
 filter-nameFlexCacheFilter/filter-name
 filter-classflex.bootstrap.BootstrapFilter/filter-class
 init-param
 param-namefilter.class/param-name
 param-valueflex.server.j2ee.cache.CacheFilter/param-value
 /init-param
 /filter
 
 filter-mapping
 filter-nameFlexDetectionFilter/filter-name
 servlet-nameFlexMxmlServlet/servlet-name
 /filter-mapping
 
 filter-mapping
 filter-nameFlexCacheFilter/filter-name
 servlet-nameFlexMxmlServlet/servlet-name
 /filter-mapping

RE: [flexcoders] Error with populationg a Datagrid

2005-08-23 Thread grady.haynes
You're not declaring the variable userlist.  (At least not in this
snippet of code.)

Try putting

private var userlist: Array;

inside mx:Script tags.

Grady Haynes
Senior Systems Engineer, IT Services
817.252.4891
[EMAIL PROTECTED]

Practitioners Publishing Company
A Thomson Business
801 Cherry Street, Suite 1300
Fort Worth, Texas 76102
ppc.thomson.com

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Tuesday, August 23, 2005 3:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Error with populationg a Datagrid

I have written a cfc to pull data from my data base and I am calling
this as a ws to be displayed in my datagrid. But when I try to compile
the code I get this error.

There is no property with the name 'userlist'

Here is my mxml code and cfc code.
---MXML---
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:WebService id=srv
wsdl=http://test.codepirates.com/mls/FindEmployee.cfc?wsdl;
mx:operation name=employeeQuery
result=userlist=srv.employeeQuery.result / /mx:WebService mx:HBox
width=100%
mx:Panel title=Restaurant List width=50%
mx:DataGrid id=dg dataProvider={userlist}
width=100%
height=100%
mx:columns
  mx:Array
mx:DataGridColumn headerText=First
Name columnName=fname /
mx:DataGridColumn headerText=Last
Name columnName=lname /
mx:DataGridColumn headerText=UserName
colum nName=fld_userlogin /
  /mx:Array
/mx:columns
/mx:DataGrid
mx:ControlBar horizontalAlign=center
mx:Button label=Get Data
click=srv.employeeQuery() /
/mx:ControlBar
/mx:Panel
/mx:HBox
/mx:Application


---CFC code---

cfcomponent displayName=FindEmployee 
   cffunction name=FindEmployeeSort access=remote  
   returnType=query output=false
  
   !--- FindEmployeeSort body ---
   cfquery name=employeeQuery datasource=cf_agentPortal
   Select * from tbl_agentPortal_users
   Order by lname asc 
/cfquery
 
cfreturn employeeQuery /
 
/cffunction
/cfcomponent





 Yahoo! Groups Sponsor ~--
font face=arial size=-1a
href=http://us.ard.yahoo.com/SIG=12h79kskk/M=362329.6886308.7839368.151
0227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124841984/A=2894321/R=0/SIG=1
1dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk
back!/a./font
~- 

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



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h8nul4n/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124843059/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] move scroll bar programmatically

2005-08-23 Thread Joan Tan
You can set hPosition for a horizontal scrollbar or vPosition for a
vertical scrollbar.

Joan 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of maricnkg
Sent: Tuesday, August 23, 2005 2:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] move scroll bar programmatically

how can I move scroll bar programmatically?
or
at least set it all the way up?





 Yahoo! Groups Sponsor ~--
font face=arial size=-1a
href=http://us.ard.yahoo.com/SIG=12hdiob9j/M=362329.6886308.7839368.151
0227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124842016/A=2894321/R=0/SIG=1
1dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk
back!/a./font
~- 

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



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hr77b7r/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124843399/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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: Need help defining named service using HTTPS

2005-08-23 Thread Shahnavaz Alware
Hi,

In https-url{context.root}/flashproxy/https-url replace the
“{context.root}” with your https://localhost/CONTEXT-ROOT

In my case I have Remote-Object 
amf-https-gatewayhttps://localhost:9443/core-product_web/amfgateway/amf-h
ttps-gateway
So if I would have used web-service 
https-urlhttps://localhost:9443/core-product_web/flashproxy/https-url

Thanks

Shahnavaz

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of terry_hrtn
Sent: Tuesday, August 23, 2005 11:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Need help defining named service using HTTPS

https-url is already set, still no response.  I can hit it directly 
in IE but get an error message that says Could not load WSDL: Server 
java.lang.RuntimeException: Invalid URL - can't access HTTPS URLs 
when accessing proxy via HTTP
tlh

--- In flexcoders@yahoogroups.com, Shahnavaz Alware [EMAIL PROTECTED] 
wrote:
 
 Hi,
 
 You will also need to set https-url in Web-Service-proxy 
element
 
 https-url{context.root}/flashproxy/https-url
 
 Thanks
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of terry_hrtn
 Sent: Tuesday, August 23, 2005 8:56 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Need help defining named service using HTTPS
 
 I have a web service running on HTTPS, and I'm trying to define it 
as a 
 named service in my flex-config.xml file.  How do I change the 
protocol 
 from http to https ( protocol=https) in flex-config.xml?
 
 service name=myService
   wsdlhttps://localhost/myService/MyService.asmx?WSDL/wsdl
     endpoints
   
endpointhttps://localhost/myService/myService.asmx/endpoint
     /endpoints
     use-custom-authenticationfalse/use-custom-authentication
 /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 
 Computer software testing 
 Macromedia flex 
 Development 
 Software developer 
 
 
 
 
 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 
Computer software testing 
Macromedia flex 
Development 
Software developer 




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. 






 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hilr2vn/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124845368/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

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

2005-08-23 Thread Mercer, Dustin
Title: ModelLocator










IMHO, this is the best way. Works
very clean. I dont know about the integration with CF (I dont
use CF) but I can tell you it works great with Java. Good Luck J



Dustin Mercer 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Tuesday, August 23, 2005
12:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ModelLocator





Great. That sounds exciting and a very
good approach. The way Im implementing is that I have a ModelLocator,
which has models as properties. Now should those individual models make the
ValueObjects available to views or just their own properties? Why I am leaning
towards VOs is so that its easier for me to send them over to CF. Does
that sound ok?



Thanks



Agha Mehdi 
IDT - eBusiness Program Manager 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mercer, Dustin
Sent: Tuesday, August 23, 2005
11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ModelLocator





Exactly. I found after implementing
the ModelLocator, I pretty much wiped out the need for ViewHelpers. The
only thing I use the ViewHelpers for now is setting focus on fields! It
makes things a lot more organized and simplified. You are right
though. Just initialize it in the app init event and you will be able to
use it anywhere, anytime.



Dustin Mercer











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Tuesday, August 23, 2005
11:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ModelLocator





Hi All,

How does ModelLocator work? I am looking at the
sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are
bound to views and Commands manipulate ModelLocator
to update views. Is ModelLocator available to the entire application once it
gets initialized on the root level? If it works like that then it means that
I'd hardly ever need ViewLocators??? I can create models, initialize them in
ModelLocator and use them wherever I want in the app?

Thanks



Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766











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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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: Error with populationg a Datagrid

2005-08-23 Thread Jeremy Rottman
RIght I have changed it alot from when I First post. This is the new
code. How ever, it does see the WS. And when I click my button, it
still does not populate the dg. 

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:WebService id=srv
wsdl=http://70.97.113.6/mls/FindEmployee.cfc?wsdl;
/mx:WebService
mx:HBox width=100%
mx:Panel title=User List width=50%
mx:DataGrid id=dg dataProvider=srv width=100% 
height=100%
mx:columns
  mx:Array
mx:DataGridColumn headerText=First Name  
columnName=LNAME /
mx:DataGridColumn headerText=Last Name 
columnName=LNAME /
  /mx:Array
/mx:columns
/mx:DataGrid
mx:ControlBar horizontalAlign=center
mx:Button label=Get Data 
click=srv.FindEmployeeSort.send() /
/mx:ControlBar
/mx:Panel
/mx:HBox
/mx:Application


--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
 You're not declaring the variable userlist.  (At least not in this
 snippet of code.)
 
 Try putting
 
   private var userlist: Array;
 
 inside mx:Script tags.
 
 Grady Haynes
 Senior Systems Engineer, IT Services
 817.252.4891
 [EMAIL PROTECTED]
 
 Practitioners Publishing Company
 A Thomson Business
 801 Cherry Street, Suite 1300
 Fort Worth, Texas 76102
 ppc.thomson.com
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jeremy Rottman
 Sent: Tuesday, August 23, 2005 3:52 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error with populationg a Datagrid
 
 I have written a cfc to pull data from my data base and I am calling
 this as a ws to be displayed in my datagrid. But when I try to compile
 the code I get this error.
 
 There is no property with the name 'userlist'
 
 Here is my mxml code and cfc code.
 ---MXML---
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 mx:WebService id=srv
 wsdl=http://test.codepirates.com/mls/FindEmployee.cfc?wsdl;
   mx:operation name=employeeQuery
 result=userlist=srv.employeeQuery.result / /mx:WebService mx:HBox
 width=100%
   mx:Panel title=Restaurant List width=50%
   mx:DataGrid id=dg dataProvider={userlist}
 width=100%
 height=100%
   mx:columns
 mx:Array
   mx:DataGridColumn headerText=First
 Name columnName=fname /
   mx:DataGridColumn headerText=Last
 Name columnName=lname /
   mx:DataGridColumn headerText=UserName
 colum nName=fld_userlogin /
 /mx:Array
   /mx:columns
   /mx:DataGrid
   mx:ControlBar horizontalAlign=center
   mx:Button label=Get Data
 click=srv.employeeQuery() /
   /mx:ControlBar
   /mx:Panel
 /mx:HBox
 /mx:Application
 
 
 ---CFC code---
 
 cfcomponent displayName=FindEmployee 
cffunction name=FindEmployeeSort access=remote  
returnType=query output=false
   
!--- FindEmployeeSort body ---
cfquery name=employeeQuery datasource=cf_agentPortal
Select * from tbl_agentPortal_users
Order by lname asc 
 /cfquery
  
 cfreturn employeeQuery /
  
 /cffunction
 /cfcomponent
 
 
 
 
 
  Yahoo! Groups Sponsor ~--
 font face=arial size=-1a
 href=http://us.ard.yahoo.com/SIG=12h79kskk/M=362329.6886308.7839368.151
 0227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124841984/A=2894321/R=0/SIG=1
 1dvsfulr/*http://youthnoise.com/page.php?page_id=1992
 Fair play? Video games influencing politics. Click and talk
 back!/a./font
 ~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hmlo8mt/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124854236/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

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

[flexcoders] Why changing global variable also changes the model data?

2005-08-23 Thread P Trisnadi
I have a global variable that is populated by a model's data:
     _global.arrayFruit = new Array();
     ...
     mx:Model id=fruitModel source=fruits.xml/
     ...
     _global.arrayFruit = fruitModel.fruit;
 
 Why does fruitModel.fruit also change when I do:
     _global.arrayFruit.removeItemAt(itemNum);
 
 I'm not changing fruitModel and want to keep it the same, so that I can 
re-populate global.arrayFruit after fruitModel. Any idea?
 
 Thanks in advanced,
 - ptrisnadi
 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hakg4g3/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124854248/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
-�brought to you by One Economy/a./font
~- 

--
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] ConboBox in Accordion headers?

2005-08-23 Thread delaquae
Is it possible and/or relatively straighforward to put a ComboBox in 
the header (along with the label) for each child of an accordion 
container?  If so, how would one go about implementing such a 
behaviour?








 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hllu5jl/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124854256/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Using ContextMenu

2005-08-23 Thread Prasad Dhananjaya
Hi All,

I want to display right-click context menu only in the canves area. 
Can someone please tell me how to do this?. 
My code displays context menu in the whole application. Not only 
canves area.

Thanks,
Prasad

---
?xml version=1.0 encoding=utf-8?
mx:Application initialize=setupContext() backgroundColor=#FF 
xmlns:mx=http://www.macromedia.com/2003/mxml; 
mx:Panel width=318 height=247
mx:Canvas  id=MyCanves width=296 height=200 backgroundColor=#FF
/mx:Canvas
/mx:Panel

mx:Script
 public var mnuContext:ContextMenu = null;
 public function handleContext( obj, item ):Void { }

 public function setupContext( Void ):Void 
  {
  mnuContext = new ContextMenu();
  mnuContext.hideBuiltInItems();
  mnuContext.customItems.push( new ContextMenuItem(menu1, handleContext ) );
  mnuContext.customItems.push( new ContextMenuItem(menu2, handleContext ) );
  this[menu] = mnuContext;
  } 
/mx:Script
/mx:Application 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12ho72bnr/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124859373/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Why changing global variable also changes the model data?

2005-08-23 Thread Gordon Smith
The assignment

_global.arrayFruit = fruitModel.fruit;

doesn't make a copy of the array; it just makes _global.arrayFruit contain 
another reference to the same array. This is how arrays and objects work in 
many languages, because making copies of large data structures is expensive and 
often multiple objects need to reference the same data.

If you need to make a copy, you can use

_global.arrayFruit = fruitModel.fruit.slice(0);

The slice(start, end) method on an Array can be used to create a copy of any 
contiguous section of an Array. Here is a description of the two arguments:

start - A number specifying the index of the starting point for the slice. If 
start is a negative number, the starting point begins at the end of the array, 
where -1 is the last element.

end - A number specifying the index of the ending point for the slice. If you 
omit this parameter, the slice includes all elements from the start to the end 
of the array. If end is a negative number, the ending point is specified from 
the end of the array, where -1 is the last element.

By the way, we recommend never using _global in Flex applications; it is likely 
to go away in future versions.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of P 
Trisnadi
Sent: Tuesday, August 23, 2005 3:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why changing global variable also changes the model data?

I have a global variable that is populated by a model's data:
     _global.arrayFruit = new Array();
     ...
     mx:Model id=fruitModel source=fruits.xml/
     ...
     _global.arrayFruit = fruitModel.fruit;
 
 Why does fruitModel.fruit also change when I do:
     _global.arrayFruit.removeItemAt(itemNum);
 
 I'm not changing fruitModel and want to keep it the same, so that I can 
re-populate global.arrayFruit after fruitModel. Any idea?
 
 Thanks in advanced,
 - ptrisnadi
 






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



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h196iev/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124859957/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Using ContextMenu

2005-08-23 Thread Clint Modien



Can't do it in the current version of the flash player... possibly in a few months when the next version comes out?

Not something I'd code against though. 

Search the group for double click as the only alternative I found to offer a second mouse action.

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

On 8/23/05, Prasad Dhananjaya [EMAIL PROTECTED] wrote:
Hi All,I want to display right-click context menu only in the canves area.Can someone please tell me how to do this?.
My code displays context menu in the whole application. Not onlycanves area.Thanks,Prasad---?xml version=1.0 encoding=utf-8?
mx:Application initialize=setupContext() backgroundColor=#FF xmlns:mx=http://www.macromedia.com/2003/mxml mx:Panel width=318 height=247
mx:Canvasid=MyCanves width=296 height=200 backgroundColor=#FF/mx:Canvas/mx:Panelmx:Scriptpublic var mnuContext:ContextMenu = null;
public function handleContext( obj, item ):Void { }public function setupContext( Void ):Void{mnuContext = new ContextMenu();mnuContext.hideBuiltInItems();mnuContext.customItems.push( new ContextMenuItem(menu1, handleContext ) );
mnuContext.customItems.push( new ContextMenuItem(menu2, handleContext ) );this[menu] = mnuContext;}/mx:Script/mx:Application Yahoo! Groups Sponsor ~--
font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12ho72bnr/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124859373/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org">
http://us.ard.yahoo.com/SIG=12ho72bnr/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124859373/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.orgGet Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life -brought to you by One Economy/a./font
~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] [flexcodrs] Pop up and background(abdul, manish,matt chotin.... anybody)

2005-08-23 Thread Nithya R



hai

i have a main application and when i click a button on it a pop up appears... when the popup opens i want the main application to be inactive and turn pale gray in color how to make themain applicationinactive during a popup is open? i have no idea of doing this... is there any link or thread related to this? 

thanks
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 





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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Using ContextMenu

2005-08-23 Thread Abdul Qabiz





Hi,

Right, you can not attach context menu on nested object. 
This is a known issue which has been fixed in Macromedia Flash Player 
8.

But you can use some workarounds to attach/de-attach 
context menu. When mouse is over Canvas attach the context menu and when mouse 
is out of Canvas remove the context menu(by clearing customItems 
array).

Does it make sense?

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Wednesday, August 24, 2005 9:04 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Using 
ContextMenu

Can't do it in the current version of the flash player... possibly in a few 
months when the next version comes out?

Not something I'd code against though. 

Search the group for double click as the only alternative I found to offer 
a second mouse action.

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

On 8/23/05, Prasad 
Dhananjaya [EMAIL PROTECTED] wrote: 
Hi 
  All,I want to display right-click context menu only in the canves 
  area.Can someone please tell me how to do this?. My code displays 
  context menu in the whole application. Not onlycanves 
  area.Thanks,Prasad---?xml 
  version="1.0" encoding="utf-8"? mx:Application 
  initialize="setupContext()" backgroundColor="#FF" xmlns:mx="http://www.macromedia.com/2003/mxml" 
  mx:Panel width="318" height="247" 
  mx:Canvasid="MyCanves" width="296" height="200" 
  backgroundColor="#FF"/mx:Canvas/mx:Panelmx:Scriptpublic 
  var mnuContext:ContextMenu = null; public function handleContext( obj, 
  item ):Void { }public function setupContext( Void 
  ):Void{mnuContext = new 
  ContextMenu();mnuContext.hideBuiltInItems();mnuContext.customItems.push( 
  new ContextMenuItem("menu1", handleContext ) ); 
  mnuContext.customItems.push( new ContextMenuItem("menu2", handleContext ) 
  );this["menu"] = 
  mnuContext;}/mx:Script/mx:Application 
  Yahoo! Groups Sponsor ~-- font face=arial 
  size=-1a href=""http://us.ard.yahoo.com/SIG=12ho72bnr/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124859373/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org"> 
  http://us.ard.yahoo.com/SIG=12ho72bnr/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124859373/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org"Get 
  Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life -brought 
  to you by One Economy/a./font 
  ~---Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links* To visit your group on the web, go to: 
   http://groups.yahoo.com/group/flexcoders/* 
  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* 
  Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/





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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Popup component

2005-08-24 Thread Alberto Albericio Salvador
Hi all,

I have a question:

When I use a main viewstack like this:

mx:ViewStack id=appView selectedChild=...
 view:Login id=login /
 view:MainScreen id=appView /
/mx:ViewStack

Where view:Login is basically a TitleWindow... how can I make this 
component to be a popup component?

This short is extracted from the cairngorm login example. The example is 
ok, but I would like to know how can I make this login to be popup so 
that the user can drag the window acrosss the main screen, just like the 
windows login behaves.

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hlf5ove/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124877010/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Need immediate Help about Flex and Spring

2005-08-24 Thread sandip_patil01
Dear All,

I want to develop sample application using Macromedia Flex and 
Spring Frmaework.
Here what I want

I am creating User.mxml form which has two text boxes for entering 
usernamr and password.
When user eneter username  password the request will go to Spring  
from there it will display the username  passowrd.

I am confused how the flow will go.

Means from .mxml file where it will go whether in flex-config.xml or 
web.xml of my application where it finds the corresponding Spring 
File.

If anybody knows any URL please send it to me.
[EMAIL PROTECTED]

Thanks in advance.





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hhbbnla/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124879289/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] [flexcodrs] Pop up and background(abdul, manish,matt chotin.... anybody)

2005-08-24 Thread Nithya R



thanks a lot philippe... it works well exceot for the diabled color it doesnt work my code is:

popupwindow.mxml:
?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="#FF" 
 mx:Script
 function showWindow(modal) {mx.core.Application.application.pnl.enabled = false; var popup = mx.managers.PopUpManager.createPopUp(_root, LogonWindow, modal, {deferred: true});popup.centerPopUp(this); }//createPopUp( parent: MovieClip, className: Object, modal: Boolean, initobj: Object, broadcastOutsideEvents: Boolean) /mx:Script
 mx:Panel id="pnl" width="500" height="400" disabledColor="#cc" mx:Button label="Show Modal Window" click="showWindow(true)" width="150"/
 mx:TextArea width="200" height="100" text="Once the window is opened, click here to check its modality"//mx:Panel/mx:Application


logonwindow.mxml:
?xml version="1.0" encoding="utf-8"?
mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" title="Logon"
 mx:Form
 mx:FormItem label="UserId" required="true" mx:TextInput id="userId" width="150"/ /mx:FormItem
 mx:FormItem label="Password" required="true" mx:TextInput id="password" width="150"/ /mx:FormItem
 mx:FormItem mx:HBox horizontalGap="30" mx:Button label="Logon"/ mx:Button label="Cancel" click="this.deletePopUp();parentApplication.pnl.enabled = true;"/ /mx:HBox /mx:FormItem
 /mx:Form
/mx:TitleWindow


could you please tell me why disabled color doen't work?

nithya
Philippe Maegerman [EMAIL PROTECTED] wrote:


On your application tag, or in your style sheetyou can add the attribute disabledColor="#99", I don't know if the PopupManageris making the Application disabled (or its target), but if not, you could do it by yourself : mx.core.Application.application.enabled = false; then re-enabling it when closing the popup

Philippe Maegerman


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nithya RSent: mercredi 24 août 2005 8:27To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] [flexcodrs] Pop up and background(abdul, manish,matt chotin anybody)

hai jeff,

thanks... i went thru the sample.. but what i need is, ofcourse making the UI inactive but also i want the UI to be changed to pale gray in color...ie, the user nust know that the main application is inactive just by seeing the color... it is just like when you go to file menu and fing certain things inactive with the grey color text...hope you can understand my question now.. any way of doing it?

thanks
nithyaJeff Steiner [EMAIL PROTECTED] wrote:









Nithya,

While I am not explicitly listed in the subject line I thought that I might offer some insight here.

What you are venturing into is the Modality of the popup. In order to render the "application inactive" I would probably use the Blocking Cursor example in the Flex Samples Explorer as a starter. 

Let me know if that doesn't make sense - or answer your question. 


Jeff
Founder
Flex Authority
http://www.flexauthority.com

We are actively seeking contributors for the site. Have a sample that you want to share with the world? Send it to us!




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya RSent: Tuesday, August 23, 2005 9:56 PMTo: flexcodersSubject: [flexcoders] [flexcodrs] Pop up and background(abdul, manish,matt chotin anybody)


hai



i have a main application and when i click a button on it a pop up appears... when the popup opens i want the main application to be inactive and turn pale gray in color how to make themain applicationinactive during a popup is open? i have no idea of doing this... is there any link or thread related to this? 



thanks

nithya
Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com 
--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.

Re: [flexcoders] Flash Player quality setting

2005-08-24 Thread superabe superabe
Thanks for the answers.
I think the custom wrapper solution will work best for me.

Pity we cant specify this in a flex_config type file.

- superabe


On 8/23/05, Matt Horn [EMAIL PROTECTED] wrote:
 If you're writing your application as a JSP, you can pass it as the value of 
 a param tag:
 
 flash source=myapp.swf
param name=quality value=BEST/
 /flash
 
 This adds a param to the object/embed tags in the HTML wrapper for you.
 
 If you're not using the JSP tag lib, you can manually edit the wrapper. 
 There's a section in the docs on the HTML wrapper:
 http://livedocs.macromedia.com/flex/15/flex_docs_en/0923.htm
 
 Hth,
 Matt Horn
 Flex docs
 
  -Original Message-
  From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
  Sent: Monday, August 22, 2005 9:12 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Flash Player quality setting
 
  It's global so anywhere.
 
  However, do it it your Application's main method.
 
  - Original Message -
  From: superabe superabe [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Monday, August 22, 2005 8:51 PM
  Subject: Re: [flexcoders] Flash Player quality setting
 
 
  Where would you set _quality=BEST?
 
  on the Application tag ?
  in flex_config ?
 
  where :-)
 
  - superabe
 
 
  On 8/22/05, JesterXL [EMAIL PROTECTED] wrote:
   _quality = BEST;
  
   - Original Message -
   From: superabe superabe [EMAIL PROTECTED]
   To: flexcoders@yahoogroups.com
   Sent: Monday, August 22, 2005 7:02 PM
   Subject: [flexcoders] Flash Player quality setting
  
  
   Hello List,
  
   Anybody know how/where I can  set the Flash player's
  quality property to
   best.
   This is for a Flex app.
  
   Typically for Flash I would set it in the object tags in the html
   container page, but am not sure how to do that for Flex
  
   Thanks,
  
   - superabe
  
  
  
   --
   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
 
 
 
 
 
 
 
 
 
   Yahoo! Groups Sponsor
  ~--
  font face=arial size=-1a
  href=http://us.ard.yahoo.com/SIG=12hdqo48k/M=362131.6882499.7
  825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124766710
  /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
  Get Bzzzy! (real tools to help you find a job) Welcome to
  the Sweet Life -brought to you by One Economy/a./font
  --
  --~-
 
  --
  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
 
 
 
 
 
 



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12htgdtbj/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124889015/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] [flexcodrs] Pop up and background(abdul, manish,matt chotin.... anybody)

2005-08-24 Thread Philippe Maegerman





Indeed I didn't try with a popup.
You can adjust the TitleWindow transparency with the 
'modalTransparency' attribute, I found this in the 
doc:

modalTransparency Type: Number CSS Inheritance: 
yesModality is simulated by creating a 
large transparent window underneath the TitleWindow component. Due to the way 
transparent windows are rendered, you may notice a slight dimming of the objects 
under the transparent window. The effective transparency can be set by changing 
the modalTransparency value from 0 (fully transparent) to 100 (opaque). If you 
make the window partially transparent, you can also set the color of the window 
by changing the Modal skin in the default theme. 


So if you add mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" 
title="Logon" modalTransparency="90"
The application will almost 
disapear.
It looks like you can effectively change the color of 
the 'transparency' clip by changing the 'Modal Skin' but I 
don't know what that means, nothing camefrom google 
:((

Anyone, anyone, Bueler? ;)

Philippe 
Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Nithya RSent: 
mercredi 24 août 2005 12:34To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] [flexcodrs] Pop 
up and background(abdul, manish,matt chotin anybody)

thanks a lot philippe... it works well exceot for the diabled color it 
doesnt work my code is:

popupwindow.mxml:
?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
backgroundColor="#FF" 
 mx:Script
 function showWindow(modal) 
{mx.core.Application.application.pnl.enabled = 
false; var 
popup = mx.managers.PopUpManager.createPopUp(_root, LogonWindow, modal, 
{deferred: 
true});popup.centerPopUp(this); 
}//createPopUp( parent: MovieClip, className: Object, modal: Boolean, 
initobj: Object, broadcastOutsideEvents: Boolean) 
/mx:Script
 mx:Panel id="pnl" width="500" height="400" 
disabledColor="#cc" mx:Button label="Show 
Modal Window" click="showWindow(true)" width="150"/
 mx:TextArea width="200" 
height="100" text="Once the window 
is opened, click here to check its 
modality"//mx:Panel/mx:Application


logonwindow.mxml:
?xml version="1.0" encoding="utf-8"?
mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" 
title="Logon"
 mx:Form
 mx:FormItem label="UserId" 
required="true" 
mx:TextInput id="userId" 
width="150"/ 
/mx:FormItem
 mx:FormItem label="Password" 
required="true" 
mx:TextInput id="password" 
width="150"/ 
/mx:FormItem
 
mx:FormItem 
mx:HBox 
horizontalGap="30" 
mx:Button 
label="Logon"/ 
mx:Button label="Cancel" 
click="this.deletePopUp();parentApplication.pnl.enabled = 
true;"/ 
/mx:HBox 
/mx:FormItem
 /mx:Form
/mx:TitleWindow


could you please tell me why disabled color doen't work?

nithya
Philippe Maegerman [EMAIL PROTECTED] 
wrote:

  
  On your application tag, or in your style 
  sheetyou can add the attribute disabledColor="#99", I don't know if 
  the PopupManageris making the Application disabled (or its target), but 
  if not, you could do it by yourself : mx.core.Application.application.enabled 
  = false; then re-enabling it when closing the popup
  
  Philippe 
  Maegerman
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Nithya 
  RSent: mercredi 24 août 2005 8:27To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] [flexcodrs] Pop 
  up and background(abdul, manish,matt chotin anybody)
  
  hai jeff,
  
  thanks... i went thru the sample.. but what i need is, ofcourse making 
  the UI inactive but also i want the UI to be changed to pale gray in 
  color...ie, the user nust know that the main application is inactive just by 
  seeing the color... it is just like when you go to file menu and fing certain 
  things inactive with the grey color text...hope you can understand my question 
  now.. any way of doing it?
  
  thanks
  nithyaJeff Steiner [EMAIL PROTECTED] 
  wrote:
  








Nithya,

While I am not 
explicitly listed in the subject line I thought that I might offer some 
insight here.

What you are 
venturing into is the Modality of the popup. In order to render the 
"application inactive" I would probably use the Blocking Cursor example in 
the Flex Samples Explorer as a starter. 

Let me know if that 
doesn't make sense - or answer your question. 


Jeff
Founder
Flex 
Authority
http://www.flexauthority.com

We are actively 
seeking contributors for the site. Have a sample that you want to 

Re: [flexcoders] Flash Player quality setting

2005-08-24 Thread Clint Modien



You could put it in an xml file. When the app loads read the value from the xml (config) file and set the global value at runtime.
On 8/24/05, superabe superabe [EMAIL PROTECTED] wrote:
Thanks for the answers.I think the custom wrapper solution will work best for me.Pity we cant specify this in a flex_config type file.
- superabeOn 8/23/05, Matt Horn [EMAIL PROTECTED] wrote: If you're writing your application as a JSP, you can pass it as the value of a param tag:
 flash source=myapp.swfparam name=quality value=BEST/ /flash This adds a param to the object/embed tags in the HTML wrapper for you.
 If you're not using the JSP tag lib, you can manually edit the wrapper. There's a section in the docs on the HTML wrapper: 
http://livedocs.macromedia.com/flex/15/flex_docs_en/0923.htm Hth, Matt Horn Flex docs  -Original Message-  From: 
flexcoders@yahoogroups.com  [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL  Sent: Monday, August 22, 2005 9:12 PM  To: 
flexcoders@yahoogroups.com  Subject: Re: [flexcoders] Flash Player quality setting   It's global so anywhere.   However, do it it your Application's main method.
   - Original Message -  From: superabe superabe [EMAIL PROTECTED]  To: 
flexcoders@yahoogroups.com  Sent: Monday, August 22, 2005 8:51 PM  Subject: Re: [flexcoders] Flash Player quality settingWhere would you set _quality=BEST?
   on the Application tag ?  in flex_config ?   where :-)   - superabeOn 8/22/05, JesterXL 
[EMAIL PROTECTED] wrote:   _quality = BEST; - Original Message -   From: superabe superabe 
[EMAIL PROTECTED]   To: flexcoders@yahoogroups.com   Sent: Monday, August 22, 2005 7:02 PM   Subject: [flexcoders] Flash Player quality setting
   Hello List, Anybody know how/where I canset the Flash player's  quality property to   best.
   This is for a Flex app. Typically for Flash I would set it in the object tags in the html   container page, but am not sure how to do that for Flex
 Thanks, - superabe --   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    Yahoo! Groups Sponsor
  ~--  font face=arial size=-1a  href="" href="http://us.ard.yahoo.com/SIG=12hdqo48k/M=362131.6882499.7">http://us.ard.yahoo.com/SIG=12hdqo48k/M=362131.6882499.7
  825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124766710  /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org  Get Bzzzy! (real tools to help you find a job) Welcome to
  the Sweet Life -brought to you by One Economy/a./font  --  --~-   --  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 Yahoo! Groups Sponsor ~--
font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12htgdtbj/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124889015/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992">
http://us.ard.yahoo.com/SIG=12htgdtbj/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124889015/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992Fair play? Video games influencing politics. Click and talk back!/a./font
~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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

RE: [flexcoders] [flexcodrs] Pop up and background(abdul, manish,matt chotin.... anybody)

2005-08-24 Thread Nithya R



thanks a lot philip. i have learnt a lot from u thank you sooo much..Philippe Maegerman [EMAIL PROTECTED] wrote:


Found a little hack to change the transparency color, I don't think this is officialy supported (oops I did it again ;))

mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" title="Logon" modalTransparency="50" creationComplete="var my_color:Color = new Color(this.modalWindow);my_color.setRGB(0xFF);"

Philippe Maegerman


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe MaegermanSent: mercredi 24 août 2005 13:23To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] [flexcodrs] Pop up and background(abdul, manish,matt chotin anybody)

Indeed I didn't try with a popup.
You can adjust the TitleWindow transparency with the 'modalTransparency' attribute, I found this in the doc:

modalTransparency Type: Number CSS Inheritance: yesModality is simulated by creating a large transparent window underneath the TitleWindow component. Due to the way transparent windows are rendered, you may notice a slight dimming of the objects under the transparent window. The effective transparency can be set by changing the modalTransparency value from 0 (fully transparent) to 100 (opaque). If you make the window partially transparent, you can also set the color of the window by changing the Modal skin in the default theme. 

So if you add mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" title="Logon" modalTransparency="90"
The application will almost disapear.
It looks like you can effectively change the color of the 'transparency' clip by changing the 'Modal Skin' but I don't know what that means, nothing camefrom google :((

Anyone, anyone, Bueler? ;)

Philippe Maegerman


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nithya RSent: mercredi 24 août 2005 12:34To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] [flexcodrs] Pop up and background(abdul, manish,matt chotin anybody)

thanks a lot philippe... it works well exceot for the diabled color it doesnt work my code is:

popupwindow.mxml:
?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="#FF" 
 mx:Script
 function showWindow(modal) {mx.core.Application.application.pnl.enabled = false; var popup = mx.managers.PopUpManager.createPopUp(_root, LogonWindow, modal, {deferred: true});popup.centerPopUp(this); }//createPopUp( parent: MovieClip, className: Object, modal: Boolean, initobj: Object, broadcastOutsideEvents: Boolean) /mx:Script
 mx:Panel id="pnl" width="500" height="400" disabledColor="#cc" mx:Button label="Show Modal Window" click="showWindow(true)" width="150"/
 mx:TextArea width="200" height="100" text="Once the window is opened, click here to check its modality"//mx:Panel/mx:Application


logonwindow.mxml:
?xml version="1.0" encoding="utf-8"?
mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" title="Logon"
 mx:Form
 mx:FormItem label="UserId" required="true" mx:TextInput id="userId" width="150"/ /mx:FormItem
 mx:FormItem label="Password" required="true" mx:TextInput id="password" width="150"/ /mx:FormItem
 mx:FormItem mx:HBox horizontalGap="30" mx:Button label="Logon"/ mx:Button label="Cancel" click="this.deletePopUp();parentApplication.pnl.enabled = true;"/ /mx:HBox /mx:FormItem
 /mx:Form
/mx:TitleWindow


could you please tell me why disabled color doen't work?

nithya
Philippe Maegerman [EMAIL PROTECTED] wrote:


On your application tag, or in your style sheetyou can add the attribute disabledColor="#99", I don't know if the PopupManageris making the Application disabled (or its target), but if not, you could do it by yourself : mx.core.Application.application.enabled = false; then re-enabling it when closing the popup

Philippe Maegerman


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nithya RSent: mercredi 24 août 2005 8:27To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] [flexcodrs] Pop up and background(abdul, manish,matt chotin anybody)

hai jeff,

thanks... i went thru the sample.. but what i need is, ofcourse making the UI inactive but also i want the UI to be changed to pale gray in color...ie, the user nust know that the main application is inactive just by seeing the color... it is just like when you go to file menu and fing certain things inactive with the grey color text...hope you can understand my question now.. any way of doing it?

thanks
nithyaJeff Steiner [EMAIL PROTECTED] wrote:









Nithya,

While I am not explic

[flexcoders] Re: Flex App with RSL fails in Standalone Flash Player

2005-08-24 Thread Kevin Broce
Matt:  Thanks so much for the information.

I was able to get the app to run in the standalone version 
using File-Open and referencing localhost.  I couldn't get it to 
work using a crossdomain file.

However, your post got me to think hard about what I was actually 
doing.  Obviously there is a big difference between the local file 
system and localhost.  My example was trying to mix the two which 
is not a good idea even if it does work.  (If I'm already running 
the main App from the local file system, then why hassle with 
loading an RSL from localhost?)  The solution is to either run both 
from the local file system or run both from localhost.

I had been struggling to understand the url attribute in the SWS 
definition which is why my app was a bit convoluted initially.

My solution turned out to be the following simple change to 
myRSL.sws:

 library url=myRSL.swf

Thanks again for your help.  I can't tell you how many times I've 
searched FlexCoders and found answers to my problems from your posts 
and the posts of the other experts.  



--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 You might need a crossdomain.xml file available since the 
standalone is
 not considered to be running from the same location as localhost 
in all
 likelihood.
 
  
 
 What happens if you open up the standalone player, then use File -
 Open
 and hit http://localhost/pathtofile?  If it works I'm pretty sure 
the
 crossdomain.xml is gonna be it.
 
  
 
 Matt
 
  
 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h0pb4ll/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124895577/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Cairngorm Development Cycle

2005-08-24 Thread spbarber101
I have just started to build an application in Flex and decided to go 
with the Cairngorm framework. I am going to be using Coldfusion via 
Flash Remoting as my backend business logic. Is there any particular 
order in which developers build there applications in Flex using 
Cairngorm?

What i mean, is it good to start off with the Views for example?





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hpbq2ls/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124897905/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Question about dragging image

2005-08-24 Thread sojiro59
I finally succeed in dragging image from a accordion to a calendar,
which is a grid with griditem.

But my problem is that i wanted to make possible the action of
dragging the items dragged on the calendar. I explain : i succeed in
creating a copy of an image which can be dragged to the calendar,
but i wanted after this item being dragged to drag this item in
another cell of the calendar.

I think i have to make similar functions but not exactly the same
because i don't want this item to be copied.

Thanks for you help

PS: my functions for dragging and copying items from the accordion to
the calendar are based on Abdul Qabiz example (the one with two
labels and two VBOX containers )




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hmna85a/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124899361/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Setting fontWeight on a DataGrid Row

2005-08-24 Thread Philippe Maegerman





Maybe a cellRenderer?
myGrid.getColumnAt(3).cellRenderer = 
"MyCellRenderer";
Philippe 
Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim 
BlairSent: mercredi 24 août 2005 16:32To: Flex 
CodersSubject: [flexcoders] Setting fontWeight on a DataGrid 
Row
Hello,Is there a nice easy way to set the font weight of 
each cell in aDataGrid *row* (not column)? I can set (e.g.) the 
backgroundColor byusing something like:dg.setPropertiesAt(1, 
{backgroundColor:0xFF})But setting fontWeight has no effect. I 
could loop through each cellindividually within the row an set the 
fontWeight on that, but thisseems like a long-winded way of doing 
it.Any 
suggestions?Thanks,Tim.-Badpen 
Tech - CF and web-tech: http://tech.badpen.com/--- 
RAWNET LTD - independent digital media agency "We are big, 
we are funny and we are clever!" New site launched 
at http://www.rawnet.com/---This 
message may contain information which is legallyprivileged and/or 
confidential. If you are not theintended recipient, you are hereby 
notified that anyunauthorised disclosure, copying, distribution or useof 
this information is strictly prohibited. Suchnotification notwithstanding, 
any comments, opinions,information or conclusions expressed in this 
messageare those of the originator, not of rawnet limited,unless 
otherwise explicitly and independently indicatedby an authorised 
representative of rawnet 
limited.---





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



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


Re: [flexcoders] How to get reference to current Active window?

2005-08-25 Thread JesterXL
What I did before was just set a member var to whatever the last window 
clicked was:

function onWindowClicked(event_obj:Object) // forwarded from mouseDown
{
event_obj.target.setDepthAbove(activeWindow);
activeWindow = event_obj.target;
}

- Original Message - 
From: owls_yang [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, August 25, 2005 3:24 AM
Subject: [flexcoders] How to get reference to current Active window?


Hello all:


I want to get reference to currently Active window. For example, 4
TitleWindows popup above an application, how could I determine which
one is currently active?

Does there exist some FlashPlayer level classes could provide static
method to get active window reference?


Thanks very much,


Owls Yang





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







 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] carriage return in XML(gordon)

2005-08-25 Thread Nithya R




i am not able to send you the full code since its too large...

i use it in the viewhelper

labels.bundle.BTN_ENTRY = label.BTN_ENTRY_1.French#13; label.BTN_ENTRY_2.French;
and display it in buttonlabel like this:

mx:Button id="Btn_Entry" label="{helper.labels.bundle.BTN_ENTRY}"/

if u are not able to get it , then i shall build a small code and send it again...

thanks

nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 





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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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 Multipleselect array to ColdFusion cfc based web service

2005-08-25 Thread dval823
I have a data gird that allows for multiple selections:

mx:DataGrid id=dgNotAttended x=605 y=285 width=172
height={dgInt.height} dataProvider={wsInt.getNotAttended.result}
enabled={dgInt.selectedIndex != 
undefined}
multipleSelection=true
   mx:columns
mx:Array
 mx:DataGridColumn headerText=Name
columnName=NAME /
/mx:Array
   /mx:columns
/mx:Datagrid

with a corresponding button that should trigger a web service call:

  mx:Button x=605 y=480  label=Add
enabled={dgNotAttended.selectedIndex != undefined}
click=wsInt.writeNotAttended.send()/
  
web service call:

mx:WebService
wsdl=http://localhost:8500/trainingcfc/inttraining.cfc?wsdl; id=wsInt
mx:operation name=writeNotAttended
 mx:request
  notattended
   {dgNotAttended.selectedItems}
  /notattended
 /mx:request
/mx:operation

Obviously I am doing something wrong because I get an error message
that no deserializer is available for the anyType.

So, how do you bind a Flex array to a web service parameter?




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Passing Multipleselect array to ColdFusion cfc based web service

2005-08-25 Thread dval823
--- In flexcoders@yahoogroups.com, dval823 [EMAIL PROTECTED] wrote:
To further clarify, I can edit the mx:operation tag to add items:

mx:operation name=writeNotAttended
 mx:request
  notattended
   item100/item
   
item200/item
   
item300/item
  /notattended
 /mx:request
/mx:operation


and these are passed just fine.  But I thought Coldfusion could read
Flex structure and vise-versa???

 I have a data gird that allows for multiple selections:
 
 mx:DataGrid id=dgNotAttended x=605 y=285 width=172
 height={dgInt.height} dataProvider={wsInt.getNotAttended.result}
   enabled={dgInt.selectedIndex != 
 undefined}
 multipleSelection=true
mx:columns
 mx:Array
  mx:DataGridColumn headerText=Name
 columnName=NAME /
 /mx:Array
/mx:columns
 /mx:Datagrid
 
 with a corresponding button that should trigger a web service call:
 
   mx:Button x=605 y=480  label=Add
 enabled={dgNotAttended.selectedIndex != undefined}
 click=wsInt.writeNotAttended.send()/
 
 web service call:
 
 mx:WebService
 wsdl=http://localhost:8500/trainingcfc/inttraining.cfc?wsdl;
id=wsInt
 mx:operation name=writeNotAttended
  mx:request
   notattended
{dgNotAttended.selectedItems}
   /notattended
  /mx:request
 /mx:operation
 
 Obviously I am doing something wrong because I get an error message
 that no deserializer is available for the anyType.
 
 So, how do you bind a Flex array to a web service parameter?





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hu4qel8/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124981604/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] OH, For the love of all that's good, please help!

2005-08-25 Thread Rick Bullotta










One piece of advice: Avoid rpc/encoded
web services and use doc/literal whenever possible











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean McKibben
Sent: Tuesday, August 23, 2005
1:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] OH, For
the love of all that's good, please help!





I ran into this as well. Looking at the SOAP encoded message, it
appeared to me that flex wasn't making clean SOAP (pun definitely intended).









When we switched over to using the CFC's RemoteObject instead of the
WebService, things started working again. Wasn't too hard of a switch, and I'll
take the NetConnectionDebugger over paging through SOAP any day. (still wish
webservice serializing worked better...)











See my Flex serializer vs CF7 deserializer post thread or
the Collections between Flex and Web services thread for some
possible workarounds that didn't work for me...











Sean McKibben

















On Aug 23, 2005, at 10:29 AM, bsd wrote:








I'm passing an array from Flex to a web service located in a CFC.
It returns an error that states:

org.xml.sax.SAXException: No deserializer for array type 















--
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] Cairngorm Development Cycle

2005-08-25 Thread Dimitrios Gianninas





I don't think your crazy eh. Being the glue guy, never actually tried 
that eh, sounds like something I will have to try. I usually allow people to 
implement an entire use-case on their own and then just tweak the UI for them 
eh. That way it appears to me anyways, that we are working in parallel and 
delivering the final overall solution quicker. I find that with Flex, you can 
build the UI so fast, that if you just do UI, you then wait for the serverside 
to do their part before you can complete the UI 
work.

Curiosity, how much glueing do you actually do? Or 
maybe your definition of glueing? I usually just review the code written 
every second day as the project goes along and give the boys feedback on things 
to tweak.

Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Scott 
BarnesSent: Wednesday, August 24, 2005 11:25 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm 
Development Cycle
canadian w00t yooo tulkin aboot eh! /canadian (no 
offense intended hehee)I've not had the luxury as yet of working with a 
large number of devsin one team on an flex application, but I've had suceess 
in givingportion-work to be done out. In that, I typically am the guy 
thatglues it all together.In that, I can get folks to work on 
server-side framework (ignore UI),simply give me a model to tap into that 
allows data / and objects tobe shared around as if they were currency (ie 
i';; give you aprofileVO, invoiceVO and you give me back 
aInvoiceCostcodesCollectionVO ). I'm a firm believer in trading 
withobjects (like most I guess).Then, on the UI side of things i'll 
ask someone to build a Panel,which allows insert/update/delete costcodes.. 
meaning just give me thevisuals and an api to call in terms of populating 
this 'view" withrelevant data (combination of component development / 
viewhelpermindset).Then, I'll be the guy or one of them, that will 
piece the itemstogether, making sure things fit nice and snug if not, 
request somerefactoring or enhancements (if they follow the 
specs/UML/SequenceDiagrams etc.. shouldn't be a problem).That being 
said, If i am a lone coder, I also play each role like theabove, that way 
can break up un intended coupling and make my workload more 
agile.Cairngorm is a team framework and so if you start top-down or 
down-up,its got enough hooks in place to give you a nice footing on 
eitherdirection? or am i full of crap ? (could be the later, its 
quitepossible hehe).On 8/25/05, Dimitrios Gianninas 
[EMAIL PROTECTED] wrote:  
I've discovered the same thing here, with Flex, we typical prototype the 
UI and show it to stakeholders and thus get approval on the design and 
get immediate feedback on what we might be missing based on what we've 
provided at that time.   However, come 
development time, I do think that giving each developer his own use-case 
to implement end-to-end (DB, serverside, UI) results in quicker delivery 
of the product. It also reduces dead-time, meantime Ui developer waiting 
for the serverside guy to complete his part before he can finish wiring 
things up at the UI level and so on.   My 2 cents 
Canadian.   Dimitrios "Jimmy" Gianninas  RIA 
Developer  Optimal Payments Inc.   
  From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Scott Barnes Sent: Wednesday, August 24, 2005 10:03 AM To: 
flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm 
Development Cycle   I've typically gone down the 
path of building the DB -- Serverside -- UI, but.. 
 I've found with FLEX, it being a new medium and in many ways 
its easier to simply build UI upfront, get the "stakeholders" chomping 
at the bit in terms of what's written in spec form vs whats being 
built.  It also helps to visualise how this is all going to pan 
out. I had a 52+ page spec for an application I was working on, and It 
was pretty darn thorough (even sequence diagrams heh).  
Yet, when the time came to put it to "digital" form, we discovered a few 
specific items that were either overlooked or needed more attention 
(mainly for how the business would cope vs technically).  So, to 
summarise, I build outward-in, Cairngorms pretty good in that regard as 
you can come back and plug in the appropriate code via the Business 
Delegate(s)  (ie i've built apps without even knowing how the 
server-side will work, aswell as how the db will work). VO's were fun 
when doing that, as it sometimes pays to have "knowledge" of both so you 
can mirror in equal aspects via both technologies..  
  On 8/24/05, Steven Webster [EMAIL PROTECTED] 
wrote:  Hi there,I posted something a 
month or so back with a subject "Cairngorm for Dummies"  
which indicated typical workflow. Your call whether you build 
horizontally  (ie in layers) - for me, I typically would build an 
application

[flexcoders] Re: Easiest way to connect to mysql?

2005-08-25 Thread pioplacz
That I know cause at the moment I use PHP to output all the data 
from mysql and show it in XML. But thinking of using some other 
technology like webservices. But don't really know how to create 
them? Can you maybe explain a little how is all works and what would 
be the easiest way to use. 


--- In flexcoders@yahoogroups.com, Niklas Richardson 
[EMAIL PROTECTED] wrote:
 Hi there,
 
 You will need to use a server side technology, like Java, ASP, CF, 
PHP
 to integrate with a MySQL database.
 
 You can then use HTTP, WebServices or RemoteObjects to integrate
 between Flex and your server side.
 
 The Flex docs and also the Flex book have information on how to use
 the above services to connect Flex and the server side together.
 
 Regards
 
 Niklas
 
 On 07/08/05, pioplacz [EMAIL PROTECTED] wrote:
  Hi folks!
  
  Im looking for a easiesway to get data from database and add 
data into
  it. At the moment i'm receving data my getting xml output by php 
file
  and adding data same simple way like in html. But is there any 
easiest
  way to get it all working? Would be really nice!!
  
  
  
  
  
  --
  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
  
  
  
  
  
  
  
 
 
 -- 
 Niklas Richardson
 Prismix Ltd
 
 Flex and ColdFusion Experts!





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Remote IP address

2005-08-25 Thread James
Good morning people,

Please excuse my problematic question. Can someone point me in the right
direction? 

I want to be able to get the client's ip address, in asp it would be:

Request.Server.Variables(Remote_Adde)

Is there a comparable in Flex or what might be the best way to obtain this?

Thanks
James




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12ho4hg25/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124985910/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Remote IP address

2005-08-25 Thread Peter Farland
You can get hold of the HttpServletRequest in a Java class when accessed
via RemoteObject by using flashgateway.Gateway.getHttpRequest().

http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/commo
n/html/wwhelp.htm?context=Flex_Documentationfile=2247.htm


Once you have the request, you can call methods on it to get this sort
of information (such as getRemoteHost() etc).

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequ
est.html



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of James
Sent: Thursday, August 25, 2005 10:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote IP address

Good morning people,

Please excuse my problematic question. Can someone point me in the right
direction? 

I want to be able to get the client's ip address, in asp it would be:

Request.Server.Variables(Remote_Adde)

Is there a comparable in Flex or what might be the best way to obtain
this?

Thanks
James





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



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h52su2o/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124987938/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Special Chars. in AS

2005-08-25 Thread Mehdi, Agha
Title: Special Chars. in AS







Hi,

I need to display Celsius (250°C) string in a Flex app. Data comes from CF and you can use deg; in CF to show it correctly in HTML but when it comes to Flash Player, it just spells it (deg;) out.

What should I use for special Chars?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766









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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Custom Datagrid Sorting

2005-08-25 Thread Steve Cox










Hey guys,



Right, Ive a situation
where I need to sort a particular datagrid column as
a date, however the value of the cell is actually a string (eg
7th Aug 2005).

Ive got this all
working, however Im trying to package it up as a class so I can reuse it
100 times through the various datagrids Ive
got. My problem is Im calling:



dg.dataProvider.sortItems(dateFieldCompare, ((sortOrder
== 1)? 0: Array.DESCENDING));



Where dg is my datagrid (passed through via the class constructor). The issue Im having is that I
cannot access any variables from the dateFieldCompare
function. My constructor header is as follows:



public function DateSortUtil(myDg:mx.controls.DataGrid,columnIndex:Number,field:String)
{



Ideally I want field to be
accessible to the dateFieldCompare function so I know
what field to compare. The following is the header from dateFieldCompare:



private function dateFieldCompare(item1:Object,
item2:Object, bit:Number):Number



To get it working at the
moment Im having to compare item1.date and item2.date
. However date wont always be the name of the
fields I want to compare, and item1[field] isnt
going to work.



Any ideas?



Cheers, Steve









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





  




  
  
  YAHOO! GROUPS LINKS



  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] Custom Datagrid Sorting

2005-08-25 Thread Abdul Qabiz





Hi Steve,

Similar question has been replied in past, I have replied 
once myself. Please check the flexcoders archive at

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


if you don't find the answer, please reply in this 
thread.


Thanks

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
CoxSent: Thursday, August 25, 2005 10:18 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Custom Datagrid 
Sorting


Hey 
guys,

Right, Ive a situation where 
I need to sort a particular datagrid column as a date, 
however the value of the cell is actually a string (eg 
7th Aug 2005).
Ive got this all working, 
however Im trying to package it up as a class so I can reuse it 100 times 
through the various datagrids Ive got. My problem is 
Im calling:

dg.dataProvider.sortItems(dateFieldCompare, ((sortOrder == 1)? 0: Array.DESCENDING));

Where dg is my 
datagrid (passed through via the class 
constructor). The issue Im having is that I cannot access 
any variables from the dateFieldCompare function. My 
constructor header is as follows:

public function DateSortUtil(myDg:mx.controls.DataGrid,columnIndex:Number,field:String) 
{

Ideally I want field to be 
accessible to the dateFieldCompare function so I know 
what field to compare. The following is the header from dateFieldCompare:

private function dateFieldCompare(item1:Object, item2:Object, bit:Number):Number

To get it working at the 
moment Im having to compare item1.date and item2.date 
. However date wont always be the name of the fields I want to 
compare, and item1[field] isnt going to 
work.

Any 
ideas?

Cheers, 
Steve





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





  




  
  
  YAHOO! GROUPS LINKS



  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] Special Chars. in AS

2005-08-25 Thread Abdul Qabiz
Title: Special Chars. in AS





You can copy paste the degree sign in MXML and it should 
show correctly.


mx:Application 
xmlns:mx="http://www.macromedia.com/2003/mxml"
 mx:TextArea text="30°" 
/
/mx:Application


Save your MXML file with UTF-8 encoding, it should 
work.


-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, 
AghaSent: Thursday, August 25, 2005 10:18 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Special Chars. in 
AS

Hi,
I need to display 
Celsius (250°C) string in a Flex app. Data comes from CF and you can use deg; in CF to 
show it correctly in HTML but when it comes to Flash Player, it just 
spells it (deg;) 
out.
What should I use for 
special Chars?
Thanks
Agha 
Mehdi
IDT - eBusiness Program 
Manager
Work: 
408.284.8239
Fax: 
408.284.2766






--
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] Special Chars. in AS

2005-08-25 Thread Abdul Qabiz
Title: Special Chars. in AS





You can use the "charmap" utility on windows to see such 
symbols..

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Abdul 
QabizSent: Thursday, August 25, 2005 10:51 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Special Chars. in 
AS

You can copy paste the degree sign in MXML and it should 
show correctly.


mx:Application 
xmlns:mx="http://www.macromedia.com/2003/mxml"
 mx:TextArea text="30°" 
/
/mx:Application


Save your MXML file with UTF-8 encoding, it should 
work.


-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, 
AghaSent: Thursday, August 25, 2005 10:18 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Special Chars. in 
AS

Hi,
I need to display 
Celsius (250°C) string in a Flex app. Data comes from CF and you can use deg; in CF to 
show it correctly in HTML but when it comes to Flash Player, it just 
spells it (deg;) 
out.
What should I use for 
special Chars?
Thanks
Agha 
Mehdi
IDT - eBusiness Program 
Manager
Work: 
408.284.8239
Fax: 
408.284.2766






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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: using and detecting menubar selection

2005-08-25 Thread Greg Morphis
Anyone? 
Is this what you do? Just have a massive if condition or switch case? 

On 8/24/05, Greg Morphis [EMAIL PROTECTED] wrote:
 Maybe I'm missing something but how do YOU interact with the
 menuitem's you've created?
 I suppose I could add an id and pass that to an function like..
  function changeEvt(event) {
  fSwitch.text=event.menuItem.attributes.label  +   +
 event.menuItem.attributes.id;
   }
 
 But that would take a huge switch case or a bunch of if statements.
 if(id == 'nor_tlc_pos') {}
 elseif (id == 'not_tlc_qdn') {}
 ...
 So I guess my question is, how do YOU handle working with menus?
 
 
 Thanks!
 
 
 
 
 --
 Auxilium meum a Domino
 


-- 
Auxilium meum a Domino


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hs6aaua/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124997924/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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: Invalidating flashproxy JSESSIONID value.

2005-08-25 Thread colinblackmore
Ultimately, I was able to implement the functionality I required by
avoiding using the flashproxy.  By circumventing it, I removed the
requirement to try and remove the cookie for the session held by the
flashproxy and only needed to deal with the browser session variable.

The only outstanding issue is detecting within the flex client when
the users session times out on the server in order to place them back
in the login screen.

Any thoughts...?

--- In flexcoders@yahoogroups.com, colinblackmore
[EMAIL PROTECTED] wrote:
 Can anyone suggest how I might implement a 'logout' facility by
 completely invalidating a users session within Flex?
 
 From what I can deduce, Flex initially passes the JSESSIONID through
 the flashproxy as a cookie, using it to construct the appropriate
 headers for the subsequent http call.  With a _freshly_started_
server
 and a _new_browser_session_, this works great.
 
 However, when I call 'session.invalidate()' within a JSP page to
force
 the user to re-authenticate themselves (which works), the flashproxy
 appears to hold both the original (now invalid) JSESSIONID and a new
 one.  The upshot is that the main client session and the internal
http
 connections are out of sync;ie not sharing the same session.  This
 means that although the user is authenticated to view the flex
client,
 none of the underlying service connections are authenticated.
 
 I've tried calling 'session.invalidate()' within an HTTPService
call,
 and setting the 'JSESSION' cookie to immediately expire, but with no
luck.
 
 Has anyone else run into this issue?
 
 Thanks, in advance.
 
 ...Col
 
 BTW, I'm using form based authentication against Tomcat 5.5.




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h9snt1r/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125002757/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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: Invalidating flashproxy JSESSIONID value.

2005-08-25 Thread Carson Hager
There is nothing in the j2ee spec that provides a way to ask the
container if the session is still valid and there's also not a standard
http response code that you could map a custom response to.  I assume
that you do want the server side timeout?  You can set that timeout to
infinite but there are obvious implications there as well with server
resources.  Other than that, you could implement a ping web service
that you invoke either either periodically or before all calls to other
web services.  If that ping call doesn't return the expected result and
sends you back your form auth page instead, you could then redirect the
user to login.


Carson


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY ext. 89
Mobile: 1.703.489.6466
 
Take PowerBuilder to the Web with EAF 4.0
http://www.cynergysystems.com/public/products/eaf
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of colinblackmore
Sent: Thursday, August 25, 2005 2:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Invalidating flashproxy JSESSIONID value.

Ultimately, I was able to implement the functionality I required by
avoiding using the flashproxy.  By circumventing it, I removed the
requirement to try and remove the cookie for the session held by the
flashproxy and only needed to deal with the browser session variable.

The only outstanding issue is detecting within the flex client when the
users session times out on the server in order to place them back in the
login screen.

Any thoughts...?

--- In flexcoders@yahoogroups.com, colinblackmore
[EMAIL PROTECTED] wrote:
 Can anyone suggest how I might implement a 'logout' facility by 
 completely invalidating a users session within Flex?
 
 From what I can deduce, Flex initially passes the JSESSIONID through 
 the flashproxy as a cookie, using it to construct the appropriate 
 headers for the subsequent http call.  With a _freshly_started_
server
 and a _new_browser_session_, this works great.
 
 However, when I call 'session.invalidate()' within a JSP page to
force
 the user to re-authenticate themselves (which works), the flashproxy 
 appears to hold both the original (now invalid) JSESSIONID and a new 
 one.  The upshot is that the main client session and the internal
http
 connections are out of sync;ie not sharing the same session.  This 
 means that although the user is authenticated to view the flex
client,
 none of the underlying service connections are authenticated.
 
 I've tried calling 'session.invalidate()' within an HTTPService
call,
 and setting the 'JSESSION' cookie to immediately expire, but with no
luck.
 
 Has anyone else run into this issue?
 
 Thanks, in advance.
 
 ...Col
 
 BTW, I'm using form based authentication against Tomcat 5.5.




 Yahoo! Groups Sponsor ~--
font face=arial size=-1a
href=http://us.ard.yahoo.com/SIG=12h9snt1r/M=362335.6886445.7839731.151
0227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125002757/A=2894361/R=0/SIG=1
3jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?
source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income
neighborhoods, 84% do not own computers. At Network for Good, help
bridge the Digital Divide!/a./font
~- 

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



 




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Special Chars. in AS

2005-08-25 Thread Gordon Smith
Title: Special Chars. in AS










In MXML, Flex recognizes the following XML escape sequences
for named characters:



    lt; for 

    gt; for 

    amp; for 

    quot; for 

    apos for '



I don't think there is any way to declare others, but you
can always specify any Unicode character by its numeric code, in either decimal
or hex. For example, either



    #13;



or



    #x0D;



will give you the character with code 13.



I don't happen to know the code for a degree symbol in
Unicode.



Inside an ActionScript string literal, the escape sequence would
be



    \u0D



- Gordon













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz
Sent: Thursday, August 25, 2005
10:24 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Special
Chars. in AS





You can use the charmap
utility on windows to see such symbols..



-abdul









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz
Sent: Thursday, August 25, 2005
10:51 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Special
Chars. in AS

You can copy paste the degree sign in MXML
and it should show correctly.





mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

 mx:TextArea
text=30° /

/mx:Application





Save your MXML file with UTF-8 encoding,
it should work.





-abdul









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Thursday, August 25, 2005
10:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Special
Chars. in AS

Hi,

I need to display Celsius (250°C)
string in a Flex app. Data comes from CF and you can use
deg; in CF to show it correctly in HTML but when it comes to Flash Player,
it just spells it (deg;) out.

What should I use for special Chars?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766









--
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] OH, For the love of all that's good, please help!

2005-08-25 Thread bsd










Where do I make the change to this
setting?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Bullotta
Sent: Thursday, August 25, 2005
8:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] OH, For
the love of all that's good, please help!





One piece of advice: Avoid
rpc/encoded web services and use doc/literal whenever possible











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean McKibben
Sent: Tuesday, August 23, 2005
1:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] OH, For
the love of all that's good, please help!





I ran into this as well. Looking at the SOAP encoded message, it
appeared to me that flex wasn't making clean SOAP (pun definitely intended).









When we switched over to using the CFC's RemoteObject instead of the
WebService, things started working again. Wasn't too hard of a switch, and I'll
take the NetConnectionDebugger over paging through SOAP any day. (still wish
webservice serializing worked better...)











See my Flex serializer vs CF7 deserializer post thread or
the Collections between Flex and Web services thread for some
possible workarounds that didn't work for me...











Sean McKibben

















On Aug 23, 2005, at 10:29 AM, bsd wrote:






I'm passing an array from Flex to a web service located in a CFC.
It returns an error that states:

org.xml.sax.SAXException: No deserializer for array type 
















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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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: Easiest way to connect to mysql?

2005-08-25 Thread Tariq Ahmed
Well from a Coldfusion perspective... it's extremely easy.

In the Coldfusion administrator you set up a Datasource to your mySQL 
Database. CF comes with a mySQL driver out of the box, all you do is 
give it a name (eg mySQLDS), server, port, username, pw, etc...

then in CF you make a file called a CFC (Coldfusion Component), which is 
just a text file and looks something like this in a very basic sense:

mycomponent.cfc
cfcomponent
  cffunction name=getData returnType=query access=remote
 cfquery name=myQuery datasource=mySQLDS
SELECT * from whatever
  /cfquery
  cfreturn myQuery
   /cffunction
/cfcomponent

Then in Flex...
mx:RemoteObject ... source=mycomponent
  mx:Method name=getData . /
/mx:RemoteObject

And that cfc can also be a webservice as the same time just by basically 
switching mx:RemoteObject to mx:WebService.

 From a PHP perspective, this article may help 
http://webservices.xml.com/pub/a/ws/2004/03/24/phpws.html



pioplacz wrote:

That I know cause at the moment I use PHP to output all the data 
from mysql and show it in XML. But thinking of using some other 
technology like webservices. But don't really know how to create 
them? Can you maybe explain a little how is all works and what would 
be the easiest way to use. 

  






 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hhin9nn/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005149/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Rich Text Editor

2005-08-25 Thread Jeremy Rottman
I have a rich text editor that I wrote in coldfusion. It is pulled via
a customtag that I wrote. Now the question I have is, it is possible
to use this RTE with in flex, or are there any RTE's that are built
just for flex.





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hb7h9ev/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005210/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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: Easiest way to connect to mysql?

2005-08-25 Thread Jeremy Rottman
If you have never written cfc's, here are a few links that will help
you alot. The second link is probably the best newbie cfc tutorial.
Also you might want to check out www.easycfm.com. There are tons of
people on there who are experts with coldfusion.

http://www.macromedia.com/devnet/coldfusion/articles/oo_interface.html

http://www.macromedia.com/devnet/coldfusion/articles/creating_cfcs.html

http://www.macromedia.com/devnet/coldfusion/cfcs.html

--- In flexcoders@yahoogroups.com, Tariq Ahmed [EMAIL PROTECTED] wrote:
 Well from a Coldfusion perspective... it's extremely easy.
 
 In the Coldfusion administrator you set up a Datasource to your mySQL 
 Database. CF comes with a mySQL driver out of the box, all you do is 
 give it a name (eg mySQLDS), server, port, username, pw, etc...
 
 then in CF you make a file called a CFC (Coldfusion Component),
which is 
 just a text file and looks something like this in a very basic sense:
 
 mycomponent.cfc
 cfcomponent
   cffunction name=getData returnType=query access=remote
  cfquery name=myQuery datasource=mySQLDS
 SELECT * from whatever
   /cfquery
   cfreturn myQuery
/cffunction
 /cfcomponent
 
 Then in Flex...
 mx:RemoteObject ... source=mycomponent
   mx:Method name=getData . /
 /mx:RemoteObject
 
 And that cfc can also be a webservice as the same time just by
basically 
 switching mx:RemoteObject to mx:WebService.
 
  From a PHP perspective, this article may help 
 http://webservices.xml.com/pub/a/ws/2004/03/24/phpws.html
 
 
 
 pioplacz wrote:
 
 That I know cause at the moment I use PHP to output all the data 
 from mysql and show it in XML. But thinking of using some other 
 technology like webservices. But don't really know how to create 
 them? Can you maybe explain a little how is all works and what would 
 be the easiest way to use. 
 
   
 




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Accordion: save form on exit

2005-08-25 Thread Simard, Ghislain





So far 
the solutions proposed are good except for one thing!!
How to 
get saved a sub-component if I click anywhere on my apps (could be tree menu, 
buttons, etc). The word "focus out" seems to be the best word to explain 
that but it is not doing what I need.

In the 
following example. If I am in the Comp1 and I click on an item on the left 
tree...meaning that I am focussing out of the Comp1...how to get the Comp1 
saved?


Thanks

mx:HBox
 mx:Tree .../
 mx:Accordion 
mx:Form id="form1" label="Form One" hide="saveForm(1)" 
comp:Comp1 
id="comp1"/ 
/mx:Form mx:Form 
id="form2" label="Form Two" 
hide="saveForm(2)" 
mx:Label 
text="1"/mx:Label 
/mx:Form 
/mx:Accordion
/mx:HBox

Ghislain Simard 

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Philippe 
  MaegermanSent: Thursday, August 25, 2005 3:40 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Accordion: save 
  form on exit
  You could alsouse your 
  subComponents'hide' events :
  
  mx:Accordionmx:Form id="form1" 
  label="Form One" hide="saveForm(1)" mx:Label 
  text="1"/mx:Label/mx:Formmx:Form id="form2" 
  label="Form Two" 
  hide="saveForm(2)" mx:Label 
  text="1"/mx:Label/mx:Form/mx:Accordion
  
  
  Philippe 
  Maegerman
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Abdul 
  QabizSent: jeudi 25 août 2005 6:37To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Accordion: save 
  form on exit
  You mean, when another view(form) inside an Accordion is 
  selected youwant to save the values in previously selected 
  view(form)?You can subscribe to Accordion's change event and do the 
  appropriate.Event object contains a propert(prevValue) which is zero-based 
  index ofpreviously selected view inside the Accordion.See the 
  code below:-mx:Script 
  function saveForm(whichForm:Number) 
  {  
  switch(whichForm) 
   { 
case 
  0:  

  comp1.saveForm(); 

  break;  
   case 1: 

   
  comp2.saveForm(); 

  break;  
  } 
  }/mx:Scriptmx:Accordion 
  change="saveForm(event.prevValue)"mx:Form id="form1" label="Form 
  One" comp:Comp1 
  id="comp1"//mx:Formmx:Form id="form2" label="Form 
  Two" comp:Comp2 
  id="comp2"//mx:Formmx:AccordionComp1.mxmlfunction 
  saveForm(){saveRO.Save(myValues);//save values in the Database using 
  RemoteObject}Hope it 
  helps..-abdul-Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
  Ghislain SimardSent: Thursday, August 25, 2005 4:21 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Accordion: save form on 
  exithow can we get the form values saved on exit of a stack of an 
  Accordion? I have tried focusOut but no success.I have a 
  function inside each component (Comp1 and Comp2) which is saving the 
  values in a database.mx:Accordion mx:Form id="form1" 
  label="Form One" 
  comp:Comp1//mx:Formmx:Form id="form2" label="Form 
  Two" 
  comp:Comp2//mx:Formmx:AccordionComp1.mxmlfunction 
  saveForm(){saveRO.Save(myValues);//save values in the Database using 
  RemoteObject}--Flexcoders Mailing 
  ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
  --**STATEMENT 
  OF CONFIDENTIALITY** 
  This e-mail and any attached files are confidential 
  and intended solely for the use of the individual to whom it is addressed. If 
  you have received this email in error please send it back to the person that 
  sent it to you. Any views or opinions presented are solely those of author and 
  do not necessarily represent those the Emakina Company. Unauthorized 
  publication, use, dissemination, forwarding, printing or copying of this email 
  and its associated attachments is strictly prohibited.
  We also inform you that we have checked that this 
  message does not contain any virus but we decline any responsability in case 
  of any damage caused by an a non detected 
  virus.--





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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Link Component

2005-08-25 Thread Omar Ramos
Hiya guys,

I am trying to disable the rollOver action on the Link component. It
seams it doesn't have a useRollOver = false property. Anyone have been
able to disable it some other way? Thanks


Omar Ramos
System Developer


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h9s44vb/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005927/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Rich Text Editor

2005-08-25 Thread David Mendels
Hi,

This is in the list FAQ here: http://www.cflex.net/showfaq.cfm#Question367

-David
Macromedia

 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
 Sent: Thursday, August 25, 2005 3:27 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Rich Text Editor
 
 I have a rich text editor that I wrote in coldfusion. It is 
 pulled via a customtag that I wrote. Now the question I have 
 is, it is possible to use this RTE with in flex, or are there 
 any RTE's that are built just for flex.
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- font face=arial size=-1a 
 href=http://us.ard.yahoo.com/SIG=12hb7h9ev/M=362131.6882499.7
 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005210
 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
 Get Bzzzy! (real tools to help you find a job) Welcome to 
 the Sweet Life - brought to you by One Economy/a./font 
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hlrupft/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125006560/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] OH, For the love of all that's good, please help!

2005-08-25 Thread Rick Bullotta










It isnt really a setting, it is a design
approach. The comment was more that if you build your own web services,
Id recommend using document/literal.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bsd
Sent: Thursday, August 25, 2005
3:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] OH, For
the love of all that's good, please help!





Where do I make the change to this
setting?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick
 Bullotta
Sent: Thursday, August 25, 2005
8:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] OH, For the
love of all that's good, please help!





One piece of advice: Avoid
rpc/encoded web services and use doc/literal whenever possible











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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Developers Toolbox

2005-08-25 Thread Tariq Ahmed
A cool summary of various editors and tools Flash developers can use, 
but definitely can be taken advantage of by Flexers.

http://www.webpronews.com/webdevelopment/webgraphics/wpn-25-20050825FlashDeveloperToolbox.html





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] creationComplete on ViewStack children *bug?*

2005-08-25 Thread Scott Barnes
I've got a typical setup where i set certain properties of controls
within a child of a view stack. Inside the child i have the usual
creationComplete=hlper.myfunc()

Only the myFunc doesn't even know its children within, meaning if i did

view.myButton.enable = false;

the view.myButton would return undefined.

Yet if i put creationPolicy=all on the actual viewstack itself, the
above code example would return a valid button for view.myButton

So in saying this, does this mean that ViewStack creates the base
containers for all of its children, but all sub-containers there
within, aren't created until that child recieves index selection,
meaning if child 2 is clicked, now create its actual internals

To me, the creationComplete event *should* fire once all of its
children objects are actually created, meaning your entire container
has come back completed, now carry out tasks

I also tried putting creationPolicy=all on the child container
itself, but still nothing. It has to be done via the ViewStack in
order for me to manipulate controls within a child?





-- 
Regards,
Scott Barnes
http://www.mossyblog.com


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Cairngorm Development Cycle

2005-08-25 Thread Scott Barnes
-happy-zone-in-check).
Which interfaces between my server-side model and my flex application
making sure arguments back and forth are inline with the DTO/VO vision.

The Gluer can be a bludge/time wastage job at times but other times
it can be very crucial as its the brains trust for the UI application.

Make sense?

On 8/25/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote:







I don't think your crazy eh. Being the glue guy, never actually tried 
that eh, sounds like something I will have to try. I usually allow people to 
implement an entire use-case on their own and then just tweak the UI for them 
eh. That way it appears to me anyways, that we are working in parallel and 
delivering the final overall solution quicker. I find that with Flex, you can 
build the UI so fast, that if you just do UI, you then wait for the serverside 
to do their part before you can complete the UI 
work.

Curiosity, how much glueing do you actually do? Or 
maybe your definition of glueing? I usually just review the code written 
every second day as the project goes along and give the boys feedback on things 
to tweak.

Dimitrios Jimmy Gianninas
RIADeveloper
Optimal Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Scott 
BarnesSent: Wednesday, August 24, 2005 11:25 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm 
Development Cycle
canadian w00t yooo tulkin aboot eh! /canadian (no 
offense intended hehee)I've not had the luxury as yet of working with a 
large number of devsin one team on an flex application, but I've had suceess 
in givingportion-work to be done out. In that, I typically am the guy 
thatglues it all together.In that, I can get folks to work on 
server-side framework (ignore UI),simply give me a model to tap into that 
allows data / and objects tobe shared around as if they were currency (ie 
i';; give you aprofileVO, invoiceVO and you give me back 
aInvoiceCostcodesCollectionVO ). I'm a firm believer in trading 
withobjects (like most I guess).Then, on the UI side of things i'll 
ask someone to build a Panel,which allows insert/update/delete costcodes.. 
meaning just give me thevisuals and an api to call in terms of populating 
this 'view withrelevant data (combination of component development / 
viewhelpermindset).Then, I'll be the guy or one of them, that will 
piece the itemstogether, making sure things fit nice and snug if not, 
request somerefactoring or enhancements (if they follow the 
specs/UML/SequenceDiagrams etc.. shouldn't be a problem).That being 
said, If i am a lone coder, I also play each role like theabove, that way 
can break up un intended coupling and make my workload more 
agile.Cairngorm is a team framework and so if you start top-down or 
down-up,its got enough hooks in place to give you a nice footing on 
eitherdirection? or am i full of crap ? (could be the later, its 
quitepossible hehe).On 8/25/05, Dimitrios Gianninas 
[EMAIL PROTECTED] wrote:  
I've discovered the same thing here, with Flex, we typical prototype the 
UI and show it to stakeholders and thus get approval on the design and 
get immediate feedback on what we might be missing based on what we've 
provided at that time.   However, come 
development time, I do think that giving each developer his own use-case 
to implement end-to-end (DB, serverside, UI) results in quicker delivery 
of the product. It also reduces dead-time, meantime Ui developer waiting 
for the serverside guy to complete his part before he can finish wiring 
things up at the UI level and so on.   My 2 cents 
Canadian.   Dimitrios Jimmy Gianninas  RIA 
Developer  Optimal Payments Inc.   
  From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf 
Of Scott Barnes Sent: Wednesday, August 24, 2005 10:03 AM To: 
flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm 
Development Cycle   I've typically gone down the 
path of building the DB -- Serverside -- UI, but.. 
 I've found with FLEX, it being a new medium and in many ways 
its easier to simply build UI upfront, get the stakeholders chomping 
at the bit in terms of what's written in spec form vs whats being 
built.  It also helps to visualise how this is all going to pan 
out. I had a 52+ page spec for an application I was working on, and It 
was pretty darn thorough (even sequence diagrams heh).  
Yet, when the time came to put it to digital form, we discovered a few 
specific items that were either overlooked or needed more attention 
(mainly for how the business would cope vs technically).  So, to 
summarise, I build outward-in, Cairngorms pretty good in that regard as 
you can come back and plug in the appropriate code via the Business 
Delegate(s)  (ie i've built apps without even knowing how the 
server-side will work, aswell as how the db will work). VO's were fun 
when doing that, as it sometimes pays to have knowledge of both so you 
can mirror in equal aspects via

RE: [flexcoders] Multiple file upload in fp8

2005-08-25 Thread Kelly










Thats awesome news.



Now if we could just do drag and drop like
in my Java applet I would be set.

















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman
Sent: Thursday, August 25, 2005
4:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple
file upload in fp8







Ok not flex but related, some of you will
like to know that multiple file upload is possible in flash player 8:





That's great news ..





http://www.oinam.com/experiments/flash8/fileuploaddownload/









Philippe
Maegerman















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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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.



  








--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--



[flexcoders] CFC debugging netConnectionDebugger

2005-08-25 Thread Malcolm










In recent posts to the group I can see people having with fun tracking
down bugs in their CFCs from Flex. Inspired me to write a post on flex
daddy



http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/



A very handy CustomTag is available for download that returns all
cfcatch information to the netConnectionDebugger. No more debugging in
the dark as Darius put it :]



Cheers,

Malcolm









--
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] CFC debugging netConnectionDebugger

2005-08-25 Thread dfatta





N I C 
E ...This is a huge advancement forward in 
debugging Flex with CFC...I'm beginning to see the 
light...;-)

But, 
(there's always a 'but')...I'm not using Application.cfc, but 
Application.cfm...should I just define the following in the 
cfc?

// error trapping 
parametersrequest.error.email = "[EMAIL PROTECTED]";request.error.enableEmail 
= false;request.error.enableErrorFile = 
true;

A big 
thank you from all of us CFCers,
Darius

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of MalcolmSent: 
  Thursday, August 25, 2005 5:42 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] CFC debugging  
  netConnectionDebugger
  
  In recent posts to the group I can see people having 
  with fun tracking down bugs in their CFCs from Flex. Inspired me to write a 
  post on flex daddy
  
  http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/
  
  A very handy CustomTag is available for download that 
  returns all cfcatch information to the netConnectionDebugger. No more 
  debugging in the dark as Darius put it :]
  
  Cheers,
  Malcolm





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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] CFC debugging netConnectionDebugger

2005-08-25 Thread Scott Barnes
Cool!

Didn't know Andrew had a duplicate owner hehe  (ie two flexers for flexdaddy?) 

I've gone down the path of wrapping try/catch statements inside my
flexGateway/flexFacade.cfc that dump the error to session scope, and
rethrow it.

Then inside my a unittest/dump.cfm i simply dump out session scope
with the error.

Its cumbersome but helps.



On 8/26/05, Malcolm [EMAIL PROTECTED] wrote:
  
  
 
 In recent posts to the group I can see people having with fun tracking down
 bugs in their CFC's from Flex. Inspired me to write a post on flex daddy… 
 
   
 
 http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/
 
   
 
 A very handy CustomTag is available for download that returns all cfcatch
 information to the netConnectionDebugger. No more debugging in the dark as
 Darius put it :] 
 
   
 
 Cheers, 
 
 Malcolm 
 
  --
  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. 
  
  
  


-- 
Regards,
Scott Barnes
http://www.mossyblog.com


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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


[flexcoders] Re: CFC debugging netConnectionDebugger

2005-08-25 Thread Andrew Spaulding
Hehe, not quite Scott, just a place holder to put some nice helper
code. Malcolm is my young apprentice, learning the dark arts of Flex.
He is progressing nicely, soon to be more powerful than ever! muhahaha
... sorry, got a little carried away :-p

Andrew
www.flexdaddy.info



--- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED] wrote:
 Cool!
 
 Didn't know Andrew had a duplicate owner hehe  (ie two flexers for
flexdaddy?) 
 
 I've gone down the path of wrapping try/catch statements inside my
 flexGateway/flexFacade.cfc that dump the error to session scope, and
 rethrow it.
 
 Then inside my a unittest/dump.cfm i simply dump out session scope
 with the error.
 
 Its cumbersome but helps.
 
 
 
 On 8/26/05, Malcolm [EMAIL PROTECTED] wrote:
   
   
  
  In recent posts to the group I can see people having with fun
tracking down
  bugs in their CFC's from Flex. Inspired me to write a post on flex
daddy… 
  

  
  http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/
  

  
  A very handy CustomTag is available for download that returns all
cfcatch
  information to the netConnectionDebugger. No more debugging in
the dark as
  Darius put it :] 
  

  
  Cheers, 
  
  Malcolm 
  
   --
   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. 
   
   
   
 
 
 -- 
 Regards,
 Scott Barnes
 http://www.mossyblog.com




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hfpknof/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125025878/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] CFC debugging netConnectionDebugger

2005-08-25 Thread Malcolm










Yep, just put the request scoped vars in an Application.cfm and
it will work fine.



Malcolm











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, 26 August 2005 10:58
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] CFC
debugging  netConnectionDebugger







N I C E ...This is a huge
advancement forward in debugging Flex with CFC...I'm beginning to see the
light...;-)











But, (there's always a 'but')...I'm not using
Application.cfc, but Application.cfm...should I just define the following in
the cfc?











// error trapping parameters
request.error.email = [EMAIL PROTECTED];
request.error.enableEmail = false;
request.error.enableErrorFile = true;











A big thank you from all of us CFCers,





Darius





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]On Behalf Of Malcolm
Sent: Thursday, August 25, 2005
5:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CFC
debugging  netConnectionDebugger

In recent posts to the group I can see people having with fun tracking
down bugs in their CFCs from Flex. Inspired me to write a post on flex
daddy



http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/



A very handy CustomTag is available for download that returns all
cfcatch information to the netConnectionDebugger. No more debugging in
the dark as Darius put it :]



Cheers,

Malcolm








--
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] CFC debugging netConnectionDebugger

2005-08-25 Thread Malcolm










and yeah, you could of course define the variables in
the errorTrapping tag itself, I would wouldnt recommend putting the
request vars in the cfc itself, as your create more cfcs etc that use
the errorTrapping tag it would get a little tedious maintaining the settings in
each cfc.











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, 26 August 2005 10:58
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] CFC
debugging  netConnectionDebugger







N I C E ...This is a huge
advancement forward in debugging Flex with CFC...I'm beginning to see the
light...;-)











But, (there's always a 'but')...I'm not using
Application.cfc, but Application.cfm...should I just define the following in
the cfc?











// error trapping parameters
request.error.email = [EMAIL PROTECTED];
request.error.enableEmail = false;
request.error.enableErrorFile = true;











A big thank you from all of us CFCers,





Darius





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]On Behalf Of Malcolm
Sent: Thursday, August 25, 2005
5:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CFC
debugging  netConnectionDebugger

In recent posts to the group I can see people having with fun tracking
down bugs in their CFCs from Flex. Inspired me to write a post on flex
daddy



http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/



A very handy CustomTag is available for download that returns all
cfcatch information to the netConnectionDebugger. No more debugging in
the dark as Darius put it :]



Cheers,

Malcolm








--
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] Problems with xmlns=http://www.macromedia.com/2003/flex-config in flex-config

2005-08-25 Thread Eric Raymond
A development  tool (eclipse) has started to complain about usage of
xmlns in the flex config files.

The problem seems to be that the files these specifications refer to
are not present.

For example, flex-config.xml has
flex-config xmlns=http://www.macromedia.com/2003/flex-config;

But the URL it is pointing to is not valid.

If I change this to 

flex-config

then MyEclipse is happy, but then the flex server fails to start properly!

Is there a work around for this?





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hv0kg4d/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125026412/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] CFC debugging netConnectionDebugger

2005-08-25 Thread Malcolm
Andrew was kind enough to grant me a post. Ohit has to be said...

Now who's your daddy?

:D

Can't see any reason why you shouldn't be able to implement the
cf_errorTrapping tag at a façade level (yet to do this myself). It dumps out
the entire cftagcontext, thus any errors in deeply nested cfc's (the line
number, file name  path etc) will come through.

m

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Barnes
Sent: Friday, 26 August 2005 11:01 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] CFC debugging  netConnectionDebugger

Cool!

Didn't know Andrew had a duplicate owner hehe  (ie two flexers for
flexdaddy?) 

I've gone down the path of wrapping try/catch statements inside my
flexGateway/flexFacade.cfc that dump the error to session scope, and
rethrow it.

Then inside my a unittest/dump.cfm i simply dump out session scope
with the error.

Its cumbersome but helps.



On 8/26/05, Malcolm [EMAIL PROTECTED] wrote:
  
  
 
 In recent posts to the group I can see people having with fun tracking
down
 bugs in their CFC's from Flex. Inspired me to write a post on flex daddy… 
 
   
 
 http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/
 
   
 
 A very handy CustomTag is available for download that returns all cfcatch
 information to the netConnectionDebugger. No more debugging in the dark
as
 Darius put it :] 
 
   
 
 Cheers, 
 
 Malcolm 
 
  --
  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. 
  
  
  


-- 
Regards,
Scott Barnes
http://www.mossyblog.com



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



 



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hf6595e/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125026881/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Cairngorm Development Cycle

2005-08-25 Thread Dimitrios Gianninas





Yes, thanks for the 
insight.

I pretty much do the same thing 
you do for POC purpose. I guess your UI guy is not typically responsible for 
wiring up the UI to communicate with the server-side, where in our case he/she 
is. After your definition, I do consider myself somewhat of a glue-guy, but as 
quite as you suggest... something to think about. Thanks for 
sharing.

Love the app as well 
:)

Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Scott 
BarnesSent: Thursday, August 25, 2005 8:14 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm 
Development Cycle
Glue is a term i've picked up from an old job, basically its a title 
that does "bitsa" bit-o-serverside, bit-o-clientside, bit-o-db side 
(rare).This could be a long reply, so get comfortable.I've found 
in FLEX, a lot of the mundane tasks are visuals, meaning "hmm does this color 
work, yes, cool" or "I need to come up with a structure here that is more fluid 
then traditional datagrid insert/update/delete aspects".Take for example 
this: http://www.mossyblog.com/archives/519.cfmInside 
my "Sneak peak", I basically have a screen comprising of:1x FilterPod (it 
can be interchangeable, in that if there is 1 tier, its a simple list, but if 
its many its a tree).1x Calendar Pod1x Inbox View1x Custom 
AppWindow/AppPanel (more on that later)1x Custom Initialize Window1x 
Popup Wizard style window etc..Now In this example It was a solo 
thing, but if i were to hand this concept again to fellow team members, i would 
of given the UI guy/gal enough work to be able to carry on independent of the 
server-side person.Meaning:Task 1: build a splash screen, that 
takes an array of text that shows whats being loaded. I also want it to feed of 
a shared property (ie ModelLocator) to keep track of state, in that if state 
changes, put in some in line logic that updates visuals.Task 2: build a 
Calendar Pod, that mimics Windows O/S "Calendar" within taskbar (ie dbl click on 
your windows time - for those who have windows). So when a user updates the year 
or month, the calendar control updates and same goes for calendar itself). On 
top of that, I want you to make sure the Calendar pod dispatches an event saying 
"Somethings changed" (ie dispatchEvent onDateChange() ) I also want you to 
provide a way to set selectedDate:Date for this pod, which also updates 
accordingly.The list could go on..Then for the serverside, i'd 
inform them that i need coldfusion to be work as if the UI is either HTML or 
FLASH or SOAP, in that don't give two hoots about how it comes together 
visually, just stipulate what you need in terms of arguments to a various 
services within and i'll make sure the uis adhere to that.Now the "glue" 
guy/gal is the person that knows how to slot everything together, meaning "I 
want to fire xyz commands in sequence to show the initialization screen, in that 
i want to :- test to see if the gateway is still there- initialize 
security (ie ask cfmx singelton style request, is security model instantiated, 
if not do so )- perform security handshake and wait for a result (ie log me 
in via my ActiveDirectory and see if have access to this flex app)- grab my 
InboxFilter dataprovider (ie ask serverside for my inbox filters saved 
remotely)- once i have my inbox filters, select my default and get all 
invoices pertaining to that filter, selectedDate and my profile- now show 
the actual application if all passes ok.Which I then switch from 
splashscreen child to mainchild, Now in mainchild i basically layout all 
the UI ingredients I asked my UI guy/gal to create in an orderly way. I then 
setup various addlisteners, bindings etc to the api calls (ie if calenderpod 
updates date, update my Inboxfilter to reflect that date change 
etc)Basically there are 4 "tiers" you can approach this with:- 
Gluer / Architect- UI- Serverside- DBAOn small apps this 
is a no brainer, but on much larger apps the segregation can be helpful but also 
can be a bottle neck if not carefully orchestrated. So that's why specification 
and planning is a crucial component of the "gluer" concept, meaning if the 
"glue" cannot perform his/her duties (ie got hit by bus? ) then someone else can 
easily step into that role and fullfill it. So that's why i have things like my 
"Software-O-Matic" style task listings, whereby I after specifications been 
written and signed off on, I then begin to itemize various tasks of what needs 
to be done. Each time someone performs the task, the update the list (ie 
its basically a 100% complete against version x.x.x of that 
component).If you're in a POC stage that relies more on visuals then 
server side, you can utilise the first two (Architect / UI) and do away with the 
bottom two for now. Then once the POC is 

RE: [flexcoders] creationComplete on ViewStack children *bug?*

2005-08-25 Thread Abdul Qabiz
Title: RE: [flexcoders] creationComplete on ViewStack children *bug?*








Scott-


 So in saying this, does this mean that ViewStack creates the base

 containers for all of its children, but all sub-containers there

 within, aren't created until that child recieves index selection,

 meaning if child 2 is clicked, now create its actual internals


Right, following is from docs:


A creationPolicy of auto means that the container is to delay creating some or all descendants until they are needed, a process which is known as deferred instantiation. This policy produces the best startup time because fewer UIObjects are created initially. However, this introduces navigation delays when a user navigates to other parts of the application for the first time. Navigator containers such as Accordion, TabNavigator, and ViewStack implement the auto policy by creating all their children immediately, but wait to create the deeper descendants of a child until it becomes the selected child of the navigator container.

That means, to me, it is there by design.


You can call myFunc from creationComplete of each children or show/hide event of ViewStack.



-abdul





-Original Message-

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes

Sent: Friday, August 26, 2005 5:15 AM

To: flexcoders@yahoogroups.com

Subject: [flexcoders] creationComplete on ViewStack children *bug?*


I've got a typical setup where i set certain properties of controls

within a child of a view stack. Inside the child i have the usual

creationComplete=hlper.myfunc()


Only the myFunc doesn't even know its children within, meaning if i did


view.myButton.enable = false;


the view.myButton would return undefined.


Yet if i put creationPolicy=all on the actual viewstack itself, the

above code example would return a valid button for view.myButton


So in saying this, does this mean that ViewStack creates the base

containers for all of its children, but all sub-containers there

within, aren't created until that child recieves index selection,

meaning if child 2 is clicked, now create its actual internals


To me, the creationComplete event *should* fire once all of its

children objects are actually created, meaning your entire container

has come back completed, now carry out tasks


I also tried putting creationPolicy=all on the child container

itself, but still nothing. It has to be done via the ViewStack in

order for me to manipulate controls within a child?






-- 

Regards,

Scott Barnes

http://www.mossyblog.com



 Yahoo! Groups Sponsor ~-- 

font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org">http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org

Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font

~- 


--

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 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] creationComplete on ViewStack children *bug?*

2005-08-25 Thread Scott Barnes
Aye, i RTFM ;) heheh

.. but wait to create the deeper descendants of a child until it
becomes the selected child of the navigator container...

See that part is what threw me, it sounded is if you left the
creationPolicy soley up to the ViewStack, then yes it proceeds
according to design.

Yet, if you put in creationPolicy=all on the *actual* child02, its
ignored in favour of what the actual viewstack's policy states... in
that you can't over-ride it for children within the viewstack?

As to what then purpose you would have creationComplete= on a child
of a viewstack is beyond me?

Smells fishy to me ;) hehe






On 8/26/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
 
 
  Scott- 
 
  So in saying this, does this mean that ViewStack creates the base 
  containers for all of its children, but all sub-containers there 
  within, aren't created until that child recieves index selection, 
  meaning if child 2 is clicked, now create its actual internals 
 
 Right, following is from docs: 
 
 A creationPolicy of auto means that the container is to delay creating
 some or all descendants until they are needed, a process which is known as
 deferred instantiation. This policy produces the best startup time because
 fewer UIObjects are created initially. However, this introduces navigation
 delays when a user navigates to other parts of the application for the first
 time. Navigator containers such as Accordion, TabNavigator, and ViewStack
 implement the auto policy by creating all their children immediately, but
 wait to create the deeper descendants of a child until it becomes the
 selected child of the navigator container.
 
 That means, to me, it is there by design. 
 
 You can call myFunc from creationComplete of each children or show/hide
 event of ViewStack. 



 
 
 -abdul 
 
 
 
 
 
 -Original Message- 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of Scott
 Barnes 
 Sent: Friday, August 26, 2005 5:15 AM 
 To: flexcoders@yahoogroups.com 
 Subject: [flexcoders] creationComplete on ViewStack children *bug?* 
 
 I've got a typical setup where i set certain properties of controls 
 within a child of a view stack. Inside the child i have the usual 
 creationComplete=hlper.myfunc() 
 
 Only the myFunc doesn't even know its children within, meaning if i did 
 
 view.myButton.enable = false; 
 
 the view.myButton would return undefined. 
 
 Yet if i put creationPolicy=all on the actual viewstack itself, the 
 above code example would return a valid button for view.myButton 
 
 So in saying this, does this mean that ViewStack creates the base 
 containers for all of its children, but all sub-containers there 
 within, aren't created until that child recieves index selection, 
 meaning if child 2 is clicked, now create its actual internals 
 
 To me, the creationComplete event *should* fire once all of its 
 children objects are actually created, meaning your entire container 
 has come back completed, now carry out tasks 
 
 I also tried putting creationPolicy=all on the child container 
 itself, but still nothing. It has to be done via the ViewStack in 
 order for me to manipulate controls within a child? 
 
 
 
 
 
 -- 
 Regards, 
 Scott Barnes 
 http://www.mossyblog.com 
 
 
  Yahoo! Groups Sponsor ~-- 
 font face=arial size=-1a
 href=http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
 
 Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life -
 brought to you by One Economy/a./font 
 ~-
 
 -- 
 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 
 
  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. 
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
   
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http

RE: [flexcoders] the \n doesn't work in XML

2005-08-25 Thread Nithya R



ok... but what do you mean by a sub class?

nithyaGordon Smith [EMAIL PROTECTED] wrote:









The Button control doesn't support multi-line labels. You would have to write a subclass to do this.

- Gordon





From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya RSent: Thursday, August 25, 2005 12:16 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] the \n doesn't work in XML


i am not able to send you the full code since its too large...



i use it in the viewhelper



labels.bundle.BTN_ENTRY = label.BTN_ENTRY_1.French#13; label.BTN_ENTRY_2.French;

and display it in buttonlabel like this:



mx:Button id="Btn_Entry" label="{helper.labels.bundle.BTN_ENTRY}"/



if u are not able to get it , then i shall build a small code and send it again...



thanks



nithya

Gordon Smith [EMAIL PROTECTED] wrote:

Post the code for a small and simple, but complete, mx:Application that demonstrates your problem.

- Gordon





From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya RSent: Wednesday, August 24, 2005 10:48 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] the \n doesn't work in XML


hai



i tried giving 
the text is #13; too long to displayed

but it still doesn't work... could you pls tell me y?



thanks



nithya
Gordon Smith [EMAIL PROTECTED] wrote:

\n doesn't mean anything in XML. Try

 #13;

(including the semicolon) which is the XML escape sequence representing a Carriage Return character.

- Gordon





From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy SprattSent: Wednesday, August 24, 2005 10:40 AMTo: flexcoders@yahoogroups.comSubject: RE:
 [flexcoders] the \n doesn't work in XML

What control are you displaying it in?
Tracy





From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya RSent: Wednesday, August 24, 2005 8:19 AMTo: flexcodersSubject: [flexcoders] the \n doesn't work in XML


hai



i have an XML with a node containg "this line is too big.\nto be displayed in the second line"



and when accessing this node and displaying the content the \n is not being recognised and the txet is not displayed in two lines... how to sdo this?

nithya


Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] the \n doesn't work in XML

2005-08-26 Thread Manish Jethani
On 8/25/05, Nithya R [EMAIL PROTECTED] wrote:

 i am trying to use xml for displaying the button label is there any
 possible way of displaying it in two lines only using XML? 
   
 i tried using #13; as told by gordon but it didnt work please help... 

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:Button label=This label is too#13;too long... /
/mx:Application

#13; works for insering a newline.

Manish


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Link Component

2005-08-26 Thread Manish Jethani
On 8/26/05, Omar Ramos [EMAIL PROTECTED] wrote:

 I am trying to disable the rollOver action on the Link component. It
 seams it doesn't have a useRollOver = false property. Anyone have been
 able to disable it some other way? Thanks

Your only option seems to be that you set the rollOverColor style to
the same colour as the background.  For example, if your background is
white, you set rollOverColor to white.

Another slightly hacky option is to set the alpha of the Link to 0. ;)
 This will make any drawing on it transparent.  The downside here is
that you don't get to see any highlights, including selectionColor. 
Then you could also extend the Link component to handle mouse events
and toggle alpha accordingly.

Manish


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Accordion: save form on exit

2005-08-26 Thread Manish Jethani
On 8/26/05, Simard, Ghislain [EMAIL PROTECTED] wrote:

 In the  following example.  If I am in the Comp1 and I click on an item on 
 the left  tree...meaning that I am focussing out of the Comp1...how to get 
 the Comp1  saved? 

 mx:HBox 
 mx:Tree .../ 
 mx:Accordion
  mx:Form id=form1 label=Form One hide=saveForm(1)
  comp:Comp1  id=comp1/
  /mx:Form
 mx:Form  id=form2 label=Form Two  hide=saveForm(2)
  mx:Label  text=1/mx:Label
  /mx:Form
  /mx:Accordion 
 /mx:HBox 

Comp1 will dispatch a focusOut event only if it's focusable and
currently has focus.  If you have a TextInput inside a Panel, with the
focus in the TextInput, and you move the focus out, it is the
TextInput that dispatches the event, not the Panel.

Manish


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] using and detecting menubar selection

2005-08-26 Thread Manish Jethani
On 8/24/05, Greg Morphis [EMAIL PROTECTED] wrote:

 Maybe I'm missing something but how do YOU interact with the
 menuitem's you've created?
 I suppose I could add an id and pass that to an function like..
  function changeEvt(event) {
  fSwitch.text=event.menuItem.attributes.label  +   +
 event.menuItem.attributes.id;
   }
 
 But that would take a huge switch case or a bunch of if statements.

Yes, a switch statement is way I would do it.  From the 'change'
handler, I would just delegate to other methods that actually perform
the actions, keeping my switch block small and neat.

You could of course be oversmart ;)  and embed action names straight
into your data provider and call the functions directly.

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:Panel id=panel title=Menu Bar Panel height=35% width=30% 
mx:MenuBar id=menubar
  change=this[event.menuItem.attributes.action]()
  mx:dataProvider
mx:XML
  menuitem label=MenuItem A
menuitem label=SubMenuItem 1-A action=foo /
menuitem label=SubMenuItem 2-A action=bar /
  /menuitem
/mx:XML
  /mx:dataProvider
/mx:MenuBar 
  /mx:Panel
  mx:Script
function foo() { alert('foo') }
function bar() { alert('bar') }
  /mx:Script  
/mx:Application

Manish


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] creationComplete on ViewStack children *bug?*

2005-08-26 Thread Manish Jethani
On 8/26/05, Scott Barnes [EMAIL PROTECTED] wrote:

 I've got a typical setup where i set certain properties of controls
 within a child of a view stack. Inside the child i have the usual
 creationComplete=hlper.myfunc()
 
 Only the myFunc doesn't even know its children within, meaning if i did
 
 view.myButton.enable = false;
 
 the view.myButton would return undefined.
 
 Yet if i put creationPolicy=all on the actual viewstack itself, the
 above code example would return a valid button for view.myButton

That's because the children aren't yet created at the time the
creationComplete event.

 So in saying this, does this mean that ViewStack creates the base
 containers for all of its children, but all sub-containers there
 within, aren't created until that child recieves index selection,
 meaning if child 2 is clicked, now create its actual internals

Yes, exactly.

 To me, the creationComplete event *should* fire once all of its
 children objects are actually created, meaning your entire container
 has come back completed, now carry out tasks

creationComplete means the container itself is created, not its
children. ;)  (Yeah I know tihs isn't obvious.)

You should listen to the childrenCreated event if you want to work
on the children.

Manish


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE : [flexcoders] Rich Text Editor

2005-08-26 Thread Philippe Maegerman
I'm curious to see your RTE, I wrote one my self using CF7 flash forms:
http://cfpim.blogspot.com/2005/04/rich-textarea-for-flash-cfforms.html 
http://cfpim.blogspot.com/2005/04/rich-textarea-for-flash-cfforms.html 
 
It could be adapted to flex, it's a mix of CF + AS



De: flexcoders@yahoogroups.com de la part de Jeremy Rottman
Date: jeu. 25/08/2005 21:26
À: flexcoders@yahoogroups.com
Objet : [flexcoders] Rich Text Editor


I have a rich text editor that I wrote in coldfusion. It is pulled via
a customtag that I wrote. Now the question I have is, it is possible
to use this RTE with in flex, or are there any RTE's that are built
just for flex.





--
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 
Computer software testing 
http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg
 Macromedia flex 
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=dAUcEV7do91-wrRtVS641g
 Development 
http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxNUQBOI7Io7S7nhmxV0Q
 
Software developer 
http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=QWIit8JayomoIHLVkV3FDg
   



YAHOO! GROUPS LINKS 



*Visit your group flexcoders 
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
http://docs.yahoo.com/info/terms/ . 






--
**STATEMENT OF CONFIDENTIALITY** 

This e-mail and any attached files are confidential and intended solely for the 
use of the individual to whom it is addressed. If you have received this email 
in error please send it back to the person that sent it to you. Any views or 
opinions presented are solely those of author and do not necessarily represent 
those the Emakina Company. Unauthorized publication, use, dissemination, 
forwarding, printing or copying of this email and its associated attachments is 
strictly prohibited.

We also inform you that we have checked that this message does not contain any 
virus but we decline any responsability in case of any damage caused by an a 
non detected virus.
--



 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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

Re: [flexcoders] Scrollbar in canvas

2005-08-26 Thread Manish Jethani
On 8/20/05, Rajesh Jayabalan [EMAIL PROTECTED] wrote:

  I have vScrollPolicy=auto in a canvas and a vbox inside it with a
 repreater which creates a buch of elements (labels, combos)
 
  In some cases the scrollbar works fine and shows correctly, but in
 some cases the scrollbar does not show up at all, I have tried setting
 it to on and in that case it shows a solid bar where the scroll bar
 should be again this happens only some times..

Could be a bug.  If you can consistently reproduce the behaviour with
a given set of data, that would help us fix it for the next release
and also provide you a workaround in the meanwhile.

Manish


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] the \n doesn't work in XML

2005-08-26 Thread Gordon Smith
The #13; inserts a CR into the label string, but the Button doesn't
display the second line. I think the problem is that a Button's internal
TextField doesn't have its multiline property set, and the measurement
of the label width and height is done assuming only a single line of
text.

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, August 25, 2005 11:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] the \n doesn't work in XML

On 8/25/05, Nithya R [EMAIL PROTECTED] wrote:

 i am trying to use xml for displaying the button label is there
any
 possible way of displaying it in two lines only using XML? 
   
 i tried using #13; as told by gordon but it didnt work please
help... 

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:Button label=This label is too#13;too long... /
/mx:Application

#13; works for insering a newline.

Manish



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



 




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Controlling iddle time

2005-08-26 Thread Alberto Albericio Salvador
Hi all,

If I want my Flex application to control the time that one user is 
iddling and launch an event if that time is bigger than X, how can I do 
that?

For iddling Im meaning the time the user is not even moving the mouse, 
or he is not focused on the application, etc

Greetings

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Loading classes

2005-08-26 Thread Prasad Dhananjaya
Hi All,

I want to draw two squares inside the canves.
I define DrawIconsclass. My class file and MXML file is in the same
directory. When I run this, it says The class DrawIcons()could not 
be loaded (line of error is var Square1:DrawIcons = new DrawIcons(100, 200);)
Can someone please tell me what's the wrong with this code?

Thanks,
Prasad
(Absolute beginner of 
Flex  ActionScript,
Studying using of classes)

--square.mxml---
mx:Application width=800 height=600 
xmlns:mx=http://www.macromedia.com/2003/mxml;


mx:Script
![CDATA[
function callDrawIcons(){
var Square1:DrawIcons = new DrawIcons(100, 200);
var Square2:DrawIcons = new DrawIcons(100, 300);
Square1.createSquare();
Square2.createSquare();
}
]]
/mx:Script

mx:Canvas id=MyCanves width=600 height=400 
initialize=callDrawIcons()/mx:Canvas
/mx:Application

---


-DrawIcons.as--
//Class definition
class DrawIcons {
var xValue:Number;
var yValue:Number;

//Contractor
function DrawIcons(cordiX:Number,cordiY:Number){
this.Xvalue=cordiX;
this.Yvalue=cordiY;
  }
//Drawing square
function createSquare() {
var square_mc:MovieClip;
square_mc = 
MyCanves.createEmptyMovieClip(square_mc,getNextHighestDepth());
square_mc.lineStyle(1, 0x00, 100);
square_mc.beginFill(0xFF, 100);
square_mc.moveTo(0, 0);
square_mc.lineTo(50, 0);
square_mc.lineTo(50, 50);
square_mc.lineTo(0, 50);
square_mc.lineTo(0, 0);
square_mc.endFill();

square_mc._x = this.Xvalue;
square_mc._y = this.Yvalue; 
   }
}




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




<    3   4   5   6   7   8   9   10   11   12   >