Re: [flexcoders] TileList and preloaders

2008-10-10 Thread Haykel BEN JEMIA
You could create two states for the component: loading and loaded. In the loading state, you show some progress component (preloader) and remove it in the loaded state. When you do the HTTPSService call, set the state to loading, when you get the result, save the number of images in a variable and

[flexcoders] Re: Best way to deliver data via Rails

2008-10-10 Thread gers32
Hi, I deliver data to my Flex front-end via RoR HttpService in XML form. I realize XML is not the most efficient, and considered using BlazeDS, but because I haven't yet encountered any performance problems, I'm sticking to XML to avoid any proprietary format, should I ever need to switch server

[flexcoders] Query regarding Chart Data Tips

2008-10-10 Thread chandy_1307
Hi folks, In a chart, when I do showAllDataTips = true, it plots the data tips of the charts with connecting lines. But these lines are unnecessarily long and at times the placing of the datapoint and the tip has a big distance even when the chart has very few data points. Can you tell me which

[flexcoders] Textarea link rollover event

2008-10-10 Thread Giro
I know that I can use a href='event:http://www.theriadeveloper.com'nice Flex blog!/a and detect this event on text area component. But I can do same with rollover on link? Giro.

Re: [flexcoders] Best way to deliver data via Rails

2008-10-10 Thread Weyert de Boer
You can consider using RubyAMF.

[flexcoders] Real canvas height and width

2008-10-10 Thread Giro
I can know the real height and width of a canvas components. I need to know real height and wind not only visible area, this need to include scrolled area. Thks. Grio.

Re: [flexcoders] Real canvas height and width

2008-10-10 Thread Michael Schmalle
Hi, When you explicitly set the width OR height of a component, the measure() method will not be called since you have already locked in the dimensions of the component canvas. Use this method instead v1.getExplicitOrMeasuredHeight() You will see it traces your set height. Now, take out the

[flexcoders] Re: Question about HTTPService and callbacks

2008-10-10 Thread markgoldin_2000
Anybody, please, any idea? --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: I am building a common library to shre it between diffrent projects. First of all it will be used for data access. I am using HTTPService for all my data needs. Data retrival is a

Re: [flexcoders] Flex, Coldfusion, Air

2008-10-10 Thread Tom Chiverton
On Friday 10 Oct 2008, stinasius wrote: hi guys need to be clear about something, if a have developed a large flex application with a coldfusion backend and database, can i turn it into an Air app for guys to download so that when they are on the web they can access data? Yes. -- Tom

Re: [flexcoders] AMFPHP tutorial

2008-10-10 Thread Flex Gangsta
Also try www.polygeek.com These are very easy to follow and makes amfphp really east to folow Sent from my iPhone On Oct 10, 2008, at 5:21 AM, yuku [EMAIL PROTECTED] wrote: Maybe you can try this: http://jonniespratley.com/2008/09/19/flex-and-amfphp-mini-cookbook/ On Fri, Oct 10, 2008 at

Re: [flexcoders] Flex, Coldfusion, Air

2008-10-10 Thread Flex Gangsta
Yes it's super easy, you don't even really have to do anything with your app. But take advantage of the fact that you are using AIR and pick up the api. There many cool classes and features available in AIR that you won't find in Flex Sent from my iPhone On Oct 10, 2008, at 5:14 AM,

Re: [flexcoders] Flex 3 Layout of long form

2008-10-10 Thread Flex Gangsta
As far as the php goes... A good solution would be to use amfphp or some kind of remoting using RemoteObject. Simply great a method in your php and call it in your Flex app. To go even further you can create two identical classes, one in php and one in actionscript and have them become

[flexcoders] Re: DataGridHeader with TextInput : text values lost on scroll

2008-10-10 Thread Vijay Anand Mareddy
Hopeully these will help you arrive at the solution. 1. You need to override the measure and updateDisplayList function whenever u override the createChildren function. 2. I would just extend TextInput rather than AdvDataGridHeaderRender. 3. Note that data object in the HeaderRenderer is an

[flexcoders] Changing Tree Node Colour on MouseOver

2008-10-10 Thread selvant_2005
Hi, If i move the Mose over the Parent Tree Node then i want Yellow Coloue ,for SubNodes i want any other Colour (other than Yellow) If anyone Knows ,Please Tell Me Regards , T.Selvan

[flexcoders] Re: AdvancedDataGridHeaderRenderer loses focus on set dataProvider

2008-10-10 Thread Vijay Anand Mareddy
Dont think you should be setting the dataprovider for every key stroke instead Use a timer to see if user has finished typing (~2sec). http://www.adobe.com/cfusion/exchange/index.cfm? event=extensionDetailextid=1047291 --- In flexcoders@yahoogroups.com, Ryan Gravener [EMAIL PROTECTED] wrote:

[flexcoders] Mouse Move Issue in Tree Control

2008-10-10 Thread selvant_2005
Hi, When i Move the Mouse Over the Tree Nodes by Default that Blue Colour is Coming ,I dont Want that Colour, If anybody Know How to change the clour Plese Tell Me Regards , T.Selvan

[flexcoders] Re: Cairngorm AMFPHP Problem

2008-10-10 Thread creativepragmatic
I removed all arguments in the constructor and it worked! Thank you 'actionscript_czar'. I appreciate your help and I hope others benefit from it. Orville Can you either get rid of the arguments in the constructor or set defaults ( probably to empty strings )? --- In

[flexcoders] Screen freezes when running code in result callback function of HTTPService

2008-10-10 Thread johnsonpaul1014
A project I am working on is using HTTPService to retrieve a large XML data set, parse it using e4x and display the data in charts. Since it is taking quite a bit of time to process the data, I decided to add a progress bar. The problem is the screen is not refreshing until all the data has been

Re: [flexcoders] Re: Feeding complex XMLdata to charts: Flex3

2008-10-10 Thread john fisher
well it may be easier... but I liked the obvious page layout of the mx tags, separated from the AS code. No doubt I can still have what I want. My comment on the documentation is that as long as you are using very simple data, everything goes together smoothly, but as soon as I introduced real

[flexcoders] Re: Flex 3 Layout of long form

2008-10-10 Thread oneworld95
You might find the CForm component handy for complex Form layouts: http://flexed.wordpress.com/2008/01/02/component-cform-v10/ --- In flexcoders@yahoogroups.com, brucewhealton [EMAIL PROTECTED] wrote: Hello all, I could use some advice on a Flex design. I am needing to create a form, a rather

[flexcoders] AIR SQL Parameter substitution for multi value SELECT.... IN clause ?

2008-10-10 Thread Dhiraj Gupta
Hi, I'm trying to find a way to successfully do parameter substitution for a SELECT IN type of query for my AIR SQLITE database. I tried passing in an array and also tried passing in a quoted string neither worked. The exact query is: select * from updateitems where userurl=:userurl and

[flexcoders] Re: set height of a Container back to default? (resize to content)

2008-10-10 Thread Ryan
thanks, but I tried NaN and that doesn't work- throws an error. One hacky solution my co-worker came up with is to use a spacer inside the container and set the spacer's height when necessary. there should really be a way to remove the height property or set it back to auto. Anyone? Adobe?

[flexcoders] SWFLoader and the background color of the loaded SWF built by Flash authoring

2008-10-10 Thread Zhiqiang
Hi, I use SWFLoader to load a SWF built by Flash CS3, but the SWFLoader can not display the background color of the loaded SWF, why?

[flexcoders] Re: modal PopUp with one component, that should accept user interaction

2008-10-10 Thread Darrell Loverin
I may be misunderstanding your question but the third parameter of the PopUpManager.addPopUp() fucntion is a Boolean that controls whether the popup is modal or non-modal. -Darrell --- In flexcoders@yahoogroups.com, Christoph Leva [EMAIL PROTECTED] wrote: Hi all, I use the popUpManager

[flexcoders] AMFPHP tutorial

2008-10-10 Thread [EMAIL PROTECTED]
You can search on Google. http://www.sephiroth.it/tutorials.php http://www.flash-db.com/Tutorials/hello/flashamfphp.php --- In flexcoders@yahoogroups.com, hworke [EMAIL PROTECTED] wrote: Hello all, where can I find some good AMHPHP tutorials. I will prefer some video

[flexcoders] dynamic bindable objects and extending Proxy

2008-10-10 Thread Justin J. Moses
Who has experience extending Proxy? I have successfully created dynamic bindable objects by both extending Proxy and implementing EventDispatcher - this solution is available around town, and I'm sure you've seen it. However, if I use this dynamic object as a row in a dataProvider in a Datagrid

Re: [flexcoders] Re: Flex 3 Layout of long form

2008-10-10 Thread Howard Fore
That looks pretty cool! On Fri, Oct 10, 2008 at 8:55 AM, oneworld95 [EMAIL PROTECTED] wrote: You might find the CForm component handy for complex Form layouts: http://flexed.wordpress.com/2008/01/02/component-cform-v10/ -- Howard Fore, [EMAIL PROTECTED] The universe tends toward maximum

[flexcoders] Re: Flex, Coldfusion, Air

2008-10-10 Thread stinasius
so if the application is ported(if i may say) to AIR it reduces the time it takes for the application to open if it where just a flex app(as in flex apps need good bandwidth to open so if its ported to AIR that issue is solved right?)

RE: [flexcoders] Flex Builder 4?

2008-10-10 Thread Dimitrios Gianninas
No one from Adobe has said anything yet, but one must assume it will be out at the same time as Flex 4, which is most likely sometime in 2009. Dimitrios Gianninas RIA Developer Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: Flex, Coldfusion, Air

2008-10-10 Thread Battershall, Jeff
Of course, but once a flex app is downloaded to the client, it will not need to be downloaded again until some event (like clearing a browser cache, etc.) forces it to be downloaded again. Flex apps don't need good bandwidth to open, in fact, after initial download, they should perform the same

[flexcoders] Re: localize drag

2008-10-10 Thread flexaustin
Yeah I am currently using stopProp, but then that effects everything else like text fields, buttons, etc... which then cuts down the draggable area of the overall component to just a few places where there isn't a child component. I guess I will have to create some handle on the outside of the

RE: [flexcoders] Flex Builder 4?

2008-10-10 Thread Battershall, Jeff
I believe I saw H2 2009 somewhere for Flex 4, which I'm assuming means second-half of 2009. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Friday, October 10, 2008 9:09 AM To:

Re: [flexcoders] Mouse Move Issue in Tree Control

2008-10-10 Thread Flex Gangsta
You can change it by creating a CSS file for the tree control. Sent from my iPhone On Oct 10, 2008, at 4:47 AM, selvant_2005 [EMAIL PROTECTED] wrote: Hi, When i Move the Mouse Over the Tree Nodes by Default that Blue Colour is Coming ,I dont Want that Colour, If anybody Know How to change

Re: [flexcoders] Re: set height of a Container back to default? (resize to content)

2008-10-10 Thread Michael Schmalle
Hi, This is not right... throwing an error. Can you post the error? The hack your co-worker gave you is definitely unnecessary. Can you post some code that will reproduce what you are trying to achieve? Setting the container's height = NaN will force the container to ditch the last height

Re: [flexcoders] Changing Tree Node Colour on MouseOver

2008-10-10 Thread Howard Fore
Off the top of my head (i.e. without having actually done it) I'd use the events (maybe focusIn, focusout) to fire a function that changed the color or style on the text in the event's currentTarget. On Fri, Oct 10, 2008 at 7:22 AM, selvant_2005 [EMAIL PROTECTED]wrote: If i move the Mose over

Re: [flexcoders] Flex Builder 4?

2008-10-10 Thread Michael Schmalle
Adobe loves releasing things at the end of summer into fall. I would guess that. Mike 2008/10/10 Battershall, Jeff [EMAIL PROTECTED] I believe I saw H2 2009 somewhere for Flex 4, which I'm assuming means second-half of 2009. -Original Message- *From:* flexcoders@yahoogroups.com

[flexcoders] Interfaces WHY?

2008-10-10 Thread flexaustin
I was wondering if someone can explain why you would need an interface so short? INTERFACE: package my.package.area { /** * Interface for methods that evaluate an object and return a result. */ public interface IEval { /**

Re: [flexcoders] Screen freezes when running code in result callback function of HTTPService

2008-10-10 Thread Michael Schmalle
Hi, This is a single thread problem. The problem is you are parsing data that is taking that single thread the Flash Player uses to do all of it's work. The solution is to batch your xml parsing into a timer queue of sorts, dispatch an event to the progress bar updating the batch total to

AW: [flexcoders] Re: modal PopUp with one component, that should accept user interaction

2008-10-10 Thread Christoph Leva
Hi Darrell, thanks for the answer. I know that you use the third parameter to make it modal. What I want is, that the component, from where I create the popUp stays enabled. All the other components on stage should be disabled (like setting the third parameter to true). I am looking for an

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Flex Gangsta
Afaik interfaces give certain method signatures that must appear identical in the class that implements it. This is good for having hood organized code and multiple classes with sinmilar functionality. You can also do other things like like type an object to an interface. Sent from my

[flexcoders] Re: Best way to deliver data via Rails

2008-10-10 Thread valdhor
There is nothing inherently wrong with HTTPService. I find using AMF (RemoteObject) that my data is more structured. It is much quicker to debug problems of data going over the pipe with AMF. Also, I find the data size to be about one tenth of the size of XML (eg. One of my data calls was

[flexcoders] Re: Flex 3 Layout of long form

2008-10-10 Thread valdhor
In answer to your questions: 1. No. These are only used to make alignment easier. By adding TextInput, TextArea etc to a formItem, Flex makes everything line up nicely for you. If you just want to put a TextInput somewhere on a page, you can. 2. Nope - see 1 above. 3. Just put a Form and

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Michael Schmalle
Hi, It's ICommand. The reason is you can stack interfaces on top of each other allowing more decoupling to the implementing concrete classes. This interface is obvious. Any class that implements it needs eval() and only eval. It's like a singleton declaration of implementation. If you jammed

[flexcoders] Flex, Coldfusion, Air

2008-10-10 Thread stinasius
hi guys need to be clear about something, if a have developed a large flex application with a coldfusion backend and database, can i turn it into an Air app for guys to download so that when they are on the web they can access data?

[flexcoders] Re: modal PopUp with one component, that should accept user interaction

2008-10-10 Thread valdhor
Have you tried mx.core.Application.application.enabled = false? I'm fairly sure this does not affect popups. --- In flexcoders@yahoogroups.com, Christoph Leva [EMAIL PROTECTED] wrote: Hi Darrell, thanks for the answer. I know that you use the third parameter to make it modal. What I want

[flexcoders] Re: Flex, Coldfusion, Air

2008-10-10 Thread stinasius
yes but on a broadband 64kbps line shared by about 20 pcs, a flex app might fail or take a long time to download.

[flexcoders] Flex Builder 4?

2008-10-10 Thread oneworld95
How far away is Flex Builder 4 from release? I've downloaded the Gumbo SDK files from the Adobe OpenSource site but wondered when the next version of Flex Builder will be available. Thanks.

Re: [flexcoders] AMFPHP tutorial

2008-10-10 Thread yuku
Maybe you can try this: http://jonniespratley.com/2008/09/19/flex-and-amfphp-mini-cookbook/ On Fri, Oct 10, 2008 at 04:06, hworke [EMAIL PROTECTED] wrote: Hello all, where can I find some good AMHPHP tutorials. I will prefer some video tutorials. I tried on tv.adobe.com. But

Re: [flexcoders] Calculate a BPM Song by calculating interval between two clicks (TAP Button)

2008-10-10 Thread Howard Fore
I'd suggest trying a function that reads the bom off a keypress, space bar maybe, and see if the variation is as great. If so I'd say that it's a general flash player thing. On Fri, Oct 10, 2008 at 8:24 AM, Flap Flap [EMAIL PROTECTED]wrote: Hi there, I'm actually taking some personnal time

RE: [flexcoders] Re: Flex, Coldfusion, Air

2008-10-10 Thread Battershall, Jeff
Why would it 'fail'? - I'm not getting that. Like I said, it is basically a one-time hit, because the swf is going to be cached on the user's computer. It is certainly no more difficult than building and distributing an AIR app. Your use case for AIR should be based, IMO, on AIR's particular

AW: [flexcoders] Re: modal PopUp with one component, that should accept user interaction

2008-10-10 Thread Christoph Leva
Hi, do you mean to create the PopUp as non modal and after that do mx.core.Application.application.enabled = false? You are right, it doesn't affect the popup, but disables all other components. Think I confused you, here is an example: Lets say I have two Buttons (Btn A and B) on stage. Each

Re: [flexcoders] Calculate a BPM Song by calculating interval between two clicks (TAP Button)

2008-10-10 Thread Flap Flap
Thanks Hodward, You think that KeyEvent can be more accurate than click ? I will give a try. Thanks Benoit

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Richard Rodseth
And sometimes you even have interfaces with no methods. In this case it's a marker (often a parent of other interfaces) and when used in method signatures you get type checking. On Fri, Oct 10, 2008 at 6:26 AM, Michael Schmalle [EMAIL PROTECTED]wrote: Hi, It's ICommand. The reason is you

Re: [flexcoders] Calculate a BPM Song by calculating interval between two clicks (TAP Button)

2008-10-10 Thread Howard Fore
No, I don't know one way or another, just suggesting it as a test. On Fri, Oct 10, 2008 at 10:21 AM, Flap Flap [EMAIL PROTECTED]wrote: You think that KeyEvent can be more accurate than click ? I will give a try. -- Howard Fore, [EMAIL PROTECTED] The universe tends toward maximum irony.

Re: [flexcoders] Real canvas height and width

2008-10-10 Thread Emile Swain
I believe the measuredWidth and measuredHeight properties can help you here. On 10/10/2008 11:18, Giro [EMAIL PROTECTED] wrote: I can know the real height and width of a canvas components. I need to know real height and wind not only visible area, this need to include scrolled area.

Re: [flexcoders] Real canvas height and width

2008-10-10 Thread Emile Swain
I¹ve been having a similar issue, and I¹m not one hundred percent sure how to correct it. However you should try setting the creationPolicy to ³all². Other may also be able to help if you provide a snippet of your code as an example. On 10/10/2008 11:32, Giro [EMAIL PROTECTED] wrote:

Re: [flexcoders] Calculate a BPM Song by calculating interval between two clicks (TAP Button)

2008-10-10 Thread Flap Flap
Yeah thanks ;) Ok so I made the test and result are the same. I think I will keep all the interval to produce an average... Thanks

Re: [flexcoders] Calculate a BPM Song by calculating interval between two clicks (TAP Button)

2008-10-10 Thread Howard Fore
Yeah, if you don't need it to be perfect (you already had humen error to factor in), maybe you could just run long enough tests to figure out what the average off amount is and factor it in. Or maybe give the user the ability to bump it up or down in one or two BPM increments so they can match it

[flexcoders] Any working example on SQlite transaction in Async mode

2008-10-10 Thread George
Hi there, I check lots of documents and google examples on SQLite transaction, most of them in sync mode that not fit what we need exactly. What I need is during the transaction, I want to insert a list of items into a table. I reuse a single insert statement prepared. So what I did:

[flexcoders] Calculate a BPM Song by calculating interval between two clicks (TAP Button)

2008-10-10 Thread Flap Flap
Hi there, I'm actually taking some personnal time to work on a little project that unit two of my main occupations : Flex developpement and Mashup producing. In this AIR application I'll need a TAP Button. A TAP Button is a button that is clicking on rhytm to help find the BPM (Beats Per

Re: [flexcoders] flex library project compile errors ---bugs--- degrafa library project

2008-10-10 Thread Tom Chiverton
On Tuesday 07 Oct 2008, djhatrick wrote: Could not resolve degrafa:Circle to a component implementation. Meanwhile, other components in the name space work. Post Your Code. Does upgrading to 3.1 sdk fix compiler bugs like these? Why is it a compiler bug ? Does the class really not exist ?

[flexcoders] Masking Images?

2008-10-10 Thread tchredeemed
If I have a bunch of images that need to be color-coded for a given color, how would I do this? Let's say I have a grid with 8 images, and all 8 of them have portions that need to have a 'branded color,' but the branded color is different depending on the user, and the images are different

Re: [flexcoders] Flex 3 Layout of long form

2008-10-10 Thread Pedro Sena
Hi, I think that the best way to make a long form is structure it like a wizard. Like was said, divide it into logical groups and make it sequential, using tabs to group the logical groups would be nice too. Just my 2 cents. Regards, PS On Fri, Oct 10, 2008 at 8:54 AM, Howard Fore [EMAIL

[flexcoders] Re: Masking Images?

2008-10-10 Thread tchredeemed
--- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: If I have a bunch of images that need to be color-coded for a given color, how would I do this? Let's say I have a grid with 8 images, and all 8 of them have portions that need to have a 'branded color,' but the branded

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Ryan Gravener
Pseudo multiple inheritance. Ryan Gravener http://twitter.com/ryangravener On Fri, Oct 10, 2008 at 10:23 AM, Richard Rodseth [EMAIL PROTECTED]wrote: And sometimes you even have interfaces with no methods. In this case it's a marker (often a parent of other interfaces) and when used in

[flexcoders] How to have multiple view of same display object/ sprite?

2008-10-10 Thread yuku
Hi, Is it possible to have multiple view of the same display object? The sample code follows: var content: Sprite = new Sprite(); var v1: Sprite = new Sprite(); var v2: Sprite = new Sprite(); with(content.graphics) { lineStyle(2, 0xff);

[flexcoders] Flex 4 and Flex 3 mixable?

2008-10-10 Thread Weyert de Boer
Hello! I am currently working on a project where one third-party component is written for Flex 3. Only I am curious if it's possible to combine Flex 3 parts with Flex 4. Anyone know if this possible or having experience with this? Yours, Weyert de Boer

[flexcoders] Re: Interfaces WHY?

2008-10-10 Thread florian.salihovic
Polymorphism. --- In flexcoders@yahoogroups.com, Ryan Gravener [EMAIL PROTECTED] wrote: Pseudo multiple inheritance. Ryan Gravener http://twitter.com/ryangravener On Fri, Oct 10, 2008 at 10:23 AM, Richard Rodseth [EMAIL PROTECTED]wrote: And sometimes you even have interfaces with

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Richard Rodseth
Except that pseudo sounds disparaging, and I actually like an object model which has multiple inheritance of interfaces and single inheritance of implementations (same as Java, and maybe C# too?). Multiple inheritance of implementation results in ambiguity. Composition/delegation is a better

Re: [flexcoders] Real canvas height and width

2008-10-10 Thread Giro
But measuredWidth and measuredHeight return 0 for me. Giro. 2008/10/10 David Gironella [EMAIL PROTECTED]: But measuredWidth and measuredHeight return 0 for me. Giro. 2008/10/10 Emile Swain [EMAIL PROTECTED]: I believe the measuredWidth and measuredHeight properties can help you here.

Re: [flexcoders] Real canvas height and width

2008-10-10 Thread Giro
Easy example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function onClick(evt:MouseEvent):void { trace(Height: +v1.height);

Re: [flexcoders] Problem using SDK Version 3.1...

2008-10-10 Thread Maciek Sakrejda
My guess is that you have malformed (or at least questionably-formed) MXML somewhere (and Flex 3.0 was more lenient about it). Are you sure you don't have garbage at the beginning of some MXML file or something like that? Can you validate it through an external XML editor (sorry don't know any on

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Michael Schmalle
But in general I think implementation inheritance is over-used and multiple inheritance can get you into trouble. WORD! Especially in UIComponent designs, I would discourage the use of extends with interfaces. It's a lot easier if your class just implements what it needs and leave the

Re: [flexcoders] Flex 3 Layout of long form

2008-10-10 Thread Howard Fore
On Thu, Oct 9, 2008 at 11:46 PM, brucewhealton [EMAIL PROTECTED]wrote: So, I'm wondering about some other ways of wrapping and presenting all of this. 1) The form tag is required, is it not? And the FormItem tag? I know there are other layout options but there must be these tags, or am I

[flexcoders] Re: Problem using SDK Version 3.1...

2008-10-10 Thread oneworld95
Here's an online XML validation tool: http://www.hitsw.com/xml_utilites/ --- In flexcoders@yahoogroups.com, Rob Kunkle [EMAIL PROTECTED] wrote: When I switch from using SDK v3.0.3 to v3.1, I can't compile my projects. The following problem shows up for the project. Has anyone else come

Re: [flexcoders] Flex 4 and Flex 3 mixable?

2008-10-10 Thread Matt Chotin
We are trying to make it so that it won't take much work for something written against Flex 3 to work with Flex 4. But it's likely the component will need to be recompiled. Unfortunately the way AS is compiled and interpreted makes it hard to have individual components built with different

RE: [flexcoders] AMFPHP tutorial

2008-10-10 Thread Eric Fickes
If you can get it to load, here are video tutorials straight from the source http://www.amfphp.org/videotuts.html From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yuku Sent: Friday, October 10, 2008 6:22 AM To: flexcoders@yahoogroups.com

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Michael Schmalle
Hi, This works, I tested it; callLater(function (stack:ViewStack, container:Container):void { stack.selectedChild = container; }, [viewStack, someBox]); Mike On Fri, Oct 10, 2008 at 12:10 PM, Pan Troglodytes [EMAIL PROTECTED]wrote: Is there some way to use callLater to set a property that

RE: [flexcoders] (unknown)

2008-10-10 Thread Eric Fickes
This site should have all you need http://www.cairngormdocs.org/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anand Kumar Sent: Wednesday, October 01, 2008 9:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] (unknown) Hi,

[flexcoders] using callLater with setter?

2008-10-10 Thread Pan Troglodytes
Is there some way to use callLater to set a property that has a setter? So far, all I can think of is to create a dummy function that does the setting and pass it in the callLater: private function setSelectedChild(viewStack:ViewStack, newChild:Container):void { viewStack.selectedChild =

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Pan Troglodytes
Thanks Mike, but that's really what I was trying to avoid. That's the same as my example, only the function is anonymous instead. I thought maybe there was some way to get Flex to realize I wanted the setter function, not the property. On Fri, Oct 10, 2008 at 11:30 AM, Michael Schmalle [EMAIL

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Michael Schmalle
Yeah, I understand. The problem as you know is they use apply() so you need the real name of the setter when flex compiles it. I thought they uses 'setSelectedChild', I tried that and it was not defined. Maybe keep generated as could show something. Mike On Fri, Oct 10, 2008 at 12:47 PM, Pan

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Michael Schmalle
Ah never mind about the generated, just checked. I thought I saw somewhere, where a dev actually accessed the real method that the compiler creates. Mike PS The anonymous function isn't that bad since it doesn't pollute your classes api. On Fri, Oct 10, 2008 at 12:52 PM, Michael Schmalle [EMAIL

[flexcoders] Flex / Data / Create Application from Database - Can this also work as a module?

2008-10-10 Thread sailorsea21
Hi, I had a question, When I create an application from a Database (Flex / Data / Create Application from Database). Can I modify the code to convert it into a module? I have a main application that I would like to load the Database as a module. I tried replacing the mx:Application Tags to

RE: [flexcoders] Re: Question about HTTPService and callbacks

2008-10-10 Thread Tracy Spratt
I see a few ways to do this. The key to all of them is using AsyncToken. You could add a callback parameter to your components send() function. If you use a function, then you can place a callback function directly in the AsyncToken(Responder?) and have the result handler execute the

Re: [flexcoders] Re: Action script 3 JSON

2008-10-10 Thread GYANPRAKASH PANDEY
Dear kyle and Veldhor, Thanx alot for your valueable responses..i got my error. It was in my php code. thnx again regards, gyanprakash pandey --- On Wed, 8/10/08, valdhor [EMAIL PROTECTED] wrote: From: valdhor [EMAIL PROTECTED] Subject: [flexcoders] Re: Action script 3 JSON To:

[flexcoders] Re: Type Coercion error in a Popup module

2008-10-10 Thread hr1ny
Gregor, Thanks for your post. I agree with you that Alex's blog contains the relevant info. I did move the popup module's Event classes into the parent app, and the problem of Type Coercion goes away (though I'd rather find a solution that did not require this). But one other aspect of

RE: [flexcoders] Re: modal PopUp with one component, that should accept user interaction

2008-10-10 Thread Tracy Spratt
I think you will need to make your popup non-modal, then create mouse shields over the components that you want to protect. This is how modal popups work, by placing a transparent layer above the application. I have not done this but others have. Look into the code for modal popups.

[flexcoders] Re: Type Coercion error in a Popup module

2008-10-10 Thread hr1ny
Gregor, Thanks for your post. I agree with you that Alex's blog contains the relevant info. I did move the popup module's Event classes into the parent app, and the problem of Type Coercion goes away (though I'd rather find a solution that did not require this). But one other aspect of

[flexcoders] Re: Type Coercion error in a Popup module

2008-10-10 Thread actionscript_czar
Alex would probably be recommending extending TitleWindow in a way that allows you to use it as a top level module. See this: http://blogs.adobe.com/aharui/2007/08/ popup_dialogs_as_modules.html --- In flexcoders@yahoogroups.com, hr1ny [EMAIL PROTECTED] wrote: Gregor, Thanks for your post. I

RE: [flexcoders] Flex 3 Layout of long form

2008-10-10 Thread Tracy Spratt
In fact, I avoid Form entirely. I find it too restricting and without sufficient advantage. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore Sent: Friday, October 10, 2008 7:54 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Create Help System in Flex - how to display html in a canvas or component?

2008-10-10 Thread Tracy Spratt
Displaying full html in Flex (Flash Player) is not yet possible. What are your requirements? The simplest solution is to use a separate browser to display the html help pages. The Flex side needs to know where in the app the user is, and be able to determine the url to display. Using

[flexcoders] Re: AdvancedDataGridColumn sorting lost when i set my own HeaderRenderer

2008-10-10 Thread Vijay Anand Mareddy
Never mind i figured out the answer...i extend the AdvancedDataGridHeaderRenderer public class MyAdvancedDataGridHeaderRenderer extends AdvancedDataGridHeaderRenderer{ [Embed(source=common/assets/icon_filter_16.jpg)] [Bindable]private var

RE: [flexcoders] Re: ComboBox edit field selection when populated

2008-10-10 Thread Tracy Spratt
Maybe someone who has actually done this will be more help, but I suspect that your could use the selection manager and or property to manipulate the text selection and cursor position. Finding the best event to handle this might be tricky. I would expect there to be a way to

Re: [flexcoders] Flex / Data / Create Application from Database - Can this also work as a module?

2008-10-10 Thread Flex Gangsta
You could probably just wrap all the children of the mxml file(not application) in a mxml component. If I understood you correctly, this is the structure you wanted to achieve. Sent from my iPhone On Oct 10, 2008, at 8:41 AM, sailorsea21 [EMAIL PROTECTED] wrote: Hi, I had a question,

RE: [flexcoders] I want to access the HttpFlexSession from within a .mxml

2008-10-10 Thread Tracy Spratt
Why does the quantity of data you need to send dictate that you need the session variable? What would you do with this value if you had it in Flex? What exactly are you trying to do? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Re: Type Coercion error in a Popup module

2008-10-10 Thread hr1ny
Thanks! That is just what I needed. --Henry --- In flexcoders@yahoogroups.com, actionscript_czar [EMAIL PROTECTED] wrote: Alex would probably be recommending extending TitleWindow in a way that allows you to use it as a top level module. See this: http://blogs.adobe.com/aharui/2007/08/

RE: [flexcoders] How can the tooltip access the component that is responsible for making it appea

2008-10-10 Thread Tracy Spratt
What about parent, or parentDocument. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Sent: Thursday, October 09, 2008 9:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can the tooltip access the component

RE: [flexcoders] Dinamically creating a datagrid from an arraycollection

2008-10-10 Thread Tracy Spratt
You can get the column info by for in looping over one of the item objects in the AC. Like getItemAt(0) . for (var sName:String in oItem) { sDataField = s; } Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of parreira_r

[flexcoders] transform()

2008-10-10 Thread tchredeemed
Hey, I need some help understanding the bitmapdata.transform() method. the bitmapdata has this color 0x00ffe4 and I need to replace that with 0xff. How would I go about doing this?

  1   2   >