Re: [flexcoders] Re: New Flex Mapping Framework

2010-08-24 Thread Tim Statler
+1 on that, very nice. On Tue, Aug 24, 2010 at 10:00 AM, Ariel J arielj...@yahoo.com wrote: Bravo, this is very nice. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, bryan.dresselhaus bryan.dresselh...@... wrote: Hey guys, Just wanted to let you know about a new

Re: [flexcoders] OpenResource in FlashBuilder 4

2010-08-21 Thread Tim Statler
Maybe try re-setting the shortcut in Preferences General Keys to what you want? Tim On Fri, Aug 20, 2010 at 12:50 PM, flexcodemonkey michael_reg...@dell.comwrote: Anyone know how to get the keyboard shortcut ctrl+shift+R for Open Resource to work in Flash Builder 4?!? Under the Navigate

Re: [flexcoders] DataProvider in AdvancedDataGrid itemRenderer

2010-08-06 Thread Tim Statler
Try {outerDocument.list} or {parentDocument.list} ? http://flextips.corank.com/tech/framed/using-parentdocument-or-outerdocument- Tim On Aug 6, 2010, at 10:44 AM, Davis Ford davisf...@zenoconsulting.biz wrote: Can someone tell me what's wrong with this code? It generates the error: 1120

Re: [flexcoders] Flex 4 Spark HSlider ThumbSkin with ellipses?

2010-06-01 Thread Tim Statler
this kind of markup in the !-- fill -- section. -Tim On Tue, Jun 1, 2010 at 8:34 AM, turdontherun flexmonkeypatc...@gmail.comwrote: Hi. I am having trouble locating the HSlider Skin classes (for Flex 4 Spark component) that use an ellipse for the thumb. All the classes I find in the SDK source

Re: [flexcoders] Flex 4 Release - Anyone else having issues?

2010-03-23 Thread Tim Statler
baseColor was changed to chromeColor in the Flex 4 SDK. Tim On Tue, Mar 23, 2010 at 7:54 AM, Deane Venske de...@venske.net wrote: Hi Mark, I caught that one (it made 100% sense to me that change) my issue is that baseColor seems to not be a valid attribute on UI components that have

Re: [flexcoders] flexbuilder wierdness...

2010-03-17 Thread Tim Statler
with the compiler. Fwiw. Tim On Tue, Mar 16, 2010 at 7:31 PM, aceoohay pa...@compuace.com wrote: I am trying to work with what looks like a decent footer datagrid component from http://code.seanhess.net/?p=17cpage=2#comment-3502 I runs quite nicely, but wreaks havoc on flexbuilder 3. The demo when

Re: [flexcoders] Re: Httpservices as3 class

2010-03-10 Thread Tim Romano
is listening for, passing the ArrayCollection } } Regards Tim Romano On 3/9/2010 10:00 AM, valdhor wrote: Does anybody have a httpservice class, implemented in as3, for flahs builder 4? I am trying to create an application in as3, connecting and returnig dynamic

Re: [flexcoders] Need to filter UTF-8 characters from string

2010-03-10 Thread Tim Romano
://en.wikipedia.org/wiki/UTF-8 Regards Tim Romano

Re: [flexcoders] Re: Capturing and Saving an image in Flex (BitmapData)

2010-03-05 Thread Tim Statler
You could then create a URLRequest object, which specifies the POST URL and the byte array of image data you want to send. (See http://livedocs.adobe.com/flex/3/langref/flash/net/URLRequest.html#data).Youcan then pass the URLRequest object to a URLLoader to do the actual sending/loading etc. Tim

[flexcoders] My Flex app seems to have stopped working in Firefox after installing latest Windows security patches

2010-03-04 Thread Tim Romano
08:39:42:625 900 70Agent * Title = Update for Windows XP (KB955759) 2010-03-0408:39:42:625 900 70Agent * Title = Cumulative Security Update for Internet Explorer 8 for Windows XP (KB978207) Anyone else having similar problems? Thanks Tim Romano

Re: [flexcoders] Re: Missing component in flexbuilder 3

2010-02-25 Thread Tim Statler
I think that's a reasonable expectation. I would file a bug at http://bugs.adobe.com/flex . But I also believe that if it RadioButtonGroup shows up in the component list a component that extends RadioButtonGroup should show up in the custom components list. Tim

Re: [flexcoders] Missing component in flexbuilder 3

2010-02-24 Thread Tim Statler
That typically means that the custom component doesn't extend UIComponent or another Flex component based on UIComponent. If it already extend one of those types, I'm not sure why else it wouldn't show up. What SDK/Builder version are you using? Tim On Wed, Feb 24, 2010 at 1:46 PM, aceoohay pa

Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-24 Thread Tim Romano
to examine the Compiler options before each compile, and this approach inculcates a good habit. Take this with a grain of salt; I'm new to Flex; my expertise, if I have any at all, is not in Flex programming. Regards Tim Romano On 2/21/2010 8:00 PM, David Adams wrote: I've been writing some

Re: [flexcoders] SQL Question

2010-02-22 Thread Tim Romano
Hard to know for sure from the way you've put the question, but the IN lists seem malformed to me. Correct: IN (a, b, c) Incorrect: (a, b, c) Regards Tim Romano On 2/20/2010 6:04 PM, Wally Kolcz wrote: I know this is out of the core topic, but I am banging my head on this simple issue

[flexcoders] best place to make feature requests

2010-02-10 Thread Tim Romano
Where's the best place to make feature requests for FlashBuilder? Thanks

[flexcoders] ExternalInterface : debugging, DOM, Export Release Build

2010-02-10 Thread Tim Romano
My browser-deployed Flex app, built in FB4, is using the ExternalInterface. The Flex app gets some search terms from the user, goes out to a webservice for some data, and then pushes some html markup out to a DIV in the HTML document using the ExternalInterface.call() method. I send the

Re: [flexcoders] HTTPService token: a bug or by design?

2010-02-09 Thread Tim Romano
To answer my own dumb question. var token: AsyncToken; token = send(); var myResponder : AsyncResponder= new AsyncResponder(onResult, onFault, token); token.addResponder(myResponder); function onResult(e:ResultEvent , token:Object=null):void {} On 2/8/2010 6:05 PM, Tim Romano wrote: I've

[flexcoders] HTTPService token: a bug or by design?

2010-02-08 Thread Tim Romano
Tim Romano

Re: [flexcoders] Steve Jobs on Flash .......

2010-02-06 Thread Tim Romano
If the rumors about Bing are true, then this panning could also have something to do with Silverlight. If I were at MSFT and my role was to ensure that Silverlight succeeded in knocking Flash off (as Word knocked off WordPerfect back in the day, e.g.) then I'd be looking for chinks in Adobe's

[flexcoders] rendering HTML markup in AdvancedDataGrid

2010-02-06 Thread Tim Romano
I am considering using an AdvancedDataGrid in hierarchical mode but am not sure it can do what my app needs to do, or if it can, whether the approach will be efficient--execute quickly and use up a lot of memory. I haven't worked with the AdvancedDataGrid before. The grid will look like this:

Re: [SPAM] [flexcoders] rendering HTML markup in AdvancedDataGrid

2010-02-06 Thread Tim Romano
. Tim On 2/6/2010 2:08 PM, Tracy Spratt wrote: Item Renderers are only created for the visible rows plus a few buffers. Performance is primarily determined by the rendering and item data access. Be aware that htmlText only renders a small subset of html tags. Tracy Spratt, Lariat Services

[flexcoders] my HTTPService POSTs are showing up as GETs in FB4 beta 2: is POST implemented?

2010-01-25 Thread Tim Romano
I would be grateful if someone could confirm that HTTPService POST actually works in FB4 beta 2.When I set the method = POST, the header shows up as a GET in the Fiddler traffic monitor, and so the parameters I'm trying to send to the remote server never arrive; only the name/value pairs

[flexcoders] Dog woofs, Cat meows; can the same listener listen to either and how do you remove the eventlistener?

2010-01-23 Thread Tim Romano
(e:CreatureSpeakingEvent) { // is the following cast to the base-class Animal acceptable? Animal (e.target).removeEventListener(CreatureSpeakingEvent, onCreatureSpeaking); } Thanks for the help! Tim

Re: [flexcoders] Problem losing values from query results to RESULT.DATA

2010-01-20 Thread Tim Romano
What happens if you don't put any quotes around the column aliases? Tim On 1/19/2010 4:55 PM, charliecrystle wrote: Weird issue: I have a query that works fine--produces expected results: SELECT COUNT(tagsLU.tagid) as 'tagcount', tag.tagname as 'tagname' FROM TagsLU Inner Join tag

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-19 Thread Tim Romano
and eventually the error icon jumped to a line with no code on it at all. So I closed FB completely and reopened it and the code compiled and I was able to debug it. I got rid of the calls to super() BTW and moved the params parameter out of the constructor to the execute() function. Tim On 1/18

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-18 Thread Tim Romano
://livedocs.adobe.com/flex/3/html/help.html?content=04_OO_Programming_11.html I've included the class implementations below. Is the cause of the error evident? Thanks again for the help, it's appreciated doubly because I'm stumped by this. Tim === BASE CLASS == package TESTREST { import

[flexcoders] not legal to override a function with an optional parameter, e.g. foo(s: String=null) ?

2010-01-18 Thread Tim Romano
the same if you do this? override protected function foo(a:String, s:String=null): void{} Thanks Tim

[flexcoders] question about inheritance and events and overriding methods

2010-01-17 Thread Tim Romano
Let's say I have a class MYHTTPSERVICEBASE which extends mx.rpc.http.HTTPService. This base class of mine checks whether it is being run in debug mode or release, and sets the base URL to localhost or the remote host. Then I have individual http service classes that extend MYHTTPSERVICEBASE.

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-17 Thread Tim Romano
, there is no need for each of the descendants to instantiate their own Responder and no requirement for them to override the base execute() method too. Tim /* this method is in the descendant class and overrides the base method */ private overrides function onResult(e:ResultEvent, token:Object

Re: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-13 Thread Tim Romano
Tracy, Yes. Thanks for the info. Tim On 1/13/2010 12:51 AM, Tracy Spratt wrote: You are using Firefox, I bet. I have sent this behavior and I think it is just a bug in FF. Tracy Spratt, Lariat Services, development services available The status bar says Transferring data from

[flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Tim Romano
I started learning FlashBuilder/Flex by diving in and writing an AIR application against SQLite with asynchronous connections and Responder objects. The responder's resultsHandler is passed a flash.data.SQLResult object that exposes a complete status property. Lovely. Now I am trying to

Re: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Tim Romano
, and it's all there, a string literal representing an array of objects:[{...},{...},{...}], and the string literal decodes into a well-formed ActionScript array. Is there something my results-handler has to do to clear that status message? Tim Maybe I’m missing something here, but to my

Re: [flexcoders] Default width of horizontal spark list

2010-01-12 Thread Tim Statler
Have you tried setting 'width' on the List? e.g., s:List width=300 dataProvider={this.items} Tim On Mon, Jan 11, 2010 at 10:49 AM, r_woess r_wo...@yahoo.de wrote: Hi, here you can see a simple example with a horizontal list. after adding text into the textinput and pressing enter, new

[flexcoders] Channel.Security.Error : guidance please

2010-01-05 Thread Tim Romano
If I understand this document correctly: http://kb2.adobe.com/cps/142/tn_14213.html the Channel.Security.Error (Security error accessing url) that I get when trying to access a webservice hosted at www.flash-mx.com from my desktop FlashBuilder (beta 2) development environment is probably the

[flexcoders] possible to derive rowIndex from DataGrid's rightClick event?

2009-12-15 Thread Tim Romano
In an AIR app, I'd like to be able to know what row of a DataGrid the user has right-clicked on.* The rightClick event of the DataGrid is a MouseEvent and does not expose rowIndex (unlike the rowClick event which is of type ListEvent). Is there a way to derive the rowIndex in the grid's

[flexcoders] padding P element with CSS in htmlText of TextArea

2009-12-10 Thread Tim Romano
, and typographic control would offer far more precision and granularity than is actually needed while introducing unnecessary complexity. Not that typography isn't a very slick feature, but please don't let CSS+HTML fall by the wayside. Regards Tim

Re: [flexcoders] Flex 3: AIR Local Database

2009-11-25 Thread Tim Romano
The answer to your question about large scale is yes, AIR + SQLite can handle large datasets but with some caveats. I have a SQLite database that is several hundred megabytes. The main tables contain 4 million rows, 275000 rows, and 3500 rows. Queries that join these tables, when the query

[flexcoders] where to get official answer to question about AIR's SQLite implementation and LoadableExtensions mechanism support?

2009-11-25 Thread Tim Romano
A simple function I need does not exist in the SQLite engine core but the SQLite gurus are telling me to write my own function in C and load it at runtime as a loadable extension. (I have good reasons, BTW, for not wanting the function to execute in the client--it really belongs in the

[flexcoders] basic code behind question

2009-10-27 Thread Tim Romano
It seems a class whose constructor takes arguments cannot be used as the code-behind class. Is that so? When I try to use this class in the root tag of my mxml component, there's an error: no default constructor in the base class TestArgs. Thanks package { import

[flexcoders] launching popup TitleWindow from a reused mxml component

2009-10-24 Thread Tim Romano
I posted a question the other day about how to prevent a popup from being dragged outside the bounds of the application window. Since I'm fairly new at Flex, some obvious things are not immediately obvious to me. I think my popup window can be dragged outside the main application window

[flexcoders] PopupWindow dragging and enforcing main app window bounds

2009-10-23 Thread Tim Romano
First, thanks to Tracy for answering my question about the columns array of the DataGrid. My question relates to dragging popup-windows. It's possible to drag a popup window outside the main application window's bounds, and if the user happens to release the mouse button at the wrong moment,

RE: [flexcoders] how to wait for more than one httpserivice/remoteobject result to finish?

2009-08-20 Thread Tim Rowe
the barrier is unlatched. This could avoid you needing to write a handler for each event - the problem with the below example is what happens when you need three, or four, of seven events to be waited on. Just something to give some thought to anyway. --Tim

RE: [flexcoders] Fields grouping?

2009-08-18 Thread Tim Rowe
How about mx.containers.Form ? --Tim From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Wednesday, 19 August 2009 3:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Fields grouping? hi guys

[flexcoders] Embedding Emmentaler Fonts

2009-08-12 Thread Tim Sawyer
/The-Feta-font#The-Feta-font Can anyone give me any clues as to how to embed it? Cheers, Tim.

[flexcoders] Re: TileList displaying wrong index

2009-08-11 Thread Tim Hoff
. I will post a more complete question next time. Thanks to Tim and Tracy for trying to help. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute applicationComplete=init() mx:Label id=label1 text={albumsThumbnailList.selectedIndex} x=10 y

[flexcoders] Re: TileList displaying wrong index

2009-08-10 Thread Tim Hoff
Not sure what to tell you without having a sample application to play with. But, you could try some brute force techniques, like: _includedAlbums.removeItemAt(1); presentations.currentPresentation.presentedAlbumIndex = _includedAlbums.getItemIndex(_includedAlbums.selectedItem); -TH --- In

[flexcoders] Re: TileList displaying wrong index

2009-08-10 Thread Tim Hoff
is an ArrayCollection, so no .selectedItem property on that. In any case, I am already happily setting the presentedAlbumIndex by other means. It's the TileList selectedIndex that I need to update properly. --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Not sure what to tell you

[flexcoders] Re: Question about event.label

2009-08-09 Thread Tim Hoff
For Menu controls, if the data provider is an Array of Strings, Flex uses each String value as the label. When a menu item is clicked, the item's label is passed to the ItemClickEvent's label property. It would be necessary to use name-value pairs, in the dataProvider, if you used the Menu's

[flexcoders] Re: PopUp databinding - possible?

2009-08-07 Thread Tim Hoff
import mx.core.Application; -TH --- In flexcoders@yahoogroups.com, Dave Cates dave.ca...@... wrote: Hi Tracey, Thanks for your advice. The compiler is ing Œaccess of undefined property Application¹ Any ideas? Thanks, Dave. From: Tracy Spratt tr...@... Reply-To:

[flexcoders] Re: Stacked column chart with a twist

2009-08-05 Thread Tim Hoff
This might be the thread that you remembered Richard. The next to last post has a link to a great chart by Tom Gonzalez. http://www.mail-archive.com/flexcoders@yahoogroups.com/msg124244.html http://www.mail-archive.com/flexcoders@yahoogroups.com/msg124244.html -TH 0--- In

RE: [flexcoders] Any suggestion for server (java) side run-time styling solution?

2009-08-02 Thread Tim Rowe
loading, and the ability to store, modify and retrieve it however you like on the server-side. Tim Rowe Software Engineer carsales.com Ltd From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of guy.tomer Sent: Saturday, 1 August 2009 6

[flexcoders] Re: how to cleanly reduce the height of a TitleWindow's title bar

2009-07-28 Thread Tim Hoff
Hi Andrew, Have you tried the headerHeight Style in CSS? TitleWindow { header-height: 20; } -TH --- In flexcoders@yahoogroups.com, Andrew Ball anb...@... wrote: I'm unhappy with how tall the title bars are by default for TitleWindows in my application. We have some (possibly

[flexcoders] Re: What kind of data types should i use?

2009-07-24 Thread Tim Hoff
In AS, the Number and Date types should work fine. -TH --- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,i need help please..I got fields in mysql table which use decimal and datetime..I'm intending to use VO,what kind of data types should i use? I post the sql and the

[flexcoders] Re: String validators and turning off the red

2009-07-22 Thread Tim Hoff
Here's a simple way: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ public function turnOff(e:Event):void { sv.enabled = false; test.errorString = ;

[flexcoders] Re: Combobox emtpy inside of tabNavigator

2009-07-22 Thread Tim Hoff
If you cast your service call result to a [Bindable] collection, and bind the collection to the ComboBox's dataProvider, the ComboBox should display populated. With binding you don't have to worry about timing. When the ComboBox is instantiated it will pull the data; if it exists. If not, the

[flexcoders] Re: Problem with Flex tree and arraycollection

2009-07-22 Thread Tim Gallagher
What is the uid for the tree ui? Thanks, Timgerr Sent from my iPhone

[flexcoders] Re:Problem with Flex tree and arraycollection

2009-07-22 Thread Tim Gallagher
It looks like the only part that I can hilight is the last node that was added. Timgerr Sent from my iPhone

[flexcoders] Re: Synchronizing two ArrayCollections

2009-07-21 Thread Tim Hoff
; for (var i:int = 0; i Array_Exits.length; i++) { if ( Exits(Array_Exits.getItemAt(i).Ticker ==c urTick) { dgExits.selectedIndex = i; } } } --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Going to have to loop: var curTick:String = dg1.selectedItem.Ticker

[flexcoders] Re: Synchronizing two ArrayCollections

2009-07-20 Thread Tim Hoff
Going to have to loop: var curTick:String = dg1.selectedItem.Ticker; for (var i:int = 0; i dg2.dataProvider.length; i++) { if ( Object(dg2.dataProvider.getItemAt(i)).Ticker == curTick ) { dg2.selectedIndex = i; } } Depending on your model, you could use for each

[flexcoders] Re: Screen resolution

2009-07-19 Thread Tim Hoff
1024 x 768 is usually the minimum resolution required for commercial apps. Although you also need to account for the browser header as well. While you can never anticipate every user's browser configuration, this is a good baseline for most. -TH --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Re: Having problems iterating ResultSet returned to Flex via Blaze

2009-07-16 Thread Tim Finlayson
this: datagridArrColl = new ArrayCollection(ArrayUtil.toArray(event.result)); myDatagrid.dataProvider = datagridArrColl; --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, tim...@... tim...@... wrote: I'm currently returning a SQL ResultSet from my Java class via Blaze to Flex and I'm trying

[flexcoders] Re: multiple axis question.

2009-07-16 Thread Tim Hoff
Use a secondVerticalAxis and secondVerticalAxisRenderer (placement=right). -TH --- In flexcoders@yahoogroups.com, shaded shad...@... wrote: I'm have a chart with 3 sets of line graph data, id like to have 2 of those set to have the same y axis, and the third to have its own. The docs don't

[flexcoders] Re: TileList Item Spacing

2009-07-15 Thread Tim Hoff
There isn't a horizontaGap or verticalGap between the tiles in a TileList. So, you'd have to use an itemRenderer to fake it. Add a transparent container to the itemRenderer, that contains the itemRenderer content; centered within the transparent container. You can then adjust the perceived

[flexcoders] Having problems iterating ResultSet returned to Flex via Blaze

2009-07-15 Thread tim...@ymail.com
appreciate it! Thx, Tim.

[flexcoders] Re: Possible to create a chart with clustered overlaid columns? (picture inside)

2009-07-15 Thread Tim Hoff
Very nice! -TH --- In flexcoders@yahoogroups.com, sa3376 sa3...@... wrote: --- In flexcoders@yahoogroups.com, gmoniey22 gmoniey22@ wrote: I haven't been able to find an example of this, or any indication in the docs of how to do this, but I would imagine it is possible. I want to

[flexcoders] Re: Possible to create a chart with clustered overlaid columns? (picture inside)

2009-07-14 Thread Tim Hoff
Here's another way. You would have some challenges with data tips, but nothing that can't be handled. Hope that this gives you some ideas: Multi-Clustered Column Chart Sample http://www.timothyhoff.com/projects/MultiClusteredColumnChartSample/Mul\ tiClusteredColumnChartSample.html -TH --- In

[flexcoders] Re: setStyle not valid

2009-07-10 Thread Tim Hoff
I try change cause no work and me no Google. --- In flexcoders@yahoogroups.com, ag_rcuren robert.vancuren...@... wrote: --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: styleLabel.setStyle(fontSize, 72); -TH --- In flexcoders@yahoogroups.com, j2me_soul j2me_soul@ wrote

[flexcoders] Re: Possible to change the Fill Color for ColumnSeries on itemRollOver?

2009-07-09 Thread Tim Hoff
Here's a slightly different approach: Chart Labeled Renderer Roll-Over Sample http://www.timothyhoff.com/projects/ChartLabeledRendererSample/ChartLab\ eledRendererSample.html -TH --- In flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote: Is it possible to change the fill color of 1

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
Hi Gary, There is a 2880 pixel limit for images. Your image is too wide. -TH --- In flexcoders@yahoogroups.com, toofah_gm ga...@... wrote: I am seeing cases when the image loader COMPLETE event will not fire. Does anyone know why this is the case? I wonder if there is something wrong with

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
.jpg; work? It has the same dimensions, just no transparency. Gary --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi Gary, There is a 2880 pixel limit for images. Your image is too wide. -TH --- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote: I am seeing

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
, toofah_gm ga...@... wrote: I tried this as well...I think that the original file is actually a PNG and not a JPG...unfortunately, this does not make a difference either. Gary --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: What happens if you convert the jpg to a png

[flexcoders] Re: Possible to change the Fill Color for ColumnSeries on itemRollOver?

2009-07-09 Thread Tim Hoff
it works). --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Here's a slightly different approach: Chart Labeled Renderer Roll-Over Sample http://www.timothyhoff.com/projects/ChartLabeledRendererSample/ChartLab\ \ eledRendererSample.html -TH --- In flexcoders

[flexcoders] Re: setStyle not valid

2009-07-08 Thread Tim Hoff
styleLabel.setStyle(fontSize, 72); -TH --- In flexcoders@yahoogroups.com, j2me_soul j2me_s...@... wrote: I try to change the style at runtime mx:Button x=38 y=44 label=ΪÖйúºÈ²Ê click=butClickHandler(event)/ mx:Label id=styleLabel text=I'm Label/ private function

[flexcoders] Actionscript on JSR223

2009-07-07 Thread Tim Rowe
here would be appreciated. Thanks, Tim Rowe Software Engineer carsales.com Ltd Level 1, 109 Burwood Road Locked Bag Hawthorn VIC 3211 t: 03 9093 8600 (Reception) t: 03 9093 8757 (Direct) f: 03 9093 8697

[flexcoders] Re: Continuous Multi-colored Line Chart

2009-07-06 Thread Tim Hoff
That one is a little tricky. But, here's one way that you can do it: http://www.timothyhoff.com/projects/LineRendererSample/LineRendererSampl\ e.html http://www.timothyhoff.com/projects/LineRendererSample/LineRendererSamp\ le.html (right click to view source) -TH --- In

[flexcoders] Re: getting the xml data from a dispatched event

2009-07-05 Thread Tim Hoff
1246801954900 468962 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Wow, I've got to say; What a mess. However, you can get it to work with the following changes: [Bindable] private var customMeals:XMLListCollection = new XMLListCollection(); // addToMeal event

[flexcoders] Re: getting the xml data from a dispatched event

2009-07-04 Thread Tim Hoff
Wow, I've got to say; What a mess. However, you can get it to work with the following changes: [Bindable] private var customMeals:XMLListCollection = new XMLListCollection(); // addToMeal event Handler private function addToMealHandler(event:Event):void {

[flexcoders] Re: getting the xml data from a dispatched event

2009-07-03 Thread Tim Hoff
The zip file doesn't contain any code in the src folder. Kind of hard to see what's happening without it. -TH --- In flexcoders@yahoogroups.com, Jason B nos...@... wrote: any Idea? --- In flexcoders@yahoogroups.com, Jason B nospam@ wrote: yes heres the results

RE: [flexcoders] Re: Bitmap downsampling

2009-07-02 Thread Tim Rowe
Well, if it's not in the docs, you know what to do - they're open and take comments for a reason :) --Tim From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Bjorn Schultheiss Sent: Thursday, 2 July 2009 4:04 PM To: flexcoders

[flexcoders] Re: htmlText truncation when changing from embedded to device font

2009-07-02 Thread Tim Hoff
That's all that I have Toby. Maybe someone else would like to jump in. -TH --- In flexcoders@yahoogroups.com, tphipps toby.phi...@... wrote: Tim, Thanks for the detailed reply. Unfortunately, this only fixes half the problem... With your recommended changes in place, the size

[flexcoders] Re: htmlText truncation when changing from embedded to device font

2009-07-02 Thread Tim Hoff
@yahoogroups.com, Tim Hoff timh...@... wrote: That's all that I have Toby. Maybe someone else would like to jump in. -TH --- In flexcoders@yahoogroups.com, tphipps toby.phipps@ wrote: Tim, Thanks for the detailed reply. Unfortunately, this only fixes half the problem... With your

[flexcoders] Re: ListEvent itemRenderer field null when parent is out of view

2009-07-01 Thread Tim Hoff
--- In flexcoders@yahoogroups.com, lachance.brian lachance.br...@... wrote: Hi, Tim, Thanks for the tip! I hadn't thought of that as a direct workaround of sorts, but that does open the doors for another way to get it to work, I think :) It's not-so-much accessing the data that's the problem

[flexcoders] Re: itemrenderer in datagrid does not refresh

2009-07-01 Thread Tim Hoff
Sorry if this comes through twice. Instead of using the creationComplete and dataChange events, add this to the itemRenderer's script: override public function set data(value:Object):void { super.data = value; if ( value != null ) checkEmail(); } -TH --- In

[flexcoders] Re: ListEvent itemRenderer field null when parent is out of view

2009-07-01 Thread Tim Hoff
, Tim! --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Here's another work-around Brian: public function handleTreeItemChange(event:ListEvent):void { callLater(getItemRenderer); } public function getItemRenderer():void { debugTextArea.text = ListEvent's itemRenderer

RE: [flexcoders] Bitmap downsampling

2009-07-01 Thread Tim Rowe
not specifying antialiasing and the method call doesn't assume it by default, then yeah, you're going to get horrible image quality on downsize as a typical algorithm will pick nearest-neighbor to the new target pixel. --Tim From: flexcoders@yahoogroups.com

[flexcoders] Re: Problem using b in htmlText

2009-06-29 Thread Tim Hoff
Since you are not closing the a tags, it looks like the /b closing tag is not getting recognized. Just add /a and it works fine: ![CDATA[ ba href=event:1One/a/ba href=event:2 Twoa href=event:2 Two ]] -TH --- In flexcoders@yahoogroups.com, greenfishinwater greenfishinwa...@... wrote: I am

[flexcoders] Re: ListEvent itemRenderer field null when parent is out of view

2009-06-29 Thread Tim Hoff
Hi Brian, Nice post. Yeah, that is wierd; looks like a bug. You can get around it for now, by looking at the data instead: public function handleTreeItemChange(event:ListEvent):void { debugTextArea.text = ListEvent's selectedItem: + testtree.selectedit...@label

[flexcoders] Re: Time Difference between two columns in DataGrid using itemrenderer

2009-06-28 Thread Tim Hoff
Hi Don, The itemRenderer's data Object contains BOTH fields for that row in the dataProvider. You can start by trying to pass the date strings into a DataFormatter and cast as Date, or try DateField.stringToDate(). If the format of the date string isn't compatible, and you can't change what

[flexcoders] Re: text input that only accepts numbers

2009-06-26 Thread Tim Hoff
Look at the restrict property, lest we revert to the stone-ages. -TH --- In flexcoders@yahoogroups.com, kshah0...@... kshah0...@... wrote: What type of Flex validator component can I use so a Text Input component can only accept numbers? I've tried the NumberValidator but it does not have

[flexcoders] Re: Charting: Drilling down into a legend label

2009-06-25 Thread Tim Hoff
Not out of the box. But, you could extend Legend and assign a custom LegendItem to legendItemClass. LegendItem is a UIComponent, so it would be easy to extend and add mouse event listeners/handlers. In the custom LegendItem, you could use the legendData and/or element vars, to drive the

[flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Tim Hoff
Hi Wally, Pretty close, just a few minor tweaks needed: // add the event parameter public function changeStartType( event:Event ):void // change to group addressRB.group = startLocation; airportRB.group = startLocation; protected override function updateDisplayList(unscaledWidth:Number,

[flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Tim Hoff
From: Tim Hoff timh...@... Sent: Wednesday, June 24, 2009 8:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Extending Custom Panel with RadioButtons - Help Hi Wally, Pretty close, just a few minor tweaks needed: // add the event parameter public function

[flexcoders] Re: Extending Custom Panel with RadioButtons - Help

2009-06-24 Thread Tim Hoff
: Tim Hoff timh...@... Sent: Wednesday, June 24, 2009 8:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Extending Custom Panel with RadioButtons - Help You need to add maps as a child in createChildren(). -TH --- In flexcoders@yahoogroups.com, Wally Kolcz wkolcz@ wrote

[flexcoders] Re: Mate CacheSetter

2009-06-24 Thread Tim Hoff
Just a stab Richard, but do the binding brackets make any difference? PropertyInjector targetKey=foo source={ legacyModel } sourceKey=foo/ -TH --- In flexcoders@yahoogroups.com, Richard Rodseth rrods...@... wrote: Any Mate users here? The forums are down again. I'm trying to use the newish

[flexcoders] Re: tilelist rowCount not working...

2009-06-24 Thread Tim Hoff
Assuming that the direction=horizontal, the rowCount should work; unless you are setting an explicit width and the number of items will spill into an additional row. They have to go somewhere, right? What happens if you remove the width property? -TH --- In flexcoders@yahoogroups.com,

[flexcoders] Re: tilelist rowCount not working...

2009-06-24 Thread Tim Hoff
From the docs: rowCount Number of rows to be displayed. If the height of the component has been explicitly set, this property might not have any effect. -TH --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Assuming that the direction=horizontal, the rowCount should work

[flexcoders] Re: MenuBar ItemRenderers on Sub-Menus

2009-06-23 Thread Tim Hoff
An easy way would be to extend MenuBar: package { import mx.controls.Menu; import mx.controls.MenuBar; import mx.core.ClassFactory; public class MyMenuBar extends MenuBar { public function MyMenuBar() { super(); }

[flexcoders] Re: Flex Browse File

2009-06-23 Thread Tim Hoff
Not sure if this available for flex, but for air: var file:File = new File(); file.addEventListener(Event.SELECT, dirSelected); file.browseForDirectory(Select a directory); function dirSelected(e:Event):void { trace(file.nativePath); } -TH --- In flexcoders@yahoogroups.com, reversible_82

[flexcoders] Re: htmlText truncation when changing from embedded to device font

2009-06-22 Thread Tim Hoff
I'll let the engineers let you know why this is happening. But, you can get it to work with the following steps (hack): 1) Remove height=200 from the test Text control. 2) Add this function: private function updateTextSize():void { test.invalidateSize(); } 3) On the ComboBox change

[flexcoders] Re: Accurate way of measuring a datagrid

2009-06-19 Thread Tim Hoff
If you can't get it to work, you could always use a Repeater instead. In this case, since you want to display all of the items, this would probably work out better. -TH --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Yeah, maybe not. Good luck; this is a common challenge

  1   2   3   4   5   6   7   8   9   10   >