[flexcoders] Reg: Data Model

2008-08-21 Thread vidhuparthi
I want to wrap all the data from a form, from UI to server, so it cannot be sent as parameters when its a huge data. So what can be done to resolve this prob? can any data model can be used? I m using DAO and DTO in business layer. I am new to J2EE. Hope someone will help. Thanks in advance

[flexcoders] Tips to improve Eclipse's text editing capabilities?

2008-08-21 Thread Josh McDonald
Hey guys, As a Java programmer I'm an IntelliJ guy. As a text/xml/html editor, I'm a Textmate guy. I *loathe* the text editing in Eclipse. Here's what really annoys me, does anybody know the solutions to these? * When you do anything at all (search, look for a class with cmd-shift-t and then

[flexcoders] Skinning TitleWindow Question

2008-08-21 Thread Boon Chew
Hi, I am trying to skin TitleWindow so that the main content area uses gradient (like header and footer).  Also want the close button on the left instead of right.  What's the best way to go about this short of creating a custom container from scratch? - boon

[flexcoders] Re: FTP question

2008-08-21 Thread andrew_young.rm
Peace! Thanks... that's what I was looking for... so I'll concentrate on creating an AIR module instead :) thanks for your confirmation Sincerely, Andrew John Young --- In flexcoders@yahoogroups.com, Samuel Neff [EMAIL PROTECTED] wrote: Not possible in web hosted Flex. Even with FP10 which

Re: [flexcoders] Re: FTP question

2008-08-21 Thread Maximilian Nyman
It's true that you can't just read the file system of the client But that doesn't mean that you can't build a FTP client. You should still be able to use FileReference and binary sockets to create an upload only FTP client. /Max On Thu, Aug 21, 2008 at 5:41 PM, andrew_young.rm [EMAIL PROTECTED]

[flexcoders] Chart DataTip Issue

2008-08-21 Thread Kuldeep Atil
Hi Friends, Hope everyone is fine :) I have an issue with the chart data tip, when i rollover an item, the data tip is shown and when i roll out it disappears, now what i want is, it should appear on rollover and should not disappear on roll out rather it should disappear on clicking on the

[flexcoders] Set backgroundColor to RichTextEditor

2008-08-21 Thread kaushal_bshah
I have taken one RichTextEditor component, and there is one button to fill background of RichTextEditor's textArea, using following code mx:RichTextEditor id=rte x=218 y=10 title=Title/ mx:Button x=218 y=318 label=Set Background click=onRTE_Bg()/ private function onRTE_Bg():void{

[flexcoders] Help with Chart dataprovider

2008-08-21 Thread cox.blair
Hi, I've been trying to figure this out for a while now. I have a basic chart that I want to be able to select a different data source for each series. I have a test app where all I want to do is change the charts dataprovider via a combo box; mx:ComboBox id=choosekit x=10 y=23 width=210

[flexcoders] Re: getChildByName using it to get the value of a textbox

2008-08-21 Thread Jason B
Yes i tried that and while it loops it doesnt give KEY what i need example for (var key:String in dynamicallyCreatedComponents){ var t:TextInput = dynamicallyCreatedComponents[key] as TextInput; Alert.show(t.text); //produces error } --- In flexcoders@yahoogroups.com, Gordon Smith

RE: [flexcoders] May I save object to SQLite in AIR?

2008-08-21 Thread Jim Hayes
You should be able to do this, look into ByteArray's readObject and writeObject methods (and serialisation maybe) Reading and writing the bytearrays to/from sqlite uses the normal syntax, though you will have to use parameters (since concatenating a bytearray into a string query is a bit

[flexcoders] Newbie help, dealing with a design in illustrator

2008-08-21 Thread interz12
Hi, I'm relatively new to flex so bear with me. I am tasked with taking an application design done in Illustrator CS3 and getting it up and running in Flex 3. From what I can tell the illustrator design is just a bunch of layers, with images, text etc. It is not this vector/skin based thing that

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed: cannot convert ...

2008-08-21 Thread weezee49
I have 2 namespaces: mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:wsm=com.websim.components.* ... LG --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Any namespaces defined in the XML? From:

[flexcoders] Invitation to Flex Camp London 28/8/08

2008-08-21 Thread silvertongueyoung
Registration for Flex Camp London 08 is now open! www.flexcamp.co.uk Flex Camp London 08 is a FREE, community-run event for everyone interested in Adobe Flex! Whether you're just getting started with Flex or you're an expert, Flex Camp aims to provide something for you. We've lined up some of

[flexcoders] Looking for a 3d-photo-album component?

2008-08-21 Thread marcus.schiesser
Just finished one - and it's easy to use. Here's the whole story plus source: http://www.marcusschiesser.de/?p=67

[flexcoders] problem on using loaded font in Chinese in LinkBar

2008-08-21 Thread bsyyu
I encounter the problem on using swf Chinese font type with chinese charater in LinkBar with fontFamily. The font doesn't apply and just show the system font. However, it is OK, for 'English text' English font swf at same setting. I also test using Label or LinkButton, on using Chinese font type

[flexcoders] Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread bryancostanich
hi all, i have a class: public class RoundedRectangle extends UIComponent and i have the style definition: [Style(name=cornerRadius, type=uint, inherit=yes)], above it. then i've followed the docs to do the default style declaration: private static function classConstruct():Boolean

[flexcoders] add to list combobox

2008-08-21 Thread strykker75
I need to create a combobox that allows the user to type in a item that is not on the list, then adds it to the data provider. The user should be able to type into the combo box and, if what they type is not an item in the data provider, they should be asked if they would like to add the newly

Re: [flexcoders] Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread Michael Schmalle
Hi, Since the styleName of a skin gets set to it's parent, there is no need for inherit. change inherit=yes to inherit=no Mike On Thu, Aug 21, 2008 at 2:33 AM, bryancostanich [EMAIL PROTECTED]wrote: hi all, i have a class: public class RoundedRectangle extends UIComponent and i have

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed: cannot convert ...

2008-08-21 Thread Amy
--- In flexcoders@yahoogroups.com, weezee49 [EMAIL PROTECTED] wrote: I'm getting the dreaded Type Coercion error on this line: resourcesAC = event.result.resources.resource; resourcesAC is declared as follows: [Bindable] private var resourcesAC : ArrayCollection = new

[flexcoders] Get xml element name

2008-08-21 Thread markgoldin_2000
Is there a way to get an xml element name? schedule train 100 /train car 1 /car /schedule I want to know if an i element has a name car. Thanks

[flexcoders] XML Data - getting unique attributes

2008-08-21 Thread sdl1326
Hello All, I need to grab all unique attribute values in some xml data. Is there a quick and dirty way to do this? I could push to an array if the value doesn't already exist, however I did not know if there was a more efficient way to get these values. Example: data projects name=Project A /

Re: [flexcoders] Get xml element name

2008-08-21 Thread Guilherme Blanco
schedules[i].hasOwnProperty('car') []s, On Thu, Aug 21, 2008 at 11:05 AM, markgoldin_2000 [EMAIL PROTECTED] wrote: Is there a way to get an xml element name? schedule train 100 /train car 1 /car /schedule I want to know if an i element has a name car. Thanks -- Guilherme

[flexcoders] Re: May I save object to SQLite in AIR?

2008-08-21 Thread Jon Oxtoby
I don't believe you can store it as a native object but you could always serialize the object and store the string in the db, then deserialize it after you read it back. The corelib package contains a good JSON serializer you could use for this. Jon --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Re: May I save object to SQLite in AIR?

2008-08-21 Thread Johannes Nel
it does support the BLOB datatype if memory serves me, no need to use json On Thu, Aug 21, 2008 at 4:04 PM, Jon Oxtoby [EMAIL PROTECTED] wrote: I don't believe you can store it as a native object but you could always serialize the object and store the string in the db, then deserialize it

[flexcoders] Re: Skinning TitleWindow Question

2008-08-21 Thread Tim Hoff
Hi Boon, For moving the close button, you would have to extend TitleWindow and change the close button position. For the gradient, you can use a border skin or a background image for the content area. -TH --- In flexcoders@yahoogroups.com, Boon Chew [EMAIL PROTECTED] wrote: Hi, I am

[flexcoders] Remoteobject source in inetpub instead of Coldfusion8

2008-08-21 Thread mrazar6
right now my remote object source home is c:\coldfusion8\wwwroot so when i use mx:RemoteObject source=MySite.src.Functions id=SQLMngr showBusyCursor=true destination=ColdFusion my .cfc will need to be C:\ColdFusion8\wwwroot\MySite\src\Functions.cfc but i need to change the coldfusion

[flexcoders] Configuring columns in an AdvancedDataGrid programatically

2008-08-21 Thread Sebastien ARBOGAST
I'm trying to configure an AdvancedDataGrid so that grouped columns correspond to the following configuration: private var fieldCategories:Array = [ new FieldCategory(profils.identifier, [ new Field(profils.firstname, firstname, FieldType.STRING), new Field(profils.lastname, lastname,

[flexcoders] SDK 3.1 SOAP deserialization issue

2008-08-21 Thread jeff
Hello, I am seeing an issue introduced with SDK 3.1 where the SDK is not properly mapping XML schemas to AS classes. We use the SchemaTypeRegistry magic to have our AS classes instantiated based on the types contained in our SOAP response. We are seeing improper object creation, beginning in

RE: [flexcoders] can't make Zoom+Rotate work in Parallel

2008-08-21 Thread Keith Reinfeld
Jason, This is a common problem in Flash as well. The solution is to nest the object you want to scale within a parent object which you then rotate. Try this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] Specifying AxisLabel colors

2008-08-21 Thread kaleb_pederson
What is the best way to specify the color on an AxisLabel? I've been working with some charts recently and set the AxisLabel color by setting a labelRenderer on the AxisRenderer. My LabelRender then returns a mx.controls.Label that has the color set appropriately and the data function

RE: [flexcoders] XML Data - getting unique attributes

2008-08-21 Thread Kenneth Sutherland
You could do something like the following. Use a dictionary to store you're unique values. So iterate through your data and use the data as the key for the dictionary Var myDictionary : Dictionary = new Dictionary(); myDictionary[value] = value; //value would be whatever you are wishing to

Re: [flexcoders] Problems implementing tweening in FLEX

2008-08-21 Thread anuj sharma
Hi TIm Alex Thanks for your help. I will look at the pop up manager Tween in Flex. Thanks Anuj On Wed, Aug 20, 2008 at 9:47 PM, Alex Harui [EMAIL PROTECTED] wrote: Look at how Tweens are used in Flex source code. ComboBox and Menu probably -- *From:*

[flexcoders] Can ComboBox display an Image as its LabelField

2008-08-21 Thread kroghadam
Hi, I am trying to create a combo box that displays only images. I can get images being displayed in the drop down list. But when I select one of the images the selected label of the combo box is always text. labelField and labelFunction only display Strings. Is there anyway to display the

[flexcoders] Re: Looking for a 3d-photo-album component?

2008-08-21 Thread Amy
--- In flexcoders@yahoogroups.com, marcus.schiesser [EMAIL PROTECTED] wrote: Just finished one - and it's easy to use. Here's the whole story plus source: http://www.marcusschiesser.de/?p=67 Could you explain what I need to do to see the 3-D effect? I just see what looks like a bunch of

[flexcoders] How to determine object type

2008-08-21 Thread Dale Cook
Is there a simple way to use reflection to determine the type of an object. I would have thought that that Object would have a method called class (or something similar) that would return a string representation of the type of the class but that doesn't seem to be the case. Dale

[flexcoders] TextInput and TextArea ancestory

2008-08-21 Thread Dale Cook
I need to write a class that can contain either a TextArea or TextInput as one of it's private parameters. Essentially it's a composite component that can be either a TextInput or TextArea with some additional properties. My problem arises from the fact that the common ancestor to both of these

[flexcoders] Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
Does anyone have an example of using FlexUnit's addAsync() call with a service method that takes an IResponder, rather than firing events? Thanks.

RE: [flexcoders] TextInput and TextArea ancestory

2008-08-21 Thread Gordon Smith
There is no such interface. You can work around this by casting away the UIComponent type: var textThing:UIComponent; ... Object(textThing).text = Hello; If you don't want to defeat type-safety, you'll have to do if (textThing is TextInput) TextInput(textThing).text = Hello;

[flexcoders] Re: XML Data - getting unique attributes

2008-08-21 Thread gabriela.perry
Hi. Kenneth's post helped me understand a little more the Dictionary class... If I understood your approac, you mean that, if the value youre passing to the Dictionary instance is allready set, youre just going to re-set it. Inside a loop it would be myDict[ProjectA]=ProjectA Really clever... I

RE: [flexcoders] XML Data - getting unique attributes

2008-08-21 Thread Gordon Smith
I think you'll have to loop. But don't build up an Array... you'd have to search the Array every time to determine whether that value has already been added. You should use an Object or Dictionary as a set. Gordon Smith Adobe Flex SDK Team From:

[flexcoders] Re: How to determine object type

2008-08-21 Thread gabriela.perry
Hi. There are ways of doing this: theyre all inside the flash.util(s) package. For example: public function createInstance(className:String):TitleWindow{ var myClass:* = getDefinitionByName(className) ; var instance:* = new myClass();

RE: [flexcoders] Re: getChildByName using it to get the value of a textbox

2008-08-21 Thread Gordon Smith
So put in a trace(key) and see what 'key' is. That might make clear what you're doing wrong. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Thursday, August 21, 2008 5:35 AM To:

Re: [flexcoders] Can ComboBox display an Image as its LabelField

2008-08-21 Thread Sherif Abdou
Is there a way? Yes but the problem with the Combo Box if you check the source code is it uses a TextField to display it's stuff, so i am guessing you could extend it and just take out the TextField and replace it with a UIComponent - Original Message - From: kroghadam To:

RE: [flexcoders] Can ComboBox display an Image as its LabelField

2008-08-21 Thread Alex Harui
IconComboBox on my blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Thursday, August 21, 2008 10:25 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Can ComboBox display an Image as its LabelField

[flexcoders] Re: Newbie help, dealing with a design in illustrator

2008-08-21 Thread nathanpdaniel
Thought I'd give it a whirl since this is how I've had sites designed in the past. I used Fireworks CS3 - import the Illustrator design into Fireworks CS3, then you can Export MXML Images. It took a minimal amount of tweaking of the Images in Fireworks and removing the text portions (some

RE: [flexcoders] How to determine object type

2008-08-21 Thread Alex Harui
describeType, getQualifiedClassName From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Cook Sent: Thursday, August 21, 2008 9:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to determine object type Is there a

[flexcoders] Change dataProvider at runtime?

2008-08-21 Thread cox.blair
Does anyone have experience with changing a dataprovider at runtime? Scenerio: a grocery store Database has four tables, one for Produce, Dairy, Meat and Other. Each of the tables is a different arrayCollection/HTTPService I want to be able to have four comboboxes, each able to point to any of

RE: [flexcoders] add to list combobox

2008-08-21 Thread Alex Harui
Set editable=true. Later, if selectedIndex=-1, it is something not in the dataProvider and you can add it via dataProvider.addItem(). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of strykker75 Sent: Thursday, August 21, 2008 6:19 AM

RE: [flexcoders] problem on using loaded font in Chinese in LinkBar

2008-08-21 Thread Alex Harui
Buttons use bold by default so you may have to embed a bold font From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bsyyu Sent: Wednesday, August 20, 2008 9:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] problem on using loaded

RE: [flexcoders] Re: TypeError: Error #1034: Type Coercion failed: cannot convert ...

2008-08-21 Thread Alex Harui
In the XML, not the MXML. Your snippet just started with resources Usually, there's more before that. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of weezee49 Sent: Thursday, August 21, 2008 5:56 AM To: flexcoders@yahoogroups.com

[flexcoders] Very First Steps in Flex Reference Card

2008-08-21 Thread jilltomichdz
DZone has released an Adobe Flex Refcard which will help readers get started learning Flex. Firstly, it covers a simple Hello, World application which will help familiarize readers with the Flex Builder tool and programming model. Secondly, it goes into depth about how to connect Flex applications

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed: cannot convert ...

2008-08-21 Thread weezee49
The XML returned by http://localhost:3000/simulations/4/resources.xml is: ?xml version=1.0 encoding=UTF-8 ? - resources type=array - resource capacity type=integer1/capacity created_at type=datetime2008-08-21T17:22:46Z/created_at descThe grocery store server/desc id

[flexcoders] Re: Specifying AxisLabel colors

2008-08-21 Thread kaleb_pederson
So, after much digging through documentation, a co-worker found that there's a color property on the AxisRenderer (rather than the stroke that's used by the AxisRenderer) that affects the label's color. BTW, it would be very helpful if the documentation showed a picture of a customized graph

[flexcoders] Error styling datagrids

2008-08-21 Thread pixelgeek
I snagged some code online to help me in a project where I need to style the rows of a datagrid. The code creates an array of list items using the listItems property. Sadly this appears to only be a list of the items that are displayed on screen. Even sadder is that even though the code will

Re: [flexcoders] Re: Newbie help, dealing with a design in illustrator

2008-08-21 Thread Tom McNeer
You're raising a very complex question, since skinning can be complicated in Flex 3. I won't try to make any suggestions, because I'm not qualified. But I will point out that if your original design is in Illustrator, then it's likely that most of the elements *are* vector-based, since

[flexcoders] Re: Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread bryancostanich
thanks, that fixed the error. i figured i bolloxed something up. another question though, i'm setting the default as you can see, but in my updateDisplayList() i'm doing: this.graphics.beginFill(this._fillColor, this.alpha); this.graphics.drawRoundRect(0,0, this.width, this.height,

[flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Tim Hoff
Hi Richard, No, not using IResponder. But, you may be able to use the UM extensions for a callBack; instead of listening for an event. -TH --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: Does anyone have an example of using FlexUnit's addAsync() call with a

Re: [flexcoders] Re: Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread Michael Schmalle
Hi, If I'm not mistaken you need; - getStyleDeclaration(.styledRoundedRectangle) and StyleManager.setStyleDeclaration(.styledRoundedRectangle, styles, false); So the changes are, the DOT '.' means class selector. No DOT means type selecter IE ClassName. Also, since this is lazy initialize,

[flexcoders] Re: Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread bryancostanich
woo, good info. wish that was in the sdk docs. :( is there a better way to do this altogether? this seems kind of hacky. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, If I'm not mistaken you need; - getStyleDeclaration(.styledRoundedRectangle) and

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed: cannot convert ...

2008-08-21 Thread weezee49
Okay, I finally found a solution that works. I declare [Bindable] private var _rscAndNewXLC: XMLListCollection; Then my event handler looks like this: private function handleRscListResult(event:ResultEvent):void{ var resultXML : XML = XML(event.result); _rscAndNewXLC =

Re: [flexcoders] Re: Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread Michael Schmalle
Hi, Coming from a component developer myself, there is no easier way. :) You could create a theme but that is whacked since you would then need a compiler arg which is a pain. It's really not that bad, you are just doing the work that the compiler does when it encounters an mx:Style/ tag. It

[flexcoders] Re: Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread bryancostanich
gotcha, thanks again for the info. i feel like so much of this is tribal knowledge. is there a reference for the tags in the style declaration? e.g. format=Color, inherit=yes, etc? i'd love to know what all the formats are, what inherit REALLY means, etc. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Change dataProvider at runtime?

2008-08-21 Thread Amy
--- In flexcoders@yahoogroups.com, cox.blair [EMAIL PROTECTED] wrote: Does anyone have experience with changing a dataprovider at runtime? Scenerio: a grocery store Database has four tables, one for Produce, Dairy, Meat and Other. Each of the tables is a different

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
I did actually find some related blog entries, but they seemed to involve modifying FlexUnit sources. http://jharbs.com/blog/?p=96 Also, I'm not using Cairngorm, but my services (delegates in Cairngorm terminology, I guess) use IResponder-based signatures. - Richard On Thu, Aug 21, 2008 at

Re: [flexcoders] Re: Newbie help, dealing with a design in illustrator

2008-08-21 Thread Richard Rodseth
Also take a look at Degrafa. They have some examples based on exporting Illustrator paths as SVG. On Thu, Aug 21, 2008 at 11:06 AM, Tom McNeer [EMAIL PROTECTED] wrote: You're raising a very complex question, since skinning can be complicated in Flex 3. I won't try to make any suggestions,

Re: [flexcoders] Re: Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread Michael Schmalle
- tribal knowledge Well considering I have been making flex components for 3 years now, I would say it's just some experience with the framework. Search back in the archives of the flexcomponents list for this topic and you will see threads in there of me banging my head on the same issue. I

Re: [flexcoders] Re: Change dataProvider at runtime?

2008-08-21 Thread Blair Cox
Hi Amy, Well, I have complete control over the database. This where we might have a problem, it seemed at the time that creating a table with around 200 columns would be unreasonable. A table was created to handle each of the products. Each product has as many as 20-30 columns and for the most

RE: [flexcoders] Error styling datagrids

2008-08-21 Thread Alex Harui
No. DG is virtualized. Not all items have renderers. See the item renderers category on my blog for more info and maybe useful examples From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pixelgeek Sent: Thursday, August 21, 2008 10:57 AM

RE: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Alex Harui
There are other testing frameworks out there. I don't know how well they work. One new one I heard about is dpuint/fluint From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Thursday, August 21, 2008 11:41 AM To:

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
Thanks. I might check those out (experience reports welcome), but I just tried flex-mojos and it has flexunit integration all set up. On Thu, Aug 21, 2008 at 12:00 PM, Alex Harui [EMAIL PROTECTED] wrote: There are other testing frameworks out there. I don't know how well they work. One

[flexcoders] Chart items with zero value don't show

2008-08-21 Thread Amy
Is there any way to force a chart to show items where the value is exactly 0? Thanks; Amy

Re: [flexcoders] How to determine object type

2008-08-21 Thread Danny Gold
You did mention needing the classname as a String, but the 'is' keyword is always a good one ;-) On Thu, Aug 21, 2008 at 10:39 AM, Alex Harui [EMAIL PROTECTED] wrote: describeType, getQualifiedClassName -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Error styling datagrids

2008-08-21 Thread pixelgeek
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: No. DG is virtualized. Not all items have renderers. Well that explains it. I'll have a look at your blog and hopefully there will be a sample that makes this a bit easier to do. It seems that every time I turn around Flex

[flexcoders] Re: Error styling datagrids

2008-08-21 Thread Amy
--- In flexcoders@yahoogroups.com, pixelgeek [EMAIL PROTECTED] wrote: I snagged some code online to help me in a project where I need to style the rows of a datagrid. The code creates an array of list items using the listItems property. Sadly this appears to only be a list of the items

RE: [flexcoders] Intriguing AMFPHP sample

2008-08-21 Thread Kevin Aebig
If it's going to an Air application, than it can write the bytes temporarily, load the Movie and delete the temporary file. I did that years ago with C# and Flash and it worked really well. !k From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nik Derewianka Sent:

[flexcoders] DataGridColumn trouble...

2008-08-21 Thread Sefi Ninio
Hi. I have a DataGrid, and a few DataGridColumns in it. One of them has a labelFunction, that should return a value that depends on the values of two of the other columns. example: | name | start | end | diff | | xxx | 5 | 7 | 2| | yyy| 10| 100 | 90

[flexcoders] Context Menus on TextArea/TextField in AIR

2008-08-21 Thread Derrick Grigg
Hey everyone, I am pulling my hair out trying to get a custom context menu to work on a TextArea or TextField. In a normal Flex project, it's easy, create a new ContextMenu and assign it the TextArea, everything works fine. I take the exact same code, put it in an Air project and nothing, the

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Ralf Bokelberg
Say you are waiting for an object myDispatcher to dispatch an event myEvent. Then you call myDispatcher.addEventListener(myEvent, addAsync( handleSuccess, 1000 )); Inside handleSuccess you can assert as usually. If handleSuccess is not called within 1000 ms, the test fails. Cheers Ralf.

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
As I mentioned, the service (delegate) method I am calling has an IResponder callback - it doesn't dispatch events. On Thu, Aug 21, 2008 at 1:27 PM, Ralf Bokelberg [EMAIL PROTECTED]wrote: Say you are waiting for an object myDispatcher to dispatch an event myEvent. Then you call

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Johannes Nel
you can hack around it by pointing the the callback function to your unit test class and dispatching an event from there. On Thu, Aug 21, 2008 at 10:34 PM, Richard Rodseth [EMAIL PROTECTED]wrote: As I mentioned, the service (delegate) method I am calling has an IResponder callback - it

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
Good idea. Thanks. On Thu, Aug 21, 2008 at 1:38 PM, Johannes Nel [EMAIL PROTECTED]wrote: you can hack around it by pointing the the callback function to your unit test class and dispatching an event from there. On Thu, Aug 21, 2008 at 10:34 PM, Richard Rodseth [EMAIL PROTECTED]wrote: As

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Johannes Nel
i do think you should wrap your responder in another object, the advantage of this is that you can place your fault handler and data handler in the same place, but it does depend on your architecture. On Thu, Aug 21, 2008 at 10:40 PM, Richard Rodseth [EMAIL PROTECTED]wrote: Good idea. Thanks.

[flexcoders] Re: Declaration of style 'cornerRadius' conflicts with previous declaration

2008-08-21 Thread Amy
--- In flexcoders@yahoogroups.com, bryancostanich [EMAIL PROTECTED] wrote: gotcha, thanks again for the info. i feel like so much of this is tribal knowledge. is there a reference for the tags in the style declaration? e.g. format=Color, inherit=yes, etc? i'd love to know what all the

[flexcoders] Code Hints in Flex 4 Gumbo

2008-08-21 Thread Sherif Abdou
I am using the latest SDK (Gumbo), just wondering if there is a way to enable code hints as of yet, I know it's not even alpha yet so not a problem but just asking to see If i am doing something wrong For example when I do Rect I do not get any hints as to what properties are there so I have

[flexcoders] Template architecture

2008-08-21 Thread Richard Rodseth
I'm prototyping a system where a view is built dynamically from an XML description (converted to VOs). The description refers to a template (hard-coded in MXML). The dynamic view observes the description (which is a part of its model) , and creates a child (the template) and adds it as a child.

[flexcoders] re-throwing keystrokes to browser?

2008-08-21 Thread ibo
My flex is running on full screen mode on my browser. Problem is, if the focus is on the flex app, it wont respond to browser keystrokes like CTRL+T (new tab). I can catch the keycode by listening to keydown event but how do I send it to the browser? (prefrably cross-browser solution).

[flexcoders] Re: Change dataProvider at runtime?

2008-08-21 Thread Amy
--- In flexcoders@yahoogroups.com, Blair Cox [EMAIL PROTECTED] wrote: Hi Amy, Well, I have complete control over the database. This where we might have a problem, it seemed at the time that creating a table with around 200 columns would be unreasonable. A table was created to handle each

Re: [flexcoders] Code Hints in Flex 4 Gumbo

2008-08-21 Thread Vivian Richard
Hey Sherif is charting working with flex 4 sdk? I know that charting is not part of SDK but I guess charts might appear with water marks on them. On Thu, Aug 21, 2008 at 1:58 PM, Sherif Abdou [EMAIL PROTECTED] wrote: I am using the latest SDK (Gumbo), just wondering if there is a way

[flexcoders] XMLList to ArrayCollection

2008-08-21 Thread sdl1326
I am retrieving the following xml via httpsService with the result format being 'e4x'. projects project date=08/01/08 description=Development hours=4 user=AAQ3/project project date=08/01/08 description=Development hours=3 user=AAQ4/project project date=08/04/08

[flexcoders] Re: re-throwing keystrokes to browser?

2008-08-21 Thread sdl1326
Where exactly are you trying to trap the keys? Do you need to prevent the browser from performing some default function or do you need to prevent the Flex App from performing some function. --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , ibo [EMAIL PROTECTED] wrote: My flex

Re: [flexcoders] SDK 3.1 SOAP deserialization issue

2008-08-21 Thread Josh McDonald
I assume you mean 3.1 where you put 2.1 :) What exactly is happening in 3.1 that's not happening in 3.0? Without posting the real code where the VOs aren't what you've shown here it's kinda hard to help, so I've gotta ask more questions :) Also how are you invoking the service, and what code are

[flexcoders] Re: re-throwing keystrokes to browser?

2008-08-21 Thread sdl1326
To clarify my response. I have done some extensive key trapping in Flash/AS3 where I had to prevent default behaviors in the browser (i.e. F5, F1, etc). In some instances these keys would be required by the Flash App. so what I ended up doing was setting the focus constantly on the browser (via

[flexcoders] Re: FDS (or LCDS) and refreshFill() from Java

2008-08-21 Thread Geoffrey
I'm having the same issues that Dimitrios had below(changes to properties of items in managed collections not showing up). I was wondering if Jeff Vroom's advice is still the preferred method for LCDS2.6. quote To update those properties, you need to call dts.updateItem for each item where the

[flexcoders] creating component that has change event

2008-08-21 Thread grimmwerks
Hey all - I'm creating a searchBox component that's sort of like Safari's search (ie a button to delete the current text input) -- I'd like it to implement a change event for it in the larger app (ie change={fireStuff(event)} And I do have it dispatching an Event.CHANGE but it doesn't seem

Re: [flexcoders] Code Hints in Flex 4 Gumbo

2008-08-21 Thread Sherif Abdou
No Charts with this SDK. - Original Message - From: Vivian Richard To: flexcoders@yahoogroups.com Sent: Thursday, August 21, 2008 4:52 PM Subject: Re: [flexcoders] Code Hints in Flex 4 Gumbo Hey Sherif is charting working with flex 4 sdk? I know that charting is not

Re: [flexcoders] Re: re-throwing keystrokes to browser?

2008-08-21 Thread ibo
I want the browser to react on the CTRL-T (new tab). But since the focus is on the flash app, it doesnt do that. So I think I have to catch the keystroke from my flex app and tell the browser that the user wants a new tab. - Original Message From: sdl1326 [EMAIL PROTECTED] To:

[flexcoders] Styling renderers in a list?

2008-08-21 Thread Josh McDonald
Hey guys, This is probably an FAQ, but I can't seem to google up an answer. What's the good way to set style info on renderers inside a list? It's an mxml component using itemRenderer=className on the mx:List -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. ::

[flexcoders] Re: Normalize removing my data??? Is this a bug in Flex?

2008-08-21 Thread flexaustin
Sorry everyone I tried to delete this post but I guess it got through. The issue was the xml was being passed by reference so all my references were pointing to the same data source (xml). So if I change one it changes all. I had to copy it. Lesson here for everyone if you get frustrated go for

[flexcoders] Dictionary or Array or Linked list?

2008-08-21 Thread flexaustin
I was wondering if anyone has had to do something like this before? (FYI these are AS3 objects not mxml) I have a collection of MC's (which contain a title and two images). These MC's are created dynamically depending on data brough in via httpservice (xml). I was wondering how do I keep

[flexcoders] Re: Styling renderers in a list?

2008-08-21 Thread Amy
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hey guys, This is probably an FAQ, but I can't seem to google up an answer. What's the good way to set style info on renderers inside a list? It's an mxml component using itemRenderer=className on the mx:List If

  1   2   >