[flexcoders] Scrollbar for small browser windows

2007-03-27 Thread ivansebastiansurya
Hi everyone, I'm developing a Flex application for large monitor screen. HOwever, when I display my application in smaller screens, the scroll bar won't appear. Is there any way to make my application create a scrollbar as needed? Thanks, Ivan.

[flexcoders] Accessing Item Renderer in a List.

2007-03-28 Thread ivansebastiansurya
Hi everyone, I need bit of a help in displaying items from a List. I have an item renderer which is associated to the List. The items in the list contains lots of data, one of which is an indication of how many percent a task has been completed. My custom item renderer has a ProgressBar in it.

[flexcoders] Retrieving an item in an xml.

2007-04-01 Thread ivansebastiansurya
Hi everyone, I'm a newbie programmer in Flex and I need your help to fix an issue that I face regarding XML reading. It seems that I've got a problem accessing an element from XML if the XML only has one item. For example: if the xml is as follows: iteration12 2007-04-17 20

[flexcoders] URL of the loaded swf.

2007-12-04 Thread ivansebastiansurya
Hi everyone, I'm just wondering if anyone knows how to detect the url from which our swf application is loaded from inside the Flex code. I need to do this as I need to refer to some other script (coldfusion cfc/ms) which resides in the same server as the swf, but I want to make my code gener

[flexcoders] Re: URL of the loaded swf.

2007-12-04 Thread ivansebastiansurya
Thank you it works... I was trying to use BrowserManager but it didn't work. Again.. thanks to those who answer this email :) Have a great day. --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Also note that if you're using Modules, you can get the URL used

Re: SPAM-LOW: [flexcoders] Encryption in Flex and Decryption in ColdFusion.

2007-12-05 Thread ivansebastiansurya
able to successfully pass data back and forth between Flex > and Crypto using AES. > > There are settings you need to specify (128 bit something?), but w/o > pulling the code, I don't remember them. > > ivansebastiansurya wrote: > > > > > > Hi there

[flexcoders] Re: Different result for encryption in Flex and in CF.

2007-12-05 Thread ivansebastiansurya
do is encrypt it so that CF can decrypt it. Thanks in advance. --- In flexcoders@yahoogroups.com, "ivansebastiansurya" <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for your help, > > But I still got different result for encrypting in Flex using the > crypto lib

[flexcoders] Encryption in Flex and Decryption in ColdFusion.

2007-12-05 Thread ivansebastiansurya
Hi there, Has anyone attempted to encode some string in Flex and decode it in COldFusion? I've attempted to encode the string using the library in http://crypto.hurlant.com/ as follows: var key:ByteArray = Hex.toArray(model.hashKey); // some key var cipher:ICipher = Crypto.getCipher("aes", key);

[flexcoders] Different result for encryption in Flex and in CF.

2007-12-05 Thread ivansebastiansurya
PlainText# > Encrypted: #Encrypted# > Decrypted: #Decrypted# > > > > You'll probably want something a bit more 'dynamic' but hopefully this > will get you going. I haven't looked at it in months, so the code is > not fresh in my mind... &g

[flexcoders] Uploading file to a java servlet.

2007-04-14 Thread ivansebastiansurya
Hi everyone, I'm wondering if anyone has actually write a servlet that becomes the URL target of a FileReference.upload() method. It seems that the uploaded file can be retrieved in the inputstream of the post request, i.e. in the inputstream of the Request in doPost() method. The problem is

[flexcoders] Displaying an image from an input stream.

2007-05-07 Thread ivansebastiansurya
Hi everyone, Does anyone know how to display an image in Flex where the image is taken from an input stream? My Flex application will display image whose data is stored in a database, so my Flex application will need to be able to display an image given its data, not its URL. Does anyone know h

[flexcoders] Communication of data between parent and child movie.

2007-05-16 Thread ivansebastiansurya
Hi everyone, Currently I have to write a Flex application that holds other swf application within it (I will have a skeleton swf movie with menu on the left hand side and when a menu item is clicked, the corresponding sub application is loaded on the right hand side, onto an Image control). T

[flexcoders] Re: Communication of data between parent and child movie.

2007-05-17 Thread ivansebastiansurya
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > And if loose coupling is not a key issue for you, you can simply access > public members in the loaded swf using the "content" property of > SWFLoader. If you are loading appliations, use SWFLoader, not Image. > >

[flexcoders] Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-20 Thread ivansebastiansurya
Hi everyone, I wrote an application that has an SWFLoader to load another swf movie/application into the main application. The server where my sub application is served from already has the crossdomain.xml, letting any domain to access data from it. However, I got the following error message:

[flexcoders] Re: Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-21 Thread ivansebastiansurya
erent than when the main app is launched from a web server. > > > > -Alex > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ivansebastiansurya > Sent: Sunday, May 20, 2007 9:35 PM > T

[flexcoders] Re: Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-21 Thread ivansebastiansurya
should work. Flex does not > currently support loading other Flex apps into separate security > domains. > > > > -Alex > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ivansebastiansu

[flexcoders] Adding a class path to israfil maven plugin

2007-05-23 Thread ivansebastiansurya
Hi everyone, Does anyone know how to add a classpath in the pom file for maven 2 israfil plugin? In Flex builder, this is equivalent to right clicking the object, then select "Properties" and "Flex Build Path". Thanks, Ivan.

[flexcoders] FileReference upload request does not get to the servlet in Unix comp

2007-05-23 Thread ivansebastiansurya
Hi everyone, I've got a funny problem with my Flex application. I've got a client that lets user upload File to a Java servlet (image file). It works fine when I run it in WIndows machine using any browser. But when I run it in Unix/Linux machine, it seems that the upload request never reaches t

[flexcoders] Re: Adding a class path to israfil maven plugin

2007-05-24 Thread ivansebastiansurya
; > http://www.israfil.net/projects/mojo/maven-flex2-plugin/usage.html > > -Brian > ____ > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ivansebastiansurya > Sent: Wednesday, May 23, 2007 4:06 PM > To: flexcoders@yahoog

[flexcoders] Re: FileReference upload request does not get to the servlet in Unix comp

2007-05-24 Thread ivansebastiansurya
gt; Usually the upload will not take place if the player detects a > possible error prior to making the upload.. > > > regards, > > Bjorn > > > On 24/05/2007, at 2:40 PM, ivansebastiansurya wrote: > > > Hi everyone, > > > > I've got a funn

[flexcoders] Re: Adding a class path to israfil maven plugin

2007-05-27 Thread ivansebastiansurya
; something you want to configure the compiler itself with. > > Christian. > > On May 24, 2007, at 7:42 PM, ivansebastiansurya wrote: > > > Hi again, > > > > Thanks for your reply. But what I was looking for when I want to > > include properties file for inter

[flexcoders] Re: Adding a class path to israfil maven plugin

2007-05-27 Thread ivansebastiansurya
more amenable to such an approach, in which case youl'd > have more possibilities. > > In short, right now there is no way to precisely accomplish what > you're doing, so you'll regrettably have to find a workaround. > > Christian. > > On May 27, 2007, at 5:50

[flexcoders] Stacked Area Chart.

2007-05-27 Thread ivansebastiansurya
Hi everyone, I've got a problem regarding Flex's Area Chart. What I want to do is to show some values across time, i.e. time series. However, I want the graph to show all of the dates across the range, say, I want the time series of value x and y for the whole week, I'll have day 0, day 1, day

[flexcoders] Superimposing chart.

2007-05-28 Thread ivansebastiansurya
Hi everyone, Is it possible to have two area series, stacked on top of each other, superimposed (overlaid) to a line series? The idea is to have the area chart stacked and the line series appear in front of the stacked area chart. Thanks, Ivan.

[flexcoders] Re: Superimposing chart.

2007-05-29 Thread ivansebastiansurya
> PS: Suggestion 2 might interfere with the grid lines of line series. > > Regards, > Sandeep > > --- In flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > , "ivansebastiansurya" > wrote: > > > > Hi everyone, > > > > Is it possible

[flexcoders] reading a file in the parent directory

2007-06-05 Thread ivansebastiansurya
Hi everyone, Is there any way we can use HttpService to read from a file which is in the parent directory of our mxml file? Let say I have the following folder structure: A/B/C/D and my mxml is in folder D, but it needs to reads a text file in folder A. Thanks, Ivan.

[flexcoders] Reuse of action script files (for files build using Maven israfil plugin)

2007-06-10 Thread ivansebastiansurya
Hi everyone, I'm just wondering if anyone has figured out an easy way to reuse action script library across different project. I am writing different Flex applications now and they all reside in different folders. I'm using Maven to build my mxml files (israfil plugin). I'm wondering if we can

[flexcoders] IFrame and modal dialog

2007-06-10 Thread ivansebastiansurya
Hi everyone, I've written an application that uses IFrame to load sub application. It works fine. But there is a slight glitch to it, that is whenever I have a modal popup, the popup always appears under the IFrame. Is there any way I can make my popup appear above the IFrame? Or is there any

[flexcoders] AdvancedDataGrid listItems problem

2008-09-16 Thread ivansebastiansurya
Hi everyone, I come across this problem where if I click on a newly created item on the data grid, I get the following error: TypeError: Error #1010: A term is undefined and has no properties. at mx.controls::AdvancedDataGridBaseEx/commitEditedItemPosition() [C:\Work\flex\dmv_automation

[flexcoders] Measuring the width of a label

2009-07-25 Thread ivansebastiansurya
Hi everyone, I'm having a problem regarding measuring the width of a Label control. In my item renderer, I need to display a list of labels, but the number of labels per row depends on how many of them fit within one row. To do that, I need to actually measure the width of the label created prior

[flexcoders] Scrollbar intersection.

2009-07-29 Thread ivansebastiansurya
Hi everyone, I'm just wondering if any of you guys have attempted to color the square that results as the intersection of the vertical and horizontal scroll bars. I have a containers that have both scrollbars on, the ugly thing is that there is this white square at the bottom right corner of my

[flexcoders] Color in a color gradient.

2009-10-17 Thread ivansebastiansurya
Hi everyone, I've got a problem regarding colour gradient. I have created a control when you can define colour points along a rectangle to create a colour gradient. The problem that I have is that I need to find a way to find the exact colour at a point between the gradient points (my control

[flexcoders] Re: Color in a color gradient.

2009-10-17 Thread ivansebastiansurya
. You pass in the x and y of the pixel you want to know about > and it returns a ARGB unit color value back. So you would have to calculate > the exact point you want to know about and then use that method. > > --- In flexcoders@yahoogroups.com, "ivansebastiansurya" > wro

[flexcoders] Re: Color in a color gradient.

2009-10-19 Thread ivansebastiansurya
he > BitmapData Class. You pass in the x and y of the pixel you want to know about > and it returns a ARGB unit color value back. So you would have to calculate > the exact point you want to know about and then use that method. > > --- In flexcoders@yahoogroups.com, "ivans