[flexcoders] Efficiently loading hundreds of images for a slideshow

2007-09-10 Thread jamalwally
Hi all, I am developing an application to display a sequence of 2d data contour plots to show the evolution of a physical system (global climate in this case) as a function of time. In this application there are many different quantities (temperature, pressure, rainfall, etc, etc) that the user

[flexcoders] Re: Efficiently loading hundreds of images for a slideshow

2007-09-10 Thread jamalwally
Hi Troy, Thank you very much for your suggestion. The PNG images that I was loading were large (1200 x 900). Using smaller images (400 x 300), I can easily load 200+ images with no noticeable delay. There is clearly no point to load images that are higher resolution than will be displayed, so

[flexcoders] Drop target positions are affected by vertical scrolling

2007-10-23 Thread jamalwally
Hi, I had a lot of trouble identifying this problem, but now I've isolated it enough to provide a simple example. I am using the dragEnabled and dropEnabled properties of the HorizontalList to allow the user to drag data from one list to another. I was getting the expected behaviour until

[flexcoders] Determining the text character at a given position in a TextArea

2007-10-24 Thread jamalwally
Hi, I would like to be able to highlight text in a TextArea that is under the user's mouse. In Flex 2 is there a way to get the text character that is closest to a given x,y position within a TextArea (or TextField)? Right now, I have each word in a separate TextArea and I listen for mouseOver

[flexcoders] Re: Determining the text character at a given position in a TextArea

2007-10-24 Thread jamalwally
--- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: textField.getCharIndexAtPoint(); - Dan Freiman On 10/24/07, jamalwally [EMAIL PROTECTED] wrote: Hi, I would like to be able to highlight text in a TextArea that is under the user's mouse. In Flex 2

[flexcoders] How to know when TextArea has updated

2007-10-29 Thread jamalwally
Hi, I am extending the TextArea class (call it MyTextArea) and want to get information about the text in the textField. I wait for the CREATION_COMPLETE event before accessing the textField, but the textField.getLineIndexOfChar() method returns -1 directly after an update of this.text. Is there

[flexcoders] Measuring TextField properties in TextArea subclass

2007-10-29 Thread jamalwally
Hi, I can't get the correct information about line numbers in the text of a custom class that extends TextArea (call it MyTextArea). If I set the text property of the TextArea in onCreationComplete() then getLineIndexAtPoint() returns -1. I imagine that after I update the text property, I must

[flexcoders] Drag and drop fails after a scroll

2007-11-06 Thread jamalwally
Hi, I have components that I'm using as drag targets and drop targets. The drag/drop is working fine until I scroll the screen down. Now, the drop target seems to be offset by the amount of the scroll. Here is a simple example showing the effect:

[flexcoders] embedding html in xml

2008-01-02 Thread jamalwally
Hi there, I am using an external XML file to define the content for a Text component in Flex. The xml file has HTML tags (e.g. b for bold). When I assign the XML to the Text component's htmlText property, I get unwanted extra line breaks around the HTML tags. For example, here is the external

[flexcoders] Re: embedding html in xml

2008-01-03 Thread jamalwally
--- In flexcoders@yahoogroups.com, iilsley [EMAIL PROTECTED] wrote: try text ![CDATA[ This is the text with bhtml/b tags ]] /text --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , jamalwally jamalwally@ wrote: Hi there, I am using an external XML file

[flexcoders] Flex builder compiler line

2008-06-16 Thread jamalwally
Is there a way to see the compiler command that Flex builder 3 uses? For example, in Builder 3, under Properties - Flex Compiler, you can choose several compiler options. I guess that Builder generates a list of compiler options from this gui. I'd like to see the final arguments that are sent

[flexcoders] Runtime CSS and SWF is not a loadable module

2008-07-15 Thread jamalwally
Hello, I'm trying to implement runtime css in my flex application. I have compiled my css file into a swf with mxmlc mxmlc style1.css Then I load the resulting style1.swf on Application creationComplete: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical

[flexcoders] Re: Runtime CSS and SWF is not a loadable module

2008-07-16 Thread jamalwally
[EMAIL PROTECTED] wrote: Make sure it really is a style swf. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jamalwally Sent: Tuesday, July 15, 2008 9:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Runtime CSS and SWF

[flexcoders] Re: Runtime CSS and SWF is not a loadable module

2008-07-16 Thread jamalwally
folder structure under the bin folder, and I always have to copy it to the correct location. I plan to post a question on this some time soon. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jamalwally Sent

[flexcoders] Re: Runtime CSS and SWF is not a loadable module

2008-07-17 Thread jamalwally
I've posted the swf and associated css file at: http://www.fas.harvard.edu/~metro/METRO/styles/style1.swf http://www.fas.harvard.edu/~metro/METRO/styles/style1.css Thank you very much for your continued assistance, I really appreciate it. --j --- In flexcoders@yahoogroups.com, Alex

[flexcoders] Re: Runtime CSS and SWF is not a loadable module

2008-07-21 Thread jamalwally
] wrote: Post the swf. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jamalwally Sent: Wednesday, July 16, 2008 11:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Runtime CSS and SWF is not a loadable module

[flexcoders] Re: Runtime CSS and SWF is not a loadable module

2008-07-23 Thread jamalwally
] On Behalf Of jamalwally Sent: Monday, July 21, 2008 5:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Runtime CSS and SWF is not a loadable module Was anybody able to view the css styles swf that I posted earlier? I'm still unable to implement runtime css because

[flexcoders] Re: Runtime CSS and SWF is not a loadable module -- new information

2008-07-23 Thread jamalwally
Although I do get a runtime error when the application tries to load the style SWF that I made via mxmlc BasicStyle.css (the SWF in the assets/ folder), I was finally able to get styles to successfully load using the SWF generated by FB3. I'd still like to know how to load style SWFs made

[flexcoders] Re: Sandbox violation running from Builder. How did I get this and how do I fix it?

2008-07-31 Thread jamalwally
I also get a security sandbox violation error on a flex project after checking out from SVN. I have a flex project that compiles and runs fine on the original development computer. I then check in my source code to an SVN repository. When a fellow developer checks the project out from SVN and