Re: [Junk E-Mail - LOW] [flexcoders] Re: Binary Sockets, and Folder Browser

2006-10-18 Thread Tom Chiverton
On Tuesday 17 October 2006 20:40, grunz1234 wrote:
 clients, i.e. p2p.

Flex only supports TCP, not UDP, but apart from that I hear the raw socket 
support is very good.

-- 
Tom Chiverton
Helping to challengingly iterate plug-and-play IPOs



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] gloablToLocal , localToGlobal

2006-10-18 Thread learner




yeah
I understand that they return point , a new point which contains modified x,y


Hence we do like :

SomeNewPoint :Point = globalToLocal(oldPoint);

In my problem, my combination of globalToLocal and 
localToGlobal was getting wrong.
what i did is:


desiredPoint = Vboxid.globalToLocal (TemplateArea.localToGlobal (oldPoint))


and it worked. Thanks ! 


Regards,

Ps



On 10/17/06, Gordon Smith [EMAIL PROTECTED] wrote:







Are you aware that globalToLocal() and localToGlobal() don't modify the point you pass in? They return the modified point.

 

- Gordon





From: [EMAIL PROTECTED]
ups.com [mailto:flexcoders@
yahoogroups.com] On Behalf Of learnerSent: Monday, October 16, 2006 1:56 AM
To: [EMAIL PROTECTED]ups.comSubject: [flexcoders] gloablToLocal , localToGlobal







Hello all,



Ihave a application where i have one canvas -- TemplateArea , a Vbox -- Vboxid in TemplateArea and ImageComponent inside that Vboxid


on mouseDownEvent i am drawing the rectangle on Canvas TemplateArea, What i need to do if i have to track the co-ordinates with respect to Vboxid. 


Itried with gloablToLocal and localToGlobal..but not working



Can any one please suggest me what exactllyI need to do?



Regards

Ps.




 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] adding btuttons to panle titel bar

2006-10-18 Thread learner




Hi all,

I am using panel component and I want to add some button to the title bar of this panel component, How should I achieve this?

Please suggest me the way.

Regards,
Ps



__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Multiline ComboBox

2006-10-18 Thread Harish Sivaramakrishnan



If you need to use a combobox and not a popupButton, you can set the dropDownFactory of a combobox to a List with variableRowHeight and wordWrap turned on. That will work too.ThanksHarish
On 10/17/06, Michael [EMAIL PROTECTED] wrote:













  













Thank you Mike, that helps, and saves a
lot of time trying to force the combobox to do something that was not made to
do.



Michael











From:
[EMAIL PROTECTED]ups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Michael Labriola
Sent: Monday, October 16, 2006
3:21 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re:
Multiline ComboBox












Michael,

Problem is that ComboBase uses a textInput control to display the
currently selected item. The TextInput is limited to displaying a
single line of text.

You could certianly change this, but, it seems as though it will
require extending ComboBox, not just making an itemRenderer.

--Mike

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

 Does anyone know how I can get my combobox to display 2 lines as
opposed to
 only one line. I can display 2 lines in the dropdown area, but not
in the
 main combobox display.
 
 
 
 Here is what I have so far:
 
 
 
 public function initRenderer():void
 
 {
 
 var myRenderer:ClassFactory = new ClassFactory(mx.controls.Text);
 
 myRenderer.properties = {maxHeight:60};
 
 this.cb.itemRenderer = myRenderer;
 
 }
 
 
 
 mx:ComboBox id=cb fontSize=18
maxWidth={this.width} 
 
 dataProvider={cbData}
 
 labelField={cbLabelField}
 
 selectedIndex={getSelectedIndex()}
 
 change=comboBoxChange(cb.selectedItem)/
 
 
 
 Thanks in advance,
 
 
 
 Michael











  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Datagrid Drag Row

2006-10-18 Thread Harish Sivaramakrishnan



I dint understand your problem completely, a code snippet would help! In the meanwhile, did u set the dragMoveEnabled property to true?ThanksHarishOn 10/17/06, 
KP [EMAIL PROTECTED] wrote:













  











Hi All,



I have a datagrid which contains around ten rows I have drag
enabled on datagrid and due to which I am able to drag corresponding rows.

What should I do to remove particular row on to which I am
dropping my current row which is selected.



Thanks

Kumar







  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] RSL

2006-10-18 Thread Dimitrios Gianninas

RSL gets loaded by every app that needs it at startup time. Great way to share 
common components across applications. No way to control it.

IF you are looking to break up your app into various modules so to speak and 
load modules only when needed, then you look at the modular applications 
article written by Roger Gonzales, here is the link:

http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.html

Dimitrios Gianninas
Optimal Payments Inc.



-Original Message-
From: flexcoders@yahoogroups.com on behalf of vitopn
Sent: Tue 10/17/2006 1:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RSL
 
I am trying to work out our strategy for breaking our client into
separate modules that load when needed.  I see mention of RSLs in the
documentation but the documentation seems limited.  For example, when
exactly does the RSL get loaded?  Is there a way to detect when it is
loaded?  

In particular I am wondering if there is a sample out there (actual code).

Thank you,
-Vito



-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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

[flexcoders] Erro:The supplied index is out of bounds.

2006-10-18 Thread learner




Hello all,

Till now I came across this error lots of time. But I am not able to figure out its cause in the following senario.


I get this out of bounds. error when I do the following thing 


for (var i:int=lastSlot; i  slot; i++) { var image:productthumbnail =
thumbcontainer.getChildAt(i); }

 

but the error got removed when do the following:

 var childArr:Array= thumbcontainer.getChildren() for (var i:int=lastSlot; i  slot; i++)
 { var image:productthumbnail =childArr[i] as productthumbnail }


Can anybody tell me whats the reason behind it?
Regards
Ps


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Access Cairngorm Value Objects in the onResult Method

2006-10-18 Thread Thomas

Hi, when your commands implemented the IResponder interface, you could
easily keep track of the data being sent and compare it within your
onResult method.

To do so, just hold a copy of your VO or whatever you want to track in
your command instance and thus, because it is the one responsible for
handling the result, you have instant access to the data.

Cheers, Thomas.


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

 Yeah use the async token.
 
  
 
 Execute() {
 
 Var call:AsyncToken = delegate.myMethod(myVO);
 
 Call.token = myVO;
 
  
 
  
 
 onResult(e) {
 
 e.token as VO
 
  
 
 J
 
 Lifes easy with Flex 2
 
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of digitalbackcountry
 Sent: Wednesday, 18 October 2006 1:32 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Access Cairngorm Value Objects in the onResult
Method
 
  
 
 Hopefully a quick question. Is there a way for me to access the Value
 Object that is passed with the event in the onResult method for that
 event?
 
 So in my Command class I have an execute method and an onResult
 method. The execute class calls the method on the specified delegate
 passing the Value Object:
 
 delegate.MyMethod( myMethodEvent.MyVO );
 
 In my on result method, is there any way for me to access MyVO?
 Something like event.MyVO?
 
 Thanks,
 
 =Ryan






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Whats the best way of adding print/pdf output to a flex app?

2006-10-18 Thread Andrew Trice













I'm in the Washington, DC 
office. It is a fun place to work... lots of cool projects from vc 
startups to major institutions. If you or anyone else on this 
listhasany interest, be sure to send your resume to [EMAIL PROTECTED]. We have 
several offices located around the country. We just opened the new one in 
DC this week.

-Andy


From: flexcoders@yahoogroups.com on behalf of 
Iko KnyphausenSent: Tue 10/17/2006 11:22 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?







Very good info, Andy. Thanks. I will study and digest 
(am also using PDF995 as a driver, so this would work). Out of curiosity, which 
Cynergy office do you work from? Seems like a kewl company to work 
for...




From: 
[EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Andrew 
TriceSent: Tuesday, October 
17, 2006 6:55 PMTo: 
[EMAIL PROTECTED]ups.com; [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?






There is actually 
printing capability built natively into Flex. It uses your OS printing 
capabilities. If you have a pdf-print driver installed, you can print to 
pdf.



http://livedocs.macromedia.com/flex/2/langref/mx/printing/FlexPrintJob.html 




-Andy



http://www.cynergysystems.com/blogs/page/andrewtrice





From: 
[EMAIL PROTECTED]ups.com on behalf of Iko KnyphausenSent: Tue 10/17/2006 9:16 PMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?






By all means... I am thrilled there is so much 
contribution to this topic. One of my interests is to also print Charts that 
were created as a result from a data driven query. So a backend/server based 
data-driven solution alone will not help, I am afraid. Flash paper sounds 
promising... Since these are Adobe / MM related products, it would be kind of 
super-nice ;-) wink if there could be a native mx:control (like a print-page 
container).

Ideas?-Iko 



From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mike 
AndersonSent: Tuesday, October 
17, 2006 5:00 PMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?




Continuing this thread 
-

Since FlashPaper is 
native to the whole "Macromedia and Adobe" suite of products, would FlashPaper 
be just as good of a solution as a PDF?

And with that said, if 
FlashPaper is an acceptable solution for some users, could a FlashPaper document 
be created directly within a Flex Application?

This would give a user, 
a ton of power, if they wanted to create documents for distribution, or for hard 
copy / archival purposes.

I'd love to hear more 
regarding this topic, and I hope you don't mind me chiming in on your original 
thread Iko - I am sure any further information will benefit both of us 
:)

Thanks,

Mike




From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Nick 
CollinsSent: Tuesday, October 
17, 2006 5:45 PMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?
I would say your best bet is likely to store your data 
into a database (which you're likely already doing) then use a backend PDF 
writer or report generation script in whatever backend language you're using. 
Coldfusion has this built in I know, and I know there are components available 
for .Net that allow quite a bit of flexibility. 

On 10/17/06, iko_knyphausen [EMAIL PROTECTED]net 
wrote: 




Assume you were producing reports with columns, 
summaries, charts, thatsort of thing, is there a good way of getting this to 
a printer or pdffile? Any components out there that will help dimensions, 
page 
breaks,etc.ThanksIko


 



__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___










Re: [flexcoders] Image complete and init event problem

2006-10-18 Thread Samuel Reuben



did you try updateComplete event?

It should work,
-sam
On 10/18/06, Brian [EMAIL PROTECTED] wrote:





I'm loading images using the Image class, and I'm trying to analyzetheir height and width after they load for sizing purposes. Problemis, sometimes (not always but sometimes) someImage.width and
someImage.height are still 0 when the complete event gets handled. Same problem with the init event, even though according to the docs,it's not supposed to be fired until the properties of the loaded
object are available. Am I missing something? Anyone having similar issues and/orsolutions? I supposed I can set up a Timer to poll the width and firea proper event when the widt is  0 - but I assumed the native events
were consistent and reliable.Also, I seem to recall Flash having similar problems with inconsistentevent firings when it comes to swf / image loading...--Brian
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Access Cairngorm Value Objects in the onResult Method

2006-10-18 Thread Sam Shrefler



Ryan:

I'm not sure if this is what the previous poster was sayingbut my suggestion would be to make a private class variable in your command.

private originalVO:MyVO;

execute()
{
 originalVO = myMethodEvent.MyVO;
 delegate.MyMethod(originalVO );
}

onResult(result:Object)
{
 //use originalVO here to and can also use whatever is sent back in the result event
}Are you seeing a down-side to this?

Sam

On 10/18/06, Thomas [EMAIL PROTECTED] wrote:





Hi, when your commands implemented the IResponder interface, you couldeasily keep track of the data being sent and compare it within youronResult method.To do so, just hold a copy of your VO or whatever you want to track in
your command instance and thus, because it is the one responsible forhandling the result, you have instant access to the data.Cheers, Thomas.--- In 
flexcoders@yahoogroups.com, Bjorn Schultheiss 
[EMAIL PROTECTED] wrote: Yeah use the async token.Execute() {  Var call:AsyncToken = delegate.myMethod
(myVO);  Call.token = myVO;  onResult(e) {  e.token as VOJ  Lifes easy with Flex 2
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of digitalbackcountry Sent: Wednesday, 18 October 2006 1:32 PM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] Access Cairngorm Value Objects in the onResultMethodHopefully a quick question. Is there a way for me to access the Value
 Object that is passed with the event in the onResult method for that event?  So in my Command class I have an execute method and an onResult method. The execute class calls the method on the specified delegate
 passing the Value Object:  delegate.MyMethod( myMethodEvent.MyVO );  In my on result method, is there any way for me to access MyVO? Something like event.MyVO? 
 Thanks,  =Ryan
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Lines in text area component

2006-10-18 Thread brankosli
Is there any possibility to set number of lines in Text Area component?
and if it's possible:
How to retrieve current line position in Text Area component?

Thanx in advance.




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Drag/Drop within a viewstack goes a bit awry?

2006-10-18 Thread Steve Cox










Bit of a confusing one this. I have 2 simple lists
with the ability to drag/drop from one to the other. When these lists are in
standard components all is fine. The dragEnter event
is dispatched when you hover over any point of the other list. However when
this is in a viewstack I cannot drag a list item in
the first 1cm or so of the list  dragEnter is
not called until you drag about 1cm below the top of the list. This seem to be compounded the more layout components the
list is inside.



Ive some sample code below  simple stuff
which demonstrates the odd behaviour. Removing the viewstack
removes the small area at the top of the list which is not able to accept a
drag item. Have you seen anything like this?





?xml
version=1.0 encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute creationComplete=created()

 mx:Script

 ![CDATA[

 import mx.collections.IList;

 import mx.events.DragEvent;

 import mx.collections.ArrayCollection;

 import mx.managers.DragManager;

 [Bindable] private var ac : ArrayCollection;

 

 private function created() : void

 {

 var ar :
Array = new Array(test,test2);

 ac = new ArrayCollection(ar);

 }

 private function doDragEnter(event:DragEvent):void 

 {

 var dragInitiator:List=List(event.currentTarget);

 DragManager.acceptDragDrop(dragInitiator); 

 }

 private function doDragDrop(event:DragEvent):void 

 { 



 var dropTarget:List=List(event.currentTarget);




 var items:Array=event.dragSource.dataForFormat(items) as Array;



 var dropLoc:int=dropTarget.calculateDropIndex(event); 



 for (var i:uint=0;
i  items.length; i++)


 {

 IList(dropTarget.dataProvider).addItemAt(items[i], dropLoc );

 }

 }

 ]]

 /mx:Script

 mx:ViewStack
width=100% height=100%

 mx:HBox width=100%
height=100%

 mx:List x=31
y=53 width=100 dataProvider={ac}
dragDrop=doDragDrop(event)
dragEnabled=true dragMoveEnabled=true
dragEnter=doDragEnter(event)/mx:List

 mx:List x=307
y=53 width=100 dataProvider={new
ArrayCollection()} dragDrop=doDragDrop(event) dragEnabled=true
dragMoveEnabled=true dragEnter=doDragEnter(event)/mx:List

 /mx:HBox

 /mx:ViewStack

/mx:Application



 


Steve Cox
Senior Online Application Developer
Quba New Media
www.quba.co.uk
t: 0114 279 7779
f: 0114 272 2854
e:[EMAIL PROTECTED]

The Maltings 81 Burton Road
Sheffield S3 8BX




Quba's e-mail disclaimer

The information contained in this email and any attachments
is intended only for the use of the individual to whom it is addressed and may
contain information that is privileged and confidential, the disclosure of
which is strictly prohibited by law.If you have received this e-mail in error,
please notify the sender immediately and delete this e-mail.

Any views expressed in this e-mail are those of the
individual sender. This email message and any attached files have been scanned
for the presence of computer viruses. However, you are advised that you open
any attachments at your own risk. We thank you for your co-operation.

Quba New Media Ltd
Registered in England  Wales No. 4038459
Registered Address: The Maltings, 81 Burton Road, Sheffield, South Yorkshire, S3 8BX






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] NEED HELP - IOErrorEvent - Uploading file on Mac OS X with Flex 2

2006-10-18 Thread stockszz
Hi,

I'm having problems uploading an MP3 file with the Mac OS X Flash
Player. Is anyone aware of this? It works fine on a Windows PC. In
addition I can upload images under 80KB with the Mac OS X Flash
Player. But when I choose to upload a MP3 file it throws an
IOErrorEvent. Any ideas? NEEP HELP. Thanks.


Shaun




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] styleSheet on mx.controls.Text

2006-10-18 Thread Van De Velde Hans
Title: Message





Hi list,

I need to automatically apply a style on all hyperlinks 
in the html text of an mx.controls.Text 
component.

Is there a way to put a stylesheet on the html text of 
amx.controls.Text
cfr. the styleSheet property of the 
flash.text.TextField?


Thanks in 
advance,
Hans.

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: JPEGEncoder.as

2006-10-18 Thread Andrew Bourne






Hi Shannon, 

I had a quick look into adapting my classes with our custom protocol to
using MJPEG streams instead. Looks relatively easy and I've got an Axis
cam floating around the office that I can use for testing. I'll get a
sample together over this weekend. 

heres a php script that grabs a single frame: 
http://www.lavrsen.dk/twiki/bin/view/Motion/MjpegFrameGrabPHP

Pretty much all I would do is buffer the socket data until there were
two instances of the boundary string then extract the bit in between
and use a Loader instance to display the jpeg. 

>From the little research I did into mjpeg it looks like the boundary
string may be different between webcams and the jpegs may by missing
some of the normal jpeg header information. If so it can be stored in
the app or generated and prepended to the bytes you extract out of the
stream. 

Cheers 
Andrew


Shannon Hicks wrote:

  

  
  Any luck pulling up that code
sample? :)
   
  Shan
  
  
  From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Andrew Bourne
  Sent: Thursday, October 12, 2006 6:18 PM
  To: flexcoders@yahoogroups.com
  Subject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re:
[flexcoders] Re: JPEGEncoder.as
  
  
  
  Hi Shannon, 
  
I currently do almost exactly what you are after. I have a socket class
that I use to stream the binary data which I then split into the image
packets and then decode the jpegs via the Loader.loadBytes method. We
use a custom protocol with normal jpegs as the data, so for mjpeg you
would probably need to write a decoder to split the mjpeg stream into
the single jpeg frames and then use the Loader to decode them. 
  
HTH, 
Andrew
  
  
Shannon Hicks wrote: 
  
Hey, I'm interested in
trying to build out something (in flex 2) that can accept an MJpeg
stream. Basically, it's a stream of one jpg image after another. This
would be useful to potentially a bunch of people who want to show their
network webcams via Flash/Flex2.
 
Anyone a tad more
experienced interested in helping me with this?
 
Shan


 From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Rich Tretola
Sent: Thursday, October 12, 2006 11:51 AM
To: [EMAIL PROTECTED]ups.com
Subject: [Junk E-Mail - LOW] Re: [flexcoders] Re:
JPEGEncoder.as



The ones at the Adobe lab from the link Darron provided work
fine without any changes.

Rich
http://www.everythingflex.com



On 10/12/06, Andrew Trice andrew.trice@cynergysystems.com
wrote:

  
  
  The
files are old, but they still work.  I had to modify JPGEncoder.as so
that it would build correctly in Flex 2 release version.  I'd attach it
to this post, but I don't have the source on this computer.
   
  I'm not aware of any
decoders.  You could always try to use a loader object to load the
ByteArray using the loadBytes method, and then copy the bitmapData from
it. Or you could look at the JPGEncoder class and reverse engineer it. 
  
   
  -Andy
   
  http://www.cynergysystems.com/blogs/page/andrewtrice
  
  
  
  
  
   
  From: [EMAIL PROTECTED]ups.com
on behalf of nathanpdaniel
  Sent: Thu 10/12/2006 12:57 AM
  To: [EMAIL PROTECTED]ups.com
  Subject: [flexcoders] Re: JPEGEncoder.as
  
  
  
  
  
  
  
  I see these are image ENcoders, are there any image DEcoders 
available?
  
--- In [EMAIL PROTECTED]ups.com,
"Rich Tretola" [EMAIL PROTECTED] 
wrote:

 Thanks Darron,
 
 I had downloaded them from
   http://labs.adobe.com/wiki/index.php/Source:getearlier
  but they were
 very old files.
 
 Rich
 
 On 10/11/06, Darron J. Schall [EMAIL PROTECTED] wrote:
 
  They're in the Adoeb Labs SVN:
 
 
  
  http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/a
ctionscript3/com/adobe/images/
 
  -d
 
  Rich Tretola wrote:
 
  Anyone have a new copy of JPEGEncoder.as?
 
Rich*
  *
 
 
  
 
 
 
 
 -- 
 Rich Tretola
 mx:EverythingFlex/
 http://www.EverythingFlex.com

  
  
  
  
  
  
  





-- 
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date:
10/11/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date:
10/11/2006

  
  
  

  --
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date:
10/11/2006
  
  
  
  --
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date:
10/14/2006
   



__._,_.___





--
Flexcoders Mailing List
FAQ: 

[flexcoders] Javascript to Flex

2006-10-18 Thread rbn
I'm trying to send data from a Javascript from the wrapper in the HTML
thru ExternalInterface with an addCallBack function in Flex, but
without success... all i can find @ adobe is a tiny example that seems
outdated and doesn't work...

Does anyone have any experience with sending data from Javascript into
Flex

any help would be much appreciated.

thanks,


rbn







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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Determining Type of Data Structure

2006-10-18 Thread jlentz2112
Hi,

I've got a servlet returning data from a db query.  I use for example
psd.lastResult.psn.row as the source for my datagrid.  If I get
multiple row returned, then the psd.lastRestult.psn.row is an
ArrayCollection and I use .toArray() when I set source for the
creation of my local ArrayCollection.  However, when the query returns
1 or less rows, it is returned as an Array, so I don't want to use the
.toArray() method.  Is there a way to check and see if
psd.lastResult.psn.row is an Array or an ArrayCollection?  Any help
would be greatly appreciated.

Thanks,

jelentz




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] cairngorm - retreive view data from commands

2006-10-18 Thread gdoucen
Hi,
 
My problem is the following.

I use cairngorm framework.
I have two views. the button in one view triggers an event that need
to get data from the other view. In my case, i take a snapshot of the
video so here i need the bitmap data.

I see two solutions.

First, using viewhelper/viewLocator to get the data from the dedicated
view inside the command class.

I know that viewhelper are mostly not recommended by cairngorm in the
opposite side when it's used to set views from commands but here.

Secondly, use the parent of the two views to transmit the event from
view1 to view2 that send the final event.

The structure could be as below

!-- my composite view --
mx:VBox ...
  mx:Script
  ![CDATA[
 
  private function handleMyEvent(event:MyCustomEvent):void
  {
   // Trigger the final event after filling up with the data
   view1.sendEvent(event);
  }

  ]]
  /mx:Script
  view:view1  id=view1 /
  view:view1  id=view2 myInititialEvent=handleMyEvent(event) /
/mx:VBox

What is the best way to do that?

If the action was triggered from the view that hold the needed
informations, i could have passed the data into a custom event that
could be directly read by the command...

I have browse the forum without success to get informations on this
subject. Feel free to redirect me or give me an answer.

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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Component reference to other component controls

2006-10-18 Thread Wally Randall
How do I reference controls in other components?  I have a main 
form 'menu'  with two viewstack display panels (form1 and form2).  
Form1 contains a custom component (display1).  The form2 contains a 
custom component (display2).  Navigation can go back and forth between 
the forms.

The display1 component has a button (d1Button) which has a click event 
to enable a button on display2 (d2Button).

How should I form the click event for the d1Button to reference the 
d2Button in the display2 component?







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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 academic/volune licensing

2006-10-18 Thread Rick Root
Matt Chotin wrote:
 
 Dave Gruber from Adobe tried to respond but I haven’t seen his post come 
 through so let me re-post it.

Thanks Matt, I got his response off list yesterday and responded.

Unfortunately, FDS Express doesn't work for us cuz our machine has two 
CPUs.  Unless FDS Express can be configured to only use one CPU even 
though it is installed on a 2 CPU machine.  That's not mentioned in the 
FDS Express FAQ so I doubt it.

I suppose my other option would be to buy a separate, single CPU server 
to run FDS Express on.  FDS doesn't have to be on the same machine as 
Coldfusion, right?

Rick


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Combo Box dataprovider

2006-10-18 Thread KP










Hi All



Below is the xml file which I am using to populate combo box



?xml
version=1.0 encoding=UTF-8?

root


row


id1/id


nameq/name


/row

 


row


id3/id


namew/name


/row

 


row


id4/id


namea/name


/row

 


row


id5/id


names/name


/row

 


row


id6/id


named/name


/row

/root



below is
the code for mxml in which I am using http request to fetch data. below code is
returning me only object.



?xml
version=1.0 encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute
creationComplete=w1.send();

 mx:HTTPService
id=w1 url="" result=pass()
fault=fail() resultFormat=text /

 mx:Script

 ![CDATA[

 import
mx.collections.ArrayCollection;

 import
mx.rpc.events.ResultEvent;

 import
mx.rpc.events.FaultEvent;

 import
mx.events.ResizeEvent;

 import
mx.controls.Alert; 

 [Bindable]

 public
var xData:XML;

 [Bindable]

 public
var a:ArrayCollection =new ArrayCollection();

 public
function pass():void

 {

 xData=XML(w1.lastResult.toString());

 for(var
i:int=0;ixData.children().length();i++)

 {

 a.addItem([{label:xData.row.name[i],
data:xData.row.id[i]}]);

 }

 Alert.show(a.length.toString());

 }

 public
function fail():void

  {

 Alert.show(1);

 }

 ]]

 /mx:Script

 mx:ComboBox
id=cmd dataProvider={a}/

/mx:Application





What I want is to populate data name in combobox and on
selecting any particular name it should return me the id of the selected name.



Thanks in advance

Kumar




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





Re: [flexcoders] Drag/Drop within a viewstack goes a bit awry?

2006-10-18 Thread Kornelius . Elstner
Yes, I've seen something very similar when having the lists under a docked
application control bar as in:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=horizontal
mx:ApplicationControlBar width=100% dock=true
mx:Label text=Drag and drop test/
/mx:ApplicationControlBar
mx:HBox width=100% height=100%
mx:List dropEnabled=true width=50%/
mx:List dragEnabled=true width=50%
mx:dataProvider
mx:Stringitem1/mx:String
mx:Stringitem2/mx:String
/mx:dataProvider
/mx:List
/mx:HBox
/mx:Application

The drag target area is offset vertically by what looks like the height
of the docked applicationcontrolbar. I tried your example but it seems to
work fine...

Kornelius

flexcoders@yahoogroups.com wrote on 18/10/2006 09:53:53:

 Bit of a confusing one this. I have 2 simple lists with the ability
 to drag/drop from one to the other. When these lists are in standard
 components all is fine. The dragEnter event is dispatched when you
 hover over any point of the other list. However when this is in a
 viewstack I cannot drag a list item in the first 1cm or so of the
 list – dragEnter is not called until you drag about 1cm below the
 top of the list. This seem to be compounded the more layout
 components the list is inside.

 I’ve some sample code below – simple stuff which demonstrates the
 odd behaviour. Removing the viewstack removes the small area at the
 top of the list which is not able to accept a drag item. Have you
 seen anything like this?


 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute creationComplete=created()
 mx:Script
 ![CDATA[
 import mx.collections.IList;
 import mx.events.DragEvent;
 import
mx.collections.ArrayCollection;
 import mx.managers.DragManager;
 [Bindable] private var ac :
 ArrayCollection;

 private function created() : void
 {
 var ar : Array = new
 Array(test,test2);
 ac = new
ArrayCollection(ar);
 }
 private function
 doDragEnter(event:DragEvent):void
 {
 var dragInitiator:
 List=List(event.currentTarget);
 DragManager.
 acceptDragDrop(dragInitiator);
 }
 private function
 doDragDrop(event:DragEvent):void
 {

 var dropTarget:
 List=List(event.currentTarget);

 var items:
 Array=event.dragSource.dataForFormat(items) as Array;

 var dropLoc:
 int=dropTarget.calculateDropIndex(event);

 for (var i:uint=0; i
  items.length; i++)
 {

 IList(dropTarget.dataProvider).addItemAt(items[i], dropLoc );
 }
 }
 ]]
 /mx:Script
 mx:ViewStack width=100% height=100%
 mx:HBox width=100% height=100%
 mx:List x=31 y=53
 width=100 dataProvider={ac} dragDrop=doDragDrop(event)
 dragEnabled=true dragMoveEnabled=true
 dragEnter=doDragEnter(event)/mx:List
 mx:List x=307 y=53
 width=100 dataProvider={new ArrayCollection()}
 dragDrop=doDragDrop(event) dragEnabled=true
 dragMoveEnabled=true dragEnter=doDragEnter(event)/mx:List
 /mx:HBox
 /mx:ViewStack
 /mx:Application


 
 Steve Cox
 Senior Online Application Developer
 Quba New Media
 www.quba.co.uk
 t: 0114 279 7779
 f: 0114 272 2854
 e:[EMAIL PROTECTED]

 The Maltings 81 Burton Road
 Sheffield S3 8BX
 

 Quba's e-mail disclaimer
 The information contained in this email and any attachments is
 intended only for the use of the individual to whom it is addressed
 and may contain information that is privileged and confidential, the
 disclosure of which is strictly prohibited by law.If you have
 received this e-mail in error, please notify the sender immediately
 and delete this e-mail.
 Any views expressed in this e-mail are those of the individual
 sender. This email message and 

RE: [flexcoders] Flex academic/volune licensing

2006-10-18 Thread Ben Forta
Rick,

1) Correct, FDS and CF can be on a separate machines.

2) I am not a legal expert, and have not discussed this with our licensing
people, but it seems to me that if you install FDS and instruct the OS to
run it on a single CPU (instead of both) then you should be ok. As per the
license, Adobe grants Licensee a license to install and use such unique
application and the Adobe Flex Data Services Express Software as Production
Software on a Per-CPU basis. What is Per-CPU basis? As per the license,
The total number of CPUs on the Computers used to operate the Software may
not exceed the licensed quantity of CPUs.  For purposes of this definition,
all CPUs on a Computer on which the Software is installed shall be deemed to
operate the Software unless Customer configures that Computer (using a
reliable and verifiable means of hardware or software partitioning) such
that the total number of CPUs that actually operate the Software is less
than the total number on that Computer. So, as long as you ensure that FDS
runs on a single CPU you should be fine. But perhaps you should check with a
lawyer. ;-)

--- Ben


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Root
Sent: Wednesday, October 18, 2006 8:56 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex academic/volune licensing

Matt Chotin wrote:
 
 Dave Gruber from Adobe tried to respond but I haven't seen his post 
 come through so let me re-post it.

Thanks Matt, I got his response off list yesterday and responded.

Unfortunately, FDS Express doesn't work for us cuz our machine has two CPUs.
Unless FDS Express can be configured to only use one CPU even though it is
installed on a 2 CPU machine.  That's not mentioned in the FDS Express FAQ
so I doubt it.

I suppose my other option would be to buy a separate, single CPU server to
run FDS Express on.  FDS doesn't have to be on the same machine as
Coldfusion, right?

Rick


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






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: writing and using classes

2006-10-18 Thread amigo_fd
Thanks a lot, Mike

used public static function String2Date
and CommonFunctions.String2Date(...)

I'm a search-trialanderror-and-search-again type of programmer. Just
learning as I need something :-)

Any suggestions on good OO-related basic learning sites ?

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

 
 Frank,
 
 I think you might be approaching this from the wrong perspective. In
 particular, if you don't have object oriented programming experience,
 you may want to take a few minutes and read some of the many tutorials
 available online.
 
 As Flex is a pretty OO heavy environment, without this knowledge, I
 think you are going to get stuck on a lot of issues.
 
 That said, you have two choices in the code you wrote below:
 
 You could make your method static:
 
 public function String2Date becomes-
 public static function String2Date
 
 Then you could access it as:
 dfShipping.selectedDate =
 CommonFunctions.String2Date(x.result[0].shipdatum[0].toString());
 
 Or you need to create an instance of this class first.
 
 var cf:CommonFunctions = new CommonFunctions();
 dfShipping.selectedDate =
 cf.String2Date(x.result[0].shipdatum[0].toString());
 
 I do encourage you to spend a little time reading about Object
 Oriented programming, either from an Adobe resource or just an online
 tutorial. It will help you immensly.
 
 --Mike
 
 --- In flexcoders@yahoogroups.com, amigo_fd frank@ wrote:
 
  Hello,
  
  I want to make a class with a function I want to reuse in my
  application. This is new for me, so I need some help ...
  
  I've created a file CommonFunctions.as in the root of my application
  with this code:
  
  package {
  public class CommonFunctions {
  public function String2Date(doString:String):Date {
  var doYear:int = Number(doString.substr(0,4));
  var doMonth:int = Number(doString.substr(5,2));
  var doDay:int = Number(doString.substr(8,2));
  var doHour:int = Number(doString.substr(11,2));
  var doMin:int = Number(doString.substr(14,2));
  var doSec:int = Number(doString.substr(17,2));  
  
  var myDate:Date = new Date(doYear, doMonth, doDay, 
  doHour, doMin,
  doSec);
  // showErrorDialog(doString + + + doYear + + + 
  doMonth + + +
  doDay + + + doHour + + + doMin + + + doSec);
  
  return myDate;
  }
  }
  }
  
  Now, how do I use in it on an other mxml-file in that application ?
  This does not work:
  
  dfShipping.selectedDate =
  String2Date(x.result[0].shipdatum[0].toString());
  
  Thanks a lot,
  Frank
 






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Stack Overflow in swf to swf include

2006-10-18 Thread Flex Learner



Thanks Pete. Adding makeObjectsBinadble=false solved the problem. Yes, the service returns a simple XML generated from a cfm file.
userPrefdevicephone/device/userPref
I'm curious to know how this is related to the stack overflow. Does makeObjectsBinadble=false restrict any functionality ? - since i need the included swf to communicate with the loader swf and also with the hosting HTML page (via some callbackjs fns).

-Joseph

On 10/18/06, Peter Farland [EMAIL PROTECTED] wrote:






I could reproduce your problem- I'll log a bug on your behalf.

Out of curiosity, does your HTTPService return XML? If so, any chance you could show us what the XML looks like? As a work around for now you could either set makeObjectsBinadble=false on your HTTPService tag or set resultFormat=e4x or resultFormat=text (instead of the default, which is object).


Thanks,
 Pete



From: [EMAIL PROTECTED]ups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Flex LearnerSent: Tuesday, October 17, 2006 2:45 PMTo: [EMAIL PROTECTED]
ups.comSubject: [flexcoders] Stack Overflow in swf to swf include




HI,

I'm trying to include an swf file (generated from FlexBuilder) within another swf file using mx:image. The included file is located on a different server, and the include works fine. Now, if a HTTPService is added to the included file, the call fails with the following exception. 


Error: Error #1023: Stack overflow occurred.at Object$/Object::_hasOwnProperty()at Object/http://adobe.com/AS3/2006/builtin::hasOwnProperty()at Object$/Object::_hasOwnProperty().at Object$/Object::_hasOwnProperty() is repeated many times. 


It appears like an infinite loop that's triggered internally and terminates with a stack overflow.

The mxml for the caller swf (located on www.abc.com) is as follows : 
==

?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=horizontal mx:Script![CDATA[import flash.system.Security;
Security.allowDomain(www.xyz.com);
]]/mx:Scriptmx:Image source=http://www.xyz.com/test/Loadee.swf
 x=300 y=350 showBusyCursor=true/ /mx:Application
mxml for the called swf (Loadee.swf) 
==
?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=horizontal width=270 height=54 creationComplete= getState.send();mx:Text text=Initial Text x=300 y=300 id=thisText/
mx:HTTPService url=""  href="http://www.xyz.com/ServersideScript.do" target="_blank">http://www.xyz.com/ServersideScript.do  id=getState result=chgState()/
mx:Script![CDATA[function chgState() {// ideally do something with the HTTP response here,thisText.text= HTTP call succeeded;}]]/mx:Script

/mx:Application
Any inputs here will be greatly helpful. 
Thanks,
Joseph


 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: binary in xml

2006-10-18 Thread nathanpdaniel
To anyone interested still:

AS3 function to convert a Base64 encoded Image and display it in 
flex!

private function testIt():void
{
  var b:Base64Decoder = new Base64Decoder();
  b.decode('base64 encoded image string goes here');
  var bA:ByteArray = b.flush();
  var l:Loader = new Loader();
  l.loadBytes(bA);  
  var img:Image = new Image();
  img.addChild(l);
  img.scaleContent = true;
  img.scaleX = .5;
  img.scaleY = .5;
  t.addChild(img);
}

The t object is just a Canvas object in the application.  It's 
just a rough outline.  You can load the string (which is easier and 
more likely what you'll actually do) via HTTPService to use in the 
decode function.  That way, you'll be able to have \n characters and 
there won't be any errors thrown.
Hope this helps someone out there! :D






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Columns in an extended DataGrid

2006-10-18 Thread Tom Chiverton
I have a class that extends DataGrid.

If I try and use it with some example columns:
view:PrintableDownloadableDataGrid id=printGrid
dataProvider={someData}   
downloadUrl=http://some.where/foo.bar;
 
mx:columns
mx:DataGridColumn dataField=itemOne/
mx:DataGridColumn dataField=itemTwo/
/mx:columns 
 /view:PrintableDownloadableDataGrid
(so just like it's base class), I get:
src/testPrintableDownloadableDataGrid.mxml(30): Error: Could not resolve 
mx:columns to a component implementation.

But if instead I construct an array of DataGridColumns and pass them in by 
hand instead:
var cols:Array=new Array();
cols[0]=new DataGridColumn();
cols[0].dataField=itemOne;
cols[1]=new DataGridColumn();
cols[1].dataField=itemTwo;
printGrid.columns=cols;
it works :-(

What's up, and (for bonus points) why ? Does the compiler perform some special 
magic for the Adobe class' to make the nested syntax work ? 
-- 
Tom Chiverton
Helping to professionally revolutionize value-added architectures



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Deploying Flex Application in a Tomcat server

2006-10-18 Thread Karthik J



Hi,

I have developed a flex application and I have to deploy it in a Tomcat server. Can anybody help me regarding this.

Regards,Karthik.











__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


[flexcoders] Text of legend item is too long

2006-10-18 Thread konstantin_shumay
Hello.

I have the problem - the text of legend item is longer then width of 
parent container (Panel). How can I solve this problem?
Perhaps it is possible to do line folding for legend item text or 
clip text and show label on it?

There is example code below.

?xml version=1.0 encoding=utf-8?
mx:Application 
xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
creationComplete=init();
mx:Script source=test.as/
mx:Panel id=idTest title=Chart width=800 height=600
mx:LineChart id=chart fontSize=14
/mx:LineChart
/mx:Panel
/mx:Application

// test.as ActionScript file
import mx.collections.ArrayCollection;
import mx.charts.series.LineSeries;
import mx.charts.DateTimeAxis;
import mx.charts.LinearAxis;
import mx.controls.Label;
import mx.charts.Legend;
import mx.charts.LegendItem;import mx.controls.Alert;
import mx.charts.chartClasses.LegendData;
[Bindable]
private var dp:ArrayCollection = new ArrayCollection
([{date:05.12.2004 01:00:00, messqnt:0, queue:0},
{date:05.12.2004 02:00:00, messqnt:0, queue:0}, {date:05.12.2004 
03:00:00, messqnt:0, queue:0},
{date:05.12.2004 04:00:00, messqnt:0, queue:0}, {date:05.12.2004 
05:00:00, messqnt:0, queue:0},
{date:05.12.2004 06:00:00, messqnt:0, queue:0}, {date:05.12.2004 
07:00:00, messqnt:0, queue:0},
{date:05.12.2004 08:00:00, messqnt:0, queue:0}, {date:05.12.2004 
09:00:00, messqnt:1, queue:0},
{date:05.12.2004 10:00:00, messqnt:0, queue:0}, {date:05.12.2004 
11:00:00, messqnt:2, queue:0},
{date:05.12.2004 12:00:00, messqnt:3, queue:0}, {date:05.12.2004 
13:00:00, messqnt:16, queue:-4},
{date:05.12.2004 14:00:00, messqnt:18, queue:-5}, {date:05.12.2004 
15:00:00, messqnt:20, queue:0},
{date:05.12.2004 16:00:00, messqnt:13, queue:-1}, {date:05.12.2004 
17:00:00, messqnt:9, queue:0},
{date:05.12.2004 18:00:00, messqnt:10, queue:0}, {date:05.12.2004 
19:00:00, messqnt:18, queue:0},
{date:05.12.2004 20:00:00, messqnt:48, queue:-12}, 
{date:05.12.2004 21:00:00, messqnt:141, queue:-5},{date:05.12.2004 
22:00:00, messqnt:206, queue:127}, {date:05.12.2004 23:00:00, 
messqnt:604, queue:-90}]);
private function pf(date:String):Date
{
var day:String = date.substring(0, date.indexOf(.));
var month:String = date.substring(date.indexOf(.)+1, 
date.lastIndexOf(.));
var year:String = date.substring(date.lastIndexOf(.)+1, 
date.indexOf( ));
var hour:String = date.substring(date.indexOf( )+1, 
date.indexOf(:));
var result:Date = new Date(new Number(year),new Number
(month),new Number(day),new Number(hour));
return result;
}
private function init():void
{
chart.dataProvider = dp;
chart.percentHeight = 100;
chart.percentWidth = 100;
var series:Array = new Array();
var ls1:LineSeries = new LineSeries();
ls1.xField = date;
ls1.yField = messqnt;
ls1.dataProvider = dp;
ls1.displayName = It is too long text 1. It is too long text 
1. It is too long text 1. It is too long text 1. It is too long text 
1. It is too long text 1. It is too long text 1. It is too long text 
1. It is too long text 1. It is too long text 1. It is too long text 
1. It is too long text 1. It is too long text 1. ;
var ls2:LineSeries = new LineSeries();
ls2.xField = date;
ls2.yField = queue;
ls2.dataProvider = dp;
ls2.displayName = It is too long text 2. It is too long text 
2. It is too long text 2. It is too long text 2. It is too long text 
2. It is too long text 2. It is too long text 2. It is too long text 
2. It is too long text 2. It is too long text 2. It is too long text 
2.;
series.push(ls1);
series.push(ls2);
chart.series = series;
var dta:DateTimeAxis = new DateTimeAxis();
dta.dataUnits = hours;
dta.parseFunction = pf;
dta.title = Date and Time;
chart.horizontalAxis = dta;
var la:LinearAxis = new LinearAxis();
la.title = Quantity of messages;
chart.verticalAxis = la;
var legend:Legend = new Legend();
legend.dataProvider = chart;
idTest.addChildAt(legend, 0);
}




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Stack Overflow in swf to swf include

2006-10-18 Thread Peter Farland





It does restrict some functionality... 
to describe what's happening in HTTPService - an 
underlyingURLLoader returns your XML data as a String. This String is then 
turned into XML and then if the resultFormat is left as the default setting of 
"object" it will convert this XML into an ActionScript Object graph. If 
makeObjectsBindable is false thenObjects will not be wrapped 
by mx.utils.ObjectProxy and Arrays will not be wrapped by 
mx.collections.ArrayCollection and as such property change events will not be 
dispatched when the object graph is modified, which will mean if the data is 
used as a data provider to a UI component it won't reflect changes as the data 
is modified.

Another workaround for now is to do the decoding 
yourself. You could either change the resultFormat attribute to E4X and then 
process the XML structure into a tree of objects or specify a Function for the 
xmlDecode property. Some code to demonstrate the general idea is 
below:

import 
mx.collections.ArrayCollection;
import 
mx.utils.ObjectProxy;

...

 private function 
decode(data:XML):Object 
{ var 
result:Object;

 if 
(data.elements().length() == 0) 
{ result = 
data.text().toXMLString(); 
} 
else 
{ result = 
{}; result 
= new 
ObjectProxy(result); 
var elements:XMLList = data.elements();

 
for each (var x:XML in 
elements) 
{ 
var part:Object = decode(x);

 
var name:String = 
x.localName(); 
var existing:Object = 
result[name]; 
if (existing != 
null) 
{ 
if (existing is ArrayCollection)
 
ArrayCollection(existing).addItem(part);
 
else
 
{
 
var temp:ArrayCollection = new ArrayCollection();
temp.addItem(existing);
temp.addItem(part);
 
result[name] = temp;
} 
} 
else 
{ 
result[name] = 
part; 
} 
} }

 return 
result; }


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Flex 
LearnerSent: Wednesday, October 18, 2006 2:25 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Stack Overflow in 
swf to swf include



Thanks Pete. Adding makeObjectsBinadble="false" solved the problem. Yes, the service 
returns a simple XML generated from a cfm file.
userPrefdevicephone/device/userPref
I'm curious to know how this is related to 
the stack overflow. Does makeObjectsBinadble="false" restrict any functionality ? - since i 
need the included swf to communicate with the loader swf and also with the 
hosting HTML page (via some callbackjs fns). 
-Joseph

On 10/18/06, Peter 
Farland [EMAIL PROTECTED]com wrote: 

  
  
  
  
  
  I could 
  reproduce your problem- I'll log a bug on your 
  behalf.
  
  Out of 
  curiosity, does your HTTPService return XML? If so, any chance you could show 
  us what the XML looks like? As a work around for now you could either set 
  makeObjectsBinadble="false" on your HTTPService tag or set 
  resultFormat="e4x" or resultFormat="text" (instead of the default, which is 
  "object"). 
  
  Thanks,
   Pete
  
  
  
  From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of 
  Flex LearnerSent: Tuesday, October 17, 2006 2:45 
  PMTo: [EMAIL PROTECTED] 
  ups.comSubject: [flexcoders] Stack Overflow in swf to swf 
  include
  
  
  
  
  HI,
  
  I'm trying to include an swf file (generated from FlexBuilder) within 
  another swf file using mx:image. The included file is located on a 
  different server, and the include works fine. Now, if a HTTPService is 
  added to the included file, the call fails with the following exception. 

  
  Error: Error #1023: Stack overflow occurred.at 
  Object$/Object::_hasOwnProperty()at 
  Object/http://adobe.com/AS3/2006/builtin::hasOwnProperty()at 
  Object$/Object::_hasOwnProperty().at 
  Object$/Object::_hasOwnProperty() is repeated many times. 
  
  It appears like an infinite loop that's triggered internally and 
  terminates with a stack overflow.
  
  The mxml for the caller swf (located on www.abc.com) is as follows : 
  ==
  
  ?xml version="1.0" encoding="utf-8"?mx:Application 
  xmlns:mx="http://www.adobe.com/2006/mxml " 
  layout="horizontal" mx:Script![CDATA[import 
  flash.system.Security;
  Security.allowDomain("www.xyz.com");
  ]]/mx:Scriptmx:Image source="http://www.xyz.com/test/Loadee.swf " x="300" 
  y="350" showBusyCursor="true"/ /mx:Application
  mxml for the called swf (Loadee.swf) 
  ==
  ?xml version="1.0" encoding="utf-8"?mx:Application 
  xmlns:mx="http://www.adobe.com/2006/mxml " 
  layout="horizontal" width="270" height="54" creationComplete=" 
  getState.send();"mx:Text text="Initial Text" x="300" 
  y="300" id="thisText"/ mx:HTTPService url=""http://www.xyz.com/ServersideScript.do" 
  target=_blank>http://www.xyz.com/ServersideScript.do " 
  id="getState" result="chgState()"/ 
  mx:Script![CDATA[function 
  chgState() {// ideally do something with the HTTP 
  response 
  here,thisText.text= "HTTP 
  call 
  succeeded";}]]/mx:Script 
  
  /mx:Application
  Any inputs here will be greatly helpful. 
  

Re: [flexcoders] gloablToLocal , localToGlobal

2006-10-18 Thread Daniel Freiman



My first guess would be that oldPoint isn't correct. If you're getting the local value from the event.localX make sure that event.localX and event.target is what you expect it to be. If that doesn't work, you can also use 
event.StageX and simply do:desiredpoint = vboxid.globalToLocal(new point(event.stageX,event.stageY));- DanOn 10/18/06, learner 
[EMAIL PROTECTED] wrote:




yeah

I understand that they return point , a new point which contains modified x,y




Hence we do like :



SomeNewPoint :Point = globalToLocal(oldPoint);



In my problem, my combination of globalToLocal and 
localToGlobal was getting wrong.

what i did is:




desiredPoint = Vboxid.globalToLocal (TemplateArea.localToGlobal (oldPoint))




and it worked. Thanks ! 




Regards,


Ps





On 10/17/06, Gordon Smith [EMAIL PROTECTED]
 wrote:







Are you aware that globalToLocal() and localToGlobal() don't modify the point you pass in? They return the modified point.

 

- Gordon





From: [EMAIL PROTECTED]

ups.com [mailto:flexcoders@
yahoogroups.com] On Behalf Of learner
Sent: Monday, October 16, 2006 1:56 AM
To: [EMAIL PROTECTED]ups.comSubject: [flexcoders] gloablToLocal , localToGlobal







Hello all,



Ihave a application where i have one canvas -- TemplateArea , a Vbox -- Vboxid in TemplateArea and ImageComponent inside that Vboxid


on mouseDownEvent i am drawing the rectangle on Canvas TemplateArea, What i need to do if i have to track the co-ordinates with respect to Vboxid. 



Itried with gloablToLocal and localToGlobal..but not working



Can any one please suggest me what exactllyI need to do?



Regards

Ps.




 






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Stack Overflow in swf to swf include

2006-10-18 Thread Peter Farland





Hmm, on testing this code in your scenario I realized I can 
reproduce the issue again that you described. It seems related to ObjectProxy's 
use of the intrinsic Proxy class from ActionScript. If you could 
avoid checking for existing properties and develop another way to detect what 
needs to be an Array then you can avoid the bug... otherwise you will need to 
avoid the use of ObjectProxy in this scenario for now.

Note the bug that was filed was 188654 if you need to refer 
to it in the future.

Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Peter 
FarlandSent: Wednesday, October 18, 2006 9:51 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Stack Overflow in 
swf to swf include



It does restrict some functionality... 
to describe what's happening in HTTPService - an 
underlyingURLLoader returns your XML data as a String. This String is then 
turned into XML and then if the resultFormat is left as the default setting of 
"object" it will convert this XML into an ActionScript Object graph. If 
makeObjectsBindable is false thenObjects will not be wrapped 
by mx.utils.ObjectProxy and Arrays will not be wrapped by 
mx.collections.ArrayCollection and as such property change events will not 
be dispatched when the object graph is modified, which will mean if the data is 
used as a data provider to a UI component it won't reflect changes as the data 
is modified.

Another workaround for now is to do the decoding 
yourself. You could either change the resultFormat attribute to E4X and then 
process the XML structure into a tree of objects or specify a Function for the 
xmlDecode property. Some code to demonstrate the general idea is 
below:

import 
mx.collections.ArrayCollection;
import 
mx.utils.ObjectProxy;

...

 private function 
decode(data:XML):Object 
{ var 
result:Object;

 if 
(data.elements().length() == 
0) 
{ result = 
data.text().toXMLString(); 
} 
else 
{ result = 
{}; result 
= new 
ObjectProxy(result); 
var elements:XMLList = data.elements();

 
for each (var x:XML in 
elements) 
{ 
var part:Object = decode(x);

 
var name:String = 
x.localName(); 
var existing:Object = 
result[name]; 
if (existing != 
null) 
{ 
if (existing is ArrayCollection)
 
ArrayCollection(existing).addItem(part);
 
else
 
{
 
var temp:ArrayCollection = new ArrayCollection();
temp.addItem(existing);
temp.addItem(part);
 
result[name] = temp;
} 
} 
else 
{ 
result[name] = 
part; 
} 
} }

 return 
result; }


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Flex 
LearnerSent: Wednesday, October 18, 2006 2:25 AMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Stack 
Overflow in swf to swf include



Thanks Pete. Adding makeObjectsBinadble="false" solved the problem. Yes, the service 
returns a simple XML generated from a cfm file.
userPrefdevicephone/device/userPref
I'm curious to know how this is related to 
the stack overflow. Does makeObjectsBinadble="false" restrict any functionality ? - since i 
need the included swf to communicate with the loader swf and also with the 
hosting HTML page (via some callbackjs fns). 
-Joseph

On 10/18/06, Peter 
Farland [EMAIL PROTECTED]com wrote: 

  
  
  
  
  
  I could 
  reproduce your problem- I'll log a bug on your 
  behalf.
  
  Out of 
  curiosity, does your HTTPService return XML? If so, any chance you could show 
  us what the XML looks like? As a work around for now you could either set 
  makeObjectsBinadble="false" on your HTTPService tag or set 
  resultFormat="e4x" or resultFormat="text" (instead of the default, 
  which is "object"). 
  
  Thanks,
   Pete
  
  
  
  From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of 
  Flex LearnerSent: Tuesday, October 17, 2006 2:45 
  PMTo: [EMAIL PROTECTED] 
  ups.comSubject: [flexcoders] Stack Overflow in swf to swf 
  include
  
  
  
  
  HI,
  
  I'm trying to include an swf file (generated from FlexBuilder) within 
  another swf file using mx:image. The included file is located on a 
  different server, and the include works fine. Now, if a HTTPService is 
  added to the included file, the call fails with the following exception. 

  
  Error: Error #1023: Stack overflow occurred.at 
  Object$/Object::_hasOwnProperty()at 
  Object/http://adobe.com/AS3/2006/builtin::hasOwnProperty()at 
  Object$/Object::_hasOwnProperty().at 
  Object$/Object::_hasOwnProperty() is repeated many times. 
  
  It appears like an infinite loop that's triggered internally and 
  terminates with a stack overflow.
  
  The mxml for the caller swf (located on www.abc.com) is as follows : 
  ==
  
  ?xml version="1.0" encoding="utf-8"?mx:Application 
  xmlns:mx="http://www.adobe.com/2006/mxml " 
  layout="horizontal" mx:Script![CDATA[import 
  flash.system.Security;
  Security.allowDomain("www.xyz.com");
  ]]/mx:Scriptmx:Image source="http://www.xyz.com/test/Loadee.swf " x="300" 
  y="350" 

Re: [flexcoders] Columns in an extended DataGrid

2006-10-18 Thread Clint Tredway



I am using another extended grid and I had to use the name space for the columns tag that was used for the grid tag,view:PrintableDownloadableDataGrid view:columnsI am not 100% sure why it has to be this way...
On 10/18/06, Tom Chiverton [EMAIL PROTECTED] wrote:













  



I have a class that extends DataGrid.

If I try and use it with some example columns:
	view:PrintableDownloadableDataGrid id=printGrid
		dataProvider={someData}	
		downloadUrl=http://some.where/foo.bar
	 
 	 	mx:columns
	 		mx:DataGridColumn dataField=itemOne/
	 		mx:DataGridColumn dataField=itemTwo/
	 	/mx:columns 
	 /view:PrintableDownloadableDataGrid
(so just like it's base class), I get:
src/testPrintableDownloadableDataGrid.mxml(30): Error: Could not resolve 
mx:columns to a component implementation.

But if instead I construct an array of DataGridColumns and pass them in by 
hand instead:
var cols:Array=new Array();
cols[0]=new DataGridColumn();
cols[0].dataField=itemOne;
cols[1]=new DataGridColumn();
cols[1].dataField=itemTwo;
printGrid.columns=cols;
it works :-(

What's up, and (for bonus points) why ? Does the compiler perform some special 
magic for the Adobe class' to make the nested syntax work ? 
-- 
Tom Chiverton
Helping to professionally revolutionize value-added architectures



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.


CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.  If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.


For more information about Halliwells LLP visit www.halliwells.com.


  













-- diabetic? http://www.diabetesforums.comAlbert Einstein - It's not that I'm so smart, it's just that I stay with problems longer.

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Deploying Flex Application in a Tomcat server

2006-10-18 Thread Allen Riddle












If it is just a standard Flex app, and not
a Flex Data Services app, then you just need to copy the generated files
(usually in your bin folder which contains the .swf and the html wrapper for it)
to your wherever you want under your WEB-INF folder. So it would be:



Copy contents of C:\SomeFlexApp\bin to
C:\PathToTomcatApp\web-inf\someSubFolderToStoreOutputedFiles











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karthik J
Sent: Wednesday, October 18, 2006
12:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Deploying
Flex Application in a Tomcat server















Hi,











I have developed a flex application
and I have to deploy it in a Tomcat server. Can anybody help me regarding this.











Regards,
Karthik.












__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: Drag and Drop tutorials/Samples of mixed types of dragging

2006-10-18 Thread Derrick Grigg
The DragManager's purpose is to allow drag/drop
functionality for moving data around, not for just
moving components from place to place. That is
probably why you are having such a time with it. The
DragManager use's a DragProxy which is basically a
snapshot of what you want to move/drag, but it is not
the original you are moving.

Here's a quick sample that will let you drag the
original component (a small red box) around and drop
it onto two seperate canvases. Whichever canvas gets
dropped onto changes to green. Hope this helps
you out.

?xml version=1.0 ?
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=init();
mx:Script
![CDATA[
import mx.core.IFlexDisplayObject;
import mx.core.UIComponent;
import flash.events.MouseEvent;

private var curParent: UIComponent;
private var app: UIComponent 

private function init()
{
app =
UIComponent(Application.application);
}

private function
handleStartDrag(event:MouseEvent):void
{
var target: UIComponent =
UIComponent(event.target);

//remove the target from whatever parent
it is in
curParent  = UIComponent(target.parent);
curParent.removeChild(target);

var p:Point = new Point(target.x,
target.y);
p = curParent.localToGlobal(p);
//adjust the x/y to the main app coordinates
target.x = p.x;
target.y = p.y;

//add target to the main root to avoid
depth problems
app.addChild(target);

target.startDrag(false);

} 

private function
handleStopDrag(event:MouseEvent):void
{
//need to check against dropTarget.parent
because it is
picking up the border
var dropTarget: UIComponent =
UIComponent(event.target.dropTarget.parent);
var target: UIComponent =
UIComponent(event.target);

if (curParent == box1_cv || curParent ==
box2_cv){
curParent.setStyle('backgroundColor',
'#CC');
}

if (dropTarget == box1_cv || dropTarget
== box2_cv){
dropTarget.setStyle('backgroundColor',
'#00ff00');
}

//remove from application root
app.removeChild(target);

var p:Point = new Point(target.x,
target.y);
p = app.localToGlobal(p);

//adjust the x/y to the main app coordinates
target.x = p.x - dropTarget.x;
target.y = p.y - dropTarget.y;

dropTarget.addChild(target);

target.stopDrag();

}

   
]]
/mx:Script

!-- Canvas drop target -- 
mx:Canvas id=box1_cv 
backgroundColor=#CC
width=100 
height=100 /
!-- Canvas drop target -- 
mx:Canvas id=box2_cv 
backgroundColor=#CC
width=100 
height=100
x=400 /

!-- The canvas being dragged --
mx:Canvas id=drag_cv 
backgroundColor=#ff 
height=50 
width=50 
x=200 
y=200 
mouseDown=handleStartDrag(event); 
mouseUp=handleStopDrag(event);/ 

/mx:Application

Good luck

Derrick

--
Derrick Grigg
[EMAIL PROTECTED]
www.dgrigg.com


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Drag/Drop within a viewstack goes a bit awry?

2006-10-18 Thread Kornelius . Elstner
I just had a look at the flexcoders archive and this issue has been
mentioned before by Dima Ulich,
http://tech.groups.yahoo.com/group/flexcoders/message/44032. Does anybody
know if there is a workaround and whether it was raised as a bug?

Kornelius Elstner

flexcoders@yahoogroups.com wrote on 18/10/2006 14:11:01:

 Thanks, the example has an area about 1cm in height but not the
 complete width of the list which is not calling the event.

 It’s interesting you mention the application control bar, my main
 app uses such a control bar where the problem is much more evident.


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] adding btuttons to panle titel bar

2006-10-18 Thread Van De Velde Hans
Title: Message





A 
quick and dirty way is to put your panel into a canvas
and 
superposition your buttons over your panel with absolute 
positioning.



  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  learnerSent: woensdag 18 oktober 2006 11:20To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] adding btuttons to 
  panle titel bar
  
  Hi 
  all,
  
  I am 
  using panel component and I want to add some button to the title bar of this 
  panel component, How should I achieve this? 
  Please 
  suggest me the way.
  
  Regards,
  Ps
  
   
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Flex academic/volune licensing

2006-10-18 Thread Igor Costa



Yesterday had an part of eSeminars series talking about FDS, and Kevin Y. and Allen (presenter) explain a lot about pricing license, and all several questions, I guess if you should participate it will be very helpfull for all your several questions concerns.
Regards.On 10/18/06, Ben Forta [EMAIL PROTECTED] wrote:













  



Rick,

1) Correct, FDS and CF can be on a separate machines.

2) I am not a legal expert, and have not discussed this with our licensing
people, but it seems to me that if you install FDS and instruct the OS to
run it on a single CPU (instead of both) then you should be ok. As per the
license, Adobe grants Licensee a license to install and use such unique
application and the Adobe Flex Data Services Express Software as Production
Software on a Per-CPU basis. What is Per-CPU basis? As per the license,
The total number of CPUs on the Computers used to operate the Software may
not exceed the licensed quantity of CPUs.  For purposes of this definition,
all CPUs on a Computer on which the Software is installed shall be deemed to
operate the Software unless Customer configures that Computer (using a
reliable and verifiable means of hardware or software partitioning) such
that the total number of CPUs that actually operate the Software is less
than the total number on that Computer. So, as long as you ensure that FDS
runs on a single CPU you should be fine. But perhaps you should check with a
lawyer. ;-)

--- Ben

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of Rick Root
Sent: Wednesday, October 18, 2006 8:56 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex academic/volune licensing

Matt Chotin wrote:
 
 Dave Gruber from Adobe tried to respond but I haven't seen his post 
 come through so let me re-post it.

Thanks Matt, I got his response off list yesterday and responded.

Unfortunately, FDS Express doesn't work for us cuz our machine has two CPUs.
Unless FDS Express can be configured to only use one CPU even though it is
installed on a 2 CPU machine.  That's not mentioned in the FDS Express FAQ
so I doubt it.

I suppose my other option would be to buy a separate, single CPU server to
run FDS Express on.  FDS doesn't have to be on the same machine as
Coldfusion, right?

Rick

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


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Javascript to Flex

2006-10-18 Thread Igor Costa



the same process that occur in Flash occur in Flash.you should also take a see here : http://www.osflash.org/flashjs?s=flash+_javascript_Regards.
Take a look an example in Docs, I not sure right now, but I guess has an example of that.Regards.On 10/18/06, rbn 
[EMAIL PROTECTED] wrote:












  



I'm trying to send data from a _javascript_ from the wrapper in the HTML
thru ExternalInterface with an addCallBack function in Flex, but
without success... all i can find @ adobe is a tiny example that seems
outdated and doesn't work...

Does anyone have any experience with sending data from _javascript_ into
Flex

any help would be much appreciated.

thanks,

rbn


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Multiple classes per package

2006-10-18 Thread polestar11
Thanks, Claus

That's exactly what I was looking for.

Tracy





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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: writing and using classes

2006-10-18 Thread Prakaz



i strongly recommend the following books if u want to get serious about OOP
1) Essential Actionscript 2.0 - http://www.amazon.com/Essential-ActionScript-2-0-Colin-Moock/dp/0596006527/sr=1-4/qid=1161183848/ref=sr_1_4/102-9410879-8010537?ie=UTF8s=books


2) Head first design patterns - this book is writtenfor Java but the same OO concepts can be used in flash (must buy) - 
http://www.amazon.com/Head-First-Design-Patterns/dp/0596007124/sr=8-1/qid=1161181139/ref=pd_bbs_sr_1/102-9410879-8010537?ie=UTF8


P
On 10/18/06, amigo_fd [EMAIL PROTECTED] wrote:
 





Thanks a lot, Mikeused public static function String2Dateand CommonFunctions.String2Date(...)I'm a search-trialanderror-and-search-again type of programmer. Justlearning as I need something :-) 
Any suggestions on good OO-related basic learning sites ?--- In flexcoders@yahoogroups.com 
, Michael Labriola [EMAIL PROTECTED] 
wrote:  Frank,  I think you might be approaching this from the wrong perspective. In particular, if you don't have object oriented programming experience, 
 you may want to take a few minutes and read some of the many tutorials available online.  As Flex is a pretty OO heavy environment, without this knowledge, I think you are going to get stuck on a lot of issues. 
  That said, you have two choices in the code you wrote below:  You could make your method static:  public function String2Date becomes- public static function String2Date 
  Then you could access it as: dfShipping.selectedDate = CommonFunctions.String2Date(x.result[0].shipdatum[0].toString());  Or you need to create an instance of this class first. 
  var cf:CommonFunctions = new CommonFunctions(); dfShipping.selectedDate = cf.String2Date(x.result[0].shipdatum[0].toString());  I do encourage you to spend a little time reading about Object 
 Oriented programming, either from an Adobe resource or just an online tutorial. It will help you immensly.  --Mike  --- In 
flexcoders@yahoogroups.com, amigo_fd frank@ wrote:   Hello,I want to make a class with a function I want to reuse in my  application. This is new for me, so I need some help ... 
I've created a file CommonFunctions.as in the root of my application  with this code:package {  public class CommonFunctions {
  public function String2Date(doString:String):Date {  var doYear:int = Number(doString.substr(0,4));  var doMonth:int = Number(doString.substr(5,2));  var doDay:int = Number(doString.substr
 (8,2));  var doHour:int = Number(doString.substr(11,2));  var doMin:int = Number(doString.substr(14,2));  var doSec:int = Number(doString.substr(17,2)); var myDate:Date = new Date(doYear, doMonth, doDay, doHour, doMin, 
  doSec);  // showErrorDialog(doString + + + doYear + + + doMonth + + +  doDay + + + doHour + + + doMin + + + doSec); 
return myDate;  }  }  }Now, how do I use in it on an other mxml-file in that application ?  This does not work:  
  dfShipping.selectedDate =  String2Date(x.result[0].shipdatum[0].toString());Thanks a lot,  Frank 

 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] [Flex2] Ant + compc - include-libraries not being found during compile..?

2006-10-18 Thread thunderstumpgesatwork

Hi guys. Can someone check my ant task? I copied and modified slightly
several different tasks I found around here, and I'm getting errors
about finding base classes (Cairngorm's FrontController,
ServiceLocator, and the FDS's IManaged)

I am pretty sure the libs (swc's) are being found, because if I
misspell any of them it complains that it can't find it.

This project compiles fine in FlexBuilder, but I can't get the ant
task to work.

What do I have wrong?

Also, I have tried compiling with the '-include-sources' option to
include the whole source directory and kept getting circular
inheritance errors, so thats why I'm trying the -include-classes
option instead. 

thanks in advance,
Thunder

___

java jar=${compcjar}
   fork=true
   failonerror=true
   maxmemory=128m
   dir=${flexsdk}\frameworks
   arg value=-load-config=${flexsdk}/frameworks/flex-config.xml/
   arg value=-include-libraries+=${cairngorm.lib}/cairngorm.swc /
   arg value=-include-libraries+=${flex.libs}/charts.swc /
   arg value=-include-libraries+=${flex.libs}/flex.swc /
   arg value=-include-libraries+=${flex.libs}/rpc.swc /
   arg value=-include-libraries+=${flex.libs}/utilities.swc /
   arg value=-include-libraries+=${fds.libs}/fds.swc /

   arg value=-external-library-path+=${flex.libs}/playerglobal.swc,\
  ${flex.libs}/framework.swc/

   arg value=-source-path=${af.src} /

   arg value=-include-classes=af.components.DashboardApplication /
!--arg value=-include-sources=${af.src}/af / --

   arg value=-output=${out}\af.swc /
/java

_

here's the errors:

[java]
C:\Work\p4_root\Flex\src\af\commands\control\RFFrontController.as(6):
col: 41 Error: The definition of base class FrontController was not found.
[java] public class RFFrontController extends FrontController
[java] ^
[java] C:\Work\p4_root\Flex\src\af\remoting\RPCServiceLocator.as(5):
col: 41 Error: The definition of base class ServiceLocator was not found.
[java] public class RPCServiceLocator extends ServiceLocator
[java] ^
[java]
C:\Work\p4_root\Flex\src\com\af\config\presentation\ConfigObjVO.as(11):
col: 44 Error: Interface IManaged was not found.
[java] [RemoteClass(alias=com.af.config.presentation.ConfigObj)]
[java] ^





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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Set Focus on TextInput

2006-10-18 Thread boy_trike
This does NOT seem to work for a popup.  Is there another trick to setFocus on 
a text field in 
a popup?

Thanks
Bruce




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Multiple Combo boxes

2006-10-18 Thread Tan





Hi,

I want 
to create an interface which contains a few combo boxes which represent 
different level of a nested data structure. This is very similar to 
iTune's interface. I wonder if anyone has done it before, and if the 
nested data is provided via XML, I wonder how I could write code to do the data 
filtering logic.

- 
Tangent

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Security Sandbox and SWF Loader

2006-10-18 Thread mindmillmedia
I am working on a Yahoo Maps app in Flex 2.  Because the Yahoo Maps
API doesn't yet fully support Flex 2 - I am making the map (and its
API calls) in Flash 8.  This Flash file also pulls data from an RSS
feed (to make markers on the map).  There are no security errors when
I run the SWF.

However, when I load the SWF into the Flex app, I get security sandbox
errors all over the place (for the Map and for the RSS feed - two
different domains).

I have the following set in the Flex application:

Security.allowDomain(domain1.com);
Security.allowDomain(domain2.com);
_context = new LoaderContext (true, ApplicationDomain.currentDomain,
SecurityDomain.currentDomain);
yahooMap.loaderContext = _context;

I have the following set in the Flash SWF:

System.security.allowDomain(domain1.com);
System.security.allowDomain(domain2.com);

I have the following Cross Domain Policy File:

?xml version=1.0?
!-- http://mydomain.com/crossdomain.xml --
cross-domain-policy
  allow-access-from domain=* /
/cross-domain-policy

What am I missing?
 




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



RE: [flexcoders] [Flex 2] Crossdomain issue

2006-10-18 Thread Peter Farland





Hey Thomas,

I should point out that you have a few options when 
connecting to ColdFusion from a Flex 2 application (well, for any Flex 2 
application but I'll keep this reply CF focused).

The first thing I want to mention is thatfor RPC 
services like RemoteObject, and WebService and HTTPService (when using the 
proxy) you can avoid specifyinga services-config.xml file so long as you 
take on the responsibility of programmatically specifying where the channel 
endpoint(s) are for a service. I would suggest this approach if you are 
connecting to an endpoint other than FDS and you're not comfortable futzing with 
the configuration across two app servers.

1. The first way to specify a set of channels that can be 
tried to find a suitable endpoint to communicate with a destination. This 
approach is hinted in the docs...

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1101.html
... but to make it more explicit I'll reproduce the 
relevant ActionScript code here:

import mx.messaging.ChannelSet;
import mx.messaging.Channel;

import 
mx.messaging.channels.AMFChannel;

...var cs:ChannelSet = new ChannelSet();var 
customChannel:Channel = new AMFChannel(null, "http://localhost:8700/cfusion/flex2gateway/");cs.addChannel(customChannel);myRemoteObject.channelSet = 
cs;...

Note that we pass a null channel id to the channel 
constructor so that we don't have to know what the channel-definition is called 
in the relevant /WEB-INF/flex/services-config.xml file. The channel id is only 
to help services catch a mistaken channel assignment which is only really 
important for publish/subscribe services as if one were to assign a non-polling, 
non-real-time channel you'd never received pushed updates.

Also note this approach should work for other RPC services 
too (well, it is true for publish/subscribe services too like 
Producers/Consumers for the FDS message service and the data management 
services).


2. Another quick and dirty way to do this for the MXML API 
of RemoteObject ONLY is to use the legacy endpoint 
attribute:

mx:RemoteObject id="myRemoteObject" endpoint=http://localhost:8700/cfusion/flex2gateway/ ... /

Under the covers the MXML tag will use the endpoint to 
create a default channel set for you (it'll use AMFChannel for URLs starting 
with http, and SecureAMFChannel for URLs starting with 
https).


Pete




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas 
RühlSent: Tuesday, October 17, 2006 5:52 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] [Flex 2] 
Crossdomain issue


I got it, I got it! ...well, almost.Due to my RPC adaptions to 
services-config, I configured the 'ColdFusion' destination to be 
localhost:8500. So, after all, it was my fault. However, when I began using 
Coldfusion I remember the {server...} variables didn't work for some 
reason.Well, they do now, what the hell...Thanks, Peter, for 
your concern.Cheers, 
ThomasThomas 
RühlDesign, Programming  Conceptsakitogo OHGHanauer 
Landstrasse 18860314 FrankfurtTelefon +49 (0) 69 800 69 445Fax 
+49 (0) 69 800 69 449Mobil +49 (0) 179 750 75 87E-Mail thomas.ruehl@akitogo.comWeb 
http://www.akitogo.comPeter 
Farland wrote:   This shouldn't matter, but can you try 
removing the to-ports attribute  in the crossdomain.xml but leave 
the domain attribute in the  allow-access-from element? 
 Are you using mxmlc to compile the SWF and if so, is there any chance 
 that you changed the network access policy when compiling the SWF (i.e. 
 set -useNetwork to false if compiled with mxmlc)? 
-- 
*From:* [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
 *On Behalf Of *Thomas Rühl *Sent:* Monday, October 16, 2006 
7:49 AM *To:* [EMAIL PROTECTED]ups.com 
*Subject:* [flexcoders] [Flex 2] Crossdomain issue   
Hello flexcoders,  I am currently failing to access my 
application by an address other than localhost.  The 
error I get is: Client.Error.MessageSend: Send failed 
 The details are: [FaultEvent.fault=[RPC Fault 
faultString="Send failed" 
faultCode="Client.Error.MessageSend" 
faultDetail="Channel.Security.Error error Error #2048"] 
messageId="..." type="fault" bubbles=false cancelable=true 
eventPhase=2]  My crossdomain.xml looks like this: 
?xml version="1.0"?  !DOCTYPE 
cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd 
 http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd" 
cross-domain-policy allow-access-from domain="*" 
to-ports="*"/ /cross-domain-policy 
 And the URL, I am attempting to access is http://10.12.104.10:8700/flex/AvalonHelpdesk/AvalonHelpdesk.html 
 http://10.12.104.10:8700/flex/AvalonHelpdesk/AvalonHelpdesk.html 
...where 10.12.104.10 is my IP address and 8700 is the FDS port. 
 I can successfully access the policy file by typing 

[flexcoders] Populating additional DataGrid cells in same Row, from contents of a ComboBox ItemEditor

2006-10-18 Thread Mike Anderson
Hello All,

I have a ComboBox itemEditor which is attached to a specific Cell in my
DataGrid.

When you click in the Cell, the ComboBox appears - and when you make a
selection, the value in the DataGrid Cell obviously changes - this is
absolutely great!  BUT, the dataProvider attached to the ComboBox which
supplies it's DropDown values, contains other pieces of information,
that I need to also be placed into the contents of other Cells within
the same Row of the DataGrid.

If you can imagine, this ComboBox contains information from the Products
Table in my DataBase, and the OrderDetails DataGrid is what the ComboBox
resides in.

In my OrderDetails Grid, I have Product, UnitPrice, Markup, Quantity,
and some other fields - that make up a typical Order Entry.  When the
user selects the Product from the ComboBox, I need the UnitPrice and
Markup fields, to also populate with the data contained inside the
ComboBox DataProvider.

What would be the best method to use, in order to get these DataGrid
Cells to populate, when the user makes a selection from the ComboBox?

Thanks in advance, for any help you can throw my way :)

Mike


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Determining Type of Data Structure

2006-10-18 Thread mindmillmedia
Can you not just set resultFormat=array for your call?  Then you
could avoid the toArray() method all together and it would work
properly whether you returned 1 row or 100.

David

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

 Hi,
 
 I've got a servlet returning data from a db query.  I use for example
 psd.lastResult.psn.row as the source for my datagrid.  If I get
 multiple row returned, then the psd.lastRestult.psn.row is an
 ArrayCollection and I use .toArray() when I set source for the
 creation of my local ArrayCollection.  However, when the query returns
 1 or less rows, it is returned as an Array, so I don't want to use the
 .toArray() method.  Is there a way to check and see if
 psd.lastResult.psn.row is an Array or an ArrayCollection?  Any help
 would be greatly appreciated.
 
 Thanks,
 
 jelentz







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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Component reference to other component controls

2006-10-18 Thread mindmillmedia
Even without utilizing the full Cairngorm architecture, you could
utilize a ModelLocator singleton.  You could define a property as
buttonEnabled and bind the enabled property of the second button to
that value.  Then when the first button is clicked have it define the
ModelLocator's value of buttonEnabled to true.

Since the second button's enabled property is bound - it should
reflect automatically.

Hope this helps.

David

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

 How do I reference controls in other components?  I have a main 
 form 'menu'  with two viewstack display panels (form1 and form2).  
 Form1 contains a custom component (display1).  The form2 contains a 
 custom component (display2).  Navigation can go back and forth between 
 the forms.
 
 The display1 component has a button (d1Button) which has a click event 
 to enable a button on display2 (d2Button).
 
 How should I form the click event for the d1Button to reference the 
 d2Button in the display2 component?







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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Why am I getting an error accessing null property

2006-10-18 Thread Tom Chiverton
On Sunday 15 October 2006 22:24, boy_trike wrote:
 I get the error in the Alert.show function.  What am I doing wrong?

Maybe there are no results, or the fields aren't what you think.
What does the debugger say is the value of event and event.result ?

-- 
Tom Chiverton
Helping to authoritatively mesh attention-grabbing communities



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 generate pdf of MXML file

2006-10-18 Thread Akash










Hi,

 I want to know that is it possible to generate
the pdf from the mxml components in flex 1.5 or 2.0 or not. If possible then
which class can we use?



Akash,






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Disclaimer

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed.  If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. The recipient should check this email and any attachments for the presence of viruses.  Ness has taken every reasonable precaution to minimize this risk, and accepts no liability for any damage caused by any virus transmitted in this email.  Ness reserves the rights to monitor and review the content of all messages sent to or from this E-mail address, and store them on the Ness E-mail system.


[flexcoders] Why is addChild w/in a State throwing 'null object' errors?

2006-10-18 Thread joshuajnoble

When I setCurrentState to one of the other states, I get a null object
error thrown from the removeChild method. I'm also getting binding
errors from using the {} syntax for the id that I'm going to remove.
This is really strange because when I just run the application out of
Flex Builder it works fine. However, for some realy strange reason, it
throws an error when I run it out of Eclipse. Has anyone heard of this
before?

Here's the code.

mx:states
mx:State name=base
mx:AddChild target={holder} relativeTo={this} 
position=below
mx:HBox 
xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
height=100% paddingRight=4 id=holder
paddingLeft=20 click=borrowerSelected();
mx:Image id=addIcon
source={SessionLocator.getSession().assets.AddIcon}
click=changeState()/
mx:Label id=itemEditor 
text={this.baseText}/
/mx:HBox
/mx:AddChild
/mx:State
mx:State name=appEditState
mx:RemoveChild target={holder}/
mx:AddChild
mx:target
mx:VBox id=appEdit
mx:HBox
mx:TextInput 
id=firstTextInput text={this.firstEditorText}/
mx:TextInput 
id=secondTextInput
text={this.secondEditorText}/
/mx:HBox
mx:HBox
mx:Button id=addApp 
click=addItem() label=Add Application/
mx:Button 
id=cancelApp click=cancel() label=cancel/
/mx:HBox
/mx:VBox
/mx:target
/mx:AddChild
/mx:State
mx:State name=scenarioEditState
mx:RemoveChild target={holder}/
mx:AddChild
mx:target
mx:VBox id=scenarioEdit
mx:HBox
mx:TextInput 
id=scenarioTextInput
text={this.firstEditorText}/
/mx:HBox
mx:HBox
mx:Button 
id=addScenario click=addItem() label=Add
Scenario/
mx:Button 
id=cancelScenario click=cancel() label=cancel/
/mx:HBox
/mx:VBox
/mx:target
/mx:AddChild
/mx:State
/mx:states
/mx:VBox




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 make CF ALIAS locations relative to my application

2006-10-18 Thread boy_trike
Since I am using Objects in CF to return to flex, I have code like this:

cffunction access=remote name=processLogin output=false 
returnType=Lumber.CFC.Users
and 
myUser = createObject(component, Lumber.CFC.Users).init();
and 
cfcomponent output=false alias=Lumber.CFC.Users

in these cases, I have to give the FULL path to the Users.cfc.  is there a way 
to make this a 
RELATIVE path from my current application.

Thanks

Bruce




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Drag and Drop tutorials/Samples of mixed types of dragging

2006-10-18 Thread John Grden



Thanks Derrick - that helped. So essentially, you are using startDrag/stopDrag along doDrag() to accomplish a simple movementThat's what I was really wondering ;) Thanks Derrick, this really helped,JPG
On 10/18/06, Derrick Grigg [EMAIL PROTECTED] wrote:













  



The DragManager's purpose is to allow drag/drop
functionality for moving data around, not for just
moving components from place to place. That is
probably why you are having such a time with it. The
DragManager use's a DragProxy which is basically a
snapshot of what you want to move/drag, but it is not
the original you are moving.

Here's a quick sample that will let you drag the
original component (a small red box) around and drop
it onto two seperate canvases. Whichever canvas gets
dropped onto changes to green. Hope this helps
you out.

?xml version=1.0 ?
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute creationComplete=init();
mx:Script
![CDATA[
import mx.core.IFlexDisplayObject;
import mx.core.UIComponent;
import flash.events.MouseEvent;

private var curParent: UIComponent;
private var app: UIComponent 

private function init()
{
	app =
UIComponent(Application.application);
}

private function
handleStartDrag(event:MouseEvent):void
{
	var target: UIComponent =
UIComponent(event.target);
	
	//remove the target from whatever parent
it is in
	curParent  = UIComponent(target.parent);
	curParent.removeChild(target);
	
	var p:Point = new Point(target.x,
target.y);
	p = curParent.localToGlobal(p);
//adjust the x/y to the main app coordinates
	target.x = p.x;
	target.y = p.y;
	
	//add target to the main root to avoid
depth problems
	app.addChild(target);
	
   		target.startDrag(false);

} 

private function
handleStopDrag(event:MouseEvent):void
{
	//need to check against dropTarget.parent
because it is
picking up the border
	var dropTarget: UIComponent =
UIComponent(event.target.dropTarget.parent);
	var target: UIComponent =
UIComponent(event.target);

	if (curParent == box1_cv || curParent ==
box2_cv){
		curParent.setStyle('backgroundColor',
'#CC');
	}
	
	if (dropTarget == box1_cv || dropTarget
== box2_cv){
		dropTarget.setStyle('backgroundColor',
'#00ff00');
	}

		//remove from application root
		app.removeChild(target);

	var p:Point = new Point(target.x,
target.y);
		p = app.localToGlobal(p);

//adjust the x/y to the main app coordinates
		target.x = p.x - dropTarget.x;
	target.y = p.y - dropTarget.y;
			
		dropTarget.addChild(target);	

	target.stopDrag();
	
}

]]
/mx:Script

!-- Canvas drop target -- 
mx:Canvas id=box1_cv 
	backgroundColor=#CC
	width=100 
	height=100 /
!-- Canvas drop target -- 
mx:Canvas id=box2_cv 
	backgroundColor=#CC
	width=100 
	height=100
	x=400 /

!-- The canvas being dragged --
mx:Canvas id=drag_cv 
	backgroundColor=#ff 
	height=50 
	width=50 
	x=200 
	y=200 
	mouseDown=handleStartDrag(event); 
	mouseUp=handleStopDrag(event);/ 

/mx:Application

Good luck

Derrick

--
Derrick Grigg
[EMAIL PROTECTED]
www.dgrigg.com

  













-- [JPG]

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] adding btuttons to panle titel bar

2006-10-18 Thread Iko Knyphausen














I came to the same conclusion, but I have not found a way to give the
canvas the same shadow as the default panel. Any ideas? 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Van De Velde Hans
Sent: Wednesday, October 18, 2006
2:32 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] adding
btuttons to panle titel bar













A quick and dirty way is to put your panel
into a canvas





and superposition your buttons over your
panel with absolute positioning.

















-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of learner
Sent: woensdag 18 oktober 2006
11:20
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] adding
btuttons to panle titel bar



Hi all,



I am using panel component and I want to add some button
to the title bar of this panel component, How should I achieve this? 

Please suggest me the way.



Regards,

Ps


















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Whats the best way of adding print/pdf output to a flex app?

2006-10-18 Thread Iko Knyphausen














Nice. I used to live in Old Town Alex. D.C. is fun  a little
humid in summer time ;-)









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Trice
Sent: Wednesday, October 18, 2006
4:40 AM
To: flexcoders@yahoogroups.com;
flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Whats
the best way of adding print/pdf output to a flex app?















I'm in the Washington, DC
office. It is a fun place to work... lots of cool projects from vc
startups to major institutions. If you or anyone else on this
listhasany interest, be sure to send your resume to [EMAIL PROTECTED]com. We
have several offices located around the country. We just opened the new
one in DC this week.











-Andy















From: [EMAIL PROTECTED]ups.com on behalf of Iko
Knyphausen
Sent: Tue 10/17/2006 11:22 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Whats
the best way of adding print/pdf output to a flex app?















Very good info,
Andy. Thanks. I will study and digest (am also using PDF995 as a driver, so
this would work). Out of curiosity, which Cynergy office do you work from? Seems
like a kewl company to work for...









From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Andrew Trice
Sent: Tuesday, October 17, 2006
6:55 PM
To: [EMAIL PROTECTED]ups.com;
[EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Whats
the best way of adding print/pdf output to a flex app?















There is actually printing capability built natively into
Flex. It uses your OS printing capabilities. If you have a
pdf-print driver installed, you can print to pdf.













http://livedocs.macromedia.com/flex/2/langref/mx/printing/FlexPrintJob.html










-Andy













http://www.cynergysystems.com/blogs/page/andrewtrice













From: [EMAIL PROTECTED]ups.com
on behalf of Iko Knyphausen
Sent: Tue 10/17/2006 9:16 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Whats
the best way of adding print/pdf output to a flex app?















By all means... I
am thrilled there is so much contribution to this topic. One of my interests is
to also print Charts that were created as a result from a data driven query. So
a backend/server based data-driven solution alone will not help, I am afraid.
Flash paper sounds promising... Since these are Adobe / MM related products, it
would be kind of super-nice ;-) wink if there could be a native mx:control
(like a print-page container).



Ideas?
-Iko 







From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Mike Anderson
Sent: Tuesday, October 17, 2006
5:00 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Whats
the best way of adding print/pdf output to a flex app?











Continuing this thread -



Since FlashPaper is native to the whole Macromedia and
Adobe suite of products, would FlashPaper be just as good of a solution
as a PDF?



And with that said, if FlashPaper is an acceptable solution for
some users, could a FlashPaper document be created directly within a Flex
Application?



This would give a user, a ton of power, if they wanted to create
documents for distribution, or for hard copy / archival purposes.



I'd love to hear more regarding this topic, and I hope you don't
mind me chiming in on your original thread Iko - I am sure any further
information will benefit both of us :)



Thanks,



Mike









From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Nick Collins
Sent: Tuesday, October 17, 2006
5:45 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Whats
the best way of adding print/pdf output to a flex app?

I would say your
best bet is likely to store your data into a database (which you're likely
already doing) then use a backend PDF writer or report generation script in whatever
backend language you're using. Coldfusion has this built in I know, and I know
there are components available for .Net that allow quite a bit of flexibility. 



On 10/17/06, iko_knyphausen
[EMAIL PROTECTED]net wrote:











Assume you were producing reports with columns, summaries, charts, that
sort of thing, is there a good way of getting this to a printer or pdf
file? Any components out there that will help dimensions, page breaks,
etc.

Thanks

Iko




















































__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

[flexcoders] Re: Binary Sockets, and Folder Browser

2006-10-18 Thread tobiaspatton
Two Flash application running on the same machine can communicate 
using LocalConnection objects.

http://livedocs.macromedia.com/flex/2/langref/flash/net/LocalConnecti
on.html


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

 Flash can connect to a socket but not listen for a connection. 
Therefore
 direct p2p is not possible.
  
 You could create a server with which both flash movies connect to 
with
 data passing through the server between them, but not directly 
from one
 to the other.
  
  
  
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of grunz1234
 Sent: 17 October 2006 19:50
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Binary Sockets, and Folder Browser
  
 thanks for your replys.
 1. so it should be possible to create a connection between 2 flash 
 users from the same domain(website)?
 
 2. would be pleased to hear more :)
 
 thanks
 
  --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
 ups.com, grunz1234 grunz1234@ wrote:
  
   Hello
   I have some questions on Flex.
   
   1. Is it possible to create a socket on a flash client?
   2. Is it possible to open a file from the users OS and upload 
it?
   
   thanks
  
  
  Looks like the Socket class in the flash.net package will be 
able to
  handle the first part of your question. 
  
  For the second part, if I understand correctly, I believe there 
are 
 a
  couple of ways to accomplish this. Any one have any insight on
  implementation techniques that were successfull for them?
  
  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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 generate pdf of MXML file

2006-10-18 Thread Iko Knyphausen














See http://livedocs.macromedia.com/flex/2/langref/mx/printing/FlexPrintJob.html

And a previous discussion on printing http://tech.groups.yahoo.com/group/flexcoders/message/53370









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Akash
Sent: Wednesday, October 18, 2006
2:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to
generate pdf of MXML file













Hi,


I want to know that is it possible to generate the pdf from the mxml components
in flex 1.5 or 2.0 or not. If possible then which class can we use?



Akash,






 
  
  Disclaimer
  
  This email and any files transmitted with it are confidential and intended
  solely for the use of the individual or entity to whom it is addressed. If
  you have received this communication in error, please immediately notify the
  [EMAIL PROTECTED]ness.com and destroy the original message. The recipient
  should check this email and any attachments for the presence of viruses. Ness has taken every reasonable precaution to minimize
  this risk, and accepts no liability for any damage caused by any virus
  transmitted in this email. Ness reserves the
  rights to monitor and review the content of all messages sent to or from this
  E-mail address, and store them on the Ness E-mail system.
  
 







__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Multiple Combo boxes

2006-10-18 Thread Tracy Spratt












I think I know how to do this theroretically,
but have not actually done it, so I can only be general. And I stand to be
corrected as needed.



I would create a master, global () data
variable typed as e4x XML, populated by a result handler function. I would
have an xmlList, or XMLListCollection variable bound to each controls
dataProvider. I would use e4x XML selection expressions to navigate to and assign
the appropriate XML node or node list to those variables.



Post an example of the xml you are dealing
with. This sounds like a fun little example to make.



Tracy











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tan
Sent: Wednesday, October 18, 2006
11:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple
Combo boxes













Hi,











I want to create an interface which
contains a few combo boxes which represent different level of a nested data
structure. This is very similar to iTune's interface. I wonder if
anyone has done it before, and if the nested data is provided via XML, I wonder
how I could write code to do the data filtering logic.











- Tangent














__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Re: Set Focus on TextInput

2006-10-18 Thread Daniel Freiman



it works if you setFocus after you call addPopUp/createPopUp, so my guess is that the PopUpManager is setting focus to the popup which overriding your call. If you don't have access to the textfield, try putting the setfocus in more creative places, like a listener for when the popup is shown.
- DanOn 10/18/06, boy_trike [EMAIL PROTECTED] wrote:
This does NOT seem to work for a popup.Is there another trick to setFocus on a text field ina popup?ThanksBruce--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* Your email settings:Individual Email | Traditional
* To change settings online go to:http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:
mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Deploying Flex Application in a Tomcat server

2006-10-18 Thread jrunrandy
And if it is a Flex Data Services app, there are J2EE deployment 
instructions at 
http://www.adobe.com/support/documentation/en/flex/2/install.html#flexj2
ee. In particular, you need to install a transaction manager, which is 
described later in these instructions.

Also, you'll need to increase memory to at least 512MB.

HTH,
Randy Nielsen
Flex Documentation Manager




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Items in VBox still take space even when visible=false, but I don't want them to

2006-10-18 Thread zzwi89
Hello,

I have several panels arranged in a VBox. I would like to be able to
hide some based on user input, but when I disable their visibility,
they  no longer appear but the panels below them do not move up
accordingly. When they are resized the other panels below will move
up, but I would prefer to be able to just make them invisible. Is
there any way of achieving this functionality?




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: setting an external f9 swf's library symbols width

2006-10-18 Thread beecee1977
Not sure if this is what you're looking for, but you could try: 
maintainAspectRatio=false

Hope that helps...




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Samples:CRM example doesn't generate hibernate.cfg.xml on Tomcat

2006-10-18 Thread Douglas McCarroll
Hi All,

I'm trying to get the CRM example to work using Hibernate.

Victor Rubba has a post about doing this at:
http://viconflex.blogspot.com/2006/09/flex-data-services-crm-sample-using.html

He obviously got it to work, but the process breaks for me by the second step 
in 
his outline. I uncomment the code in web.xml and restart Tomcat, but no 
hibernate.cfg.xml file is created.

I assume he's using JRun as he later uses port 8700. Could this be a Tomcat 
issue?

As a temp fix, could someone send me a copy of the hibernate.cfg.xml file that 
gets created?

TIA!

Douglas


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: cairngorm - retreive view data from commands

2006-10-18 Thread Tim Hoff



Hi,
Usually, if you're dealing with moving data around a Cairngorm application, you would create a public variable (or VO) in the ModelLocator. When you takea snapshot of the video, dispatch a CairngormEvent that contains the bitmapData (I would do this in the view's script; not a ViewHelper). In the command, update the variable in the ModelLocator with the data. Now you have the data in a centrally located position. If another view needs access to this data, simply bind the view's control to the variable in the ModelLocator. As soon as the variable is updated by the command, the second view will automatically reflect the change.
This is a simple explanation and may not fit your particular use case. But hopefully it will give you some ideas.
-TH__
Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY
--- In flexcoders@yahoogroups.com, "gdoucen" [EMAIL PROTECTED] wrote: Hi,  My problem is the following.  I use cairngorm framework. I have two views. the button in one view triggers an event that need to get data from the other view. In my case, i take a snapshot of the video so here i need the bitmap data.  I see two solutions.  First, using viewhelper/viewLocator to get the data from the dedicated view inside the command class.  I know that viewhelper are mostly not recommended by cairngorm in the opposite side when it's used to set views from commands but here.  Secondly, use the parent of the two views to transmit the event from view1 to view2 that send the final event.  The structure could be as below  !-- my composite view -- mx:VBox ... mx:Script ![CDATA[  private function handleMyEvent(event:MyCustomEvent):void { // Trigger the final event after filling up with the data view1.sendEvent(event); }  ]] /mx:Script view:view1 id="view1" / view:view1 id="view2" myInititialEvent="handleMyEvent(event)" / /mx:VBox  What is the best way to do that?  If the action was triggered from the view that hold the needed informations, i could have passed the data into a custom event that could be directly read by the command...  I have browse the forum without success to get informations on this subject. Feel free to redirect me or give me an answer.  Thanks

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] FDS and componentized development: Bug?

2006-10-18 Thread dadrobson
I have an app that works perfectly when all of the FDS-related code
resides in the main application MXML file. However, when I place the
FDS code in a separate component and import / embed that component in
the main application file, the Flash player throws security sandbox
errors as follows:

Channel.Security.Error error Error #2048: Security sandbox violation:
http://localhost/physioproxy/physioproxy/physioproxy-debug.swf cannot
load data from http:///physioproxy/messagebroker/amf.;

At this point, everything is on my local box - both server and client.
I have a couple of questions:
1. What does the syntax http:///; that I see in the error message mean?
2. Why does the app work when all of the FDS code is in the main
application file, but throw exceptions when essentially identical code
is abstracted to its own component? 

I can provide sample code to anyone who's interested. 

-Jim




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] FDS and componentized development: Bug?

2006-10-18 Thread Peter Farland





Do you mean you have a parent SWF that loads another SWF 
that contains FDS code? 

1. Perhaps you have a relative channel endpoint specified 
in the config and/or a programmatically created channel set. Try using fully 
qualified URLs. Or perhaps you're loading the parentSWF from the file 
system instead of via a URL?

2. Channels enforce a protocol, so the AMFChannel, for 
instance, enforces that communication occurs over HTTP so it ensures the URL 
starts with http:// - perhaps its having trouble working out what the hostname 
and port are (hence why I asked about the relative versus absolute channel 
endpoint).



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
dadrobsonSent: Wednesday, October 18, 2006 1:45 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FDS and componentized 
development: Bug?


I have an app that works perfectly when all of the FDS-related 
coderesides in the main application MXML file. However, when I place 
theFDS code in a separate component and import / embed that component 
inthe main application file, the Flash player throws security 
sandboxerrors as follows:"Channel.Security.Error error Error 
#2048: Security sandbox violation:http://localhost/physioproxy/physioproxy/physioproxy-debug.swf 
cannotload data from http:///physioproxy/messagebroker/amf."At 
this point, everything is on my local box - both server and client.I have a 
couple of questions:1. What does the syntax "http:///" that I see in the error message mean?2. Why 
does the app work when all of the FDS code is in the mainapplication file, 
but throw exceptions when essentially identical codeis abstracted to its own 
component? I can provide sample code to anyone who's interested. 
-Jim
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Making the datagrid header background alpha 0

2006-10-18 Thread hank williams
I want to make my datagrid header transparent the way the body is, but
there is no field for header alpha as far as I can see. I am sure I
could make some kind of skin, but I havent much looked into skinning
the datagrid and was wondering if there was some fairly easy way to
acheive the effect I am looking for.

Hank


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] FDS Startup Problem

2006-10-18 Thread camlinaeizerous



I can access databases etc even with this error how ever otherapplications run into problems.18/10 11:44:50 error Could not pre-load servlet: MessageBrokerServlet[1]flex.messaging.MessageException: Cannot create class of type'coldfusion.flash.messaging.ColdFusionAdapter'. Type'coldfusion.flash.messaging.ColdFusionAdapter' not found[0]flex.messaging.config.ConfigurationException: Unable to createservice 'flex.messaging.services.RemotingService' for'coldfusion-flashremoting-service' due to the following error: Cannotcreate class of type 'coldfusion.flash.messaging.ColdFusionAdapter'.the following snippet is the default that was already inservices-config.xml seems to be causeing the trouble as i can commentit out and fix the start up problem but then i don't have access tothe ColdFusion destinationservice id="coldfusion-flashremoting-service"class="flex.messaging.services.RemotingService"messageTypes="flex.messaging.messages.RemotingMessage"adaptersadapter-definition id="cf-object"class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"//adaptersdestination id="ColdFusion"channelschannel ref="my-cfamf"//channelsproperties source*/source access use-mappingsfalse/use-mappings method-access-levelremote/method-access-level /access  property-case force-cfc-lowercasefalse/force-cfc-lowercase force-query-lowercasefalse/force-query-lowercase force-struct-lowercasefalse/force-struct-lowercase /property-case /properties/destination  /serviceI don't have alot of Flex/ColdFusion experience so any help for fixingthis would be appreaicated.

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: FDS and componentized development: Bug?

2006-10-18 Thread Jim Robson
Hi Peter,

Thanks for the reply. No, there is only one SWF. I have a main
application MXML file that imports an ActionScript class. The
ActionScript class has the FDS code. 

-Jim

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

 Do you mean you have a parent SWF that loads another SWF that contains
 FDS code? 
  
 1. Perhaps you have a relative channel endpoint specified in the config
 and/or a programmatically created channel set. Try using fully qualified
 URLs. Or perhaps you're loading the parent SWF from the file system
 instead of via a URL?
  
 2. Channels enforce a protocol, so the AMFChannel, for instance,
 enforces that communication occurs over HTTP so it ensures the URL
 starts with http:// - perhaps its having trouble working out what the
 hostname and port are (hence why I asked about the relative versus
 absolute channel endpoint).
  





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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 generate pdf of MXML file

2006-10-18 Thread Paul Andrews





The short answer is "No". The best you can do is 
generate a printJob which outputs to the local printer. It will only create a 
PDF is you have a PDF conversion printer driver installed. This subject has 
already been discussed in another thread...

Paul

  - Original Message - 
  From: 
  Akash 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, October 18, 2006 10:01 
  AM
  Subject: [flexcoders] How to generate pdf 
  of MXML file
  
  
  Hi,
   
  I want to know that is it possible to generate the pdf from the mxml 
  components in flex 1.5 or 2.0 or not. If possible then which class can we 
  use?
  
  Akash,
   
  


  DisclaimerThis email and 
any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom it is addressed. If you have 
received this communication in error, please immediately notify the 
[EMAIL PROTECTED] and destroy the original message. The recipient 
should check this email and any attachments for the presence of viruses. 
Ness has taken every reasonable precaution to minimize this risk, and 
accepts no liability for any damage caused by any virus transmitted in 
this email. Ness reserves the rights to monitor and review the content 
of all messages sent to or from this E-mail address, and store them on 
the Ness E-mail 
system.
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Making the datagrid header background alpha 0

2006-10-18 Thread Jim Robson
Hank,

Did you try using headerStyleName? 

Something like this:

DataGrid {
headerStyleName: myHeaderStyle;
}
.myHeaderStyle{
backgroundAlpha: 0.0;
}

-Jim

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

 I want to make my datagrid header transparent the way the body is, but
 there is no field for header alpha as far as I can see. I am sure I
 could make some kind of skin, but I havent much looked into skinning
 the datagrid and was wondering if there was some fairly easy way to
 acheive the effect I am looking for.
 
 Hank






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Text Area autofit, autosize

2006-10-18 Thread grunz1234
Hello

I want to autoFit / autoSize the textArea on the text the user is 
currently tipping. So I Have

mx:TextArea id=edit text={folderName} focusAlpha=0.0 
mouseFocusChange=focusOut() deactivate=focusOut() 
textAlign=center borderStyle=none height=20 width={dummy.width} 
wordWrap=false/

mx:Label id=dummy visible=false text={editName.text}/

which works fine, but the text in the textArea is somehow shift to the 
left(I can't see some letters, I have to scroll in the textarea to see 
all), so that there is on the right always space for typing in.
How can I disable this 'shift', I want to see the whole text which is 
currently typed in.

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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Another DataGrid itemEditor ComboBox challenge

2006-10-18 Thread iko_knyphausen

I am trying to use a drop-down combo as itemEditor for a datagrid
column. Everything is honkey-dory when the itemEditor is defined as a
component (like the inlineEditor example in the docs) with static array
of strings (or objects, if you want). Trouble comes into paradise when
you want to have the itemEditor itself retrieve its data dynamically via
dataProvider binding to a different source, such as XML, etc. All my
attempts lead to a compile error 1120: Access of undefined property.

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] FDS Startup Problem

2006-10-18 Thread João Fernandes












Is this defined in your FDS
services-config.xml or in your ColdFusion one?



FDS doesnt support
CF Remoting.



João Fernandes











From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of camlinaeizerous
Sent: quarta-feira, 18 de Outubro
de 2006 19:10
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS Startup
Problem











I can
access databases etc even with this error how ever other
applications run into problems.

18/10 11:44:50 error Could not pre-load
servlet: MessageBrokerServlet
[1]flex.messaging.MessageException: Cannot create class of type
'coldfusion.flash.messaging.ColdFusionAdapter'. Type
'coldfusion.flash.messaging.ColdFusionAdapter' not found.
...
[0]flex.messaging.config.ConfigurationException: Unable to create
service 'flex.messaging.services.RemotingService' for
'coldfusion-flashremoting-service' due to the following error: Cannot
create class of type 'coldfusion.flash.messaging.ColdFusionAdapter'..
...

the following snippet is the default that was already in
services-config.xml seems to be causeing the trouble as i can comment
it out and fix the start up problem but then i don't have access to
the ColdFusion destination

service id=coldfusion-flashremoting-service
class=flex.messaging.services.RemotingService
messageTypes=flex.messaging.messages.RemotingMessage

adapters
adapter-definition id=cf-object
class=coldfusion.flash.messaging.ColdFusionAdapter
default=true/
/adapters

destination id=ColdFusion
channels
channel ref=my-cfamf/
/channels
properties
 source*/source
 access
 use-mappingsfalse/use-mappings
 method-access-levelremote/method-access-level
 /access
 
 property-case
 force-cfc-lowercasefalse/force-cfc-lowercase
 force-query-lowercasefalse/force-query-lowercase
 force-struct-lowercasefalse/force-struct-lowercase
 /property-case
 /properties
/destination  
/service

I don't have alot of Flex/ColdFusion experience so any help for fixing
this would be appreaicated. 






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Re: Making the datagrid header background alpha 0

2006-10-18 Thread hank williams
Jim,

Thanks, buy yeah I've tried that and it doesnt work. I can set the
font, but not the backgroundAlpha.

Hank

On 10/18/06, Jim Robson [EMAIL PROTECTED] wrote:
 Hank,

 Did you try using headerStyleName?

 Something like this:

 DataGrid {
 headerStyleName: myHeaderStyle;
 }
 .myHeaderStyle{
 backgroundAlpha: 0.0;
 }

 -Jim

 --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote:
 
  I want to make my datagrid header transparent the way the body is, but
  there is no field for header alpha as far as I can see. I am sure I
  could make some kind of skin, but I havent much looked into skinning
  the datagrid and was wondering if there was some fairly easy way to
  acheive the effect I am looking for.
 
  Hank
 





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







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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Why am I getting an error accessing null property

2006-10-18 Thread Clint Tredway
On 10/18/06, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Sunday 15 October 2006 22:24, boy_trike wrote:
  I get the error in the Alert.show function.  What am I doing wrong?

normally this means that you are trying to access something that is
not created yet.. what did you put in the Alert.show?


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Items in VBox still take space even when visible=false, but I don't want them to

2006-10-18 Thread Tracy Spratt












You want to look at the IncludeInLayout
property.



Tracy











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zzwi89
Sent: Wednesday, October 18, 2006
12:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Items in
VBox still take space even when visible=false, but I don't want them to











Hello,

I have several panels arranged in a VBox. I would like to be able to
hide some based on user input, but when I disable their visibility,
they no longer appear but the panels below them do not move up
accordingly. When they are resized the other panels below will move
up, but I would prefer to be able to just make them invisible. Is
there any way of achieving this functionality?






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: FDS and componentized development: Bug?

2006-10-18 Thread Peter Farland





Ok, what about the channel endpoints?




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Jim RobsonSent: Wednesday, October 18, 2006 2:26 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: FDS and 
componentized development: Bug?


Hi Peter,Thanks for the reply. No, there is only one SWF. I have a 
mainapplication MXML file that imports an ActionScript class. 
TheActionScript class has the FDS code. -Jim--- In [EMAIL PROTECTED]ups.com, 
"Peter Farland" [EMAIL PROTECTED]. wrote: Do you mean you 
have a parent SWF that loads another SWF that contains FDS code? 
  1. Perhaps you have a relative channel endpoint specified in 
the config and/or a programmatically created channel set. Try using 
fully qualified URLs. Or perhaps you're loading the parent SWF from the 
file system instead of via a URL?  2. Channels enforce a 
protocol, so the AMFChannel, for instance, enforces that communication 
occurs over HTTP so it ensures the URL starts with http:// - perhaps its 
having trouble working out what the hostname and port are (hence why I 
asked about the relative versus absolute channel endpoint). 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Security Sandbox and SWF Loader

2006-10-18 Thread mindmillmedia
I have spent the day investigating other options - but I must admit, I
have still come up short. Any other ideas?

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

 I am working on a Yahoo Maps app in Flex 2.  Because the Yahoo Maps
 API doesn't yet fully support Flex 2 - I am making the map (and its
 API calls) in Flash 8.  This Flash file also pulls data from an RSS
 feed (to make markers on the map).  There are no security errors when
 I run the SWF.
 
 However, when I load the SWF into the Flex app, I get security sandbox
 errors all over the place (for the Map and for the RSS feed - two
 different domains).
 
 I have the following set in the Flex application:
 
 Security.allowDomain(domain1.com);
 Security.allowDomain(domain2.com);
 _context = new LoaderContext (true, ApplicationDomain.currentDomain,
 SecurityDomain.currentDomain);
 yahooMap.loaderContext = _context;
 
 I have the following set in the Flash SWF:
 
 System.security.allowDomain(domain1.com);
 System.security.allowDomain(domain2.com);
 
 I have the following Cross Domain Policy File:
 
 ?xml version=1.0?
 !-- http://mydomain.com/crossdomain.xml --
 cross-domain-policy
   allow-access-from domain=* /
 /cross-domain-policy
 
 What am I missing?






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Items in VBox still take space even when visible=false, but I don't want them to

2006-10-18 Thread Michael Schmalle



You can useincludeInLayout = false;you could also bind this call to the show event of the box and it would automatically set it when you set the visible property of the box.Peace, Mike
On 10/18/06, zzwi89 [EMAIL PROTECTED] wrote:













  



Hello,

I have several panels arranged in a VBox. I would like to be able to
hide some based on user input, but when I disable their visibility,
they  no longer appear but the panels below them do not move up
accordingly. When they are resized the other panels below will move
up, but I would prefer to be able to just make them invisible. Is
there any way of achieving this functionality?


  













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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] view State and flash 8 swf bug?!?

2006-10-18 Thread douglas morrison
I have a flex 2 app that loads a few flash 8 swfs and everything  
works fine. switching from State to State and swf comm via  
LocalConnection. But it was noticed that if someone gets squirrely  
with the mouse clicks (yes I have a QA person that could use a little  
less caffeine) that the flex 2 app sometimes fails to remove a child  
between state changes. This child then stays present for all view  
State changes. If the user clicks back to the original state the  
child was in, then navigates to another State it will usually remove  
the lost child. It is not always the same child it just happens  
after a while..

Anyone else have the same problem? Do I need to send QA personnel to  
rehab? It is the only Flex 2 App i have had this problem with and the  
only I have loading multiple Flash 8 swfs. I have one other app that  
loads an old map app i did in mx2004, tweaked in flash 8, and loaded  
into flex 2 that works fine.

Thanks,
Doug Morrison


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] [Bindable] Compile error: 1046

2006-10-18 Thread quasimotoca
Hi:
I run the following code snippet:

import mx.collections.ArrayCollection;

...
mx:List x=35 y=97 width=355 height=316 id=listChat 
dataProvider={items}
mx:itemRenderer
mx:Component
 mx:Canvas
cmp:ChatLine id=complete x=0 
y=0/cmp:ChatLine
 /mx:Canvas
/mx:Component
/mx:itemRenderer
/mx:List
...

Further on I declare: 

[Bindable]  
public var items:ArrayCollection = new ArrayCollection()

I get the following error:
- 1046: Type was not found or was not a compile-time constant:

I'm importing - import mx.collections.ArrayCollection;  
I'm using a custom component named: cmp

I remove [Bindable] and everything works OK but I get the following 
warning:
- Data binding will not be able to detect assignments to items.

Any help/pointers greatly appreciated.  

Cheers,
Dave Cook




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] FDS and clustering

2006-10-18 Thread Dimitrios Gianninas





I've just 
realized that I haven't looked into FDS clustering config at all until now. From 
what I can tell, FDS is not configured to be in a clustered environment until 
you follow the steps in the "Using software 
clustering" 
section (using jgroups). Is this the only way?

Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.

 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L’expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s’il est retransmis sans son autorisation.  Si vous n’êtes pas le destinataire visé du présent message ou si vous l’avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l’expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: insert image on richtexteditor

2006-10-18 Thread Jason
Hi Jesús,

Did you ever find a solution to this problem?  I too am trying to
allow users to insert an image into a RTE (RichTextEditor) and am
having problems.

--jason

--- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote:

 Hi, 
  
 I have added a new control to a richtexteditor to let user insert
 images. 
 I'm inserting the image this way:
  
 var myTARange:TextRange = new TextRange(editor, false, 10, 10);
 myTARange.htmlText=img src=\url\ /;
  
 But the image is not inserted. If I do this:
  
 editor.textArea.htmlText+=img src=\url\ /;
  
 the image is inserted and displayed.
  
 How to insert an image in the middle of the text?
 
 Jesús Iglesias
 Alvento Soluciones Móviles
 Poeta Querol, 5 - 2
 46002 Valencia (España)
 [tel]: (+34) 96.353.02.15
 [fax]: (+34) 96.353.08.09
 [e-mail]:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
 [web]:  http://www.alvento.com/ www.alvento.com
  
 Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
 contiene información de carácter confidencial exclusivamente dirigida a
 su destinatario o destinatarios y propiedad de Alvento Soluciones S.A.
 Queda prohibida su divulgación, copia o distribución a terceros sin la
 previa autorización escrita de Alvento Soluciones S.A., en virtud de la
 legislación vigente. En el caso de haber recibido este correo
 electrónico por error, se ruega notificar inmediatamente esta
 circunstancia mediante reenvío a la dirección electrónica del remitente
 y la destrucción del mismo.
  
 
 The information in this e-mail and in any attachments is classified as
 Alvento Soluciones S.A. Confidential and Proprietary Information and
 solely for the attention and use of the named addressee(s). You are
 hereby notified that any dissemination, distribution or copy of this
 communication is prohibited without the prior written consent of Alvento
 Soluciones S.A. and it is strictly prohibited by law. If you have
 received this communication by error, please, notify the sender by
 replying e-mail.






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: FDS Startup Problem

2006-10-18 Thread camlinaeizerous



The little that you said was all the help I needed thank you. That was a snippet from the fds's file. I cut outdestination id="ColdFusion"channelschannel ref="my-cfamf"//channels/destinationand moved it else where and deleted the rest and it fixed my problems.--- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Is this defined in your FDS services-config.xml or in your ColdFusion one? FDS doesn't support CF Remoting. João Fernandes   _From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of camlinaeizerous Sent: quarta-feira, 18 de Outubro de 2006 19:10 To: flexcoders@yahoogroups.com Subject: [flexcoders] FDS Startup Problem I can access databases etc even with this error how ever other applications run into problems.  18/10 11:44:50 error Could not pre-load servlet: MessageBrokerServlet [1]flex.messaging.MessageException: Cannot create class of type 'coldfusion.flash.messaging.ColdFusionAdapter'. Type 'coldfusion.flash.messaging.ColdFusionAdapter' not found. ... [0]flex.messaging.config.ConfigurationException: Unable to create service 'flex.messaging.services.RemotingService' for 'coldfusion-flashremoting-service' due to the following error: Cannot create class of type 'coldfusion.flash.messaging.ColdFusionAdapter'.. ...  the following snippet is the default that was already in services-config.xml seems to be causeing the trouble as i can comment it out and fix the start up problem but then i don't have access to the ColdFusion destination  service id="coldfusion-flashremoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage"  adapters adapter-definition id="cf-object" class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/ /adapters  destination id="ColdFusion" channels channel ref="my-cfamf"/ /channels properties source*/source access use-mappingsfalse/use-mappings method-access-levelremote/method-access-level /access  property-case force-cfc-lowercasefalse/force-cfc-lowercase force-query-lowercasefalse/force-query-lowercase force-struct-lowercasefalse/force-struct-lowercase /property-case /properties /destination /service  I don't have alot of Flex/ColdFusion experience so any help for fixing this would be appreaicated.


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: Making the datagrid header background alpha 0

2006-10-18 Thread Andrew Trice












I was able to get the *header* to be transparent doing the
following, but the color of the ListBaseContentHolder shows through and is not
transparent. If you set backgroundAlpha=0 on the datagrid, then
it will be completely transparent, but then you also lose any row background colors
that you may have had, but highlight colors still work.



MXML
Markup:

?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml xmlns:local=*
layout=absolute

 

 mx:Style

 DataGrid {

 backgroundAlpha:0;

 } 

 /mx:Style

 

 local:MyDataGrid
x=10 y=10 dataProvider={[1,2,3,4,5]} 

 local:columns

 mx:DataGridColumn
headerText=Column 1 dataField=col1/

 mx:DataGridColumn
headerText=Column 2 dataField=col2/

 mx:DataGridColumn
headerText=Column 3 dataField=col3/

 /local:columns

 /local:MyDataGrid

 

/mx:Application



MyDataGrid
Class:

package

{

 import mx.controls.DataGrid;

 import mx.core.UIComponent;



 public class MyDataGrid
extends DataGrid

 {

 override
protected function drawHeaderBackground( headerBG : UIComponent ) : void

 {

 headerBG.alpha
= 0;

 }

 }

}





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Wednesday, October 18, 2006
2:50 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Making the datagrid header background alpha 0











Jim,

Thanks, buy yeah I've tried that and it doesnt work. I can set the
font, but not the backgroundAlpha.

Hank

On 10/18/06, Jim Robson [EMAIL PROTECTED]t.com
wrote:
 Hank,

 Did you try using headerStyleName?

 Something like this:

 DataGrid {
 headerStyleName: myHeaderStyle;
 }
 .myHeaderStyle{
 backgroundAlpha: 0.0;
 }

 -Jim

 --- In [EMAIL PROTECTED]ups.com,
hank williams [EMAIL PROTECTED] wrote:
 
  I want to make my datagrid header transparent the way the body is,
but
  there is no field for header alpha as far as I can see. I am sure I
  could make some kind of skin, but I havent much looked into skinning
  the datagrid and was wondering if there was some fairly easy way to
  acheive the effect I am looking for.
 
  Hank
 





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











__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: CairngormStore for Flex 2

2006-10-18 Thread Evan Gifford












UPDATE: I got a reprieve from Steven
Webster to host the cairngorm store code for now until iterationtwo comes back
up.



Well host the store code on
cairngormdocs.org for now for download, but dont link to it.



http://www.cairngormdocs.org/exampleapps/CairngormStoreWeb.zip



Thanks,
Evan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Morphis
Sent: Tuesday, October 17, 2006
12:55 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
CairngormStore for Flex 2











Thanks
Evan

On 10/17/06, greggohlke greg.gohlke@edictsystems.com
wrote:
 Looks like all links to iterationtwo.com are no good, its like they
 dropped off the face of the earth.

 --- In [EMAIL PROTECTED]ups.com,
Greg Morphis [EMAIL PROTECTED].
 wrote:
 
  the link is broke there also
 
  On 10/17/06, Evan Gifford [EMAIL PROTECTED]. wrote:
  
   You can find it on Andy Raynes blog:
  
  
 http://weblogs.macromedia.com/arayne/archives/2006/08/cairngormstore.
 cfm
  
  
  
  
  
  
   --
  
   *From:* [EMAIL PROTECTED]ups.com
 [mailto:[EMAIL PROTECTED]ups.com]
*On
   Behalf Of *Bhuvan
   *Sent:* Tuesday, October 17, 2006 5:19 AM
   *To:* [EMAIL PROTECTED]ups.com
   *Subject:* [flexcoders] CairngormStore for Flex 2
  
  
  
   I am trying to download CairngormStore for Flex 2
   from
 http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war
  
   but the link is not working.
  
  
  
   If someone has a copy of this war, please email it to me at
   [EMAIL PROTECTED]
  
  
  
  
  
   TIA
  
  
  
  
   --
   No virus found in this incoming message.
   Checked by AVG Free Edition.
   Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
 10/16/2006
  
   --
   No virus found in this outgoing message.
   Checked by AVG Free Edition.
   Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
 10/16/2006
  
 





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











__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006
 


[flexcoders] Is this the proper way to pass data to custom components with nested controls

2006-10-18 Thread iko_knyphausen



I made a custom control to show a datagrid on a canvas that has + and - buttons to insert and delete rows. The master component is the canvas for obvious reasons, so to pass data to sub-components I defined generic interfaces (array, arraycollection, and string) which I am then binding to from the nested DataGrid. From outside I can just use ns1:columns and then fill it with standard mx:DataGridColumn. It works great, I am just a little concerned, that I might be heading for trouble down the road, or that there may be better ways to do this. Thoughts?
?xml version="1.0" encoding="utf-8"?mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300" cornerRadius="5" borderStyle="solid" borderColor="#c0c0c0" backgroundColor="#e2e2e2" backgroundAlpha="0.5"
!-- exposed properties --mx:Array id="columns"/mx:Arraymx:ArrayCollection id="dataProvider"/mx:ArrayCollectionmx:String id="label"AutoGrid/mx:String
!-- Visuals --mx:Label x="10" y="10" text="{label}" fontWeight="bold"/mx:Button y="10" label="+" fontWeight="bold" width="18" height="18" borderColor="#e0dfe3" alpha="0.49" fillColors="[#e7e7cf, #808040]" fillAlphas="[1.0, 0.6]" right="30"/mx:Button y="10" label="-" fontWeight="bold" width="18" height="18" alpha="0.49" fillColors="[#e7e7cf, #808040]" fillAlphas="[1.0, 0.6]" right="10"/mx:DataGridcolumns="{columns}" dataProvider="{dataProvider}" left="10" right="10" bottom="10" top="34" /
/mx:Canvas

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Set Focus on TextInput

2006-10-18 Thread boy_trike
If I understand you, there is an event that is raised whenever a popup window 
is opened, 
and I can create a listener function.  My question is, what is the name of this 
event and 
where would I find a list of these events.I currently have the following 
lines:

mx.managers.PopUpManager.addPopUp(loginWindow, this, true);
loginWindow.txtUserID.setFocus();


Thanks
Bruce


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

 it works if you setFocus after you call addPopUp/createPopUp, so my guess is
 that the PopUpManager is setting focus to the popup which overriding your
 call.  If you don't have access to the textfield, try putting the setfocus
 in more creative places, like a listener for when the popup is shown.
 
 - Dan
 
 On 10/18/06, boy_trike [EMAIL PROTECTED] wrote:
 
  This does NOT seem to work for a popup.  Is there another trick to
  setFocus on a text field in
  a popup?
 
  Thanks
  Bruce
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: setting an external f9 swf's library symbols width

2006-10-18 Thread Bart Wttewaall



thanks, i'll look into it.2006/10/18, beecee1977 [EMAIL PROTECTED]:
Not sure if this is what you're looking for, but you could try:maintainAspectRatio=falseHope that helps...--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* Your email settings:Individual Email | Traditional
* To change settings online go to:http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:
mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] FDS and clustering

2006-10-18 Thread Jeff Vroom













The clustering functionality in FDS is
required for two things 1) when the server is pushing messages to clients which
might be connected to other servers and 2) if you are using client-side load
balancing of RTMP connections.   In RTMP client-side load balancing, each
server uses jgroups to learn the identities of each other server.  When a
client connects to one server, it gets the list of other RTMP servers that are
listening so if the main one fails, the client connects to another one. 



If you are only using remote object and are
not using RTMP or are using a HW load balancer for load balancing RTMP
connections, you dont strictly need to set up the clustering.  If you do need
clustering, then you should follow those instructions for each destination.  I
hope this helps.



Jeff











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas
Sent: Wednesday, October 18, 2006
1:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS and
clustering













I've just realized that I haven't looked
into FDS clustering config at all until now. From what I can tell, FDS is not
configured to be in a clustered environment until you follow the steps in the
Using software clustering
section (using jgroups). Is this the only way?









Dimitrios Gianninas

RIA Developer

Optimal Payments
Inc.








 
  
  AVIS IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes
  peuvent contenir des renseignements confidentiels, exclusifs ou légalement
  privilégiés destinés au seul usage du destinataire visé. Lexpéditeur
  original ne renonce à aucun privilège ou à aucun autre droit si le présent
  message a été transmis involontairement ou sil est retransmis sans son
  autorisation. Si vous nêtes pas le destinataire visé du présent message ou
  si vous lavez reçu par erreur, veuillez cesser immédiatement de le lire et
  le supprimer, ainsi que toutes ses pièces jointes, de votre système. La
  lecture, la distribution, la copie ou tout autre usage du présent message ou
  de ses pièces jointes par des personnes autres que le destinataire visé ne
  sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
  électronique par erreur, veuillez en aviser lexpéditeur.
  
  
  This electronic message and its attachments
  may contain confidential, proprietary or legally privileged information,
  which is solely for the use of the intended recipient. No privilege or other
  rights are waived by any unintended transmission or unauthorized
  retransmission of this message. If you are not the intended recipient of this
  message, or if you have received it in error, you should immediately stop
  reading this message and delete it and all attachments from your system. The
  reading, distribution, copying or other use of this message or its
  attachments by unintended recipients is unauthorized and may be unlawful. If
  you have received this e-mail in error, please notify the sender.
  
 





__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] FDS and clustering

2006-10-18 Thread Matt Chotin













Yep, thats how you do it.  What different
setup were you looking for?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas
Sent: Wednesday, October 18, 2006
1:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS and
clustering













I've just realized that I haven't looked
into FDS clustering config at all until now. From what I can tell, FDS is not
configured to be in a clustered environment until you follow the steps in the
Using software clustering
section (using jgroups). Is this the only way?









Dimitrios
Gianninas

RIA Developer

Optimal Payments
Inc.








 
  
  AVIS IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes
  peuvent contenir des renseignements confidentiels, exclusifs ou légalement
  privilégiés destinés au seul usage du destinataire visé. Lexpéditeur
  original ne renonce à aucun privilège ou à aucun autre droit si le présent
  message a été transmis involontairement ou sil est retransmis sans son
  autorisation. Si vous nêtes pas le destinataire visé du présent message ou
  si vous lavez reçu par erreur, veuillez cesser immédiatement de le lire et
  le supprimer, ainsi que toutes ses pièces jointes, de votre système. La
  lecture, la distribution, la copie ou tout autre usage du présent message ou
  de ses pièces jointes par des personnes autres que le destinataire visé ne
  sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
  électronique par erreur, veuillez en aviser lexpéditeur.
  
  
  This electronic message and its attachments
  may contain confidential, proprietary or legally privileged information,
  which is solely for the use of the intended recipient. No privilege or other
  rights are waived by any unintended transmission or unauthorized
  retransmission of this message. If you are not the intended recipient of this
  message, or if you have received it in error, you should immediately stop
  reading this message and delete it and all attachments from your system. The
  reading, distribution, copying or other use of this message or its
  attachments by unintended recipients is unauthorized and may be unlawful. If
  you have received this e-mail in error, please notify the sender.
  
 





__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Filters for multiple LineSeries in a LineChart - Calling ChartMan Ely!

2006-10-18 Thread Jonathan Miranda
Heh, maybe he'll see this before MAX :)

Anyways, here's my question - I've done this before, but I can't
remember how nor find the code. I've got a data set like the
following:

Month.Dollar.Category.Brand
..Jan.500..IT.Blue
..Feb.700..JO.Red
..Mar.600..AC.Blue
..Jan.100..IT.Green
..Feb.200..JO.Red
..Mar.300..AC.Blue

ok so, Month will be my x-axis. Dollar will be my y-axis, tallied up.
I want the entire LineChart to filter on Category (assuming I'll just
need to sort this based on altering the dataProvider itself)...but my
problem is I need a LineSeries for each Brand.

So my first guess was

mx:series
..mx:Array
mx:Repeater dataProvider={uniqueBrandList}
..mx:LineSeries .
/mx:Repeater
../mx:Array
/mx:series

Which does give me the lines I need, but I need some way to have a
LineSeries only show data where brand=uniqueBrandList.selectedItem.
What's the filter mechanism for a LineSeries besides the yField? Is
there some trick in that field or is there a property/function I'm
missing on how I can only show data where Brand=X? I thought hey, use
filters but that's the Effects, not for data :)

Any help would be nice
-Jon Miranda


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-18 Thread greg h



Kirk,


Just curious if you will be 
attending MAX?



I got information on the Tuesday 
and Wednesday evening Birds-of-a-Feather (BoF)sessions. 


Following are the Flex BoF sessions next week at 
MAX:



TUESDAY

7:00 - 8:15 p.m. -- Flex Frameworks 
and Methodoligies 

8:30 - 10:00 p.m. -- Flex Component 
Development



WEDNESDAY 

6:30 - 7:30 p.m.-- Meet The Team: 
Flex

As is always the case, 
the worst thing about MAX is where two sessions you want to attend conflict. 
For me, one case is Tuesday 7:00-8:15 pm where theFlex BoF session conflicts with: 
FlashVideo/Flash Media Server Meet the Team :( 

g


On 10/6/06, Kirk Marple [EMAIL PROTECTED] wrote:







ah, very interesting... i heard 
drag/drop and assumed you were talking about user actions within the 
application.

thanks for the TT reference - that looks like it might be 
money well-spent. if i don't get to Max, then that looks like a good 
bet.

from everybody's 
valuable replies, it sure seems like we could proceed with the F9 preview, and 
pick and choose pieces to build there, and do the shell and the rest of it in 
Flex. if that's the case, then i think we're going to be good to 
go.

as an aside, we're looking for one or two part-time 
Flex/Flash devs to help with our project. if anybody's available 
right now (via telecommuting), please shoot me an email at jobs (at) 
agnostic-media.com.

thanks,
Kirk

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Flash Player 9 Beta Available

2006-10-18 Thread João Fernandes










Hi guys,



Just to say that the beta for Linux of Flash player 9
is available on Labs ( http://labs.adobe.com/downloads/flashplayer9.html
) .

Im not a Linux user but I know many who were
waiting for this for a long time!



Thank You Adobe ! 



João Fernandes










__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] Re: Making the datagrid header background alpha 0

2006-10-18 Thread Tim Hoff



Hi Hank,
Here's a litle more elaborate example that uses a similar approach to Andy's. You can set the headerAlphas to the same or different values as the grid's backgroundAlpha.
View Sample
-TH__
Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY
--- In flexcoders@yahoogroups.com, "Andrew Trice" [EMAIL PROTECTED] wrote: I was able to get the *header* to be transparent doing the following, but the color of the ListBaseContentHolder shows through and is not transparent. If you set backgroundAlpha="0" on the datagrid, then it will be completely transparent, but then you also lose any row background colors that you may have had, but highlight colors still work.MXML Markup:  ?xml version="1.0" encoding="utf-8"?  mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*" layout="absolute"mx:Style  DataGrid {  backgroundAlpha:0;  }   /mx:Stylelocal:MyDataGrid x="10" y="10" dataProvider="{[1,2,3,4,5]}"   local:columns  mx:DataGridColumn headerText="Column 1" dataField="col1"/  mx:DataGridColumn headerText="Column 2" dataField="col2"/  mx:DataGridColumn headerText="Column 3" dataField="col3"/  /local:columns  /local:MyDataGrid/mx:ApplicationMyDataGrid Class:  package  {  import mx.controls.DataGrid;  import mx.core.UIComponent;public class MyDataGrid extends DataGrid  {  override protected function drawHeaderBackground( headerBG : UIComponent ) : void  {  headerBG.alpha = 0;  }  }  }_  Andrew Trice  Cynergy Systems, Inc.  http://www.cynergysystems.comBlog: http://www.cynergysystems.com/blogs/page/andrewtrice  Email: [EMAIL PROTECTED]  Office: 866-CYNERGY   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Wednesday, October 18, 2006 2:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Making the datagrid header background alpha 0Jim,  Thanks, buy yeah I've tried that and it doesnt work. I can set the font, but not the backgroundAlpha.  Hank  On 10/18/06, Jim Robson [EMAIL PROTECTED] mailto:jim.robson%40eyestreet.com  wrote:  Hank,   Did you try using headerStyleName?   Something like this:   DataGrid {  headerStyleName: myHeaderStyle;  }  .myHeaderStyle{  backgroundAlpha: 0.0;  }   -Jim   --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , "hank williams" hank777@ wrote: I want to make my datagrid header transparent the way the body is, but   there is no field for header alpha as far as I can see. I am sure I   could make some kind of skin, but I havent much looked into skinning   the datagrid and was wondering if there was some fairly easy way to   acheive the effect I am looking for. Hank --  Flexcoders Mailing List  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt   Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com   Yahoo! Groups Links 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: close an application

2006-10-18 Thread Antonio Silva



are you looking for fscommand?, if so private function closeMyApp():void{ fscommand("quit");} mx:button click="closeMyApp()" 
		  
Do You Yahoo!? 
La mejor conexión a Internet y 2GB extra a tu correo por $100 al mes. http://net.yahoo.com.mx 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Equivalent of colspan for datagrid?

2006-10-18 Thread John Mazzocchi
Hi

actually I have two questions:

1. Is there an equivalent of colspan for datagrids? Do I need to play with 
headerRenderer perhaps? I just want to place a heading sitting over two others.

2. Is there a way to draw (thicker) vertical lines between two columns. I 
noticed a function drawVerticalLine() in the help files, but I'm not ssure how 
to use it. Any examples would be greatly appreciated.

Cheers
John


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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



  1   2   >