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:
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]
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
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
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]
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:
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:
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
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:
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:
Plz tell me the difference b/w Cairngorm 2.2.1 and Cairngorm Enterprise 2.2.1
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,
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,
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
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
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
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
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
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
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
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:
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
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
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:
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
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
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.
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:
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]
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
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.
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..
101 - 132 of 132 matches
Mail list logo