[flexcoders] Re: Flex 4 layout documentation for spark ActionScript components

2010-06-09 Thread Florian
Hey Alex, is there already a more detailed documentation already on layouts and how to define and implement them properly? By this, i don't talk about implementing custom layout classes, but some deeper insight on how the layout api works. Best regards --- In flexcoders@yahoogroups.com, Alex

[flexcoders] Need a cairngorm sample app with source code

2010-06-09 Thread Sathya
Hi flexers, I am new to cairngorm.. i have using php and mysql as backend for flex + cairngorm framework.. But i didn't get anything as code to pass data as follows.. Flex + Cairngorm -- XML -- PHP + MYSQL Is it possible..? It is possible i think.. But i didn't get a sample code yet..

[flexcoders] Different effects

2010-06-09 Thread Nick Middleweek
Hi, I'm reading up about Flex Effects... Can anyone explain the difference between the three types: 1). MaskEffect 2). TweenEffect 3). CompositeEffect. I'm guessing that Tween is animation and Composite is a combined effect such as move and resize. Thanks, Nick

[flexcoders] Flexunit and button click simulation

2010-06-09 Thread NagendraP
hi I have a button in my view which is listening to the mouse click. Im my flex unit test function, i am creating mouseevent object and then dispatching the event on the button object. this is not working when i run the flex unit cases. Any one to throw more light in simulating the

[flexcoders] Reference value

2010-06-09 Thread stldvd
Hi, I'm working on a sports app with teams. Depending on the date, different team matchups will be displayed. However, before the 11th we just want to display the matchup for the 11th. I have the following code, but I'm getting a compile-time error: Target of assignment must be a reference

RE: [flexcoders] Reference value

2010-06-09 Thread Gregor Kiddie
You're trying to assign a number into a string really... Just doing this should be enough. currentDate = 11; It does raise the issue... if you are always wanting to treat the date as a number, why create it as a string in the first place? Gk. From: flexcoders@yahoogroups.com

[flexcoders] Re: Reference value

2010-06-09 Thread stldvd
Doh! Thanks. (Didn't realize that the date object returned a Number). --- In flexcoders@yahoogroups.com, Gregor Kiddie gregor.kid...@... wrote: You're trying to assign a number into a string really... Just doing this should be enough. currentDate = 11; It does raise the

Re[flexcoders] cycling height issue in custom item renderer

2010-06-09 Thread DevSachin
Hi All, I have a recycling height issue with cutom renderer of ADG. Renderer is a UIComponent and contains a Text control to show string values. My objective is to create this custom item renderer is to show multiline text and to show framed border around cell etc. i am pasting code basic code

[flexcoders] Re: Flex Webservices

2010-06-09 Thread flexnewbie06
Thanks, yes I have used them that way before and it would work similarly. I read my webservice and I posted it incorrectly..oops! apologies...so the part that confuses me is the complex object part...where you see the web service says zero or more repetitions...so if I did it in AS how would I

[flexcoders] flex 4 - NavigatorContent question / element parent

2010-06-09 Thread bhaq1972
I added a Panel component into a NavigatorContent public function aMethod():void { var nc:NavigatorContent = new NavigatorContent(); nc.addElement(myPanel); } Now, in another method I want to access this NavigatorContent eg public function anotherMethod(myPanel:Panel):void { var

Re: [flexcoders] Re: Combobox in ItemEditor

2010-06-09 Thread Alex Harui
If you got that error, you didn’t set it up correctly. What does your code look like? You basically have to delegate to/from the Grid to the inner ComboBox. On 6/3/10 12:40 PM, Goutham goldensu...@yahoo.co.in wrote: Hi Alex, thank you, I tried it using an id for the combobox, gives me

[flexcoders] item renderer inner button selection

2010-06-09 Thread stephen_anson
Hi, I have a custom item renderer for a list component that contains a button. I would like the itemClick event to target clicks of the button not the whole renderer What is the best way to go about this? any help much appreciated. cheers Steve

Re: [flexcoders] item renderer inner button selection

2010-06-09 Thread Alex Harui
Maybe add a mouseDown and mouseUp listener to the renderer that calls stopImmediatePropagation when you don’t wan the List to see it. On 6/9/10 8:32 AM, stephen_anson s...@nson.co.uk wrote: Hi, I have a custom item renderer for a list component that contains a button. I would like the

[flexcoders] List component scrolls too fast when dragging/reordering its items.

2010-06-09 Thread chuckjr
I have a list component with dragEnabled=true, dropEnabled=true, and dragMoveEnabled=true, so I can reorder the items by dragging them. The data is longer than will fit, so it shows the scroll bar. The problem I'm having is that when I drag an item off the top or the bottom of the list, the

Re: Re[flexcoders] cycling height issue in custom item renderer

2010-06-09 Thread Alex Harui
You can’t prevent recycling of renderers. The renderer should measure based on explicitWidth. On 6/9/10 7:49 AM, DevSachin talktosachin2...@rediffmail.com wrote: Hi All, I have a recycling height issue with cutom renderer of ADG. Renderer is a UIComponent and contains a Text control to

[flexcoders] Problem with RESTful web services and Flex on OS X

2010-06-09 Thread Paul Sanders
I have a Flex app that makes RESTful calls to a server and it works just fine on my Windows XP machine. One of the APIs returns a 404 NOT FOUND error if a requested record is not found and my Command object traps that in the fault method and sets up an empty Value Object as the result to pass

Re: [flexcoders] Re: Flex 4 layout documentation for spark ActionScript components

2010-06-09 Thread Alex Harui
Maybe this? http://www.adobe.com/devnet/flex/articles/spark_layouts.html On 6/8/10 11:24 PM, Florian florian.saliho...@gmail.com wrote: Hey Alex, is there already a more detailed documentation already on layouts and how to define and implement them properly? By this, i don't talk about

Re: [flexcoders] flex 4 - NavigatorContent question / element parent

2010-06-09 Thread Alex Harui
Try myPanel.owner On 6/9/10 8:23 AM, bhaq1972 mbha...@hotmail.com wrote: I added a Panel component into a NavigatorContent public function aMethod():void { var nc:NavigatorContent = new NavigatorContent(); nc.addElement(myPanel); } Now, in another method I want to access this

Re: [flexcoders] List component scrolls too fast when dragging/reordering its items.

2010-06-09 Thread Alex Harui
There is no API to control it. You could try subclassing, overridding dragScroll and not calling super.dragScroll every time and resetting the interval to a different number. On 6/9/10 9:28 AM, chuckjr itsmechuc...@yahoo.com wrote: I have a list component with dragEnabled=true,

[flexcoders] Re: List component scrolls too fast when dragging/reordering its items.

2010-06-09 Thread chuckjr
Thanks. I'll give it a try. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: There is no API to control it. You could try subclassing, overridding dragScroll and not calling super.dragScroll every time and resetting the interval to a different number. On 6/9/10 9:28 AM,

[flexcoders] Re: Lcds Clustering problem with Flex session.

2010-06-09 Thread sanjitcs
Thanks for your reply. I have configured LCDS setup correctly and i am also using the sticky session and I am still getting the similar behavior. For clustering I have followed step given for LCDS clustering. Could you please elaborate make sure your LCDS setup is correct for clustering

[flexcoders] Re: flex 4 - NavigatorContent question / element parent

2010-06-09 Thread valdhor
Or make nc a property of the class so you can use it in any method. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Try myPanel.owner On 6/9/10 8:23 AM, bhaq1972 mbha...@... wrote: I added a Panel component into a NavigatorContent public function

RE: [flexcoders] Re: Lcds Clustering problem with Flex session.

2010-06-09 Thread Gregor Kiddie
Looking back at my notes from before. The other thing we had to do was a JGroups to each instance for the sessions to be replicated. Gk. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of sanjitcs Sent: 09 June 2010 18:25 To: flexcoders@yahoogroups.com

[flexcoders] Defining layouts in Spark controls

2010-06-09 Thread Nick Middleweek
Hi, Is there another way of defining the layout on a Spark control? It seems we have to do this... s:Panel title = Range Search s:layout s:VerticalLayout/ /s:layout /s:Panel Is there a nicer way?... Something like... layout = {new VerticalLayout()}

[flexcoders] Re: Reference value

2010-06-09 Thread David
You can directly access the date using now.date (1..31) and month using now.month (0..11), so you code can be simplified as follows. var now:Date = new Date();if ( now.month == 5 now.date 11 ) now.date = 11; --- In flexcoders@yahoogroups.com, stldvd stl...@... wrote: Hi, I'm working on a

[flexcoders] Re: Different effects

2010-06-09 Thread David
TweenEffect is the superclass of all Tween-based animation effects, such as Resize, Move, etc. MaskEffect is the superclass for animations that involves masks, such as Dissolve, Fade, Iris, etc. CompositeEffect is the base class for composite effects, such as Parallel and Sequence, which

[flexcoders] intro + good Flex reference book?

2010-06-09 Thread Roy Pardi
Hi all, Just joined this group/list and am getting up to speed with Flex 4 + AIR. I'm coming from many years working with Director/Lingo, along with a fair amount of experience with AS3 + C++. I like Flex so far but am still figuring out working methods that are flexible and make logical sense to

[flexcoders] Facebook Application

2010-06-09 Thread Christophe
Hello, Is it possible to create a facebook application with Flex ? Thank you, Christophe,

Re: [flexcoders] Facebook Application

2010-06-09 Thread Alan Rother
http://code.google.com/p/facebook-actionscript-api/ http://code.google.com/p/facebook-actionscript-api/=] On Wed, Jun 9, 2010 at 11:09 AM, Christophe christophe_jacque...@yahoo.frwrote: Hello, Is it possible to create a facebook application with Flex ? Thank you, Christophe, --

Re: [flexcoders] intro + good Flex reference book?

2010-06-09 Thread Kerry Thompson
Roy Pardi wrote: I was wondering if anyone can recommend a good Flex book that is on the level of Colin Moock's Essential Actionscript 3? In other words, something that isn't primarily project building tutorial-based but instead presents in-depth discussion of components and classes, the

[flexcoders] TextArea -- allow tab character in restrict property

2010-06-09 Thread Warren
I have a Flex 3 textarea with restrict = A-Z0-9\-. I want to let users enter a tab cahracter but I can't figure out how to change the restrict property to allow it. I know it's right in front of me but I can't see it. Thanks! Warren Koch

Re: [flexcoders] Facebook Application

2010-06-09 Thread duncan mcmillan
Chris Go to the flex4 learning paths at: http://www.adobe.com/devnet/flex/learn/learningpath.html#type=taskrole=facebookgoal=Get%20startedtask=1.%20Get%20started%20with%20Facebook This is great from Adobe , I am following them religeously Duncan From:

RE: [flexcoders] intro + good Flex reference book? [1 Attachment]

2010-06-09 Thread Glenn Williams
Hi and welcome. You're going to enjoy flex Im sure. It's a great framework and I think fun to work in. Anyway books. Flex 4 Bible, nice big book that covers lots and a good place to start I liked the flex 3cookbook so assume flex 4 one will be a winner also, but it's not available in uk

[flexcoders] Re: List component scrolls too fast when dragging/reordering its items.

2010-06-09 Thread chuckjr
Hey Alex, this is the first time I've ever tried to subclass a component or override a method, and guess what? I got it to work! I know! I'm just as surprised as you are! Thanks for all your help. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: There is no API to control it.

[flexcoders] Modify binding event

2010-06-09 Thread rinogo2
Hello, all! I have a NumericStepper bound to my data model. I'd like the model to be updated *while* NumericStepper changes (e.g. while the user clicks and holds the 'up' button) instead of only making the change once the stepper loses focus. I have a feeling this requires some use of the

[flexcoders] Re: Modify binding event

2010-06-09 Thread rinogo2
Update: Clicking on the buttons yields the correct behavior. The model is updated as expected, even if the button is held down. (The model updates every time the value 'steps' higher or lower). The functionality that isn't quite what I desire is when the user clicks in the associated text

Re: [flexcoders] Different effects

2010-06-09 Thread Angelo Anolin
Hi Nick, Care to share where you are reading a lot about this topics? I am trying to put some animation and effects to a small data app I am creating at the moment. Thanks. From: Nick Middleweek n...@middleweek.co.uk To: flexcoders@yahoogroups.com Sent: Wed,

[flexcoders] Re: Adjusting spark Animation values in mid-animation

2010-06-09 Thread armantic101
Nobody knows then? --- In flexcoders@yahoogroups.com, armantic101 amil...@... wrote: Hello, I don't do a lot of animation code, so I was hoping some of the experts here could help get me started with this problem. I need to animate a value in a custom component. The Animation code is

Re: [flexcoders] TextArea -- allow tab character in restrict property

2010-06-09 Thread Kerry Jordan
On Wed, Jun 9, 2010 at 1:36 PM, Warren warrenony...@charter.net wrote: I have a Flex 3 textarea with restrict = A-Z0-9\-.  I want to let users enter a tab cahracter but I can't figure out how to change the restrict property to allow it. Couldn't you simply enter a tab between the restrict

[flexcoders] what's happen with my 'array' ?

2010-06-09 Thread cholid cholid
hi all i've new problem im make mx:ComboBox that the data is from array that's request from mx:Text i've two mx:Text that string source is 1.array string = ['M3-02-06-2010-10-05-04.flv', 'M3-02-06-2010-22-17-16.flv', 'M3-02-06-2010-12-07-06.flv', 'M3-02-06-2010-08-03-02.flv'] 2.array string