[flexcoders] Max image size?

2007-06-04 Thread Charles Galpin
Hi All What is the maximum image size you can load in flex? I seem to have hit a maximum size - not in disk space taken, but in the number of pixels. I can load a 6Mb file fine, but this little 148K png with 9 million pixels (3500x2625) will not load. This incredibly long and complex

Re: [flexcoders] Max image size?

2007-06-05 Thread Charles Galpin
Thanks Daniel That bites. Does anyone know if this will ever be raised? I'm trying to avoid having to implement a tile based solution since the quality is nearly good enough as-is. thanks charles On Jun 4, 2007, at 8:45 PM, Daniel Freiman wrote: The max is 2880 pixels in each direction.

[flexcoders] Image scaling problem

2007-06-05 Thread Charles Galpin
I have found that at some point while zooming in on an image (scaling), the image mysteriously no longer displays portions of the image, almost like it's getting truncated at the top left. To see this, load the sample below and zoom in. For this image it happens a a zoom of 5.6. Scroll

Re: [flexcoders] Image scaling problem

2007-06-06 Thread Charles Galpin
Can anyone from Adobe comment on this? It would take literally a minute to run this example and see it. thanks, charles On Jun 5, 2007, at 8:28 AM, Charles Galpin wrote: I have found that at some point while zooming in on an image (scaling), the image mysteriously no longer displays

Re: [flexcoders]Faking an XMLRPC call

2007-06-08 Thread Charles Galpin
On Jun 8, 2007, at 3:07 PM, dorkie dork from dorktown wrote: it receives it as post. here is the result and a snippet from the php code: Note that there is nothing in these requests. I suggest printing $HTTP_RAW_POST_DATA I found when posting XML to php, if it's all XML, then the normal

Re: [flexcoders]Faking an XMLRPC call

2007-06-08 Thread Charles Galpin
with source that you can look at that talks to wordpress over xmlrpc using an open source xmlrpc lib http://www.arpitonline.com/blog/downloads/as3_wordpress/ http://code.google.com/p/as3-rpclib/ I'd take a good look at it and go from there. hth charles On 6/8/07, Charles Galpin [EMAIL

Re: [flexcoders] Re: Image scaling problem

2007-06-09 Thread Charles Galpin
but then stops displaying it all when I zoom in one more to 7920x5124. thanks, charles --- In flexcoders@yahoogroups.com, Charles Galpin [EMAIL PROTECTED] wrote: I have found that at some point while zooming in on an image (scaling), the image mysteriously no longer displays portions

Re: [flexcoders] Can Flex/SVN take a site-wide 'snapshot'?

2007-06-10 Thread Charles Galpin
On Jun 10, 2007, at 8:54 PM, shawn.gibson wrote: My question is, say I find I did something really right across the board, only to realize I'd taken a wrong turn, is there some way to go back in time and revert the entire setup to how it was, i.e., go back to all the project files as they

Re: [flexcoders] Client-side with Flex2 without server components on Tomcat

2007-06-14 Thread Charles Galpin
On Jun 14, 2007, at 5:37 AM, web_manager_2004 wrote: Here is my question: Is it possible to develop such applications in which client-side is created using Flex 2 which is deployed on the server (Tomcat) that run without server components (such as the Data Services). What about License issues?

[flexcoders] setFocus on TextInput created in AS

2007-06-14 Thread Charles Galpin
Hopefully this is just me being a bonehead, but when creating a TextInput in actionscript, it appears you can't call setFocus() on it until some point in the future when the internal text field has been created. I'm not sure when I can know it's safe to set the focus on it, but I'd like

Re: [flexcoders] setFocus on TextInput created in AS

2007-06-15 Thread Charles Galpin
On Jun 15, 2007, at 1:05 AM, Joan Lafferty wrote: You can call setFocus() on the creationComplete event for the TextInput. Thanks Joan! That's exactly what I was looking for. charles

Re: [flexcoders] Storing Values

2007-06-15 Thread Charles Galpin
On Jun 15, 2007, at 9:13 AM, Christopher Olsen wrote: Does flex have something similar to cookies? Yup. flash.net.SharedObject hth charles

Re: [flexcoders] Force Tree to redraw using custom itemEditors

2007-06-15 Thread Charles Galpin
On Jun 14, 2007, at 2:16 PM, rottmanList wrote: I am using a custom item renderer that basically allows the user to change the label of any leaf nodes inside of that tree. The leaf nodes are physical files inside folders and on itemEditEnd it updates the filename, however what isn't

[flexcoders] stage.quality in AIR vs Browser

2007-09-17 Thread Charles Galpin
Hi All I tried asking on the AIR forums but got no help. Does anyone here have any ideas on this? Is anything you can suggest to improve the image quality we are seeing - even if it means changing the way we are generating our images. Please try this simple example that shows the problem

[flexcoders] TileList refresh issues, maintaining selection states, binding issues, etc.

2007-09-28 Thread Charles Galpin
Hi All I'll try keep this brief, but wanted to get feedback and opinions on a number of issues which I have run into. I'll be touching on o Issues with getting a TileList to redraw/refresh the tiles o Selection issues and differences between selections made by a user, or programmatically. o

[flexcoders] TileList.selectedIndices problem

2007-10-01 Thread Charles Galpin
Please try this very simple example below and let me know if you get the same behavior. Select some or all items in the tile list and click the test button. Try the same but with the checkbox selected. Do you see the difference? If you save off a TileList's selectedIndices, clear the data

Re: [flexcoders] TileList.selectedIndices problem

2007-10-01 Thread Charles Galpin
Whoohoo, thank you much! charles On Oct 1, 2007, at 4:14 PM, Alex Harui wrote: You fell into a hole created by our attempt to allow you to specify selectedIndex/Indices on the MXML tag and set the collection later after a server fetch. Having a collection of length=0 queues the

Re: [flexcoders] TileList.selectedIndices problem

2007-10-01 Thread Charles Galpin
Oh, one more question on this Alex. If you run the test, you'll see the selectedIndex changes when setting the selectedIndices. I don't show it in this example but even if I saved it off (-1) and set it, it will still change to 0. I bothers me that it's not symmetric - not sure if it's a

Re: [flexcoders] TileList.selectedIndices problem

2007-10-02 Thread Charles Galpin
Done, https://bugs.adobe.com/jira/browse/SDK-12870 thanks charles On Oct 1, 2007, at 7:48 PM, Alex Harui wrote: It is a bug that you can have selectedIndices but that selectedIndex = -1. Please file a bug for that. Thanks, -Alex

Re: [flexcoders] Re: Problem filtering custom list component

2007-10-02 Thread Charles Galpin
I wish I could help other than tell you I am facing similar problems with selections and think this stuff needs a good look at by adobe. I managed to make a simple test case that displayed my problem and Alex offered a workaround, but the workaround isn't working on my actual app! charles

[flexcoders] TileList invalidateList not working

2007-10-02 Thread Charles Galpin
Hopefully an easy one. Please try the simple test case below. Select one or more items, enter a new label and click Update. You can optionally select the checkbox to force an invalidateNow after the update, but either way, the list doesn't refresh. If you scroll down and up, then they

Re: [flexcoders] Re: My column doesn't sort correctly in Flex 3 Beta 2

2007-10-02 Thread Charles Galpin
Just FYI this example works fine here (Beta 1) so I think they are being interpreted as numbers in actionscript. charles On Oct 2, 2007, at 2:33 PM, Nate Pearson wrote: The code below demonstrates the problem. Although I am not specifically typing margin revenue to a number I think AS3 is

Re: [flexcoders] TileList invalidateList not working

2007-10-02 Thread Charles Galpin
On Oct 2, 2007, at 3:29 PM, Alex Harui wrote: By default, and for performance reasons, there is no write- detection to properties. You use proxy, [bindable] or setters to detect writes. Collections will watch their items for changes if they can, but you are using dynamic objects and

Re: [flexcoders] TileList.selectedIndices problem

2007-10-02 Thread Charles Galpin
Sorry, try now. charles On Oct 2, 2007, at 5:38 PM, Alex Harui wrote: Your viewsource link is not working. This slightly more complex test case (right click to see source) shows it nicely though if you follow the steps above http://labs.lhsw.com/~cgalpin/flex/Problem/bin/Problem.html

Re: [flexcoders] TileList invalidateList not working

2007-10-02 Thread Charles Galpin
Of Charles Galpin Sent: Tuesday, October 02, 2007 1:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TileList invalidateList not working On Oct 2, 2007, at 3:29 PM, Alex Harui wrote: By default, and for performance reasons, there is no write- detection to properties. You use

Re: [flexcoders] TileList.selectedIndices problem

2007-10-02 Thread Charles Galpin
return the wrong one when switching. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Charles Galpin Sent: Tuesday, October 02, 2007 2:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TileList.selectedIndices problem Sorry, try now. charles On Oct 2, 2007

Re: [flexcoders] One click item editor (checkbox item editor)

2007-10-03 Thread Charles Galpin
On Oct 3, 2007, at 11:51 AM, Mark Ingram wrote: Is it possible to have a single click item editor? i.e. when the user clicks on the checkbox, it actually changes it’s value, as opposed to creating the item editor. If you want to go the route of it just changing values and not showing an

Re: [flexcoders] TileList.selectedIndices problem

2007-10-03 Thread Charles Galpin
I'd like nothing more than to be proven wrong and eat crow on this, but I have changed the view handling to be more explicit, and make sure the indices are being saved from the current view before the view is switched, and then set when the next view is visible, and there is no change.

[flexcoders] AdvancedDataGrid expand nodes on cell click

2007-10-16 Thread Charles Galpin
Hi All I have an AdvancedDataGrid with a Hierarchical dataprovider. You can click on the little triangle icons to open/close nodes that have children. Can anyone recommend how to get the equivalent of clicking on the triangle icons by clicking on the cell that has the icon as well?

Re: [flexcoders] SOLVED: AdvancedDataGrid expand nodes on cell click

2007-10-16 Thread Charles Galpin
Got these solved thanks On Oct 16, 2007, at 9:57 AM, Charles Galpin wrote: Hi All I have an AdvancedDataGrid with a Hierarchical dataprovider. You can click on the little triangle icons to open/close nodes that have children. Can anyone recommend how to get the equivalent of clicking

Re: [flexcoders] comboBox as itemRenderer and rendererIsEditor

2007-10-31 Thread Charles Galpin
Yup, but since it's a combobox he should iterate over his array collection and when the value matches, set the selectedIndex to the index of the matching element. Something like for (var i:int=0;idataProvider.length;i++) { var type:String = dataProvider[i]; if(type == value) {

[flexcoders] event or method called when TileList renderer becomes visible?

2007-11-08 Thread Charles Galpin
What event gets fired, or what method is called on a renderer when it comes into view on a tile list? I have a custom renderer that changes how it draws itself based on a number of things, and everything works great except if I scroll it off screen, then scroll it back, it seems to have

Re: [flexcoders] URLLoader, FileReference and file download from server - Open or Save options

2009-03-20 Thread Charles Galpin
Vijay, this works for me for png files. I don't expect pdf to behave differently // Flex navigateToURL(new URLRequest(url), _self); //Java servlet response.setContentType(image/png); response.addHeader(Content-Disposition, attachment; filename=\ + name + .png\);

Re: [flexcoders] Getting Error when trying to destroy a tooltip

2009-03-23 Thread Charles Galpin
Tim, you have to declare myTip to be of the type IToolTip. public var myTip:IToolTip; hth charles On Mar 19, 2009, at 4:05 PM, timgerr wrote: Hello all, I am creating my own tooltip and I am getting an error, this code comes from adobe examples. Here is the code: mx:Application

[flexcoders] Alternative to using ToolTips for popup

2009-03-23 Thread Charles Galpin
Hi All I am trying to use ToolTip and ToolTipManager to implement a popup that comes up when I click an icon. I want the popup to be associated with my object, and it will have additional controls in it. Basically looking for similar behavior as a ToolTip in that I want it to popup above

[flexcoders] Embed image from flex library (SWC)

2009-04-03 Thread Charles Galpin
I have built a common flex library which I use from other projects. If I put images under src/assets/images and add those images under Assets in the Flex Library Build Path I get mixed results. It appears that if the image was embeded in the common library, then it can be used in the

Re: [flexcoders] Embed image from flex library (SWC)

2009-04-09 Thread Charles Galpin
/something ? Regards, PS On Fri, Apr 3, 2009 at 3:07 PM, Charles Galpin yahoogro...@lhsw.com wrote: I have built a common flex library which I use from other projects. If I put images under src/assets/images and add those images under Assets in the Flex Library Build Path I get mixed results

Re: [flexcoders] Alternative to using ToolTips for popup

2009-04-09 Thread Charles Galpin
, 2009, at 5:36 AM, Tom Chiverton wrote: On Monday 23 Mar 2009, Charles Galpin wrote: Can anyone suggest an alternative method to get the same behavior without using ToolTips? PopUpManager ?

[flexcoders] Drag and drop issues

2009-04-14 Thread Charles Galpin
Hi All I have attached a simple example of the kind of things I want to do with dragging and dropping, namely dragging an object across different components in my app. In this example I have a list and two canvases and you can drag from the list to the canvases and between the canvases