[flexcoders] Flip the image

2009-05-26 Thread shubhra
Hi , In my application i want to implement this effect on images..likewise if a man is viewing to left,the flip of image change him to view right. Please refer me some links . Thanks, Shubhra Tiwari

Re: [flexcoders] High CPU usage

2009-05-26 Thread Fotis Chatzinikos
use the debug player, right click and show redraw regions... I had a similar problems with some animated hidden swfs eating app cpu cycles by constantly animating / redrawing even thought they where visible=false On Wed, May 27, 2009 at 3:04 AM, Rick Winscot wrote: > > > How often are you calli

Re: [flexcoders] Re: Flex Builder not rebuilding source

2009-05-26 Thread Guy Morton
Do a clean and try again? On 27/05/2009, at 3:34 PM, Ron Wagner wrote: > I've had this problem in the past and never got an answer. The problem is back. I'll be working on a project and constantly make micro changes and then debug, eventually the changes aren't compiled in anymore. In

Re: [flexcoders] Value Objects

2009-05-26 Thread Alan Klement
I never really thought about it, but now that I think about it, I imagine that typing an object will provide tremendous performance gains as Flex works its data binding. If the values are typed then the JIT knows where to look to set the value. Other wise it would be searching it as a generic obje

Re: [flexcoders] Re: problems embedding symbols from Flash

2009-05-26 Thread Rohit Sharma
Will this help? http://jessewarden.com/2006/08/flash-9-button-in-flex-2.html I use flash movieclip symbols in flex by linking to an external AS class and provide the symbol functionality in that class only. Regards, Rohit On Tue, May 26, 2009 at 11:05 PM, a.scavarelli wrote: > > > Is the sy

[flexcoders] Re: Flex Builder not rebuilding source

2009-05-26 Thread Ron Wagner
> I've had this problem in the past and never got an answer. The problem is back. I'll be working on a project and constantly make micro changes and then debug, eventually the changes aren't compiled in anymore. In the small project I'm working on I have removed all Alerts. They don't exist

[flexcoders] Tree Structure in advanced data grid

2009-05-26 Thread senthilkumarirtt
hi all,I need to expand the tree structure (in advanced datagrid)automatically when application loaded Give some ideas to implement this... Thanks in advance, S.Senthilkumar

RE: [flexcoders] Re: httpservice error #2032

2009-05-26 Thread Tracy Spratt
If the POST body is empty, Flex switches to a GET. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Wednesday, May 27, 2009 12:28 AM To: flexcoders@yahoogroups.com Subjec

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
Not sure what the issue is but if I try POST it always goes across as as a GET. So I went with GET and I return 'true' as render :xml and it comes back with a good result. And I stuck with the relative URL and it works like a champ now. Thanks for everyones help. --- In flexcoders@yahoogroup

RE: [flexcoders] Flex Builder not rebuilding source

2009-05-26 Thread Tracy Spratt
Delete everything in the bin-debug folder, and clear the browser cache. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeffry Houser Sent: Tuesday, May 26, 2009 5:35 PM To: flexcoders@y

[flexcoders] Cause Label to resize after setting text

2009-05-26 Thread Tracy Spratt
I am implementing a Marquee component using a Canvas and a Move effect on a child label. I want the effect to play only when the label is wider than the canvas. When a setter function sets the Label's text property, the label has not been resized to fit the new text yet, so I can't test: i

RE: [flexcoders] Re: httpservice error #2032

2009-05-26 Thread Tracy Spratt
I would suspect the URL as well. Try a full url, I have had a lot of problems using relative urls And I have never used an http service that did not return something. It would concern me. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogrou

RE: [flexcoders] Flex DataGrid Filter via Popup Window

2009-05-26 Thread Tracy Spratt
var winFilter:FilterDia log = PopUpManager. createPopUp( this, FilterDialog, true) as FilterDialog; winFilter.dg = myDataGrid. In FilterDialog, expose "dg" as a public property using a setter function. Tracy Spratt, Lariat Services, development services available _ From: flexcod

RE: [flexcoders] Value Objects

2009-05-26 Thread Jake Churchill
I think it's more for the code hints than anything J Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Rowe Sent: Tuesday, May 26, 2009

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
--- In flexcoders@yahoogroups.com, Dave Cragg wrote: > > > On 26 May 2009, at 05:35, flexaustin wrote: > > > > _httpservice.url = "/ditto/myfunction"; > > Shouldn't that be > >_httpservice.url = "ditto/myfunction"; > > Cheers > Dave Cragg > No its /ditto/myfunction. For kicks I tried y

Re: [flexcoders] Print examples?

2009-05-26 Thread Rick Winscot
If you want to print a sub-set of you text... You are going to need to select the appropriate text ­ transfer to a temporary container and use the temporary container as an argument for the PrintJob.addObject(). Remember that in order to print what you see ­ you must see what to print. This is esse

[flexcoders] Flex unloading SFW- memory management

2009-05-26 Thread Patrice O
Hi all, I m facing a problem with dynamic loading/unloading of swf. I'm using a class "mycustomSWFLoader" which extends SWFLoader and which use an instance of Loader class to load swf files (graphics data) from serialized SWF in bytearrays. All seem to be ok, I can display any of my swf, but the

Re: [flexcoders] wmode=transparent and accessibility does it work?

2009-05-26 Thread Matt May
It does not work. Without getting into too much detail, transparent Flash objects can't expose accessibility data because they're embedded in the HTML document differently, and they can't express the MSAA data needed. The same is true for wmode=opaque, by the way. The only supported way is wmod

Re: [flexcoders] Zoom on an Image

2009-05-26 Thread Rick Winscot
There is a really nice implementation over at the Adobe Developer Connection... http://www.adobe.com/devnet/flex/samples/fig_panzoom/ Rick Winscot On 5/25/09 4:19 AM, "Kenneth Sutherland" wrote: > > > > > > > I¹ve done a basic example of zooming. Check out > http://kennethsutherl

Re: [flexcoders] High CPU usage

2009-05-26 Thread Rick Winscot
How often are you calling invalidateDisplayList()? Are you using effects, filters, or skins ­ and if so... to what extent. Is there data involved? What kind and how much? Are the components custom? If so... can you post some code for us to look at? Obviously, all we can do is Œstab in the dark¹ an

[flexcoders] Re: Value Objects

2009-05-26 Thread mikeashields
Yes, the nomenclature is disconcerting. I reviewed your link however am unfamiliar with java/jsp and thus couldn't necessarily follow. Nonetheless it seemed to say that mapping flex properties to the database properties (returned via jsp/cfusion) offers various advantages -- mostly related t

RE: [flexcoders] Value Objects

2009-05-26 Thread Tim Rowe
The use of 'VO's in Flex has always confused me, largely because as everyone I've spoken to has explained it, all a 'Value' object is is just a Model object - therefore WTF are they being referred to as 'VO's when 'Object' (or Model object) would suffice. My understanding is that the Object repr

Re: [flexcoders] httpservice error #2032

2009-05-26 Thread Dave Cragg
On 26 May 2009, at 05:35, flexaustin wrote: > _httpservice.url = "/ditto/myfunction"; Shouldn't that be _httpservice.url = "ditto/myfunction"; Cheers Dave Cragg

[flexcoders] simultanious Select Query by 2 users throws nullpointer exception in BlazeDS log

2009-05-26 Thread Simon Mathew
Application works perfectly fine if one person use it at a time. I checked the number of connection pool and it has the size of 100. I have spent too much time without any result to figure this out. I am using Tomcat 6, Java for serverside script, MySQL for database, and use BlazeDS with remo

[flexcoders] Setting the width and height of a RichEditableText component based on text

2009-05-26 Thread daxdr9
I'm creating a custom item renderer for Spark List. To start, I modified the default renderer skin. The default skin uses SimpleText to display a label. I need to make the text selectable, so it appears that RichEditableText is the appropriate choice for me. I tried to just replace SimpleTex

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
Not sure if it matters but my app is a rails app and I am doing a POST with the httpservice. I am not returning anything after the call would that appear as a fault to my httpservice? Should I send something back? TIA --- In flexcoders@yahoogroups.com, "[p e r c e p t i c o n]" wrote: > > I

[flexcoders] wmode=transparent and accessibility does it work?

2009-05-26 Thread Greg Hess
Hi Folks, I have been reading many posts on issues with screen readers(JAWS) when using the wmode=transparent|opaque, basically they state accessibility does not work with transparent or opaque flash applications. The posts are all over a year old and I am unable to find an adobe bug on it... as s

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
Do I need a services-config.xml file as well? --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > HIn my testing relative URL's don't appear to work. The only way I > can get it to work is if I put a complete URL in the url property of the > HTTPService object. eg. > > _httpservic

Re: [flexcoders] Value Objects

2009-05-26 Thread Nate Beck
Hey Mike, You'll see VO and DTO used interchangeably, I believe this is because Cairngorm used to use Data Transfer Object and then switched to Value Objects at some point. That being said... this article gives a very basic example of passing data to and from a server strictly typed, which is what

[flexcoders] Value Objects

2009-05-26 Thread mikeashields
I've come via a MySql to CF to Flex learning path. As such, 1.) my flex app uses with source= pointing at a CFC (in wwwroot/test/cfcs directory). 2.) Said cfc calls a MySql STORED PROCEDURE which returns (say) a list of "owners" (id, firstname, lastname, etc). 3.) CF passes this back to Fl

Re: [flexcoders] httpservice error #2032

2009-05-26 Thread [p e r c e p t i c o n]
If you are using a windoze machine you can see the request being handled in the command window..i don't think the url is correct On Mon, May 25, 2009 at 9:35 PM, flexaustin wrote: > > > I cannot seem to get my SWF to talk to my rails app. i am getting the > following error code: > > Fault: incre

Re: [flexcoders] Flex Builder not rebuilding source

2009-05-26 Thread Jeffry Houser
I find this occurs if I re-compile with an active debug sessions. Close all your browser windows, and then clean your project. This does not appear to work every time, though. Cordova Aaron wrote: > I've had this problem in the past and never got an answer. The problem is > back. I'll be

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
Do I need a services-config.xml file as well? --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > HIn my testing relative URL's don't appear to work. The only way I > can get it to work is if I put a complete URL in the url property of the > HTTPService object. eg. > > _httpservic

[flexcoders] URLLoader + Binary != URLStream

2009-05-26 Thread Stephen More
I would think that I could load a swf using either URLLoader or URLStream. As it turns out only my URLStream is returning the correct data. Can anyone provide a fix to the following code that makes URLLoader work correctly ? import flash.net.URLLoader; import flash.net.URLL

[flexcoders] Re: Flex Builder not rebuilding source

2009-05-26 Thread valdhor
Clean the project and then check for any errors. Flex is running the last completely compiled SWF. --- In flexcoders@yahoogroups.com, Cordova Aaron wrote: > > > I've had this problem in the past and never got an answer. The problem is > back. I'll be working on a project and constantly make mi

[flexcoders] How release Memory consumed by DataService

2009-05-26 Thread Dharmendra Chauhan
Hello All, dataService.release(); dataService.dissconnect() dataService.logout(); I am using above set of codes to release resources consumed by Data Service. but I was surprised to see that even after running above code memory consumption is not coming down. During prof

[flexcoders] High CPU usage

2009-05-26 Thread Tom McNeer
Hi, Can anyone direct me to resources on how to track/profile/explore CPU usage in a Flex app? I've googled without any real success. In an app I'm developing, the CPU usage seemed to suddenly shoot up to near 100%. Now, I'm sure that it didn't happen suddenly; I'm sure I just wasn't paying atten

[flexcoders] Flex Builder not rebuilding source

2009-05-26 Thread Cordova Aaron
I've had this problem in the past and never got an answer. The problem is back. I'll be working on a project and constantly make micro changes and then debug, eventually the changes aren't compiled in anymore. In the small project I'm working on I have removed all Alerts. They don't exist in th

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread valdhor
HIn my testing relative URL's don't appear to work. The only way I can get it to work is if I put a complete URL in the url property of the HTTPService object. eg. _httpservice.url = "http://127.0.0.1/ditto/myfunction";; --- In flexcoders@yahoogroups.com, "flexaustin" wrote: > > I don

[flexcoders] Destroy DataDestination when user Disconnects ?

2009-05-26 Thread Dharmendra Chauhan
Hi FlexCoders, In my application a separate DataDestination gets created when user logs in. I want(struggling) to destroy the destination associated with the particular user. For this I have created FlexSesioListner and as soon as DataDestination gets created I immediately put it in Fle

[flexcoders] Is it possible to layer div|iframe over flash app without wmode=transparent

2009-05-26 Thread Greg Hess
Hi Folks, We have built a flash app that currently layers an HTML div over the flash for some key functionality (non h264 video playback). Everything is working fine, our first deployment is in France this summer and we are doing our translations ect... Unfortunately, it seems we are now one of ma

[flexcoders] Re: NEED more than 15 menu item in Context Menu ????

2009-05-26 Thread Dharmendra Chauhan
Thanks a lot for sharing me this idea. It seems to be working for me too except a tiny issue . The issue is when I Right Clk , Flash Player's context Menu appears for a moment then immediately disappears before actual dot net based context menu made available to UI. >From users perspective It

[flexcoders] Is there a way to pass a parameter into my preloader?

2009-05-26 Thread luvfotography
I've created a preloader class, and is there a way to pass a parameter into my preloader? Here is my application tag: http://www.adobe.com/2006/mxml"; applicationComplete="appInit()" layout="absolute" preloader="com.mysite.preloader.SSPr

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
I don't have a services-config.xml file. --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > What does your services-config.xml file look like. > > According to the documentation "If you specify the url and a non-default > destination, your destination in the services-config.xml file mus

[flexcoders] Re: problems embedding symbols from Flash

2009-05-26 Thread a.scavarelli
Is the symbol "exported for actionscript" in it's properties? And if so is the name "amp_ok"? or is it something like "someclass.amp_ok"? I could not ever figure out how to link a symbol to an external as class and use it's extended functionality in Flex. I ended up just creating a component w

[flexcoders] problems embedding symbols from Flash

2009-05-26 Thread grimmwerks
Frustrated. I've got tried this with an AS3 version and currently with a Flash player 8 version... but am trying to embed a class within a component like so: [Bindable] [Embed(source="buttonStates/multistate8.swf", symbol="amp_ok")]; private var tmp:Class; I get "Metadata requires an assoc

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread valdhor
What does your services-config.xml file look like. According to the documentation "If you specify the url and a non-default destination, your destination in the services-config.xml file must allow the specified URL" --- In flexcoders@yahoogroups.com, "flexaustin" wrote: > > I cannot seem to g

Re: [flexcoders] dnd list items

2009-05-26 Thread thomas parquier
Jake, I cannot use bitmapdata because i'll have to use an instance of itemrenderer which will have some different display behavior when used as proxy. I've managed to get a transparent bg, I had to set explicitly in css class applied to the *list* (because proxied itemrenderer use "styleName=List

[flexcoders] offset in chart with two series

2009-05-26 Thread thomas parquier
Hi, I think such a behavior has already been posted on the list, but google nor yahoo could get the email back. I wrote an application which can display multiple series on a chart, but when two lineseries are set, one is displaying with an offset though first and last data items have same xfield v

Re: [flexcoders] itunes clipboard format not understood in AIR

2009-05-26 Thread Kevin F. Benz
The clipboard in AIR is text only. It¹s not going to work for a binary file. I have asked Adobe about binary clipboard support and I don¹t expect it anytime soon. It¹s pretty dicey working with the iTunes library anyway since iTunes will move files around to balance it¹s directory tree (unless you

Re: [flexcoders] itunes clipboard format not understood in AIR

2009-05-26 Thread Kevin F. Benz
4 sure. We had some luck with a javascript window where we would drag the file but the problem was the only real way to know where the file was going to be (if the plan was to keep a reference to it) was to camp on the library xml files and those get rewritten when iTunes closes or music is importe

Re: [flexcoders] itunes clipboard format not understood in AIR

2009-05-26 Thread Paul BH
Hey Kevin, thanks for this. Its a shame I can't get a reference to the file so I can work with it. cheers Paul On Tue, May 26, 2009 at 11:03 AM, Kevin F. Benz wrote: > > > The clipboard in AIR is text only. It’s not going to work for a binary > file. I have asked Adobe about binary clipboard

[flexcoders] itunes clipboard format not understood in AIR

2009-05-26 Thread paulbhoston
Hi there, I've been trying to drag a song from itunes into my app, but the clipboard (in AIR) doesn't seem to have any format acceptable to AIR. Does anyone have any idea how to overcome this? thanks!

[flexcoders] Re: Problem importing classes with D.eval

2009-05-26 Thread valdhor
I don't think you can use D.eval in the way you are trying to. After reading the documentation, there are a few things you need to do... Instantiate an object of the type you are trying to use. You don't need to use this object but it needs to be created so Flex adds the class to the SWC. For e

[flexcoders] Re: Creating custom component instance all the time when click on the button

2009-05-26 Thread valdhor
Quick and dirty... [ MyApplication.mxml ] http://www.adobe.com/2006/mxml"; layout="vertical" xmlns:ns1="*"> [ CustomComponent.mxml ] http://www.adobe.com/2006/mxml";> HTH Steve --- In flexcoders@yahoogroups.com,

RE: [flexcoders] String To Date Conversion

2009-05-26 Thread Kenneth Sutherland
First thing you need to do is to convert the timezone IST into whatever its difference is from GMT. (I have no idea what timezone IST is, so this is not accurate). So your string Tue May 26 18:12:55 IST 2009" would turn into Tue May 26 18:12:55 GMT -0200 2009" once you've done this then you can p

Re: [flexcoders] Flex with ZendAMF and sessions/cookies

2009-05-26 Thread Daniel Freiman
I had a problem using ZendAMF and Zend_Session at the same time. Zend_Session was interfering with ZendAMF. I think https had something to do with it as well. I had to use php sessions instead. Otherwise, unless there's another bug somewhere else, it should just be the combination of the ZendAMF

RE: [flexcoders] dnd list items

2009-05-26 Thread Jake Churchill
http://www.axelscript.com/2008/03/26/creating-a-dragimage-from-your-uicomponent/ This is a blog post a friend of mine wrote about this. Specifically you want this method: public function getUIComponentBitmapData( target : UIComponent ) : BitmapData { var b

RE: [flexcoders] String To Date Conversion

2009-05-26 Thread Jake Churchill
new Date( Date.parse( your_string_variable ) ); Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of yogesh patel Sent: Tu

[flexcoders] String To Date Conversion

2009-05-26 Thread yogesh patel
Dear all ,   I have a String like "Tue May 26 18:12:55 IST 2009". How to convert this string into Date object ? Thanks & Regards,  Yogesh Patel Own a website.Get an unlimited package.Pay next to nothing.* Click here!. Cricket on your mind? Visit the ultimate cricke

[flexcoders] Flex with ZendAMF and sessions/cookies

2009-05-26 Thread martinosaint
Hi, it seems impossible to find any information on how to use Flex with ZendAMf with sessions. There is only one tutorial, and this does not work for me. So please, is there anyone who has ever worked with this constellation? Thanks for any advice, Martin

[flexcoders] Audio breaks while streaming

2009-05-26 Thread manoj ns
I have an app deveoped for live streaming. I use FMS 3.5 as the streaming server and use flex to code the front end. When i test the app gradually the sound starts breaking. If i restart the app things are okay but again after some time the audio breaks. Any hint in finding out the issue. Than

Re: [flexcoders] LCDS async error

2009-05-26 Thread Johannes Nel
No, tis not 1, all our error handeling uses FaultEvent. How I would have approached this with other parts of the framework. Copy the adobe class into my src folder, make the change needed to avoid the error and let my changed class override the adobe implementation at compile time (what are the im

Re: [flexcoders] chart "labelRotation" problem

2009-05-26 Thread Vikram Singh
Thanks Vivian Richard.. :) From: Vivian Richard To: flexcoders@yahoogroups.com Sent: Monday, 25 May, 2009 7:39:10 AM Subject: Re: [flexcoders] chart "labelRotation" problem Please see this link -- http://demo.quietlyscheming.com/ChartSampler/app.h

Re: [flexcoders] chart "labelRotation" problem

2009-05-26 Thread Vikram Singh
Thanks Jake Churchill.. From: Jake Churchill To: flexcoders@yahoogroups.com Sent: Saturday, 23 May, 2009 9:32:36 PM Subject: RE: [flexcoders] chart "labelRotation" problem It seems like I’ve gotten this working before. At least on the axis I did but I ha

Re: [flexcoders] Remote Service fails with IE8 - NetConnection.Call.Failed: HTTP: Status 200

2009-05-26 Thread Tom Chiverton
On Friday 22 May 2009, t_varada wrote: > Once our clients upgrade to IE8 from IE7 the Flex remote service fails with > the following exception, Could you sniff the HTTP traffic and see what is actually going back and forth ? -- Helping to vitalistically transition extensible cross-platform mate

Re: [flexcoders] Re: VO Issues

2009-05-26 Thread Tom Chiverton
On Wednesday 20 May 2009, Jake Churchill wrote: > Struct[__TYPE__] = "com.rottmanj.model.vo.CompanyVO"; Though note this doesn't handle booleans quite right. You need to JavaCast() them. -- Helping to revolutionarily facilitate unique technologies as part of the IT team of the year, '09 and '0

Re: [flexcoders] Flex + Java + Hibernate

2009-05-26 Thread foodyi
madhavaram123 写道: > Hi All, > > I am facing a peculiar problem while saving the data. Below is the detailed > explanation what I am doing. I always get the problem as "a different object > with the same identifier value was already associated with the session" > > But the above error does not com