Re: [flexcoders] Re: Binding ValueObjects

2008-01-16 Thread tim
Hi,

I don't know if this helps, but what I've done in the past is to bind the
VO and then if I need to update it I had the same problem you were talking
about.  I would change the value, but the VO wouldn't change as the
binging goes from the VO to the component, not the other way around.  My
little work around was to have a function similar to this (assuming the VO
is called 'voToChange' of type 'VO')

private function update():void
{
 var holderVO:VO = voToChange;
 voToChange = new VO();
 voToChange = holderVO;
}

This then changes the VO so the change will go back to the component. 
Alternatively if you want to set something on the VO you could change the
function to somethign like

private function setSomthing(something:Object):void
{
voToChange.propertyToChange = something;
//Call the update function
update();
}

I hope I haven't completely misunderstood what you are having problems with.

Luck,

Tim

> I understand that. I know how to bind some class. Problem is, that if
> I Bind whole VO to one of my components, if I change something in the
> VO (only one var) than nothing will change. I don't want to bind all
> the properties separately.
>
> I can make one example for drawing line:
>
>
> [Bindable]
> public class LineVO
> {
>  public var startX:Number;
>  public var startY:Number;
>  public var endX:Number;
>  public var endY:Number;
> }
>
> Than I have one component to draw the line with LineVO.
>
> var linevo:LineVO=new LineVO();
> linevo.startX=0;
> linevo.startY=0;
> linevo.endX=20;
> linevo.endY=30;
>
> var newLine:Line=new Line();
> newLine.vo=linevo;
> addChild(newLine);
>
> I only want to bind the whole linevo, not the properties.
>
> Now if i change some properties like startX or startY, in the line
> should be triggered one function that I bind to.
>
> It is working for me if I bind the every propertie by itself, like this:
>
> BindingUtils.bindProperty(newLine,"onChange",linevo,"startX");
>
> That is not O.K., because than I have to bind everything manually.
>
> I hope that now somebody can help me.
>
> Thanks,
> Toni
>
>
>
> --- In flexcoders@yahoogroups.com, "madflexcoder" <[EMAIL PROTECTED]>
> wrote:
>>
>> Put your [Bindable] tag on top of your class and it will make the
>> entire class bindable.
>>
>> [Bindable]
>> public class MyVo
>> {
>>
>> }
>>
>>
>> brian..
>>
>>
>>
>>
>> --- In flexcoders@yahoogroups.com, "toniabc"  wrote:
>> >
>> > Hi!
>> >
>> > I have one problem.
>> >
>> > I have Value Object that I want to Bind to my custom made component. I
>> > have no problems to bind every single value from VO to component. And
>> > if I change something in the VO, that will be changed.
>> >
>> > But I want to Bind the whole VO (at once, not every value by itself).
>> > So that I can override the whole VO and changes will be automatically
>> > trigger the update function in my component. And if I remove the VO,
>> > than I want to remove my component from view.
>> >
>> > Thank you,
>> > Toni P.
>> >
>>
>
>
>




RE: [flexcoders] lefpadding on TileList

2008-01-16 Thread Alex Harui
Try customizing your renderer to add the padding there.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wouterv2000
Sent: Wednesday, January 16, 2008 6:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] lefpadding on TileList

 

Hi,

I would like to know whether there is some way to use left padding on
a TileList. I have a tilelist with a bunch of images in it and an
elastice move efect. When this efect occurs the images disappeard
momentarily under the right edge of the TileList. I already tried
setting the leftPadding, changing width etc, but that didn't help..

Regards,
Wouter

 



RE: [flexcoders] Application domain and Modules

2008-01-16 Thread Alex Harui
Modules require sharing interfaces at minimum.  The module manager
expects to get a valid IFlexModuleFactory, but it can't since you've
created a distinct appdom.  You must use child appdoms of the main
appdom or pick other places in the tree where you can share just enough
interfaces to make it work.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gregor Kiddie
Sent: Wednesday, January 16, 2008 8:30 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Application domain and Modules

 

I've read everything off your blog (I have a RSS reader for a reason!)
including the stuff on modules, and this isn't about accessing the
module, at least as far as I think.

 

The example I posted, set the loaders application domain to new
Applicationdomain(null). That mean's no parent specified, so it becomes
a direct child of the system's ApplicationDomain. This means that any
classes loaded in that domain aren't checked against the classes loaded
in my current domain.

 

All well and good.

 

But when I add that loader as a child of the VBox, nothing appears. I'm
not trying to access the code in anyway. Does the fact that the code is
in another ApplicationDomain mean that the Manager's cannot also access
the code to display it? I would assume that the ModuleLoader could
access the classes and manage it's own display, so separation wouldn't
be a problem.

 

(As it happens, I think I've found a better solution around the problem,
but I'd still like to know the answer for this one).

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED]



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: 15 January 2008 19:33
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Application domain and Modules

 

Modules must have a common application domain otherwise you cannot
access them via classes or interfaces.  See my blog for more info
(blogs.adobe.com/aharui)

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gregor Kiddie
Sent: Monday, January 14, 2008 5:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Application domain and Modules

 

Is there any reason why the below code would not work? Although I see
the module getting loaded when watching the debugger, and I can see that
the modules always get different Application domains, nothing ever gets
added to the Content Pane. It does when I load the module without the
new ApplicationDomain.

The module consists of a MXML view which is just a label, bound to a
singleton AS class. What I'm aiming for is the ability to load a module
with a singleton into the same application repeatedly, and have the
modules act completely seperately (i.e. there is two instances of the
singleton, one for each module).

Rogerg.


http://www.adobe.com/2006/mxml"; 
layout="vertical" 
width="100%" 
height="100%">


&nb! sp;   






   ! ; 










Think you know your TV, music and film? Try Search Charades!
  

 



RE: [flexcoders] Passing additional information into renderer

2008-01-16 Thread Alex Harui
You can customize the properties bag on the class factory to supply more
info to each instance.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Wednesday, January 16, 2008 11:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing additional information into renderer

 

I have created a thumbnail viewer similar to this one 
http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.ht
 
ml. However, I want to use Javascript on the page to allow the images 
to be put into a custom directory. The problem is, I don't know how 
to "push" the knowledge of where to look for the images into the 
itemRenderers without also tightly coupling the code. Any ideas?

Thanks;

Amy

 



RE: [flexcoders] SWC compiled against Flex 2 SDK only usable in Flex 3 projects

2008-01-16 Thread Alex Harui
Do you not have a globals selector in your defaults.css?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, January 16, 2008 11:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SWC compiled against Flex 2 SDK only usable in
Flex 3 projects

 

I have compiled my SWC against 2.0.1 HF 1 (from FB 3) with no errors.
When trying to use this SWC in any Flex 2 project however, I receive a
RTE as soon as the app starts. This happens for projects using 2.0.1
with Hotfix 1, 2 or 3. The error maps to the initProtoChainRoots()
method of the StyleManagerImpl class. Specifically to the following
line:

stylesRoot = selectors["global"].addStyleToProtoChain({}, null);

When inspecting the selectors object there is indeed no global
property present, the only properties are ones that correspond to the
styles defined in the defaults.css file of my library project. The
full stack trace is below. Any help is greatly appreciated.

Thanks,
Ben

TypeError: Error #1010: A term is undefined and has no properties.
at
mx.styles::StyleManagerImpl/initProtoChainRoots()[C:\dev\flex_201_ja\sdk
\frameworks\mx\styles\StyleManagerImpl.as:363]
at
mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::ini
tProtoChainRoots

()[C:\dev\flex_201_ja\sdk\frameworks\mx\styles\StyleManager.as:121]
at
TestProj/http://www.adobe.com/2006/flex/mx/internal::_TestProj_StylesIni
t 
()[D:\ccviews\A326188_fpsa_batch_dev_view\BackOffice\Components\Source\P
SA.BatchTool\TestProj\TestProj.mxml:0]
at
TestProj$iinit()[D:\ccviews\A326188_fpsa_batch_dev_view\BackOffice\Compo
nents\Source\PSA.BatchTool\TestProj\TestProj.mxml:0]
at _TestProj_mx_managers_SystemManager/create()
at
mx.managers::SystemManager/mx.managers:SystemManager::initializeTopLevel
Window()[C:\dev\flex_201_ja\sdk\frameworks\mx\managers\SystemManager.as:
2289]
at
mx.managers::SystemManager/mx.managers:SystemManager::docFrameHandler()[
C:\dev\flex_201_ja\sdk\frameworks\mx\managers\SystemManager.as:2214]

 



RE: [flexcoders] inline styles

2008-01-16 Thread Alex Harui
Flex/Flash has limited HTML support, but you can use the few tags it
does support to affect text in Text, Label, TextInput and TextArea.
Affecting one word of text in Button and other controls is trickier.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, January 16, 2008 10:41 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] inline styles

 

That looks like it applys styles to particular words, buts I studied the

code and I can't figure out how it does it.
I'm really regretting trying to learn how to use flex. Even the simplest

things take days to figure out and it leaves me so drained I just want 
to kill myself. I can't understand how something this complicated and 
difficult can possibly be successful. I just don't understand it. .

Sherif Abdou wrote:
> in the flexlib on google, i am guessing this is kinda what u want kind
of?
>
http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighter
_Sample.swf
  
>
 >
> 
> http://code.google.com/p/flexlib/wiki/ComponentList
  
>  >
> similar ideas?
>
> - Original Message 
> From: "[EMAIL PROTECTED]  "
<[EMAIL PROTECTED]  >
> To: flexcoders@yahoogroups.com  
> Sent: Wednesday, January 16, 2008 11:56:56 PM
> Subject: Re: [flexcoders] inline styles
>
> How do you apply any style to just 1 word. I know how to apply it to a
> text control but I don't know how to apply it to SOME words in the
text
> control. I can't even find 1 example .
>
> Sherif Abdou wrote:
> > if u wana underline one word why dont u just set the textDecoration
on
> > that word? what exactly do u want to do
> >
> > - Original Message 
> > From: "[EMAIL PROTECTED] org " <[EMAIL PROTECTED]

> org >
> > To: [EMAIL PROTECTED] ups.com

> > Sent: Wednesday, January 16, 2008 8:09:37 PM
> > Subject: [flexcoders] inline styles
> >
> > I can't figure out how to make an inline style. For example, how to
> > underline 1 word?
> > This help file is wrong because it seem to think that formatting
text in
> > buttons is an example of an inline styles. The button seems like a
block
> > element to me. I can't find anything that would allow a style in
> > anything that is really inline. What would be the equivalent of html
> > span ?
> >
> > http://livedocs.  > adobe.com/
 > 
> flex/201/ html/wwhelp/ wwhimpl/common/
> > html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_
> > 069_25.html
> >  html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_ 
> 069_25.html 
>
 >> 
>
> >
> >
> >
> >
> >  - - - - - -
> > Looking for last minute shopping deals? Find them fast with Yahoo!
> > Search.
> >  com/newsearch/ category. php?category= shopping 
>
 >> 
>
> >
> >
>
>
>
> --
> Never miss a thing. Make Yahoo your homepage. 
>  >
> 

 



[flexcoders] filter glow with event listener

2008-01-16 Thread [EMAIL PROTECTED]
Here is my attempt to put filter on a text control. If I Set the blur.X 
and blur.Y statically, it works fine. But when I have an event listener 
increase them 1 for every fame, I don't see any effect. I tested the 
values and they do increase. Why don't I see any glow ?



   



   


public function SetFeedback(iscorrect:Boolean):void{
if(iscorrect)
feedback.text="Correct!";
else
feedback.text="Not Correct!";
addEventListener(Event.ENTER_FRAME, glower);
}   
private function glower(event:Event):void{   
glowFilter.blurY+=1;
glowFilter.blurX+=1;
   
}
   


RE: [flexcoders] DataGrid column resizing

2008-01-16 Thread Alex Harui
If horizontalScrollPolicy="off" (default), the DG resizes columns to fit
the available space so you have less control over their size, and as you
change one column's size, the others respond.  Temporarily setting
resizable=false often helps, but it might be better to reset the entire
column set at once with new columns with the right size.  Make sure they
fit perfectly otherwise they'll get resized.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of brileach
Sent: Wednesday, January 16, 2008 12:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid column resizing

 

I've been slamming my head against my desk for the last day trying to
figure out how to resize DataGrid columns and I'm hoping somebody can
help me out. I'm using Flex 2.0.1. Any help will be much appreciated!

The idea here is that onCreationComplete the DataGridColumns will
recreate themselves based off of a certain size, eventually the length
of the data inside of them. I've gotten this to work with every
attribute except width. (labelFunctions, itemRenderers, etc.)










 


I just can't figure out how to set a column width on the fly. 

Thanks!

--Brian Leach, [EMAIL PROTECTED]  

 



RE: [flexcoders] container width > parent container's width when vertical scrollbar present

2008-01-16 Thread Alex Harui
There's a couple of older threads in the archives on this topic.
Setting minHeight/minWIdth=0 often helps

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dfalling
Sent: Wednesday, January 16, 2008 2:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] container width > parent container's width when
vertical scrollbar present

 

I've run into a really annoying issue... If I have a container that
is higher than its parent container, it will add not only a vertical
scrollbar, but also a horizontal scrollbar. It does this even if its
width is set to 100% and it has plenty of room to display its
contents. The really frustrating thing about this is that no matter
how wide you resize the container, it will never be able to fit its
contents...it's always missing the same amount of space.

To test, simply use the following code. Note the horizontal
scrollbar that will not go away.





 



RE: [flexcoders] underline in datagrid

2008-01-16 Thread Alex Harui
Set headerStyleName on the columns to have tetDecoration="none"

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dominique Bessette - Halsema
Sent: Wednesday, January 16, 2008 4:18 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] underline in datagrid

 

what if i dont want the datagrid's title to be underlined

On 1/16/08, Sherif Abdou <[EMAIL PROTECTED]
 > wrote: 

textDecoration="

underline"

 

- Original Message 
From: dominique.bessette < [EMAIL PROTECTED]
 >
To: flexcoders@yahoogroups.com  
Sent: Wednesday, January 16, 2008 5:46:52 PM 
Subject: [flexcoders] underline in datagrid

How do I underline my text in a datagrid?

 

 



Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
  

 

 



RE: [flexcoders] Date field with time

2008-01-16 Thread Alex Harui
Try valueCommit

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: Wednesday, January 16, 2008 10:13 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Date field with time

 

try the dataChange event instead, i think

- Original Message 
From: gur_sukh <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, January 17, 2008 12:01:50 AM
Subject: [flexcoders] Date field with time

Hi,

Need some help. Fiddling with datefield component.



this works fine when the user chooses the date from date chooser. but
when the users edits the time the change event doesn't occur. Which
event should be used to know that the text has changed.

Thanks
jkaur

 

 



Never miss a thing. Make Yahoo your homepage.
  

 



Re: [flexcoders] inline styles

2008-01-16 Thread [EMAIL PROTECTED]
That looks like it applys styles to particular words, buts I studied the 
code and I can't figure out how it does it.
I'm really regretting trying to learn how to use flex. Even the simplest 
things take days to figure out and it leaves me so drained I just want 
to kill myself. I can't understand how something this complicated and 
difficult can possibly be successful. I just don't understand it. .

Sherif Abdou wrote:
> in the flexlib on google, i am guessing this is kinda what u want kind of?
> http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighter_Sample.swf
>  
> 
>  
> http://code.google.com/p/flexlib/wiki/ComponentList 
> 
> similar ideas?
>
> - Original Message 
> From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, January 16, 2008 11:56:56 PM
> Subject: Re: [flexcoders] inline styles
>
> How do you apply any style to just 1 word. I know how to apply it to a
> text control but I don't know how to apply it to SOME words in the text
> control. I can't even find 1 example .
>
> Sherif Abdou wrote:
> > if u wana underline one word why dont u just set the textDecoration on
> > that word? what exactly do u want to do
> >
> > - Original Message 
> > From: "[EMAIL PROTECTED] org " <[EMAIL 
> > PROTECTED] 
> org >
> > To: [EMAIL PROTECTED] ups.com 
> > Sent: Wednesday, January 16, 2008 8:09:37 PM
> > Subject: [flexcoders] inline styles
> >
> > I can't figure out how to make an inline style. For example, how to
> > underline 1 word?
> > This help file is wrong because it seem to think that formatting text in
> > buttons is an example of an inline styles. The button seems like a block
> > element to me. I can't find anything that would allow a style in
> > anything that is really inline. What would be the equivalent of html
> > span ?
> >
> > http://livedocs.  adobe.com/  
> flex/201/ html/wwhelp/ wwhimpl/common/
> > html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_
> > 069_25.html
> >  html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_ 
> 069_25.html 
> >
>  
>
> >
> >
> >
> >
> >  - - - - - -
> > Looking for last minute shopping deals? Find them fast with Yahoo!
> > Search.
> >  com/newsearch/ category. php?category= shopping 
> >
>  
>
> >
> >
>
>
>
> 
> Never miss a thing. Make Yahoo your homepage. 
> 
>  



[flexcoders] Re: Binding ValueObjects

2008-01-16 Thread toniabc
Hi!

I'm using binding in actionscript, not in mxml.

toni

--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> why can't use just do 
> 
> 
> 
> 
> 
> - Original Message 
> From: toniabc <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Thursday, January 17, 2008 12:20:19 AM
> Subject: [flexcoders] Re: Binding ValueObjects
> 
> I understand that. I know how to bind some class. Problem is, that if
> I Bind whole VO to one of my components, if I change something in the
> VO (only one var) than nothing will change. I don't want to bind all
> the properties separately.
> 
> I can make one example for drawing line:
> 
> [Bindable]
> public class LineVO
> {
> public var startX:Number;
> public var startY:Number;
> public var endX:Number;
> public var endY:Number;
> }
> 
> Than I have one component to draw the line with LineVO.
> 
> var linevo:LineVO= new LineVO();
> linevo.startX= 0;
> linevo.startY= 0;
> linevo.endX= 20;
> linevo.endY= 30;
> 
> var newLine:Line= new Line();
> newLine.vo=linevo;
> addChild(newLine) ;
> 
> I only want to bind the whole linevo, not the properties.
> 
> Now if i change some properties like startX or startY, in the line
> should be triggered one function that I bind to.
> 
> It is working for me if I bind the every propertie by itself, like this:
> 
> BindingUtils. bindProperty( newLine," onChange" ,linevo," startX");
> 
> That is not O.K., because than I have to bind everything manually.
> 
> I hope that now somebody can help me.
> 
> Thanks,
> Toni
> 
> --- In [EMAIL PROTECTED] ups.com, "madflexcoder" 
> wrote:
> >
> > Put your [Bindable] tag on top of your class and it will make the
> > entire class bindable.
> > 
> > [Bindable]
> > public class MyVo
> > {
> > 
> > }
> > 
> > 
> > brian..
> > 
> > 
> > 
> > 
> > --- In [EMAIL PROTECTED] ups.com, "toniabc"  wrote:
> > >
> > > Hi!
> > > 
> > > I have one problem.
> > > 
> > > I have Value Object that I want to Bind to my custom made
component. I
> > > have no problems to bind every single value from VO to
component. And
> > > if I change something in the VO, that will be changed.
> > > 
> > > But I want to Bind the whole VO (at once, not every value by
itself).
> > > So that I can override the whole VO and changes will be
automatically
> > > trigger the update function in my component. And if I remove the VO,
> > > than I want to remove my component from view.
> > > 
> > > Thank you,
> > > Toni P.
> > >
> >
> 
> 
> 
> 
> 
>  

> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now. 
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>




Re: [flexcoders] Re: Binding ValueObjects

2008-01-16 Thread Sherif Abdou
why can't use just do 





- Original Message 
From: toniabc <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, January 17, 2008 12:20:19 AM
Subject: [flexcoders] Re: Binding ValueObjects

I understand that. I know how to bind some class. Problem is, that if
I Bind whole VO to one of my components, if I change something in the
VO (only one var) than nothing will change. I don't want to bind all
the properties separately.

I can make one example for drawing line:

[Bindable]
public class LineVO
{
public var startX:Number;
public var startY:Number;
public var endX:Number;
public var endY:Number;
}

Than I have one component to draw the line with LineVO.

var linevo:LineVO= new LineVO();
linevo.startX= 0;
linevo.startY= 0;
linevo.endX= 20;
linevo.endY= 30;

var newLine:Line= new Line();
newLine.vo=linevo;
addChild(newLine) ;

I only want to bind the whole linevo, not the properties.

Now if i change some properties like startX or startY, in the line
should be triggered one function that I bind to.

It is working for me if I bind the every propertie by itself, like this:

BindingUtils. bindProperty( newLine," onChange" ,linevo," startX");

That is not O.K., because than I have to bind everything manually.

I hope that now somebody can help me.

Thanks,
Toni

--- In [EMAIL PROTECTED] ups.com, "madflexcoder" 
wrote:
>
> Put your [Bindable] tag on top of your class and it will make the
> entire class bindable.
> 
> [Bindable]
> public class MyVo
> {
> 
> }
> 
> 
> brian..
> 
> 
> 
> 
> --- In [EMAIL PROTECTED] ups.com, "toniabc"  wrote:
> >
> > Hi!
> > 
> > I have one problem.
> > 
> > I have Value Object that I want to Bind to my custom made component. I
> > have no problems to bind every single value from VO to component. And
> > if I change something in the VO, that will be changed.
> > 
> > But I want to Bind the whole VO (at once, not every value by itself).
> > So that I can override the whole VO and changes will be automatically
> > trigger the update function in my component. And if I remove the VO,
> > than I want to remove my component from view.
> > 
> > Thank you,
> > Toni P.
> >
>





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] AutoComplete Component (Flex Team) breaking in Flex 3 Beta 3

2008-01-16 Thread Kevin
I use the AutoComplete component regularly and I just noticed that it  
breaks in Flex 3 Beta.  I think the break must be due to a change in  
the ComboBox code.  Is there a way to find out what changed in  
ComboBox from Flex 2 - 3?


Here is a test if you want to see the break.

Compile the following code in both Flex 2.0.1 and Flex 3 Beta 3.

 - Type the letter "J" in the text box
 - Select Jefferson City from the list

IN FLEX 2
Jefferson City will appear in the text input (and as selectedItem) as  
expected.


IN FLEX 3
The dropdown will close without choosing Jefferson City

My workaround:
This is not a great option, but to get the component to work I  
commented out line 429 (selectedIndex = 0;)  so that it keep the  
select at -1 until you physically click on something.   This breaks  
the look ahead feature, but I would rather turn that off for now and  
still have the component work.   There also seems to be a problem  
with the selecttion caret but I haven't totally explored that to  
figure out what is happening.


I don't know if anyone is still developing this component, but it is  
very useful so hopefully someone can look at this.


- Kevin



http://www.adobe.com/2006/mxml";  
layout="absolute"

xmlns:controls="com.adobe.flex.extras.controls.*">

	left="50" top="25"/>

















[flexcoders] Re: Binding ValueObjects

2008-01-16 Thread toniabc
I understand that. I know how to bind some class. Problem is, that if
I Bind whole VO to one of my components, if I change something in the
VO (only one var) than nothing will change. I don't want to bind all
the properties separately.

I can make one example for drawing line:


[Bindable]
public class LineVO
{
 public var startX:Number;
 public var startY:Number;
 public var endX:Number;
 public var endY:Number;
}

Than I have one component to draw the line with LineVO.

var linevo:LineVO=new LineVO();
linevo.startX=0;
linevo.startY=0;
linevo.endX=20;
linevo.endY=30;

var newLine:Line=new Line();
newLine.vo=linevo;
addChild(newLine);

I only want to bind the whole linevo, not the properties.

Now if i change some properties like startX or startY, in the line
should be triggered one function that I bind to.

It is working for me if I bind the every propertie by itself, like this:

BindingUtils.bindProperty(newLine,"onChange",linevo,"startX");

That is not O.K., because than I have to bind everything manually.

I hope that now somebody can help me.

Thanks,
Toni



--- In flexcoders@yahoogroups.com, "madflexcoder" <[EMAIL PROTECTED]>
wrote:
>
> Put your [Bindable] tag on top of your class and it will make the
> entire class bindable.
> 
> [Bindable]
> public class MyVo
> {
> 
> }
> 
> 
> brian..
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "toniabc"  wrote:
> >
> > Hi!
> > 
> > I have one problem.
> > 
> > I have Value Object that I want to Bind to my custom made component. I
> > have no problems to bind every single value from VO to component. And
> > if I change something in the VO, that will be changed.
> > 
> > But I want to Bind the whole VO (at once, not every value by itself).
> > So that I can override the whole VO and changes will be automatically
> > trigger the update function in my component. And if I remove the VO,
> > than I want to remove my component from view.
> > 
> > Thank you,
> > Toni P.
> >
>




Re: [flexcoders] Date field with time

2008-01-16 Thread Sherif Abdou
try the dataChange event instead, i think


- Original Message 
From: gur_sukh <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, January 17, 2008 12:01:50 AM
Subject: [flexcoders] Date field with time

Hi,

Need some help. Fiddling with datefield component.



this works fine when the user chooses the date from date chooser. but
when the users edits the time the change event doesn't occur. Which
event should be used to know that the text has changed.

Thanks
jkaur





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: [flexcoders] Re: Move effect

2008-01-16 Thread Sherif Abdou
I am not sure but you can have the x={this.unscledWidth} so that will always 
update and do what you want. I think.


- Original Message 
From: jovialrandor <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 11:48:56 PM
Subject: [flexcoders] Re: Move effect

how does the 'component.width+ Application. application. unscaledWidth' work?  
i do not know the screen resolution, so i would like it so I do not need to 
speciy an exact x,y coordinate.   
eg.
if screen size is 1028x768 or 1600x1200, the component should move off the 
screen.
take a look at this image description of what I'm trying to do.
http://thedarkcity. ws/transition. gif
let me know if i need to further clarify.
thanks

--- In [EMAIL PROTECTED] ups.com, Sherif Abdou <[EMAIL PROTECTED] .> wrote:
>
> you could just use i guess (component.width+ Application. application. 
> unscaledWidth) and that should take it off the screen, i have no idea what 
> the apple Ipod menu does so...
> 
> 
> - Original Message 
> From: jovialrandor jovialrandor@ ...
> To: [EMAIL PROTECTED] ups.com
> Sent: Wednesday, January 16, 2008 4:20:04 PM
> Subject: [flexcoders] Re: Move effect
> 
> What I am trying to accomplish is the Apple Ipod menu for Flex: Sliding 
> out/in menues.
> 
> --- In [EMAIL PROTECTED] ups.com, "jovialrandor"  
> wrote:
> >
> > How can I specify any Flex component to move out of the screen if i 
> do 
> > not know the screen resoluction of the end user beforehand?
> > 
> > Is there some Move value like '-1' that indicates to move out of any 
> > size screen?
> > 
> > 
> > Thanks
> >
> 
> 
> 
> 
> 
>  _ _ _ _ _ _ 
> _ _
> Never miss a thing. Make Yahoo your home page. 
> http://www.yahoo. com/r/hs
>




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: [flexcoders] Re: Move effect

2008-01-16 Thread Sherif Abdou
you can get the screen resolution from the unscaledWidth, and unscaledHeight, 
they update automatically


- Original Message 
From: jovialrandor <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 11:48:56 PM
Subject: [flexcoders] Re: Move effect

how does the 'component.width+ Application. application. unscaledWidth' work?  
i do not know the screen resolution, so i would like it so I do not need to 
speciy an exact x,y coordinate.   
eg.
if screen size is 1028x768 or 1600x1200, the component should move off the 
screen.
take a look at this image description of what I'm trying to do.
http://thedarkcity. ws/transition. gif
let me know if i need to further clarify.
thanks

--- In [EMAIL PROTECTED] ups.com, Sherif Abdou <[EMAIL PROTECTED] .> wrote:
>
> you could just use i guess (component.width+ Application. application. 
> unscaledWidth) and that should take it off the screen, i have no idea what 
> the apple Ipod menu does so...
> 
> 
> - Original Message 
> From: jovialrandor jovialrandor@ ...
> To: [EMAIL PROTECTED] ups.com
> Sent: Wednesday, January 16, 2008 4:20:04 PM
> Subject: [flexcoders] Re: Move effect
> 
> What I am trying to accomplish is the Apple Ipod menu for Flex: Sliding 
> out/in menues.
> 
> --- In [EMAIL PROTECTED] ups.com, "jovialrandor"  
> wrote:
> >
> > How can I specify any Flex component to move out of the screen if i 
> do 
> > not know the screen resoluction of the end user beforehand?
> > 
> > Is there some Move value like '-1' that indicates to move out of any 
> > size screen?
> > 
> > 
> > Thanks
> >
> 
> 
> 
> 
> 
>  _ _ _ _ _ _ 
> _ _
> Never miss a thing. Make Yahoo your home page. 
> http://www.yahoo. com/r/hs
>




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [flexcoders] inline styles

2008-01-16 Thread Sherif Abdou
in the flexlib on google, i am guessing this is kinda what u want kind of?
http://flexlib.googlecode.com/svn/trunk/examples/Highlighter/Highlighter_Sample.swf

http://code.google.com/p/flexlib/wiki/ComponentList
similar ideas?


- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 11:56:56 PM
Subject: Re: [flexcoders] inline styles

How do you apply any style to just 1 word. I know how to apply it to a 
text control but I don't know how to apply it to SOME words in the text 
control. I can't even find 1 example .

Sherif Abdou wrote:
> if u wana underline one word why dont u just set the textDecoration on 
> that word? what exactly do u want to do
>
> - Original Message 
> From: "[EMAIL PROTECTED] org" <[EMAIL PROTECTED] org>
> To: [EMAIL PROTECTED] ups.com
> Sent: Wednesday, January 16, 2008 8:09:37 PM
> Subject: [flexcoders] inline styles
>
> I can't figure out how to make an inline style. For example, how to
> underline 1 word?
> This help file is wrong because it seem to think that formatting text in
> buttons is an example of an inline styles. The button seems like a block
> element to me. I can't find anything that would allow a style in
> anything that is really inline. What would be the equivalent of html 
> span ?
>
> http://livedocs. adobe.com/ flex/201/ html/wwhelp/ wwhimpl/common/ 
> html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_ 
> 069_25.html 
>  html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_ 069_25.html> 
>
>
>
>
>  - - - - - -
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search. 
>  com/newsearch/ category. php?category= shopping> 
>
> 





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] Date field with time

2008-01-16 Thread gur_sukh
Hi,

Need some help. Fiddling with datefield component.



this works fine when the user chooses the date from date chooser. but
when the users edits the time the change event doesn't occur. Which
event should be used to know that the text has changed.

Thanks
jkaur



Re: [flexcoders] inline styles

2008-01-16 Thread [EMAIL PROTECTED]
How do you apply any style to just 1 word. I know how to apply it to a 
text control but I don't know how to apply it to SOME words in the text 
control. I can't even find 1 example .

Sherif Abdou wrote:
> if u wana underline one word why dont u just set the textDecoration on 
> that word? what exactly do u want to do
>
> - Original Message 
> From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, January 16, 2008 8:09:37 PM
> Subject: [flexcoders] inline styles
>
> I can't figure out how to make an inline style. For example, how to
> underline 1 word?
> This help file is wrong because it seem to think that formatting text in
> buttons is an example of an inline styles. The button seems like a block
> element to me. I can't find anything that would allow a style in
> anything that is really inline. What would be the equivalent of html 
> span ?
>
> http://livedocs. adobe.com/ flex/201/ html/wwhelp/ wwhimpl/common/ 
> html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_ 
> 069_25.html 
> 
>  
>
>
>
>
> 
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search. 
> 
>  
>
>  



[flexcoders] Re: Move effect

2008-01-16 Thread jovialrandor

how does the 'component.width+Application.application.unscaledWidth'
work?

i do not know the screen resolution, so i would like it so I do not need
to speciy an exact x,y coordinate.

eg.

if screen size is 1028x768 or 1600x1200, the component should move off
the screen.

take a look at this image description of what I'm trying to do.

http://thedarkcity.ws/transition.gif


let me know if i need to further clarify.

thanks


--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> you could just use i guess
(component.width+Application.application.unscaledWidth) and that should
take it off the screen, i have no idea what the apple Ipod menu does
so...
>
>
> - Original Message 
> From: jovialrandor [EMAIL PROTECTED]
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, January 16, 2008 4:20:04 PM
> Subject: [flexcoders] Re: Move effect
>
> What I am trying to accomplish is the Apple Ipod menu for Flex:
Sliding
> out/in menues.
>
> --- In [EMAIL PROTECTED] ups.com, "jovialrandor" 
> wrote:
> >
> > How can I specify any Flex component to move out of the screen if i
> do
> > not know the screen resoluction of the end user beforehand?
> >
> > Is there some Move value like '-1' that indicates to move out of any
> > size screen?
> >
> >
> > Thanks
> >
>
>
>
>
>
>
\

> Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>




Re: [flexcoders] inline styles

2008-01-16 Thread [EMAIL PROTECTED]
I'm trying to underline the word "not" anytime the text property of 
formLabel is set. As in:



setProperty = new SetProperty(formLabel, "text",
  form.getLabel());

How do I underline 1 word ?

Gordon Smith wrote:
>
> > how to underline 1 word?
> Underline one word of the label of a Button? You can't do that with 
> CSS and Button doesn't support an htmlLabel property. (By contrast, 
> components like Text have an htmlText property.)
>  
> I think you would have to access the TextField inside the Button 
> (e.g., the low-level DisplayObject which display the label) and use 
> TextField APIs like setTextFormat() on a range of characters.
>  
> Gordon Smith
> Adobe Flex SDK Team
>
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Sherif Abdou
> *Sent:* Wednesday, January 16, 2008 6:16 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] inline styles
>
> if u wana underline one word why dont u just set the textDecoration on 
> that word? what exactly do u want to do
>
> - Original Message 
> From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, January 16, 2008 8:09:37 PM
> Subject: [flexcoders] inline styles
>
> I can't figure out how to make an inline style. For example, how to
> underline 1 word?
> This help file is wrong because it seem to think that formatting text in
> buttons is an example of an inline styles. The button seems like a block
> element to me. I can't find anything that would allow a style in
> anything that is really inline. What would be the equivalent of html 
> span ?
>
> http://livedocs. adobe.com/ flex/201/ html/wwhelp/ wwhimpl/common/ 
> html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_ 
> 069_25.html 
> 
>  
>
>
>
>
> 
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search. 
> 
>  
>
>  



[flexcoders] Re: click event doesn't work in TileList Component

2008-01-16 Thread flexawesome
AWESOME!

Thanks Sherif :)

--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> instead of click, do itemClick = playLists_Click
> 
> 
> - Original Message 
> From: flexawesome <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, January 16, 2008 9:39:18 PM
> Subject: [flexcoders] click event doesn't work in TileList Component
> 
> hey there,
> I was using TileList to build my simply application. It's weird, 
seems doesn't work in itemrenderer.  I would like to get the index 
number once user clicks my tilelist components.
> Any suggestions? Thanks
> ==
> 
> http://www.adobe. com/2006/ mxml">
>
> 
> 
>   dataProvider= "{myData} "
>itemRenderer= "Components. PlayListsRendere r" 
>click="playLists_ Click(event) ;"/>
>
> 
>  
>  
> ==
>  
> 
> 
> 
>   
__
__
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>




Re: [flexcoders] click event doesn't work in TileList Component

2008-01-16 Thread Sherif Abdou
instead of click, do itemClick = playLists_Click


- Original Message 
From: flexawesome <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 9:39:18 PM
Subject: [flexcoders] click event doesn't work in TileList Component

hey there,
I was using TileList to build my simply application. It's weird, seems doesn't 
work in itemrenderer.  I would like to get the index number once user clicks my 
tilelist components.
Any suggestions? Thanks
==

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


  
   

 
 
==
 



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] click event doesn't work in TileList Component

2008-01-16 Thread flexawesome

hey there,

I was using TileList to build my simply application. It's weird, seems
doesn't work in itemrenderer.  I would like to get the index number once
user clicks my tilelist components.

Any suggestions? Thanks

==


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


 
 

   






==





[flexcoders] Re: AIR beta3 main class can't extends Sprite

2008-01-16 Thread iiley
OH, Sorry, i just found it.

Modify the xxx-app.xml with:

  
  true

Then the window will be shown, just well, stupid of me. :)  (But don't know
why extends Sprite, it will be default to false, but with mxml it will be
true)

However, this is solved. Sorry for disturb.

-- 
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com


[flexcoders] AIR beta3 main class can't extends Sprite

2008-01-16 Thread iiley
Hi,

Today, i start moving my AIR project from for AIR beta2 runtime to beta3,
because beta3 runtime can't run beta2 applications, i must do the moving.

But, a terrible thing happened, when i make my project compiled, the
myapp.xml renewed, all thing seems OK, but when i run it, nothing shown.
There's not any error throw to the FlexBuilder console, seems the
application runs well, but the AIR player Window is not shown.

One friend told me, because my Main class extends Sprite, my Main class is
not a mxml. Then, i did a simple test, i create a simple AIR project, this
code is :


package {
import flash.display.Sprite;
public class AWAir extends Sprite{

 private var dot:Sprite;

 public function AWAir(){

  dot = new Sprite();
  dot.graphics.beginFill(0xff);
  dot.graphics.drawCircle(200, 200, 80);
  dot.graphics.endFill();

  addChild(dot);
 }
}
}

With AIR beta2 before, i know it will runs well, but not, with AIR beta3, it
will not. And, the importance, i don't want mxml here in this project. So i
can't just modify my project to mxml.
I'm not familiar with AIR developing, maybe here some guys know how to solve
it, thanks in advance.

-- 
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com


RE: [flexcoders] inline styles

2008-01-16 Thread Gordon Smith
> how to underline 1 word?

Underline one word of the label of a Button? You can't do that with CSS
and Button doesn't support an htmlLabel property. (By contrast,
components like Text have an htmlText property.)
 
I think you would have to access the TextField inside the Button (e.g.,
the low-level DisplayObject which display the label) and use TextField
APIs like setTextFormat() on a range of characters.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: Wednesday, January 16, 2008 6:16 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] inline styles



if u wana underline one word why dont u just set the textDecoration on
that word? what exactly do u want to do


- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 8:09:37 PM
Subject: [flexcoders] inline styles



I can't figure out how to make an inline style. For example, how to 
underline 1 word?
This help file is wrong because it seem to think that formatting text in

buttons is an example of an inline styles. The button seems like a block

element to me. I can't find anything that would allow a style in 
anything that is really inline. What would be the equivalent of html
span ?

http://livedocs. adobe.com/ flex/201/ html/wwhelp/ wwhimpl/common/
html/wwhelp. htm?context= LiveDocs_ Book_Parts& file=styles_ 069_25.html
  







Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
  

 


Re: [flexcoders] inline styles

2008-01-16 Thread Sherif Abdou
if u wana underline one word why dont u just set the textDecoration on that 
word? what exactly do u want to do


- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 8:09:37 PM
Subject: [flexcoders] inline styles

I can't figure out how to make an inline style. For example, how to 
underline 1 word?
This help file is wrong because it seem to think that formatting text in 
buttons is an example of an inline styles. The button seems like a block 
element to me. I can't find anything that would allow a style in 
anything that is really inline. What would be the equivalent of html span ?

http://livedocs. adobe.com/ flex/201/ html/wwhelp/ wwhimpl/common/ html/wwhelp. 
htm?context= LiveDocs_ Book_Parts& file=styles_ 069_25.html 





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] inline styles

2008-01-16 Thread [EMAIL PROTECTED]
I can't figure out how to make an inline style. For example, how to 
underline 1 word?
This help file is wrong because it seem to think that formatting text in 
buttons is an example of an inline styles. The button seems like a block 
element to me. I can't find anything that would allow a style in 
anything that is really inline. What would be the equivalent of html span ?

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=styles_069_25.html
 



RE: [flexcoders] fcsh - can it compile a batch list of files

2008-01-16 Thread Gordon Smith
Instead of typing commands at the (fcsh) prompt, you can let fcsh read
commands from a file:
 
fcsh < commands.txt
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of reflexactions
Sent: Wednesday, January 16, 2008 2:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] fcsh - can it compile a batch list of files



Is there a way to get fcsh to compile a list of modules.

I am compiling all the modules in the application (about 70) from the 
command line using a batch file, this takes about 13 mins with 
incremental turned on, 20 mins without, I guess most of the time is 
being soaked up reloading the compiler and the framework, which fcsh 
avoids but it doesnt seem to have a way to run a batch and I dont want 
to have to sit there and type in each module one by one

... and yes we are usually using FB but just not it this case for 
certain reasons

any one familiar with fcsh??

tks



 


RE: [flexcoders] Re: localToGlobal X position

2008-01-16 Thread Gordon Smith
If you want to determine the global coordinates of the upper-left corner
of a component, you do
 
myComponent.localToGlobal(new Point(0, 0));
 
not
 
myComponent.localToGlobal(new Point(myComponent.x, myComponent.y));
 
The upper-left corner of a component in its own coordinate system is (0,
0).
 
Its x and y coordinates give its upper-left corner in its parent's
coordinate system.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Corey Smaller
Sent: Wednesday, January 16, 2008 2:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: localToGlobal X position



I lied, the X and Y position is returning god knows what, all i know
is its wrong. 
//compare the next highlighted component with the button found in arr
if(buttonArray[arr] == focusManager.getNextFocusManagerComponent())
{ 
//start to convert to global X and Y 
var pt:Point= new Point(buttonArray[arr].x,buttonArray[arr].y); 
var maskPoint:Point = new Point(testCanvas.x,testCanvas.y);
maskPoint = testCanvas.localToGlobal(maskPoint);
trace("local mask" + maskPoint);

pt = buttonArray[arr].contentToLocal(pt);
trace("content tolocal for "+ buttonArray[arr].label +
"="+ pt);
}

weird


>



 


Re: [flexcoders] underline in datagrid

2008-01-16 Thread Sherif Abdou

.testing{
textDecoration:none;
}










- Original Message 
From: Dominique Bessette - Halsema <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 6:18:01 PM
Subject: Re: [flexcoders] underline in datagrid

what if i dont want the datagrid's title to be underlined


On 1/16/08, Sherif Abdou <[EMAIL PROTECTED] com> wrote: 
textDecoration="
underline"



- Original Message 
From: dominique.bessette < [EMAIL PROTECTED] com>
To: [EMAIL PROTECTED] ups.com
Sent: Wednesday, January 16, 2008 5:46:52 PM 
Subject: [flexcoders] underline in datagrid


How do I underline my text in a datagrid?







Looking for last minute shopping deals? Find them fast with Yahoo! Search. 





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] Re: Refresh login screen

2008-01-16 Thread markcavins
Perfect that is exactly what I was looking to try and accomplish. Thanks


--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> So you could probably add a event listener to the button on Click
then create a timer
> 
> 
> 
> 
> 
> 
> Is that what you want kind of?
> - Original Message 
> From: markcavins <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, January 16, 2008 6:15:50 PM
> Subject: [flexcoders] Re: Refresh login screen
> 
> I can do that.
> 
> I have a form that has three form variables
> 
> customer, username, password.
> 
> When the user has succesfully entered information in all three forms
> the user clicks submit and the the form will try to authenticate the
> user. Now because the url is created dynamically and part of the url
> is the field customer the server seems to take a long time to try and
> auth them if they enter in the wrong customer number so I want the app
> to time out after 10 to 15 seconds and create a alert that tells them
> to check their username.
> 
> --- In [EMAIL PROTECTED] ups.com, Sherif Abdou  wrote:
> >
> > like reset the entire form? give an example
> > 
> > 
> > - Original Message 
> > From: markcavins 
> > To: [EMAIL PROTECTED] ups.com
> > Sent: Wednesday, January 16, 2008 6:07:09 PM
> > Subject: [flexcoders] Refresh login screen
> > 
> > Hey all,
> > 
> > Is it possible to refresh the login in page if a user's credentials
> > have not been verified in a certain time frame (say 10 to 15 seconds)?
> > 
> > 
> > 
> > 
> > 
> > 
>  _ _ _ _ _ _
> > Be a better friend, newshound, and 
> > know-it-all with Yahoo! Mobile. Try it now. 
> http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ
> >
> 
> 
> 
> 
> 
>  

> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now. 
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>




Re: [flexcoders] Re: Refresh login screen

2008-01-16 Thread Sherif Abdou
So you could probably add a event listener to the button on Click then create a 
timer






Is that what you want kind of?
- Original Message 
From: markcavins <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 6:15:50 PM
Subject: [flexcoders] Re: Refresh login screen

I can do that.

I have a form that has three form variables

customer, username, password.

When the user has succesfully entered information in all three forms
the user clicks submit and the the form will try to authenticate the
user. Now because the url is created dynamically and part of the url
is the field customer the server seems to take a long time to try and
auth them if they enter in the wrong customer number so I want the app
to time out after 10 to 15 seconds and create a alert that tells them
to check their username.

--- In [EMAIL PROTECTED] ups.com, Sherif Abdou <[EMAIL PROTECTED] ..> wrote:
>
> like reset the entire form? give an example
> 
> 
> - Original Message 
> From: markcavins 
> To: [EMAIL PROTECTED] ups.com
> Sent: Wednesday, January 16, 2008 6:07:09 PM
> Subject: [flexcoders] Refresh login screen
> 
> Hey all,
> 
> Is it possible to refresh the login in page if a user's credentials
> have not been verified in a certain time frame (say 10 to 15 seconds)?
> 
> 
> 
> 
> 
> 
 _ _ _ _ _ _
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile. Try it now. 
http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ
>





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: [flexcoders] underline in datagrid

2008-01-16 Thread Dominique Bessette - Halsema
what if i dont want the datagrid's title to be underlined

On 1/16/08, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> textDecoration="
> underline"
>
>
>
> - Original Message 
> From: dominique.bessette <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, January 16, 2008 5:46:52 PM
> Subject: [flexcoders] underline in datagrid
>
>  How do I underline my text in a datagrid?
>
>
>
> --
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search.
> 


RE: [flexcoders] E4X Namespace Issues...

2008-01-16 Thread Jim Hayes
>I've already included some
>dynamic e4x expression parsers that I found on the web

Tod, 

do you have the urls for those to hand? and would you care to share them?
Sorry to be so lazy, but I use e4x occasionally enough for the syntax to 
generally escape me when I have to.
Hence anything I can bookmark for the next time I need a bit of help with it 
would be most useful to me (and others?)

many thanks,

Jim.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Todd
Sent: Wed 16/01/2008 22:51
To: flexcoders@yahoogroups.com
Subject: [flexcoders] E4X Namespace Issues...
 
I'm sure this will have an obvious answer and that it's something that
I've just been looking at for too long...

I'm trying to select a node from xml where a child has a specific value
For example:
var xml:XML =


1

2


3

4




In the above, I'm using an e4x expression that looks like:
xml..folder.(id == 3)

All works well when I don't have a namespace declared.
When I have a name space declared, I keep getting nothing back.
I'm using the actionscript object:  namespace test="http..."
use namespace test

Any ideas on what I'm doing wrong? BTW, I've tried many, many
different e4x expressions, none that work.

Also, any techniques for debugging e4x? I've already included some
dynamic e4x expression parsers that I found on the web. But I find
that while I can get the expression to work fine dynamically, it still
doesn't work.

I've posted this over in teh Adobe Forums, too, as I'm not really sure
which place is the best place to go for help.

Thanks a bunch

Here's my test MXML file, sorry for how ugly it looks in this window.,
I"m hoping you can just copy this and paste it into a new MXML file
for you to look at...:



http://www.adobe.com/2006/mxml";
layout="horizontal">














__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__<>

RE: [flexcoders] Binding deeper XML to datagrid

2008-01-16 Thread Tracy Spratt
Does your trace show what you expect?  What is not working?

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of tedgies
Sent: Wednesday, January 16, 2008 5:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Binding deeper XML to datagrid

 

Hi FlexCoders,

I'm trying to show the items from XML below in a datagrid, but the 
only examples i've seen show how to deal with XML items that are not 
as "deep" as the one below. So, basically it's not working out. Is 
this a syntax issue, or do i need to cycle through my xml and create 
a new object or arraycollection?

My syntax for setting up the binding is:



[Bindable]
public var XMLListSearchResults:XMLListCollection = new 
XMLListCollection();

public function handleSearchService(myEvent:ResultEvent):void {
XMLListSearchResults.source = new XMLList(myEvent.result); 
trace (XMLListSearchResults.child(1).children());
datagrid_results.dataProvider=(XMLListSearchResults.child(1).children
());



My XML structured like this:

 
http://myapi.myurl.com/
 ">

OK 


531 
1 
0

Moby Dick
Melville, Herman


Pelican Brief
Grisham, John




thanks,
Ted

 



[flexcoders] Re: Refresh login screen

2008-01-16 Thread markcavins
I can do that.

I have a form that has three form variables

customer, username, password.

When the user has succesfully entered information in all three forms
the user clicks submit and the the form will try to authenticate the
user. Now because the url is created dynamically and part of the url
is the field customer the server seems to take a long time to try and
auth them if they enter in the wrong customer number so I want the app
to time out after 10 to 15 seconds and create a alert that tells them
to check their username.


--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> like reset the entire form? give an example
> 
> 
> - Original Message 
> From: markcavins <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, January 16, 2008 6:07:09 PM
> Subject: [flexcoders] Refresh login screen
> 
> Hey all,
> 
> Is it possible to refresh the login in page if a user's credentials
> have not been verified in a certain time frame (say 10 to 15 seconds)?
> 
> 
> 
> 
> 
>  

> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now. 
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>




Re: [flexcoders] Refresh login screen

2008-01-16 Thread Sherif Abdou
like reset the entire form? give an example


- Original Message 
From: markcavins <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 6:07:09 PM
Subject: [flexcoders] Refresh login screen

Hey all,

Is it possible to refresh the login in page if a user's credentials
have not been verified in a certain time frame (say 10 to 15 seconds)?





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


RE: [flexcoders] Styling of Invalid Inputs (Urgent)

2008-01-16 Thread Deepa Subramaniam
I'd suggest filing an ECR. You could also grab the error tooltip
instance from the tooltip manager position it as you desire. The docs
have a slightly similar example to this:
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel
p.htm?context=LiveDocs_Book_Parts&file=tooltips_074_13.html 

 

Except in that example they create the tooltip themselves (which is also
an option for you) :-) 

 

deepa

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ethan Miller
Sent: Wednesday, January 16, 2008 12:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Styling of Invalid Inputs (Urgent)

 

Ah yes, that works. Thank you so much!  Another related question...
.errorTip lets you control the placement position of the errorTip, ie
borderTipRight, errorTipBelow, etc. however while these options change
the direction of the graphical pointer leaving the error tip, the tip
itself doesn't change position, ie if you set "errorTipBelow", the
pointer now points up, but since the tip didn't move, the input field is
still to the left, and the pointer is pointing up at nothing...  

 

Note to Adobe... sure would be great if changing borderStyle on
.errorTip also changed the tip position... the Callout component does
this

 

cheers, ethan





Check out the errorColor style on UIComponent. This controls the color! 
of the highlight when valida! tion fai ls on a user interface control.
By
default, its red. 

deepa

-Original Message-
From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
Behalf Of Ethan Miller
Sent: Wednesday, January 16, 2008 10:06 AM
To: flexcoders@yahoogroups.com
 
Subject: [flexcoders] Styling of Invalid Inputs (Urgent)

Greetings -

This question concerns the styling of inputs and the special "invalid"
tooltip produced when a 
validator declares some input to be invalid. 

The Flex docs correctly point out that the invalid tooltip color can be
controlled using the 
.errorTip css class selector, however this has no effect of the border! 
drawn around the invalid 
input, ie it stays red. Thus if I set borderColor in .errorTip to green,
I get a RED border on the 
invalid input but with a GREEN error message tooltip, not good.

Any suggestions on how to control the invalid input border color? I've
tried using the invalid 
event to manipulate borderColor, themeColor, styleName, etc. all to no
effect.

I have to deliver this code today so any help would be very much
appreciated!

cheers! , ethan

--
Flexcoders Mailing 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] Refresh login screen

2008-01-16 Thread markcavins
Hey all,

Is it possible to refresh the login in page if a user's credentials
have not been verified in a certain time frame (say 10 to 15 seconds)?





[flexcoders] Re: E4X Namespace Issues...

2008-01-16 Thread fourctv
try this:

var xml:XML = new XML(inputXML.text);   // get the xml
var ns:Namespace = xml.namespace();  // extract the default 
namespace
trace('folder13:',xml..ns::folder.(id ==13));  // use it in the 
E4X expression

hth
julio





Re: [flexcoders] underline in datagrid

2008-01-16 Thread Sherif Abdou
textDecoration="underline"



- Original Message 
From: dominique.bessette <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 5:46:52 PM
Subject: [flexcoders] underline in datagrid

How do I underline my text in a datagrid?





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] Re: Application background colour during pre-loader

2008-01-16 Thread nasawebguy
just a note of thanks! This helped me too.

Don

--- In flexcoders@yahoogroups.com, Peter Baird <[EMAIL PROTECTED]> wrote:
>
> You need to declaritively set the backgroundColor property directly
in the
> application tag (not in css file).
> 
> So:
> 
>  wrote:
> 
> > Hi All
> > 
> > I've built this image gallery here:
> > 
> > http://www.caterpillar-designs.com/index.cfm?go=app.gallery
> > 
> > which is just about working as I want now aside from a few tweaks.
> > 
> > One thing I can't seem to fix though is the background colour of the
> > swf when it is loading. At the moment you get a grey flash as the
> > prelaoder works then the background goes white.
> > 
> > How do I change this? My application tag has this at the moment:
> > 
> >  backgroundGradientColors="[#ff, #ff]"
> > 
> > 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
> > 
> > 
> > 
> 
> / \®   PETER BAIRD
> 888/   \888Sr. User Experience Consultant
> 88/  /  \88Adobe Consulting | Adobe Systems, Inc
> 8/  /8\  \8275 Grove St. Newton, MA
> /  /888\  \Office: 617.219.2126
>   \8\  Cell: 617.803.6804
>




[flexcoders] underline in datagrid

2008-01-16 Thread dominique.bessette
How do I underline my text in a datagrid?



Re: [flexcoders] container width > parent container's width when vertical scrollbar present

2008-01-16 Thread Sherif Abdou
All right so either you can do



or



Is that what you mean?


- Original Message 
From: dfalling <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 4:42:42 PM
Subject: [flexcoders] container width > parent container's width when vertical 
scrollbar present

I've run into a really annoying issue... If I have a container that
is higher than its parent container, it will add not only a vertical
scrollbar, but also a horizontal scrollbar. It does this even if its
width is set to 100% and it has plenty of room to display its
contents. The really frustrating thing about this is that no matter
how wide you resize the container, it will never be able to fit its
contents...it' s always missing the same amount of space.

To test, simply use the following code. Note the horizontal
scrollbar that will not go away.









  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [flexcoders] Re: Move effect

2008-01-16 Thread Sherif Abdou
you could just use i guess 
(component.width+Application.application.unscaledWidth) and that should take it 
off the screen, i have no idea what the apple Ipod menu does so...


- Original Message 
From: jovialrandor <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 4:20:04 PM
Subject: [flexcoders] Re: Move effect

What I am trying to accomplish is the Apple Ipod menu for Flex: Sliding 
out/in menues.

--- In [EMAIL PROTECTED] ups.com, "jovialrandor"  
wrote:
>
> How can I specify any Flex component to move out of the screen if i 
do 
> not know the screen resoluction of the end user beforehand?
> 
> Is there some Move value like '-1' that indicates to move out of any 
> size screen?
> 
> 
> Thanks
>





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] Re: localToGlobal X position

2008-01-16 Thread Corey Smaller
I lied, the X and Y position is returning god knows what, all i know
is its wrong.  
//compare the next highlighted component with the button found in arr
if(buttonArray[arr] == focusManager.getNextFocusManagerComponent())
{   
//start to convert to global X and Y
   var pt:Point= new Point(buttonArray[arr].x,buttonArray[arr].y);  
   var maskPoint:Point = new Point(testCanvas.x,testCanvas.y);
   maskPoint = testCanvas.localToGlobal(maskPoint);
   trace("local mask" + maskPoint);

   pt = buttonArray[arr].contentToLocal(pt);
   trace("content tolocal for "+  buttonArray[arr].label +
"="+ pt);
}

weird


>




RE: [flexcoders] PopUpButton issue

2008-01-16 Thread Deepa Subramaniam
There were intricacies with the PopUpManager logic which, I think, led
to this solution. The framework changelist (available on labs) would
have more details. 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Melby
Sent: Wednesday, January 16, 2008 12:47 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] PopUpButton issue

 

Deepa - 

Thanks!  It seems you could avoid the memory leak without nulling _popUp
couldn't you?  i.e. just call PopUpManager.removePopUp(_popUp) without
the following line that nulls the reference.  Is that not right?

Scott



Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com



Deepa Subramaniam wrote: 

This chunk of code was added on purpose, to avoid problematic memory
leaks with popup components. In Jira you can see it was fixed to address
SDK bug 13104. We were not correctly unregistering popup children when
necessary. Your workaround is correct, so feel safe using it :) 

https://bugs.adobe.com/jira/browse/SDK-13104
  

-Original Message-
From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
Behalf Of Scott Melby
Sent: Wednesday, January 16, 2008 5:38 AM
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] PopUpButton issue

I have a PopUpButton on which I am setting a Menu as the popUp 
property. I have found that the popUp attribute is being nulled when 
the PopUpButton is removed from the stage... which causes my button to 
not function properly when added back to the stage. I traced the issue 
to the following code in PopUpButton.as which appears to be incorrect. 
In this code the _popUp member (backing for the popUp setters and 
getters) is nulled.

private function removedFromStageHandler(event:Event):void
{
// Ensure we've unregistered ourselves from PopupManager, else
// we'll be leaked.
if (_popUp) {
PopUpManager.removePopUp(_popUp);
_popUp = null;
}
}

To workaround this issue I had to listen for the addedToStage event in 
my view that uses this component and re-set the popUp property each time

as follows.

/**
* Called each time this view is added to the stage. We 
need this to work
* around an issue where the PopUpButton has a null popUp
* property each time it has been removed from the stage.
*/
public function handleAddedToStage():void{
if(this.createButton != null && this._buttonMenu !=
null){
this.createButton.popUp = _buttonMenu;
}
}

Has anybody else seen this? Can somebody please let me know if this is 
a bug in the toolkit? The workaround works fine... but seems like it 
should not be necessary.

Thanks
Scott

-- 
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.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

 



Re: [flexcoders] Move effect

2008-01-16 Thread Maciek Sakrejda
Moving the component by an amount equal to its stage x-coordinate plus
its width (if moving left) or its stage y-coordinate plus its height (if
moving down) should do it, no?


-Original Message-
From: jovialrandor <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Move effect
Date: Wed, 16 Jan 2008 22:18:23 -

How can I specify any Flex component to move out of the screen if i do 
not know the screen resoluction of the end user beforehand?

Is there some Move value like '-1' that indicates to move out of any 
size screen?

Thanks




 




Re: [flexcoders] Flex Charting chart updated event?

2008-01-16 Thread Maciek Sakrejda
I've looked into binding to the value of DateTimeAxis.maximum and
DateTimeAxis.minimum, but it looks like these are not being called when
the range is established. I assume that the DateTimeAxis class just
updates its private variables for max and min, without using the setters
and getters, so that the binding event is not fired (I have confirmed
that the bindings are firing correctly, just not when the actual minimum
and maximum is established) ... Any suggestions as to how to work around
this?

Thanks,
Maciek Sakrejda


-Original Message-
From: Maciek <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Charting chart updated event?
Date: Tue, 15 Jan 2008 22:24:26 -0800

I need to update some UI elements when a chart receives new data from
its data provider and is done updating (specifically, it updates the new
minimums and maximums for its axes). I've looked at the Flex Charting
events, and I don't see anything like this. Anyone know of related
events I could listen for?

Thanks,
Maciek Sakrejda




 




[flexcoders] E4X Namespace Issues...

2008-01-16 Thread Todd
I'm sure this will have an obvious answer and that it's something that
I've just been looking at for too long...

I'm trying to select a node from xml where a child has a specific value
For example:
var xml:XML =


1

2


3

4




In the above, I'm using an e4x expression that looks like:
xml..folder.(id == 3)

All works well when I don't have a namespace declared.
When I have a name space declared, I keep getting nothing back.
I'm using the actionscript object:  namespace test="http..."
use namespace test

Any ideas on what I'm doing wrong? BTW, I've tried many, many
different e4x expressions, none that work.

Also, any techniques for debugging e4x? I've already included some
dynamic e4x expression parsers that I found on the web. But I find
that while I can get the expression to work fine dynamically, it still
doesn't work.

I've posted this over in teh Adobe Forums, too, as I'm not really sure
which place is the best place to go for help.

Thanks a bunch

Here's my test MXML file, sorry for how ugly it looks in this window.,
I"m hoping you can just copy this and paste it into a new MXML file
for you to look at...:



http://www.adobe.com/2006/mxml";
layout="horizontal">














[flexcoders] localToGlobal X position

2008-01-16 Thread Corey Smaller
weird, the X and Y Position returned when I use localToGlobal on a
button in a canvas container returns the exact middle of the button,
not the upper left corner.  

 is this supposed to happen??




[flexcoders] container width > parent container's width when vertical scrollbar present

2008-01-16 Thread dfalling
I've run into a really annoying issue...  If I have a container that
is higher than its parent container, it will add not only a vertical
scrollbar, but also a horizontal scrollbar. It does this even if its
width is set to 100% and it has plenty of room to display its
contents.  The really frustrating thing about this is that no matter
how wide you resize the container, it will never be able to fit its
contents...it's always missing the same amount of space.

To test, simply use the following code.   Note the horizontal
scrollbar that will not go away.







[flexcoders] Binding deeper XML to datagrid

2008-01-16 Thread tedgies
Hi FlexCoders,

I'm trying to show the items from XML below in a datagrid, but the 
only examples i've seen show how to deal with XML items that are not 
as "deep" as the one below.  So, basically it's not working out.  Is 
this a syntax issue, or do i need to cycle through my xml and create 
a new object or arraycollection?

My syntax for setting up the binding is:



[Bindable]
public var XMLListSearchResults:XMLListCollection = new 
XMLListCollection();

public function handleSearchService(myEvent:ResultEvent):void {
XMLListSearchResults.source = new XMLList(myEvent.result); 
trace (XMLListSearchResults.child(1).children());
datagrid_results.dataProvider=(XMLListSearchResults.child(1).children
());




My XML structured like this:

 
 http://myapi.myurl.com/";>

   OK 


   531 
   1 
   0
   
   Moby Dick
   Melville, Herman
   
   
   Pelican Brief
   Grisham, John
   
   
 

thanks,
Ted



[flexcoders] Re: Events in AS3 gives Compile Error 1119

2008-01-16 Thread foobone9

> 1.)I have a customDataGrid object, which has metadata tag: 
[Event(name="menuClick",type="mx.events.MenuEvent")]
> 

Use the string name:

this.mycustomdg.addEventListner("menuClick", handleMenuEvent);

OR 

Create the static string MENU_CLICK somewhere and call it with that.



[flexcoders] Advanced Datagrid with Grouping

2008-01-16 Thread jovialrandor
I have a datagrid with a textinput component on top that can autoupdate 
the datagrid based on the text typed on the textinput.   This worked 
perfectly until I converted to advanced datagrid in Flex 3 and used the 
grouping collection option.

How do I get 'filterfunction' of an arraycollection work on a 
datagrid/textinput search app with groupingcollection function placed 
on the datagrid?

Thanks



[flexcoders] Re: Move effect

2008-01-16 Thread jovialrandor
What I am trying to accomplish is the Apple Ipod menu for Flex: Sliding 
out/in menues.




--- In flexcoders@yahoogroups.com, "jovialrandor" <[EMAIL PROTECTED]> 
wrote:
>
> How can I specify any Flex component to move out of the screen if i 
do 
> not know the screen resoluction of the end user beforehand?
> 
> Is there some Move value like '-1' that indicates to move out of any 
> size screen?
> 
> 
> Thanks
>




[flexcoders] Move effect

2008-01-16 Thread jovialrandor
How can I specify any Flex component to move out of the screen if i do 
not know the screen resoluction of the end user beforehand?

Is there some Move value like '-1' that indicates to move out of any 
size screen?


Thanks



[flexcoders] Re: TileList Loading shows duplicate ArrayCollection?

2008-01-16 Thread jeffjvroom
Hi Kevin,

(BTW, my flexcoders filter looks for various keywords in the subject 
like DataServices, Livecycle, etc. so I missed this one originally)

Are you using paging with your filled collection?   If you are not 
paging, we return the entire collection in one batch.  We do dispatch 
collection events as we are walking through the collection.  The UI 
controls should be watching these events and invalidating their 
display lists as necessary but the revalidation occurs during the 
next enter frame event.   I don't think it is possible for the 
redisplay to occur in the middle of us processing the fill result 
however so it seems like more likely you are paging in values if you 
are seeing visual artifacts as the data comes in.  Turning off paging 
might improve the display but obviously would have other side 
effects.  

If paging is on, we send the collection events as each page comes in 
(replacing NULL with the item for each index in the 
ArrayCollection).  So unfortunately the only way to listen for these 
events is the same way the TileList listens for them.  you could 
always listen for these events and use some trigger as the means to 
set the dataProvider for the TileList.  Or I think I sent you my 
NotPendingCollection.as class which can be used as a means to 
suppress pending errors altogether... putting that between the 
TileList and the ArrayCollection might yield better behavior.  

When you are processing pushed changes from the server, you do have 
more control.  You can turn off autoMerge.  The pushed changes then 
queue up on the client until you call dataStore.merge().  At that 
point all pending changes are applied.  Again, this method should 
invalidate the display list of any UI controls but the actual 
rendering will take place in the next "enter frame" event which 
should occur after all of the merged changes have been applied.  

Jeff 

--- In flexcoders@yahoogroups.com, "Kevin" <[EMAIL PROTECTED]> wrote:
>
> I am getting some odd behavior from the TileList when loading and
> ArrayCollection from the server.  I am not sure if this is an
> actionscript issue OR the way Data Services serializes the 
collections.
> 
> I have bound the DataProvider of my TileList to a paged collection
> that get's automatically lazy loaded from the server.  When the
> collection comes in, you can see the TileList load with double the
> amount of records and then eventually redraw with the correct 
list.  
> 
> 1. Can I listen for the completed load from the server and then draw
> my TileList then?  It seems in efficient (if not dangerous) to keep
> drawing the TileList as the collection update.  I also would want to
> disable the TileList when new loads are getting pushed to the 
client.
> (These seem to be causing redraw issues.)
> 
> 2. Can I monitor the progress of the collection as it fills from the
> server and create a progress monitor.  Presumably we know how many 
we
> are expecting because data services pulls in the id's.  Is there a 
way
> to then monitor the load in realtime.
> 
> OR
> 
> 3. Is this a problem in TileList and how the TileList lays out it's
> children?  Is it best practice to hide the component until all the
> children are laid out to avoid this.
> 
> Thanks for the input on this one.
> 
> - Kevin
>




[flexcoders] Personal invitation from Rogerio Gonzalez

2008-01-16 Thread Rogerio Gonzalez
Personal invitation from Rogerio Gonzalez


Re: [flexcoders] tooltip styling or skinning

2008-01-16 Thread Sheriff
http://livedocs.adobe.com/labs/flex3/html/tooltips_6.html

- Original Message 
From: Gustavo Duenas <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 3:41:56 PM
Subject: Re: [flexcoders] tooltip styling or skinning

thanks do you know how could I do that?


Regards


Gustavo




Ps: or at least a tutorial about it.




On Jan 16, 2008, at 4:31 PM, Sheriff wrote:




Well you can extend the ToolTipBorder Class, override the updateDisplayList( ) 
and create ur own custom shape


- Original Message 
From: Gustavo Duenas <[EMAIL PROTECTED] tsolutions. com>
To: [EMAIL PROTECTED] ups.com
Sent: Wednesday, January 16, 2008 1:38:24 PM
Subject: [flexcoders] tooltip styling or skinning





Does anyone know hos can I style a tooltip ( example the shape of the tootip, 
one side rounded and the other side straight)
if there is a way to do that, please let me know.


Regards



Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsol utions.com
Jacksonville - Florida













Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.







Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsol utions.com
Jacksonville - Florida











  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [flexcoders] tooltip styling or skinning

2008-01-16 Thread Gustavo Duenas

thanks do you know how could I do that?

Regards

Gustavo


Ps: or at least a tutorial about it.


On Jan 16, 2008, at 4:31 PM, Sheriff wrote:



Well you can extend the ToolTipBorder Class, override the  
updateDisplayList() and create ur own custom shape


- Original Message 
From: Gustavo Duenas <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 1:38:24 PM
Subject: [flexcoders] tooltip styling or skinning




Does anyone know hos can I style a tooltip ( example the shape of  
the tootip, one side rounded and the other side straight)

if there is a way to do that, please let me know.

Regards


Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsol utions.com
Jacksonville - Florida






Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  
Try it now.







Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida






[flexcoders] Re: Generate XML Schema

2008-01-16 Thread ben.clinkinbeard
Huh?


--- In flexcoders@yahoogroups.com, "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> Is it possible to generate an XML Schema to send to the server alone 
> with an XML data?
> 
> Thanks
>




[flexcoders] Generate XML Schema

2008-01-16 Thread markgoldin_2000
Is it possible to generate an XML Schema to send to the server alone 
with an XML data?

Thanks



Re: [flexcoders] tooltip styling or skinning

2008-01-16 Thread Sheriff
Well you can extend the ToolTipBorder Class, override the updateDisplayList() 
and create ur own custom shape


- Original Message 
From: Gustavo Duenas <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 1:38:24 PM
Subject: [flexcoders] tooltip styling or skinning




Does anyone know hos can I style a tooltip ( example the shape of the tootip, 
one side rounded and the other side straight)
if there is a way to do that, please let me know.


Regards



Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsol utions.com
Jacksonville - Florida











  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Re: [flexcoders] DataGrid column resizing

2008-01-16 Thread Sheriff
Did you try doing DataGrid(gridId).setActualSize(); or just extend the 
dataGridColumn and override the mx_internal that calculates the width.



- Original Message 
From: brileach <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, January 16, 2008 2:50:30 PM
Subject: [flexcoders] DataGrid column resizing

I've been slamming my head against my desk for the last day trying to
figure out how to resize DataGrid columns and I'm hoping somebody can
help me out. I'm using Flex 2.0.1. Any help will be much appreciated!

The idea here is that onCreationComplete the DataGridColumns will
recreate themselves based off of a certain size, eventually the length
of the data inside of them. I've gotten this to work with every
attribute except width. (labelFunctions, itemRenderers, etc.)










 


I just can't figure out how to set a column width on the fly. 

Thanks!

--Brian Leach, [EMAIL PROTECTED] com





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] How to configure BlazeDS to use Spring?

2008-01-16 Thread vkc_nair
Hi all,

Could you please provide an example on how to configure blazeds with 
spring?

Thanks
VN



[flexcoders] DataGrid column resizing

2008-01-16 Thread brileach
I've been slamming my head against my desk for the last day trying to
figure out how to resize DataGrid columns and I'm hoping somebody can
help me out. I'm using Flex 2.0.1. Any help will be much appreciated!

The idea here is that onCreationComplete the DataGridColumns will
recreate themselves based off of a certain size, eventually the length
of the data inside of them. I've gotten this to work with every
attribute except width. (labelFunctions, itemRenderers, etc.)










 


I just can't figure out how to set a column width on the fly. 

Thanks!

--Brian Leach, [EMAIL PROTECTED]





Re: [flexcoders] PopUpButton issue

2008-01-16 Thread Scott Melby

Deepa -

Thanks!  It seems you could avoid the memory leak without nulling _popUp 
couldn't you?  i.e. just call PopUpManager.removePopUp(_popUp) without 
the following line that nulls the reference.  Is that not right?


Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com



Deepa Subramaniam wrote:


This chunk of code was added on purpose, to avoid problematic memory
leaks with popup components. In Jira you can see it was fixed to address
SDK bug 13104. We were not correctly unregistering popup children when
necessary. Your workaround is correct, so feel safe using it :)

https://bugs.adobe.com/jira/browse/SDK-13104 



-Original Message-
From: flexcoders@yahoogroups.com  
[mailto:flexcoders@yahoogroups.com 
] On

Behalf Of Scott Melby
Sent: Wednesday, January 16, 2008 5:38 AM
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] PopUpButton issue

I have a PopUpButton on which I am setting a Menu as the popUp
property. I have found that the popUp attribute is being nulled when
the PopUpButton is removed from the stage... which causes my button to
not function properly when added back to the stage. I traced the issue
to the following code in PopUpButton.as which appears to be incorrect.
In this code the _popUp member (backing for the popUp setters and
getters) is nulled.

private function removedFromStageHandler(event:Event):void
{
// Ensure we've unregistered ourselves from PopupManager, else
// we'll be leaked.
if (_popUp) {
PopUpManager.removePopUp(_popUp);
_popUp = null;
}
}

To workaround this issue I had to listen for the addedToStage event in
my view that uses this component and re-set the popUp property each time

as follows.

/**
* Called each time this view is added to the stage. We
need this to work
* around an issue where the PopUpButton has a null popUp
* property each time it has been removed from the stage.
*/
public function handleAddedToStage():void{
if(this.createButton != null && this._buttonMenu !=
null){
this.createButton.popUp = _buttonMenu;
}
}

Has anybody else seen this? Can somebody please let me know if this is
a bug in the toolkit? The workaround works fine... but seems like it
should not be necessary.

Thanks
Scott

--
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.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

 


RE: [flexcoders] Bolding a ContextMenuItem or NativeMenuItem

2008-01-16 Thread Deepa Subramaniam
Unfortunately this is not possible with the current ContextMenu API's.
People have popped up Flex Menus upon right-click by the user (ie:
simulating context menus) and the Flex menu control allows for rich
styling. 

deepa

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hmmmbeer3
Sent: Tuesday, January 15, 2008 5:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bolding a ContextMenuItem or NativeMenuItem

Hi,

I cant seem to find a way to bold (eg indicate default status) of a 
dynamically created context menu item (or NativeMenuItem); i really 
need to do this as different items on a datagrid have different 
defaults (which get executed on a double click) and the user really 
needs a visual clue as to what the default is.  Traditionally, this has 
been to bold the item.

Cheers,

Radek



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





RE: [flexcoders] Re: TileList Loading shows duplicate ArrayCollection?

2008-01-16 Thread Tracy Spratt
No, I don't use LCDS so I generalized DataService to data service.
Can't help you with LCDS.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Wednesday, January 16, 2008 1:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: TileList Loading shows duplicate
ArrayCollection?

 

I have never used lastResult with a DataService call. Is that
available? I have usually only seen that with an RPC call. I'll have
to look this one up. We are currently wrapping our DataService.fill()
call in ListCollectionView and binding to that.

- Kevin

--- In flexcoders@yahoogroups.com 
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> If you are binding directly to lastResult, this is hard to debug. Use
a
> result handler, and trace out your dataProvider contents when a result
> arrives.
> 
> Tracy
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of Kevin
> Sent: Wednesday, January 16, 2008 1:05 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] TileList Loading shows duplicate
ArrayCollection?
> 
> 
> 
> I am getting some odd behavior from the TileList when loading and
> ArrayCollection from the server. I am not sure if this is an
> actionscript issue OR the way Data Services serializes the
collections.
> 
> I have bound the DataProvider of my TileList to a paged collection
> that get's automatically lazy loaded from the server. When the
> collection comes in, you can see the TileList load with double the
> amount of records and then eventually redraw with the correct list. 
> 
> 1. Can I listen for the completed load from the server and then draw
> my TileList then? It seems in efficient (if not dangerous) to keep
> drawing the TileList as the collection update. I also would want to
> disable the TileList when new loads are getting pushed to the client.
> (These seem to be causing redraw issues.)
> 
> 2. Can I monitor the progress of the collection as it fills from the
> server and create a progress monitor. Presumably we know how many we
> are expecting because data services pulls in the id's. Is there a way
> to then monitor the load in realtime.
> 
> OR
> 
> 3. Is this a problem in TileList and how the TileList lays out it's
> children? Is it best practice to hide the component until all the
> children are laid out to avoid this.
> 
> Thanks for the input on this one.
> 
> - Kevin
>

 



[flexcoders] Is Module Debugging supported in Adobe Air ?

2008-01-16 Thread helihobby
Hello,

I am trying to debug a Module in Adobe Air and the debugger just skips
over the breakpoints ( in the loaded module that is ) ...

Does anyone know if this is supported or will be supported and if so
... when ?

Regards,

Sean - HeliHobby.com



RE: [flexcoders] Using Popup menu

2008-01-16 Thread Deepa Subramaniam
Check out the PopUpManager and examples in the documentation. This shows
exactly how off a button click event you can create a popup component. 

 

deepa

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Preet
Sent: Tuesday, January 15, 2008 11:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using Popup menu

 

Hi All,

 

Iam working using login page in my app am using username, password to
give username and password, when I click on submit 
button it will validate the user name and password upto here working
fine.

I am using another button for change password when I click on change
password button a new popup menu or window
is tobe displayed. can anyone suggest mw how to use popups for such
buttons.

Thanks in Advance..

--Tomt

 



Re: [flexcoders] Styling of Invalid Inputs (Urgent)

2008-01-16 Thread Ethan Miller
Ah yes, that works. Thank you so much!  Another related  
question...  .errorTip lets you control the placement position of the  
errorTip, ie borderTipRight, errorTipBelow, etc. however while these  
options change the direction of the graphical pointer leaving the  
error tip, the tip itself doesn't change position, ie if you set  
"errorTipBelow", the pointer now points up, but since the tip didn't  
move, the input field is still to the left, and the pointer is  
pointing up at nothing...


Note to Adobe... sure would be great if changing borderStyle  
on .errorTip also changed the tip position... the Callout component  
does this


cheers, ethan


Check out the errorColor style on UIComponent. This controls the color
of the highlight when validation fails on a user interface control. By
default, its red.

deepa

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]  
On

Behalf Of Ethan Miller
Sent: Wednesday, January 16, 2008 10:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Styling of Invalid Inputs (Urgent)

Greetings -

This question concerns the styling of inputs and the special "invalid"
tooltip produced when a
validator declares some input to be invalid.

The Flex docs correctly point out that the invalid tooltip color can  
be

controlled using the
.errorTip css class selector, however this has no effect of the border
drawn around the invalid
input, ie it stays red. Thus if I set borderColor in .errorTip to  
green,

I get a RED border on the
invalid input but with a GREEN error message tooltip, not good.

Any suggestions on how to control the invalid input border color? I've
tried using the invalid
event to manipulate borderColor, themeColor, styleName, etc. all to no
effect.

I have to deliver this code today so any help would be very much
appreciated!

cheers, ethan

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







RE: [flexcoders] PopUpButton issue

2008-01-16 Thread Deepa Subramaniam
This chunk of code was added on purpose, to avoid problematic memory
leaks with popup components. In Jira you can see it was fixed to address
SDK bug 13104. We were not correctly unregistering popup children when
necessary. Your workaround is correct, so feel safe using it :) 

https://bugs.adobe.com/jira/browse/SDK-13104 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Melby
Sent: Wednesday, January 16, 2008 5:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PopUpButton issue

I have a PopUpButton on which I am setting a Menu as the popUp 
property.  I have found that the popUp attribute is being nulled when 
the PopUpButton is removed from the stage... which causes my button to 
not function properly when added back to the stage.  I traced the issue 
to the following code in PopUpButton.as which appears to be incorrect.  
In this code the _popUp member (backing for the popUp setters and 
getters) is nulled.

private function removedFromStageHandler(event:Event):void
{
// Ensure we've unregistered ourselves from PopupManager, else
// we'll be leaked.
if (_popUp) {
PopUpManager.removePopUp(_popUp);
_popUp = null;
}
}

To workaround this issue I had to listen for the addedToStage event in 
my view that uses this component and re-set the popUp property each time

as follows.

/**
 * Called each time this view is added to the stage.  We 
need this to work
 * around an issue where the PopUpButton has a null popUp
 * property each time it has been removed from the stage.
 */
public function handleAddedToStage():void{
   if(this.createButton != null && this._buttonMenu !=
null){
  this.createButton.popUp = _buttonMenu;
   }
}


Has anybody else seen this?  Can somebody please let me know if this is 
a bug in the toolkit?  The workaround works fine... but seems like it 
should not be necessary.

Thanks
Scott

-- 
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.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





RE: [flexcoders] Styling of Invalid Inputs (Urgent)

2008-01-16 Thread Deepa Subramaniam
Check out the errorColor style on UIComponent. This controls the color
of the highlight when validation fails on a user interface control. By
default, its red. 

deepa

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ethan Miller
Sent: Wednesday, January 16, 2008 10:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Styling of Invalid Inputs (Urgent)

Greetings -

This question concerns the styling of inputs and the special "invalid"
tooltip produced when a 
validator declares some input to be invalid. 

The Flex docs correctly point out that the invalid tooltip color can be
controlled using the 
.errorTip css class selector, however this has no effect of the border
drawn around the invalid 
input, ie it stays red. Thus if I set borderColor in .errorTip to green,
I get a RED border on the 
invalid input but with a GREEN error message tooltip, not good.

Any suggestions on how to control the invalid input border color?  I've
tried using the invalid 
event to manipulate borderColor, themeColor, styleName, etc. all to no
effect.

I have to deliver this code today so any help would be very much
appreciated!

cheers, ethan



--
Flexcoders Mailing 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] SWC compiled against Flex 2 SDK only usable in Flex 3 projects

2008-01-16 Thread ben.clinkinbeard
I have compiled my SWC against 2.0.1 HF 1 (from FB 3) with no errors.
When trying to use this SWC in any Flex 2 project however, I receive a
RTE as soon as the app starts. This happens for projects using 2.0.1
with Hotfix 1, 2 or 3. The error maps to the initProtoChainRoots()
method of the StyleManagerImpl class. Specifically to the following line:

stylesRoot = selectors["global"].addStyleToProtoChain({}, null);

When inspecting the selectors object there is indeed no global
property present, the only properties are ones that correspond to the
styles defined in the defaults.css file of my library project. The
full stack trace is below. Any help is greatly appreciated.

Thanks,
Ben


TypeError: Error #1010: A term is undefined and has no properties.
at
mx.styles::StyleManagerImpl/initProtoChainRoots()[C:\dev\flex_201_ja\sdk\frameworks\mx\styles\StyleManagerImpl.as:363]
at
mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::initProtoChainRoots()[C:\dev\flex_201_ja\sdk\frameworks\mx\styles\StyleManager.as:121]
at
TestProj/http://www.adobe.com/2006/flex/mx/internal::_TestProj_StylesInit()[D:\ccviews\A326188_fpsa_batch_dev_view\BackOffice\Components\Source\PSA.BatchTool\TestProj\TestProj.mxml:0]
at
TestProj$iinit()[D:\ccviews\A326188_fpsa_batch_dev_view\BackOffice\Components\Source\PSA.BatchTool\TestProj\TestProj.mxml:0]
at _TestProj_mx_managers_SystemManager/create()
at
mx.managers::SystemManager/mx.managers:SystemManager::initializeTopLevelWindow()[C:\dev\flex_201_ja\sdk\frameworks\mx\managers\SystemManager.as:2289]
at
mx.managers::SystemManager/mx.managers:SystemManager::docFrameHandler()[C:\dev\flex_201_ja\sdk\frameworks\mx\managers\SystemManager.as:2214]






[flexcoders] tooltip styling or skinning

2008-01-16 Thread Gustavo Duenas



Does anyone know hos can I style a tooltip ( example the shape of the  
tootip, one side rounded and the other side straight)

if there is a way to do that, please let me know.

Regards


Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida






[flexcoders] Re: HTTPService - save DataGrid data

2008-01-16 Thread markgoldin_2000
{xmlstring : XMLData.toXMLString()};

--- In flexcoders@yahoogroups.com, "markgoldin_2000" 
<[EMAIL PROTECTED]> wrote:
>
> I am getting:
> 1084: Syntax error: expecting colon before rightbrace
> at var oRequest:Object = {xmlstring=XMLData.toXMLString()};
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
> >
> > var oRequest:Object = {xmlstring=XMLData.toXMLString()};
> > 
> > myHTTPService.send(oRequest);
> > 
> >  
> > 
> > Now this way, the xml string the server gets will not be valid xml
> > because it will have no root.  You can handle this on the server, 
> or as
> > I do:
> > 
> >  
> > 
> > When you get the xml from the server , put it in an instance 
level 
> xml
> > var. (in the result handler). You can copy() it if you need to 
> preserve
> > the original for something like undo.  Then pull your XMLList or
> > collection directly from this var.  Changes made to the xml will 
be 
> made
> > in the instance var and you can then send it back to the server as
> > above, using toXMLString().  The server will get valid xml and can
> > loadXML() or whatever to parse it.
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of markgoldin_2000
> > Sent: Wednesday, January 16, 2008 11:15 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: HTTPService - save DataGrid data
> > 
> >  
> > 
> > Yes, I am getting XML from tthe server.
> > I am assigning data to DataGrid like this:
> > o.dataProvider = XMLData;
> > where XMLData is XMLList:
> > var XMLData:XMLList = XML(resultXML).copy().someXml
> >  > And that is my question: How to do that?
> > 
> > Thanks for help.
> > 
> > --- In flexcoders@yahoogroups.com  40yahoogroups.com>
> > , "Tracy Spratt"  wrote:
> > >
> > > You probably got xml from the server. Are you using it 
directly, 
> > or via
> > > XMLListCollection? If so, then updates to the dataGrid should be
> > > reflected in the main XML and you can send the xml straight 
back 
> to 
> > the
> > > server. This is how I usually do it.
> > > 
> > > 
> > > 
> > > If you generated an ArrayCollection of value objects, you will 
> need 
> > to
> > > manually build the xml and send it back.
> > > 
> > > 
> > > 
> > > While we are supposed to be able to send xml documents directly 
> > using
> > > HTTPService, I heard about trouble with this and have settled 
on 
> > sending
> > > XML strings via normal contentType by posting name=value pairs.
> > > 
> > > 
> > > 
> > > Tracy
> > > 
> > > 
> > > 
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com  40yahoogroups.com>
> > 
> > [mailto:flexcoders@yahoogroups.com  40yahoogroups.com>
> > ] On
> > > Behalf Of markgoldin_2000
> > > Sent: Tuesday, January 15, 2008 2:24 PM
> > > To: flexcoders@yahoogroups.com  40yahoogroups.com> 
> > > Subject: [flexcoders] Re: HTTPService - save DataGrid data
> > > 
> > > 
> > > 
> > > But I need to send modified DataGrid's data: a dataProvider 
that 
> > was 
> > > initially created in the service's Result event.
> > > 
> > > --- In flexcoders@yahoogroups.com
> >    > 40yahoogroups.com>
> > > , Scott Melby  wrote:
> > > >
> > > > Mark -
> > > > 
> > > > You can make your backend code take whatever you like. The 
> > > > HTTPService.send will just post to a URL that you specify 
> (based 
> > on 
> > > url 
> > > > property). You can then pass params... here is an example.
> > > > 
> > > > var params:Object = new Object();
> > > > params.changedItemID = 1;
> > > > params.name = "New Name";
> > > > myHttpService.send(params);
> > > > 
> > > > on the backend you can then just parse the request params to 
> get 
> > > the 
> > > > changed data and commit them to your DB etc.
> > > > 
> > > > hth
> > > > Scott
> > > > 
> > > > Scott Melby
> > > > Founder, Fast Lane Software LLC
> > > > http://www.fastlanesw.com 
> >  > 
> > > > 
> > > > 
> > > > 
> > > > markgoldin_2000 wrote:
> > > > >
> > > > > But I am not sure what exaclty I need to provide to the 
send 
> > > method
> > > > > to post data back to server.
> > > > > --- In flexcoders@yahoogroups.com
> >  
> > >  
> > > > > , Scott Melby 
 
> > > wrote:
> > > > > >
> > > > > > Just re-read this and realized I may have mis-understood 
the
> > > > > question
> > > > > > :) If you want to save data from grid back to server 
after 
> > user
> > > > > changes
> > > > > > it, take a look at DataGrid.itemEditEnd event.
> > > > > >
> > > > > > hth
> > > > > > Scott
> > > > > >
> > > > > > Scott Melby
> > > > > > Founder, Fast Lane Software LLC
> > > > > > http://www.fastlanesw.com 
> > 

[flexcoders] Passing additional information into renderer

2008-01-16 Thread Amy
I have created a thumbnail viewer similar to this one 
http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.ht
ml.  However, I want to use Javascript on the page to allow the images 
to be put into a custom directory.  The problem is, I don't know how 
to "push" the knowledge of where to look for the images into the 
itemRenderers without also tightly coupling the code.  Any ideas?

Thanks;

Amy



RE: [flexcoders] use the standalone player

2008-01-16 Thread Jim Hayes
I used to use it for flex 2 and see no reason why it shouldn't.
At the time, though, I did have some difficulty finding a standalone player 
that was not a debug version (on windows).

You might like to have a look at screenweaver HX, which gives you some nice 
additions and is open source.
The only real problem for me was flash player distribution (if it doesn't have 
one, it downloads the firefox plugin and uses that, however).
If you can live with that then it's great, in my opinion.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Sheriff
Sent: Wed 16/01/2008 17:56
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] use the standalone player
 
anyone know if it works?


- Original Message 
From: Sheriff <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 15, 2008 11:26:47 PM
Subject: [flexcoders] use the standalone player

is it possible to use the standalone player in flash for Flex 3 Beta 3 instead 
of IE/Firefox? 






Never miss a thing. Make Yahoo your homepage. 



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__<>

[flexcoders] Re: HTTPService - save DataGrid data

2008-01-16 Thread markgoldin_2000
I am getting:
1084: Syntax error: expecting colon before rightbrace
at var oRequest:Object = {xmlstring=XMLData.toXMLString()};



--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> var oRequest:Object = {xmlstring=XMLData.toXMLString()};
> 
> myHTTPService.send(oRequest);
> 
>  
> 
> Now this way, the xml string the server gets will not be valid xml
> because it will have no root.  You can handle this on the server, 
or as
> I do:
> 
>  
> 
> When you get the xml from the server , put it in an instance level 
xml
> var. (in the result handler). You can copy() it if you need to 
preserve
> the original for something like undo.  Then pull your XMLList or
> collection directly from this var.  Changes made to the xml will be 
made
> in the instance var and you can then send it back to the server as
> above, using toXMLString().  The server will get valid xml and can
> loadXML() or whatever to parse it.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, January 16, 2008 11:15 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: HTTPService - save DataGrid data
> 
>  
> 
> Yes, I am getting XML from tthe server.
> I am assigning data to DataGrid like this:
> o.dataProvider = XMLData;
> where XMLData is XMLList:
> var XMLData:XMLList = XML(resultXML).copy().someXml
>  And that is my question: How to do that?
> 
> Thanks for help.
> 
> --- In flexcoders@yahoogroups.com 
> , "Tracy Spratt"  wrote:
> >
> > You probably got xml from the server. Are you using it directly, 
> or via
> > XMLListCollection? If so, then updates to the dataGrid should be
> > reflected in the main XML and you can send the xml straight back 
to 
> the
> > server. This is how I usually do it.
> > 
> > 
> > 
> > If you generated an ArrayCollection of value objects, you will 
need 
> to
> > manually build the xml and send it back.
> > 
> > 
> > 
> > While we are supposed to be able to send xml documents directly 
> using
> > HTTPService, I heard about trouble with this and have settled on 
> sending
> > XML strings via normal contentType by posting name=value pairs.
> > 
> > 
> > 
> > Tracy
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of markgoldin_2000
> > Sent: Tuesday, January 15, 2008 2:24 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Re: HTTPService - save DataGrid data
> > 
> > 
> > 
> > But I need to send modified DataGrid's data: a dataProvider that 
> was 
> > initially created in the service's Result event.
> > 
> > --- In flexcoders@yahoogroups.com
>    40yahoogroups.com>
> > , Scott Melby  wrote:
> > >
> > > Mark -
> > > 
> > > You can make your backend code take whatever you like. The 
> > > HTTPService.send will just post to a URL that you specify 
(based 
> on 
> > url 
> > > property). You can then pass params... here is an example.
> > > 
> > > var params:Object = new Object();
> > > params.changedItemID = 1;
> > > params.name = "New Name";
> > > myHttpService.send(params);
> > > 
> > > on the backend you can then just parse the request params to 
get 
> > the 
> > > changed data and commit them to your DB etc.
> > > 
> > > hth
> > > Scott
> > > 
> > > Scott Melby
> > > Founder, Fast Lane Software LLC
> > > http://www.fastlanesw.com 
>  > 
> > > 
> > > 
> > > 
> > > markgoldin_2000 wrote:
> > > >
> > > > But I am not sure what exaclty I need to provide to the send 
> > method
> > > > to post data back to server.
> > > > --- In flexcoders@yahoogroups.com
>  
> >  
> > > > , Scott Melby  
> > wrote:
> > > > >
> > > > > Just re-read this and realized I may have mis-understood the
> > > > question
> > > > > :) If you want to save data from grid back to server after 
> user
> > > > changes
> > > > > it, take a look at DataGrid.itemEditEnd event.
> > > > >
> > > > > hth
> > > > > Scott
> > > > >
> > > > > Scott Melby
> > > > > Founder, Fast Lane Software LLC
> > > > > http://www.fastlanesw.com 
>  >
> > 
>  > >
> > > > >
> > > > >
> > > > >
> > > > > Scott Melby wrote:
> > > > > >
> > > > > > Is there a reason that you can't use SharedObject to save 
> the
> > > > grid
> > > > > > size, etc. on the client side?
> > > > > >
> > > > > > hth
> > > > > > Scott
> > > > > >
> > > > > >

[flexcoders] Re: TileList Loading shows duplicate ArrayCollection?

2008-01-16 Thread Kevin
I have never used lastResult with a DataService call.  Is that
available? I have usually only seen that with an RPC call. I'll have
to look this one up.  We are currently wrapping our DataService.fill()
call in ListCollectionView and binding to that.

- Kevin



--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> If you are binding directly to lastResult, this is hard to debug.  Use a
> result handler, and trace out your dataProvider contents when a result
> arrives.
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Kevin
> Sent: Wednesday, January 16, 2008 1:05 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] TileList Loading shows duplicate ArrayCollection?
> 
>  
> 
> I am getting some odd behavior from the TileList when loading and
> ArrayCollection from the server. I am not sure if this is an
> actionscript issue OR the way Data Services serializes the collections.
> 
> I have bound the DataProvider of my TileList to a paged collection
> that get's automatically lazy loaded from the server. When the
> collection comes in, you can see the TileList load with double the
> amount of records and then eventually redraw with the correct list. 
> 
> 1. Can I listen for the completed load from the server and then draw
> my TileList then? It seems in efficient (if not dangerous) to keep
> drawing the TileList as the collection update. I also would want to
> disable the TileList when new loads are getting pushed to the client.
> (These seem to be causing redraw issues.)
> 
> 2. Can I monitor the progress of the collection as it fills from the
> server and create a progress monitor. Presumably we know how many we
> are expecting because data services pulls in the id's. Is there a way
> to then monitor the load in realtime.
> 
> OR
> 
> 3. Is this a problem in TileList and how the TileList lays out it's
> children? Is it best practice to hide the component until all the
> children are laid out to avoid this.
> 
> Thanks for the input on this one.
> 
> - Kevin
>




[flexcoders] Best Practices Handling ItemPending and BindingIssues in VO's

2008-01-16 Thread Kevin
We are struggling with the correct (Best Practice) way to handle our
deeply nested classes when binding fails.  We are thinking that often
these failures are due to ItemPending Errors which is why I have
included that as part of the topic.  Here is our challenge.

We have MANY deeply nested objects.  For example,

A BusinessEntityVO contains a collection of RelationshipVO's
A RelationshipVO contains a ContactVO
A ContactVO contains a collection of emails, phones and addresses
An EmailVO contains an address (String) & type (String)

Then we have a bunch of getters...for example

In BusinessEntity, there is a getter called DefaultEmail.

This getter looks for a defaultRelationship.  If that is not set, AND
there is at least one Relationship in the collection, then it get's
the first Relationship in the collection and calls it's getter
defaultEmail (which does a similar call in the RelationshipVO.)  These
work great...WHEN all the data is present and loaded on the client AND
the underlying data doesn't change... (of course this never is the case!)

Here are the two problems.

1) THE UNDERLYING DATA CHANGES: Due to the deeply nested natures of
these properties and the binding limitations with getters, we are
looking for a way to get all this information back out to the views
when needed.  Is there some code we could write in each of the VO's
that can bubble up the chain to eventually refresh the views? We have
experimented with a couple different approaches but are looking for
some advice as far as a best practice on this one.  We tried
dispatching our own events, but this didn't seem to solve the problem
when collections are bound to DataGrids and Lists, etc... maybe we
were doing it wrong...

2) THE DATA IS PENDING:  We think that some of the binding is failing
simply because of ItemPending Errors.  Is is best practice to look for
and handle these errors inside the getters of the VO?  If so are there
any examples of how best to do this?  It seems like the VO is the best
place to handle these errors so that if a call for the getter
defaultEmail is made and the email is not available yet, the VO
handles the error and refreshes the call once the Email has arrived. 
Has anyone had experience with this before?  Is there a sound approach?

Lastly, I would love to hear how other's handle the binding of deeply
nested properties and collections.  People often comment that they set
things explicitly instead of using binding or getters, but it seems
counter to Flex and OOP (and also a huge pain), especially when
dealing with large amounts of itemRenderers, etc...  There has to be a
better way.

Thanks for listening.

- Kevin



[flexcoders] Re: HTTPService - save DataGrid data

2008-01-16 Thread markgoldin_2000
O, this is great. I will most definetely try it as asap.

Thanks

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> var oRequest:Object = {xmlstring=XMLData.toXMLString()};
> 
> myHTTPService.send(oRequest);
> 
>  
> 
> Now this way, the xml string the server gets will not be valid xml
> because it will have no root.  You can handle this on the server, 
or as
> I do:
> 
>  
> 
> When you get the xml from the server , put it in an instance level 
xml
> var. (in the result handler). You can copy() it if you need to 
preserve
> the original for something like undo.  Then pull your XMLList or
> collection directly from this var.  Changes made to the xml will be 
made
> in the instance var and you can then send it back to the server as
> above, using toXMLString().  The server will get valid xml and can
> loadXML() or whatever to parse it.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, January 16, 2008 11:15 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: HTTPService - save DataGrid data
> 
>  
> 
> Yes, I am getting XML from tthe server.
> I am assigning data to DataGrid like this:
> o.dataProvider = XMLData;
> where XMLData is XMLList:
> var XMLData:XMLList = XML(resultXML).copy().someXml
>  And that is my question: How to do that?
> 
> Thanks for help.
> 
> --- In flexcoders@yahoogroups.com 
> , "Tracy Spratt"  wrote:
> >
> > You probably got xml from the server. Are you using it directly, 
> or via
> > XMLListCollection? If so, then updates to the dataGrid should be
> > reflected in the main XML and you can send the xml straight back 
to 
> the
> > server. This is how I usually do it.
> > 
> > 
> > 
> > If you generated an ArrayCollection of value objects, you will 
need 
> to
> > manually build the xml and send it back.
> > 
> > 
> > 
> > While we are supposed to be able to send xml documents directly 
> using
> > HTTPService, I heard about trouble with this and have settled on 
> sending
> > XML strings via normal contentType by posting name=value pairs.
> > 
> > 
> > 
> > Tracy
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of markgoldin_2000
> > Sent: Tuesday, January 15, 2008 2:24 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Re: HTTPService - save DataGrid data
> > 
> > 
> > 
> > But I need to send modified DataGrid's data: a dataProvider that 
> was 
> > initially created in the service's Result event.
> > 
> > --- In flexcoders@yahoogroups.com
>    40yahoogroups.com>
> > , Scott Melby  wrote:
> > >
> > > Mark -
> > > 
> > > You can make your backend code take whatever you like. The 
> > > HTTPService.send will just post to a URL that you specify 
(based 
> on 
> > url 
> > > property). You can then pass params... here is an example.
> > > 
> > > var params:Object = new Object();
> > > params.changedItemID = 1;
> > > params.name = "New Name";
> > > myHttpService.send(params);
> > > 
> > > on the backend you can then just parse the request params to 
get 
> > the 
> > > changed data and commit them to your DB etc.
> > > 
> > > hth
> > > Scott
> > > 
> > > Scott Melby
> > > Founder, Fast Lane Software LLC
> > > http://www.fastlanesw.com 
>  > 
> > > 
> > > 
> > > 
> > > markgoldin_2000 wrote:
> > > >
> > > > But I am not sure what exaclty I need to provide to the send 
> > method
> > > > to post data back to server.
> > > > --- In flexcoders@yahoogroups.com
>  
> >  
> > > > , Scott Melby  
> > wrote:
> > > > >
> > > > > Just re-read this and realized I may have mis-understood the
> > > > question
> > > > > :) If you want to save data from grid back to server after 
> user
> > > > changes
> > > > > it, take a look at DataGrid.itemEditEnd event.
> > > > >
> > > > > hth
> > > > > Scott
> > > > >
> > > > > Scott Melby
> > > > > Founder, Fast Lane Software LLC
> > > > > http://www.fastlanesw.com 
>  >
> > 
>  > >
> > > > >
> > > > >
> > > > >
> > > > > Scott Melby wrote:
> > > > > >
> > > > > > Is there a reason that you can't use SharedObject to save 
> the
> > > > grid
> > > > > > size, etc. on the client side?
> > > > > >
> > > > > > hth
> > > > > > Scott
> > > > > >
> > > > > > Scott Melby
> > > > > > Founder, Fast Lane Software LLC
> > > > 

RE: [flexcoders] TileList Loading shows duplicate ArrayCollection?

2008-01-16 Thread Tracy Spratt
If you are binding directly to lastResult, this is hard to debug.  Use a
result handler, and trace out your dataProvider contents when a result
arrives.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Wednesday, January 16, 2008 1:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TileList Loading shows duplicate ArrayCollection?

 

I am getting some odd behavior from the TileList when loading and
ArrayCollection from the server. I am not sure if this is an
actionscript issue OR the way Data Services serializes the collections.

I have bound the DataProvider of my TileList to a paged collection
that get's automatically lazy loaded from the server. When the
collection comes in, you can see the TileList load with double the
amount of records and then eventually redraw with the correct list. 

1. Can I listen for the completed load from the server and then draw
my TileList then? It seems in efficient (if not dangerous) to keep
drawing the TileList as the collection update. I also would want to
disable the TileList when new loads are getting pushed to the client.
(These seem to be causing redraw issues.)

2. Can I monitor the progress of the collection as it fills from the
server and create a progress monitor. Presumably we know how many we
are expecting because data services pulls in the id's. Is there a way
to then monitor the load in realtime.

OR

3. Is this a problem in TileList and how the TileList lays out it's
children? Is it best practice to hide the component until all the
children are laid out to avoid this.

Thanks for the input on this one.

- Kevin

 



[flexcoders] Styling of Invalid Inputs (Urgent)

2008-01-16 Thread Ethan Miller
Greetings -

This question concerns the styling of inputs and the special "invalid" tooltip 
produced when a 
validator declares some input to be invalid. 

The Flex docs correctly point out that the invalid tooltip color can be 
controlled using the 
.errorTip css class selector, however this has no effect of the border drawn 
around the invalid 
input, ie it stays red. Thus if I set borderColor in .errorTip to green, I get 
a RED border on the 
invalid input but with a GREEN error message tooltip, not good.

Any suggestions on how to control the invalid input border color?  I've tried 
using the invalid 
event to manipulate borderColor, themeColor, styleName, etc. all to no effect.

I have to deliver this code today so any help would be very much appreciated!

cheers, ethan



[flexcoders] TileList Loading shows duplicate ArrayCollection?

2008-01-16 Thread Kevin
I am getting some odd behavior from the TileList when loading and
ArrayCollection from the server.  I am not sure if this is an
actionscript issue OR the way Data Services serializes the collections.

I have bound the DataProvider of my TileList to a paged collection
that get's automatically lazy loaded from the server.  When the
collection comes in, you can see the TileList load with double the
amount of records and then eventually redraw with the correct list.  

1. Can I listen for the completed load from the server and then draw
my TileList then?  It seems in efficient (if not dangerous) to keep
drawing the TileList as the collection update.  I also would want to
disable the TileList when new loads are getting pushed to the client.
(These seem to be causing redraw issues.)

2. Can I monitor the progress of the collection as it fills from the
server and create a progress monitor.  Presumably we know how many we
are expecting because data services pulls in the id's.  Is there a way
to then monitor the load in realtime.

OR

3. Is this a problem in TileList and how the TileList lays out it's
children?  Is it best practice to hide the component until all the
children are laid out to avoid this.

Thanks for the input on this one.

- Kevin



Re: [flexcoders] use the standalone player

2008-01-16 Thread Sheriff
anyone know if it works?


- Original Message 
From: Sheriff <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 15, 2008 11:26:47 PM
Subject: [flexcoders] use the standalone player

is it possible to use the standalone player in flash for Flex 3 Beta 3 instead 
of IE/Firefox? 






Never miss a thing. Make Yahoo your homepage. 



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [flexcoders] Re: Application protection

2008-01-16 Thread Brent Dearth
Beyond just string translation for properties, methods, and such, some of
the more sophisticated obfuscator tools out there are capable of logic
injection to make it more difficult for decompiled source to be traversed. I
was wondering if there had been any developments along these lines for AS3,
as I haven't heard of any.


On Jan 16, 2008 11:10 AM, Tom Chiverton <[EMAIL PROTECTED]>
wrote:

> On Wednesday 16 Jan 2008, Brent Dearth wrote:
> > On a slightly related note ... have their been any developments on the
> > Flash 9 / AS3 obfuscation front?
>
> In what direction ?
> The ABC that MXML compiles too is fairly obfuscated already, and I've not
> heard anyone having any success in getting real recompilable MXML back
> from
> it.
>
> --
> Tom Chiverton
> Helping to paradigmatically synergize real-time design-patterns
> on: http://thefalken.livejournal.com
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England
> and Wales under registered number OC307980 whose registered office address
> is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.
>  A list of members is available for inspection at the registered office. Any
> reference to a partner in relation to Halliwells LLP means a member of
> Halliwells LLP.  Regulated by The Solicitors Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged.  If you are not the addressee you
> must not read it and must not use any information contained in nor copy it
> nor inform any person other than Halliwells LLP or the addressee of its
> existence or contents.  If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 2500.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>


RE: [flexcoders] Re: HTTPService - save DataGrid data

2008-01-16 Thread Tracy Spratt
var oRequest:Object = {xmlstring=XMLData.toXMLString()};

myHTTPService.send(oRequest);

 

Now this way, the xml string the server gets will not be valid xml
because it will have no root.  You can handle this on the server, or as
I do:

 

When you get the xml from the server , put it in an instance level xml
var. (in the result handler). You can copy() it if you need to preserve
the original for something like undo.  Then pull your XMLList or
collection directly from this var.  Changes made to the xml will be made
in the instance var and you can then send it back to the server as
above, using toXMLString().  The server will get valid xml and can
loadXML() or whatever to parse it.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Wednesday, January 16, 2008 11:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: HTTPService - save DataGrid data

 

Yes, I am getting XML from tthe server.
I am assigning data to DataGrid like this:
o.dataProvider = XMLData;
where XMLData is XMLList:
var XMLData:XMLList = XML(resultXML).copy().someXml
mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> You probably got xml from the server. Are you using it directly, 
or via
> XMLListCollection? If so, then updates to the dataGrid should be
> reflected in the main XML and you can send the xml straight back to 
the
> server. This is how I usually do it.
> 
> 
> 
> If you generated an ArrayCollection of value objects, you will need 
to
> manually build the xml and send it back.
> 
> 
> 
> While we are supposed to be able to send xml documents directly 
using
> HTTPService, I heard about trouble with this and have settled on 
sending
> XML strings via normal contentType by posting name=value pairs.
> 
> 
> 
> Tracy
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, January 15, 2008 2:24 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: HTTPService - save DataGrid data
> 
> 
> 
> But I need to send modified DataGrid's data: a dataProvider that 
was 
> initially created in the service's Result event.
> 
> --- In flexcoders@yahoogroups.com
  
> , Scott Melby  wrote:
> >
> > Mark -
> > 
> > You can make your backend code take whatever you like. The 
> > HTTPService.send will just post to a URL that you specify (based 
on 
> url 
> > property). You can then pass params... here is an example.
> > 
> > var params:Object = new Object();
> > params.changedItemID = 1;
> > params.name = "New Name";
> > myHttpService.send(params);
> > 
> > on the backend you can then just parse the request params to get 
> the 
> > changed data and commit them to your DB etc.
> > 
> > hth
> > Scott
> > 
> > Scott Melby
> > Founder, Fast Lane Software LLC
> > http://www.fastlanesw.com 
 > 
> > 
> > 
> > 
> > markgoldin_2000 wrote:
> > >
> > > But I am not sure what exaclty I need to provide to the send 
> method
> > > to post data back to server.
> > > --- In flexcoders@yahoogroups.com
 
>  
> > > , Scott Melby  
> wrote:
> > > >
> > > > Just re-read this and realized I may have mis-understood the
> > > question
> > > > :) If you want to save data from grid back to server after 
user
> > > changes
> > > > it, take a look at DataGrid.itemEditEnd event.
> > > >
> > > > hth
> > > > Scott
> > > >
> > > > Scott Melby
> > > > Founder, Fast Lane Software LLC
> > > > http://www.fastlanesw.com 
 >
> 
 > >
> > > >
> > > >
> > > >
> > > > Scott Melby wrote:
> > > > >
> > > > > Is there a reason that you can't use SharedObject to save 
the
> > > grid
> > > > > size, etc. on the client side?
> > > > >
> > > > > hth
> > > > > Scott
> > > > >
> > > > > Scott Melby
> > > > > Founder, Fast Lane Software LLC
> > > > > http://www.fastlanesw.com 
 >
> 
 > >
> > > > >
> > > > >
> > > > > markgoldin_2000 wrote:
> > > > >>
> > > > >> I am using HTTPService to bring data from server. My 
DataGrid
> > > data is
> > > > >> an xml. In order to save do I need to convert DataGrid data
> > > before
> > > > >> sending it back to the server?
> > > > >>
> > > > >> Thanks
> > > > >>
> > > > >
> 

[flexcoders] Re: List issues

2008-01-16 Thread markcavins
That is correct. The only issues I have in flex is strict coding
nature of AS. That was the reason that I left flash back in the
earlier part of the Millennium. AS seems too much like Java to me and
I never particularly like coding in Java (I know I'll get a few emails
on that one- remember we all have our opinions). I don't know to me I
guess there are so many other languages out there -- why did we need
another one :-). 

--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> Well done. Now you can forget that Ajax stuff..  ;-)
> 
> I guess using the .. in your XML solves the problem of where the
asset data 
> sits in the XML tree.
> 
> Paul
> - Original Message - 
> From: "markcavins" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, January 15, 2008 10:58 PM
> Subject: [flexcoders] Re: List issues
> 
> 
> > Thank you to Tracy, Paul Andrews, Peter Ent and all the others that
> > were with me in spirit trying to figure this out. In case any one has
> > this same problem I am posting the solution that fixed this and this
> > part is closed.
> >
> > Thank you again.
> >
> > Mark
>




RE: [flexcoders] Dataprovider for list

2008-01-16 Thread Tracy Spratt
That should work, but be sure it is really what you want.  I would have
my list items be conceptually what the the list is about, in this case
categories, and then I would use a labelFunction() to place the nested
data in the column I want.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Wednesday, January 16, 2008 9:38 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Dataprovider for list

 

Looks as though it should work.

Try:



Paul
- Original Message - 
From: "flex2_4me" <[EMAIL PROTECTED]  >
To: mailto:flexcoders%40yahoogroups.com> >
Sent: Wednesday, January 16, 2008 12:10 PM
Subject: [flexcoders] Dataprovider for list

> Hi-
>
> I have an XML file as follows
>
> 
> 
> 
> Fruit
> 
> Cakes
> Chocolates
> 
> Vegetable
> 
> Onion
> Potato
> Tomato
> 
> 
> 
>
> I am using HTTPservice with id "getService"
>
>  id="aa"dataProvider="{getService.lastResult.root.food.category}"
> x="10" y="25"/>
>
> Using this i am getting 'Fruit' and 'vegetable' in the list
>
> Now my Question is i want all  to be displayed in list control
> ie.'Cakes'& 'onion'
> For this i tried
>  id="aa"dataProvider="{getService.lastResult.root.food.categoryitem.ite
> m1}" x="10" y="25"/>
>
> But it is throwing error:
>
> Error: Unknown Property: 'item1'.
> at
> mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscr
 
> ipt/flash/proxy::getProperty()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\collections\ListCollectionVi
> ew.as:690]
> at mx.binding::PropertyWatcher/updateProperty()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:2
> 91]
> at Function/http://adobe.com/AS3/2006/builtin::apply
 ()
> at mx.binding::Watcher/wrapUpdate()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:180]
> at mx.binding::PropertyWatcher/updateParent()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:1
> 97]
> at mx.binding::Watcher/updateChildren()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:126]
> at mx.binding::PropertyWatcher/updateProperty()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:3
> 00]
> at Function/http://adobe.com/AS3/2006/builtin::apply
 ()
> at mx.binding::Watcher/wrapUpdate()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:180]
> at mx.binding::PropertyWatcher/updateParent()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:1
> 97]
> at mx.binding::Watcher/updateChildren()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:126]
> at mx.binding::PropertyWatcher/updateProperty()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:3
> 00]
> at Function/http://adobe.com/AS3/2006/builtin::apply
 ()
> at mx.binding::Watcher/wrapUpdate()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:180]
> at mx.binding::PropertyWatcher/updateParent()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:1
> 97]
> at mx.binding::Watcher/updateChildren()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:126]
> at mx.binding::PropertyWatcher/updateProperty()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:3
> 00]
> at Function/http://adobe.com/AS3/2006/builtin::apply
 ()
> at mx.binding::Watcher/wrapUpdate()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:180]
> at mx.binding::PropertyWatcher/updateParent()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:1
> 97]
> at mx.binding::Watcher/updateChildren()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:126]
> at mx.binding::PropertyWatcher/updateProperty()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:3
> 00]
> at Function/http://adobe.com/AS3/2006/builtin::apply
 ()
> at mx.binding::Watcher/wrapUpdate()[E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:180]
> at mx.binding::PropertyWatcher/eventHandler()
> [E:\dev\flex_3_beta3
> \sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:3
> 23]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at
> mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::re


[flexcoders] Re: PrintDataGrid variablerowheight issue

2008-01-16 Thread mitek17
Hi Alex!

Thanks for the comments. At least we all know that it will be fixed
eventually.

Cheers,
Dmitri Girski.


--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I just updated some info in the bug.  It is deferred because the Player
> has some issues that we can't easily workaround that prevent us from
> having guaranteed solution.  I added code for a temporary workaround
> that will hopefully work in 'more' cases but not all.
> 
>  
> 
> -Alex
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of mitek17
> Sent: Monday, January 14, 2008 8:51 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: PrintDataGrid variablerowheight issue
> 
>  
> 
> Hooray! It is in the state of Deferred Closed. :(
> 
> PS I am just using a workaround - in the function which does a
> printing layout (e.g. showPrint() in SDK help) I do the following:
> 
> pdg_procedures.height +=5; 
> 
> This extra 5 pixels fix the problem.
> 
> Cheers,
> Dmitri.
> 
> --- In flexcoders@yahoogroups.com 
> , "jf317820"  wrote:
> >
> > https://bugs.adobe.com/jira/browse/SDK-14174
>  
> >
>




[flexcoders] Styling Custom Components

2008-01-16 Thread Varun Shetty
Hi,

how do i style custom components? Well i do realize that I cna have a style
on the main application and apply it to the custom component, but what if i
want to specify the style within the component itself.

e.g. I am making a input field which has 3 visual states. active, active and
selected, selected visual state.

and of course would love ur comments on the other coding aspect too for the
flex mxml below.


http://www.adobe.com/2006/mxml"; layout="vertical"
themeColor="haloGreen">

.basicTxt {
   borderColor: #71a100;
   color: #055598;
   fontSize: 10;
   fontWeight: bold;
   paddingLeft: 2;
   padding-Top: -5;
}
.txtOnSet {
   borderStyle: solid;
   borderColor: #8dc900;
   backgroundColor: #e8f4cc;
   color: #055598;
   paddingLeft: 2;
   fontSize: 10;
   fontWeight: bold;
}
.txtInSelection {
borderColor: #71a100;
color: #055598;
fontSize: 10;
paddingLeft: 2;
fontWeight: bold;

}







































what i am trying is to see if i can create an custom text input box, which
would have the style built within the custom component itself.

regards,
Varun shetty


RE: [flexcoders] Application domain and Modules

2008-01-16 Thread Gregor Kiddie
I've read everything off your blog (I have a RSS reader for a reason!)
including the stuff on modules, and this isn't about accessing the
module, at least as far as I think.

 

The example I posted, set the loaders application domain to new
Applicationdomain(null). That mean's no parent specified, so it becomes
a direct child of the system's ApplicationDomain. This means that any
classes loaded in that domain aren't checked against the classes loaded
in my current domain.

 

All well and good.

 

But when I add that loader as a child of the VBox, nothing appears. I'm
not trying to access the code in anyway. Does the fact that the code is
in another ApplicationDomain mean that the Manager's cannot also access
the code to display it? I would assume that the ModuleLoader could
access the classes and manage it's own display, so separation wouldn't
be a problem.

 

(As it happens, I think I've found a better solution around the problem,
but I'd still like to know the answer for this one).

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED]



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: 15 January 2008 19:33
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Application domain and Modules

 

Modules must have a common application domain otherwise you cannot
access them via classes or interfaces.  See my blog for more info
(blogs.adobe.com/aharui)

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gregor Kiddie
Sent: Monday, January 14, 2008 5:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Application domain and Modules

 

Is there any reason why the below code would not work? Although I see
the module getting loaded when watching the debugger, and I can see that
the modules always get different Application domains, nothing ever gets
added to the Content Pane. It does when I load the module without the
new ApplicationDomain.

The module consists of a MXML view which is just a label, bound to a
singleton AS class. What I'm aiming for is the ability to load a module
with a singleton into the same application repeatedly, and have the
modules act completely seperately (i.e. there is two instances of the
singleton, one for each module).

Rogerg.


http://www.adobe.com/2006/mxml"; 
layout="vertical" 
width="100%" 
height="100%">


&nb! sp;   






   ! ; 









Think you know your TV, music and film? Try Search Charades!
  

 



  1   2   >