[flexcoders] Adding numeric stepper values

2008-01-09 Thread JRBower
I have 5 numeric steppers that I'd like to add their values together and display the total in a label. for example: pt01 + pt02 + pt03 + pt04 + pt05 = pt06 (label) I'm not sure how to create the function. Thanks for your help, James -- View this message in context:

Re: [flexcoders] Adding numeric stepper values

2008-01-09 Thread Aaron Miller
Just use binding. # private function stepperSumFun( val1:int, val2:int, etc.. ): String { # return (val1+val2+etc..); # } # mx:Label text={stepperSumFun(pt01.value, pt02.value, etc..)} / You could also do it without the function. Regards, ...aaron On 1/9/08, JRBower [EMAIL PROTECTED]

[flexcoders] Re: Flex Calendar

2008-01-09 Thread vivek
Hi Jeff, Initially Yes i was but didnt really work out.. Now i am trying to do it myself as a challenge. The problem here i am new to flex and i dont really know where to start from. Till now ii have a panel with buttons and a grid to display the dates. But now i am wondering what code to put in

[flexcoders] repeater

2008-01-09 Thread bmilesp
Hello everyone, is it me or is the event.currentTarget.getRepeaterItem() very limited in the information it contains? I have a custom component that uses a repeater to generate a number of comboboxes. when i change a combobox value, i want change=Alert.show(value) (value being the current

Re: [flexcoders] Flex Calendar

2008-01-09 Thread Aaron Miller
Have you messed around with the official framework at all? I played with it while it awhile back in it's early stages of development. Maybe you can get some use out of it. http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework Best Regards, ...aaron On 1/8/08, vivek [EMAIL PROTECTED]

RE: [flexcoders] repeater

2008-01-09 Thread Tracy Spratt
Create a custom component, repeat that, and pass a reference to the entire currentItem into it. This lets you code normally, dispatch events, and gives you access to the entire dataprovider item in event handlers. Say goodbye to getRepeaterItem. Below are smone snippets. Tracy Goal:

RE: [flexcoders] Flex Calendar

2008-01-09 Thread Tracy Spratt
I found it easier to create my own Calendar from scratch. Wasn't too difficult. I used mx:Tile and Repeater. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Miller Sent: Thursday, January 10, 2008 12:11 AM To:

[flexcoders] iPhone's flip effect in flex

2008-01-09 Thread phil swenson
The iPhone has a really cool flip effect in the iPod application... has anyone seen anything like this for Flex? I found this one: http://www.alex-uhlmann.de/flash/adobe/blog/distortionEffects/effectCube/ it's nice but still not nearly as smooth as the iphone's flip any other ones floating

Re: [flexcoders] Set menuBar dataProvider per AS

2008-01-09 Thread Max Frigge
my bad. The component was already created at the time where I assigned the eventListener. I shouldn't develop late at night :-) Sorry for bothering and thanks anyway! Cheers, Max - Original Message From: Deepa Subramaniam [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

RE: [flexcoders] displaying XML in datagrid

2008-01-09 Thread Tracy Spratt
You do not have XML in your result and dataProvider, you have a nested object structure which is the default. Set resultFormat=e4x, then cast/convert event.result to XML, then view it using toXMLString(). Then go from there. Tracy From:

[flexcoders] difference b/w Cairngorm 2.2.1 and Cairngorm Enterprise 2.2.1

2008-01-09 Thread yourName
Plz tell me the difference b/w Cairngorm 2.2.1 and Cairngorm Enterprise 2.2.1

Re: [flexcoders] Adding numeric stepper values

2008-01-09 Thread JRBower
I'm getting an error: 1067: Implicit coercion of a type Number to an unrelated type String. And if I change String to Number I get this warning and still no total: Data binding will not be able to detect assignments to value. private function stepperSumFun( val1:int, val2:int, val3:int,

Re: [flexcoders] Adding numeric stepper values

2008-01-09 Thread Aaron Miller
Sorry, I typed it kind of quickly: # private function stepperSumFun( val1:int, val2:int, val3:int, val4:int, val5:int):String { #return (val1+val2+val3+val4+val5).toString(); # } Also, you need to pass Numbers not ints if the steppers will have decimals. Best Regards, ...aaron On 1/9/08,

Re: [flexcoders] displaying XML in datagrid

2008-01-09 Thread YOGESH JADHAV
Hi Tracy, Thanx for that, i followed that and now i am getting long xml in ( which is same in both column ) inside my datagrid. I was getting same result when result format was text previously. My problem is how to break up that xml data, map it to respective coloums and

Re: [flexcoders] Re: Logging

2008-01-09 Thread learner
I had used error class and was able to get the stack trace and notice that it does not work when I make a package for air installer so how should make a debug player for the air packaging? On Jan 10, 2008 6:55 AM, Nathan Arizona [EMAIL PROTECTED] wrote: In flex2 perhaps you can use

[flexcoders] Dragged rectangle offset

2008-01-09 Thread Muhammad Ahmed Ullah
Hi, Does flex framework provides a way to know the offset of the dragged rectangle from the mouse cursor, in the event handler of DRAG_DROP event. Regards, Ahmed

[flexcoders] RE: [flexcomponents] Logging

2008-01-09 Thread Alex Harui
http://blogs.adobe.com/aharui/2007/10/debugging_tricks.html From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Wednesday, January 09, 2008 6:24 AM To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] Subject: [flexcomponents] Logging

RE: [flexcoders] Dragged rectangle offset

2008-01-09 Thread Alex Harui
Don't thnk you can do that From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Ahmed Ullah Sent: Wednesday, January 09, 2008 10:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dragged rectangle offset Hi, Does flex

[flexcoders] Where is my AIR App?

2008-01-09 Thread Dale Fraser
I have developed an Flex 3 AIR application. Works fine when I run it, when I do a Projects, Export Release Build. It goes through the motions and finishes, no errors, but I can't find the resulting .air file. I do have a .airi file, not sure what this is, but it doesn't run. Any

RE: [flexcoders] Image Component Rendering issues

2008-01-09 Thread Alex Harui
Please post a picture and/or test case From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben gomez farrell Sent: Wednesday, January 09, 2008 3:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Image Component Rendering issues

RE: [flexcoders] Re: DataGridColumn width shrinks when visibility is toggled

2008-01-09 Thread Alex Harui
Is your problem related to this? http://bugs.adobe.com/jira/browse/SDK-14064 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dfalling Sent: Wednesday, January 09, 2008 2:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] Strange Page Titles with HistoryMangement

2008-01-09 Thread Alex Harui
Use BrowserManager instead From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of byte.sensei Sent: Wednesday, January 09, 2008 1:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Strange Page Titles with HistoryMangement Ever

RE: [flexcoders] crossdomain not working with HTTP Request Error

2008-01-09 Thread Alex Harui
I'm not the expert on network sniffers but apparently there are such things so you can tell what is being accessed. If your crossdomain.xml is in http://[host]:[port]/crossdomain/crossdomain.xml, then you will need to use loadPolicyFile, but if you have a wsdl in your app, it might get fetched

RE: [flexcoders] How do I use the itemrenderer for Datagrid column

2008-01-09 Thread Alex Harui
Can you use the examples on my blog instead? http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.ht ml From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jovialrandor Sent: Wednesday, January 09, 2008 10:17 AM To:

RE: [flexcoders] Datagrid intermittent update

2008-01-09 Thread Alex Harui
How are renderers defined? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of candysmate Sent: Wednesday, January 09, 2008 6:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid intermittent update I have a datagrid whos

RE: [flexcoders] How does scale-9 placement affect the size of a border-skin?

2008-01-09 Thread Alex Harui
Yeah, that's the way it is coded right now. It might change before Flex 3 ships, but don't count on it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Wednesday, January 09, 2008 5:51 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] handling unload of swfs in flash 9 / as 3. Crashing safari, firefox

2008-01-09 Thread Alex Harui
Make sure you're on the latest player From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: Tuesday, January 08, 2008 6:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] handling unload of swfs in flash 9 / as 3.

RE: [flexcoders] HierarchicalCollectionViewCursor

2008-01-09 Thread Alex Harui
IHierarchicalData describes the hierarchy of the data in the model. How to get its children, determine if there is a branch, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joshuajnoble Sent: Tuesday, January 08, 2008 2:19 PM To:

RE: [flexcoders] getting information about the last focussed object...

2008-01-09 Thread Alex Harui
Listen for FOCUS_IN on the stage and keep track of the last one yourself From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rahul Kandari Sent: Wednesday, January 09, 2008 4:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Security issue in crossscripting

2008-01-09 Thread Alex Harui
Flex does not currently support cross-domain sub-apps From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Ahmed Ullah Sent: Wednesday, January 09, 2008 3:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Security issue in

[flexcoders] Re: Exit

2008-01-09 Thread flex.fusion
Hi Alger, Can you please tell us where shall we have these _global_ JavaScript functions written? Shall there be separate JavaScripts being called from 'header or body' portion of index.template.html project file? Or there is someother way you wanted to convey, please guide about it.

[flexcoders] Re: getting information about the last focussed object...

2008-01-09 Thread rahul_kandari2005
I m working on the panels and panels do not contain the FocusIn Event that is the main problem can you suggest me it for panels..

<    1   2