[flexcoders] Connection problem in Flex messaging

2008-06-16 Thread paromitadey
Hi,

We have used Flex messaging in an Flex/Java based application. The 
messaging works fine in our production/QA server. But when we 
deployed the application to the production server, which can be 
accessed by a public IP, the messaging feature failed. Nevertheless, 
if we connect the production server using a VPN connection and use 
an internal IP to run the application, the messaging is working but 
does not work when the same application is accessed using the public 
IP.
We have used rtmp channel for messaging and we have opened the port 
used in both the public IP as well as the internal IP.

channel-definition id=my-rtmp 
class=mx.messaging.channels.RTMPChannel
endpoint uri=rtmp://{server.name}:2037 
class=flex.messaging.endpoints.RTMPEndpoint/
properties
idle-timeout-minutes20/idle-timeout-minutes
/properties
/channel-definition

Still we have the same problem. We are unable to find the reason for 
the dubious behavior. 

Could anyone please help us to resolve this problem. What possibly 
could be going wrong?

Thanks and Regards,
Paromita




[flexcoders] Restricting number of lines in a multiline textarea

2007-05-28 Thread paromitadey
Hello All,

Is there any way to restrict the number of lines entered in a multiline 
textarea? Something similar to maxRows/maxLines in html.

Regards,
Paromita



[flexcoders] Can we display *.bmp and *.tiff images at runtime from a flex application?

2007-01-30 Thread paromitadey
Hi All,

Need help in displaying *.bmp / *.tiff images at runtime. 

I am working in an application where the user may upload images (jsp) 
in any format (jpg/gif/png/bmp/tif) and I need to display these images 
from an user interface built in Flex with zoom effects. I am getting 
the images as image byte-stream which are returned by a java servelet 
call. I am able to display jpg/gif/png using the standard Image control 
but unable to display the bmp and tiff files. 
Is there any way to display tiff and bmp files? Any control or any 
property of the image control that needs to be configured to allow 
bmp / tiff image display ?

Please help.

Regards,
Paromita



[flexcoders] Query regarding multiple files upload using the FileReferenceList class

2007-01-17 Thread paromitadey
Hello Everybody,

I have browsed multiple files using the FileReferenceList.browse() 
method but to actually upload the fles I have to iterate through the 
FileReferenceList.fileList array and individually upload each file 
using FileReference.upload() method.

My question is, does this mean that for each file being uploaded an 
urlRequest is made and there is a server hit?

Also, is there any other way to avoid multiple server hits but upload 
multiple files? Can we do a batch upload where we can send the 
filesReferenceList object instead of individual FileReference objects 
maintained in the FileReferenceList.fileList array?

Please advise.

Thanks and Regards,
Paromita 




[flexcoders] How to access components/control properties of custom actionscript components

2006-12-27 Thread paromitadey
Hi All,

I need to create a dynamic form which has multiple pages each page 
will be displayed in separate tabs and has individual controls. On 
submit of a a button i need to trace the data entered in the controls 
for each Tab. The numer of Tabs and controls will vary depending on 
criteria (reading from an XML).
---
Sample xml data below - 
Tab tabid=App_Form_01_Tab_02 name=Tab 2 label=Product 
Information taborder=2
Section sectionid=App_Form_01_Tab_02_Sec_01 
name=Contract orderontab=1 
Attrtype name=SingleLineofText defval=This is 
single line text maxchar=35 maxlines=1 inputtype=TextInput 
attrlabel=Attribute 1/Attrtype 
Attrtype name=MultipleLinesofText defval=This is 
multi line text maxchar= maxlines=4 inputtype=TextArea 
attrlabel=Attribute 2/Attrtype
/Section
/Tab
Tab tabid=App_Form_01_Tab_03 name=Tab 2 label=New Tab 
taborder=3
Section sectionid=App_Form_01_Tab_02_Sec_01 
name=Contract orderontab=1 
Attrtype name=SingleLineofText defval=This is 
single line text maxchar=35 maxlines=1 inputtype=TextInput 
attrlabel=Attribute 1/Attrtype 
/Section
/Tab

I tried developing the above UI by creating custom actionscript 
components by extending existing UI components such as 
TabNavigator/VBox and added children at each stage until I reached 
the actual form control info using which I am creating the controls.
So the child creation is following - 
MyTabnavigator-MySectionTabs(VBox)-MySections(VBox)-
MySectionAttributes(HBox)-TextInput

I have instantiated the MyTabNavigator comp from the mxml using 
MyTabNavigator/ tag. This is displaing the dynamic form the way I 
need but now I have to access the text value entered into the 
TextInput. I tried to access the TextInput from a method written 
within a script block in the main application mxml. I am not able to 
do that. 

Could anyone please advise me on this.
Test Link - 
http://dev.eforceglobal.com/test/paromita/bin/TestActionscriptComps.ht
ml (this also has the sample view source code) 
Am I doing this the wrong way?
Please help.

Regards,
Paromita.



[flexcoders] Re: Deploying a Flex Application making rpc.remoting calls

2006-09-14 Thread paromitadey
Hello Matt,

Thank you for your advice and suggestion and I am sorry for not able 
to reply back earlier.

You are right I am using Flex Builder to compile. In Flex Builder 
compiler properties dialog box, I have added the -services-config 
argument along with the default argument '-locale en_US' separated 
by comma. The aruguments are as follows -

-locale en_US,-services-config. Other settings are set to default 
values.

After compilation, when I run the application from the browser, by 
calling the html wrapper file, it does not make the remote object 
call. But once if I directly run the mxml file from the browser, it 
executes the remote call and thereafter whenever the html wrapper is 
made to run, it calls the java remote object and executes properly. 
The remote object calls a java object that writes an xml file in the 
file system, which is further used by flex datadriven controls.

I had also tried to add the services valu directly in the flex-
config.xml file but that too did not show correct results.

servicesservices-config.xml/services

I am sure that I am following some wrong process for compilation? 
But I am unable to decipher the problem.

Please advice and help.

Thanks and Regards,
Paromita


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 Nope, you only need to deploy the SWF and HTML wrappers.  Sounds 
like
 you're compiling using Flex Builder which may mean that it's not
 pointing at the service-config.xml which I saw mentioned in some 
other
 posts recently.  Make sure you your -services-config compiler 
argument
 is set up (or that the flex-config.xml you're using has it set).
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of paromitadey
 Sent: Thursday, September 07, 2006 10:32 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Deploying a Flex Application making 
rpc.remoting
 calls
 
  
 
 Hello All,
 I am pretty new top flex and I am trying to develop a simple Flex 
 application which makes RPC remote object calls using 
 mx.rpc.remoting.RemoteObject ...
 
 The remote obect accesses a java object which in return sends a 
XML 
 stream which is further received by the flex environment for 
 populating datagrid, lists and other data driven controls.
 
 It runs fine when I make a http request call to the mxml file 
directly 
 but when I try to run the application swf using the wrapper 
created by 
 the builder itself. The remote object call it not functioning.
 
 For deploying flex application making remote object calls do we 
need 
 to run and deploy the mxml file with all related actionscript 
files in 
 the deployment environment?
 
 Please help.
 
 Regards,
 paromita









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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Problem with Application build and compile

2006-09-14 Thread paromitadey
Hello All,

While building the project, if Build Automatically is selected under 
the Project menu, the project is supposed to build while we perform 
a save operation. The build process is indicated at the Flex Builder 
status bar right hand bottom corner. 

In my case this build indication is showed at times but most of the 
time it does not show any indication. If I deselect the Build 
automatically option and forcefully try to build the project using 
Build All or Build Project, again at times it shows the Build 
process dialog box or process inidication at the status bar, but 
again mostly it doesnot show anything. 
At times the project gets build fine even though the build 
indication is not shown but many a times it is not building the 
project properly and I am getting erroneous results.

What may be the reason? I am working on an application which is 
using XMLListCollections ArrayCollections, lots of databinding and 
custom components etc. Could it be a memory issue? Do I need to do 
any specific setting changes for project build and compilation?

Please advise.

Regards,

Paromita









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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Error with Flex Builder

2006-09-14 Thread paromitadey
Hello All,

I am getting a strange error while working on the Flex Builder 2.0. 
It displays a dialog box with the following text - 

JVM Terminated. Exit code=1
C:\Program Files\Adobe\Flex Builder 2\jre\bin\javaw.exe
-Xms128M
-Xmx512M
-XX:MinHeapFreeRatio=20
-jar C:\Program Files\Adobe\Flex Builder 2\startup.jar
-os win32
-ws win32
-arch x86
-launcher C:\Program Files\Adobe\Flex Builder 2\FlexBuilder.exe
-name FlexBuilder
-showsplash 600
-exitdata 964_60
-vm C:\Program Files\Adobe\Flex Builder 2\jre\bin\javaw.exe
-vmargs
-Xms128M
-Xmx512M
-XX:MinHeapFreeRatio=20
-jar C:\Program Files\Adobe\Flex Builder 2\startup.jar

with an OK button.

Whenever this dialog box is given the Flex Builder application 
window closes by itself and I have to reopen the Flex Builder from 
Start-Programs-Adobe-Adobe Flex Builder 2

Is this a common problem? Please advise what do I need to do to 
solve this problem.

Thanks and Regards,
Paromita







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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] UI Problem : HorizontalScrollPolicy and VerticalScrollPolicy

2006-08-25 Thread paromitadey
Hi All,

I am new to Flex and I need urgent help. I am trying to control the 
Horizontal and Vertical scroll policies of different layout controls 
(sav VBox, HBox etc.) using simple actionscript codes. 
Default I have the scroll policy 'off' but on certain condition (click 
of a button), I wish to switch the scroll policy on.
On doing so the screen displays an a rectangular area but not the 
scrollbar. But if I resize the window, the scrollbar appears. Is there 
an refresh issue?
What do I need to do to get the scrollbar directly on clicking and 
without having to resize the window.

Thanks and Regards,

Paromita







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