[flexcoders] Re: Any workaround for FB-13863 (auto-completion with Flash 10 libs using Vectors) ?

2008-08-26 Thread Samuel Lorétan
Bump.

This issue is very important for my team and my project. Does nobody
has encountered the same problem?

Thank you.

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

 (...)
 




Re: [flexcoders] zoom for buttons in ButtonBar

2007-05-18 Thread Joan Tan
The individual buttons on a ButtonBar are children of the ButtonBar.
Therefore, you would play a Zoom effect specifying a child as the target.
Here is an example:

 mx:Zoom id=myZoom /
mx:ButtonBar id=bb horizontalGap=5 itemClick=clickHandler(event);
mx:dataProvidermx:Array
mx:StringFlash/mx:String
mx:StringDirector/mx:String
mx:StringDreamweaver/mx:String
mx:StringColdFusion/mx:String/mx:Array
/mx:dataProvider /mx:ButtonBar mx:Button label=play effect
click=myZoom.play([bb.getChildAt(1)]) /

If you want to play an effect on the click on one of the buttons, you can
also use the relatedObject property of the itemClick. For example, using the
ButtonBar above, you might have:
 private function clickHandler(event:ItemClickEvent):void {
myZoom.play([event.relatedObject]);}

Good luck,
Joan

On 5/17/07 9:43 PM, chen_saraf [EMAIL PROTECTED] wrote:

  
  
  
 
 Hi,
 I'm kind of new to Flex :)
 What would be the way to show zoom effect on buttons contains withing
 ButtonBar?
 Thanks,
 Ken
 
  
 




Re: [flexcoders] Hide scrollbar on Horizontal List in Flex2

2007-05-18 Thread Joan Tan
Set horizontalScrollPolicy=²off² on your HorizontalList.

Joan


On 5/17/07 3:12 PM, mondainx [EMAIL PROTECTED] wrote:

  
  
  
 
 I have a horizontal list and I want to hide the scrollbar, since I use
 buttons/images to scroll left or right. How do I go about doing this?
 
 Paul
 



[flexcoders] E4X Help

2006-10-20 Thread Tan
I try writing two comboboxes to facilitate selection of the following XML,

data
state label=Texas data=Texas
county label=Jones data=123 /
county label=Taylor data=124 /
...
/state
state label=Virginia data=Virginia
county label=Alexandria data=223 /
county label=Arlington data=224 /
...
/state
...


The first combo box is named _combo1 that is populated by state data, and I
want to get an XML or XMLList of the counties using AS3, I wonder whether I
can write it in E4X syntax that looks somewhat like

var selected:String = _combo1.selectedItem.toString();
var counties:XMLList = _myXml.state.(@label = {selected}).county;

I get a compiler error for the last line, and I have searched through some
E4X samples, didn't seem to find any help.  Any advice?

Thanks!

- Tangent

P.S.  Or should I use XmlViewCollection, Descriptor or things like that?



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

  




__,_._,___



Re: [flexcoders] centerPopUp in ActionScript component

2006-08-10 Thread Joan Tan
Title: Re: [flexcoders] centerPopUp in ActionScript component





You cant call centerPopUp(this) in the constructor, but, I was able to call it on the creationComplete event from within my AS component. Here is an example that worked:

package {
import mx.controls.*;
import mx.containers.TitleWindow;
import mx.events.FlexEvent;
import mx.managers.PopUpManager;

public class myTitleWindow extends TitleWindow
{
public function myTitleWindow() : void
{
height=160;
width=180;

var btn1:Button = new Button();
btn1.label = button 1;
addChild(btn1);

addEventListener(creationComplete, _center);
}

public function _center(event:FlexEvent): void
{
PopUpManager.centerPopUp(this);
}
}
} 


On 8/10/06 5:40 AM, dadrobson [EMAIL PROTECTED] wrote:

 



I wrote a component in ActionScript that is designed to be used as a
pop-up, and it needs to center itself. I tried invoking
PopUpManager.centerPopUp(this) from the constructor, and then I tried
it in the createChildren method, but the Flash player seemed to ignore
it both times. The pop-up kept appearing in the upper left corner of
the screen. 

I don't have this problem with custom MXML components; I simply put
PopUpManager.centerPopUp(this) in the creationComplete event handler,
and it works fine. 

Is there a way to successfully invoke PopUpManager.centerPopUp(this)
from inside an ActionScript component?

-Jim






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Removing all items from a DG

2006-07-11 Thread Joan Tan












Calling removeAll() on the dataProvider of
the DataGrid seems to work for me. What kind of dataProvider are you using? I
was using an ArrayCollection in the small example that I tried out. Can you
provide more information? Maybe there is a bug in this method when used in
particular situations. Can you confirm that you are using the final version of
Flex 2?



Thanks,

Joan











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jeremy Rottman
Sent: Tuesday, July 11, 2006 10:55
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Removing all
items from a DG











I am working with a dg that holds parties attached to
a particular
file, and when all the information for the file is filled in and the
user clicks save, I have added this to the save fucnction.

partyDG.dataProvider.removeAll();

This is how I have always cleared out a dg, but not for some reason it
is not working, and I can not find any changes with in the flex
livedocs to tell me that it is any different from what I have always
used. 

Anyone have an idea on why this isnt working?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] FLEX BUILDER 2.0 - trial

2006-07-07 Thread Joan Tan












Remember that the Flex SDK is still free
for use. You wont have the swanky IDE, but you can use the mxmlc compiler
to compile Flex code and read the docs.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Friday, July 07, 2006 10:49
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FLEX
BUILDER 2.0 - trial











- Original Message - 
From: sergiosergiomon [EMAIL PROTECTED]com.br
To: [EMAIL PROTECTED]ups.com
Sent: Friday, July 07, 2006 5:39 PM
Subject: [flexcoders] FLEX BUILDER 2.0 - trial

 Well, I have just downloaded the 30-day trial version of the Flex 
 Builder 2.0 and I now have 27 days to try to learn as much as possible.
 Question: Is there any way to extend this trial period WITHOUT 
 purchasing the product?
 I live in Brazil
and the asking price is salty, to say the least.
 Regards,
 Sergio

LOL compared to Flex 1.0 or 1.5 it's a snip.

Paul






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Download files

2006-07-06 Thread Joan Tan
Title: Re: [flexcoders] Download files





A couple of things to look out for.

#1 Make sure that your FileReference object is always in scope, otherwise when it goes out of scope, the download just cancels itself and you dont get an error out. 
#2 If you try to download something not on your server, you get a security error.

Here is a simple example of a Flex app that downloads. Enter a url on your server in the TextInput to download. I took most of this code from the FileReference.download ASDocs. By the way, if you defined your FileReference inside the function, it doesnt work (I believe this is due to #1). Good luck. 

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 

mx:Script
![CDATA[
import flash.net.*;
private var downloadURL:URLRequest;
private var fileName:String = SomeFile.gif;
private var file:FileReference;

public function myDownload(): void
{
downloadURL = new URLRequest();
downloadURL.url = "">
file = new FileReference();
configureListeners(file);
file.download(downloadURL, fileName);
}

private function configureListeners(dispatcher:IEventDispatcher):void {
dispatcher.addEventListener(Event.CANCEL, cancelHandler);
dispatcher.addEventListener(Event.COMPLETE, completeHandler);
dispatcher.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
dispatcher.addEventListener(Event.OPEN, openHandler);
dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);
dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
}

private function cancelHandler(event:Event):void {
trace.text += \ncancelHandler:  + event;
}

private function completeHandler(event:Event):void {
trace.text += \ncompleteHandler:  + event;
}

private function ioErrorHandler(event:IOErrorEvent):void {
trace.text += \nioErrorHandler:  + event;
}

private function openHandler(event:Event):void {
trace.text += \nopenHandler:  + event;
}

private function progressHandler(event:ProgressEvent):void {
var file:FileReference = FileReference(event.target);
trace.text += \nprogressHandler name= + file.name +  bytesLoaded= + event.bytesLoaded +  bytesTotal= + event.bytesTotal;
}

private function securityErrorHandler(event:SecurityErrorEvent):void {
trace.text += \nsecurityErrorHandler:  + event;
}



]]
/mx:Script

mx:TextInput id=urlToLoad width=400 /
mx:Button label=download file click=myDownload() /
mx:TextArea id=trace width=500 height=400 /
/mx:Application


On 7/6/06 8:57 AM, Ingeniero Javier Cruz [EMAIL PROTECTED] wrote:

 



Hello, I've a little problem 

I've to build an application that takes a file from the server an then let the user to download the file. An already read about the FileReference and FileReferenceList classes but I can't make my app works. I made a mxml application that define a Script section in witch I create a FileReference object but when a test the application it doesn't work.
I'd like to prube with a servlet but I don't know how to start.

If somebody can, please help me I will thank for a long long time. Or, if someone knows about a site with examples that can help me, I'll thank too.



 Horscopos http://ar.movil.yahoo.com/cont_horo.php , Salud y belleza http://ar.movil.yahoo.com/cont_salud.php , Chistes http://ar.movil.yahoo.com/contenidos.php , Consejos de amor http://ar.movil.yahoo.com/cont_adult.php .
El contenido ms divertido para tu celular est en
Yahoo! Mvil http://ar.movil.yahoo.com 





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Select a Tree item on Right click

2006-07-05 Thread Joan Tan












Sathish! Its been a while since we
worked together at our old company Cybrant. I guess its a small software
world and weve crossed paths again.



Anyways, since Deepa is out of the office
for a bit, Ill see if I can help. From the code you have provided,
try to change the mouseOut and mouseOver events to itemRollOver and itemRollOut
which are of type ListEvent. Then, in your setItemIndex function, I changed it
to:



private function setItemIndex(e:ListEvent)
: void

{

 selectedTreeItemIndex =
TreeItemRenderer(e.itemRenderer).listData.rowIndex;

 Alert.show(Selected
Tree Index:  + selectedTreeItemIndex);

}



This should get you the item that the user
last moused over.



Joan









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pottavathini, Sathish
Sent: Wednesday, July 05, 2006
10:19 AM
To: flexcoders@yahoogroups.com
Cc: Michael Schmalle
Subject: RE: [flexcoders] Select a
Tree item on Right click













I have tried this and it has way too many
side effects.











I tried using mouseEvent.target and it's
not a reference to itemRenderer or DataGridItemRenderer. I also tried
relatedObject, and it's different in different cases!











If this worked with you guys then do you
mind posting a simple example?











Mine is something like following...











mx:Tree
horizontalScrollPolicy=on id=tree_browseGridTree 
width=100%
height=100% 
focusInEffect=false
labelField=@label showRoot=true 
showDataTips=true 
dataTipField=@label
dataProvider={XML_TreeData} 
contextMenu={myContextMenu}
creationComplete=onRightClick(event)
mouseOver=setItemIndex(event)
mouseOut=clearItemIndex(event)
itemClose=onTreeNodeClose(event)
itemOpen=onTreeNodeOpen(event)
/











privatevar selectedTreeItemIndex
:int = -1;





private function
clearItemIndex(e:MouseEvent) : void
{
selectedTreeItemIndex = -1;
}





private function setItemIndex(e:MouseEvent)
: void
{
selectedTreeItemIndex =
DataGridItemRenderer(e.relatedObject).listData.rowIndex;
Alert.show(Selected Tree Index:  + selectedTreeItemIndex);
}





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]On Behalf Of Deepa Subramaniam
Sent: Friday, June 30, 2006 4:27
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Select a
Tree item on Right click



Well, good news and bad news. Normally, the event object properties
on the ContextMenuEvent would help you accomplish what youre asking for
in a cinch. The mouseTarget property on a ContextMenuEvent contains a reference
to the display list object which the user was over when the context menu was
invoked. In most list-classes, like DataGrid, the mouseTarget is the specific
renderer the user right-clicked over. This is perfect, because the renderer
contains a lot of information that allows you to figure out where the user
invoked the context menu. For example, off a DataGridItemRenderer object, you
can access the listData property which contains the index of the row the user
right-clicked on (listData is a BaseListData object which has the property,
rowIndex). Then youd just set your DataGrids selectedIndex to
rowIndex and voila  the row the user right-clicked over is selected. 





Unfortunately, there is a bug that does not allow this to work for
Tree. The bug was deferred for the 2.0 release because it was found late in the
development cycle. When a ContextMenu is invoked over a Tree, ContextMenuEvent.mouseTarget
is not the TreeItemRenderer instance that the user was hovering over. Instead,
its the generic container for the TreeItemRenderer. This does not give
us any useful information.



There is a workaround, albeit a kludgy workaround, that you could
try. In your ContextMenuEvent handler, you could add an event listener for the
MouseEvent.MOUSE_OVER event. Your MOUSE_OVER handler could then work off the
information contained in the MouseEvent.target property and (hopefully that is
a reference to the TreeItemRenderer) you can figure out the rowIndex like I
mentioned above and set the selectedIndex of the Tree accordingly. Then, be
sure to remove the event listener at the end of your MOUSE_OVER handler so that
the Tree is not constantly spewing MOUSE_OVER events.


Whew  that was a mouthful but hopefully you followed and youll be
able to live with the bug and or implement the workaround. I cant make
any promises but Id like to see this bug fixed so Ill definitely
add your usecase to the bug to give it some momentum. 



HTH 

Deepa Subramaniam 

Flex SDK 











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Pottavathini, Sathish
Sent: Friday, June 30, 2006 3:50
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Select a
Tree item on Right click











Hi,

I have a tree control and i added custom contextual menus on that tree.
I'm trying to read the value of the tree node when i right click and select a
custom contaxtual menu, i did not find a 

RE: [flexcoders] embeded FlashType fonts look bad

2006-07-05 Thread Joan Tan












Stacy,



What do you think the default sharpness
should be?



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Tuesday, July 04, 2006 10:43
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] embeded
FlashType fonts look bad













They are offset a few pixels but I also found the default sharpness
level was way too low.



-Stace











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Vinny Timmermans
Sent: Tuesday, July 04, 2006 1:14
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] embeded
FlashType fonts look bad











BTW. They should not look muddy, but Flex moves them a
few pixels.?



Vinny









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of hank williams
Sent: dinsdag 4 juli 2006 18:58
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] embeded
FlashType fonts look bad



Oh,
thanks much Vinny. now I wont bang my head against the wall!

Hank



On 7/4/06, Vinny Timmermans
 [EMAIL PROTECTED]
wrote: 





Hank,



This is a known issue. A number of people
have brought these issues with FlashTypeto the attention of the Flex
team. I assume/hope it gets fixed when Flex 2.0.1 arrives.



Vinny









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of hank williams
Sent: dinsdag 4 juli 2006 17:24
To: flexcoders@yahoogroups.com
Subject: [flexcoders] embeded
FlashType fonts look bad







I am
trying to use flashtype fonts, which involves embedding the font in a swf and
then importing the font from a swf into flex. The problem is that flex seems to
be rendering these fonts much less well than flash does.

As a test, I have text in the swf that I am embedding. The text looks fine when
displayed in this swf. When I import the font and display it in my app, the
font looks really muddy. It looks as if it is not using all that cool font
rendering stuff that is in flash 8. The edges are extremely soft. 

I am wondering if anyone has had any experience in getting crisp embedded
fonts. By the way I have been playing with fontAntiAliasType, fontGridType, and
fontSharpness with the idea that adjusting these might fix the problem, thought
nothing has had any effect. 

Hank




















 
  
  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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan












Im not sure what the issue is for
your specific case. What does the rest of your itemRenderer look like? To use
the backgroundColor style, the component that you are extending needs to have
this style. The default DataGrid itemRenderer doesnt, nor does Label or
Text. This is why we were using the beginFill/drawRect/endFill
method of drawing in the background. Please ensure that your itemRenderer
actually has a backgroundColor style. 



Thanks,

Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?











doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle(backgroundColor,red);
// that line causes my grid to be empty if I leave it 
// uncommented 

}

--- In [EMAIL PROTECTED]ups.com,
Jeremy Lu [EMAIL PROTECTED] wrote:

 in that data() block, I would just use:
 
 this.setStyle(backgroundColor, red);
 
 to change the item renderer's background color.
 
 see if this works.
 
 Jeremy.
 
 On 7/1/06, djbrown_rotonews djbrown_rotonews@... wrote:
 
  any help? is there a more elegant way to do it inside of set 
data(),
  or is the beginFill/drawRect/endFill method shown as good as it 
gets?
 
  --- In [EMAIL PROTECTED]ups.com
flexcoders%40yahoogroups.com,
  djbrown_rotonews
 
  djbrown_rotonews@ wrote:
  
   Is the beginFill/drawRect/endFill the only way to do it
inside 
of
   set data() as well, or is there an alternate way?
  
   --- In [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com,
  Jeremy Lu wade.lu@ wrote:
   
Got it, thanks :-)
   
   
   
On 6/27/06, Joan Tan tan@ wrote:

 I believe that this was suggested to me by Alex. I
think
  your
   way
 should work too though.


 --

 *From:* [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com
   [mailto:[EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com] *On
 Behalf Of *Jeremy Lu
 *Sent:* Monday, June 26, 2006 4:22 PM
 *To:* [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com
 *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
   DataGrid?




 hi Joan,

 Just wondering is there any particular reason that you

don't
   change the
 background color in the data() setter like this:

 public function set data(value:Object
  
  
http://../../../Object.html):voidhttp://../../../specialTypes.html
   #void
 {

 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

 }


 Jeremy.

 On 6/27/06, *Joan Tan* tan@ wrote:

 The color style of Text only affects the
text and the 
not the
 background. Text doesn't actually have a background
color 
so
  you
   must create
 an itemRenderer with a backgroundColor and then set
it. 
This
   example was
 posted on another flexcoders thread entitled
datagrid. 
This
   itemRenderer
 will turn the background of a row to red if the value
of 
the
   column
 myColumnName in that row is over 50.



 package {



 import mx.controls.Label;

 import mx.controls.dataGridClasses.*;

 import mx.controls.DataGrid;

 import flash.display.Graphics;

 import mx.styles.StyleManager;



 [Style(name=backgroundColor,
type=uint, format=Color,
 inherit=no)]



 public class BackgroundComp extends Label {



 override protected function updateDisplayList
   (unscaledWidth:Number,



 unscaledHeight:Number):void

 {

 super.updateDisplayList(unscaledWidth,
   unscaledHeight);



 var g:Graphics = graphics;

 g.clear();

 var grid1:DataGrid =
 DataGrid(DataGridListData(listData).owner);

 if (grid1.isItemSelected(data) ||
 grid1.isItemHighlighted(data))

 return;

 if (data.myColumnName  50)

 {

 g.beginFill(0xFF);

 g.drawRect(0, 0, unscaledWidth,
   unscaledHeight);

 g.endFill();

 }

 }

 }



 }




 --

 *From:* [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com
   [mailto:[EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com] *On
 Behalf Of *djbrown_rotonews
 *Sent:* Monday, June 26, 2006 10:13 AM
 *To:* [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com
 *Subject:* [flexcoders] Re: coloring an entire cell in
a
   DataGrid?




 I'm using an itemRenderer to set the text color via
the
  setStyle
 (color,color) construct, but
it doesn't appear to be 
that
   simple
 for backg

RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan












Yes, we found that the containers like
HBox and Canvas are too heavyweight for just changing a backgroundColor, so
when you have hundreds of cells in a dataGrid, youll start to see a
serious performance issue. Subclassing Label is a lot more lightweight, but I
believe the lightest weight option is subclassing the DataGridItemRenderer.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu
Sent: Monday, July 03, 2006 11:06
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
coloring an entire cell in a DataGrid?












Ah, right, I always use HBox or Canvas as the base class for item renderer, 
so setting style on it is never a problemsorry for the confusion.






On 7/4/06, Joan Tan
[EMAIL PROTECTED] wrote:













I'm not sure what the
issue is for your specific case. What does the rest of your itemRenderer look
like? To use the backgroundColor style, the component that you are extending
needs to have this style. The default DataGrid itemRenderer doesn't, nor does Label
or Text. This is why we were using the beginFill/drawRect/endFill method of drawing in the
background. Please ensure that your itemRenderer actually has a
backgroundColor style. 



Thanks,

Joan











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com






Subject:
[flexcoders] Re: coloring an entire cell in a DataGrid?















doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle(backgroundColor,red);
// that line causes my grid to be empty if I leave it 
// uncommented 

}

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

 in that data() block, I would just use:
 
 this.setStyle(backgroundColor, red);
 
 to change the item renderer's background color.
 
 see if this works.
 
 Jeremy.
 
 On 7/1/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
 
  any help? is there a more elegant way to do it inside of set 
data(),
  or is the beginFill/drawRect/endFill method shown as good as it 
gets?
 
  --- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.com,
  djbrown_rotonews
 
  djbrown_rotonews@ wrote:
  
   Is the beginFill/drawRect/endFill the only way to do it inside 
of
   set data() as well, or is there an alternate way?
  
   --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com,
  Jeremy Lu wade.lu@ wrote:
   
Got it, thanks :-)
   
   
   
On 6/27/06, Joan Tan tan@ wrote:

 I believe that this was suggested to me by Alex. I
think
  your
   way
 should work too though.


 --

 *From:* flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com] *On
 Behalf Of *Jeremy Lu
 *Sent:* Monday, June 26, 2006 4:22 PM
 *To:* flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com
 *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
   DataGrid?




 hi Joan,

 Just wondering is there any particular reason that you

don't
   change the
 background color in the data() setter like this:

 public function set data(value:Object
  
  
http://../../../Object.html):void
http://../../../specialTypes.html
   #void
 {

 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

 }


 Jeremy.

 On 6/27/06, *Joan Tan* tan@ wrote:

 The color style of Text only affects the
text and the 
not the
 background. Text doesn't actually have a background
color 
so
  you
   must create
 an itemRenderer with a backgroundColor and then set
it. 
This
   example was
 posted on another flexcoders thread entitled
datagrid. 
This
   itemRenderer
 will turn the background of a row to red if the value
of 
the
   column
 myColumnName in that row is over 50.



 package {



 import mx.controls.Label;

 import mx.controls.dataGridClasses.*;

 import mx.controls.DataGrid;

 import flash.display.Graphics;

 import mx.styles.StyleManager;



 [Style(name=backgroundColor,
type=uint, format=Color,
 inherit=no)]



 public class BackgroundComp extends Label {



 override protected function updateDisplayList
   (unscaledWidth:Number,



 unscaledHeight:Number):void

 {

 super.updateDisplayList(unscaledWidth,
   unscaledHeight);



 var g:Graphics = graphics;

 g.clear();

 var grid1:DataGrid =
 DataGrid(DataGridListData(listData).owner);

 if (grid1.isItemSelected(data) ||
 grid1.isItemHighlighted(data))

 

RE: [flexcoders] cell renderers

2006-06-27 Thread Joan Tan










CellRenderers in 2.0 are totally different
from 1.5. There is an entire chapter in the docs about cellRenderers and you
should find enough examples to get you started.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Tredway
Sent: Tuesday, June 27, 2006 1:28
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] cell
renderers











Is there
an example of doing cell renderers in 2.0 or is it the same as doing them in
1.5?

Thanks

-- 
diabetic? http://www.diabetesforums.com
Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that
need the advice. 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Joan Tan










The color style of Text only
affects the text and the not the background. Text doesnt actually have a
background color so you must create an itemRenderer with a backgroundColor and
then set it. This example was posted on another flexcoders thread entitled datagrid.
This itemRenderer will turn the background of a row to red if the value of the
column myColumnName in that row is over 50.



package {



 import mx.controls.Label;

 import
mx.controls.dataGridClasses.*;

 import mx.controls.DataGrid;

 import flash.display.Graphics;

 import mx.styles.StyleManager;




[Style(name=backgroundColor, type=uint,
format=Color, inherit=no)]

 

 public class
BackgroundComp extends Label {



 override
protected function updateDisplayList(unscaledWidth:Number,



 unscaledHeight:Number):void

 {



super.updateDisplayList(unscaledWidth, unscaledHeight);


 


 var
g:Graphics = graphics;


g.clear();


var grid1:DataGrid = DataGrid(DataGridListData(listData).owner);


if (grid1.isItemSelected(data) || grid1.isItemHighlighted(data))


return;


if (data.myColumnName  50)


{


g.beginFill(0xFF);


g.drawRect(0, 0, unscaledWidth, unscaledHeight);



g.endFill();


  }

 }

 }



}













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews
Sent: Monday, June 26, 2006 10:13
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?












I'm using an itemRenderer to set the text color via the setStyle
(color,color) construct, but it doesn't appear to be
that simple 
for backgroundColor. Is the data() method part of the renderer API?

--- In [EMAIL PROTECTED]ups.com,
Jeremy Lu [EMAIL PROTECTED] wrote:

 Using item renderer, yes.
 
 Check it in the manual and pay attention to data() method.
 
 
 
 On 6/26/06, djbrown_rotonews djbrown_rotonews@... wrote:
 
  Is there a way to color the entire cell, and not sure the cell 
text
  itself, inside a DataGrid?
 
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Joan Tan










I believe that this was suggested to me by
Alex. I think your way should work too though.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu
Sent: Monday, June 26, 2006 4:22
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
coloring an entire cell in a DataGrid?












hi Joan,

Just wondering is there any particular reason that you don't change the
background color in the data() setter like this:

public function set data(value:Object ):void{
 
 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

}


Jeremy.



On 6/27/06, Joan Tan
[EMAIL PROTECTED] wrote: 













The color
style of Text only affects the text and the not the background. Text doesn't
actually have a background color so you must create an itemRenderer with a
backgroundColor and then set it. This example was posted on another flexcoders
thread entitled datagrid. This itemRenderer will turn the
background of a row to red if the value of the column
myColumnName in that row is over 50.



package {



 import
mx.controls.Label;

 import
mx.controls.dataGridClasses.*;

 import
mx.controls.DataGrid;

 import
flash.display.Graphics;

 import
mx.styles.StyleManager;




[Style(name=backgroundColor, type=uint,
format=Color, inherit=no)]

 


public class BackgroundComp extends Label {




override protected function updateDisplayList(unscaledWidth:Number,



 unscaledHeight:Number):void


{



super.updateDisplayList(unscaledWidth, unscaledHeight);


 


 var
g:Graphics = graphics;


g.clear();


var grid1:DataGrid = DataGrid(DataGridListData(listData).owner);


if (grid1.isItemSelected(data) || grid1.isItemHighlighted(data))


return;


if (data.myColumnName  50)


{


g.beginFill(0xFF);


g.drawRect(0, 0, unscaledWidth, unscaledHeight);



g.endFill();


  }


}

 }



}













From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of djbrown_rotonews
Sent: Monday, June 26, 2006 10:13
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?
















I'm using an itemRenderer to set the text color via the setStyle
(color,color) construct, but it doesn't appear to be that
simple 
for backgroundColor. Is the data() method part of the renderer API?

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

 Using item renderer, yes.
 
 Check it in the manual and pay attention to data() method.
 
 
 
 On 6/26/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
 
  Is there a way to color the entire cell, and not sure the cell 
text
  itself, inside a DataGrid?
 
  
 































__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] mouseOver for specific cells in DataGrid?

2006-05-31 Thread Joan Tan










The MouseOver event is a flash MouseEvent,
so it does not have any knowledge of the data under it. It does have a localX
and locallY property that you might be able to use to figure out what row and
column you are at assuming that your rowHeight and column widths are constant.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews
Sent: Wednesday, May 31, 2006 8:41
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mouseOver
for specific cells in DataGrid?





I'm wanting to implement
a mouseOver event that is cell-specific for a 
DataGrid. Does the mouseOver event for the DataGrid itself have 
knowledge of the row/column that is being hovered over?











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Slider TrackHighlight Bug

2006-05-31 Thread Joan Tan










I reproduced this issue in the beta 3
build, but the bug is already fixed for our final release.



Thanks,

Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan
Sent: Tuesday, May 30, 2006 11:07
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Slider
TrackHighlight Bug







The TrackHighLight for a vertical slider seems to have a
bug.











The higlight is not between the center of the
thumbs. They seem to start and endjust after the thumb width. See
screenshot below.























Sree











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Sleep function in ActionScript?

2006-05-31 Thread Joan Tan










You can use the setTimeout function in the
flash.utils package.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles
Sent: Wednesday, May 31, 2006 3:38
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Sleep
function in ActionScript?





Hi all,



I have
this bit of code that does some simple things, but my timing is off. What
I do is I make a webservice call to some server, and the server returns me a
string of XML. After that, I parse that string of XML into an XMLDocument
object, to use as a data provider for a repeater. That's it. Here
is a simple version of my code.



WebserviceCall(); // this function returns the result as
an XML string and puts it


// into a String variable called string_result on event.COMPLETE

xml_result.parseXML(string_result);

my_repeater.dataProvider = xml_result;

So this
al works fine when I do each one of these steps separately. But when I
try to do them in succession, I get an error on the line that tried to parse
the XML. This is because it takes a while for the server to return the
XML result and put it into string_result. So, when the application tries
to execute the next line, it tries to parse an empty string into XML, which
obviously fails on me.



What I
tried already, was putting a simple loop inbefore the parse callto
make sure that the String is not null...

while (!string_result); // wait until string is not null
before continuing

...but
this eats up my resources and crashes the browser. So, I am wondering if
there is a sleep function in ActionScript, so that I could go...



while (!string_result) sleep(1); // sleep for 1 second
before repeating loop


// hopefully this won't stress the system as much

So that's my plan of attack. I know that sleeps are kind of
hack fixes, so any other suggestions are welcome!



Thanks in
advance!





Charles









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex2b3: Buttons with cornerRadius look nasty

2006-05-30 Thread Joan Tan










Tobias,



I believe that we fixed this in the latest
builds of Flex that we have internally. Ive included a screenshot of the
button that I compiled so that you can validate that the corners look correct
now. If this doesnt look correct, let me know.



Joan













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tobias Patton
Sent: Tuesday, May 30, 2006 3:22
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2b3:
Buttons with cornerRadius look nasty





When I set the corner radius of a Button to 16 pixels
(giving the button an oval appearance), the button looks nasty when rendered.
Above the button, there is a shadow that looks to be in the shape of the
normal trapezoidal button. Any ideas?



Heres the code:



?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=vertical


mx:Style


Button


{


cornerRadius : 16;  


fillColors 
: #44,#44; 


fillAlphas 
: 100,100;


color
 : #FF;


textRollOverColor : #FFCC00;


}


/mx:Style


mx:Panel backgroundColor=0x99 width=200
height=200


verticalAlign=middle horizontalAlign=center


mx:Button
label=Button/



/mx:Panel

/mx:Application



Thanks

Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Removing track on slider

2006-05-30 Thread Joan Tan










You can try setting trackColors
to the colors of your background so that it appears that there is no track.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan
Sent: Monday, May 29, 2006 4:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Removing
track on slider







Is it possible to remove the track completely from a slider.
I mean, I want just the sliders !











Thanks





Sree











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Max 2006

2006-05-26 Thread Joan Tan










MAX will be the week of Oct 24th
in Vegas. Other than that, I dont think they have announced dates for
submitting topics yet. Ive sent an inquiry about this and will pass on
any information that I hear.



Joan











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Darren Houle
Sent: Friday, May 26, 2006 2:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Max 2006





Slightly off [Flex]
topic, but since Adobe people monitor this list I 
thought I'd ask...

Does anyone have any new details on MAX '06? The Call for Topic deadline 
for MAX '05 was May 13th and we're already past that date for this year, 
so... is Adobe having a really hard time deciding what shape the MAX 
conference should take this year?

Darren










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Issue with Sorting DataGrid with itemRenderer

2006-05-26 Thread Joan Tan










The rows in a DataGrid are recycled, so if
you set a color to red, you must reset it to black (or whatever default you
want). In your set data function, if you are doing something like:



if (data.myval  50)

{ 

 setStyle(color,
0xFF);

}



Then, you should add



else

{

 setStyle(color,
0x00);

}



I hope this helps.

Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nikmd23
Sent: Friday, May 26, 2006 5:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Issue with
Sorting DataGrid with itemRenderer





I'm having an issue when
I sort a DataGrid which has a column that is 
a custom itemRenderer. My renderer colors the text it outputs as red 
if a certain value is passed in. That works great, however, when I 
sort the datagrid, the red element changes it's position, and leaves 
the red color behind.

I have also produced the same problem with a boolean value that shows 
an image if true. The blank rows (false records) get filled with the 
image when sorted.

Is there some sort of clearing/sorting method I'm supposted to 
override along with the data setter?











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] datagrid

2006-05-26 Thread Joan Tan










See if this itemRenderer helps. This
itemRenderer will turn the background of a row to red if the value of the column
 myColumnName in that row is over 50.



package {



    import
mx.controls.Label;

    import
mx.controls.dataGridClasses.*;

    import
mx.controls.DataGrid;

    import
flash.display.Graphics;

    import
mx.styles.StyleManager;



   
[Style(name=backgroundColor, type=uint,
format=Color, inherit=no)]

    

  public class
BackgroundComp extends Label {



   override protected
function updateDisplayList(unscaledWidth:Number,

       
unscaledHeight:Number):void

   {

      super.updateDisplayList(unscaledWidth,
unscaledHeight);

      

      var g:Graphics
= graphics;

  g.clear();

  var
grid1:DataGrid = DataGrid(DataGridListData(listData).owner);

  if
(grid1.isItemSelected(data) || grid1.isItemHighlighted(data))

    return;

  if (data.myColumnName
 50)

  {

    g.beginFill(0xFF);

    g.drawRect(0,
0, unscaledWidth, unscaledHeight);

    g.endFill();

        }

  }

  }



}



Joan









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Misael
Sent: Friday, May 26, 2006 4:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrid





Hi, 
I want to change a datagrid row background color based on a column in its
dataprovider, but all I´ve got searching flexcoders archive are outdated Flex
1.5 solutions or not-very-well-explained cellRenderer tips. How can I achieve
this using Flex 2 beta 3? Please, on your example, set the property using a
dataprovider column, not a 0xFF value. 
Thanks 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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] menu control in flex 2.0 beta 3

2006-05-24 Thread Joan Tan










In your example, your menuBar items do not
have any submenus. The change event is only triggered when a submenu item is
selected. If a menu has no submenus, the only event that gets triggered when
you click the item is the menuShow event. 



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of deepu_verma
Sent: Wednesday, May 24, 2006 1:20
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] menu control
in flex 2.0 beta 3





Following is my code and
I am trying to capture the change event.
But it seems that the change event does not trigger for menu bar
controls only.
mx:MenuBar labelField=@label showRoot=false
width=100%
change={mainViewStackHelper.getSearchResultView(event)} 
mx:dataProvider
 mx:XMLList xmlns=
 menuitem label=Menu1

menuitem label=Files data="">

menuitem label=Web Pages data="">
 /menuitem
 /mx:XMLList
/mx:dataProvider
/mx:MenuBar

--
Deepak Verma











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Using Loader to load multiple mx:Application SWF (Flex 1.5)

2006-05-23 Thread Joan Tan










Yes, setting width=100% in
Flex 1.5 should work. Its equivalent to setting percentWidth in Flex 2.0.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Renaun Erickson
Sent: Tuesday, May 23, 2006 11:35
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Using
Loader to load multiple mx:Application SWF (Flex 1.5)





Yes the RSL can keep the
files sizes down, do you put all the Flex
classes in the RSL too?

As for SWFloader, I am actually asking about Flex 1.5 and mx:Loader. 
But the livedocs says Loader as the percentWidth/Height. I'll give it
a try, I guess my question would be, doesn't width=100% set the
percentWidth?

Thanks for the response, more to test.

Renaun

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

 Renaun,
 You can avoid doubles in SWF size if you use RSLs
and mark them
external for loadable modules. We have developed flexlets that were
under 20K.
 As far as screen sizing we had to do this:
 mx:SWFLoader width=100%
height=100% trustContent=true
id=loader autoLoad=true 
init=loader.percentWidth=99;loader.percentWidth=100/
 did not have problems with height. Not pretty, but I am postoning
looking into SWFLoader till final release as it has been moving target
in the past.
 
 HTH,
 Anatole
 
 
 - Original Message - 
 From: Renaun Erickson 
 To: flexcoders@yahoogroups.com

 Sent: Tuesday, May 23, 2006 1:51 PM
 Subject: [flexcoders] Using Loader to load multiple
mx:Application SWF (Flex 1.5)
 
 
 I have read and re-read all the posts on breaking up a big
application
 into smaller chunks either using the Loader method or
createChild.
 
 createChild works well to delay creation of objects but the
actually
 SWF size is not smaller as the classes are compiled into the
 application. The Loader loads stuff on runtime but you
get longer
 load times because of overlapping of common classes (each
loaded SWF
 is a Flex app with the main component being the Application
class).
 
 My question I have is in regards to the Loader and loading
other
 mx:Application flex SWFs. When I try to do this,
I can not get the
 loader swf's to stay dyanmic 100% widht and height. I
want the loaded
 application SWF to fill up the container it was loaded in.
 
 It has to do with something when it reaches 500 width and 375
height,
 some defaults in the Application class. I found some
methods of
 hacking the width and height to work somewhat reasonably, but
in the
 end it doesn't seem right.
 
 I know the Flex Exampler Explorer is a good example of loading
 different Application SWF into a container but none of them do
100%
 width/height.
 
 First, do people really use Loader to load multiple Flex
 mini-applications? 
 
 and if so how do you address the 100% width/height issue?
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 SPONSORED LINKS Web site design development Computer
software
development Software design and development 
 Macromedia flex
Software development best practice 
 
 

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

--













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Custom DataGrid Column (flex 2b3)

2006-05-23 Thread Joan Tan










If you want a button for one column of a
DataGrid, you can do something like



To use just the default drop-in button:

mx:DataGridColumn itemRenderer=mx.controls.Button




Or, you can create a custom component that
subclasses the Button class so that you can define what type of events happen
when you click the button. (This is probably more likely). So, you would then
have something like:



mx:DataGridColumn itemRenderer=MyButton




where MyButton.as looks something like 



public class MyButton extends Button

{ 



}



I hope this helps.

Joan









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rigidcode
Sent: Tuesday, May 23, 2006 2:36
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
DataGrid Column (flex 2b3)






I have a DataGrid. I want one of the columns to contain a button.
It
looks like I'm supposted to make an object that implements
IDropinListItemRenderer right? 

I started doing that, but with that I'm responsible for not only
rendering my one column- I have to render every column? Even the title
columns. I don't want to do all that, I want to use the defaults for
that stuff, I only want to change one column. Am I doing this right?

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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex2 :: mx:Text :: Problem with html property

2006-03-29 Thread Joan Tan










To make html work for the Text component,
you should be using the htmlText property. Here is an example:



mx:Text width=400


mx:htmlText![CDATA[This is font
color=#FFHTML text/font in a bText
component/b. Using the uhtmlText attribute/u of the
font color=#008800Text component/font you can use
basic HTML markup.]]/mx:htmlText

 /mx:Text



This Text component example is actually in
the Flex Explorer Samples, by the way. Hope this helps.



Joan









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Wednesday, March 29, 2006
8:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
mx:Text :: Problem with html property





Hi,

Has anyone had problems with the 'html' property
being set to true on the Text component?

I have mine set to true and it is still showing
p tags, not html formatting?

Peace, Mike

-- 
What goes up, does come down. 







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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex2 : Menu bug?

2006-03-28 Thread Joan Tan










Thanks, I will log a bug for you. It makes
sense that you shouldnt be able to select a separator. 



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972
Sent: Tuesday, March 28, 2006 1:21
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 : Menu
bug?





Hi 
Just following on from my previous post. I noticed
a difference in 
the menu behaviour from flex 1.5.
if you have a line separator in your menu. you can
actually select 
it with your mouse. 
This wasn't the case in flex 1.5. I believe the
behaviour in flex 
1.5 is correct, because a line separator is only
meant to visualy 
and logically enhance your menu list.

flex2 and 1.5 examples

Flex2
-
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml

 mx:Script
 ![CDATA[

 import mx.controls.Menu;

 import mx.collections.IList;


 private var myMenu:Menu;


 private function Show():void

 {

  myMenu=
Menu.createMenu
(null,myMenuData,false);

  myMenu.x = 300;

  myMenu.y = 100;

  myMenu.labelField
= @label;

  

  myMenu.show();

 }

 ]]
 /mx:Script

 mx:XML
id=myMenuData format=e4x

menuitem label=MenuItem B/

menuitem label=MenuItem C/

menuitem label=MenuItem D/

menuitem label=MenuItem E/

menuitem type=separator/

menuitem label=MenuItem F/

menuitem label=MenuItem G/
 /mx:XML

 mx:Button
id=mybutton label=Open Menu-Popup
click=Show()/
 
/mx:Application
---
flex 1.5

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

 mx:Script
 ![CDATA[


 import mx.controls.Menu;

 var myMenu:Menu;


 function Show()

 {

  myMenu=
Menu.createMenu(panel,myMenuData);

 
  myMenu.x = 300;

  myMenu.y = 100;

  myMenu.show();

 
 

 }

 ]]
 /mx:Script

 
mx:XML id=myMenuData

 menuitem label=MenuItem
1-A /

 menuitem label=MenuItem
2-A /

 menuitem label=MenuItem
1-A /

 menuitem label=MenuItem
2-A /

 menuitem label=MenuItem
1-A /

 menuitem
type=separator /

 menuitem label=MenuItem 2-A
/

 menuitem label=MenuItem
1-A /
 
/mx:XML

 
mx:Button id=mybutton label=Open Menu-Popup 
click=Show()/
  
/mx:Application













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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Joan Tan
There are known issues in the beta for MenuBar. Here is the text from the known 
issues page on labs:

MenuBar not working with e4x XML dataProvider The MenuBar shows the first 
node's children as the top level instead of showing the entire data structure. 

Issues with MenuBar and inline XML that includes a rootNode MenuBar does not 
display correctly when you use well formatted inline XML that includes a 
rootNode. if you are using inline XML as the dataProvider for your MenuBar, you 
have the following options: 

Do not use a root node for your XML; use showRoot=false and 
labelField=@label 
If you have a root node for your XML, the XML must use format=e4x , your 
dataProvider must include the root (for example, dataProvider={myXML.root}) , 
and you must specify showRoot=false and labelField=@label

http://labs.macromedia.com/wiki/index.php/Flex:Known_Issues

joan

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke 
Rohde
Sent: Tuesday, March 28, 2006 10:06 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

Hi Peter,
In my case this doesn't change anything and all my nodes have a
label-attribute.

Cheers,
Sönke

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blazejewicz
 Sent: Tuesday, March 28, 2006 8:01 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 Hello Jeremy,
 
 try to add labelField property declaration,
 e.g.:
 mx:MenuBar labelField=@label 
 
 to filter data for dataProvider,
 
 hth,
 regards,
 Peter Blazejewicz
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 



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



 




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

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

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

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




RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Joan Tan
Try oEvent.menuItem.data instead of the getProperty syntax. 

Joan

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
Rottman
Sent: Tuesday, March 28, 2006 10:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.

Joan, I added what you said, and it now formats my bar correctly to
the menubar. But now my menuhandler function no longer works. It is
setup that that it changes the states when a child menuitem is
selected. Any idea why this wont work now.

function menuHandler(oEvent:Object) {
currentState = oEvent.menuItem.getProperty(data);
}



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

 There are known issues in the beta for MenuBar. Here is the text
from the known issues page on labs:
 
 MenuBar not working with e4x XML dataProvider The MenuBar shows the
first node's children as the top level instead of showing the entire
data structure. 
 
 Issues with MenuBar and inline XML that includes a rootNode MenuBar
does not display correctly when you use well formatted inline XML that
includes a rootNode. if you are using inline XML as the dataProvider
for your MenuBar, you have the following options: 
 
 Do not use a root node for your XML; use showRoot=false and
labelField=@label 
 If you have a root node for your XML, the XML must use format=e4x
, your dataProvider must include the root (for example,
dataProvider={myXML.root}) , and you must specify showRoot=false
and labelField=@label
 
 http://labs.macromedia.com/wiki/index.php/Flex:Known_Issues
 
 joan
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Sönke Rohde
 Sent: Tuesday, March 28, 2006 10:06 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 Hi Peter,
 In my case this doesn't change anything and all my nodes have a
 label-attribute.
 
 Cheers,
 Sönke
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blazejewicz
  Sent: Tuesday, March 28, 2006 8:01 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
  
  Hello Jeremy,
  
  try to add labelField property declaration,
  e.g.:
  mx:MenuBar labelField=@label 
  
  to filter data for dataProvider,
  
  hth,
  regards,
  Peter Blazejewicz
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
  
  
  
   
  
  
  
  
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links








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



 





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

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

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

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




RE: [flexcoders] flex2 : IMenuDataProvider replacement

2006-03-27 Thread Joan Tan










You should add a menu or remove a menu
through the dataProvider collection.



You would do something like this:

var newItem:XMLList = node
label=new branch 1node label=new leaf 1
data="" leaf data 1 //node/;

IList(myMenu.dataProvider).addItem(newItem);



Or



IList(myMenu.dataProvider).removeItemAt(0);



Joan









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972
Sent: Monday, March 27, 2006 7:23
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2 :
IMenuDataProvider replacement





Hi

Whats the replacement for IMenuDataProvider.
Specifically, what do i 
replace the methods addMenuItem(),
removeMenuItemAt() with.

thanks












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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] RTE when selecting a row and pressing tab. (Beta 2)

2006-03-24 Thread Joan Tan











I cant seem to reproduce this
runtime error on Beta 2. If you could send me the file causing the bug that
would be great. What data is in your ArrayCollection when you get this error,
is it empty? What other components are on your page along with this DataGrid.



Thanks,

Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes
Sent: Friday, March 24, 2006 9:13
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RTE when
selecting a row and pressing tab. (Beta 2)







Hi there,



I have an
ArrayCollection binded to a Datagrid. When I select a row and press tab I
get this:



ArgumentError:
Error #2025: The DisplayObject supplied must be a child of the caller.


at mx.core::Container/getChildIndex()


at mx.containers::Panel/getChildIndex()


at mx.managers::FocusManager/::sortByDepth()


at Array/sort()


at mx.managers::FocusManager/::sortFocusableObjects()


at mx.managers::FocusManager/::setFocusToNextObject()


at mx.managers::FocusManager/::keyFocusChangeHandler()








[Bindable]


 public var dp:ArrayCollection;





mx:DataGrid left=0 right=0 top=0
bottom=0 dataProvider={ dp }


mx:columns


mx:DataGridColumn headerText=col1 dataField=col1/


mx:DataGridColumn headerText=col2 dataField=col2/


mx:DataGridColumn headerText=col3 dataField=col3/


mx:DataGridColumn headerText=col4
dataField=col4/



/mx:columns


/mx:DataGrid










João Fernandes
Dep.
Informática - Área de Desenvolvimento
Cofina media

Avenida João
Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel
(351) 213 185 200 . Fax (351) 213 540 370
[EMAIL PROTECTED]


















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Bug in list.selectedIndices

2006-03-23 Thread Joan Tan











I can reproduce the bug. Do you remember
the bug # that you filed. Or, I will file a new one. I cant seem to find
the original bug.



Thanks,

Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton
Sent: Thursday, March 23, 2006
11:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bug in
list.selectedIndices







Just a quick
note to Adobe:



I reported a
bug in Flex 2 Beta 1 where the selectedIndices property of a list control would
not contain the correct values if the user selected multiple entries using the
shift key. The problems is still in Beta 2.



Thanks.

Tobias.



Creo Inc., a subsidiary of Kodak



Tobias Patton | Software Developer | Tel: 1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 


















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Bug in list.selectedIndices

2006-03-23 Thread Joan Tan











Actually, I can reproduce this problem in
the beta 2, but, internally in our later builds, the bug is fixed. Sorry it
didnt make it into this build, but it will be fixed in the next one. Can
you still send the bug number along if you have it? Then, I can document it
that its not fixed in beta 2, but it is in later builds.



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joan Tan
Sent: Thursday, March 23, 2006
2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Bug in
list.selectedIndices







I can reproduce the bug. Do you remember the bug # that you filed.
Or, I will file a new one. I cant seem to find the original bug.



Thanks,

Joan











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tobias Patton
Sent: Thursday, March 23, 2006
11:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bug in
list.selectedIndices







Just a quick
note to Adobe:



I reported a
bug in Flex 2 Beta 1 where the selectedIndices property of a list control would
not contain the correct values if the user selected multiple entries using the
shift key. The problems is still in Beta 2.



Thanks.

Tobias.



Creo Inc., a subsidiary of Kodak



Tobias Patton | Software Developer | Tel: 1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 






















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] FB2 :: doubleClick bug event doen't happen

2006-03-21 Thread Joan Tan










You now need to set the doubleClickEnabled property to true
to enable doubleClick events.



Joan











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Dima Ulich
Sent: Tuesday, March 21, 2006 4:16
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FB2 ::
doubleClick bug event doen't happen





All my doubleClicks don't
work now
I have tried to create a new project to check if
something was wrong in my apps, id didn't work
also. I
guess it might be player's bug!!???

Did anyone else faced the same problem??

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









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] FB2 :: doubleClick bug event doen't happen

2006-03-21 Thread Joan Tan










Ahh I just checked and the
doubleClick is not working in Beta 2 for List based items (List, Tree,
DataGrid). It should work for other components like Button etc. by just setting
doubleClickEnabled to true. For List based components, we had a bug internally
that was fixed recently (but didnt make it into the beta L ) to introduce an event itemDoubleClick
to work for these List based components. This event will be able to
provide more information like what row and column were pressed. 



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dima Ulich
Sent: Tuesday, March 21, 2006 7:46
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FB2 ::
doubleClick bug event doen't happen





I did try to set this
property to true both in mxml
and actionscript and it didn't help, 
debugging still shows that controls have the
property
set to false

Dima

--- Joan Tan [EMAIL PROTECTED] wrote:

 You now need to set the doubleClickEnabled
property
 to true to enable
 doubleClick events.
 
 
 
 Joan
 
 
 
 
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Dima Ulich
 Sent: Tuesday, March 21, 2006 4:16 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FB2 :: doubleClick bug
event
 doen't happen
 
 
 
 All my doubleClicks don't work now
 I have tried to create a new project to check
if
 something was wrong in my apps, id didn't
work also.
 I
 guess it might be player's bug!!???
 
 Did anyone else faced the same problem??
 

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

 
 
 --
 Flexcoders Mailing List
 FAQ:

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:

http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+des

ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac

ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
 
 Computer software development

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We

b+site+design+developmentw2=Computer+software+developmentw3=Software+d

esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr

acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
 
 Software design and development

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=

Web+site+design+developmentw2=Computer+software+developmentw3=Software

+design+and+developmentw4=Macromedia+flexw5=Software+development+best+

practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
 
 Macromedia flex

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

developmentw2=Computer+software+developmentw3=Software+design+and+deve

lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw 
 
 Software development best practice

http://groups.yahoo.com/gads?t=msk=Software+development+best+practice

w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw

are+design+and+developmentw4=Macromedia+flexw5=Software+development+be

st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
 
 
 * Visit your
group flexcoders
 http://groups.yahoo.com/group/flexcoders
 on the
 web.
   
 * To
unsubscribe from this group, send an email to:
 
[EMAIL PROTECTED]

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


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









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Opinions sought: Flex and small developers

2006-03-21 Thread Joan Tan










Here is some info :

http://www.adobe.com/aboutadobe/pressroom/pressreleases/200602/020106Flex.html



At the bottom, youll find the stuff
about pricing.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pixelgeek
Sent: Tuesday, March 21, 2006 9:18
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Opinions
sought: Flex and small developers





--- In flexcoders@yahoogroups.com,
David Mendels [EMAIL PROTECTED] wrote:
 
 I guess you missed the news. :)

Sure did. 
 
 The price model changes completely from 1.X
to 2.0. The product is
 affordable for everyone now.

Does anyone have a URL for the press/news release
for this?
 
 The Flex Builder tool will be less than
$1000. You will be able to
 build and deploy Flex applications with
this. You are not required to
 ever buy the server. You can load data
into your Flex app with XML over
 XTTP or our XML or Binary Socket and no
server is required.

Wow. That is great news.

Thanks

BTW glad to see that you're still with the company
after all the
upheaval and change.

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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] filter an array, write an array

2006-03-21 Thread Joan Tan










In the Flex Explorer example that comes
with the beta, there should be an example under Collections on
using the filter capabilities of Flex Collections. You can start from there.



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alan_a55
Sent: Tuesday, March 21, 2006 8:51
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] filter an
array, write an array





I have an XML file containing
my dataset (date,day,event,place), and 
I'd like to display a subset of the xml file,
depending on the 
selection criteria on the screen (a month at a
time). Obviously, I'm 
new to flex, and just learning what I can and
can't do. 

Also, any suggestions on how to write the XML file
back out to the 
server once I've done my edits to the dataset.

Any suggestions would be GREATLY
appreciated. 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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] mx:SetProperty how to convert this?

2006-03-21 Thread Joan Tan










I think this will work:



mx:states
mx:State name=Advanced
mx:SetProperty target={filtros} name=width
value=234/
/mx:State
/mx:states











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Bruno Martins
Sent: Tuesday, March 21, 2006 3:30
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
mx:SetProperty how to convert this?







Hi,











I'd converted everything in my app to Beta 2, but I don't no how to
convert this:











mx:states
mx:State name=Advanced
mx:SetProperty target={filtros}
property=width value=234/
/mx:State
/mx:states 






Tks...






-- 
Bruno Gustavo Martins
Mobile:
(55)(11)9585-9587
[EMAIL PROTECTED]
experience everywhere
http://www.dclick.com.br/blog 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2 Tree Behaviour override

2006-03-20 Thread Joan Tan










If you are still using just text for each
node in your tree, then, you dont need to do a custom itemRenderer.
Instead, you can just use a labelFunction. So, on your Tree tag, just add
something like labelFunction=returnLabel. Then, you will have a
returnLabel function that looks something like this:



private function returnLabel(item:Object)
: String

{

 var str:String [EMAIL PROTECTED] + 
 + [EMAIL PROTECTED];

 return str;

}



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yair_iny
Sent: Monday, March 20, 2006 3:51
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 Tree
Behaviour override





Hi,

I am evaluating Flex 2 Beta in comparison with
Laszlo, in order to 
make a choice on an RIA framework for our company.

As part of this evaluation I am trying to modify
the Tree control 
behaviour, to allow me to display structured text
from more than one 
XML attribute in my data source. I have
tried doing this using 
ListItemRenderer but it stops displaying all of
the standard tree 
behaviour as soon as I override it.

Does anyone know how to do this? Are there
any examples of the tree 
bahaviour being overriden?

Below are the sources for the two MXML files.

Thanks,
Yair Iny

?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml

xmlns=*
layout=vertical

 mx:XML
id=TreeXML

 folder name=Inbox num=100

  item
name=Item1 num=50/

  folder
name=Junk num=20

 
 item name=Item2
num=25/

  /folder

 /folder
 /mx:XML

 mx:Panel
width=638 height=425 layout=absolute 
title=Problem View Mockup

 mx:Tree dataProvider={TreeXML}
rootVisible=false 
width=598 height=373
listItemRenderer=MyTreeRenderer

 /mx:Tree
 /mx:Panel
/mx:Application


?xml version=1.0
encoding=utf-8?
mx:HBox xmlns:mx=http://www.macromedia.com/2005/mxml
xmlns=*
 mx:Label
id=Name text=[EMAIL PROTECTED]/
 mx:Label
id=Count text=[EMAIL PROTECTED]/
/mx:HBox















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] ComboBox issue

2006-03-16 Thread Joan Tan










Can you post the code for your ComboBox
and what the dataProvider looks like?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dima Ulich
Sent: Thursday, March 16, 2006
10:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ComboBox
issue





Hi all,

 In my application I have a comboBox, when I
click it
I get this error:

RangeError: Error #2006: The supplied index is out
of
bounds.
 at
mx.managers::SystemManager/addChild()
 at
mx.managers::PopUpManager$/popUpWindow()
 at
mx.controls::ComboBox/getDropdown()
 at
mx.controls::ComboBox/displayDropdown()
 at
mx.controls::ComboBox/downArrowButton_buttonDownHandler()
 at
flash.events::EventDispatcher/dispatchEvent()
 at
mx.controls::Button/mx.controls:Button::buttonDown()
 at
mx.controls::Button/mouseDownHandler()
 at
flash.events::EventDispatcher/dispatchEvent()
 at
mx.controls::ComboBase/textInput_mouseEventHandler()

I've tried list control instead and it worked
okay. 
I set a breakpoint on creation complete event to
see
what is going on there and I found several
mistakes:
TypeError: Error #1009: null has no properties.
May be it has to do with the issue, I don't know.
If anyone has any ideas why would that happen,
please
let me know.

Ulich Dima

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









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Coloring a MenuBar

2006-02-28 Thread Joan Tan










You can use the style fillColors. It takes
an Array of two colors.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Tuesday, February 28, 2006
10:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Coloring a
MenuBar







I hate bugging you people for something that might be
obvious, but it seems to be escaping my sight:











- Can I change the background color(s) of a MenuBar?











Thanks in advance.





---Pablo Gustavo Apanasionek











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Rotate Effect

2006-02-06 Thread Joan Tan










Trey,



Yes, there was a bug that the origin
properties didnt work. This has been fixed internally, so in the next
build, this should work fine. Sorry, there is no workaround for now.



Joan













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Trey Long
Sent: Monday, February 06, 2006
11:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Rotate
Effect





Are there any known problems
with to Rotate effect class? I am trying to 
get the origins working and it appears that, even
copying from the 
example, that the origin is at best ignored and at
worst completely 
changes the x and y of my component.

CODE:
?xml version=1.0
encoding=utf-8?
!-- Simple example to demonstrate the Rotate
effect --
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml

backgroundColor=#FF

 mx:Rotate
id=myRotate duration=200 originX=130
originY=130 /

 mx:Panel
id=panel title=Rotate Panel width=260 
mouseDownEffect={myRotate}


mx:HBox

mx:Label text=WEEE/

/mx:HBox


mx:Label text=*click on the panel to see Rotate effect. 
color=#CC/

 /mx:Panel

/mx:Application


-Trey








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Return of the Menu Depth Monster!

2006-01-31 Thread Joan Tan










I just tried this and confirmed that its
a bug. I will log it in our bugbase. Thanks.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, January 31, 2006
6:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Return
of the Menu Depth Monster!





I tried setting my mx:Application with an
id of myApp and sending that into the createMenu call. Works fine
again with the button.not on the change event for the Datagrid.

Has anyone successfully gotten a menu to work on a change event
for Datagrid?







_

Jonathan Miranda

Flexible Master of the Web







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa
 Subramaniam
Sent: Friday, January 27, 2006
6:21 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Return
of the Menu Depth Monster!





Have you tried parenting the Menu to the Application or some
higher-level container (ie: pass a container instead of null as the first
argument in createMenu())? 





__

Find Me: 

 2701 - 601 Townsend

 415.832.7668

 [EMAIL PROTECTED]






-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, January 27, 2006
3:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Return of
the Menu Depth Monster!



Alright, after reading through all the archives, cflex.net and
googleIve come to the conclusion I cant solve my issue J I have a super basic
menu function.

public function showMenu() {

 myMenu =
Menu.createMenu(null, myEMP2Service.result.query.row);

 myMenu.show(200,
10);

 Alert.show(trace:
+myMenu,hey!,Alert.OK);

}



I call this from a button
on my movie.



mx:Button id=clickBtn label=Add Note click=showMenu()/ 

It works and I see the alert. Now I do the same
with a datagrid, right after the button, in the same element/level in the
movie.

mx:DataGrid id=AFTAsDG width=100% height=95% dataProvider={myAFTAService.result.query.row}
change=showMenu()



No menu! But the alert
shows the menu exists! No matter where I move it, it doesnt show up. Can
you not do menus on changeEvents for Datagrids? Im assuming
its a depth issue of some sortideas?

Jonathan 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



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



  











RE: [flexcoders] Jumpy labels with a cellrendere in Tree

2006-01-31 Thread Joan Tan










Can you post your code? Do you have any
specific properties set on your Label listItemRenderer?



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of moyosaned
Sent: Tuesday, January 31, 2006
1:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Jumpy labels
with a cellrendere in Tree





My Label is a little bit
jumpy in de beginning, but after a few
rollOvers the label is steady

I;m using a normaal Label as CellRen

Anybody..












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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] flashpaper embedded in Flex 2.0

2006-01-31 Thread Joan Tan










We have had a bug open in our bugbase that
the controls in Flash paper dont work in Flex 2.0. Im not sure
the bug has been investigated yet, but we are aware of the issue.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dominick Accattato
Sent: Tuesday, January 31, 2006
12:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flashpaper
embedded in Flex 2.0







I noticed that the Flex2.0documentation has a chapter
dedicated to using Flashpaper with Flex 2.0. However, the chapter is still
not written. Has anyone had success loading Flashpaper into a Flex 2.0
application. I've loaded it in but the following were not working: 




 print button as no functionality
 zoom slider does not work
 hand cursor does not scroll
 when used with a draggable HBox, all hell breaks
 loose.


and
theres probably other things too. My first thoughts are that the
flashpaper has AS 2.0, or AS 1.0 in it and that could be causing the
problem. But I thought the 8.5 player could run both virtual machines at
once. Anyway, with our new shiny Flex applications were going to want to
embed documents like Flashpaper. Please get back to me! 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Unable to detect changes to variable

2006-01-30 Thread Joan Tan










You need to make the variable bindable.
Try this:



// variables

[Bindable]
public var perPage:Number = 6;



[Bindable]
public var page:Number = 1;



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Albert
Sent: Monday, January 30, 2006
5:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unable to
detect changes to variable





I defined the page variable
in Script and want to increment it on
click of a button with the next() function. The
variable is bound to a
parameter of an HTTPService call (get_data). The
page variable works
on the initial HTTPService call, but can not be
changed. I get the
compile warning Unable to detect changes to
page. Code:

mx:Script
![CDATA[

// variables
var perPage:Number = 6;
var page:Number = 1;

public function next() : Void {
page++;
get_data.send();
}
]]

/mx:Script 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] listOwner equivalent Flex 2

2006-01-30 Thread Joan Tan










Yep, I believe parent should work.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Monday, January 30, 2006
7:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
listOwner equivalent Flex 2





Haven't tried myself, but
give parent a shot since he should be a 
DisplayObject. Don't have the livedocs
available to confirm yet.

- Original Message - 
From: Brendan Meutzner
[EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, January 30, 2006 10:11 PM
Subject: [flexcoders] listOwner equivalent Flex 2


Hi,

So working with CellRenderers in Flex 2.0 is
great... easy... however,
what if I want to reference the parent control via
listOwner as in
Flex 1.5?

Brendan





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













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Populating a text input from a pop up.

2006-01-12 Thread Joan Tan










Is your f1d_agenID TextInput in an mxml
component that is not actually an Application? This only works if you called
your popup from the main application. If, however, you are calling the PopUp
from an mxml component that is in another application, then I believe you
should use parentDocument.f1d_agentId.text. However, I dont see
parentDocument working correctly, so I actually filed a bug on this yesterday.



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
Sent: Thursday, January 12, 2006
9:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Populating a text input from a pop up.





When I use the code below, I get this error.

ReferenceError: Error #1069: Property fld_agentId
not found on hs2f
and there is no default value
 at
custom.components.sv::Agent1Window/Agent1Window$564$private::a1Bind()
 at
custom.components.sv::Agent1Window/__a1DG_click()

Flex code:
parentApplication.fld_agentId.text = a1DG.selectedItem.FLD_USERLOGIN;


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

 Jeremy,
 
 
 
 From your popup, you can reference anything
in your main application by
 using the parentApplication property, so you
would do something like:
 
 
 
 parentApplication.fld_agentId.text =
newValue;
 
 
 
 I hope this helps.
 
 Joan
 
 
 
 
 
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Jeremy Rottman
 Sent: Wednesday, January 11, 2006 8:12 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Populating a text input
from a pop up.
 
 
 
 I am using a pop up for a user look up. When
someone searches for a
 user and then clicks on the selected user, it
is suposed to populate a
 text box on my main stage of my app. However,
everything I have tried
 has failed. Can someone give me a hand with
this. I have posted my
 code. Any help with this would be greatly appreciated.
 
 
 Pop Up:
 ?xml version=1.0
encoding=utf-8?
 mx:Panel xmlns:mx=http://www.macromedia.com/2005/mxml
 resizeEffect=Resize
xmlns=* width=25% height=25%
title=Agent
 Lookup
 mx:WebService id=srv
useProxy=false
 wsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl
 showBusyCursor=true /
 mx:Script
source=as/adminAddList.as /
 
 mx:Script
 

private function a1Bind():Void

{

mx.managers.PopUpManager.removePopUp(this);

}
 
 /mx:Script
 
 mx:Metadata

[Event(a1Bind)]
 /mx:Metadata
 mx:states

mx:State name=results

mx:PropertyOverride property=width value=45%/

mx:PropertyOverride property=height value=45%/

mx:AddChild target={canvas1} position=lastChild

mx:DataGrid id=a1DG click=a1Bind()

dataProvider={srv.qpAgentDisplay.result}

mx:layoutConstraints

mx:EdgeAnchor top=55 left=6 bottom=6
 right=49/

/mx:layoutConstraints

mx:columns

mx:DataGridColumn headerText=Agent ID
 columnName=FLD_USERLOGIN/

mx:DataGridColumn headerText=First Name
 columnName=FLD_FIRSTNAME/

mx:DataGridColumn headerText=Last Name
 columnName=FLD_LASTNAME/

/mx:columns

/mx:DataGrid

/mx:AddChild

/mx:State
 /mx:states
 mx:Canvas width=100%
height=100% id=canvas1

mx:Label text=Agent Name: x=7 y=1/

mx:TextInput x=7 y=22 id=search/

mx:Button x=174 y=22

click=currentState='results';qpAgentDisplay(search.text)
 label=Search/
 /mx:Canvas
 
 /mx:Panel
 
 
 AS That calls pop up. 
 
 // Agent Lookup 1
 

import mx.managers.PopUpManager;
 

private function showWindow1(modal:Boolean):Void

{

var agent1Window:Agent1Window = new Agent1Window();

var popup:Object = PopUpManager.popUpWindow(agent1Window,
 this, modal);

PopUpManager.centerPopUp(popup); 



}


 
 Text Input I want to populate:
 
 mx:TextInput x=18
y=74 id=fld_agentId/
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+des

ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac

ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We

b+site+design+developmentw2=Computer+software+developmentw3=Software+d

esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr

acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=

Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+

practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

developmentw2=Computer+software+developmentw3=Software+design+and+deve

lopmentw4=Macromedia+flexw5=Software+development

RE: [flexcoders] How to small in Title window's title content area?

2005-12-22 Thread Joan Tan










You can certainly use the width and height
properties for TitleWindow to make the entire window smaller which will affect
the content area. Then, if you want the header to be bigger, you can control it
using the headerHeight property. I hope this helps.



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtoo
Sent: Thursday, December 22, 2005
1:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to small
in Title window's title content area?





I have created TitleWindow that have Title content and close button!

I assume the title area is a little big for my
application. So I want
to small title content area in Title Window?



Flexhtoo!












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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Why is editable=true necessary to allow cellPress events (2.0)

2005-12-20 Thread Joan Tan
I tried the following simple dataGrid that is not editable and the
cellPress event is triggered. Are you seeing something different? If so,
please send the code along.

?xml version=1.0 encoding=iso-8859-1?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
creationComplete=initDG()

mx:Script
![CDATA[
function initDG()
{
myDataGrid1.dataProvider =
 [
   { Artist:'Pavement', Album:'Slanted and Enchanted' },
   { Artist:'Pavement', Album:'Crooked Rain, Crooked Rain'},
   { Artist:'Pavement', Album:'Wowee Zowee' },
   { Artist:'Pavement', Album:'Brighten the Corners' },
   { Artist:'Pavement', Album:'Terror Twilight'},
   { Artist:'Other', Album:'Other'}
 ];
 ti1.text = ;
}

private function doTest(event):void
{
ti1.text= event.type +  event Triggered;
}

]]
/mx:Script

mx:DataGrid id=myDataGrid1 cellPress=doTest(event)/
mx:TextInput id=ti1 /
/mx:Application

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yaagcur
Sent: Tuesday, December 20, 2005 3:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Why is editable=true necessary to allow
cellPress events (2.0)

Well not those docs certainly as I'm talking flex 2 (see title)

This appears more relevant
http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp
.htm?href=1531.html


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

 Open the livedocs ..
 http://livedocs.macromedia.com/flex/15/asdocs_en/
 
 Click on DataGrid
 Scroll Down to the end of the page
 Look at the second sample ...
 
 I bet you didnt bother to check the docs first!
 
 
 yaagcur wrote:
 
  Really?
  I just checked my application
  editable=false clicking gets no action
  editable=true  clicking performs as required
 
  --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:
  
   Its not required for editable=true to get cellPress events.
  
   
  
   - Joan
  







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



 




 Yahoo! Groups Sponsor ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] DataGrid rowcount (2.0)

2005-12-19 Thread Joan Tan










This is a logged bug that there is an
extra row in the DataGrid or List.











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of yaagcur
Sent: Sunday, December 18, 2005
2:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
rowcount (2.0)





I have a datagrid which I
want populated by data which I know has 20
records

If I set rowcount=20 , I get 19
showing with a scroll bar.
Scrolling down gives me the final row of data plus
another empty row

Setting vScrollPolicy=off just gives
19 rows

Am I doing something wrong or is this a bug?














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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Data Grid headers

2005-12-19 Thread Joan Tan










Im not sure if this will get you
what you need, but consider using the headerRenderer property of the DataGrid
to create a custom header for a regular datagrid. This pretty much allows you
to put anything you want in a datagrid header.



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yaagcur
Sent: Friday, December 16, 2005
2:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Data Grid
headers





Couple of points

a) It seems to me that if I
textAlign=right a DataGridColumn then
the column header automatically follows that designation
even if I
want it to be textAlign=center and
have entered it so in DataGrid

b) How can I have two rows of headers so that the
lower row can be a
subdivision of higher one

e.g 

Goals Scored

Home Away

16 8

.. ..












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-16 Thread Joan Tan
Yes, this is a bug in Flex2 for TileList not honoring columnCount when
you have height or width settings. It has been fixed internally, so you
should see the fix in subsequent builds.

Thanks,
Joan

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of keishichi2001
Sent: Monday, December 12, 2005 6:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: columnCount prop doesn't work in
TileList(Flex2.0)

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

 any info?
 
In case if you guys are confused with my explanation, i would explain
it more simply

mx:TileList id=tl_month width=100% height=100% columnCount=7
...
/mx:TileList

With above code, the TileList should have 7 columns, but 4 columns...

Is it a bug on Flex2?


-k


 -k
 
 --- In flexcoders@yahoogroups.com, keishichi2001
 [EMAIL PROTECTED] wrote:
 
  My application has a TileList as following.
  
  mx:TileList id=tl_month width=100% height=100%
columnCount=7
  borderStyle=none dataProvider={myService.getData.result}
  listItemRenderer=myCellRenderer showEffect=Dissolve 
  
  myCellRenders is a custom component based on Canvas, and it has no
  definition both on height and width.
  
  The problem is, the TileList displays only 4 columns and 5th element
  is displayed in next row.
  I want that to be showed as 7 x N.
  
  Note that the TileList shows a monthly calendar.
  
  
  Thanks,
  Keishichi
 










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



 






 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-15 Thread Joan Tan










This is a logged bug and should be fixed
in upcoming builds. 



Joan











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: Wednesday, December 14, 2005
8:18 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
columnCount prop doesn't work in TileList(Flex2.0)





If your test case is that simple it may be that TileList has a
bug. 

It mostly worked when I just tested it on a local
build now, though I
noticed that it was off by one at first and
required a slight resize to
get correct (it showed 6 instead of 7).

Matt

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of keishichi2001
Sent: Monday, December 12, 2005 6:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: columnCount prop doesn't
work in
TileList(Flex2.0)

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

 any info?
 
In case if you guys are confused with my
explanation, i would explain
it more simply

mx:TileList id=tl_month
width=100% height=100% columnCount=7
...
/mx:TileList

With above code, the TileList should have 7
columns, but 4 columns...

Is it a bug on Flex2?


-k


 -k
 
 --- In flexcoders@yahoogroups.com,
keishichi2001
 [EMAIL PROTECTED] wrote:
 
  My application has a TileList as
following.
  
  mx:TileList id=tl_month
width=100% height=100%
columnCount=7
  borderStyle=none
dataProvider={myService.getData.result}
 
listItemRenderer=myCellRenderer showEffect=Dissolve

  
  myCellRenders is a custom component
based on Canvas, and it has no
  definition both on height and width.
  
  The problem is, the TileList displays
only 4 columns and 5th element
  is displayed in next row.
  I want that to be showed as 7 x N.
  
  Note that the TileList shows a monthly
calendar.
  
  
  Thanks,
  Keishichi
 










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

Yahoo! Groups Links














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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] move scroll bar programmatically

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

Joan 

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

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





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

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



 




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

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

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

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

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





RE: [flexcoders] Flex and Central

2005-07-22 Thread Joan Tan





Hmm... you usually get that error in Central if one or more 
of the files in your product.xml can't be found on your server. Can you check to 
be sure that all of the files defined in your product.xml are 
available?

Thanks,
Joan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Laurent 
BoisSent: Friday, July 22, 2005 9:24 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex and 
Central
Hi everybody,Some weeks ago i began to work with 
Flex.Today, i have a "mockup", done with Flex :several files (.mxml 
files for the application  components, several .as files, several .xml 
files for data, some images files)..mxml  .as files are in teh same 
folder.Resources files : .xml  images are in subfolders.I'm 
trying to add this application in Central.I've installed Central and 
Flex integration Libraries.I've modified my Application .mxml file 
(including imports from mx.central.Shell, the initApp() function including the 
mx.central.Central.initApplication call, the function onActivate, etc...) I 
add a product.xml, the installer.swf file and icons in my application 
folder.Then i tried to install it : I get an error message in Central 
when installing telling me some of the files could not be downloaded. Please 
report to the server IPMy application entry point file is : 
AAA.mxmli've set src value for my application to AAA.mxml.swfThere 
are some guidelines in a file coming with the Flex SDK for CentralAre 
there more detailed resources on how to develop Flex applications to be deployed 
in Central.Thanks for your helpRegardsLaurent





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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] how do I tell when a datagrid loses focus?

2005-07-14 Thread Joan Tan





The focusOut event should work for you.

mx:DataGrid focusOut="commitChanges()" 
/


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan 
HirschiSent: Thursday, July 14, 2005 3:53 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] how do I tell when a 
datagrid loses focus?
Is there a simple way to tell when an entire 
datagridloses focus?Ie i have an editable datagrid that i want to be 
ableto tell when the whole datagrid loses focus so that ican commit 
changes. I can tell when cells focus inand focus out, but am having 
trouble with the wholedatagrid.Is there an event that gets triggered 
when a componentlike a datagrid loses focus?Thanks for the 
help!Jon 
Hirschi__Do You 
Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] external links?

2005-07-13 Thread Joan Tan





in a Label component? like this:

mx:Label id="myLabel" htmlText="lt;a 
href=''gt;http://www.macromedia.comlt;/gt;" 
/


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sauro, 
NickSent: Wednesday, July 13, 2005 12:29 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] external 
links?

Is there someway to include a url in a label or something, 
and then have that link opened in an external window when its 
clicked?

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] another 'Effects' question

2005-06-20 Thread Joan Tan





Try the Dissolve effect or Fade effect. 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of sanjaydSent: 
Monday, June 20, 2005 2:42 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] another 'Effects' 
question
Folks: Is there an 'effect' that can fade in-out the background 
color of a label ?Thanks in advance. Sanjay







Yahoo! Groups Links

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










RE: [flexcoders] enter event for TextInput

2005-04-25 Thread Joan Tan





That code seems to work for me. Maybe there is something 
wrong within your onEnter function? The entire mxml that I ran was 
just:

?xml version="1.0"?mx:Application 
xmlns:mx="http://www.macromedia.com/2003/mxml" 
backgroundColor="white" mx:Scriptfunction 
onEnter(event) {text1.text='triggered 
enter';}/mx:Script

mx:TextInput id="dbpassword" password="true" 
widthFlex="1" enter="onEnter(event)"/mx:Text id="text1" 
/
/mx:Application


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 9:52 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
enter event for TextInput

My enter event 
handler isn't being called for a TextInput tag. The tag looks 
like:

mx:TextInput 
id="dbpassword" password="true" widthFlex="1" 
enter="onEnter(event)"/

onEnter is not 
invoked when I hit the enter key. There is not to much to these things, 
what can be wrong? I'm at a loss!


-S







Yahoo! Groups Links

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










RE: [flexcoders] enter event for TextInput

2005-04-25 Thread Joan Tan





I tried having the TextInput in a form in a TitleWindow as 
well. And I still get the enter event triggered.

Joan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 
11:24 AMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] enter event for TextInput

I tried using an alert and still no go. the only 
other thing to add is the TextInput tag is in a Form inside a TitleWindow. 
Why this would matter I don't know, but there doesn't seem to be any other 
factors.


-S



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
PruittSent: Monday, April 25, 2005 2:10 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] enter event for 
TextInput

yes, I put a trace stmt in the function and nothing appears 
in the flashlog. drat. this is to simple not to work. if it 
works for others, it must be environmental. but, i am clueless at the 
moment.


-S


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tarik 
AhmedSent: Monday, April 25, 2005 1:30 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] enter event for 
TextInput
Are you sure it's not being invoked? I'd do a little test 
like:function onEnter(event){ 
alert("yo");}mx:TextInput id="dbpassword" password="true" 
widthFlex="1" enter="onEnter(event)"/If that alert pops up - then 
its being invoked but whatever is going on in onEnter isn't as 
expected.Steve Pruitt wrote: 

  
  My enter event 
  handler isn't being called for a TextInput tag. The tag looks 
  like:
  
  mx:TextInput 
  id="dbpassword" password="true" widthFlex="1" 
  enter="onEnter(event)"/
  
  onEnter is not 
  invoked when I hit the enter key. There is not to much to these things, 
  what can be wrong? I'm at a loss!
  
  
  -S







Yahoo! Groups Links

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










RE: [flexcoders] CheckBox oddity

2005-03-31 Thread Joan Tan
Title: Message





You are right, this is a bug. I believe there is a 
workaround, however. You can have

mx:CheckBox label="" /

instead of just mx:CheckBox 
/

and you shouldn't have that 
problem.

Thanks,
Joan



From: Simon Fifield 
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 
3:27 PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] CheckBox oddity

I 
tried putting just a single CheckBox on the UI with no label set. When you move 
your mouse to the right of the CheckBox you can see it highlight, clicking there 
checks/unchecks it. When you add some text to the label property you can see 
that this area is indeed where the textlabel is - it doesn't get turned off when 
there is no text. 
I 
think that it should.

Simon 
Fifield


  -Original Message-From: Gordon Smith 
  [mailto:[EMAIL PROTECTED]Sent: 01 April 2005 
  00:20To: 'flexcoders@yahoogroups.com'Subject: RE: 
  [flexcoders] CheckBox oddity
  Is 
  the problem that the CheckBox's width is too large when it doesn't have a 
  label?
  
  - 
  Gordon
  

-Original Message-From: Simon Fifield 
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 
2005 12:28 PMTo: [EMAIL PROTECTED] ComSubject: 
[flexcoders] CheckBox oddity
Hi 
Flexers,

I've just 
noticed an oddity with the CheckBox and I don't know how I missed it before. 
When there is no label, the mouse events still trigger over the blank 
label.

Does anyone know 
if this is a bug - it seems like one to me?
(How do I 
register bugs again?)
Has anyone a 
work around for this - perhaps some way of turning off the underlying 
TextField?


Kind Regards,

Simon Fifield








Yahoo! Groups Links

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










RE: [flexcoders] Re: Flex App version in central

2005-03-07 Thread Joan Tan



Rich,

There is no way to trigger checking for an update in AS for 
Central. Central will automatically check for updates every 7 days. So, be sure 
to change the version number in your product.xml and the user should be notified 
of any updates to your app within a week.

Thanks,
Joan


From: Rich Tretola [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 9:48 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flex App version 
in central
So basically I want to able to check for an update through my 
appprogramatically which is the same as the end user clicking the 
updatebutton to check for an update. How is this handled 
throughactionscript ?RichOn Mon, 7 Mar 2005 10:14:49 
-0500, Rich Tretola [EMAIL PROTECTED] wrote: What code do you 
put with the initApp or onActivate to tell the flex/central app to check 
to see if a new version exists ?  Rich