Embedding a lot of Segoe UI, Myriad Pro and Arial Matt. English here.
-TH
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
Hey folks,
We're working on our font embedding logic (and lookup logic) and
would like
to get a quick survey of the kinds of fonts people are
Cheers Gregor.
-TH
--- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED]
wrote:
In all seriousness... any scrollbar skinning has always been along
the
same lines as these posts.
http://axel.cfwebtools.com/index.cfm/2007/3/27/Custom-Scroll-Bar-
Using-C
SS
Heretofore known as the blahBlahBlahButton. :)
-TH
--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:
heh, that's almost the exact description of what I called the
CanvasButton:
http://dougmccune.com/blog/2007/06/01/new-component-canvasbutton-
added-to-flexlib/
Doug
Might just be a timing issue Doug. Have you tried callLater()?
Otherwise, maybe set
model.selectedValuation.valuationAdmin.valuation_status to the
correct value, instead of setting the selectedValue directly; since
it's bound.
-TH
--- In flexcoders@yahoogroups.com, Doug [EMAIL PROTECTED]
the repeater itself?
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
Might just be a timing issue Doug. Have you tried callLater()?
Otherwise, maybe set
model.selectedValuation.valuationAdmin.valuation_status to the
correct value, instead of setting the selectedValue directly
={model.selectedValuation.valuation_administration.valua
tion_status}/
mx:RadioButton id=open group={statusType} label=Open
value=Open /
mx:RadioButton id=closed group={statusType} label=Closed
value=Closed /
mx:RadioButton id=pending group={statusType} label=Pending
value=Pending /
--- In flexcoders@yahoogroups.com, Tim Hoff
Hi Steve,
Usually you would use Cairngorm events for application wide user
gestures; like making a service call, or for gestures that require a lot
of calculations or that navigate. However, to reduce the amount of
custom events, you can certainly use local flex or flash events for user
I would think that the children would still inherit the dropShadow in
this case. As a workaround, you could try setting the filters on the
children as well:
myTextInput.filters = [];
-TH
--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED]
wrote:
did you try putting hte
Hi Joshua,
Not tested, but you can try this:
private function basePriceLabel(item:Object):Number{
return Number(fBasePriceEntry.format(item.basePrice));
}
-TH
--- In flexcoders@yahoogroups.com, Joshua Partogi [EMAIL PROTECTED]
wrote:
Dear all,
I want to format a number inside a dataGrid
Shoot, strike that. You had it right; except for the second parameter
for the labelFunction:
private function basePriceLabel(item:Object,
column:DataGridColumn):String {
return fBasePriceEntry.format(item.basePrice);
}
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote
Hey, aren't you on sabbatical? :-) Have fun.
-TH
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Read the itemrenderer posts on my blog (blogs.adobe.com/aharui).
Renderers get recycled and only enough renderers to display the visible
items are created, so using
Hi,
You're better off wrapping the XMLList in an XMLListCollection and use
that as the dataProvider for the DataGrid. XMLListCollection is a
ListCollectionView for the underlying source and will retain the sort
order when you click on a DataGrid header. Using an XMLListCollection
also gives
Hi,
These situations are a bit tricky sometimes. The mouseDownOutside event
is usually what I use for this. Where it gets tricky is when there are
interactive children involved. If the children aren't interactive, you
can simply set the children's mouseEnabled property to false and you're
Hi Eugene,
In the state tag, you can set properties. This will happen when you
change to the state: Something like this:
mx:states
mx:State name=myFormState
mx:SetProperty target={myFirstFormField} name=text
value=/
mx:SetProperty target={mySecondFormField} name=text
private function effectEndHandler():void {
callLater(showBox);
}
private function showBox():void{
mainImgBox.visible = true;
}
-TH
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I have this box which I want to wipe left to hide and then wipe right
for programming at the framework
level.
callLater() is evil...
;-)
Mike
On Fri, Sep 19, 2008 at 1:06 PM, Tim Hoff [EMAIL PROTECTED] wrote:
*
private
* *function* effectEndHandler():*void* {
callLater(showBox);
}
*private* *function* showBox():*void
.
Mike
On Fri, Sep 19, 2008 at 1:20 PM, Tim Hoff [EMAIL PROTECTED] wrote:
Ha, totally agree. But, it works for now. :-)
-
.
--
Teoti Graphix, LLC
http://www.teotigraphix.com
Teoti Graphix Blog
http://www.blog.teotigraphix.com
You can find more by solving the problem
::UIComponent/set
visible()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UICompo\
nent.as:1870]
at Main/changeState()[K:\flex3\jbh\fdjbh\Main.mxml:173]
at Main/__button1_mouseUp()[K:\flex3\jbh\fdjbh\Main.mxml:302]
Tim Hoff wrote:
* *
*private* *function* effectEndHandler
Do you mean that you want the lable rotated? If so, create a custom
headerRenderer and use the rotation property. For this to work, you'll
have to use embedded fonts.
-TH
--- In flexcoders@yahoogroups.com, paulbohnenkamp
[EMAIL PROTECTED] wrote:
I would like for a datagrid column's
Hi Danny,
Not sure if you figured this out yet, but this CSS works for me:
PopUpButton
{
color: #ff;
iconColor: #ff;
rollOverColor: #cc;
borderColor: #00;
fillAlphas: 1, 1, 1, 1;
fillColors: #00, #00, #00, #00;
highlightAlphas:
You're probably better off just creating an image and using that as the
skin for a container. Might be a bit tricky getting this to work with a
programmatic skin.
-TH
--- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote:
Heres the problem, I need to draw a gradient that
that! :)
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
You're probably better off just creating an image and using that as
the
skin for a container. Might be a bit tricky getting this to work
with a
programmatic skin.
-TH
--- In flexcoders@yahoogroups.com, tchredeemed
Btw, either way that you do it, you're probably going to have to layer a
gradient rectangle over another gradient rectangle; with the proper
opacity. The trick will be getting the colors to be what you want.
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Hey
Hi Amy,
Using the example in that you linked, I noticed that only the top and
left sides scaled as expected (quotes used). Could be a bug in the
Image class. However, by using the image as a borderSkin and CSS, I was
able to get it to scale properly. A possible workaround:
CSS:
.test
{
Hi Andres,
The MenuBar uses the click event for the top level. The children use
itemClick. Usually, you have to listen for both.
-TH
--- In flexcoders@yahoogroups.com, Andres Serral [EMAIL PROTECTED] wrote:
Hello.
The MenuBar control doesn't dispatch the itemClick event on items
that has
Hi Manu,
You can go with a third party control, use the popupManager to roll your
own, or create a borderSkin for the toolTip. I've done the last one
with success, but it wasn't easy. Here's a third party solution:
http://www.afcomponents.com/components/tooltip_flex/
Hey Maciek,
Setting an explicit gutter value fixed a similar problem that had once
with the labels on a chart. If I remember correctly, the label's font
will become illegible when the labelSizeLimt is met, or the label
dimensions force the font to be below the fontSize; because the label's
Sorry Maciek, got a late start today. Amy's CSS is correct. You can
also set the gutter dimensions on the ColumnChart tag in mxml. Try
using a big number first; like 200. I don't think that 20 is going to
be enough to solve the problem.
-TH
--- In flexcoders@yahoogroups.com, Amy [EMAIL
Hi Jonathan,
This should do it:
myHBox.horizontalScrollPosition = myHBox.getChildAt(myChildIndex).x;
-TH
--- In flexcoders@yahoogroups.com, Jonathan Lee [EMAIL PROTECTED]
wrote:
Hello:
I have a HBox which list different some thumbnails. And I know the
index of the child that needs to be
Interesting how related questions seem to come up on the same day. The
MenuBar items (top level) respond to the click event. The menu items
(children) respond to the itemClick event:
import mx.events.MenuEvent;
import flash.events.MouseEvent;
import mx.controls.Alert;
private function
The MXML:
mx:MenuBar id=myMenuBar
labelField=@label
click=clickHandler(event)
itemClick=itemClickHandler(event)
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Interesting how related questions seem to come up on the same day. The
MenuBar items (top
Are you setting explicit width values for the columns that you want to
remain fixed? Thie following code should keep the first two columns at
a fixed width and the third column should take up the rest of the
variable width:
mx:DataGrid width=100%
mx:columns
mx:DataGridColumn
Ha. Want to thank Ely for passing on this solution to me.
-TH
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
Sorry Maciek, got a late start today. Amy's CSS is correct. You can
also set the gutter dimensions
Sounds suspiciously like a callLater() solution. Have you tested
whether the creationComplete event is actually firing, before you click
tab2, for all of the child components? Sometimes not setting the data,
in a timely fashion, can also make a view appear blank.
-TH
--- In
of 100. I haven't been
able to find anything in the flex documentation to mention the
possibility of a variable width column.
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
Are you setting explicit width values for the columns that you want
to
remain fixed? Thie following
Sorry, this line should be:
mx:DataGrid width=100%
I'm an idiot. :)
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Hmm, not sure what to tell you. The example below works for me; the
third column takes up the rest of the available space. The only thing
that I
.
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
Sounds suspiciously like a callLater() solution. Have you tested
whether the creationComplete event is actually firing, before you
click
tab2, for all of the child components? Sometimes not setting the
data,
in a timely fashion
, donald_d_hook [EMAIL PROTECTED]
wrote:
TH -
No, I m not doing that, thats what I thought it was originally.
Thanks
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
Cool, one other thing to check would be if you are manually setting
the
selectedIndex of the TabNavigator anywhere
it again and he
contents of the 2nd tab are displayed
Thanks
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
So, when you click the 2nd tab, does the 2nd tab remain selected, or
does it switch back to the first tab? If it stays on the 2nd tab,
are
you still seeing the content
:-)
-TH
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Maybe a custom MenuBarItemRenderer would solve this. Just guessing,
though.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
Behalf Of Tracy Spratt
Perhaps a tree menu instead.
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
:-)
-TH
--- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote:
Maybe a custom MenuBarItemRenderer would solve this. Just guessing,
though.
Tracy
Those are the escape characters for the carraige return Ram.
-TH
--- In flexcoders@yahoogroups.com, rviswanathan [EMAIL PROTECTED]
wrote:
Hi All
I have a textarea where I enter some information and submit. These are
the
following steps
1. Run the attached swf
2. In the textarea, clear
it if it exists?
Thanks
Ram
Tim Hoff wrote:
Those are the escape characters for the carraige return Ram.
-TH
--- In flexcoders@yahoogroups.com, rviswanathan v_ramakrishnan@
wrote:
Hi All
I have a textarea where I enter some information and submit. These
are
the
following
these characters, and then hitting backspace only removes the last
character, leaving the \r?
I would have thought the built-in TextArea component would handle
stuff like that, though...
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
For validating, you'll want to look at the text
Hi Howard,
Since itemRenderers are recycled, the items that are scrolled to are not
getting resized. To get this to happen, the display list has to be
updated after the data for the itemRenderer is set. In the
itemRenderer, override the set data function. After the data has been
set call
Hey FO Smartypants. Totally kidding Josh. Good on you mate. But, I'm
getting a blank page for the blog post. Just a heads up.
Cheers,
-TH
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
Hey guys,
Just wanted to let you know I've publicly released my
HI,
You're goung to have to massage the data to get your desired result.
Youcan also use a second dataProvider and layer it on top of the first
dataProvider (alpha = 0), if you want to keep the labels intact.
-TH
--- In flexcoders@yahoogroups.com, flexie_eric [EMAIL PROTECTED]
wrote:
Can
The way that I do it, is to dispatch an event when the application
resize event is fired. Of course this is easy when you use an MVC
framework; like Cairngorm. In the popup, I then use an event listener
that executes a method:
mx.managers.PopUpManager.centerPopUp(this as IFlexDisplayObject);
On Thu, Oct 2, 2008 at 4:47 PM, Josh McDonald [EMAIL PROTECTED] wrote:
Aw jeeze, I'm getting tired of fixing that! What browser are you on?
I
thought it worked on ie 6...
On Fri, Oct 3, 2008 at 4:17 AM, Tim Hoff [EMAIL PROTECTED] wrote:
Hey FO Smartypants. Totally kidding Josh. Good
Another thing to keep in mind, regardless if it's a UIComponent or
Sprite, is that reflection (especially when there is video involved) is
very expensive. Filters as well, but not as much.
-TH
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
reflections and
You might try adding this Greg:
override public function set data( value : Object ) : void
{
if (value != null) super.data = value;
}
The data property will be null until the service call has returned and
populated the collection.
-TH
--- In flexcoders@yahoogroups.com, Greg Morphis
Mark,
Do something like this for the HeaderRenderer:
?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
horizontalAlign=center
mx:Label text={ this.data.headerText } /
/mx:VBox
-TH
--- In flexcoders@yahoogroups.com, markgoldin_2000
[EMAIL PROTECTED] wrote:
Correct. Perhaps the collection isn't bound to the dataProvider
correctly.
-TH
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
You might try adding this Greg:
override public function set data( value
?
The collection shows in the dataGrid just fine, it's the custom
itemRenderer that isn't working?
Is there something else I can provide to check this?
Thanks
On Mon, Oct 6, 2008 at 4:20 PM, Tim Hoff [EMAIL PROTECTED] wrote:
Correct. Perhaps the collection isn't bound to the dataProvider
! Thanks!
On Mon, Oct 6, 2008 at 4:39 PM, Tim Hoff [EMAIL PROTECTED] wrote:
data is probably null the first time that updateDisplayList is
called. You
can either put your conditional logic in the commitProperties() or
set
data() methods.
Override public function set data( value : Object
@yahoogroups.com, Tim Hoff TimHoff@ wrote:
Mark,
Do something like this for the HeaderRenderer:
?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
horizontalAlign=center
mx:Label text={ this.data.headerText } /
/mx:VBox
-TH
I have no idea why it wont work with an ArrayCollection
Because your ArrayCollection is a collection of VO's, not a collection
of ArrayCollections; although there may be ArrayCollections as
properties of the VO. Can you not just do this?
MyModel.getInstance().SelectedBudgetVO =
().SelectedBudgetVO.amount.toString()}
but when I changed the changeHandler to just
MyModel.getInstance().SelectedBudgetVO = event.target.selectedItem
as BudgetVO;
They stopped populating
On Tue, Oct 7, 2008 at 10:17 AM, Tim Hoff [EMAIL PROTECTED] wrote:
I have no idea why it wont work
!
On Tue, Oct 7, 2008 at 10:43 AM, Tim Hoff [EMAIL PROTECTED] wrote:
Well, it's better practice to update the model with an event/command
anyway. No idea why the selectedItem isn't working through the
event.
Another approach would be:
MyModel.getInstance().SelectedBudgetVO
(evt);
(added the wrapper BudgetVO around the dg) and got this error message
TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to com.vo.BudgetVO
On Tue, Oct 7, 2008 at 11:47 AM, Tim Hoff [EMAIL PROTECTED] wrote:
Hey, no worries Greg. Just passing it on. Once
Hey JF,
By external, do you mean custom itemRenderer; like in the DataGridColumn
tag itemRenderer=myItemRenderer? If so, the same logic should work.
Just make sure that buyList is a public variable. However, it's
probably better to dispatch an event, from the itemRenderer, that
trigers the
Cool. Probably parentDocument or Application.application.blah.blah.blah
would have fixed that. But, you're better off going with the event
approach (loose coupling).
-TH
--- In flexcoders@yahoogroups.com, jmfillman [EMAIL PROTECTED] wrote:
I just went with dispatchEvent, and it's working
No import statement?
-TH
--- In flexcoders@yahoogroups.com, anuj181 [EMAIL PROTECTED] wrote:
Hi
I am simply trying to load external XML file but the builder is not
recognizing one of my variable named urlLoader of type URLLoader. it
is saying Access of undefined property urlLoader,
If it's anything like your components and/or framework Mike, it's going
to rock! I've found them to be very useful.
-TH
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
Mike, I'm very interested in this. Will it be for-pay, or OSS? If it's
OSS,
need any help?
Have you tried Project - Clean...?
-TH
--- In flexcoders@yahoogroups.com, Cordova Aaron [EMAIL PROTECTED] wrote:
I made a small change in a project and now FlexBuilder will not export
a release build. It fails with An internal build error has occured and
says I can right click for more
http://www.amazon.com/Essential-ActionScript-3-0/dp/0596526946
http://www.amazon.com/Essential-ActionScript-3-0/dp/0596526946
You can also search Google for oop AS3 variable scope
Yes, it should be public; otherwise it is only exposed to that class.
-TH
--- In flexcoders@yahoogroups.com,
]
On Behalf Of Tim Hoff
Sent: Friday, October 10, 2008 1:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Variable scope
http://www.amazon.com/Essential-ActionScript-3-0/dp/0596526946
You can also search Google for oop AS3 variable scope
Yes, it should be public; otherwise
Hi Maciek,
The click event pertains to the popup button itself. You can use that
to open the menu:
mx:PopUpButton id=myPopupButton
creationComplete=initMyPopupButtonMenu()
click={ myPopupButton.open() }/
The change event is the one that you use when a menu item is selected:
Dispatched when a user
selects an item from the pop-up menu; this is exactly what I want--or
rather would be, if it did what is documented), but this will do.
Thanks,
--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com
-Original Message-
From: Tim Hoff [EMAIL PROTECTED]
Reply
Another alternative, if you have to use a Canvas and don't want to
subclass, is to use constraints (top, bottom, left, right) on the
children.
-TH
--- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED]
wrote:
Hi,Mike
Please let me know this in detail.
I can extends Canvas and
Hi Chris,
For the component that has a transition or effect, listen for the
effectEnd event:
myComponent effectEnd=onEffectEnd()/
-TH
--- In flexcoders@yahoogroups.com, Christoph Leva [EMAIL PROTECTED]
wrote:
Hi all,
is it possible to add an eventListener, that listens for the end of a
Just preference, but I'd rather see:
mx:Canvas id=outer
mx:Canvas id=inner top=10 bottom=10 left=10 right=10
// my content
/mx:Canvas
/mx:Canvas
-TH
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message -
From: Paul Andrews
old school this time round!
- Original Message -
From: Tim Hoff
To: flexcoders@yahoogroups.com
Sent: Friday, October 17, 2008 7:58 PM
Subject: [flexcoders] Re: how to add internal padding in canvas?
Just preference, but I'd rather see:
mx:Canvas id=outer
mx:Canvas id=inner top=10
encourage using things that deal with styles since the
framework is going to tip that way soon anyway. This is in reference
to
using constraints.
I see loading style sheets as modules sooner than later. :)
Mike
On Fri, Oct 17, 2008 at 3:19 PM, Tim Hoff [EMAIL PROTECTED] wrote:
I hear ya
;
I wonder how to do this with actionscript.
Thanks
mk
--- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote:
Yes, I'm just old school this time round!
- Original Message -
From: Tim Hoff
To: flexcoders@yahoogroups.com
Sent: Friday, October 17, 2008 7:58 PM
Subject
Hi Mark,
You can come probably up with a more elegant way to handle each
possibility, but here's an idea.
myDG.verticalScrollPosition = (myDataProvider - array[i])
(myDataProvider.length - myDG.rowCount) ? (myDataProvider.length -
myDG.rowCount) : array[i];
-TH
--- In
Sorry for the typo, also not tested; obviously. :)
myDG.verticalScrollPosition = (myDataProvider.length - array[i])
(myDataProvider.length - myDG.rowCount) ? (myDataProvider.length -
myDG.rowCount) : array[i];
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Hi Mark
Jeez, got to slow down. Should be LT.
myDG.verticalScrollPosition = (myDataProvider.length - array[i])
(myDataProvider.length - myDG.rowCount) ? (myDataProvider.length -
myDG.rowCount) : array[i];
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Sorry for the typo
Hi,
If the dataProvider is [Bindable], the DataGrid should reflect the
changes to the dataProvider; when the dataProvider is changed. For the
itemRenderer question, here's one way to update the display list:
override public function set data(value:Object):void
{
if (value != null)
{
Yeah, you would be hosed if a different type of list was used. If
you're using CHANGE, which is generic for list base, have the parent
class dispatch a custom event, on change, with the row index. The
parent class will always know what kind of list is being used. Then in
the itemRenderer
Shoot, don't even worry about the rowIndex, just attach the data object
to the event.
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Yeah, you would be hosed if a different type of list was used. If
you're using CHANGE, which is generic for list base, have
Sounds like a job for labelFunction.
-TH
--- In flexcoders@yahoogroups.com, Bill [EMAIL PROTECTED] wrote:
Here is my XML
http://fantasy4sports.com/xml/players.xml
my source XMLCollection call
mx:XMLListCollection id=cuePointXMLList
Hi Parjan,
You can give the illusion that the DataGrid is not selectable by
extending DataGrid and overriding the drawSelectionIndicator function
(selectable=true).
package com.controls
{
import mx.controls.DataGrid;
import flash.display.Sprite;
import mx.controls.listClasses.IListItemRenderer;
Hi Mark,
This may be one case where you would want to use creationPolicy=all,
for the ViewStack. It will add more time to startup, but the user
experience may be better; once the application is loaded.
-TH
--- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote:
I'm building an app
Hey Blair,
For dates, it's important that you use the Date() data type. Some use
strings instead. Since you're using AMF, using strongly typed date
objects for the VO's is the cleanest way. The reason that I say to use
Date(), is because that the Date.time property is stored as the number
of
] wrote:
Hmm, okay, now I¹m confused.
So this is the working end of my code, totally borrowed from
http://blog.flexexamples.com.
private function processFilter(item:Object):Boolean { return
(item.Date_Collected) == Number(wholeDate.text); }
??
--
Blair
From: Tim Hoff [EMAIL
Something like this:
private function processFilter(item:Object):Boolean {
return (item.Date_Collected) == wholeDate.selectedDate;
}
mx:DateField id=wholeDate formatString=-MM-DD/
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
So, you're converting
OK, so what you're saying is that item.Date_Collected is a string
(2008-10-01) and not a date. This goes back to the original suggestion,
use a Date() type for that variable in the VO. If you do, then the last
sample should work; using selectedDate.
-TH
--- In flexcoders@yahoogroups.com,
.
--
Blair
From: Tim Hoff [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
Date: Thu, 23 Oct 2008 19:30:02 -
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Help: filterFunction and Dates
OK, so what you're saying is that item.Date_Collected is a string
(2008-10-01
on
this?
--
Blair
From: Tim Hoff [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
Date: Fri, 24 Oct 2008 17:58:19 -
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Help: filterFunction and Dates
Ideally, in the result function, the dto would be cast to an
associated AS
class
I can't say expert, but I've used it enough to comment. Preferably, the
view would take care of itself'; concerning the state of the view
(buttons). With the collection in the model. bound to the DataGrid's
dataProvider, dispatch a ChangeFilterEvent (type:String). Assuming that
you already
match the string in the db, it won¹t work, correct? Any
hints on
this?
--
Blair
From: Tim Hoff [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
Date: Fri, 24 Oct 2008 17:58:19 -
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Help: filterFunction and Dates
Hi David,
Looks like you're constructing the Timer wth a delay: Timer
http://127.0.0.1:52378/help/topic/com.adobe.flexbuilder.help/langref/fl\
ash/utils/Timer.html#Timer() (delay:Number
http://127.0.0.1:52378/help/topic/com.adobe.flexbuilder.help/langref/Nu\
mber.html , repeatCount:int
Well, take that back. Looks like you want the delay for a refresh rate.
myTimer.delay = valuesMilliseconds; should work.
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Hi David,
Looks like you're constructing the Timer wth a delay: Timer
http://127.0.0.1:52378
Anyone taking bets?
-TH
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Michael Schmalle
teoti.graphix@ wrote:
Amy,
These functions are in place for very good reasons, and if you
try to
circumvent them you have a
really good
On the list tag, variableRowHeight=true;
-TH
--- In flexcoders@yahoogroups.com, Tyler Kocheran [EMAIL PROTECTED]
wrote:
I'm trying to create a simple List-based application to try and learn
more
about ItemRenderers. How do I make my ItemRenderer automatically size
to fit
whatever is inside
Hi Aaron,
If you kow the index of the canvas child that you want to scroll to,
something like this will work:
myCanvas.verticalScrollPosition = myCanvas.getChildAt(myChildIndex).y;
-TH
--- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote:
Is it to early to bump? I'm sure
16,500 unread messages. Slacker. :-)
-TH
--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:
Subscribe to the email list and have it send you individual emails.
Then set
up a filter in gmail to label all messages from the list and throw em
into a
folder and
would I find the amount I
need to
scroll by to get a child object in view?
Thanks for the help!
~Aaron
On Fri, Oct 31, 2008 at 10:02 AM, Tim Hoff [EMAIL PROTECTED] wrote:
Hi Aaron,
If you kow the index of the canvas child that you want to scroll to,
something like this will work
@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Something along these lines:
var hiddenArea:int = myCanvasChild.height - (myCanvas.height -
myCanvasChild.x);
if (hiddenArea 0) myCanvas.veticalScrollPosition += hiddenArea;
-TH
--- In flexcoders@yahoogroups.com, Aaron Miller amiller@ wrote
901 - 1000 of 1360 matches
Mail list logo