[flexcoders] Re: how to let setting different style be handled by different subcomponents?

2008-04-12 Thread ben.clinkinbeard
Override setStyle() or styleChanged() --- In flexcoders@yahoogroups.com, Rich Rodecker [EMAIL PROTECTED] wrote: I have a component which extends Canvas. I am using a custom borderSkin on the Canvas and that works out fine. Within that canvas I have a TextArea. I'm trying to figure out

[flexcoders] Adding new Doc to Dynamic Help in FB3

2008-04-12 Thread Glenn Williams
Adding new Documents to Dynamic Help in FB3: is this possible? Glenn www.flex-ria.com www.tinylion.co.uk www.our-little-secret.com image001.jpg Glenn Williams.vcf Description: Binary data

[flexcoders] Platform independent paths in AIR

2008-04-12 Thread Zdenek Mikan
Is it possible to get platform independent path for file or folder in Adobe AIR? If I want to use the same Air application on Mac and Win, how can I translate the file paths between platforms? (The native path on Win does not include the server name, only the mapping on letter.)

[flexcoders] Dates being passed through to HQL query with no time values? (LCDS)

2008-04-12 Thread Kevin
I am having a problem where when I pass a Date object as a parameter in an HQL query (using the HibernateAssembler) it is stripped of it's time value? Has anyone else run into this and if so can you offer suggestions on how to make sure Date get's converted to a proper timestamp value? This

RE: [flexcoders] Adding new Doc to Dynamic Help in FB3

2008-04-12 Thread Rick Winscot
Who the whatie? If you are trying to add help entries to the IDE - http://wiki.eclipse.org/FAQ_How_do_I_add_help_content_to_my_plug-in%3F There are a couple of ways to do this. what exactly are you trying to accomplish? Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] How to download a BLOB from database....using Java

2008-04-12 Thread Jon Santos
Hi Jim.i know how to get the image in my POJO. The process i´m following: I get the image form database throw my servlet. In this class i get the ImageObject (POJO), it means the image and other data. In my FLEX application i have one object ImageObject (Action Script)like Remote

RE: [flexcoders] Re: Embedded Fonts and Text Alignment problem in Text control

2008-04-12 Thread Rick Winscot
Renz - you say that Courier New works ok? This is a fixed width font. which has me wondering if this has something to do with how the font packages are generated. If in the process - each characters advancement is getting ignored/cheated/mangled one would expect to see something similar to your

Re: [flexcoders] How to download a BLOB from database....using Java

2008-04-12 Thread Muzak
You can use the Loader class. If your image is Base64 encoded, decode it first, if not, skip that part and use the Loader only. Here's something I'm using to display BLOB images stored in an SQLite DB (AIR). I've skipped a few things, but should get you going. The important part is that you use

[flexcoders] View stack not changing in display even though index changes (first time only)

2008-04-12 Thread dave_defusion
I have a view stack setup as a custom component, in it there is a property call displaySection which is an int that corresponds to the index to set the view stack. This is so that I can then use constants for each of the sections external to the view and not worry about the implementation within

AW: [flexcoders] drag and drop a button?

2008-04-12 Thread Harald Dehn
Hi Winscot, I found an alternative way to get a proxy image for the DragManager // FANCY: // --- // Add a proxy image here for drag manager to use if you would like! var proxy:UIComponent = UIComponent(

[flexcoders] Progressbar on NetConnection (FMS)

2008-04-12 Thread Yogesh Jadhav
Hi all, In case of images and other data , u can use them as source property of mx:Progress bar, but how to use progress bar to show a connection to FMS server. Images and other data loads but fms connection just returns status event. How to do this? -- Regards, Yogesh

RE: [flexcoders] drag and drop a button?

2008-04-12 Thread Rick Winscot
You bet! There are quite a few 'short hand' methods to do things... but you'll want to be careful with how you use contructors/object casting inside calls. If BitmapData were somehow to end up null. subsequent operations on a null object leads to runtime errors. In this case BitmapAsset can take

[flexcoders] Re: Dates being passed through to HQL query with no time values? (LCDS)

2008-04-12 Thread Kevin
To follow up with this, it appears from my Hibernate parameter logging that the time values are getting stripped from the date when a my date is passed through to the HQL query. My guess is that possibly the Date object is being typed incorrectly to java.sql.date (which doesn't maintain time

[flexcoders] how we can show the data in a flex tree

2008-04-12 Thread Yasir Mahmood
Hi I need to display this type of data in treecontrol. I just want that tree should display Southwest,Arizona,4 as children of Table and Southwest as Children of subTable. Main Table RegionSouthwest/Region TerritoryArizona/Territory Estimate4/Estimate /Table subTable

[flexcoders] Anyway to read an RTF file contents?

2008-04-12 Thread Myth Kumar
Hi All, Does anyone know if there is anyway to read the contents of a simple RTF file and display the text in a control in Flex 3 ? If it is possible, can you please give me some pointers? Thanks in advance!

[flexcoders] Data wizard error #1088 on Flex 3 builder

2008-04-12 Thread kay_inverno
hello, i am new on flex, before try flex, i am usually build web application with php and mysql. i have a problem when try to connecting flex with mysql use data wizard on FB3, the error code is error #1088 Connection error: Error #1088: The markup in the document following the root element must

[flexcoders] Redirect to older flash version

2008-04-12 Thread Easow Jacob
Hi, Can i redirect to older flash version ie.9.0.115 during flash detection of browser using flash detection kit..is it possible...or any other way to redirect the users to adobe sites and make them to install 9.0.115 Thanks Mathew -- Mathew Easow Jacob +91-9886979038 Bangalore

Re: [flexcoders] Platform independent paths in AIR

2008-04-12 Thread Jeffry Houser
Use relative paths instead of absolute paths. I wrote about this here: http://www.jeffryhouser.com/index.cfm/2008/2/19/Local-Access-URLs-in-Adobe-AIR Zdenek Mikan wrote: Is it possible to get platform independent path for file or folder in Adobe AIR? If I want to use the same

[flexcoders] Re: Platform independent paths in AIR

2008-04-12 Thread zdenekmikan
Unfortunately this solution does not work when I need to access the same file on LAN local file server from AIR applications on Mac and Win. --- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote: Use relative paths instead of absolute paths. I wrote about this here:

[flexcoders] onError similar to javascript window.onerror ?

2008-04-12 Thread Fabio Serra
In Ajax I use the javascript window.onerror event to intercept every error occurred on the page. I then use XmlHttpRequest to send the error messages to a back-end database that collect all errors and finally I leave the error to bubble up. I would like to do the same thing in Flex, but I don't

Re: [flexcoders] Redirect to older flash version

2008-04-12 Thread Matt Chotin
No, older versions are only provided for developers for testing. Adobe only makes the latest version available for regular download. You can obviously specify that you only require a lower version,but if they need to install to meet requirements it will be with the latest. Matt On 4/12/08

[flexcoders] Re: RadioButtonGroup numRadioButtons never changing

2008-04-12 Thread kenny14390
When would be the correct time to validate the buttons? I tried the following but got the same errors... rb.validateNow(); sectRadioCanvas.addChild(rb); --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Radiobuttons don't actually get assigned to the group until

Re: [flexcoders] Re: Platform independent paths in AIR

2008-04-12 Thread Jeffry Houser
I haven't had to deal with that yet. I guess you'll have to do some form of if MAC use X path, if PC, use Y Path. My impulse is that with hard coded paths your app will lose some portability. I also suspect that you may have security considerations when accessing a network share.

[flexcoders] best way to share code across multiple sub-projects in FlexBuilder?

2008-04-12 Thread Rich Rodecker
I am working on a project that will be broken up into three subprojects: - an AS3-only project, which produces a swf - A flex project - another AS3-only project, which is code-only, more than likely to be distributed as a swc, and will be used within the other projects. I'd like to

[flexcoders] Re: best way to share code across multiple sub-projects in FlexBuilder?

2008-04-12 Thread Rich Rodecker
sorry, sent too early...so I'd like to wind up with a package structure something like: com domain webapi (the swc project) core ASOnlyproject.as FlexProject.mxml model view controller Right now, I am using a FlexLibrary

[flexcoders] how do I know when a component is invisible

2008-04-12 Thread Jason Rayles
I have some custom components, and they live inside various containers inside various containers. How can I let my components know that they are invisible, whether it is the component itself that has visible=false or the parent's visibility is false or if its parent's parent is not the current

[flexcoders] First codes not working... PHP+JSon+Flex

2008-04-12 Thread Sid 'Neko Tamashii'
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=srcMenu.send() mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import com.adobe.serialization.json.JSON; [Bindable] public var

RE: [flexcoders] how we can show the data in a flex tree

2008-04-12 Thread Tracy Spratt
labelFunction. Something like: private function lfTree(oItem:Object):String { var xmlItem:XML = XML(oItem); var sText:String = xmlItem.text(); if (sText.lenght == 0) { sText = xmlItem.name(); //or localName() } return sText; Tracy

[flexcoders] some one must know this!!! Please tell me!!!

2008-04-12 Thread hworke
I have a XMLList. I cannot parse it. My understanding is that I will be able to parse the title like this: var st:string = xmllist[0].title but does not give any output Here is what I get in xmllist[0] when I point it to a textarea: item

RE: [flexcoders] some one must know this!!! Please tell me!!!

2008-04-12 Thread Tracy Spratt
First, please use descriptive subject lines in your posts. There is too much traffic on this list to read everything, and we choose what to read based on whether we think we can help with the problem expressed in the subject. Your problem is almost certainly a namespace issue. I have luckily

Re: [flexcoders] some one must know this!!! Please tell me!!!

2008-04-12 Thread Doug McCune
There is too much traffic on this list to read everything, and we choose what to read based on whether we think we can help with the problem expressed in the subject. * except for Tracy, who obviously reads every message, especially the ones with the most exclamation points in the subject.

RE: [flexcoders] some one must know this!!! Please tell me!!!

2008-04-12 Thread Tracy Spratt
Just trying to take the easy ones, to let the heavy hitters take the hard ones! Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Saturday, April 12, 2008 10:07 PM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] Re: Fb3 Help

2008-04-12 Thread Amy
--- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Thanks, Tom! as soon as Adobe's bug system will be back online I'll try to find it. In the mean time, you can set up various scopes for your searches, so for instance if you wanted to restrict it to all MX classes,

[flexcoders] Selecting item in comboBox drop down.

2008-04-12 Thread aceoohay
I am creating an enhanced ComboBox component. The feature I am currently adding is the ability to type the letters b, o, b and have it find bob in the dropdown. I have the code working reasonably well, in that it finds what I am looking for, and selects it. The problem I am having is that if

Re: [flexcoders] some one must know this!!! Please tell me!!!

2008-04-12 Thread Paul Hastings
Doug McCune wrote: I'm thinking about making a little flexcoders leader board to see who has answered the most questions on this list. I'm curious to see who would win between Tracy and Alex Harui. i think you maybe forgot matt the answering machine chotin before he fully went management ;-)

RE: [flexcoders] Selecting item in comboBox drop down.

2008-04-12 Thread Alex Harui
In theory, if you set selectedIndex, the dropdown should reflect that. Not sure how to wrote your code, but I would've subclassed List, and changed the dropdownFactory in the ComboBox. Keystrokes are forwarded to the List. From: flexcoders@yahoogroups.com

RE: [flexcoders] some one must know this!!! Please tell me!!!

2008-04-12 Thread Alex Harui
Someone counted last month. I'm due to pass Matt Chotin any day now, but Tracy is way far ahead. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Saturday, April 12, 2008 7:07 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] how do I know when a component is invisible

2008-04-12 Thread Alex Harui
There's no quick answer, you have to test each parent. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Rayles Sent: Saturday, April 12, 2008 10:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how do I know when a

RE: [flexcoders] Re: RadioButtonGroup numRadioButtons never changing

2008-04-12 Thread Alex Harui
After addChild and after you set any other props on it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Saturday, April 12, 2008 10:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: RadioButtonGroup

Re: [flexcoders] Soap and Dates - big problems! any soap+flex ninjas here can help?

2008-04-12 Thread Josh McDonald
How do I switch to E4X format results? I didn't know you could do that, agnabbit! How on earth did this pass QA, and is it fixed in 3? -J On Sat, Apr 12, 2008 at 4:18 AM, Douglas Knudsen [EMAIL PROTECTED] wrote: yeah, that section reads xsd:dateTime Date If no timezone

RE: [flexcoders] View stack not changing in display even though index changes (first time only)

2008-04-12 Thread Alex Harui
Sounds like timing. If you have a button you click to change it, will it change the first time? If so, a validateNow() before you change the value might help. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave_defusion Sent:

Re: [flexcoders] how do I know when a component is invisible

2008-04-12 Thread Doug McCune
Ugly way #1: Try adding a listener to SystemManager for the FlexEvent.SHOW and FlexEvent.HIDE event using the capture phase. Then when that comes in loop over all the children of the component that is being shown and do whatever it is you need to do when you find a certain component is being shown

Re: [flexcoders] how do I know when a component is invisible

2008-04-12 Thread Doug McCune
or if its parent's parent is not the current view in a viewstack I think when the selected child changes in a ViewStack the ViewStack sets the visible property of the old child to false, so checking visibility of parents would still work in that case (same with TabNav or Accordion). Doug On

RE: [flexcoders] how do I know when a component is invisible

2008-04-12 Thread Alex Harui
I was about to say that #1 and #2 could have serious performance implications. Visibility is changed at least once per UIComponent (they are invisible when created). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent:

RE: [flexcoders] some one must know this!!! Please tell me!!!

2008-04-12 Thread Alex Harui
As of early March: Tracy: 4095 Matt: 2838 Alex: 2747 Gordon: 2387 Tom Chiverton: 2090 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Saturday, April 12, 2008 7:34 PM To: flexcoders@yahoogroups.com Subject: RE:

[flexcoders] Re: Selecting item in comboBox drop down.

2008-04-12 Thread aceoohay
Alex: I extended ComboBox, the relavent code is below; override protected function focusOutHandler (event:FocusEvent):void { super.focusOutHandler(event); _typedText = ; }

Re: [flexcoders] how do I know when a component is invisible

2008-04-12 Thread Doug McCune
I did say ugly :P If you can rely on calling a method to check for visibility something like this in your custom component should work I'd think: public function isReallyVisible():Boolean { var isVisible:Boolean = visible; var parent:UIComponent = this.parent;

Re: [flexcoders] Re: Selecting item in comboBox drop down.

2008-04-12 Thread Doug McCune
Just to play devil's advocate, is there any reason you're not just using one of the auto complete components out there? There's an auto-complete text component in Yahoo's astra flex component set. There's also another auto-complete text box done by some adobe peeps (the link I found to adobe

[flexcoders] Re: some one must know this!!! Please tell me!!!

2008-04-12 Thread ben.clinkinbeard
Can someone figure out who has the highest message-per-thread average? I've got to be close to the top of that one. :) Ben --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: As of early March: Tracy: 4095 Matt: 2838 Alex: 2747 Gordon: 2387 Tom

Re: [flexcoders] Re: some one must know this!!! Please tell me!!!

2008-04-12 Thread Jamie S
What? You don't have enough work clinkinbeard? :) Jamie S On Sat, Apr 12, 2008 at 8:51 PM, ben.clinkinbeard [EMAIL PROTECTED] wrote: Can someone figure out who has the highest message-per-thread average? I've got to be close to the top of that one. :) Ben --- In

Re: [flexcoders] Storing object hierarchies in shared objects

2008-04-12 Thread Troy Gilbert
- When serializing an object to the SharedObject, is the whole object hierarchy traversed? For example, if I have a model that stores a ParentObject which has an array of ChildObjects, and I stick the ParentObject in the SharedObject, when I retrieve it will I get back the ParentObject