[flexcoders] Adobe - Please answer / Best method for Flash install for everyday users

2006-08-13 Thread Robert Thompson



Dear Adobe,Internet Explorer requires SWFObject (and it works).Firefox now disables _javascript_ and some of my potetial visitors say they can't enter the site.I've noticed Adobe appears to:1. Run/Install Flash for IE.2. Display JPEG or GIF for Flash Movies and place a notice that "This site may not have all it's features enabled" But for any interactive content it appears to use DHTML menus.Is the recommended method.It seems with so many browser changes (ie MS Eolas loss, Firefox disabling _javascript_ from the get-go o installation) that it would be more important than ever to get one tried and true method that works and deals with all contigencies of all major browsers.-r 
	

	
		Do you Yahoo!? Everyone is raving about the  all-new Yahoo! Mail Beta.
__._,_.___





--
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] Re: Best way to reference items in a parent MXML component?

2006-08-13 Thread Sergey Kovalyov
If you want to use utility function, make the utility class with
static methods only and place the function there instead of parent
class. Then call it from children via MyUtilityClass.myMethod();

On 8/13/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:
 How would a child call a function in the parent though? Events don't
 seem (semantically) like the right thing because I basically just want
 to use a utility function defined in the parent. Like I have a
 function that I am using to format the dataTips of my charts in the
 child components, but dispatching an event every time I roll over a
 chart item seems a bit tedious and extreme.

 Is there a better way or do I just need to get used to using events? I
 come from a Flash background and have not used events very much.

 Thanks,
 Ben


--
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] datagrid column sort numerically?

2006-08-13 Thread Impudent1
I was noticing one one of my datagrids that its sorting a column of data 
as strings vs numbers.

ie if it contains values of 0, 120, 2 as default ascending sort, 
clicking the header results in a descending sort of 2,120,0.

http://www.5etdemi.com/blog/archives/2006/01/sorting-datagrid-columns-numerically/

had what I thought would be the trick but I seem to be stuck at a 
compile error:

X 1042: The this keyword cannot be used in static methods. It can only 
be used in instance methods, function closures, and global code.


So I ask, what am I missing? and is it just me or is this something that 
you would assume flexbuilders components should cover? Seems like 
something that would be come across a fair bit no?

Impudent1
LeapFrog Productions





--
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] datagrid column sort numerically?

2006-08-13 Thread Carlos Rovira



Here is another link,This one from Mike Chambers for Flex 1.5.Don't know if could be of help.Best,C.On 8/13/06, Impudent1
 [EMAIL PROTECTED] wrote:












  



I was noticing one one of my datagrids that its sorting a column of data 
as strings vs numbers.

ie if it contains values of 0, 120, 2 as default ascending sort, 
clicking the header results in a descending sort of 2,120,0.

http://www.5etdemi.com/blog/archives/2006/01/sorting-datagrid-columns-numerically/


had what I thought would be the trick but I seem to be stuck at a 
compile error:

X 1042: The this keyword cannot be used in static methods. It can only 
be used in instance methods, function closures, and global code.

So I ask, what am I missing? and is it just me or is this something that 
you would assume flexbuilders components should cover? Seems like 
something that would be come across a fair bit no?

Impudent1
LeapFrog Productions


  













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

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] how to use get/set to make a custom property? HELP!

2006-08-13 Thread shemeshkale
hello group.
using flex 1.5, i want to make a 3 state checkbox so i have extended a
button to do this.
on this button i have added a new property named : checkState.
please see the code below for my 2 files.
i know there is a better way (much more elegant) with the use of
get/set to make a custom property.
i just dont know how to use them getter-setter.
could you, PLEASE, take a look at my code and tell me how is this done
with get/set?

mxml file:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns:myComponents=myComponents.* backgroundColor=#0066CC

mx:Panel width=50% height=90% verticalAlign=middle
horizontalAlign=center
mx:Button label=check state click=textA.text+=' ..state:
'+myBtn.checkState; /
mx:RadioButton label=semi click=myBtn.checkState = 'semi';
myBtn.dispatchEvent({type:'stateUpdate'}) /
mx:RadioButton label=true click=myBtn.checkState = 'true';
myBtn.dispatchEvent({type:'stateUpdate'}) /
mx:RadioButton label=false click=myBtn.checkState = 'false';
myBtn.dispatchEvent({type:'stateUpdate'}) /
mx:Spacer height=30 /
myComponents:tri_state id=myBtn checkState=true
useHandCursor=true/
myComponents:tri_state id=myBtn1 useHandCursor=true/
myComponents:tri_state id=myBtn2 checkState=false
useHandCursor=true/
mx:TextArea width=80% height=100% backgroundColor=#CC
id=textA /
/mx:Panel
/mx:Application


The tri_state.as :
class myComponents.tri_state extends mx.controls.Button {

public var checkState:String;

[Embed(source=images/3state_true.png)]
public var state_true:String;
[Embed(source=images/3state_semi.png)]
public var state_semi:String;
[Embed(source=images/3state_false.png)]
public var state_false:String;

public function tri_state(checkState:String){
setStyle(horizontalGap,0);
setStyle(borderStyle,solid);
width = 12;
height = 12;
addEventListener(click, this);
addEventListener(initialize, this);
addEventListener(stateUpdate, this);
}

private function stateUpdate(event:Object):Void{
if (checkState == true)icon = state_true;
else if (checkState == semi)icon = state_semi;
else icon = state_false;
}

private function initialize(event: Object) : Void {
//mx.core.Application.alert(+semi);
stateUpdate();  
}

private function click(event: Object) : Void {
if(checkState == false){
icon = state_semi;
checkState = semi;
}else if(checkState == true){
icon = state_false;
checkState = false;
}else if(checkState==semi){
icon = state_true;
checkState = true;
}
}







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

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

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

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




[flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread tomkrcha
Hi,

does anybody already tried to run Eclipse under Mac OS X? Is that
possible? And what about Flex? Because, all eclipse extensions are in
Java, so is it possible to run Flex plugin for Eclipse under Mac OS X?

Thanks

Tom





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

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

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

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





[flexcoders] Re: how to use get/set to make a custom property? HELP!

2006-08-13 Thread gotgoose09
Rename checkState to _checkState.

private var _checkState:String;

public function get checkState():String
{
return _checkState;
}
public function set checkState(val:String):void
{
// make sure val is a valid value
if (val == true || val == semi || val == false)
{
   _checkState = val;
}
}
--- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote:

 hello group.
 using flex 1.5, i want to make a 3 state checkbox so i have extended a
 button to do this.
 on this button i have added a new property named : checkState.
 please see the code below for my 2 files.
 i know there is a better way (much more elegant) with the use of
 get/set to make a custom property.
 i just dont know how to use them getter-setter.
 could you, PLEASE, take a look at my code and tell me how is this done
 with get/set?

 mxml file:

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 xmlns:myComponents=myComponents.* backgroundColor=#0066CC

 mx:Panel width=50% height=90% verticalAlign=middle
 horizontalAlign=center
  mx:Button label=check state click=textA.text+=' ..state:
 '+myBtn.checkState; /
  mx:RadioButton label=semi click=myBtn.checkState = 'semi';
 myBtn.dispatchEvent({type:'stateUpdate'}) /
  mx:RadioButton label=true click=myBtn.checkState = 'true';
 myBtn.dispatchEvent({type:'stateUpdate'}) /
  mx:RadioButton label=false click=myBtn.checkState = 'false';
 myBtn.dispatchEvent({type:'stateUpdate'}) /
  mx:Spacer height=30 /
  myComponents:tri_state id=myBtn checkState=true
 useHandCursor=true/
  myComponents:tri_state id=myBtn1 useHandCursor=true/
  myComponents:tri_state id=myBtn2 checkState=false
 useHandCursor=true/
  mx:TextArea width=80% height=100% backgroundColor=#CC
 id=textA /
 /mx:Panel
 /mx:Application


 The tri_state.as :
 class myComponents.tri_state extends mx.controls.Button {

  public var checkState:String;

  [Embed(source=images/3state_true.png)]
  public var state_true:String;
  [Embed(source=images/3state_semi.png)]
  public var state_semi:String;
  [Embed(source=images/3state_false.png)]
  public var state_false:String;

  public function tri_state(checkState:String){
   setStyle(horizontalGap,0);
   setStyle(borderStyle,solid);
   width = 12;
   height = 12;
   addEventListener(click, this);
   addEventListener(initialize, this);
   addEventListener(stateUpdate, this);
  }

  private function stateUpdate(event:Object):Void{
   if (checkState == true)icon = state_true;
 else if (checkState == semi)icon = state_semi;
 else icon = state_false;
  }

  private function initialize(event: Object) : Void {
   //mx.core.Application.alert(+semi);
   stateUpdate();
  }

  private function click(event: Object) : Void {
   if(checkState == false){
icon = state_semi;
checkState = semi;
   }else if(checkState == true){
icon = state_false;
checkState = false;
   }else if(checkState==semi){
icon = state_true;
checkState = true;
   }
  }








--
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] MyPrintPreview,,,,,how to print images?

2006-08-13 Thread Michael Schmalle



Hi,This method might help you protected function getComponentBitmap(target:IUIComponent,transparent:Boolean = false):IUIComponent { var bitmapData:BitmapData = new BitmapData(
 Math.round(target.width / target.scaleX), Math.round(target.height / target.scaleY), transparent);
 bitmapData.draw(target); var bitmap:Bitmap = new Bitmap(bitmapData); var bitmapHolder:UIComponent = new UIComponent(); bitmapHolder.addChild(bitmap);  return bitmapHolder;
 }Peace, MikeOn 8/12/06, tonyx_788 [EMAIL PROTECTED] wrote:













  



this print example is from the Flex help it just prints the textwhat i want is to print the image on my swfLoader or mx:image componentany one know how to do it i already try the live docs UICOMPONENT class but don't know which one is it
import mx.printing.FlexPrintJob;import MyPrintView; private function copyToClipboard(e:Event):void{ System.setClipboard(this.areaDeTexto.text);   } public function doPrint():void {
 // Create a FlexPrintJob instance. var printJob:FlexPrintJob = new FlexPrintJob(); // Start the print job. if(printJob.start()) { // Create a MyPrintView control as a child of the current view.
 var formPrintView:MyPrintView = new MyPrintView(); addChild(formPrintView); // Populate the print control's Name label with the text from  // the form's Name controls.
 formPrintView.nombre.text =  + Nombre.text +// Set the print control's textArea data provider to be  // the displayed textArea's data provider.
 formPrintView.contenido.text = areaDeTexto.text;formPrintView.foto.data= ""> // Add the SimplePrintview control to the print job.
 // For comparison, try setting the second parameter to none. printJob.addObject(formPrintView); // Send the job to the printer. 
printJob.send(); // Remove the print-specific control to free memory. removeChild(formPrintView); }   }

  













-- What goes up, does come down.

__._,_.___





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








   



  




  
  
  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] loading xml

2006-08-13 Thread list
Looks like you need to use the mxmlc compiler argument '-use- 
network=false' when compiling your application.

Flex livedocs entry on this topic: http://livedocs.macromedia.com/ 
flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm? 
context=LiveDocs_Partsfile=1500.html

You're code also looks a bit odd to me. I don't believe it will  
compile because the URLLoader constructors requires a URLRequest and  
won't accept a string value. I'm guessing you meant

myLoader = new URLLoader(myXMLURL);

HTH

Chafic

On Aug 12, 2006, at 8:45 PM, aaron smith wrote:

 how do I load local XML?

 I was doing this:

 private function loadXML():void
 {
 myXML = new XML();
 myXMLURL = new URLRequest(XML_URL);
 myLoader = new URLLoader( menu.xml);
 myLoader.addEventListener(complete, xmlLoaded);
 }

 private function xmlLoaded():void
 {
 myXML = XML(myLoader.data);
 trace(Data loaded.);
 }



 but it spits out errors. Is there security issues?

 here are the errors..

 SWF file file:///C|/Documents%20and%20Settings/aaronsh/Desktop/dev/ 
 flash/%5F%20AS3%20TESTING/3waylayout/classes/Main.swf cannot access  
 local resource file:///C|/Documents%20and%20Settings/aaronsh/ 
 Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/classes/menu.xml .  
 Only local-with-filesystem and trusted local SWF files may access  
 local resources.

 Do i need to do something different for local files? I would think  
 it would be the same as how you load from a URL...

 thanks.

 



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

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

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

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




RE: [flexcoders] Help regarding WebServices (FLEX) in Actionscript

2006-08-13 Thread Franck de Bruijn












Hi Samuel,



A few things:


 Are
 you sure that you host your Flex application also at the www.ifeel3.com site? This is a necessity
 for a Flex application to communicate with a webservice, due to Flashs
 security model. (unless there is somewhere a crossdomain.xml file with the
 correct content ... check the documentation)
 Your
 code might work, but not necessarily so. The loadWSDL() operation is
 asynchronous, but takes quite some time to complete. Only after the
 loadWSDL() has completed (and then some milliseconds more ... see some
 recent threads in this mailing list) you can fire your operation. To
 accomplish this you have to register for the LoadEvent.LOAD event
 I
 dont know where all this AsyncToken stuff comes from, but
 invocation of webservices can be done much simpler. Just try:
 tsWS.createUser(sessionId, userName, dob).
 Expect
 some difficulties with Flex and the support of DOC/Literal webservices; I
 see that you are probably using .Net and DOC/Literal, and there are some
 issues with it. Also check the mailing list for this.




HTH,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 1:29
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help
regarding WebServices (FLEX) in Actionscript











var tsWS:WebService = new WebService();
tsWS.wsdl = http://www.ifeel3.com/webservices/service.asmx?WSDL;

tsWS.loadWSDL();

var op:AbstractOperation = tsWS[createUser];
tsWS.addEventListener(result, doResults);
tsWS.addEventListener(fault, doFailed);
var token:AsyncToken = op.send();
token.responder = new Responder(resultOut, null);

-

All,

i am tring to access some webservices i have written in dotNet from Flex. If
anyone can point 
out where i am going wrong, please send me an email to [EMAIL PROTECTED]at-home.com.

The WSDL is publically visible - the only part missing are the eventlistening
functions. 

Many thanks,
Samuel






__._,_.___





--
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: AS3 Question

2006-08-13 Thread Weldon MacDonald
Do you use other peoples code? Of course you do, if only the mx
classes. Do you know every detail of every implementation? Probably
not, why would you want to. Isn't MXML doing the same thing? The
syntax is different, the language structure is different and this is
probably what your not comfortable with. The bottom line is, as
always, productivity. The developers salary is the chief cost of
software isn't it?  Editors with syntax coloring and error checking,
High level languages, the whole oop concept, and visual editors. I
know a computer science student who does everything writes everything
in Notepad, but is anyone going to let him do that on the job? You
need to knows what's going on in your app, but you also must embrace
the tools that increase your productivity.

Weldon MacDonald


--
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: Help regarding WebServices (FLEX) in Actionscript

2006-08-13 Thread Samuel Colak

Solved ;) Actually i forgot that it doesnt execute inline (sniff sniff) but i 
have a way of 
coping with that ;)

Many thanks for those interested.


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

 var tsWS:WebService = new WebService();
 tsWS.wsdl = http://www.ifeel3.com/webservices/service.asmx?WSDL;;
 
 tsWS.loadWSDL();

 var op:AbstractOperation = tsWS[createUser];
 tsWS.addEventListener(result, doResults);
 tsWS.addEventListener(fault, doFailed);
 var token:AsyncToken = op.send();
 token.responder = new Responder(resultOut, null);
 
 -
 
 All,
 
 i am tring to access some webservices i have written in dotNet from Flex. If 
 anyone can 
point 
 out where i am going wrong, please send me an email to [EMAIL PROTECTED]
 
 The WSDL is publically visible - the only part missing are the eventlistening 
 functions. 
 
 Many thanks,
 Samuel








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

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

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

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





Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread Samuel Colak


Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same time as the windows release - now this has occurred, it strikes me as a little odd that there isnt a mac version announced.As for the extensions - yes you are right in some respects. The compiler is the only bite-code dependant product specific to the OS but you could hash something using the sdk for the mac.RegardsSamuelPS. No i havent done it ;(On 13 Aug 2006, at 13:53, tomkrcha wrote:Hi,does anybody already tried to run Eclipse under Mac OS X? Is thatpossible? And what about Flex? Because, all eclipse extensions are inJava, so is it possible to run Flex plugin for Eclipse under Mac OS X?ThanksTom
__._,_.___





--
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: Draw Label Border

2006-08-13 Thread Samuel Colak

You need to put the label within an object (panel or form) and then you can 
access the 
graphics properties within actionscript to draw a border using the lineTo 
function - dont 
forget the id though otherwise Flex wont know what you are taking about.

Alternatively put it in a box :) But hey, why do things the easy way eh?

Regards
Samuel


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

 Put label into the Box:
 
 mx:HBox borderStyle=solid
 mx:Label text=Label /
 /mx:HBox
 
 
 On 8/12/06, Kumar [EMAIL PROTECTED] wrote:
 
Hi All,
 
  I am finding it difficult to draw border of label. I am trying to use
  flash API for drawing rectangle in place of border.
 
  Can some one help me out?
 







--
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: Best way to reference items in a parent MXML component?

2006-08-13 Thread Franck de Bruijn












I was wondering about this after I sent my
reply ... What if you need a return value?



I think there are basically 3 ways to go:


 The
 circular dependency way: define an instance of your (custom)
 view stack in your child, with a setter. After you loaded the child into
 the view stack, also call the setter method with the ViewStack in it:
 easiest solution, but if its nice ... 
 The
 interface way: define an interface where you put the methods
 that you need in your children. Let the ViewStack implement this
 interface. Define an instance of this interface in your child, with a
 setter. Call the setter with the ViewStack as argument later.
 Use
 a utility action script. This might be the best solution for
 what you mention below: formatting dates. Probably you will want to have
 your dates formatted the same way throughout your application; formatting
 is most likely also a stateless operation, at least not
 something ViewStack specific, so you could perfectly place it behind some static
 operation.




I am using the event way quite
a lot myself, and Im happy with it. But, indeed, you can only use it for
notification cases only; where you need a return value, this
would not apply.



HTH,
Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard
Sent: Sunday, August 13, 2006
12:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Best way
to reference items in a parent MXML component?











How would a child call a function in the parent
though? Events don't
seem (semantically) like the right thing because I basically just want
to use a utility function defined in the parent. Like I have a
function that I am using to format the dataTips of my charts in the
child components, but dispatching an event every time I roll over a
chart item seems a bit tedious and extreme.

Is there a better way or do I just need to get used to using events? I
come from a Flash background and have not used events very much.

Thanks,
Ben

--- In [EMAIL PROTECTED]ups.com,
Sergey Kovalyov
skovalyov.flexcode[EMAIL PROTECTED] wrote:

 Events must be used here. Your child elements should dispatch custom
 events and container that holds them should listen to that events.
 Event listener will handle the child via target property of event
 object.
 
 On 8/12/06, ben.clinkinbeard ben.clinkinbeard@... wrote:
  I have a ViewStack whose child elements each contain a graph. I would
  like to define some things in the file that holds the ViewStack so
  that all of the child charts can use them, but am not sure of the
best
  way to reference and call these things. Ideally I would like to
  somehow pass in a reference to the containing object so that I don't
  have to pass several items into each child, but have yet to figure
out
  a way to do that. I know there has to be a better way than what I
have
  now:







__._,_.___





--
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] loading xml

2006-08-13 Thread Samuel Colak


Aaron,there is a space in the filename " menu.xml" and i also think it might be in the resources directory - try "resources/menu.xml" - when you go and publish this you need to be aware that the relative path is from the root of the webserver - not the path of the flash file.I have a nice utility library which does this and also loads jpgs etc in a queue fashion if you are interested.RegardsSamuelOn 13 Aug 2006, at 02:45, aaron smith wrote:how do I load local XML? I was doing this:private function loadXML():void        {            myXML = new XML();            myXMLURL = new URLRequest(XML_URL);            myLoader = new URLLoader(" menu.xml");            myLoader.addEventListener("complete", xmlLoaded);        }                private function xmlLoaded():void        {            myXML = XML(myLoader.data);            trace("Data loaded.");        }but it spits out errors. Is there security issues?here are the errors..SWF filefile:///C|/Documents%20and%20Settings/aaronsh/Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/classes/Main.swf cannot access local resourcefile:///C|/Documents%20and%20Settings/aaronsh/Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/classes/menu.xml . Only local-with-filesystem and trusted local SWF files may access local resources.Do i need to do something different for local files? I would think it would be the same as how you load from a URL... thanks.
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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] loading xml

2006-08-13 Thread Franck de Bruijn












I use a function like this:



private
function loadXml(aXmlFileName:String, aResultCallBack:Function):void

{

 var
xmlLoader:HTTPService;

 

 xmlLoader
= new HTTPService();

 xmlLoader.resultFormat
= e4x;

 xmlLoader.url
= "">

 xmlLoader.addEventListener(fault,
Application.application.handleFault);

 xmlLoader.addEventListener(result,
aResultCallBack);

 xmlLoader.send();

}



The URL aXmlFileName follows
the format config/MasterData.xml for example, where config is a
directory in the folder where the Flex application has been downloaded from.



In your callback function, you can deal
with the XML as follows:



private
function handleMasterDataXmlLoaded(aEvent:ResultEvent):void

{


var masterDataXml:XML;

 masterDataXml
= aEvent.result as XML;

}



HTH,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of aaron smith
Sent: Sunday, August 13, 2006 2:45
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] loading xml











how do I load local XML? 

I was doing this:

private function loadXML():void
  {
   myXML = new XML();
   myXMLURL = new
URLRequest(XML_URL);
   myLoader = new
URLLoader( menu.xml);
   myLoader.addEventListener(complete,
xmlLoaded);
  }
  
  private function xmlLoaded():void
  {
   myXML = XML(myLoader.data);
   trace(Data loaded.);
  }



but it spits out errors. Is there security issues?

here are the errors..

SWF file file:///C|/Documents%20and%20Settings/aaronsh/Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/classes/Main.swf
cannot access local resource file:///C|/Documents%20and%20Settings/aaronsh/Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/classes/menu.xml
. Only local-with-filesystem and trusted local SWF files may access local
resources.

Do i need to do something different for local files? I would think it would be
the same as how you load from a URL... 

thanks.






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] how to use get/set to make a custom property? HELP!

2006-08-13 Thread Samuel Colak


getter and setters are really easy in reality - simply an example is such	private var __someproperty:Number = 0;	public function get someproperty():Number { return __someproperty; }	public function set someproperty(value:Number):void { __someproperty = value; }Note that you can exclude a get or set so to improve security (passwords etc) or just to read information such as status information.Hope that helps,SamuelOn 13 Aug 2006, at 13:01, shemeshkale wrote:hello group.using flex 1.5, i want to make a 3 state checkbox so i have extended abutton to do this.on this button i have added a new property named : checkState.please see the code below for my 2 files.i know there is a better way (much more elegant) with the use ofget/set to make a custom property.i just dont know how to use them getter-setter.could you, PLEASE, take a look at my code and tell me how is this donewith get/set?mxml file:?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"xmlns:myComponents="myComponents.*" backgroundColor="#0066CC"mx:Panel width="50%" height="90%" verticalAlign="middle"horizontalAlign="center"mx:Button label="check state" click="textA.text+=' ..state:'+myBtn.checkState;" /mx:RadioButton label="semi" click="myBtn.checkState = 'semi';myBtn.dispatchEvent({type:'stateUpdate'})" /mx:RadioButton label="true" click="myBtn.checkState = 'true';myBtn.dispatchEvent({type:'stateUpdate'})" /mx:RadioButton label="false" click="myBtn.checkState = 'false';myBtn.dispatchEvent({type:'stateUpdate'})" /mx:Spacer height="30" /myComponents:tri_state id="myBtn" checkState="true"useHandCursor="true"/myComponents:tri_state id="myBtn1" useHandCursor="true"/myComponents:tri_state id="myBtn2" checkState="false"useHandCursor="true"/mx:TextArea width="80%" height="100%" backgroundColor="#CC"id="textA" //mx:Panel/mx:ApplicationThe tri_state.as :class myComponents.tri_state extends mx.controls.Button {public var checkState:String;[Embed(source="images/3state_true.png")]public var state_true:String;[Embed(source="images/3state_semi.png")]public var state_semi:String;[Embed(source="images/3state_false.png")]public var state_false:String;public function tri_state(checkState:String){setStyle("horizontalGap",0);setStyle("borderStyle","solid");width = 12;height = 12;addEventListener("click", this);addEventListener("initialize", this);addEventListener("stateUpdate", this);}private function stateUpdate(event:Object):Void{if (checkState == "true")icon = state_true;else if (checkState == "semi")icon = state_semi;else icon = state_false;}private function initialize(event: Object) : Void {//mx.core.Application.alert(""+semi);stateUpdate();	}private function click(event: Object) : Void {if(checkState == "false"){icon = state_semi;checkState = "semi";}else if(checkState == "true"){icon = state_false;checkState = "false";}else if(checkState=="semi"){icon = state_true;checkState = "true";}}
__._,_.___





--
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] Flex / Eclipse under Mac OS X

2006-08-13 Thread hank williams



On 8/13/06, Samuel Colak [EMAIL PROTECTED] wrote:


Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same time as the windows release - now this has occurred, it strikes me as a little odd that there isnt a mac version announced.
Hmm...Not sure where you're getting your info from.FlexBuilder doesnt even run under 3.2 under windows, so I doubt the issues had anything to do with 3.2. And adobe has said on this forum that there were issues in porting to the mac so they decided to push and get windows out rather than delaying. While on the surface mac and windows clips are fairly compatible, there are differences and apparently some of what flexBuilder is doing relies on one or some of those features that either dont work or are not implemented in mac.
Adobe has said that there will be a mac version and if I am not mistaken the timeframe was estimated at some time towards the end of the year (oct or nov) if I remember right. But in any case its software so who knows. But in any case they have said they are hard at work on it.
RegardsHankAs for the extensions - yes you are right in some respects. The compiler is the only bite-code dependant product specific to the OS but you could hash something using the sdk for the mac.
RegardsSamuelPS. No i havent done it ;(On 13 Aug 2006, at 13:53, tomkrcha wrote:


Hi,
does anybody already tried to run Eclipse under Mac OS X? Is that
possible? And what about Flex? Because, all eclipse extensions are inJava, so is it possible to run Flex plugin for Eclipse under Mac OS X?
Thanks
Tom






__._,_.___





--
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] onData Equivalent?

2006-08-13 Thread Mike Britton



I see onData for the URLLoader class. What do I use to detect when data has loaded into a DataGrid?Thanks in Advance,Mike Britton

__._,_.___





--
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: how to use get/set to make a custom property? HELP!

2006-08-13 Thread shemeshkale
tnx, this works great.
but i m still confused with this set/get.
where can i read about it? questions like:
- who and when invoke each one?
- which happens first?
- the return on the 'get' is returning where?
.
.
.

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

 Rename checkState to _checkState.
 
 private var _checkState:String;
 
 public function get checkState():String
 {
 return _checkState;
 }
 public function set checkState(val:String):void
 {
 // make sure val is a valid value
 if (val == true || val == semi || val == false)
 {
_checkState = val;
 }
 }






--
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] MXML Reference

2006-08-13 Thread Greg Hamer



Weldon,

The Flex 2 MXML tag reference is a subset of the Flex 2LanguageReference which you can find online here:
http://livedocs.macromedia.com/flex/2/langref/

The packages in the Flex 2LanguageReference fall into two
general categories: Flash Player core classes (flash.*), and MXML
Framework classes (mx.*)

My sense is the MXML Framework classes are the MXML tag reference you
are looking for. Note: as you browse the classes of the
mx.* classes, there is sample code at the bottom of many pages.

The Flex 2LanguageReference also is installed with Flex
Builder 2. You can access it from the menu by selecting:
Help - Find in Language Reference 

Another great MXML resource is Flex 2 Component Explorer which you can find online here:
http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html

The Component Explorer has a tree from which you select MXML components
or controls. 2 panes to the right then display both the compiled
SWF and the uncompiled MXML. 

Sergey provided the indispensable link to the top level docs. Some are in html only (like the Language Reference),
some are in PDF only (like the Migration Guide), and some are available
in both HTML and PDF. I think another one you may want is the Flex 2 Developer's Guide (in PDF 1,416 pages).

There are other great resources like instructor lead training, and training videos both 
online and on DVD.

Happy Flexing,

g

__._,_.___





--
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] Type Coercion failed Error when returning date from web service

2006-08-13 Thread Oriol Gual



Hi Daniel,I'm having the same problem but using AMFPhp, did you finally solve it?Thanks,Oriol.2006/6/26, Daniel Tuppeny 
[EMAIL PROTECTED]:







I think this is definately a bug. Attached is a screenshot 
showing my dates that are strings, and the relevant part of the WSDL (all items 
with string dates are of one of the types included there). The dates at the top 
level are fine, but those deeper down have just been changed to 
strings.

I'll keep trying to reproduce it in a small sample I can 
post, but if anyone has any ideas, they'd be most 
welcome.


From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel 
TuppenySent: 26 June 2006 15:09To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Type Coercion 
failed Error when returning date from web service

I tried to recreate this with a simple example, and it 
didn't happen. I think the dates might be being changed to strings when passed 
into my component, like this:

mx:Script![CDATA[[Bindable]public 
var 
dataProvider:Object;[Bindable]public 
var 
displayType:String;]]/mx:Scriptmx:TitleWindow 
title=Timeline width=100% 
height=100%link:TimelineBox 
dataProvider={dataProvider} width=100% displayType={displayType} 
//mx:TitleWindow

I'm in the process of creating a simple version of that too 
:-(





From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of 
Daniel TuppenySent: 26 June 2006 11:15To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Type Coercion 
failed Error when returning date from web service


More date madness.Some of the dates 
from our web services come out as dates in Flex. However, now I'm returning a 
whole tree of objects, I'm having issues. The type in question is defined in the 
WSDL as this:s:complexType name=Event s:complexContent 
mixed=false s:extension 
base=tns:Item 
s:sequence 
s:element minOccurs=1 maxOccurs=1 name=StartDate type=s:dateTime 
/ 
/s:sequence 
/s:extension 
/s:complexContent/s:complexTypeWhich correctly has the DateTime type. 
When I try to access is in Flex, I get this error:TypeError: Error #1034: Type Coercion failed: cannot convert 
2006-09-28T11:13:52.2254775+01:00 to Date.at 
TimelineRow$iinit()If I create a simple web service that directly 
returns a date, it's fine. I'm not sure why! :-(


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






__._,_.___





--
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: how to use get/set to make a custom property? HELP!

2006-08-13 Thread gotgoose09
The get function is invoked when you want to read it:

object.someproperty;

The set function is invoked when you set it:

object.someproperty = semi;

semi is the val parameter.

Also, search in the Flex documentation for getter setter.
--- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote:

 tnx, this works great.
 but i m still confused with this set/get.
 where can i read about it? questions like:
 - who and when invoke each one?
 - which happens first?
 - the return on the 'get' is returning where?
 .
 .
 .

 --- In flexcoders@yahoogroups.com, gotgoose09 thegoosmans@ wrote:
 
  Rename checkState to _checkState.
 
  private var _checkState:String;
 
  public function get checkState():String
  {
  return _checkState;
  }
  public function set checkState(val:String):void
  {
  // make sure val is a valid value
  if (val == true || val == semi || val == false)
  {
 _checkState = val;
  }
  }







--
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] loading xml

2006-08-13 Thread aaron smith



Ok question about using the -use-network switch.why do you have to use that to access local files. That just seems like a pain. why would you have to switch back and forth depending on you're build type. DEV sv LIVE. What if in some cases you're DEV version needs to access network for remoting or wsdls? Or services other vendor's provide..
Is this absolutely neccessary to use in order to access local file system?thanks.On 8/13/06, Samuel Colak 
[EMAIL PROTECTED] wrote:












  



Aaron,there is a space in the filename  menu.xml and i also think it might be in the resources directory - try resources/menu.xml - when you go and publish this you need to be aware that the relative path is from the root of the webserver - not the path of the flash file.
I have a nice utility library which does this and also loads jpgs etc in a queue fashion if you are interested.RegardsSamuel
On 13 Aug 2006, at 02:45, aaron smith wrote:
how do I load local XML? 
I was doing this:
private function loadXML():void
  {   myXML = new XML();
   myXMLURL = new URLRequest(XML_URL);   myLoader = new URLLoader( 
menu.xml);   myLoader.addEventListener(complete, xmlLoaded);
  }
private function xmlLoaded():void
  {
   myXML = XML(myLoader.data);   trace(Data loaded.);
  }
but it spits out errors. Is there security issues?
here are the errors..
SWF filefile:///C|/Document
s%20and%20Settings/aaronsh/Desktop/dev/flash/%5F%
20AS3%20TESTING/3waylayout/classes/Main.
swf cannot access local resource
file:///C|/Documents%20and%20Settings/aaronsh/
Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/
classes/menu.xml . Only local-with-filesyst
em and trusted local SWF files may access local resources.
Do i need to do something different for local files? I would think it would be the same as how you load from a URL... 
thanks.


  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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] logging options other than the flex builder debugger?

2006-08-13 Thread aaron smith



Is there any logging / tracing options out there that I can use other than the current flex builder debugger? I am not building projects with flex builder, using flashdevelop... having a hard time without some sort of logging available. 
thanks

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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: logging options other than the flex builder debugger?

2006-08-13 Thread disasterstruckonthedayofmybirth
I just found one solution in flashdevelop..

http://www.flashdevelop.org/community/viewtopic.php?t=767

if anyone has any others. please shate. thanks.





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

 Is there any logging / tracing options out there that I can use
other than
 the current flex builder debugger? I am not building projects with flex
 builder, using flashdevelop... having a hard time without some sort of
 logging available.
 
 thanks








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

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

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

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





[flexcoders] Duplicate function error using setters

2006-08-13 Thread Oriol Gual



Hi,I'm getting a 1021 Duplicate function definition. when I declare the setters of to variables, there's no problem with the getters. The class is marked as Bindable, has a remote alias and both vars are private, and I'm using Flex 2
What I'm doing wrong?Thank you,Oriol.

__._,_.___





--
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: Charting Dilemma....can anyone help?

2006-08-13 Thread yaagcur
I'm no expert but what I do for roll overs is 

import mx.charts.HitData;

and in the function do something like

private function formatDataTip(h:HitData) : String {

 return h.item.Publication etc.
}

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

 Im receiving the following run time error when the mouse rolls over
one of 
 my charts:
 ReferenceError: Error #1069: Property hitData not found on
mx.charts.HitData 
 and there is no default value.
   at Chart1/::formatDataTip()
   at mx.charts.chartClasses::ChartBase/::invokeDTFunction()
   at mx.charts::HitData/get displayText()
   at mx.charts.chartClasses::DataTip/set data()
   at mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet()
   at mx.charts.chartClasses::ChartBase/::processRollEvents()
   at mx.charts.chartClasses::ChartBase/::mouseMoveHandler()
 
 
 Here is a section of code I believe is causing the error:
 
 private function formatDataTip(obj : Object) : String {
 var name : String = obj.hitData.item.Publication;
 var revenue:Number  = obj.hitData.item.Size;
 
 
 return bPublication: +name+/bbrSize: + revenue;
 }
 
 
 Any help would be greatly appreciated
 
 Thanks
 Josh
 [EMAIL PROTECTED]
 
 _
 FREE pop-up blocking with the new MSN Toolbar – get it now! 
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/








--
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 communicate between Flash and Flex

2006-08-13 Thread junhufr
I built some polygonal buttons in Flash, and inside Flex, I want to
invoke the flash, how to capture the click events inside Flash?

Or is there another solution that i could made polygonal buttons
inside Flex.

Any help is appreciated.


Jun






--
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] Help regarding WebServices (FLEX) in Actionscript

2006-08-13 Thread Samuel Colak


Franck,i managed to get it working without any issues - yes i own ifeel3.com, so there arent any security violations as the flash file is originating from the same site.The code issue you mention is very valid for the startup - once the wsdl is cached it doesnt take much more time - i forgot to take into account that when you query an iis server running dotNet framework, the system takes 1-2 seconds to load in the dlls etc to run the application framework - in all it was a learning curve involving a few hours of banging my head against the wall.. finally it works ;)The async stuff is usefull for dealing with multiple calls simultaneously to the wsdl. When you do what you propose, you lock the wsdl from doing anything else than one call at a time. Thanks for the headsup on the doc/literal issue - you are quite right, but i think i got that sneaky thing covered ;)On another note its actually very interesting that the lack of clear actionscript documentation for the components - seems adobe is pushing everyone to use mxml which actually starts to tie your hands in a number of cases i can think of. But one thing for sure, i cant wait for Flex on Mac - it pains me to run two systems side by side and my trusty macbook pro no more than an mp3 player whilst coding on a dell ;(Oh well - such is like ;) TTFN On 13 Aug 2006, at 07:47, Franck de Bruijn wrote:Hi Samuel, A few things:Are you sure that you host your Flex application also at the www.ifeel3.comsite? This is a necessity for a Flex application to communicate with a webservice, due to Flash’s security model. (unless there is somewhere a crossdomain.xml file with the correct content ... check the documentation)Your code might work, but not necessarily so. The loadWSDL() operation is asynchronous, but takes quite some time to complete. Only after the loadWSDL() has completed (and then some milliseconds more ... see some recent threads in this mailing list) you can fire your operation. To accomplish this you have to register for the LoadEvent.LOAD eventI don’t know where all this AsyncToken stuff comes from, but invocation of webservices can be done much simpler. Just try: tsWS.createUser(sessionId, userName, dob).Expect some difficulties with Flex and the support of DOC/Literal webservices; I see that you are probably using .Net and DOC/Literal, and there are some issues with it. Also check the mailing list for this. HTH,Franck From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Samuel ColakSent: Sunday, August 13, 2006 1:29 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Help regarding WebServices (FLEX) in Actionscript var tsWS:WebService = new WebService();tsWS.wsdl = "http://www.ifeel3.com/webservices/service.asmx?WSDL"; tsWS.loadWSDL();var op:AbstractOperation = tsWS["createUser"];tsWS.addEventListener("result", doResults);tsWS.addEventListener("fault", doFailed);var token:AsyncToken = op.send();token.responder = new Responder(resultOut, null);-All,i am tring to access some webservices i have written in dotNet from Flex. If anyone can point out where i am going wrong, please send me an email to [EMAIL PROTECTED]at-home.com.The WSDL is publically visible - the only part missing are the eventlistening functions. Many thanks,Samuel
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___


Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread Samuel Colak


Flex does run under Eclipse 3.2 - i can post screen shots ;)On 13 Aug 2006, at 16:11, hank williams wrote:On 8/13/06, Samuel Colak [EMAIL PROTECTED]at-home.com wrote:Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same time as the windows release - now this has occurred, it strikes me as a little odd that there isnt a mac version announced.Hmm...Not sure where you're getting your info from.FlexBuilder doesnt even run under 3.2 under windows, so I doubt the issues had anything to do with 3.2. And adobe has said on this forum that there were issues in porting to the mac so they decided to push and get windows out rather than delaying. While on the surface mac and windows clips are fairly compatible, there are differences and apparently some of what flexBuilder is doing relies on one or some of those features that either dont work or are not implemented in mac. Adobe has said that there will be a mac version and if I am not mistaken the timeframe was estimated at some time towards the end of the year (oct or nov) if I remember right. But in any case its software so who knows. But in any case they have said they are hard at work on it. RegardsHank As for the extensions - yes you are right in some respects. The compiler is the only bite-code dependant product specific to the OS but you could hash something using the sdk for the mac.RegardsSamuelPS. No i havent done it ;(On 13 Aug 2006, at 13:53, tomkrcha wrote:Hi,does anybody already tried to run Eclipse under Mac OS X? Is thatpossible? And what about Flex? Because, all eclipse extensions are inJava, so is it possible to run Flex plugin for Eclipse under Mac OS X? Thanks Tom 
__._,_.___





--
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] Adobe - Please answer / Best method for Flash install for everyday users

2006-08-13 Thread Matt Chotin












Hi Robert,



Unfortunately we havent been able
to recreate your experiences ourselves. The HTML that ships with Flex is meant
to work with all browsers. It works in IE including dealing with the Eolas
issue and it works in Firefox. Weve scanned everything we can think of
to see if Firefox ships with _javascript_ disabled and cant see anything
to indicate that it does. It would be surprising to us for Firefox to disable
_javascript_ on install considering that it is the Firefox folks who own the
_javascript_ spec and are planning on major updates in Firefox 2. So far youve
been the only person to report this to us. As mentioned on adobe.com we use
SWFObject to manage detection on the web site. Flex ships with the HTML
wrappers that deal with the new active content restrictions and works in all
browsers as far as we know.



If you can point us towards more info we
can look into it.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Thompson
Sent: Sunday, August 13, 2006 1:06
AM
To: flexcoders@yahoogroups.com
Cc: Aaron Niederhelman; Terry
Blowers
Subject: [flexcoders] Adobe -
Please answer / Best method for Flash install for everyday users











Dear Adobe,

Internet Explorer requires SWFObject (and it works).

Firefox now disables _javascript_ and some of my potetial visitors say they can't
enter the site.

I've noticed Adobe appears to:

1. Run/Install Flash for IE.

2. Display JPEG or GIF for Flash Movies and place a notice that This site
may not have all it's features enabled But for any interactive
content it appears to use DHTML menus.

Is the recommended method.

It seems with so many browser changes (ie MS Eolas loss, Firefox disabling
_javascript_ from the get-go o installation) that it would be more important than
ever to get one tried and true method that works and deals with all
contigencies of all major browsers.

-r

 







Do you Yahoo!?
Everyone is raving about the all-new
Yahoo! Mail Beta.






__._,_.___





--
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] Flex / Eclipse under Mac OS X

2006-08-13 Thread Matt Chotin












Flex Builder definitely had some probs in
3.2 but it doesnt mean it wont run at all. However we do need
3.2 support for the Mac release to work. We are building it right now and as
mentioned hope to get it out before the end of the year (though the release
date is not announced).



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Sunday, August 13, 2006 7:11
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex /
Eclipse under Mac OS X















On 8/13/06, Samuel
Colak [EMAIL PROTECTED]at-home.com
wrote:

















Yes, Eclipse does run under Mac OSX - it was because version 3.2 had
issues under MacOSX that adobe didnt port Flex at the same time as the windows
release - now this has occurred, it strikes me as a little odd that there isnt
a mac version announced. 








Hmm...

Not sure where you're getting your info from.

FlexBuilder doesnt even run under 3.2 under windows, so I doubt the issues had
anything to do with 3.2. And adobe has said on this forum that there were
issues in porting to the mac so they decided to push and get windows out rather
than delaying. While on the surface mac and windows clips are fairly
compatible, there are differences and apparently some of what flexBuilder is
doing relies on one or some of those features that either dont work or are not
implemented in mac. 

Adobe has said that there will be a mac version and if I am not mistaken the
timeframe was estimated at some time towards the end of the year (oct or nov)
if I remember right. But in any case its software so who knows. But in any case
they have said they are hard at work on it. 

Regards
Hank















As for the extensions - yes you are right in some respects. The
compiler is the only bite-code dependant product specific to the OS but you
could hash something using the sdk for the mac. 











Regards





Samuel











PS. No i havent done it ;(















On 13 Aug 2006, at 13:53, tomkrcha wrote:













Hi,

does anybody already tried to run Eclipse under Mac OS X? Is that
possible? And what about Flex? Because, all eclipse extensions are in
Java, so is it possible to run Flex plugin for Eclipse under Mac OS X? 

Thanks 

Tom 
































__._,_.___





--
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] How to detect absolute image URL when using mx.controls.Image control?

2006-08-13 Thread Sergey Kovalyov
Hi All!

Sure, image URL is placed in source property of mx.controls.Image
instance. But there could be relative path that is not starting from
either http://; or https://;. Also the reference to the embeded
resource could be the value of source property. So how to detect
whether mx.controls.Image instance holds runtime loaded image, not
embeded one, and how to get absolute URL of that image?

Regards, Sergey.


--
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] How to get Panel headerHeight and what is its default value?

2006-08-13 Thread Sergey Kovalyov
Also this makes example, provided in help, not working. That example
also refers to getStyle(headerHeight) value. As I remember it
returned default value, not undefined, in Flex 1.5.

On 8/12/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
 On 8/12/06, Gunther Konig [EMAIL PROTECTED] wrote:
  Isn't this the 3rd (or 4th) time you're asking this? Isn't it obvious?
  It returns undefined because it's not defined :D

 Yes, but there was no answer. :)

  Open flex install dir\frameworks\source\mx\containers\Panel.as and
  see the methods getHeaderHeight (line 1408), measureHeaderText (line
  1382) and maybe the value of HEADER_PADDING (line 383). You'll
  probably figure why it appears to be 28 (as long as you don't make the
  font size of either title or status bigger).

 Ok, I see. But that method is private. measureHeaderText() is private
 too. Do I need to reimplement all that routine to get actual header
 height?


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

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

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

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





Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread hank williams



On 8/13/06, Matt Chotin [EMAIL PROTECTED] wrote:



















Flex Builder definitely had some probs in
3.2 but it doesn't mean it won't run at all.Oh, thats good to know. My impression based on other statements that I had heard here was that critical things did not work with 
3.2. You say had, does that mean that the problems were fixed? And is eclipse 2.3 a safe bet.Hank
 However we do need
3.2 support for the Mac release to work. We are building it right now and as
mentioned hope to get it out before the end of the year (though the release
date is not announced).



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of hank williams
Sent: Sunday, August 13, 2006 7:11
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex /
Eclipse under Mac OS X















On 8/13/06, Samuel
Colak [EMAIL PROTECTED]
wrote:

















Yes, Eclipse does run under Mac OSX - it was because version 3.2 had
issues under MacOSX that adobe didnt port Flex at the same time as the windows
release - now this has occurred, it strikes me as a little odd that there isnt
a mac version announced. 








Hmm...

Not sure where you're getting your info from.

FlexBuilder doesnt even run under 3.2 under windows, so I doubt the issues had
anything to do with 3.2. And adobe has said on this forum that there were
issues in porting to the mac so they decided to push and get windows out rather
than delaying. While on the surface mac and windows clips are fairly
compatible, there are differences and apparently some of what flexBuilder is
doing relies on one or some of those features that either dont work or are not
implemented in mac. 

Adobe has said that there will be a mac version and if I am not mistaken the
timeframe was estimated at some time towards the end of the year (oct or nov)
if I remember right. But in any case its software so who knows. But in any case
they have said they are hard at work on it. 

Regards
Hank
















As for the extensions - yes you are right in some respects. The
compiler is the only bite-code dependant product specific to the OS but you
could hash something using the sdk for the mac. 











Regards





Samuel











PS. No i havent done it ;(















On 13 Aug 2006, at 13:53, tomkrcha wrote:













Hi,

does anybody already tried to run Eclipse under Mac OS X? Is that
possible? And what about Flex? Because, all eclipse extensions are in
Java, so is it possible to run Flex plugin for Eclipse under Mac OS X? 

Thanks 

Tom 








































__._,_.___





--
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] Flex / Eclipse under Mac OS X

2006-08-13 Thread Matt Chotin












Sorry, fixed internally (and still being
fixed). Supported platforms as mentioned in our release notes and whatnot
still holds.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Sunday, August 13, 2006
12:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex /
Eclipse under Mac OS X















On 8/13/06, Matt
Chotin [EMAIL PROTECTED]com
wrote:







Flex Builder definitely had some probs in 3.2 but it doesn't
mean it won't run at all.











Oh, thats good to know. My impression based on other statements that I had
heard here was that critical things did not work with 3.2. You say
had, does that mean that the problems were fixed? And is eclipse
2.3 a safe bet.

Hank













However we do need 3.2 support for the Mac release to
work. We are building it right now and as mentioned hope to get it out
before the end of the year (though the release date is not announced).



Matt











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of hank williams
Sent: Sunday, August 13, 2006 7:11
AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Flex /
Eclipse under Mac OS X



















On
8/13/06, Samuel Colak [EMAIL PROTECTED]at-home.com
wrote:

















Yes,
Eclipse does run under Mac OSX - it was because version 3.2 had issues under
MacOSX that adobe didnt port Flex at the same time as the windows release - now
this has occurred, it strikes me as a little odd that there isnt a mac version
announced. 








Hmm...

Not sure where you're getting your info from.

FlexBuilder doesnt even run under 3.2 under windows, so I doubt the issues had
anything to do with 3.2. And adobe has said on this forum that there were
issues in porting to the mac so they decided to push and get windows out rather
than delaying. While on the surface mac and windows clips are fairly
compatible, there are differences and apparently some of what flexBuilder is
doing relies on one or some of those features that either dont work or are not
implemented in mac. 

Adobe has said that there will be a mac version and if I am not mistaken the
timeframe was estimated at some time towards the end of the year (oct or nov)
if I remember right. But in any case its software so who knows. But in any case
they have said they are hard at work on it. 

Regards
Hank















As for
the extensions - yes you are right in some respects. The compiler is the only
bite-code dependant product specific to the OS but you could hash something
using the sdk for the mac. 











Regards





Samuel











PS. No i
havent done it ;(















On 13 Aug
2006, at 13:53, tomkrcha wrote:











Hi,

does anybody already tried to run Eclipse under Mac OS X? Is that
possible? And what about Flex? Because, all eclipse extensions are in
Java, so is it possible to run Flex plugin for Eclipse under Mac OS X? 

Thanks 

Tom 


















































__._,_.___





--
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] Simple Question re: ToggleButtonBar

2006-08-13 Thread graysonpierce
Hello,

I'm new to the list.  TIA.

I'm working in a space constrained environment and I'd like to have
Flex 2 draw a ToggleButtonBar on multiple lines.  I played around with
width/height to no avail. 

Thank you,

Gray






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

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

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

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





[flexcoders] Re: How to check that uploaded file is image?

2006-08-13 Thread arnold_charming
Hi!

I don't want to open another thread about file upload so I'll post my
question here.
I'm using ProgreesEvent to check if uploaded file already exists on
the server. Because of that I was wondering if the uploaded file
(name) already exists on the server, how can I then manually break up
the transfer without overwritting the existing file on the server? 


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

 Hi All!
 
 When file filter like *.jpg; *.gif; *.png is used, it does not
 guarantee that file uploaded is actually an image, because any file
 could have such extension. Is there any way without server side code
 to check that uploaded file is image?
 
 Sergey.







--
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: onData Equivalent?

2006-08-13 Thread Mike Britton
The reason I ask: Cairngorm is a lightweight framework and I want to
keep it that way.  I want to Flex framework to do the heavy lifting on
the UI.






--
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] Where should the services-config.xml file be?

2006-08-13 Thread Wally Randall
When I install the various sample CF/FLex apps they all contain a copy 
of the services-config.xml file and say to copy it to replace the 
default services-config.xml file. This seems wrong to me as it destroys 
whatever file exists for other applications.

Adobe documentation for this file all assume you are running the 
default CF browser.

I am running ColdFusion 7 under IIS

Where should the services-config.xml file be located and why?





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

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

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

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




[flexcoders] File - flexcodersFAQ.txt

2006-08-13 Thread flexcoders

 Flexcoders Frequently Asked Questions
  Last Updated: 30th May 2005

 Contributors:

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


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


1. What is Flexcoders?

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


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

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


3. Who posts to Flexcoders?

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

Some recurring Macromedia folks are:

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

Active community members include:

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

And so many more!


4. Resources to check before asking a question

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

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

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



5. Guidelines to effective question-asking

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

Explain what you are trying to accomplish.

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

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

Phrases to avoid:

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

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


6. Mini-FAQ



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

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

Re: [flexcoders] File - flexcodersFAQ.txt

2006-08-13 Thread Weyert de Boer
Macromedia?


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

2006-08-13 Thread Matt Chotin












Yeah yeah, I submitted an updated version
to Steven but he hasnt had time to get it up.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Weyert de Boer
Sent: Sunday, August 13, 2006 3:17
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] File -
flexcodersFAQ.txt











Macromedia?






__._,_.___





--
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: Simple Question re: ToggleButtonBar

2006-08-13 Thread Tim Hoff



Hi Gray.
This is a bit of a hack, but it does what you're looking for.
-TH
?xml version="1.0"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
 mx:Script ![CDATA[  import mx.events.ItemClickEvent;  import mx.controls.Button;   private function init():void { Button(tbb2.getChildAt(0)).selected = false; } private function topButtonsHandler(event:ItemClickEvent):void { Button(tbb2.getChildAt(0)).selected = false; Button(tbb2.getChildAt(1)).selected = false; Button(tbb2.getChildAt(2)).selected = false; } private function bottomButtonsHandler(event:ItemClickEvent):void { Button(tbb1.getChildAt(0)).selected = false; Button(tbb1.getChildAt(1)).selected = false; Button(tbb1.getChildAt(2)).selected = false; }  ]] /mx:Script
mx:VBox verticalGap="0" mx:ToggleButtonBar id="tbb1" borderStyle="solid" width="300"   itemClick="topButtonsHandler(event);" mx:dataProvider mx:Array mx:StringFlash/mx:String mx:StringDirector/mx:String mx:StringColdFusion/mx:String /mx:Array /mx:dataProvider /mx:ToggleButtonBar mx:ToggleButtonBar id="tbb2" borderStyle="solid" width="300"   itemClick="bottomButtonsHandler(event);"  creationComplete="init()" mx:dataProvider mx:Array mx:StringDreamweaver/mx:String mx:StringBreeze/mx:String mx:StringFireworks/mx:String /mx:Array /mx:dataProvider /mx:ToggleButtonBar/mx:VBox/mx:Application
--- In flexcoders@yahoogroups.com, "graysonpierce" [EMAIL PROTECTED] wrote: Hello,  I'm new to the list. TIA.  I'm working in a space constrained environment and I'd like to have Flex 2 draw a ToggleButtonBar on multiple lines. I played around with width/height to no avail.   Thank you,  Gray

__._,_.___





--
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: T shirt......Was.. Loading Unicode values from XML and viewing in Flex compo

2006-08-13 Thread Michael
Gordon,

Lol, thanks for the info.   I will be attending the conference in
Vegas, I already registered and have the hotel.

- michael ritchie

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

 If you attend MAX 2006, the annual Adobe user conference, there should
 be some Flex swag, but we haven't settled on what it'll be.
 
  
 
 - Gordon
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Impudent1
 Sent: Thursday, August 10, 2006 12:08 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] T shirt..Was.. Loading Unicode values from XML
 and viewing in Flex components as HTML
 
  
 
 Gordon Smith wrote:
  Sorry, no t-shirt... just our thanks for helping us improve Flex.
  
 
 Eh he, well you guys need to talk amongst your depts :0
 
 I was lucky enough to earn the after effects one and a couple encore 
 ones. Granted that was a lot more than one bug report and a few surveys.
 
 I definately would love to add a Flex yourself one to the collection of 
 adobe geek swag :)
 
 scooby caps are good too :P
 
 Impudent1
 LeapFrog Productions








--
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] Datagrid as an ItemRenderer for a ComboBox

2006-08-13 Thread graysonpierce
Hello,

I'd like to have a datagrid show up when you pull down a combox box as
in the following image:

http://i8.tinypic.com/24l3r0z.png

whichever line you highlight in the datagrid should return to the combox
(obviously with some actionscript that matches the fields)

But what Flex 2 does from the following code is it creates a datagrid
per item

 mx:ComboBox dataProvider={ac}
 mx:itemRenderer
 mx:Component
mx:DataGrid width=100% height=100%
editable=true rowCount=7
 mx:columns
 mx:DataGridColumn headerText=Column1
dataField=series editable=true/
 mx:DataGridColumn headerText=Column2
dataField=type editable=true/

 /mx:columns
 /mx:DataGrid
  /mx:Component

/mx:itemRenderer
 /mx:ComboBox












--
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] loading xml

2006-08-13 Thread Raffaele Sena

I had the same questions and I did some testing today.

If you are using URLLoader.load you don't have to use the use-network 
compiler switch.

Assuming you are using relative URLs, as in URLLoader.load(new 
URLRequest(data.file)), you will be able to load from local to local 
(when testing your app in FlashBuilder) and remote to remote (when you 
deploy).

I think the compiler switch is for (remote ?) applications that use 
local data files (so they can either use only local data files or only 
remote data files)

-- Raffaele


aaron smith wrote:
 Ok question about using the -use-network switch.
 
 why do you have to use that to access local files. That just seems like 
 a pain. why would you have to switch back and forth depending on you're 
 build type. DEV sv LIVE. What if in some cases you're DEV version needs 
 to access network for remoting or wsdls? Or services other vendor's 
 provide..
 
 Is this absolutely neccessary to use in order to access local file system?
 
 thanks.
 
 
 
 
 
 On 8/13/06, *Samuel Colak*  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 
 Aaron,
 
 there is a space in the filename  menu.xml and i also think it
 might be in the resources directory - try resources/menu.xml -
 when you go and publish this you need to be aware that the relative
 path is from the root of the webserver - not the path of the flash
 file.
 
 I have a nice utility library which does this and also loads jpgs
 etc in a queue fashion if you are interested.
 
 Regards
 Samuel
 
 
 On 13 Aug 2006, at 02:45, aaron smith wrote:
 
 how do I load local XML?

 I was doing this:

 private function loadXML():void
 {
 myXML = new XML();
 myXMLURL = new URLRequest(XML_URL);
 myLoader = new URLLoader( menu.xml);
 myLoader.addEventListener(complete, xmlLoaded);
 }

 private function xmlLoaded():void
 {
 myXML = XML(myLoader.data);
 trace(Data loaded.);
 }



 but it spits out errors. Is there security issues?

 here are the errors..

 SWF filefile:///C|/Document
 s%20and%20Settings/aaronsh/Desktop/dev/flash/%5F%
 20AS3%20TESTING/3waylayout/classes/Main. swf cannot access local
 resource file:///C|/Documents%20and%20Settings/aaronsh/
 Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/ classes/menu.xml
 . Only local-with-filesyst em and trusted local SWF files may
 access local resources.


 Do i need to do something different for local files? I would think
 it would be the same as how you load from a URL...

 thanks.

 
 
  !DSPAM:44df440397918033519354!


--
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] Where should the services-config.xml file be?

2006-08-13 Thread Matt Chotin












This is the services-xml that comes with
the CF samples? You want to replace the one that comes with the flex WARs
because that services-config will have the new entries for connecting to CF. For
your default installations you generally dont edit services-config.xml
that much, you usually edit the individual config files like remoting-config. If
you have edited services-config simply open up the new services-config file,
check the differences, and copy them into your existing config file.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Wally Randall
Sent: Sunday, August 13, 2006 1:18
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Where should
the services-config.xml file be?











When I install the various sample CF/FLex apps they
all contain a copy 
of the services-config.xml file and say to copy it to replace the 
default services-config.xml file. This seems wrong to me as it destroys 
whatever file exists for other applications.

Adobe documentation for this file all assume you are running the 
default CF browser.

I am running ColdFusion 7 under IIS

Where should the services-config.xml file be located and why?






__._,_.___





--
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: About the DateField

2006-08-13 Thread Muruganandh Ramadass



Hi,It's a bug.Logged.Thanks"Bas J. Brey" [EMAIL PROTECTED] wrote: Hi,Your code works but the datefield itself displays a datechooser (I only want to use a datefield component). Its the displayed one that doesnt work correctly JRegards,Bas  Van: Muruganandh Ramadass [mailto:[EMAIL PROTECTED]  Verzonden: vrijdag 11 augustus 2006 7:44 Aan: Bas J. Brey Onderwerp: Re: About the DateField  Hi,  Check out this code ?xml version="1.0" encoding="UTF-16"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"  mx:DateField id="df" change="dc.selectedDate = df.selectedDate"/  mx:DateChooser id="dc" change="df.selectedDate = dc.selectedDate"/
  /mx:Application  In either way the selected date get's highlighted.  Thanks Anand  "Bas J. Brey" [EMAIL PROTECTED] wrote:Hi Anand,Your solution isnt really an option.  Because you are using
 a DateChooser instead of a DateField.My problem is when I set the selectedDate of a DateField the connected DateChooser component does not highlight the day. (It selects the yearmonth only).Regards,Bas Brey   How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. 
	
		Do you Yahoo!? Everyone is raving about the  all-new Yahoo! Mail Beta.
__._,_.___





--
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] FDS - ie: how many users are connected

2006-08-13 Thread Alexander Tsoukias
Is there a way to keep track of how many users are currently on a fds
app with fds?

Thanks,
Alexander






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

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

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

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




Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-13 Thread Samuel Colak


Matt,im working with the Eclipse group (former IBM team) and wondered if there was a bug tracker internally to adobe on what issues etc exist at the moment and how i can submit issues. In particular, i noticed alot of issues around flex binding to the help system and trying to link into the dynamic environment. Additionally, you might like to know that working with eclipse under windows has an issue that whilst building a project with a flash-9 movie running in the background, results in serious cpu performance issues resulting in a longer build time despite the flash window not having focus.Finally, if no-one noticed, adobe released the intel binary of flash 9, although its really unclear what is different in this release to 9.0 r16 one thing is very noticable is that whilst running in Safari or any other browser, when you lose focus on the browser window to something other, that the flash animation performance drops considerably.Im not sure if this is the place to post these kind of posts - if not could someone indicate if adobe themselves are recording these issues at Labs or at the tech forum.RegardsSamuelOn 13 Aug 2006, at 21:24, Matt Chotin wrote:Sorry, fixed internally (and still being fixed).  Supported platforms as mentioned in our release notes and whatnot still holds. Matt From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of hank williamsSent: Sunday, August 13, 2006 12:22 PMTo: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Flex / Eclipse under Mac OS X  On 8/13/06, Matt Chotin [EMAIL PROTECTED]com wrote:Flex Builder definitely had some probs in 3.2 but it doesn't mean it won't run at all.Oh, thats good to know. My impression based on other statements that I had heard here was that critical things did not work with 3.2. You say "had", does that mean that the problems were fixed? And is eclipse 2.3 a safe bet.Hank  However we do need 3.2 support for the Mac release to work.  We are building it right now and as mentioned hope to get it out before the end of the year (though the release date is not announced). Matt From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of hank williamsSent: Sunday, August 13, 2006 7:11 AMTo: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Flex / Eclipse under Mac OS X  On 8/13/06, Samuel Colak [EMAIL PROTECTED]at-home.com wrote:  Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same time as the windows release - now this has occurred, it strikes me as a little odd that there isnt a mac version announced.Hmm...Not sure where you're getting your info from.FlexBuilder doesnt even run under 3.2 under windows, so I doubt the issues had anything to do with 3.2. And adobe has said on this forum that there were issues in porting to the mac so they decided to push and get windows out rather than delaying. While on the surface mac and windows clips are fairly compatible, there are differences and apparently some of what flexBuilder is doing relies on one or some of those features that either dont work or are not implemented in mac. Adobe has said that there will be a mac version and if I am not mistaken the timeframe was estimated at some time towards the end of the year (oct or nov) if I remember right. But in any case its software so who knows. But in any case they have said they are hard at work on it. RegardsHank  As for the extensions - yes you are right in some respects. The compiler is the only bite-code dependant product specific to the OS but you could hash something using the sdk for the mac. RegardsSamuel PS. No i havent done it ;( On 13 Aug 2006, at 13:53, tomkrcha wrote: Hi,does anybody already tried to run Eclipse under Mac OS X? Is thatpossible? And what about Flex? Because, all eclipse extensions are inJava, so is it possible to run Flex plugin for Eclipse under Mac OS X? Thanks Tom   
__._,_.___





--
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] Configuring a ColdFusion server for Flex

2006-08-13 Thread Bjorn Schultheiss





The docs should come with the CF 7.02 
updater
or look for Mystic on adobe labs

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan 
SabirSent: Friday, 11 August 2006 12:33 PMTo: 
'flexcoders@yahoogroups.com'Subject: [flexcoders] Configuring a 
ColdFusion server for Flex



Can someone point me to the 
documentation for configuring a Cold Fusion MX 7 server for Flex? We are running 
IIS 6 on Win2003 Server.

This server is a dedicated 
managed server, hosted at WebCentral. So I need the insuructions in a clear step 
by step format so I can give it to their technicians to tell them what config 
files need to be updated. I've looked for such a document online but can't seem 
to find it. I'm happy to create this document myself, but I don't fully 
understand the process, as locally the Flex Builder did a lot of the 
configuration work.

Thanks!



  
  

Ryan 
  SabirTechnical Directorp: (02) 9274 
  8030f: (02) 9274 8099m: 0411 512 
  454w: www.newgency.com

Newgency 
  Pty LtdWeb | Multimedia | eMarketing224 Riley 
  StSurry Hills NSW 2010Sydney, Australia


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] FDS - ie: how many users are connected

2006-08-13 Thread Matt Chotin












You can use a session listener with the
FlexSession static methods to track session creation and desctruction.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alexander Tsoukias
Sent: Sunday, August 13, 2006 9:03
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS - ie:
how many users are connected











Is there a way to keep track of how many users are
currently on a fds
app with fds?

Thanks,
Alexander






__._,_.___





--
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: FDS - ie: how many users are connected

2006-08-13 Thread Alexander Tsoukias
1) Is there documentation related to this or any examples.

2) How can I track a list of which actual members are logged in? I
guess this would be something like the peoplelist in asc?

Your help is much appreciated.

Alexander

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

 You can use a session listener with the FlexSession static methods to
 track session creation and desctruction.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Alexander Tsoukias
 Sent: Sunday, August 13, 2006 9:03 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FDS - ie: how many users are connected
 
  
 
 Is there a way to keep track of how many users are currently on a fds
 app with fds?
 
 Thanks,
 Alexander








--
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] For Each loop with ArrayCollection

2006-08-13 Thread michrx7
In my flex app I send a company name over to a cfc. The CFC returns 
a query of company names with close matches.

I am trying to output that list of names in an Alert but keep 
getting a list of [object Object]

Of course the number of items in that list matches the number that 
should be returned by the query and I can dump the arraycollection 
into a datagrid and see the right information, but I can't simply 
list it out into an Alert.

Here is my function:

private function checkcompanyHandler(event:ResultEvent):void {
testCompany = event.result as ArrayCollection;
var mytestcompanyOutput:String = ;
for each (var testcompanyValue in testCompany) {
mytestcompanyOutput = mytestcompanyOutput + testcompanyValue + \n;
}
if (testCompany.length  0) {
Alert.show(The following companies were found close to the company 
you entered:\n\n + mytestcompanyOutput + \nContinue adding this 
company?, Company Name Matches, 3, this, companyclickHandler);
}
}

Here is the cfc query that feeds the event result:
SELECT cvcompanyName 
FROM cvCompany 
WHERE UPPER(cvcompanyName) LIKE UPPER('#VARIABLES.cvcompanyName#%') 
ORDER BY cvcompanyName 

Does someone see what I am doing wrong? I simply want a list of the 
returned company names.

Thanks!






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

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

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

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





RE: [flexcoders] Re: FDS - ie: how many users are connected

2006-08-13 Thread Matt Chotin












http://livedocs.macromedia.com/flex/2/fds2javadoc/flex/messaging/FlexSessionListener.html



Some more info here: http://livedocs.macromedia.com/flex/2/docs/1113.html



The FlexCab example in FDS does this kind
of tracking.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alexander Tsoukias
Sent: Sunday, August 13, 2006 9:31
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FDS -
ie: how many users are connected











1) Is there documentation related to this or any
examples.

2) How can I track a list of which actual members are logged in? I
guess this would be something like the peoplelist in asc?

Your help is much appreciated.

Alexander

--- In [EMAIL PROTECTED]ups.com,
Matt Chotin [EMAIL PROTECTED] wrote:

 You can use a session listener with the FlexSession static methods to
 track session creation and desctruction.
 
 
 
 Matt
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Alexander Tsoukias
 Sent: Sunday, August 13, 2006 9:03 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] FDS - ie: how many users are connected
 
 
 
 Is there a way to keep track of how many users are currently on a fds
 app with fds?
 
 Thanks,
 Alexander







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] For Each loop with ArrayCollection

2006-08-13 Thread Bjorn Schultheiss





mytestcompanyOutput = mytestcompanyOutput + 
testcompanyValue + "\n";
should be
mytestcompanyOutput = mytestcompanyOutput + 
testCompany[ testcompanyValue ]+ "\n";
Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of michrx7Sent: 
Monday, 14 August 2006 2:35 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] For Each loop with 
ArrayCollection


In my flex app I send a company name over to a cfc. The CFC returns a 
query of company names with close matches.I am trying to output that 
list of names in an Alert but keep getting a list of [object 
Object]Of course the number of items in that list matches the number 
that should be returned by the query and I can dump the arraycollection 
into a datagrid and see the right information, but I can't simply list 
it out into an Alert.Here is my function:private function 
checkcompanyHandler(event:ResultEvent):void {testCompany = 
event.result as ArrayCollection;var mytestcompanyOutput:String = 
"";for each (var testcompanyValue in testCompany) {mytestcompanyOutput = 
mytestcompanyOutput + testcompanyValue + "\n";}if 
(testCompany.length  0) {Alert.show("The following companies 
were found close to the company you entered:\n\n" + mytestcompanyOutput + 
"\nContinue adding this company?", "Company Name Matches", 3, this, 
companyclickHandler);}}Here is the cfc query that feeds the 
event result:SELECT cvcompanyName FROM cvCompany WHERE 
UPPER(cvcompanyName) LIKE UPPER('#VARIABLES.cvcompanyName#%') 
ORDER BY cvcompanyName Does someone see what I am doing wrong? I 
simply want a list of the returned company 
names.Thanks!
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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: Dynamic combobox

2006-08-13 Thread Jeremy Rottman
Yes I am returng several records in the result object. I re-wrote this
 and tried to use a for loop over the results, and that didnt get me
anywhere either.

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

 The red line seems very suspecious, I guess this has something to do
with
 the data structure of the result object, are there many rows (items)
inside
 the result object ?
 
 
 
 Here is my current code.
 
  // INTALIZE FUNCTIONS
  private function initComplete(){
  BranchManager_Display_Branch()
  }
 
  // CALL DISPLAY BRANCH METHOD
  private function BranchManager_Display_Branch(){
  BranchManager.Display_Branch()
  }
  // HANDLE DISPLAY BRANCH RESULTS
  private function
  BranchManager_Display_Branch_Result(result):void{
  branchDG.dataProvider = result;
  branchID.dataProvider = result.FLD_BRANCH_NAME as
  ArrayCollection;
  }
  // HANDLE DISPLAY BRANCH FAULT
  private function
  BranchManager_Display_Branch_Fault(event:FaultEvent):void{
  Alert.show(Test Error,Program Error)
  }
 
Recent Activity
 
 -  93
 New
Membershttp://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnMmYzdHE2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTU1MzI2MDU1
 
   Visit Your Group
 
http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmbzltdWQzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzExNTUzMjYwNTU-
  SPONSORED LINKS
 
 - Web site design
developmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkaW9oaTdsBF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=2wF7dD6PXwQzIHbemU7vXg
 - Computer software
developmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkdjh1MTVtBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=uLaz1tBhWqpUhJRTJ5lZMg
 - Software design and
developmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkb2hrNm1rBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=Gd8k7lGZrSI5_34Yjou5cw
 - Macromedia
flexhttp://groups.yahoo.com/gads;_ylc=X3oDMTJkaGRra3JiBF9TAzk3MzU5NzE0BF9wAzQEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=UDP2wDc9dZjNemRjm7s9lg
 - Software development best
practicehttp://groups.yahoo.com/gads;_ylc=X3oDMTJkcDNqNGlpBF9TAzk3MzU5NzE0BF9wAzUEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=1-0Tdq2ldjHvCo46S-Snuw
 
Search Ads
 
  Get new
customers.http://us.ard.yahoo.com/SIG=12hj4em3s/M=493064.8985663.9760769.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1155333255/A=3848641/R=0/SIG=1312g85fq/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2003cmp=Yahooctv=Groups2s=Ys2=s3=b=50
 
  List your web site
 
  in Yahoo! Search.
   Y! Toolbar
 
  Get it
Free!http://us.lrd.yahoo.com/_ylc=X3oDMTJwOG4wN2EyBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNuY21vZARzbGsDdG9vbGJhcgRzdGltZQMxMTU1MzI2MDU1;_ylg=1/SIG=11c6dvmk9/**http%3a//toolbar.yahoo.com/%3f.cpdl=ygrps
 
  easy 1-click access
 
  to your groups.
   Yahoo! Groups
 
  Start a
grouphttp://groups.yahoo.com/start;_ylc=X3oDMTJwaHFpcW4zBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNuY21vZARzbGsDZ3JvdXBzMgRzdGltZQMxMTU1MzI2MDU1
 
  in 3 easy steps.
 
  Connect with others.
.
 
  
 








--
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: Dynamic combobox

2006-08-13 Thread Bjorn Schultheiss





Try trace and debug 
branchID.dataProvider = 
result.FLD_BRANCH_NAME asArrayCollection;and see what it 
is.

Are 
the values of the dp strings or objects?

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
RottmanSent: Monday, 14 August 2006 3:12 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Dynamic 
combobox


Yes I am returng several records in the result object. I re-wrote thisand 
tried to use a for loop over the results, and that didnt get meanywhere 
either.--- In [EMAIL PROTECTED]ups.com, 
"Jeremy Lu" [EMAIL PROTECTED] wrote: The red line seems 
very suspecious, I guess this has something to dowith the data 
structure of the result object, are there many rows (items)inside 
the result object ?Here is my current 
code.   // INTALIZE FUNCTIONS  private 
function initComplete(){  
BranchManager_Display_Branch()  }  
 // CALL DISPLAY BRANCH METHOD  private function 
BranchManager_Display_Branch(){  
BranchManager.Display_Branch()  }  // HANDLE 
DISPLAY BRANCH RESULTS  private function  
BranchManager_Display_Branch_Result(result):void{  
branchDG.dataProvider = result;  branchID.dataProvider = 
result.FLD_BRANCH_NAME as  ArrayCollection;  
}  // HANDLE DISPLAY BRANCH FAULT  private 
function  
BranchManager_Display_Branch_Fault(event:FaultEvent):void{ 
 Alert.show("Test Error","Program Error")  } 
  Recent Activity   - 93  
NewMembershttp://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnMmYzdHE2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTU1MzI2MDU1 
  Visit Your Group http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmbzltdWQzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzExNTUzMjYwNTU- 
 SPONSORED LINKS   - Web site 
designdevelopmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkaW9oaTdsBF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=2wF7dD6PXwQzIHbemU7vXg  - Computer softwaredevelopmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkdjh1MTVtBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=uLaz1tBhWqpUhJRTJ5lZMg  - Software design anddevelopmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkb2hrNm1rBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=Gd8k7lGZrSI5_34Yjou5cw  - Macromediaflexhttp://groups.yahoo.com/gads;_ylc=X3oDMTJkaGRra3JiBF9TAzk3MzU5NzE0BF9wAzQEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=UDP2wDc9dZjNemRjm7s9lg 
 - Software development bestpracticehttp://groups.yahoo.com/gads;_ylc=X3oDMTJkcDNqNGlpBF9TAzk3MzU5NzE0BF9wAzUEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=1-0Tdq2ldjHvCo46S-Snuw   Search Ads   Get 
newcustomers.http://us.ard.yahoo.com/SIG=12hj4em3s/M=493064.8985663.9760769.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1155333255/A=3848641/R=0/SIG=1312g85fq/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2003cmp=Yahooctv=Groups2s=Ys2=s3=b=50 
  List your web site   in Yahoo! 
Search.  Y! Toolbar   Get itFree!http://us.lrd.yahoo.com/_ylc=X3oDMTJwOG4wN2EyBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNuY21vZARzbGsDdG9vbGJhcgRzdGltZQMxMTU1MzI2MDU1;_ylg=1/SIG=11c6dvmk9/**http%3a//toolbar.yahoo.com/%3f.cpdl=ygrps 
  easy 1-click access   to your 
groups.  Yahoo! Groups   Start 
agrouphttp://groups.yahoo.com/start;_ylc=X3oDMTJwaHFpcW4zBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNuY21vZARzbGsDZ3JvdXBzMgRzdGltZQMxMTU1MzI2MDU1 
  in 3 easy steps.   Connect with 
others.  .

__._,_.___





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








   



  




  
  
  

[flexcoders] Re: For Each loop with ArrayCollection

2006-08-13 Thread michrx7
Ok, I tried that and now I get the following error when running the 
app:

Error: Unknown Property: '[object Object]'.
at 
mx.collections::ListCollectionView/http://www.adobe.com/2006/actionsc
ript/flash/proxy::getProperty()
at admin_AddCompany/::checkcompanyHandler()
at admin_AddCompany/___Operation2_result()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal:
:dispatchRpcEvent()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::r
esultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::NetConnectionMessageResponder/NetConnectionChannel.as$37
:NetConnectionMessageResponder::resultHandler()
at mx.messaging::MessageResponder/result()







--
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: For Each loop with ArrayCollection

2006-08-13 Thread Bjorn Schultheiss





So that means the the element you are trying to concatenate 
into a string is an object.

So your Array contains objects and the value must be inside 
the object

Array[index].value
Get it,
good

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of michrx7Sent: 
Monday, 14 August 2006 3:23 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: For Each loop 
with ArrayCollection


Ok, I tried that and now I get the following error when running the 
app:Error: Unknown Property: '[object Object]'.at 
mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()at 
admin_AddCompany/::checkcompanyHandler()at 
admin_AddCompany/___Operation2_result()at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()at 
flash.events::EventDispatcher/dispatchEvent()at 
mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()at 
mx.rpc::Responder/result()at 
mx.rpc::AsyncRequest/acknowledge()at 
::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::resultHandler()at 
mx.messaging::MessageResponder/result()
__._,_.___





--
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] Getting RPC Error, Channel.Connect.Failed error NetConnection.Call.Failed:HTTP

2006-08-13 Thread malik_robinson



Hi,
I seem to be getting this error all of a sudden on some test code that used to work. Using Flex 2. Here is a snippet:
Error: [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500"]
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initApp()" 
mx:Script![CDATA[import mx.rpc.events.*;import mx.collections.ArrayCollection;public function initApp():void {artSvc.getArtists.send();}
]]/mx:Script
mx:RemoteObject id="artSvc" destination="ColdFusion" source="myApp.cf.com.artists" showBusyCursor="true" /
mx:Panel toolTip="Contacts" id="contacts" height="325" title="Contacts"mx:HBox width="100%" height="100%"mx:DataGrid dataProvider="{artSvc.getArtists.lastResult}" editable="true" resizableColumns="true" sortableColumns="true" height="100%"mx:columnsmx:DataGridColumn headerText="First Name" dataField="FIRSTNAME"/mx:DataGridColumn headerText="Last Name" dataField="LASTNAME"/mx:DataGridColumn headerText="City" dataField="CITY"/mx:DataGridColumn headerText="State" dataField="STATE"/mx:DataGridColumn headerText="Fax" dataField="FAX" //mx:columns/mx:DataGrid/mx:HBox/mx:Panel

/mx:Application

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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: Dynamic combobox

2006-08-13 Thread Jeremy Rottman



I ahve already traced and debugged them, and they are perfectly fine. The records I am returning to my objects are returned as query objects from my cfc.On 8/13/06, 
Bjorn Schultheiss [EMAIL PROTECTED] wrote:













  






Try trace and debug 
branchID.dataProvider = 
result.FLD_BRANCH_NAME asArrayCollection;and see what it 
is.

Are 
the values of the dp strings or objects?

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy 
RottmanSent: Monday, 14 August 2006 3:12 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: Dynamic 
combobox


Yes I am returng several records in the result object. I re-wrote thisand 
tried to use a for loop over the results, and that didnt get meanywhere 
either.--- In flexcoders@yahoogroups.com, 
Jeremy Lu [EMAIL PROTECTED] wrote: The red line seems 
very suspecious, I guess this has something to dowith the data 
structure of the result object, are there many rows (items)inside 
the result object ?Here is my current 
code.   // INTALIZE FUNCTIONS  private 
function initComplete(){  
BranchManager_Display_Branch()  }  
 // CALL DISPLAY BRANCH METHOD  private function 
BranchManager_Display_Branch(){  
BranchManager.Display_Branch()  }  // HANDLE 
DISPLAY BRANCH RESULTS  private function  
BranchManager_Display_Branch_Result(result):void{  
branchDG.dataProvider = result;  branchID.dataProvider = 
result.FLD_BRANCH_NAME as  ArrayCollection;  
}  // HANDLE DISPLAY BRANCH FAULT  private 
function  
BranchManager_Display_Branch_Fault(event:FaultEvent):void{ 
 Alert.show(Test Error,Program Error)  } 
  Recent Activity   - 93  
NewMembers
http://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnMmYzdHE2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTU1MzI2MDU1 
  Visit Your Group 
http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmbzltdWQzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzExNTUzMjYwNTU- 
 SPONSORED LINKS   - Web site 
designdevelopment
http://groups.yahoo.com/gads;_ylc=X3oDMTJkaW9oaTdsBF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=2wF7dD6PXwQzIHbemU7vXg
  - Computer softwaredevelopment
http://groups.yahoo.com/gads;_ylc=X3oDMTJkdjh1MTVtBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=uLaz1tBhWqpUhJRTJ5lZMg
  - Software design anddevelopment
http://groups.yahoo.com/gads;_ylc=X3oDMTJkb2hrNm1rBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=Gd8k7lGZrSI5_34Yjou5cw
  - Macromediaflex
http://groups.yahoo.com/gads;_ylc=X3oDMTJkaGRra3JiBF9TAzk3MzU5NzE0BF9wAzQEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=UDP2wDc9dZjNemRjm7s9lg
 
 - Software development bestpractice
http://groups.yahoo.com/gads;_ylc=X3oDMTJkcDNqNGlpBF9TAzk3MzU5NzE0BF9wAzUEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTU1MzI2MDU1?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166g=2.sig=1-0Tdq2ldjHvCo46S-Snuw
   Search Ads   Get 
newcustomers.
http://us.ard.yahoo.com/SIG=12hj4em3s/M=493064.8985663.9760769.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1155333255/A=3848641/R=0/SIG=1312g85fq/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2003cmp=Yahooctv=Groups2s=Ys2=s3=b=50
 
  List your web site   in Yahoo! 
Search.  Y! Toolbar   Get itFree!
http://us.lrd.yahoo.com/_ylc=X3oDMTJwOG4wN2EyBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNuY21vZARzbGsDdG9vbGJhcgRzdGltZQMxMTU1MzI2MDU1;_ylg=1/SIG=11c6dvmk9/**http%3a//toolbar.yahoo.com/%3f.cpdl=ygrps
 
  easy 1-click access   to your 
groups.  Yahoo! Groups   Start 
agroup
http://groups.yahoo.com/start;_ylc=X3oDMTJwaHFpcW4zBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNjAwMDA3MjA3BHNlYwNuY21vZARzbGsDZ3JvdXBzMgRzdGltZQMxMTU1MzI2MDU1 
  in 3