[flexcoders] Extract PDF Document

2008-07-31 Thread khan.ibraheem
Hello,

Is it possible to extract data from pdf document in Flex ? Like
extracting data from pdf document page by page. Any example or help.

Thanks.



[flexcoders] Re: Newbie question: Removing text from textarea/disabling a character

2008-04-24 Thread khan.ibraheem
Thanks for your reply.

#1: Actually I wanted to disable backspace and this cannot be done
with restrict. Any other method you would like to suggest ?

--- In flexcoders@yahoogroups.com, "wesley.petrowski"
<[EMAIL PROTECTED]> wrote:
>
> For #1, you can use the restrict property of TextArea.  It should do 
> exactly what you need.
> 
> http://livedocs.adobe.com/flex/3/langref/mx/controls/TextArea.html#res
> trict
> 
> --- In flexcoders@yahoogroups.com, "valdhor"  wrote:
> >
> > For 1 you would probably have to add an event listener for keydown,
> > see what key it was and then stop that keycode from reaching the 
> textarea.
> > 
> > For 2, check out the following I found in the Help:
> > 
> > 
> > 
> > http://www.adobe.com/2006/mxml";>
> >   
> > 
> >> width="100%" height="100">
> >  
> > This is a test of the emergency broadcast system. It is 
> only a
> > test.
> >  
> >   
> >   
> > 
> > 
> >   
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "khan.ibraheem" 
> > wrote:
> > >
> > > Hello,
> > > 
> > > I am using a textarea. I want to achieve 2 tasks:
> > > 
> > > 1) Disable a particular character i.e. let suppose I dont want to
> > > allow a certain character being shown(when it is typed) in the 
> text
> > area.
> > > 
> > > 2) How can I remove some portion of the text from the textarea. I 
> have
> > > tried slice method but it hasnt worked.
> > > 
> > > Looking for help.
> > > 
> > > Thanks.
> > >
> >
>




[flexcoders] Newbie question: Removing text from textarea/disabling a character

2008-04-24 Thread khan.ibraheem
Hello,

I am using a textarea. I want to achieve 2 tasks:

1) Disable a particular character i.e. let suppose I dont want to
allow a certain character being shown(when it is typed) in the text area.

2) How can I remove some portion of the text from the textarea. I have
tried slice method but it hasnt worked.

Looking for help.

Thanks.



[flexcoders] Newbie Question: loading text file.

2008-04-22 Thread khan.ibraheem
I want to do 2 different things:

1) I want to load a text file from a hard-coded location and load its
contents in a string. 
2) I want to load a text file from a location choosed by user and load
its contents in a string.

How can I achieve these 2 tasks.

Thanks.



[flexcoders] Re: New Question: Component

2008-04-02 Thread khan.ibraheem
Thanks for the reply. But setTempMethod() lives in the Canvas, not in
the label. However, I have reverfied and it is working. 

Your reply was indeed helping in the way, that I came to know that I
was doing right thing. I just recheck it & there was nothing wrong in
it. Maybe I havent saved the source code or something else.

--- In flexcoders@yahoogroups.com, "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> you have a scope issue there, setTempMethod() lives in the Label not
> Canvas.  Move this method up inside Canvas and teh outside world
will have
> access.
> 
> 
> DK
> 
> On Wed, Apr 2, 2008 at 8:02 AM, khan.ibraheem <[EMAIL PROTECTED]>
> wrote:
> 
> >   Hello,
> >
> > I am creating a custom component and have 2 questions regarding it:
> >
> > 1) One way, I am thinking is to create actionscript class and use
it. I
> > can add controls using addChild method. But how can I set absolute
position
> > of the control.
> >
> > 2) The other way was to create MXML component and place all controls
> > through the help of designer. But is it possible, that I can
access methods
> > created in MXML component.
> >
> > For example:
> > ==
> > 
> > http://www.adobe.com/2006/mxml"; width="356"
> > height="38">
> >
> >  > fontWeight="bold" height="20"/>
> > 
> > 
> > 
> > 
> > =
> >
> > I have tried to access "setTempMethod" from application but it wasnt
> > allowing me to do so. So, I need help so I can create methods in
components
> > which can be used outside the component.
> >
> >
> >  
> >
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>




[flexcoders] New Question: Component

2008-04-02 Thread khan.ibraheem
Hello,

I am creating a custom component and have 2 questions regarding it:

1) One way, I am thinking is to create actionscript class and use it. I
can add controls using addChild method. But how can I set absolute
position of the control.

2) The other way was to create MXML component and place all controls
through the help of designer. But is it possible, that I can access
methods created in MXML component.

For example:
==

http://www.adobe.com/2006/mxml"; width="356"
height="38">

 
 
 
 

=

I have tried to access "setTempMethod" from application but it wasnt
allowing me to do so. So, I need help so I can create methods in
components which can be used outside the component.





[flexcoders] New Question: User Interface

2008-03-31 Thread khan.ibraheem
Hello,

I am now trying to develop a simple user interface. What I want when I
click start, a new window appears. 

So I think what I should so is: 
1) hide all current components that are visible 
2) allow the component I want to show when the button is clicked(or
certain action is taken).

I am thinking to create component for every different screen. This way
it will be easy for me to manage it.

Is this the only way or there is any better way to do it ? 

What is recommended way for creating user interface which have
switching among different screens(having different components). 

Any material, in form of tutorials or examples, would be highly
appreciated.

Thanks.



[flexcoders] Re: Newbie Question - TextArea, RichTextboxEditor.

2008-03-31 Thread khan.ibraheem
Yeah, many thanks. I understood the whole thing. Many thanks :)

--- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote:
>
> You need to check out the TextRange object.
> 
> There is an example in the manual at
>
http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_05.html.
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "khan.ibraheem" 
> wrote:
> >
> > I am a newbie and am learning this technology. Here is what I want. I
> > want a textarea in which I can color,font of text. That is I can the
> > color, font of any text in the TEXTAREA programmability. As far as I
> > know I can not achieve this through textarea because it allows to
> > change the color,font of selected text. 
> > 
> > So, I thought of using RichTextboxEditor. However, I just need a
> > simple textarea and not the toolbar, header and other controls visible
> > in RichTextboxEditor. I have hide the toolbar and header of
> > RichTextboxEditor but the size of textarea(in RichTextboxEditor) is
> > not equivalent to the size of RichTextboxEditor. 
> > 
> > Can anyone please help. I would be really thankful to him/her.
> > 
> > Regards.
> >
>




[flexcoders] Newbie Question - TextArea, RichTextboxEditor.

2008-03-29 Thread khan.ibraheem
I am a newbie and am learning this technology. Here is what I want. I
want a textarea in which I can color,font of text. That is I can the
color, font of any text in the TEXTAREA programmability. As far as I
know I can not achieve this through textarea because it allows to
change the color,font of selected text. 

So, I thought of using RichTextboxEditor. However, I just need a
simple textarea and not the toolbar, header and other controls visible
in RichTextboxEditor. I have hide the toolbar and header of
RichTextboxEditor but the size of textarea(in RichTextboxEditor) is
not equivalent to the size of RichTextboxEditor. 

Can anyone please help. I would be really thankful to him/her.

Regards.