[flexcoders] Unable to do matrix transform to flip an image - it vanishes

2009-07-24 Thread jomorano06
Hi y'all, I am trying to do a horizontal flip transformation of a png image as follows: var flipMat:Matrix = img.transform.matrix; flipMat.scale(-1, 0); flipMat.translate(img.width, 0); img.transform.matrix = flipMat; The idea is to scale by -1 and then move it to the right by the width.

Re: [flexcoders] Unable to do matrix transform to flip an image - it vanishes

2009-07-24 Thread thomas parquier
Hi, scale() method takes multipliers as arguments, so 0 as y factor will set height to 0. You should use scale(-1,1). thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056

[flexcoders] What kind of data types should i use?

2009-07-24 Thread yonghan79
Hi all,i need help please..I got fields in mysql table which use decimal and datetime..I'm intending to use VO,what kind of data types should i use? I post the sql and the php class here in http://www.pastebin.org/3965 .. Thanks a lot...

[flexcoders] Re: images inside text htmltext as in IM application

2009-07-24 Thread guy.tomer
Thanks, we'll wait with this feature. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: In my experience, it doesn't always work right. If you're not shipping soon, get Flex 4 beta and try using the TLF functionality Alex Harui Flex SDK Developer Adobe Systems

[flexcoders] Can not select itemrenderer

2009-07-24 Thread Barry
Hi unable to select the following itemRenderer when used in a list. Any advice would be much appreciated. //-- mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalScrollPolicy=off mx:Script ![CDATA[ import

[flexcoders] Re: Question about a flex component

2009-07-24 Thread veena_kris2003
Do you mind posting an example. It sounds like this is what I was looking for. I need a horizontal list component with an icon at the right end of the component that I can click and scroll to more items. Thanks, Veena --- In flexcoders@yahoogroups.com, Gordon Smith gosm...@... wrote:

[flexcoders] Re: Question about a flex component

2009-07-24 Thread veena_kris2003
Do you mind posting a complete example? Hope it is not too much to ask. --- In flexcoders@yahoogroups.com, Gordon Smith gosm...@... wrote: Why not just allow scrolling instead of paging? Scrolling components can scroll through thousands of items quickly. Suppose there are 100 items and

[flexcoders] Re: QTP automation problem of custom component

2009-07-24 Thread jones_a_h
Andriy, Thanks for the help...though I was pretty sure I had it configured as you described. So I uninstalled and followed your steps again just be sure...but I get the same behavior. QTP IS able to see the FlexRandomWalk component but it cannot see its children, even though

[flexcoders] Re: What kind of data types should i use?

2009-07-24 Thread Tim Hoff
In AS, the Number and Date types should work fine. -TH --- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,i need help please..I got fields in mysql table which use decimal and datetime..I'm intending to use VO,what kind of data types should i use? I post the sql and the

[flexcoders] Embedding Multiple Images

2009-07-24 Thread n_manjunatha
Hi All, I have requirement wherein I have tree and each node of tree has different images. Now when the user clicks each of the tree nodes, at the bottom pane of my application i need to show the image of the tree node and all the associated properties of the node.(very much similar to

RE: [flexcoders] Embedding Multiple Images

2009-07-24 Thread Tracy Spratt
Do you have the image TreeItemRender working correctly? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of n_manjunatha Sent: Friday, July 24, 2009 1:02 PM To: flexcoders@yahoogroups.com

[flexcoders] FileReference Upload

2009-07-24 Thread [p e r c e p t i c o n]
Hello all, I'm attempting to upload a file to a remote server then move it to another remote server for which my web-app(the remote server i upload to initially) has permissions. make sense? If I simply leave the file on the initial server things are fine, meaning i don't run into the upload

[flexcoders] Re: FileReference Upload

2009-07-24 Thread [p e r c e p t i c o n]
oh...i should add... another wierdness is that the file does get created on the second server...but it's 0 length... also...this second server is auto-linked so it appears as though it's on the same file system... and here's the output from the log file... IOError (Permission denied):

RE: [flexcoders] Re: FileReference Upload

2009-07-24 Thread Tracy Spratt
Wouldn't this be a ruby on rails issue rather than a Flex issue? Or how are you trying to .move it to another remote server? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of [p e r c e

Re: [flexcoders] Problem with Flex tree and arraycollection

2009-07-24 Thread Wesley Acheson
Does UID work like hashcode in java? On Thu, Jul 23, 2009 at 1:03 AM, Alex Harui aha...@adobe.com wrote: If there are duplicate items (items with the same UID) it may not work correctly Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog:

Re: [flexcoders] Re: FileReference Upload

2009-07-24 Thread [p e r c e p t i c o n]
Hi Tracy, Perhaps i mis-spoke what i mean is..the file does the upload without any problems...but when i try to write the file to a directory it fails... here's the scenario: I have 3 separate servers. the first i run web-applications from. the second is simply storage. and the third runs

Re: [flexcoders] Flex Architecture Question

2009-07-24 Thread Wesley Acheson
I think you may be a bit confused. Flex won't talk directly to a Java server application without something like BlazeDS in the backend (or by making http requests). Its a different model to Struts which generates your view directly, and handles the response from it automatically. Session

Re: [flexcoders] Re: FileReference Upload

2009-07-24 Thread Wesley Acheson
If the file is uploaded and the data is sent. Then its something on the application servers side. It sounds like you require a session to write something to the webserver and you don't get a session untill the first time the request hits. To verify this. Browse to the second storeage website.

RE: [flexcoders] Re: Question about a flex component

2009-07-24 Thread Gordon Smith
No, I don't have an example and don't have time to create one for you since I'm a development engineer, not a support engineer. But here is what you should try, learning as you go: 1. Create an app with an mx:HorizontalList. 2. Make it show data items by assigning its dataProvider. Put in more

Re: [flexcoders] Re: FileReference Upload

2009-07-24 Thread [p e r c e p t i c o n]
Hi Wesley, an astute assumption and a correct one at that, but here's the thing...i'm passing my session id (the rails app session key that is) in my url... or is there another session key that i should be using and if so where can i find it... thanks percy On Fri, Jul 24, 2009 at 1:04 PM,

Re: [flexcoders] Re: FileReference Upload

2009-07-24 Thread Wesley Acheson
HI Percy, Having never used rails I can't tell you how it works. What I can tell you is that usually (well over 95%) of the time passing a session key from one server to another is useless as the server won't have access to the information in the other servers session. This means that you have

Re: [flexcoders] Re: FileReference Upload

2009-07-24 Thread [p e r c e p t i c o n]
Hi Wesley... makes total sense...i'll try requesting something first...great suggestion! percy On Fri, Jul 24, 2009 at 1:53 PM, Wesley Acheson wesley.ache...@gmail.comwrote: HI Percy, Having never used rails I can't tell you how it works. What I can tell you is that usually (well over

Re: [flexcoders] Flex Architecture Question

2009-07-24 Thread Jeffry Houser
I don't think your post is completely accurate. Flex can connect to any backend including Java using SOAP Webservices or REST Webservices which do not require BlazeDS or anything similar. Wesley Acheson wrote: I think you may be a bit confused. Flex won't talk directly to a Java

Re: [flexcoders] Flex Architecture Question

2009-07-24 Thread Wesley Acheson
Yes I know. I guess I got the impression from the origional post he was trying to directly communicate from java. I also thought rest and SOAP went over http? On Fri, Jul 24, 2009 at 11:02 PM, Jeffry Houser j...@dot-com-it.com wrote: I don't think your post is completely accurate. Flex

Re: [flexcoders] Flex Architecture Question

2009-07-24 Thread Jeffry Houser
So does AMF; it's just transferring binary data instead of ASCII data. The reason you need a server side piece is to translate that binary data into something usable by the application server. I will admit, I responded to your e-mail without reading the original question; though. So, if I

Re: [flexcoders] Re: What kind of data types should i use?

2009-07-24 Thread Yesaya handoyo
Thanks Tim.. On 7/24/09, Tim Hoff timh...@aol.com wrote: In AS, the Number and Date types should work fine. -TH --- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,i need help please..I got fields in mysql table which use decimal and datetime..I'm intending to use

[flexcoders] Sideways text

2009-07-24 Thread danapayne
Can Flex 3.3 do sideways text (text direction at 90 degrees) or do I have to wait for 4.0? Thanks, Dana

[flexcoders] Re: Question about a flex component

2009-07-24 Thread veena_kris2003
When I have an HBox component and I dynamically add items, items get added, but when I have a HorizontalList and I dynamically add items, nothing gets added. The item I am trying to add is a class that extends mx.core.UIComponent. Thanks, Veena --- In flexcoders@yahoogroups.com, Gordon

[flexcoders] How to Export data from an AdvancedDataGrid to excel

2009-07-24 Thread vibha_crsce
Hi, I just want to Export data in my Advanced data grid to excel. Is there any solution to do so directly in flex that is independent of the server side request and version of FlashPlayer. Thannks Vibha

[flexcoders] Re: Question about a flex component

2009-07-24 Thread veena_kris2003
Please help. The items are being added dynamically to the mx:HorizontalList id=test bottom=0 width=100% backgroundColor=0x00 horizontalScrollPolicy=on verticalScrollPolicy=off/ I debugged the code and the items are being added, but I can't see them in the UI. If I change mx:HorizontalList

RE: [flexcoders] Re: Question about a flex component

2009-07-24 Thread Tracy Spratt
You must use the collection API to add the items in order for the necessary events to be dispatched to update the UI. What is the data type of you dataProvider? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Sideways text

2009-07-24 Thread Gordon Smith
If you use an embedded font I think you can rotate Flex 3 text components. But if you want to use a device font, you would have to develop custom components that use FTE or TLF instead of TextField to render their text, and you'd have to require Flash Player 10. Looking at how Flex 4 implements

RE: [flexcoders] Re: Question about a flex component

2009-07-24 Thread Gordon Smith
You add child components which are UIComponents to a container like HBox. But you add data items to a list-based control like HorizontalList. These data items then get displayed by item renderers, which are children which get automatically created to display data items. The children are managed