[flexcoders] crossdomain.xml issue

2009-07-30 Thread akila_ksri
Hi,

My flex application is hosted on a public-ip machine and it is accessing the 
webservice hosted on a Jboss server on another public-ip machine. The 
crossdomain.xml file is placed at the root of the server and looks as shown 
below

  ?xml version=1.0 ? 
  !DOCTYPE cross-domain-policy (View Source for full doctype...) 
 cross-domain-policy
  site-control permitted-cross-domain-policies=master-only / 
  allow-access-from domain=* secure=true / 
  allow-http-request-headers-from domain=* headers=* secure=true / 
  /cross-domain-policy

I am able to access and load the swf file in the same domain. But when I access 
the swf from a different domain, I am getting 'Security Error' and the 
webservice call fails inspite of having the crossdomain file on the server.

Any pointers in this regard would be greatly appreciated. I am stuck with 
problem from past 1 week and need to get this working at the earliest.

Thanks in advance,
Akila 



[flexcoders] Security error accessing url - webservices.

2009-06-29 Thread akila_ksri
Hi,

I am trying to call a webservice from my flex app. The webservice and the app 
are both in the same network. When I run the application, I get the following 
error:

Security error accessing url faultCode=Channel.Security.Error 
faultDetail=Unable to load WSDL. If currently online, please verify the URI 
and/or format of the WSDL]

I tried by placing the cross-domain.xml file at the root directory, but to no 
avail.

I need to get this working asap, any help to resolve this would be greatly 
appreciated.

Thanks in advance,
Akila 



[flexcoders] Support for Regional Languages in Flex?

2009-03-16 Thread akila_ksri
Hi,

I need my flex application to display text in regional languages like 
tamil,kannada,etc
How do i exactly proceed on this?

Any help would be greatly appreciated.

Thanks,
Akila 



[flexcoders] Launching Air application from ASP .NET

2009-03-04 Thread akila_ksri
I have an AIR application that I need to run from an ASP.NET page. I use 
System.Diagonistics.Process to launch the exe file (on installing the .air 
file). My application does not seem to working though. It appears in the task 
manager but does not seem to run properly. 

On start of the application itself, I write a file to disk. But when I launch 
this through the Process, no file gets written.

Any response is greatly appreciated.

Thanks,
Akila



[flexcoders] Re: Launching Air application from ASP .NET

2009-03-04 Thread akila_ksri
The app is already written in Flex and I need to reuse it. I do not want to 
duplicate the code in ASP .NET.

To answer your first question, I want to write the file to the local disk 
(wherever the ASP .NET app is running). Although I do not think security should 
be an issue here, I have given complete access to the ASPNET user. 

--- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:

 ASP.NET executes applications as a different user with a different set
 of permissions. If you are writing to local storage, it would be in a
 different location than what you would expect if you are running the
 app as yourself. Where are you writing to?
 
 Can I ask why you are doing this? What does AIR offer that you can't
 do using ASP.NET on the server?
 
 2009/3/4 akila_ksri akila_k...@...:
  I have an AIR application that I need to run from an ASP.NET page. I use 
  System.Diagonistics.Process to launch the exe file (on installing the .air 
  file). My application does not seem to working though. It appears in the 
  task manager but does not seem to run properly.
 
  On start of the application itself, I write a file to disk. But when I 
  launch this through the Process, no file gets written.
 
  Any response is greatly appreciated.
 
  Thanks,
  Akila
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: 
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 
 
 
 





[flexcoders] Reading the output of an AIR application in C#

2009-02-26 Thread akila_ksri
Hi,

I have an Air application which is launched from a C# application 
using System.Diagnostics.Process.Start(myAirApp.exe). I need to be 
able to return some results from the Air app  back to my C# app.

Is there any way to do this? 

Any help regarding this would be greatly appreciated.

Thanks in advance,
Akila 



[flexcoders] Re: Reading the output of an AIR application in C#

2009-02-26 Thread akila_ksri
Hi Tom,

Thanks for your quick response, I do not want to write to a file 
mainly because, the output keeps coming from the Air application and I 
need to do the processing at the same time in C# and not wait till the 
application has exited completly.

-Akila

--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... 
wrote:

 On Thursday 26 Feb 2009, akila_ksri wrote:
  using System.Diagnostics.Process.Start(myAirApp.exe). I need to 
be
  able to return some results from the Air app  back to my C# app.
 
 obviousHave the AIR app write a file, read that back in.
 
 -- 
 Tom Chiverton
 Helping to dynamically cluster cross-media cross-platform e-services
 
 
 
 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 together with a list of those non members who 
are referred to as partners.  We use the word ?partner? to refer to a 
member of the LLP, or an employee or consultant with equivalent 
standing and qualifications. 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] Problem in Streaming Live data using Flash Media Server

2009-02-05 Thread akila_ksri
I have the client application and the FMS running on the same machine,
the client app connects to the server successfully but fails to play 
any content(Pre-recorded flv/swf) which is also present in the same 
directory using NetStream.play(contentPath); and i always get 
NetStream.Play.StreamNotFound
Could anyone tell me if i am doing anything wrong?

Any help would be greatly appreciated.

Thanks in advance,
Akila



[flexcoders] Re: Problem in Streaming Live data using Flash Media Server

2009-02-05 Thread akila_ksri
Yes, you are right it resides in the same directory as my application

--- In flexcoders@yahoogroups.com, Nate Beck n...@... wrote:

 When you say... present in the same directory.. which directory 
are you
 referring to?  The FLV file resides in the same directory as your
 application?
 It's been a while since I've used FMS... but in Wowza Media Server 
there is
 an audio folder where all of the stream FLV files are located.
 
 On Thu, Feb 5, 2009 at 4:47 AM, akila_ksri akila_k...@... wrote:
 
I have the client application and the FMS running on the same 
machine,
  the client app connects to the server successfully but fails to 
play
  any content(Pre-recorded flv/swf) which is also present in the 
same
  directory using NetStream.play(contentPath); and i always get
  NetStream.Play.StreamNotFound
  Could anyone tell me if i am doing anything wrong?
 
  Any help would be greatly appreciated.
 
  Thanks in advance,
  Akila
 
   
 
 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net






[flexcoders] API to get the timezone information?

2009-01-14 Thread akila_ksri
Hi,

Would like to know if there is any direct API available in 
actionscript/C# to get the timezone information, given the city name?

Thanks in advance,
Akila 






[flexcoders] Re: Updates Issue in Mozilla ....any thoughts to share???

2009-01-08 Thread akila_ksri
--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... 
wrote:

 On Wednesday 07 Jan 2009, akila_ksri wrote:
  The application we are developing needs the controls like labels, 
data
  grid etc., to be updated every second. This works fine without any
  issue in IE 7, but the updates fail to happen in Mozilla most of 
the
  time. Clearing cache through html does not work!!!
 
 So, what have you tried ? Where have you looked to see how far the 
 request/response gets ?
 
 -- 
 Tom Chiverton
 Helping to enthusiastically reinvent granular sticky web-enabled 
 functionalities
 
 

Hi Tom,

The response reaches the player. But the player use to update only 
when i clear cache manually and refresh it.
I tried with what Alex suggested (appending a unique string to the 
url) and it works fine!:)...Thanks for your response anyways:)

-akila





[flexcoders] Re: Updates Issue in Mozilla ....any thoughts to share???

2009-01-08 Thread akila_ksri
Hi Alex,

Thanks a lot for your suggestion. It works just fine:) 

-akila

--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... 
wrote:

 You could append a unique value to a querystring on the server URL 
for
 each update, something to fool the browser into clearing the cache.
 The date/time worked for me when dealing with images that were being
 cached.
 
 Of course, updating the data every second seems inefficient and will
 put a lot of load on your server, but if that's part of your
 requirements, who am I to question it.
 
 -Alex 
 
 --- In flexcoders@yahoogroups.com, akila_ksri akila_ksri@ wrote:
 
  The application we are developing needs the controls like labels, 
data 
  grid etc., to be updated every second. This works fine without any   
  issue in IE 7, but the updates fail to happen in Mozilla most of 
the 
  time. Clearing cache through html does not work!!!
  We have to get it working in Mozilla at the earliest.
  Any thoughts on how to achieve this would be greatly appreciated.
  Waiting for a positive response..
  
  Thanks in advance,
  Akila
 






[flexcoders] Re: Updates Issue in Mozilla ....any thoughts to share???

2009-01-08 Thread akila_ksri
Hi Alex,

Thanks a lot for your suggestion. It works just fine:)

-akila

--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... 
wrote:

 You could append a unique value to a querystring on the server URL 
for
 each update, something to fool the browser into clearing the cache.
 The date/time worked for me when dealing with images that were being
 cached.
 
 Of course, updating the data every second seems inefficient and will
 put a lot of load on your server, but if that's part of your
 requirements, who am I to question it.
 
 -Alex 
 
 --- In flexcoders@yahoogroups.com, akila_ksri akila_ksri@ wrote:
 
  The application we are developing needs the controls like labels, 
data 
  grid etc., to be updated every second. This works fine without any   
  issue in IE 7, but the updates fail to happen in Mozilla most of 
the 
  time. Clearing cache through html does not work!!!
  We have to get it working in Mozilla at the earliest.
  Any thoughts on how to achieve this would be greatly appreciated.
  Waiting for a positive response..
  
  Thanks in advance,
  Akila
 






[flexcoders] Updates Issue in Mozilla ....any thoughts to share???

2009-01-06 Thread akila_ksri
The application we are developing needs the controls like labels, data 
grid etc., to be updated every second. This works fine without any   
issue in IE 7, but the updates fail to happen in Mozilla most of the 
time. Clearing cache through html does not work!!!
We have to get it working in Mozilla at the earliest.
Any thoughts on how to achieve this would be greatly appreciated.
Waiting for a positive response..

Thanks in advance,
Akila





[flexcoders] Problem in Flash Player 10

2008-11-06 Thread akila_ksri
Hi,

It looks like there are some security restrictions that have been 
added to Flash Player 10 which does not support file download which 
works without any issues in Flash Player 9.
This Error #2176 occurs in Flash Player 10 (the latest version 
released by Adobe).

Any workaround for this would be greatly appreciated. I am stuck with 
this from past 1 week and need to get it working irrespective of the 
flash version.

Thanks in advance,
Akila








[flexcoders] How to check if a file already exists on the disk before downloading

2008-10-23 Thread akila_ksri
Is there any way to check for a file(image/video/swf) on the local
disk before downloading it?



[flexcoders] Re: Problem with scaleX for system fonts!

2008-10-20 Thread akila_ksri
--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED]
wrote:

 You have to embed the font with all typeface styles you need. If for
example
 you need the plain, bold and bold-italic typefaces, then you have to
embed
 the font three times with the different typeface properties:
 @font-face {  src: local(Arial);
   fontFamily: myFontFamily;
   advancedAntiAliasing: true;
 }
 
 @font-face {  src: local(Arial);
   fontFamily: myFontFamily;
   fontWeight: bold;
   advancedAntiAliasing: true;
 }
 
 @font-face {  src: local(Arial);
   fontFamily: myFontFamily;
   fontWeight: bold;
   fontStyle: italic;
   advancedAntiAliasing: true;
 }
 
 
 
 On Mon, Oct 20, 2008 at 7:50 AM, akila_ksri [EMAIL PROTECTED] wrote:
 
--- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.com, Amy
  amyblankenship@ wrote:
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  akila_ksri akila_ksri@ wrote:
   
Hi,
   
I need to apply horizontal scaling for a text with 'Arial' font.
lbl.scaleX = 0.70 simply does not work . I can only see that
there is
   a
change in the width of the label.
   
Is there anything i am missing out to scale the text?? Is
scaling not
applicable for system fonts? ( I tried the same with font
'Verdana',
but again, no luck!)
   
Any help would be greatly appreciated.
  
   Try one of the following:
  
   1) Set the blendMode to layer
   2) Set the container's cacheAsBitmap to true
   3) Embed the font
  
   HTH;
  
   Amy
  
  Hi Amy,
 
  Thanks for your response. I tried what you suggested, embedding the
  font and then applying scaleX to the text.
  This works fine if the font is just 'Arial'. It does not work if i
  make the text bold/italic. It is necessary for the font to be bold and
  in italics. I cant get it to work:(
 
  akila
 
   
 
 
 
 
 -- 
 Haykel Ben Jemia
 
 Allmas
 Web  RIA Development
 http://www.allmas-tn.com

Hi Haykel,

I tried this one too, it still doesnt work..
It looks like i just cant scale text which is bold and italisized!




[flexcoders] Re: Problem with scaleX for system fonts!

2008-10-20 Thread akila_ksri
--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] 
wrote:

 You can't apply any effects or transformations (alpha, rotation, 
scaling
 etc.) on fonts if they are not embedded!
 
 
 On Mon, Oct 20, 2008 at 4:21 PM, Amy [EMAIL PROTECTED] wrote:
 
--- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com,
  akila_ksri akila_ksri@
  wrote:
  
   --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com, Amy
  amyblankenship@ wrote:
   
--- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com,
  akila_ksri akila_ksri@
  wrote:

 Hi,

 I need to apply horizontal scaling for a text with 'Arial' 
font.
 lbl.scaleX = 0.70 simply does not work . I can only see 
that
  there is
a
 change in the width of the label.

 Is there anything i am missing out to scale the text?? Is
  scaling not
 applicable for system fonts? ( I tried the same with
  font 'Verdana',
 but again, no luck!)

 Any help would be greatly appreciated.
   
Try one of the following:
   
1) Set the blendMode to layer
2) Set the container's cacheAsBitmap to true
3) Embed the font
   
HTH;
   
Amy
   
   Hi Amy,
  
   Thanks for your response. I tried what you suggested, 
embedding the
   font and then applying scaleX to the text.
   This works fine if the font is just 'Arial'. It does not work 
if i
   make the text bold/italic. It is necessary for the font to be 
bold
  and
   in italics. I cant get it to work:(
 
  Try using the blendMode setting instead. It's way simpler, and it
  won't bloat your file size.
 
  HTH;
 
  Amy
 
   
 
 
 
 
 -- 
 Haykel Ben Jemia
 
 Allmas
 Web  RIA Development
 http://www.allmas-tn.com

Hi Haykel,

I tried the example you sent, and it works!
Thanks a ton:)

-akila



[flexcoders] Re: Problem with scaleX for system fonts!

2008-10-20 Thread akila_ksri
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, akila_ksri akila_ksri@ 
 wrote:
 
  --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
  
   --- In flexcoders@yahoogroups.com, akila_ksri akila_ksri@ 
 wrote:
   
Hi,

I need to apply horizontal scaling for a text with 'Arial' 
font.
lbl.scaleX = 0.70 simply does not work . I can only see that 
 there is 
   a 
change in the width of the label.

Is there anything i am missing out to scale the text?? Is 
 scaling not 
applicable for system fonts? ( I tried the same with 
 font 'Verdana', 
but again, no luck!)

Any help would be greatly appreciated.
   
   Try one of the following:
   
   1)  Set the blendMode to layer
   2)  Set the container's cacheAsBitmap to true
   3)  Embed the font
   
   HTH;
   
   Amy
  
  Hi Amy,
  
  Thanks for your response. I tried what you suggested, embedding 
the
  font and then applying scaleX to the text.
  This works fine if the font is just 'Arial'. It does not work if 
i
  make the text bold/italic. It is necessary for the font to be 
bold 
 and
   in italics. I cant get it to work:(
 
 Try using the blendMode setting instead.  It's way simpler, and it 
 won't bloat your file size.
 
 HTH;
 
 Amy

Hi Amy,

I got it working with what Haykel suggested.
Thanks for your response too.

akila




[flexcoders] Re: Problem with scaleX for system fonts!

2008-10-19 Thread akila_ksri
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, akila_ksri akila_ksri@ wrote:
 
  Hi,
  
  I need to apply horizontal scaling for a text with 'Arial' font.
  lbl.scaleX = 0.70 simply does not work . I can only see that there is 
 a 
  change in the width of the label.
  
  Is there anything i am missing out to scale the text?? Is scaling not 
  applicable for system fonts? ( I tried the same with font 'Verdana', 
  but again, no luck!)
  
  Any help would be greatly appreciated.
 
 Try one of the following:
 
 1)  Set the blendMode to layer
 2)  Set the container's cacheAsBitmap to true
 3)  Embed the font
 
 HTH;
 
 Amy

Hi Amy,

Thanks for your response. I tried what you suggested, embedding the
font and then applying scaleX to the text.
This works fine if the font is just 'Arial'. It does not work if i
make the text bold/italic. It is necessary for the font to be bold and
 in italics. I cant get it to work:(

akila



[flexcoders] Problem with scaleX for system fonts!

2008-10-16 Thread akila_ksri
Hi,

I need to apply horizontal scaling for a text with 'Arial' font.
lbl.scaleX = 0.70 simply does not work . I can only see that there is a 
change in the width of the label.

Is there anything i am missing out to scale the text?? Is scaling not 
applicable for system fonts? ( I tried the same with font 'Verdana', 
but again, no luck!)

Any help would be greatly appreciated.

Thanks,
Akila



[flexcoders] Setting Focus to the First control

2008-07-04 Thread akila_ksri
Hi,

I am using the following line of code in the html page to set focus to
the first control (TextInput) without any mouse-clicks/tab keys in the
application once the html page containing the embedded swf comes up:

body onload=document.getElementById('application_name').focus()

However, this seems to be working only in IE but not in Mozilla
FireFox which is the target browser for my application.
Any idea how to make it work in FireFox?

-Akila



[flexcoders] Memory leak caused by Image and String objects

2008-06-11 Thread akila_ksri
I have an application that makes use of 3 to 4 'Image' objects and
quite a few labels. The memory grows enormously when an Image.load()
occurs even though I have only one instance of the Image object at a
time. (I need to execute the load() method since the image needs to be
loaded dynamically).

When run with the flex profiler, I observed that 'String' objects are
consuming lot of memory and hence causing memory leaks. This results
in the application crashing after running continuously for couple of
hours in IE 7.

Would really appreciate it if anyone has any suggestions on how to
reduce the memory leak and improve performance.