RE: [flexcoders] Re: Is there a way to control TextArea scrollbar thickness?

2009-09-17 Thread Alex Harui
Just want you to know it will be easier in Flex 4. And if you aren't shipping until early next year, it might be time to try it out. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@ya

[flexcoders] Re: Is there a way to control TextArea scrollbar thickness?

2009-09-17 Thread guytom
The problem is with the word "beta"... --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Yeah. But try it in Flex 4 beta. Should be more fun there. > > Alex Harui > Flex SDK Developer > Adobe Systems Inc. > Blog: http://blogs.adobe.com/aharui >

RE: [flexcoders] Label Control Text Value Coming From a Function Call

2009-09-17 Thread Alex Harui
Did you try it? I would expect that to work. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Thursday, September 17, 2009 8:10 PM To:

RE: [flexcoders] Is there a way to control TextArea scrollbar thickness?

2009-09-17 Thread Alex Harui
Yeah. But try it in Flex 4 beta. Should be more fun there. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of guytom Sent: Thursday, September 17, 2009 2:3

Re: [flexcoders] Positioning using the graphics class?

2009-09-17 Thread Keith H
Lines drawn with the drawing API spread their thickness from the center. (unless I there's a way to set their orientation that I dont know of) You have to obviously compensate for the that... drawRect(1.5,1.5,canvas.width-1.5,canvas.height-1.5); -- Keith H -- www.keith-hair.net Tracy Spratt

[flexcoders] Re: Sending textinput id

2009-09-17 Thread xyrer
--- In flexcoders@yahoogroups.com, "Kenneth Sutherland" wrote: > > Sorry should have said you should use the 'event.target.id' (in > virtually all cases you can get away with using currentTarget, but if > you want to be guaranteed to be getting the info from whatever > dispatched the event, use t

[flexcoders] AdvancedDataGrid itemOpen() to resize Container

2009-09-17 Thread Matthew
Hi, I have a Windowshade as a root component; the child is an AdvancedDataGrid. I want the Windowshade to scale as a user expands/collapses a row in the DataGrid. So I trap the itemOpen and itemClose events and I try to adjust the height of the Windowshade like this: this.owner.measuredHeight

[flexcoders] Set default font size on RichTextEditor

2009-09-17 Thread gotgoose09
I want to set the default text size on an RTE to something other than 10. How can I do this? Thanks, Ben Goosman

[flexcoders] Positioning using the graphics class?

2009-09-17 Thread Tracy Spratt
I am using the Graphics class to draw borders on a Canvas. I think I do not understand how the positioning works. For example, I set lineStyle to width of 3 and some color, then I use drawRect and specify x=0, y=0, width = canvas.width and height = canvas.height. I am expecting a 3 pixe

[flexcoders] Label Control Text Value Coming From a Function Call

2009-09-17 Thread Angelo Anolin
Hi FlexCoders, I have a label control where the text value that should be displayed is coming from a defined function.       For example:             private function setDayName(monthNo:Number, dayNo:Number, yearNo:Number):String    {  // Make some calculations on the day based on the date p

[flexcoders] Fancy an ActionScripting job at Dare?

2009-09-17 Thread jameskentdeakin
The place where I work is hiring Flex and Flash developers at the moment. We are based in London in the UK. You could get to do some really cutting edge work for some great clients – like Sony, Sony Ericsson, BMW and Vodafone. And there's loads of variety - everything from Microsites and Air a

[flexcoders] Beginner Questions

2009-09-17 Thread mugathur
Hello. I am very new to both Flash and Flex. I've been programming video games in C/C++ for a while now and thought I'd try something faster to develop. So, I have a few questions, specifically geared towards games development. Do games developers usually use Flex or just raw Flash? Is just

Re: [flexcoders] Re: Java/Flex questions answered by James Ward

2009-09-17 Thread Mark Lapasa
Uggh no wonderthey deleted my question altogether! James Ward wrote: > > Yeah. Turns out that the folks at Stack Overflow didn’t like the idea > of the “riacowboy” tag. So you can still ask the question with > sensible tags and then post a comment on my “Ask the RIA Cowboy” blog > so that I

RE: [flexcoders] Re: Race conditions when event handlers triggered from different targets

2009-09-17 Thread Alex Harui
IMHO, Once you get the runtime error dialog, all further behavior is undefined. Your code has finished executing and the player is no longer executing its standard workflow. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexco

RE: [flexcoders] ItemRenderer killing datatips in List?

2009-09-17 Thread Alex Harui
Recommended practice is to call itemToDataTip on the List to get the text of the datatip. If dataTipField or dataTipFunction is not set correctly you may still get [object Object] Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From:

Re: [flexcoders] Why never create an item renderer?

2009-09-17 Thread Wesley Acheson
Why not answer the tex_learning_flex thread instead of this one. I'm sure to learn something and I haven't had time at work to paste one of my examples much to my chagrin. Regards Wes On Fri, Sep 4, 2009 at 8:23 PM, Alex Harui wrote: > > > There might be some posts on my blog that might hel

Re: [flexcoders] ItemRenderer killing datatips in List?

2009-09-17 Thread Wesley Acheson
Is there something to implement because we usually get Object[object] as a data tip. Regards, Wes On Thu, Sep 17, 2009 at 5:53 AM, Alex Harui wrote: > > > The renderer is responsible for showing datatips. You can see how it is > done in the default renderer and decide how you want to impleme

[flexcoders] Re: Creating Resize Handles

2009-09-17 Thread flexaustin
This one is much better! I don't have to throw my objects in it like the other one. THanks. --- In flexcoders@yahoogroups.com, "ag_rcuren" wrote: > > ObjectHandles is ok but they do not handle rotation very well. Have a look at > this > > http://www.sephiroth.it/weblog/archives/2007/07/tran

RE: [flexcoders] Blazeds messaging from java to java

2009-09-17 Thread James Ward
I think it would be easier to use JMS instead. And then just connect BlazeDS to the JMS topic. -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of netdeep Sent: Thursday, September 17, 2009 8:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Blaze

RE: [flexcoders] Combobox in DataGrid

2009-09-17 Thread Tracy Spratt
Here is an example: http://www.cflex.net/showfiledetails.cfm?ChannelID=1 &Object=File&objectID=767 This component is somewhat complex because I wanted to make a fairly generic renderer, one that could use either s

RE: [flexcoders] Combobox in DataGrid

2009-09-17 Thread Battershall, Jeff
You'll have to subclass your ComboBox for starters. The available ComboBox items depend on an item in the DG's dataProvider, I would assume? If so, having one master list of available items, and then filtering the ComboBox's dataProvider based on a particular item's attributes might be a good

[flexcoders] Combobox in DataGrid

2009-09-17 Thread kumarmenon
I have a DataGrid in mxml which has one of the Columns as an Combobox Component with Dynamic list of lookup values..I currently load the component on creationComplete..However if i do that the lookup list is static. I want a dynamic lookup list which shows up correctly in the DataGrid..How is

[flexcoders] Re: Different behaviour between deployment and IDE execution

2009-09-17 Thread prodanzr
You are right, I should not be using a 404 to signify that there was no result to return. So I changed my server code to return a 204 (No Content) instead and now my fault handler gets called in the IDE with status code 0. If 0 means no errors then I am curious as to why the fault handler gets c

[flexcoders] Re: Creating Resize Handles

2009-09-17 Thread ag_rcuren
ObjectHandles is ok but they do not handle rotation very well. Have a look at this http://www.sephiroth.it/weblog/archives/2007/07/transformtool_modification.php --- In flexcoders@yahoogroups.com, Fotis Chatzinikos wrote: > > Google ObjectHandles ;-) > > On Thu, Sep 17, 2009 at 5:06 PM, flexa

[flexcoders] Re: DateField.selectedDate being set to null on focusOut??

2009-09-17 Thread toofah_gm
Thanks for this post. This saved me. Looks like a nasty bug with the DateField control. Has this been logged for Adobe to fix? --- In flexcoders@yahoogroups.com, "Josh McDonald" wrote: > > Figured this out for anybody who has the same problem in the future - if you > use a labelFunction, mak

RE: [flexcoders] Declaring New Variable from XML Source

2009-09-17 Thread Tracy Spratt
Use an e4x expression. They all return XMLList, so watch for that if you need to assign a result to an XML var. If you are sure there is only one node in the result, do var xmlResult:XML = xmllistResult[0]; See the documentation for e4x syntax and usage, post back here if you have a specific

[flexcoders] Declaring New Variable from XML Source

2009-09-17 Thread AJC2357
Hello, I have a large XML file that I use with Flex to graphically display specific data. For example, it is easy to create a graph that shows GDP by country. (which creates a graph for all countries in XML file) But how can narrow or filter these searches? I want to have the graph show onl

re: [flexcoders] Stupid question: Adding dollars

2009-09-17 Thread Wally Kolcz
Figured it out. Forgot to wrap the cost in a Number() From: "Wally Kolcz" Sent: Thursday, September 17, 2009 8:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Stupid question: Adding dollars I must be having a moron-moment. I have dollar amoun

Re: [flexcoders] Stupid question: Adding dollars

2009-09-17 Thread Howard Fore
In the debugger, does it show the values in the ArrayCollection members before you try to use the function? In other words can you trace the value assignment back to when the ArrayCollection is populated? -- Howard Fore, howard.f...@hofo.com "The worthwhile problems are the ones you can really sol

[flexcoders] Re: Lagging Panel title

2009-09-17 Thread droponrcll
--- In flexcoders@yahoogroups.com, "valdhor" wrote: > > Possibly... > > override public function invalidateDisplayList():void > { > super.invalidateDisplayList(); > _title = propertyObject.title + ' Properties'; > } > I think what's going on is that they put the logic for changing

[flexcoders] Re: truncateToFit() and concatenated Strings

2009-09-17 Thread Matthew
thank you very much, valdhor. those links got it done.

[flexcoders] Stupid question: Adding dollars

2009-09-17 Thread Wally Kolcz
I must be having a moron-moment. I have dollar amounts in the database (45.32, 34.23, 50.25) and I want to look them and assign them to a Number variable. But it keeps coming up as NaN or empty. What am I missing here? [Bindable] public var medTotal:Number = 0; public function calculateTotal(e:

Re: [flexcoders] JQuery questions

2009-09-17 Thread Howard Fore
He may be able to reproduce the front-end but JQuery is going to do nada on the backend. AFAIK there's no solution for any sort of remote objects with JQuery, the data transfer would all be through HTTP web services, encapsulating the data in XML or JSON or something like that. The problem that JQu

Re: [flexcoders] Creating Resize Handles

2009-09-17 Thread Fotis Chatzinikos
Google ObjectHandles ;-) On Thu, Sep 17, 2009 at 5:06 PM, flexaustin wrote: > > > Anyone ever create or see a tut/example on how to create resize/skew > handles on Sprites or UIComponents? > > Say you click a Sprite on screen, the sprite would should show a bounding > box, similar to Flash, Phot

[flexcoders] Blazeds messaging from java to java

2009-09-17 Thread netdeep
I know BlazeDS allows flex to communicate with server technology, but what if I want to communicate from a java class. How do I send my channel (which I've already set up and defined in the messaging-config file) a message and also hear back from the same channel? I can create messages like t

[flexcoders] Re: Creating Resize Handles

2009-09-17 Thread ag_rcuren
This can be quite difficult depending on how robust you want it to be. I have built 2 different "Transform" tools to suit some specific needs I had but here is a link that should work for most people. http://www.sephiroth.it/weblog/archives/2009/06/multiple_objects_using_senocular_tran.php It i

[flexcoders] Creating Resize Handles

2009-09-17 Thread flexaustin
Anyone ever create or see a tut/example on how to create resize/skew handles on Sprites or UIComponents? Say you click a Sprite on screen, the sprite would should show a bounding box, similar to Flash, Photoshop, Visio or Firefox, which allow you to make the clicked Sprite wider, thinner, skew

[flexcoders] Re: truncateToFit() and concatenated Strings

2009-09-17 Thread valdhor
One of these should help you out... http://thanksmister.com/index.php/archive/flex-truncating-html-text/#more-613 http://www.frontenddeveloper.net/wiki/index.php?title=Truncate_HTMLText --- In flexcoders@yahoogroups.com, "Matthew" wrote: > > Hi - > > I have a Label with truncateToFit set to

[flexcoders] Re: truncateToFit() and concatenated Strings

2009-09-17 Thread Matthew
Thanks for your responses. I did try that link (and that class) but it appears to replace the entire string with '...' instead of just the ending characters. And the conditional it uses to test if truncation is needed is testing for height values??? That I don't understand: protected function g

[flexcoders] Re: Different behaviour between deployment and IDE execution

2009-09-17 Thread valdhor
an event.statuscode of 0 means that there were no errors. You are checking if the statuscode is NOT equal to 404. Is that what you really wanted to do? --- In flexcoders@yahoogroups.com, "tendancer2000" wrote: > > Just finished my first ever Flex app (yay!) and deployed it to my tomcat > serv

[flexcoders] Re: Lagging Panel title

2009-09-17 Thread valdhor
Possibly... override public function invalidateDisplayList():void { super.invalidateDisplayList(); _title = propertyObject.title + ' Properties'; } --- In flexcoders@yahoogroups.com, "droponrcll" wrote: > > Hi, all; > > I have a component that extends Panel. The panel title is bo

[flexcoders] Re: How do I get the browser's height and width?

2009-09-17 Thread paulfischer60
--- In flexcoders@yahoogroups.com, "luvfotography" wrote: > > How do I get the browser's height and width, > not the swf's height and width, but the browser's height and width, > can I get it without using javascript (external interface)? > thanks, > You can do this with JQuery. I use this to re

[flexcoders] Re: Race conditions when event handlers triggered from different targets

2009-09-17 Thread litlboyblue
--- In flexcoders@yahoogroups.com, Gordon Smith wrote: > Yes, that is what Alex is saying. Handler B will not begin before handler A finishes. Event handlers don't get paused. Furthermore, when you (or the Player) calls dispatchEvent(), all the event handlers listening for that event execute b

[flexcoders] Loading Image files

2009-09-17 Thread SvenM
I have a series of images in a viewstack. The stack changes its index using a timer and I have applied a fade effect between changes. The problem I am experiencing is that there is an interruption in the first fade effect as the image is being downloaded to the user's pc since they are not emb

[flexcoders] Is there a way to control TextArea scrollbar thickness?

2009-09-17 Thread guytom
>From what I found so far the only way is to replace the up/down arrows?