[flexcoders] CSS text formatting Flex 1.5 or Flex 2.0

2005-11-15 Thread AC
Does anyone know if Flex 1.5 or Flex 2.0 has
{text-decoration:line-through} Or how this can be achieved within the
Text or Label control.

Response appreciated





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] cellRender NumericStepper

2005-07-04 Thread AC
Hello
I am trying to create a numeriStepper control as a cellRenderer
component within a grid. While doing this I have come across a
problem, whenever I change the value of numericStepper it fails to
retain its new value and restores itself back to its original
DataGrid.dataProvider value on subsequent `focusIn' event. 

Anybody know how I can get around this issue?

I would also like to modify the value of a neighbouring cell in the
grid based on the newly selected/incremented value. All help appreciated.

Thank you.





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

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

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

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




[flexcoders] Re: cellRender NumericStepper

2005-07-05 Thread AC
Abdul, sounds like you have experience of this any change a a simple
code example to get me off the mark.



--- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> wrote:
> Are you changing value in setValue(..) method? Are you calling
> listOwner.editField(..) also to save the value in dataProvider when NS
> value is changed?
> 
> 
> -abdul 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of AC
> Sent: Monday, July 04, 2005 8:38 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] cellRender NumericStepper
> 
> Hello
> I am trying to create a numeriStepper control as a cellRenderer
> component within a grid. While doing this I have come across a
> problem, whenever I change the value of numericStepper it fails to
> retain its new value and restores itself back to its original
> DataGrid.dataProvider value on subsequent `focusIn' event. 
> 
> Anybody know how I can get around this issue?
> 
> I would also like to modify the value of a neighbouring cell in the
> grid based on the newly selected/incremented value. All help
> appreciated.
> 
> Thank you.
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links




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

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

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

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




[flexcoders] Cursor change problem

2005-08-30 Thread AC
Probably an easy question for those who know...

I'm trying to change the default cursor to a hand cursor when hovering
over a component. The component is based on the VBox. 

I want to use the Flexs hand-cursor icon, which appears within
MovieClips components e.g.  Buttons when "useHandCursor" property is
set, and not have to create my own icon. 

Can't find this in the docs.

Is there something like "setHandCursor()" and "removeHandCursor()"
within flex?

setCursor(cursorSymbol:String, priorityLevel:Number, xOffset:Number,
yOffset:Number)

All help is appreciated.






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




Creating nested controls

2005-02-21 Thread AC

Hello

I have three Objects; 2 HBoxes which are populated with children at
runtime, and a DataGrid. At runtime, I am trying to create a parent
control (VBox) which contains all three of these controls.

The two HBoxes are populated with child controls using
createChild(...) method. Once this is done I need to add these HBox
container controls to a parent VBox control (at runtime). How do I
achive this? Is there a method such as "addControl(...);" I've been
through the docs, can't seem to find such a method, am I missing
something here?

All Help is appreciated. 








Re: Creating nested controls

2005-02-24 Thread AC

Hi

Background: I have created a control which displays a DataGrid with a
header and footer show simple information such as a title and a time
stamp. It is possible to scroll the grid and print each row of data
held in the grid. (Resizing of the grid is not possible as it messes
up the printing).

I am now trying to create the same control at runtime, this control is
NOT a "visible" UI component that can be view in the application, its
purpose it to be a print format control. This print control is a VBox
containing a HBox, DataGrid and an other HBox, inturn each HBox
contains 2 lables (making a total of four labels). To build this
control at design time is very straight-forwards, however, I am trying
to accomplish this, in memory, at runtime essentially a non-visual
control, and then send it to print. 

Is this at all possible in flex?


--- In flexcoders@yahoogroups.com, Manish Jethani
<[EMAIL PROTECTED]> wrote:
> AC wrote:
> 
> > I have three Objects; 2 HBoxes which are populated with children
at
> > runtime, and a DataGrid. At runtime, I am trying to create a
parent
> > control (VBox) which contains all three of these controls.
> 
> Create the three as children of the VBox.
> 
> hbox1 = vbox.createChild(HBox, "");
> hbox2 = vbox.createChild(HBox, "");
> datagrid1 = vbox.createChild(DataGrid, "");
> 
> If you have already created the three controls, I don't think you
can 
> change their parents (so you can't add them to the VBox, AFAIK).
> 
> Manish







Advanced Printing Question

2005-02-24 Thread AC

Hi

Background: I have created a control which displays a DataGrid with a
header and footer showing simple information such as a title and a
time stamp. It's possible to scroll the grid and print each row of
data held in the grid. however, resizing of the grid is not possible
as it messes up the printing.

I am now trying to create the same control at runtime, this control is
NOT a "visible" UI component that can be view in the application, its
purpose it to be a print format control. This print control is a VBox
containing a HBox, DataGrid and an other HBox, inturn each HBox
contains 2 lables (making a total of four labels). To build this
control at design time is very straight-forwards, however, I am trying
to accomplish this, in memory, at runtime essentially a non-visual
control, and then send it to print. 

Is this at all possible in flex?

Thanks 







Help Systems integration advice

2005-03-11 Thread AC

Hello

I am trying to integrate a help system with a flex app am currently
developing. I am currently evaluating Robohelp (FlashHelp; as it's a
MM product !!), is there an elegant way of calling FlashHelp files
from within flex without having to go out to javascript. Ideally via
ActionScript. 

Has anyone done anything like this with their flex apps?
Thoughts, suggestions, code snippets are very welcome especially from
the MM people. 

:-)







Help with effects

2005-02-10 Thread AC

Hi 

Is there a way of knowing/ being notified when and effect (such as
resize) has ended.
I guess what I am looking for is an event which tells me when the
effect has ended.

Any help is appreciated.







Re: Help with effects

2005-02-10 Thread AC

Ali i've just phoned you, but you weren't there. looks like you're
surfing instead. 

:-)

Ps cheers.

--- In flexcoders@yahoogroups.com, "Alistair McLeod" <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Try something like this:
> 
> //create whatever effect you want
> var effect : Move = new Move( theComponentToPlayEffectOn );
> effect.xTo = 200;
> effect.yTo = 200; 
> 
> effect.listener = new Object();
> 
> effect.listener.onEffectEnd = mx.utils.Delegate.create( this,
function() 
> {
> //this will be called when the effect ends
> };
> 
> effect.playEffect(); 
> 
> 
> Ali
> 
> --
> Alistair McLeod
> Development Director
> iteration::two
> [EMAIL PROTECTED]
> 
> Office: +44 (0)131 338 6108
> 
> This e-mail and any associated attachments transmitted with it may
contain
> confidential information and must not be copied, or disclosed, or
used by
> anyone other than the intended recipient(s). If you are not the intended
> recipient(s) please destroy this e-mail, and any copies of it,
immediately.
> 
> Please also note that while software systems have been used to try
to ensure
> that this e-mail has been swept for viruses, iteration::two do not
accept
> responsibility for any damage or loss caused in respect of any viruses
> transmitted by the e-mail. Please ensure your own checks are carried out
> before any attachments are opened.
> 
> 
> -Original Message-
> From: AC [mailto:[EMAIL PROTECTED] 
> Sent: 10 February 2005 14:59
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Help with effects
> 
> 
> 
> Hi 
> 
> Is there a way of knowing/ being notified when and effect (such as
> resize) has ended.
> I guess what I am looking for is an event which tells me when the
effect has
> ended.
> 
> Any help is appreciated.
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links







Re: Advanced Printing Question

2005-02-28 Thread AC

Hi, 

As a simple test, I have tried this a while back, and found that it's
not feasible. 

I am unable to do this as I will have over several hundred app screens
when the application is finally build. This approach, if it worked
correctly, would require a lots a print layout screens, in my case
almost one for one. This is not acceptable, an is the reason why I
want to know what I am trying, is it feasible, 


> I am trying to create a print control/ layout at runtime, this
control is
> NOT a "visible" UI component that can be view in the application, its
> purpose it to be a print format control. This print control is a VBox
> containing a HBox, DataGrid and an other HBox, in turn each HBox
> contains 2 lables (making a total of four labels). To build this
> control at design time is very straight-forwards, however, I am trying
> to accomplish this, in memory, at runtime essentially a non-visual
> control, and then send it to the printer.

The idea is: If I can programmatically build a complex nested control
(eg Lables inside HBox, which are in turn inside VBox which can have a
variety of different sibling controls) and then send it to the print
to SUCCESSFULLY print, I would save a lot of work and maintenance
issues in the long run.

Help and guidance from everyone is appreciated.

Regards
:-)

--- In flexcoders@yahoogroups.com, Manish Jethani
<[EMAIL PROTECTED]> wrote:
> Yes, you can do this. In fact, just create a custom MXML component and 
> instantiate it.
> 
> 
> 
> 
> ... (other stuff you want)
> 
> 
> var p = PopUpManager.createPopUp(this, MyPrintableComponent, false);
> p.visible = false;
> 
> Then you can print p. I haven't tried it, but it should work.
> 
> Manish
> 
> AC wrote:
> > 
> > Hi
> > 
> > Background: I have created a control which displays a DataGrid with a
> > header and footer showing simple information such as a title and a
> > time stamp. It's possible to scroll the grid and print each row of
> > data held in the grid. however, resizing of the grid is not possible
> > as it messes up the printing.
> > 
> > I am now trying to create the same control at runtime, this control is
> > NOT a "visible" UI component that can be view in the application, its
> > purpose it to be a print format control. This print control is a VBox
> > containing a HBox, DataGrid and an other HBox, inturn each HBox
> > contains 2 lables (making a total of four labels). To build this
> > control at design time is very straight-forwards, however, I am trying
> > to accomplish this, in memory, at runtime essentially a non-visual
> > control, and then send it to print. 
> > 
> > Is this at all possible in flex?
> > 
> > Thanks 
> > 
> > 
> > 
> > 
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >







Printing

2005-02-07 Thread AC

Hello

I'm trying to print a given screen (containing a grid), but in the
print I would like to place a title bar, page numbers, time stamp and
reformat the screen in question. I, however, don't want to create a
separate screen for this. Therefore I am trying to do this in memory;
any ideas, on how I can achieve this, would be most helpful.

Does anyone know if flex printing is going to be improved in the next
version of Flex as it's very inadequate for enterprise application
development at the moment. 

Thanks in advance.








[flexcoders] Re: My Company's Flex Site Live

2005-04-08 Thread AC


Hello James 

First of all… complement on the look of the site. It's very nice.

I have a technical question for you… in you Flex website have you
embedded the images into your flex swf/movie or are you using the Load
function to load the images website. 

Your response would be much appreciated.

Regards 
Al


--- In flexcoders@yahoogroups.com, James Ward <[EMAIL PROTECTED]> wrote:
> I want to thank everyone on this list for all the help over the past few
> months!  Just minutes ago we launched our all Flex site:
> 
> http://www.pillardata.com
> 
> Flex is beautiful and this community makes it even better!  Thank you
> all!
> 
> -James





 
Yahoo! Groups Links

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

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

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





[flexcoders] TextArea help

2005-04-20 Thread AC


Hello to all flex masters

Can somebody tell me how to programmatically enter a piece of text
into a specific position within a TextArea that already contains a
block of text. 

I have a TextArea containing a block of text. I am trying to insert
additional text into an arbitrary position within the already existing
block of text. I want to select the text insert position using the
MOUSE cursor then click a button to add text to the previously
selected position.

A code example/snippet would be most helpful. 

Thanks in advance





 
Yahoo! Groups Links

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

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

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





[flexcoders] Re: TextArea help

2005-04-21 Thread AC


Matt

The Selection.getCartIndex() doesn't seem to work, I've tried to call
it when I loose or gain focus within the textArea control. 
Irrespective of where the cursor is within the text area the
Selection.getCartIndex() seems to return "0" or "-1"; naturally there
is text inside the text area.

Do you have an instance where it's been used correctly, I been through
the MM web documentation and have failed to get it to work.

I include my test bed. Am I using it correctly?


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










International
Jewel
Thief














Thanks you.


--- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote:
> Check out the Selection.getCaretIndex() function maybe?  I haven't tried
> this but you could probably do something like this:
> 
>  
> 
> var text : String = myTA.text;
> 
> var idx : Number = Selection.getCaretIndex();
> 
> var start : String = text.substring(0, idx);
> 
> var end : String = text.substring(idx);
> 
> var whole : String = start + "my new text" + end;
> 
> myTA.text = whole;
> 
>  
> 
> Matt
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, April 20, 2005 8:45 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] TextArea help
> 
>  
> 
> 
> Hello to all flex masters
> 
> Can somebody tell me how to programmatically enter a piece of text
> into a specific position within a TextArea that already contains a
> block of text. 
> 
> I have a TextArea containing a block of text. I am trying to insert
> additional text into an arbitrary position within the already existing
> block of text. I want to select the text insert position using the
> MOUSE cursor then click a button to add text to the previously
> selected position.
> 
> A code example/snippet would be most helpful. 
> 
> Thanks in advance
> 
> 
> 
> 
> 
> 
>   _  
> 
> Yahoo! Groups Links
> 
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
>  
>   
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>  
>   
> * Your use of Yahoo! Groups is subject to the Yahoo!
>   Terms of Service.





 
Yahoo! Groups Links

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

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

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





[flexcoders] Re: TextArea help

2005-04-22 Thread AC


Thanks Matt 
The help is appreciated.

AC

--- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote:
> Instead of using focusOut and focusIn I used keyDown and mouseUp and
that
> seemed to do the trick.  It may not be perfect all the time, I'd
imagine you
> can type fast enough and maybe confuse it, but this should get you
going.
> 
>  
> 
> Matt
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 21, 2005 4:43 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: TextArea help
> 
>  
> 
> 
> Matt
> 
> The Selection.getCartIndex() doesn't seem to work, I've tried to call
> it when I loose or gain focus within the textArea control. 
> Irrespective of where the cursor is within the text area the
> Selection.getCartIndex() seems to return "0" or "-1"; naturally there
> is text inside the text area.
> 
> Do you have an instance where it's been used correctly, I been through
> the MM web documentation and have failed to get it to work.
> 
> I include my test bed. Am I using it correctly?
> 
> 
> http://www.macromedia.com/2003/mxml
> <http://www.macromedia.com/2003/mxml> " >
>   
>   
>   
> 
>   
> 
>change="myAddTextToTxtArea(event);">
> 
>   
> International
> Jewel
> Thief
>   
> 
>   
> 
> 
> 
>focusIn="getCurPos(event);showCaretIndex();"
> focusOut="getCurPos(event);showCaretIndex();" editable="true"
> width="350" height="80%" />
>height="40"/>
>click="showCaretIndex();" />
> 
>   
> 
> 
> 
> Thanks you.
> 
> 
> --- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote:
> > Check out the Selection.getCaretIndex() function maybe?  I haven't
tried
> > this but you could probably do something like this:
> > 
> >  
> > 
> > var text : String = myTA.text;
> > 
> > var idx : Number = Selection.getCaretIndex();
> > 
> > var start : String = text.substring(0, idx);
> > 
> > var end : String = text.substring(idx);
> > 
> > var whole : String = start + "my new text" + end;
> > 
> > myTA.text = whole;
> > 
> >  
> > 
> > Matt
> > 
> >  
> > 
> >   _  
> > 
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, April 20, 2005 8:45 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] TextArea help
> > 
> >  
> > 
> > 
> > Hello to all flex masters
> > 
> > Can somebody tell me how to programmatically enter a piece of text
> > into a specific position within a TextArea that already contains a
> > block of text. 
> > 
> > I have a TextArea containing a block of text. I am trying to insert
> > additional text into an arbitrary position within the already existing
> > block of text. I want to select the text insert position using the
> > MOUSE cursor then click a button to add text to the previously
> > selected position.
> > 
> > A code example/snippet would be most helpful. 
> > 
> > Thanks in advance
> > 
> > 
> > 
> > 
> > 
> > 
> >   _  
> > 
> > Yahoo! Groups Links
> > 
> > *  To visit your group on the web, go to:
> > http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/> 
> > <http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/> > 
> >   
> > *  To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]> 
> >   
> > *  Your use of Yahoo! Groups is subject to the Yahoo!
> > <http://docs.yahoo.com/info/terms/
<http://docs.yahoo.com/info/terms/> >
> Terms of Service.
> 
> 
> 
> 
> 
> 
>   _  
> 
> Yahoo! Groups Links
> 
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/> 
>   
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>   
> * Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service.





 
Yahoo! Groups Links

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

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

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





[flexcoders] Event Listeners; Flex internal question for flex gurus

2005-04-27 Thread AC


Hello

I have a control which dynamically changes a given control (TextInput
to ComboBox and visa versa) depending on the user selection. This
happens numerous times within the life time applications lifetime. 

The dynamically created control gets event-listeners attached to it. 
When this control is destroyed what happens to the event object that
was attached to it? Should "removeEventListener(...)" be used to
remove the event before the object is destroyed?

If so, can someone tell me is it possible and how can I inspect an
object to see what eventListeners have been added to it? 

Thanks in Advance
AC






 
Yahoo! Groups Links

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

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

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





[flexcoders] backgoundImage style property

2005-05-06 Thread AC
The "backgroundImage" style property of a container component; is
there a way of positioning the background image so its origin is not
in the centre but at the very top-left of the image?

Thanks in advanced.





 
Yahoo! Groups Links

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

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

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