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



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:

 


Flash
Director
Dreamweaver
ColdFusion
  

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




[flexcoders] E4X Help

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





...




...

...


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 can’t 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] Tree-to-tree drag & drop

2006-08-10 Thread Joan Tan
Title: Re: [flexcoders] Tree-to-tree drag & drop





This should work. I believe it is a bug and I will log it in our internal database.

Joan


On 8/9/06 10:47 PM, "John Mazzocchi" <[EMAIL PROTECTED]> wrote:

 
 
 

This seems like such a simple thing, and yet ...

I'd like to be able to drag & drop nodes between 2 trees ... both to copy and to move.

Now both trees have:
dragEnabled="true" dropEnabled="true".

Scenario (a): they both have dragMoveEnabled="true" ... so while they *will* MOVE nodes between each other, they *won't* COPY them when holding down CTRL-key (as they're supposed to).

Scenario (b): they both have dragMoveEnabled="false" ... by default, the nodes should COPY across, but it doesn't allow this, as if dropEnabled were *false*.

In short, you can't COPY nodes between them ... do I really need to write my own drag & drop functions? :/

Thanks
John
 




__._,_.___





--
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 won’t 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 don’t 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 doesn’t work (I believe this is due to #1). Good luck. 














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.


 
 Horóscopos  , Salud y belleza  , Chistes  , Consejos de amor  .
 El contenido más divertido para tu celular está en
Yahoo! Móvil  
 




__._,_.___





--
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] 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 FlashType to 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] Select a Tree item on Right click

2006-07-05 Thread Joan Tan












Sathish! It’s been a while since we
worked together at our old company Cybrant. I guess it’s a small software
world and we’ve crossed paths again.

 

Anyways, since Deepa is out of the office
for a bit, I’ll 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...





 






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





 





private var 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 you’re 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 you’d just set your DataGrid’s 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,
it’s 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 you’ll be
able to live with the bug and or implement the workaround. I can’t make
any promises but I’d like to see this bug fixed so I’ll 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 

RE: [flexcoders] Menu - handle sub-menu clicks

2006-07-05 Thread Joan Tan












Dmitry,

 

ITEM_CLICK should certainly be dispatched
for sub-menu items, if that sub-menu item is not the parent of another menu.
This event is dispatched whenever a final selection is made causing the menu to
close.  

 

Are you wanting to capture this event for
a menu item that opens another submenu ?  If so, you can probably capture the
MENU_SHOW event and then get the id of that item. The MENU_SHOW, MENU_HIDE, ITEM_ROLL_OUT
and ITEM_ROLL_OVER all will allow you to get information about particular menu
items. Hopefully, one of these will help you accomplish what you want to do.

 

Joan

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chrislee943
Sent: Wednesday, July 05, 2006
4:27 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Menu -
handle sub-menu clicks



 







Hello all,

There is a need to handle MenuEvent.ITEM_CLICK for sub-menus of the
standard Menu component. Basically I need this for a case when there
is a huge amount of data to show in the menu and click on sub-menu
would show a new menu from the current level. So event must contain at
least id of current menu item. And seems like only ITEM_CLICK contains
this info. But ITEM_CLICK is not dispatched for sub-menu clicks.

Thank you in advance,

Dmitry.






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



   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












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, you’ll 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
,
> > "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 
40yahoogroups.com>,
> > "Jeremy Lu"  wrote:
> > > >
> > > > Got it, thanks :-)
> > > >
> > > >
> > > >
> > > > On 6/27/06, Joan Tan  wrote:
> > > > >
> > > > > I believe that this was suggested to me by Alex. I
think
> > your
> > > way
> > > > > should work too though.
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *From:* flexcoders@yahoogroups.com 
40yahoogroups.com>
> > > [mailto:flexcoders@yahoogroups.com 
40yahoogroups.com>] *On
> > > > > Behalf Of *Jeremy Lu
> > > > > *Sent:* Monday, June 26, 2006 4:22 PM
> > > > > *To:* flexcoders@yahoogroups.com 
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*  wrote:
> > > > >
> > > > > The "color" style of Text only affects the
text and the 
not the
> > > &g

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

2006-07-03 Thread Joan Tan












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 [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 ...> 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
40yahoogroups.com>,
> > "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

40yahoogroups.com>,
> > "Jeremy Lu"  wrote:
> > > >
> > > > Got it, thanks :-)
> > > >
> > > >
> > > >
> > > > On 6/27/06, Joan 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

40yahoogroups.com>
> > > [mailto:[EMAIL PROTECTED]ups.com

40yahoogroups.com>] *On
> > > > > Behalf Of *Jeremy Lu
> > > > > *Sent:* Monday, June 26, 2006 4:22 PM
> > > > > *To:* [EMAIL PROTECTED]ups.com

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

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










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",) 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] 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 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",) 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 ...> 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] 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 in before the parse call to
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] 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 end just 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] 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] 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] 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. I’ve included a screenshot of the
button that I compiled so that you can validate that the corners look correct
now. If this doesn’t 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?

 

Here’s the code:

 





   


   
Button

   
{

   
cornerRadius   : 16;    

   
fillColors   
   : #44,#44; 

   
fillAlphas  
   : 100,100;

   
color
   : #FF;

   
textRollOverColor  : #FFCC00;

   
}

   


   


   
verticalAlign="middle" horizontalAlign="center">

   
 


   




 

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] Flex 2b3 : columnIndex inside labelFunction for dynamic datagrid column

2006-05-30 Thread Joan Tan










Well the second argument that is passed to
a labelFunction from the DataGrid column is the column, so, I suppose you can
search the DataGrid.columns array for that particular column and grab the
index.

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of stchavan
Sent: Tuesday, May 30, 2006 8:54
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2b3 :
columnIndex inside labelFunction for dynamic datagrid column



 

Hi,

I am trying to use a labelFunction for a datagrid with dynamically 
created columns. How can I get the columnIndex for a column from within 
the labelFunction?

Regards!

Santosh












--
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] 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] Max 2006

2006-05-26 Thread Joan Tan










MAX will be the week of Oct 24th
in Vegas.  Other than that, I don’t think they have announced dates for
submitting topics yet. I’ve 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] 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.

change="{mainViewStackHelper.getSearchResultView(event)}" >

  
  
  

   

 
  



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



 

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:

 



 

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] Re: Using Loader to load multiple 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  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:
>   
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
 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
>    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] 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:

 



   


    

 

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
 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] 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.:
> >  > 
> > 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] 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.:
>  
> 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] Flex2 : Menu bug?

2006-03-28 Thread Joan Tan










Thanks, I will log a bug for you. It makes
sense that you shouldn’t 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
-

http://www.adobe.com/2006/mxml">

  
  
  

  
   

   

   

   

   

   

   

    

    
    

---
flex 1.5


http://www.macromedia.com/2003/mxml">

  
  
  

     

 
    
 
    
 
    
 
    
 
    
 
    
 
    
 
    
     


     

click="Show()"/>
      














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





  




  
  
  YAHOO! GROUPS LINKS



   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 Beta 2 FormItem

2006-03-28 Thread Joan Tan










Try to set horizontalAlign=”left”.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of lancert82
Sent: Tuesday, March 28, 2006 6:39
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Beta 2
FormItem



 

Does someone know how to align
the FormItem label to the left?
Now it's aligned to the right nearby the textfield
...

Thx!











--
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 : 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 = <>;

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 can’t 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;

  


   


  


  


  


  


  
 


  


   


   
…

 

 

 

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











Actually, I can reproduce this problem in
the beta 2, but, internally in our later builds, the bug is fixed. Sorry it
didn’t 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 it’s 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 can’t 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] 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 can’t 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] Tree itemRenderer - flex 2

2006-03-22 Thread Joan Tan











You cannot just drop in any renderer for a
Tree component or Menu which need to deal with indentation because your
renderer doesn’t know anything about it. Instead, the easiest thing to do
is to use an itemRenderer that subclasses the TreeItemRenderer class. Here is
an example of a Tree item renderer. The renderer will change the font weight
and color of parent nodes and add text as to how many children each node has.

 

 

package 

{

 

import mx.controls.treeClasses.*;

import mx.collections.*;

 

    public class
MyTreeItemRenderer extends TreeItemRenderer

    {

    

    public function
MyTreeItemRenderer() 

        {

     super();

     mouseEnabled =
false;

    

        }

    

        override public function
set data(value:Object):void

        {

     super.data =
"">

     if(TreeListData(super.listData).hasChildren)

     {

     setStyle("color",
0xff);

     setStyle("fontWeight",
'bold');

    }

    else

    {

     setStyle("color",
0x00);

         setStyle("fontWeight",
'normal');

    }

        }

     

   override protected function
updateDisplayList(unscaledWidth:Number,  unscaledHeight:Number):void

       {

    super.updateDisplayList(unscaledWidth,
unscaledHeight);

    if(super.data)

    {

      if(TreeListData(super.listData).hasChildren)

      {

     var
tmp:XMLList = new XMLList(TreeListData(super.listData).node);

     var
myStr:int = tmp[0].children().length();

     super.label.text
=  TreeListData(super.listData).text + "(" + myStr + ")";

         }

       }

      }

  }

}









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pasflex
Sent: Wednesday, March 22, 2006
9:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree
itemRenderer - flex 2



 

When setting an itemRenderer for a tree in flex2, the tree controls 
and indentation disappear.  For example, if I
try to display a label 
and an image for each node in the tree and I
create an itemrenderer to 
do so, the tree will only display the root node
using the itemrenderer 
with no controls to open it (basically turning the
tree into a one 
item list).
In flex 1.5 a cellrenderer assigned to a tree
didn't override the 
default tree behavior, it only changed the
renderering of the item in 
the node.
How does one accomplish this is flex2?

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:

 


  
   
  
 

 









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:





 






  
   
  
  






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] 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] 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, you’ll 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] 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 didn’t 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=ms&k=Web+site+design+development&w1=Web+
>
site+design+development&w2=Computer+software+development&w3=Software+des
>
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
>
tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> 
> Computer software development
>
<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
>
b+site+design+development&w2=Computer+software+development&w3=Software+d
>
esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
>
actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>  
> 
> Software design and development
>
<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=
>
Web+site+design+development&w2=Computer+software+development&w3=Software
>
+design+and+development&w4=Macromedia+flex&w5=Software+development+best+
>
practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> 
> Macromedia flex
>
<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
>
development&w2=Computer+software+development&w3=Software+design+and+deve
>
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> 
> Software development best practice
>
<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&
>
w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
>
are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
>
st+practice&c=5&s=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]
>

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


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] 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 don’t 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


http://www.macromedia.com/2005/mxml"

xmlns="*"
layout="vertical">

  
 
  
 
    
 
    
 
   
  
 
    
 
  
  

  
title="Problem View Mockup">
 
  
width="598" height="373"
listItemRenderer="MyTreeRenderer">
 
  
  




http://www.macromedia.com/2005/mxml"
xmlns="*">
  
  
















--
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] Re: Effects - Newbie help

2006-03-09 Thread Joan Tan










Instead of using the Fade Effect on your
Label, use the Dissolve Effect.

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pk_wasp
Sent: Wednesday, March 08, 2006
10:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Effects
- Newbie help



 

the text on the label won't
fade coz Flex uses device fonts by default

if you use embedded fonts u should see the
"effect"

does anyone know if Flex 2.0 is going to support
"Flash Type" e.g. 
that new font engine in Flash Player 8 which
should sort this problem 
out?

--- In flexcoders@yahoogroups.com,
"Brent Johnson" <[EMAIL PROTECTED]> wrote:
>
>  I'm having a litle trouble
understanding how effects work. 
> Apparently when you play() an effect, it is
asynchronous, but I 
can't
> seem to wrap my head around a solution.
> 
>  I have a Timer set up.  Each time
it fires, I want to do the 
following:
> 
> 1) Fade the Label to alpha=0.0
> 2) Change the Label text
> 3) Fade to alpha=1.0
> 
> 
> So I define one mx:Fade to fade in and one to
fade out.  Then in my
> timer handler I try:
> 
>
fadeOut.play([salesTxt], true);
> 
>
salesTxt.text = cf.format(tickerData[current].value);
> 
>
fadeIn.play([salesTxt], true);
> 
> ...but the text just "pops" to
alpha 0.0 and then fades in.
> 
> Could someone explain why this happens and
what would be a good way 
to
> accomplish this?
> 
>  Thanks,
>    Brent
>












--
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 didn’t 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:


http://www.macromedia.com/2005/mxml"

backgroundColor="#FF">

 

 
mouseDownEffect="{myRotate}">










color="#CC"/>

 




-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] 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 don’t work in Flex 2.0. I’m 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.0 documentation 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] 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] Return of the Menu Depth Monster!

2006-01-31 Thread Joan Tan










I just tried this and confirmed that it’s
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
google…I’ve come to the conclusion I can’t 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.

 

 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.

 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 doesn’t show up. Can
you not do menus on changeEvents for Datagrids?  I’m assuming
it’s a depth issue of some sort…ideas?

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




 











--
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 don’t 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:
> 
> http://www.macromedia.com/2005/mxml"
> resizeEffect="Resize"
xmlns="*" width="25%" height="25%"
title="Agent
> Lookup">
> 
> wsdl="http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl"
> showBusyCursor="true" />
> 
> 
> 
> 
>   
private function a1Bind():Void
>
{
>  
mx.managers.PopUpManager.removePopUp(this);
>
}
> 
> 
> 
> 
>
[Event("a1Bind")]
> 
> 
>

>

>

>

>

>
dataProvider="{srv.qpAgentDisplay.result}">
>

>

> right="49"/>
>

>

>

> columnName="FLD_USERLOGIN"/>
>

> columnName="FLD_FIRSTNAME"/>
>

> columnName="FLD_LASTNAME"/>
>

>

>

>

> 
> 
>

>

>

>
click="currentState='results';qpAgentDisplay(search.text)"
> label="Search"/>
> 
> 
> 
> 
> 
> 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:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 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=ms&k=Web+site+design+development&w1=Web+
>
site+design+development&w2=Computer+software+development&w3=Software+des
>
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
>
tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> 
> Computer software development
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
>
b+site+design+development&w2=Computer+software+development&w3=Software+d
>
esign+and+development&a

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.


http://www.macromedia.com/2005/mxml";
creationComplete="initDG()">









-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] Data Grid headers

2005-12-19 Thread Joan Tan










I’m 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] 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] Why is editable="true" necessary to allow cellPress events (2.0)

2005-12-19 Thread Joan Tan










Its not required for editable=”true”
to get cellPress events.

 

- Joan

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yaagcur
Sent: Sunday, December 18, 2005
2:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why is
editable="true" necessary to allow cellPress events (2.0)



 

Or am I mistaken?

No big deal but what is the common functionality













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





  




  
  
  YAHOO! GROUPS LINKS



   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



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


...


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

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

--
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 1.5 file upload

2005-08-08 Thread Joan Tan
Title: Flex 1.5 file upload






The server script 
handling the upload should expect a POST request with a Content-Type of 
multipart/form-data, followed by a Content-Disposition with the name attribute 
of "Filedata" and then a filename attribute giving the name of the original 
file.  Here is a sample request:

  Content-Type: 
  multipart/form-data; boundary=AaB03x
  --AaB03x 
  Content-Disposition: form-data; name="Filedata"; filename="example.jpg" 
  Content-Type: application/octet-stream
  ... contents of 
  example.jpg ... --AaB03x-- 
  I hope this helps. I'll see if I can dig up a jsp example 
  somewhere.
  Joan 
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mercer, 
DustinSent: Monday, August 08, 2005 11:25 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 1.5 file 
upload

Has anyone gotten the 
Flex 1.5 file upload example (http://www.macromedia.com/devnet/flex/articles/fp8_features.html) working with a JSP upload page?  I am getting 
a “Processing of multipart/form-data request failed. Stream 
ended unexpectedly” Exception.  I have been trying to get this 
working for a while with no success.  I am trying 
this with a page the 
is currently working with the! 
< SPAN LANG="en-us"> “old way” of uploading with flex (Standard JSP 
upload).  If anyone can help, it would be greatly appreciated J





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Flex 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 My 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.
 



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:
 



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





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");}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:
   
  
   
  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





That code seems to work for me. Maybe there is something 
wrong within your onEnter function?  The entire mxml that I ran was 
just:
 
http://www.macromedia.com/2003/mxml" 
backgroundColor="white" > function 
onEnter(event) {  text1.text='triggered 
enter';  }
 




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:
 

 
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
 

 
instead of just 
 
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>