I've re-factored an application to Flex2 B2 and Cairngorm2 (similar
code structure to the Store and Login samples). The question that I
have concerns showing an Alert message in response to a Fault event
that is returned from a Delagate. I was wondering if anyone would
suggest a best
I'm trying to populate a dataProvider array for a comboBox that
contains unique status values from another array, that is used as
the dataProvider for a dataGrid. The comboBox is used to filter the
dataGrid. The code below works, but I seem to remember seeing this
done somewhere that doesn't
Ryan,
Try using the valueCommit event.
Tim Hoff
--- In flexcoders@yahoogroups.com, Ryan Pieszak [EMAIL PROTECTED]
wrote:
Okay, part of the same process mentioned below...
I need to calc the difference between two dates when either date
field changes, but none of the events do what they
the array once, storing new status values and
skipping the duplicates
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
I'm trying to populate a dataProvider array for a comboBox that
contains unique status values from another array, that is used
as
the dataProvider
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of turbo_vb
Sent: Wednesday, April 12, 2006 2:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: AS3 Array Question
Doug and Gordon, thanks for the advise. I decided on the
following
I experienced the same problem (error message) when trying to cast
the selected item of the master array to it's associated VO. After
trying the code from the Store, Login and Phone samples, with no
resolution, I decided to work around it - for now. I was able to
cast the individual elements
This a modified version of Jeff Tapper's singleton DataManager
class for AS3 web service calls. Francis, note the private class
constuctor at the bottom. Sorry about the jagged alignment.
- Tim Hoff
package code.business {
import mx.managers.CursorManager;
import
Hi Barry,
A couple of things that you might consider. If you're only using 1
column, just use a List, with an itemRenderer; instead of a TileList.
There's no need to add the over-head, if you only want a vertical list
of items. If you want new items to show up at the top of the list, add
them
Hi Jason,
Here's a handy little trick that can help you out in these type of
situations. In the itemRenderer that contains the trash can button:
import mx.controls.List;
private var list : List;
override public function set data(value:Object):void
{
super.data = value;
list =
Oops, just realized that you're using a DataGrid. Just replace List
with DataGrid and it will work the same.
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
Hi Jason,
Here's a handy little trick that can help you out in these type of
situations. In the itemRenderer
myTrashCanButton.visible = ( dataGrid.isItemHighlighted(data) ||
dataGrid.isItemSelected(data) );
-TH
--- In flexcoders@yahoogroups.com, jdizowat jasonharr...@... wrote:
You are amazing, that's exactly what I needed.
The first problem I encountered was this - since the datagrid is
cool, take it a step further and add states; instead of setting visible
directly. Then you can use effects to soften the blow.
-TH
--- In flexcoders@yahoogroups.com, jdizowat jasonharr...@... wrote:
Got it, thanks man.
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote
Hi Satish,
You can use headerHeight=0; to hide the DataGrid headers.
-TH
--- In flexcoders@yahoogroups.com, Satish Chowdary chinnu_...@...
wrote:
Hi All,
i am trying to disable datagrid column headers so i use showheader
property
but it gives the following Error.
it throws following
fontFamily=verdanaSoft fontSize=10
letterSpacing=0.5
/mx:DataGridColumn
/mx:columns
/mx:DataGrid
Thanks inAdvance
Satish
సతà±à°·à±
From: turbo_vb timh...@...
To: flexcoders@yahoogroups.com
Sent: Wednesday, 26 August, 2009 5:24:09 PM
Subject
Hi Paul,
If you use an ArrayCollections as the dataProvider for the DataGrid
instead, you can remove an item like so:
myArrayCollection.removeItemAt( myDataGrid.selectedIndex );
The DataGrid's selectedIndex is the same as the index of the item in the
ArrayCollection.
-TH
--- In
Get over it. It's a big sea. 4 is around the corner. We're expecting
good things.
-TH
--- In flexcoders@yahoogroups.com, Mika Kiljunen mkintens...@...
wrote:
ADG was one of the main drivers to switch to Flex and after using and
reading about it, it seems like its a bastard child
This was
This sample
http://timothyhoff.com/blog/index.php/2009/06/03/googlemate/ could
give you some ideas.
-TH
--- In flexcoders@yahoogroups.com, karlmccracken karlmccrac...@...
wrote:
I created a horizontal tilelist that displays several images that are
loaded dynamically. I need to be able to
--- In flexcoders@yahoogroups.com, flex_coder flex_co...@... wrote:
Does anyone know of a Vertical TabBar control for Flex. I am using
Flex 3 and I cant seem to find a Vertical Tabbar.
Any help is much appreciated.
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
--- In flexcoders@yahoogroups.com, flex_coder flex_coder@ wrote:
Does anyone know of a Vertical TabBar control for Flex. I am using
Flex 3 and I cant seem to find a Vertical Tabbar.
Any help is much appreciated.
mx:TabBar direction=vertical/
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
--- In flexcoders@yahoogroups.com, flex_coder flex_coder@ wrote:
Does anyone know of a Vertical TabBar control for Flex. I
Hi Larry,
Usually this type of thing is done with a filterFunction on the dataProvider;
which would eliminate items that don't match the criteria and place the first
match at the top of the DataGrid. But, if you want to have the other items
remain, you'll have to loop through the dataProvider
in the Tabbar, there is always a gap in
between the tabbar and the viewstack. I have tried making all paddings
and verticalgap and horizontalgap to 0 but the spacing doesnt go away.
any ideas for that?
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
mx:TabBar direction=vertical
How can I tell the datagrid to allow cell heights greater than the
grid height?
Even though it's not shown, the cell height is greater than the DataGrid
height. However, the DataGrid's scroll mechanism will always take you
to the next row, so this isn't an option.
How can I turn on a scrollbar
Look at sortCompareFunction for DataGridColumn.
-TH
--- In flexcoders@yahoogroups.com, AJC2357 ajc2...@... wrote:
Hi all,
Looking for a simple solution to properly sorting number values in a
datagrid.
I'm sure many of you have run across this limitation. Trying to sort
something like
a tooltip.
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
How can I tell the datagrid to allow cell heights greater than the
grid height?
Even though it's not shown, the cell height is greater than the DataGrid
height. However, the DataGrid's scroll mechanism
/mx:itemRenderer
/mx:DataGridColumn
The text that is in the DB las line 1 followed by a new line followed by line
2, etc.
It does not display the elipses.
Paul
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
Yep, correct about the headers scrolling too
at 1:09 PM, hank williams hank...@... wrote:
what country are you in... and if US, what number did you dial?
On Fri, Sep 11, 2009 at 1:06 PM, turbo_vb timh...@... wrote:
Sounds like you're not having very good luck Hank. As an interesting
coincidence, I had to contact Adobe
Sounds like you're not having very good luck Hank. As an interesting
coincidence, I had to contact Adobe customer service today to resolve an issue.
I just switched from PC to Mac and at the same time upgraded from CS3 to CS4.
My issue was that the upgrade wouldn't recognize my previous
Instead of itemEditor use itemRenderer and set rendererIsEditor=true on the
DataGridColumn.
-TH
--- In flexcoders@yahoogroups.com, kumarmenon kumarme...@... wrote:
Hi
Is there anyway i can show a DataGrid cell with Combobox with arrow shown all
the time..Currently the way i have it
For a Flex application, in addition to the Alert, you might try opening
a new browser window with a urlRequest. That might at least give the
user some notification.
-TH
--- In flexcoders@yahoogroups.com, Ian Thomas i...@... wrote:
If it's an AIR application, you can use the .orderToFront()
var attendeeProfileIdArray:Array = [];
for each ( var attendee:ATTENDEE in ATTENDEELIST )
{
attendeeProfileIdArray.push( attendee.ATTENDEEINFO.PROFILEID );
}
You might want to consider changing the name of your classes and
properties to follow standard naming conventions. Using all
Having a central EmbeddedAssets class that the views bind to works well. You
can also reduce the image size by saving the png files as flattened pngs.
-TH
--- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote:
Anyone have any suggestions on the best way to import png files and
// Plain text gets truncated with a // HTML text simply gets
clipped, because it is difficult // to skip over the markup and truncate
only the non-markup. // But both plain text and HTML text gets an
automatic tooltip // if the full text isn't visible.-TH
--- In flexcoders@yahoogroups.com,
Haven't checked it, but this looks like it might work for htmlText:
http://skovalyov.blogspot.com/2007/02/text-control-with-truncatetofit.ht\
ml
http://skovalyov.blogspot.com/2007/02/text-control-with-truncatetofit.h\
tml
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote
Man, I have to ask, how did you come up with a custom DataGridColumn component
solution, that uses an inline itemRenderer? You're not doing anything crazy
with the headerRenderer, so why not just create a custom itemRenderer instead?
-TH
--- In flexcoders@yahoogroups.com, valdhor
While they are the easiest to create and implement, WebServices are inherently
the slowest protocol of choice. Consider switching to RemoteObject and
BlazeDS; to realize a significant increase in performance. Having the client
parse-out SOAP xml, is like choosing to put an old VW engine in
Well, you are talking about a Button, so either extent Button and
ToggleButtonBar, or you can do it a lot easier using a HorizontalList and
itemRenderer. Just set allowMultipleSelection=false.
-TH
--- In flexcoders@yahoogroups.com, victoria powers vic.pow...@... wrote:
I'm trying to create
giving up the predefined button states that had skins applied to
them, this works perfectly.
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
Well, you are talking about a Button, so either extent Button and
ToggleButtonBar, or you can do it a lot easier using a HorizontalList
FB4 also has a network monitor that gives some insight to the traffic.
-TH
--- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote:
Use any of the HTTP sniffers to get a real breakdown of what's doing
what traffic wise.
Something like
Charles
Have to use addChild() and removeChild() forTabs.
-TH
--- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@...
wrote:
Hello,
How to hide a Tab in a TabNavigator. I have try visible=false, but it does
not work.
Thank you,
Christophe
There's a utility in the sdk to convert rgb string to uint. For Flex4 it's
mx.utils.HSBColor.
-TH
--- In flexcoders@yahoogroups.com, Greg Hess flexeff...@... wrote:
Hi All,
I am trying to externalize our effect styles to css. However, when I
read in the color values getStyle() they come
, but will not help you with RGB to hex string
conversions.
Chet.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of turbo_vb
Sent: Tuesday, September 29, 2009 1:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Converting RGB to Hex color
, but will not help you with RGB to hex string
conversions.
Chet.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of turbo_vb
Sent: Tuesday, September 29, 2009 1:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Converting RGB to Hex color
There's
Never mind, I'm just way off-base on this one.
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
Isn't there a utility that converts CSS strings like #ff to 0xff?
Or white to 0xf?
-TH
--- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
I
Yeah, that's the one I was thinking of; not RGB to hex though. I claim
temporary brain death. :)
-TH
--- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote:
StyleManager.getColorName(...)
Does what you ask for below.
--- In flexcoders@yahoogroups.com, turbo_vb
If you add a transient property to the ListItemObject class (VO), it can
be used by the UI, but not affect the RemoteObject mapping:
[Transient]public var selected:Boolean;
-TH
--- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote:
Hi All,
i have an ArrayCollection from remote object
.data gives you acces to the entire item in the dataProvider. This is
usually what I use, since it is useful when you need to look at other
properties in different columns for the same row. .listData gives you
just the value of labelField property. However, .listData also gives
you the
Really wouldn't advise using this type of in-line approach for a
checkBox itemRenderer. Alex's blog shows a prefered manner:
http://blogs.adobe.com/aharui/item-renderers/
http://blogs.adobe.com/aharui/item-renderers/
-TH
--- In flexcoders@yahoogroups.com, Agha Mehdi aghaime...@... wrote:
Look at the dataProvider. You're using the select property of the
items, so loop and look.
-TH
--- In flexcoders@yahoogroups.com, Agha Mehdi aghaime...@... wrote:
Thanks guys. how do i get the list of all checked rows from the
datagrid?
On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek
Hi Christophe,
- How to have round buttons on an interface ?
You have a few options for skinning flex controls: images, drawing api,
or Degrafa. (fxg for flex4). Usually, these skins are applied in css
as skin, borderSkin or individual state skins; like upSkin. Images are
the easiest, but
speaking on behalf of every developer
Since your choice of words and approach is very annoying in itself,
please just speak for yourself.
-TH
--- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote:
The Scrollbug where if you are scrolling through a big page, the
flashplayer loses
Here's a way you can do it recursively:
RecursiveDeleteSample
http://www.timothyhoff.com/projects/RecursiveDeleteSample/RecursiveDele\
teSample.html
(right click for source)
-TH
--- In flexcoders@yahoogroups.com, timgerr tgallag...@... wrote:
Hello all, I have a problem, I need to remove an
You might want to check out WebOrb
http://www.themidnightcoders.com/products/weborb-for-net/overview.html
-TH
--- In flexcoders@yahoogroups.com, shot2flow shot2f...@... wrote:
Has anyone worked with Flex and VB.Net. Please i am interested in the
two. I presently use flex and coldfusion, but
As a work-around, you can always just create another state that
explicitely sets the styleName back to the original.
-TH
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
Don't quote me on this, but that rings a bell. I do believe that is in
the documentation somewhere.
Hi Stephen,
For getter/setters, you use the getter to bind to the DataGridColumn
dataField:
mx:DataGridColumn dataField=myProperty/
A typical VO getter/setter:
private var _myProperty:String;[Bindable( event=myPropertyChange
)]public function get myProperty():String{ return
_myProperty;}public
Hi Steve,
Popups exist outside the normal DisplayList, so you can work around it
by setting the Alert's parent like this:
Alert.show(your text, your title, 4, parentApplication as Sprite);
-TH
--- In flexcoders@yahoogroups.com, steveb805 quantumcheese...@...
wrote:
Seems like until now, my Alert
UpdateDisplayList() will get called when the selection changes. You can change
your style there. If needed, you can inspect the IR's owner (TileList) using
something like:
var isSelected:Boolean = TileList( owner ).isItemSelected( data );
-TH
--- In flexcoders@yahoogroups.com, Greg Hess
Hi Jake,
You could do it with a custom itemRenderer and control the alpha or
actual drawing; based on a data property. Here's a custom renderer
sample to get you started:
Colored Line Chart Sample
http://www.flashcomguru.com/index.cfm/2009/11/11/pdf-for-flex-devs
-TH
--- In
to be drawn separately. By the way, your link doesn't
work.
On Mon, Nov 16, 2009 at 3:35 PM, turbo_vb timh...@... wrote:
Hi Jake,
You could do it with a custom itemRenderer and control the alpha or
actual
drawing; based on a data property. Here's a custom renderer sample
to get
you
a null error I was getting.
On Mon, Nov 16, 2009 at 4:43 PM, turbo_vb timh...@... wrote:
Sorry bout that, let's try it again:
Samplehttp://www.timothyhoff.com/projects/LineRendererSample/LineRendererSample.html
-TH
--- In flexcoders@yahoogroups.com, Jake Churchill reynacho@ wrote
://livedocs.adobe.com/flex/3/html/help.html?content=charts_formattin\
g_12.html
The butterfly example - I am talking about.
On Mon, Nov 16, 2009 at 3:02 PM, turbo_vb timh...@... wrote:
Cool, yeah I should have said custom lineSegmentRenderer.
-TH
--- In flexcoders@yahoogroups.com
depending on the type I want to show the image of the insects. But
the problem is since this itemrenderer inherits UIComponent, I cannot
or do not know how to add an image on it.
On Tue, Nov 17, 2009 at 9:28 AM, turbo_vb timh...@... wrote:
Thanks Vivian,
For the plot chart
);
}
}
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
Ok 2 things, better to change the image in the set data method and then
invalidateDisplayList(); because updateDisplayList gets called a lot more
frequently than than the data changes. And for the image, add an Image
:
Is it possible to do it with out embedding the image? Just
creating am iamge and then pointing the source of the image
to the image component. Instead Embedding all the images.
On Tue, Nov 17, 2009 at 10:07 AM, turbo_vb timh...@... wrote:
Just read your last post a little more
You could try re-instsalling the debug player plugin:
http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_1\
0_plugin_debug.dmg
http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_\
10_plugin_debug.dmg-TH
--- In flexcoders@yahoogroups.com, Joel Stransky
Three dashes for the comment:
!--- The class level comment for the component. This tag
supports all ASDoc tags, and does not require a CDATA block. --
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;-TH--- In
flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:
When you give a
Google: Flex ASDocs MXML
-TH
--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
Three dashes for the comment:
!--- The class level comment for the component. This tag
supports all ASDoc tags
You could extent DataGridColumn and add two methods. One to set the visible
property to false and dispatch a hide event, and the other to set the visible
property to true and dispatch a show event.
-TH
--- In flexcoders@yahoogroups.com, tntomek tnto...@... wrote:
I have a datagrid with a
Perhaps this will work:
var crapola = squaresGrid.selectedItem.NameCol;
var crapolaXML : XML = crapola[0] as XML;
var name : String = crapollaXML.Name;
-TH
--- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... wrote:
Yes I would think something this absurdly simple would be a single
Ok, so it is e4x, look into the double dot notation and, as others have said.
try toString() and toXMLString(). As close as you are it shouldn't be that
hard, even through trial and error, to drill down to the string.
-TH
--- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... wrote:
Even easier, would be to change the var to a getter/setter, and execute the
function in the setter.
-TH
--- In flexcoders@yahoogroups.com, Christopher McArthur cmcart...@... wrote:
assuming your in the same class as changeme:
private var changemeWatcher:ChangeWatcher;
Use a second series.
-TH
--- In flexcoders@yahoogroups.com, shenji_s she...@... wrote:
I am passing a xml in this fortmat
Performance
TimeSlot Time=11/1/09
System ID=1 CPU=20
System ID=2 CPU=22
/TimeSlot
TimeSlot Time=11/2/09
System ID=1 CPU=34
System ID=2
...@... wrote:
How do I use the series to point to the CPU attribute in System? I want each
series to be based on the ID attribute and graph out by the CPU attribute.
I hope I am making sense lol
On Mon, Nov 23, 2009 at 9:23 AM, turbo_vb timh...@... wrote:
Use a second series
={PerfData.getDataXML.lastResult.Performance.TimeSlot}
On Mon, Nov 23, 2009 at 12:00 PM, turbo_vb timh...@... wrote:
Ah, I see. You're going to have to parse your base data into 2 separate
dataProviders; one for id 1 and one for id 2. Then use 2 series based on
time slot and cpu. Since the time slots
addEventListener instead.
-TH
--- In flexcoders@yahoogroups.com, criptopus sd_br...@... wrote:
I am getting an error on the line that starts with myUserCntr.
which is 1061: Call to a possibly undefined method addListener through a
reference with static type comps:userCntr.
Can kind
Could use a filterFunction.
-TH
--- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote:
Hi All,
I have a ArrayCollection, it contains id, name, sex, isSenior, etc.
now i only need an array of id through that list. what's the quickest way
to get an array of ids if isSenior is true,
}
]);
var seniors:Array =
ac.toArray().filter(seniorsOnly);
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
Could use a filterFunction.
-TH
--- In flexcoders@yahoogroups.com, coder3 rrhuang@ wrote:
Hi All
. filtering is a loop actually. but it just keep our code look
more
clean.
all right, i guest there is no short cut to get the partial array.
thanks
turbo_vb wrote:
Nope, going to have to loop and create the new array manually. Even
using
a filterFunction is still looping; behind
Second that personally for Mate. Done right, it can result in a much cleaner
code base than the 2 frameworks mentioned. Swiz is also a viable alternative.
-TH
--- In flexcoders@yahoogroups.com, Richard Rodseth rrods...@... wrote:
Personally, I like Mate and suggest you check it out before
See #1 in Gordon's response.
-TH
--- In flexcoders@yahoogroups.com, timgerr tgallag...@... wrote:
What is the best way to check if it is a panel?
timgerr
--- In flexcoders@yahoogroups.com, Gordon Smith gosmith@ wrote:
1. if (dragEvent.currentTarget is Panel)
2. currentTarget is
s:TextInput contentBackgroundColor=#ff/
-TH
--- In flexcoders@yahoogroups.com, boy_trike boy_tr...@... wrote:
I must be a dummy! I can not figure out how to change the lovely
white background on either of these controls. Help please.
Thank you
Bruce
Hi ShiVik, You might try only adding one child at a time. Looks like
you have 2 children within the AddChild tag.
http://www.adobe.com/devnet/flex/quickstart/defining_state_transitions/
http://www.adobe.com/devnet/flex/quickstart/defining_state_transitions/\
-TH
--- In
Hi Dennis,
I don't want to poach Tracy here, but what is the parent class that you are
adding the PanelGradient component to? If it's a UIComponent, you will have to
move the child in updateDisplayList(); because UIComponent doesn't use the same
layout framework code as say a Canvas. So, you
Hey Sal,
minor tweaks:
public function addButton():void
{
dataRight.addItem( rightTiles.selectedItem );
}
and:
mx:HTTPService id=btnSrv
url=buttonData.xml
useProxy=false
result=handleQueryResult(event)
showBusyCursor=true
resultFormat=object/
-TH
--- In
.
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
Hey Sal,
minor tweaks:
public function addButton():void
{
dataRight.addItem( rightTiles.selectedItem );
}
and:
mx:HTTPService id=btnSrv
url=buttonData.xml
useProxy=false
result=handleQueryResult(event
Because guys like Gordon are here, I'll also say that Instantiate is the
correct word; instead of initialize. :)
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
Man, I always forget at least one thing. You also need to initialize
the second ArrayCollection
);
}
}
}
-Sal
--- In flexcoders@yahoogroups.com, s_hernandez01 s_hernandez01@
wrote:
hey thanks TH, i knew it was something with one line of code. You
rock! This was driving me nuts.
Sal
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
Because guys like Gordon
to the tiles on
the right. Appreciate it!
-Sal
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
If you need to check dups for other reasons that would work fine. but,
if you just need it for this particular use-case, this is simpler:
public function addButton():void
That's exactly what you should do. To get around the the titleBar add
the box to rawChildren.
http://dougr.net/?p=160 http://dougr.net/?p=160
-TH
--- In flexcoders@yahoogroups.com, invertedspear invertedsp...@...
wrote:
Alternatively it would be nice if I could extend the Panel class to
allow
Using the tickValues property will help you a little.
-TH
--- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote:
Hi,
I have a slider that is like following:
mx:HSlider id=radius width=300 minimum=0.5 maximum=5
tickColor=0x323232 snapInterval=0.5 tickInterval=0.5
adding the box but now it's covering up the normal title text of the
panel. Any quick fix for that (I'm just adding space to the front of the text
for the time being)?
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
That's exactly what you should do. To get around
without covering the title?
Thanks, you've helped a lot so far.
--- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
In updateDispayList() position the box:
tempBox.move( unscaledWidth - tempBox.width - 10, ( unscaledHeight / 2 ) -
( tempBox.height / 2 ) );
This would put
Hi Ryan,
You can get the coordinates of the point by using coordinate geometry and
trigonometry. The key would be to determine the angle (or slope) of the line
segment and the distance to the event point. Or, if you wanted to make the
segments square, use form=step:
mx:LineSeries form=step/
The show event will work except for the first time; in which case you'd want
to listen for the creationComplete event.
-TH
--- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... wrote:
Is there an event I can listen for on a page, which would be sent
automatically whenever the page is
Why change from an ArrayCollection to xml; especially if it contains strongly
typed objects? A bit easier to work with for hierarchical components or charts
perhaps?
-TH
--- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
Better still, create the XML in the backend rather than
The stage isn't available immediately. That's why you get a null error.
With a little trickery:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=onCreationComplete()
resize=getStageDimensions()
mx:Script
![CDATA[
private function onCreationComplete():void
{
Btw, adding a new topic every few hours that addresses the same issue, but with
a slightly different name, is really bad form.
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
The stage isn't available immediately. That's why you get a null error.
With a little trickery
function init():void
{
stage.addEventListener(Event.RESIZE, resizeHandler);
}
private function resizeHandler(event:ResizeEvent):void
{
trace(height: + stage.height);
trace(height: + stage.width);
}
--- In flexcoders@yahoogroups.com, turbo_vb
Hi Raymond,
You're missing the mx:columns tag that wraps the DataGridColumns.
-TH
--- In flexcoders@yahoogroups.com, Raymond Brown silenttr...@... wrote:
Below is a snapshot of one of my components. However I am always getting an
error on the Datagrid (id=cmdTable') and the error is:
One thought, since you're taking about a style, is to assign a styleName to the
itemRenderer and update the backgroundColor style of the StyleDeclaration when
the user changes the color. You may need to override the styleChanged() method
the itemRenderer, to handle the update.
-TH
--- In
1 - 100 of 183 matches
Mail list logo