[flexcoders] MXML components in ActionScript

2006-08-22 Thread tinywhistles



Hi
I am trying to access MXML components inside AS files. Like I have an MXML file where I have defined a panel with an ID, say loginPanel.
What's required is that in an AS file, I should get a handle to loginPanel object, instantiated locally or otherwise.
Pls help if anyone of you have any idea on this.
Thanks, Rohan
 
 
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Image reading from Oracle Intermedia

2006-08-10 Thread tinywhistles
Hi

I am storing images in Oracle Database using Oracle Intermedia. I need 
to display the images directly on the UI without storing them into the 
server filesystem. This I have achieved using JSP by embedding 
scriplets.

Now I'm trying to render the same images using Flex and AMF. Could 
anyone pls share his thoughts on how to do this ?

Thanks
Rohan  





--
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] Paging using FLEX DATA SERVICES

2006-07-13 Thread tinywhistles



Hi
I am trying to enable paging using Flex Data Services. In messaging-config.xml by specifying the paging enabled="true",  I have been able to get the first set of data(in chunks of 5 out of a total of 100) and display them on the DataGrid. But how do I proceed to see the remaining records? 
Do I have to write code to hit the FDS destination to get remaining data? I am not able to find any example in the samples.war. Even  Kevin Hoyt's blog http://weblogs.macromedia.com/khoyt/archives/2006/02/exploring_flex.cfm does not give code example to show how to scroll through the paged window.
Pls help.
`Rohan
 
 
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Pagination feature in Flex 2

2006-07-11 Thread tinywhistles



Hi
Does Flex 2 provide pagination support in the UI? For eg. there is a huge amount of data coming from the server, and I need to display them in chunks of ten at a time on the UI. Is there any out-of-the-box component which we can use for this?
Alternatively can anyone share how to do this? I need to paginate the data and show them in the DataGrid control. 
Thanks
`Rohan
 
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Applet running on Flex (production version)

2006-07-06 Thread tinywhistles

Hi

In my application I have Flex as the UI. Each of the client systems have
a scanner attached. The requirement is that on hitting the "scan" button
on the Flex UI, I should be able to scan the image and display it on the
same Flex window.

In this I have been able to achieve the following :

On the hit of "Scan" button, my MXML calls an inline JavaScript
function, which inturn opens up a new HTML window. The HTML page calls
the applet which does the actual scanning. After scanning, the image is
rendered in the HTML window itself. My concern is that I do not want to
use an HTML page because taht ways I am taking the user out of the RIA
look-n-feel. And as Flex does not provide APIs to read images from
scanners, I need to use the applet as well.

Can someone please tell me how to display the image in a Flex window,
considering the image is coming as an output from an Applet? Or, is
there a way to run the applet inside a Flex window totally? I have tried
calling the Applet from the JS function directly, but it doesn't work.

Pls give your inputs.

Thanks
Rohan







 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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] Request-Response time

2006-07-06 Thread tinywhistles

Hi

I am looking to capture the entire request-response time from an MXML ->
Java -> MXML.

Basically its a Search Application. I want to not the time it takes from
hitting the "Search" button till the results are "rendered" on the
screen.

Is there any API to record this(on client side)? Pls share any info that
you may have.

Regards
Rohan






--
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] Camera Vs Scanner in Flex

2006-06-28 Thread tinywhistles
Hi

Like Camera.GetCamera() to read images from a locally-attached camera, 
is there a similar way to read images from a Scanner?

Any clues?





 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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] Re: JTwain and Flex

2006-06-28 Thread tinywhistles



Hi Andrew
Thanks for your inputs. The flow which I have been able to achieve till now is : 
1. An MXML file which calls a JS function embedded inside it (I was able to accomplish this using Abdul Qabiz's _javascript_ injector component). 
2. The JS function opens a new HTML (popup) page which inturn has Applet tags to launch the applet which does the job of scanning. 
3. To upload the scanned image, I have written a servlet. The applet converts the java.awt.image object into a ByteArray and then by putting it into a serialized object, I am able to send the image to the server.
But is there a way to invoke the applet without having an HTML file to call it? That is, instead of Flex --> JS --> new HTML popup --> JTwain Applet, cant we just have Flex --> JS --> Applet ?
Your thoughts on this ?
Thanks, Rohan.
--- In flexcoders@yahoogroups.com, "Andrew Trice" <[EMAIL PROTECTED]> wrote:>> Rohan,> > We are working on similar functionality here at Cynergy Systems. You> will need to communicate with your applet using _javascript_. Have the> flex app call a js function that communicates with the applet, and vice> versa. You may want to look into the Flex-AJAX bridge at labs.adobe.com> to see how this can be done.> > > > The Flex file upload components are used to upload physical files from> the file system to your server. Look at the FileReference class> (http://livedocs.macromedia.com/labs/1/flex20beta3/langref//flash/net/Fi> leReference.html). > > > > If there is no physical file, you will need to create a method that> allows you to send the image data to the server. This could be done> using a servlet to open a socket between your applet and your server and> send the image data across the socket (assuming you are using a java> backend). > > > > > > _> > Andrew Trice> > Cynergy Systems, Inc.> > http://www.cynergysystems.com> > > > Blog: http://www.cynergysystems.com/roller/page/andrewtrice> > Email: [EMAIL PROTECTED]> > Office: 866-CYNERGY > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> Behalf Of tinywhistles> Sent: Monday, June 26, 2006 9:37 AM> To: flexcoders@yahoogroups.com> Subject: [flexcoders] JTwain and Flex> > > > Hi> > I am using JTwain to read a scanned image from the Client UI. For this,> I have written an applet which will detect the source attached to the> client's machine, scan the image and show it on the user's browser.> Then, by using Applet-Servlet communication, I need to store this image> in the server's file system. > > Though this has been possible to achieve, I need to keep my UI as Flex.> So, I need to call the applet from inside my Flex UI and render the> image on the browser. Also I need to use the file upload functionality> to upload this image to the server.> > Has anyone worked on a similar engagement? How can I use the File-Upload> feature to upload the image(java.awt.image object) to the server from my> Flex UI ?> > Inputs please.> > `Rohan>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] ExternalInterface + JavaScript : import

2006-06-26 Thread tinywhistles



Hi
I am trying to invoke _javascript_ functions(stored in a .JS file) from my MXML document. I am using flash.external.ExternalInterface to do the same.
But am unable to import the JS file. Could someone please tell how to import an external JS file into MXML. Pls note : I am not using an HTML wrapper in this case. There is a pure .MXML file and a .JS file to work with.
ThanksRohan

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] JTwain and Flex

2006-06-26 Thread tinywhistles



Hi
I am using JTwain to read a scanned image from the Client UI. For this,  I have written an applet which will detect the source attached to the client's machine, scan the image and show it on the user's browser. Then, by using Applet-Servlet communication, I need to store this image in the server's file system. 
Though this has been possible to achieve, I need to keep my UI as Flex. So, I need to call the applet from inside my Flex UI and render the image on the browser. Also I need to use the file upload functionality to upload this image to the server.
Has anyone worked on a similar engagement? How can I use the File-Upload feature to upload the image(java.awt.image object) to the server from my Flex UI ?
Inputs please.
`Rohan

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Applet invocation using Flex

2006-06-21 Thread tinywhistles



Hi 
Is it possible to call an applet class from a MXML file? I am trying to display a java.awt.image object in a applet window, which is pretty simple. But since I am using Flex as the UI for my application, applet windows are ruled out. 
Is there a way to overcome this? I am using Flex 2.0(beta 3) and AMF remoting.
ThanksRohan 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Extracting Form Parameters in Remote Class (Flex 2 Beta 3)

2006-06-07 Thread tinywhistles
Hi Tom

Could you please elaborate on this? A small code sample will be of 
great help.

Rohan
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> On Tuesday 06 June 2006 09:21, tinywhistles wrote:
> > flex.messaging.FlexContext.getHttpRequest().getParameter
("firstName").
> 
> If you want to pass arguments into the remote method, you have to 
put them in 
> your call to it in getdata().
> 
> -- 
> Tom Chiverton
> 
> 
> 
> 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 St James's Court Brown Street Manchester M2 
2JF.  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 
Law Society.
> 
> 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 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
> 
> We are pleased to announce that Halliwells LLP has been voted AIM 
Lawyer of the Year at the 2005 Growth Company Awards
>






 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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] Extracting Form Parameters in Remote Class (Flex 2 Beta 3)

2006-06-06 Thread tinywhistles



Hi All :)
I am working on a project using Remoting(Http) on F2B3.
I have a form with some input text boxes and a submit button. On submit, I am making an AMF call to my remote class. I need to extract the value of these form parameters here in this class. As I understand it cannot be done using flex.messaging.FlexContext.getHttpRequest().getParameter("firstName"). 
I am able to get the HttpSession and HttpServletRequest objects but can anyone please tell me how to extract the form parameters in the remote class?
My MXML looks like: 
http://www.adobe.com/2006/mxml"layout="absolute">      
    
        
     
     
         
RegardsRohan

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex 2.0 on ATG

2006-06-06 Thread tinywhistles
Hi 

Has somebody integrated ATG with Flex? I am trying to integrate Flex 
2.0 on ATG 7.1 using AMF.

Is there a way to invoke the ATG servlet pipeline from Flex using AMF? 
That way we can use all the components of ATG as is. 

Would be a great help if anyone can share his/her experience on this.

Rohan 

 





 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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/