[flexcoders] Problem in Flash Player 10

2008-11-06 Thread akila_ksri
Hi, It looks like there are some security restrictions that have been added to Flash Player 10 which does not support file download which works without any issues in Flash Player 9. This Error #2176 occurs in Flash Player 10 (the latest version released by Adobe). Any workaround for this

Re: [flexcoders] hi! this examples didn't work out,please help

2008-11-06 Thread Tom Chiverton
On Wednesday 05 Nov 2008, Gordon Smith wrote: Declaring public var myFirstProperty:String; is equivalent to declaring public var myFirstProperty:String = null; Yup, but certainly for ArrayCollection, if you create it null rather than empty, it breaks. So it's a good habit to get.

Re: [flexcoders] Problem in Flash Player 10

2008-11-06 Thread Tom Chiverton
On Thursday 06 Nov 2008, akila_ksri wrote: It looks like there are some security restrictions that have been added to Flash Player 10 Yes. There's a big document about it on the Adobe web site. -- Tom Chiverton Helping to revolutionarily strategize sticky fourth-generation metrics

[flexcoders] Re: IFrame: open new browser window from

2008-11-06 Thread markgoldin_2000
Anyone please help. I am working on a new company portal. It is a very big project. It will combine Flex interfaces for user interaction with data, and, for reporting I am using iFRame to run SQL reports in. Everything works like a charm except that I cannot open links from reports. The command

Re: [flexcoders] Re: format code in FB3

2008-11-06 Thread Tom Chiverton
On Wednesday 05 Nov 2008, erdal wrote: How can we convince Adobe ;-) that Code Formatting is an important piece missing in FB ? Vote for the bug on Jira. -- Tom Chiverton Helping to continuously administrate sticky eligible leading-edge customers

[flexcoders] Re: Module initialisation

2008-11-06 Thread Gus
Hi Guy, if you are using the ModuleManager to get the Module you have to create the instance and add it to the application in the Module.Ready... something like this: private function onModuleReady(event:ModuleEvent):void { var child:DisplayObject = event.module.factory.create() as

Re: [flexcoders] Re: Get id of dynamic validator

2008-11-06 Thread Fotis Chatzinikos
Hi timgerr, try the following: var globalValidators:Object = new Object() ; inside the dynamically validators function do the following: globalValidators[validatorID_ + formItem[0].id] = validateString ; now when you need the validator (and you know the component (and its id) you can get the

[flexcoders] Text multi-wrapping bugs

2008-11-06 Thread christiancrisologo
Hi everybody, any solution for text that is not auto-wrapping with data-driven text. I have application the data is coming from a dataBase when it load the text in the textBox is not auto-wrapping its just truncating. thanks for any help, Christian

[flexcoders] Re: Using an IFrame in an MDIWindow

2008-11-06 Thread lynnkuh
Brendan, I see what you mean now. No, I don't have that. Do I need to update the display list and get the width and height and of the MDIWindow? Something else? Thanks, Lynn --- In flexcoders@yahoogroups.com, lynnkuh [EMAIL PROTECTED] wrote: I also have an IFrame.js class I call in the

Re: [flexcoders] Cairngen UM Extensions on Vista

2008-11-06 Thread Jake Churchill
To create event/command sequences Tom Chiverton wrote: On Wednesday 05 Nov 2008, Jake Churchill wrote: I'm using the Cairngorm-2.2.1-Extensions-r76.swc and using the build.xml ant scripts in cairngenum. If you have the .swc, why are you trying to run their ant task anyway ?

[flexcoders] BlazeDS - Best practice for determining if server session is invalid.

2008-11-06 Thread rydellfinn
Currently I am running BlazeDS on Tomcat, and I have a flex client that is authenticating against a set of Remote Objects using channelset.login(). As expected, if I walk away from the client for 30 minutes, the Tomcat server invalidates the session, which of course effectively logs out the

Re: [flexcoders] Cairngen UM Extensions on Vista

2008-11-06 Thread Tom Chiverton
On Thursday 06 Nov 2008, Jake Churchill wrote: To create event/command sequences Why does this mean running their ant task ? -- Tom Chiverton Helping to evangelistically fashion scalable appliances This email is sent for and on behalf of

[flexcoders] sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread sailorsea21
Hi everyone, I have the following timer: private function initTimer():void { var myTimer:Timer = new Timer(3); myTimer.addEventListener(TimerEvent.TIMER, updateData); myTimer.start(); } How can I stop the following timer? Can it be stopped using another function? Thanks. -David

Re: [flexcoders] Cairngen UM Extensions on Vista

2008-11-06 Thread Jake Churchill
If there's another way, let me know. I'm not familiar enough with cairngen or cairngenum to know another way around it without using the ant tasks Tom Chiverton wrote: On Thursday 06 Nov 2008, Jake Churchill wrote: To create event/command sequences Why does this mean running their

[flexcoders] Re: SetFocus on page load urgent

2008-11-06 Thread valdhor
This problem is due to the browser having focus. You need to have the user give focus to the Flash Player Plug-in (For example, with a click somewhere). There is a bug filed in Jira. You can vote for it to be fixed at https://bugs.adobe.com/jira/browse/FP-879 --- In flexcoders@yahoogroups.com,

RE: [flexcoders] sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread Gregor Kiddie
The target property in the TimerEvent when it fires contains a reference to the Timer Object that you can use to stop the Timer. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number:

Re: [flexcoders] Does UIComponent.measureHTMLText(htmlText) method takes TextFormat.blockIndent value into the account when calculating width value of TextLineMetrics object?

2008-11-06 Thread Andriy Panas
Hi Gordon, I've found the submission patch at Adobe JIRA bug-base you've been referring in a previous message: http://bugs.adobe.com/jira/browse/SDK-16641 While I fully welcome this fix, it does not suit my needs precisely. I've studied source code of mx:Text private function

[flexcoders] Summary without grouping

2008-11-06 Thread Stanislav Aytuganov
I intend to use SummaryRow for all data in ADG without grouping. Does anybody knows if its possible That's my code var mygroup:GroupingCollection=new GroupingCollection(); mygroup.source = dg.dataProvider; var group:Grouping = new Grouping(); var

Re: [flexcoders] Cairngen UM Extensions on Vista

2008-11-06 Thread Tom Chiverton
On Thursday 06 Nov 2008, Jake Churchill wrote: If there's another way, let me know. I'm not familiar enough with cairngen or cairngenum to know another way around it without using the ant tasks EventGenerator, iirc, but I've not read their docs either. -- Tom Chiverton Helping to

[flexcoders] Re: Custom combobox even propagation

2008-11-06 Thread valdhor
I have no idea about your specific problem but I do have an idea. Instead of a ComboBox, you may like to use an AutoComplete Input: http://www.websector.de/blog/2008/04/30/quick-tip-avoid-issues-using-adobes-autocomplete-input-component-using-flex-3/ --- In flexcoders@yahoogroups.com,

Re: [flexcoders] IFrame: open new browser window from

2008-11-06 Thread Tom Chiverton
On Wednesday 05 Nov 2008, markgoldin_2000 wrote: Can someone help, please? What debugging have you done so far ? -- Tom Chiverton Helping to advantageously orchestrate customized fine-grained corporate networks This email is sent for

Re: [flexcoders] Remote Debugging Air Application with FlexBuilder?

2008-11-06 Thread Tom Chiverton
On Wednesday 05 Nov 2008, Scott Delap wrote: In Java you can startup an application in debug mode and then connect to it. I need to do the same for FlexBuilder. I have an external process that startups up an Air application (it has to do this for a number of reasons that I won't go into). I

[flexcoders] problem in Import Web Service feature

2008-11-06 Thread modipranav
Hello, ive been trying to use a web service provided by my company in my flex application. i click on the 'import web service' option , and give the URL at which the WSDL is available. but gives an error- 'Unable to load the wsdl. Specify another URl' This is probably because the WSDL doc is

[flexcoders] Re: sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread sailorsea21
Is the reference global? My reference myTimer cannot be access from another function... Can you clarify? Thanks. --- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED] wrote: The target property in the TimerEvent when it fires contains a reference to the Timer Object that you

[flexcoders] Flex Application Memory Footprint

2008-11-06 Thread Nirav Gosalia
Hi, We are developing a CRM application using Flex. The SWF size is 1.5 MB. The application has around 15 tabs. When all the tabs are visited once the application shows a memory foot print of 400 MB in the windows task manager. I used flex profiler but there is no memory leak. I was

Re: [flexcoders] problem in Import Web Service feature

2008-11-06 Thread Tom Chiverton
On Thursday 06 Nov 2008, modipranav wrote: This is probably because the WSDL doc is password protected and i have to type my login and password to access it. Is there any other way to get the WSDL doc to the Flex Builder software? Can you download it, save a copy, and point Builder at that ?

[flexcoders] Re: Get id of dynamic validator

2008-11-06 Thread timgerr
Thanks all for the help, I now have a following question: 1. In this line of code globalValidators[validatorID_ + formItem[0].id] = validateString what is validateString? Thanks again, timgerr --- In flexcoders@yahoogroups.com, Fotis Chatzinikos [EMAIL PROTECTED] wrote: Hi timgerr, try the

RE: [flexcoders] Re: sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread Gregor Kiddie
You wrote private function initTimer():void { var myTimer:Timer = new Timer(3); myTimer.addEventListener(TimerEvent.TIMER, updateData); myTimer.start(); } the updateData function can then be private function updateData( event : TimerEvent ) : void { ( event.target as Timer

[flexcoders] Re: Get id of dynamic validator

2008-11-06 Thread timgerr
OK I get it now, I think. Thanks all. --- In flexcoders@yahoogroups.com, Fotis Chatzinikos [EMAIL PROTECTED] wrote: Hi timgerr, try the following: var globalValidators:Object = new Object() ; inside the dynamically validators function do the following: globalValidators[validatorID_

Re: [flexcoders] Text multi-wrapping bugs

2008-11-06 Thread Daniel Freiman
By textBox, which Class do you actually mean? TextField, UITextField, Label, TextInput, TextArea, etc? - Daniel Freiman On Thu, Nov 6, 2008 at 8:26 AM, christiancrisologo [EMAIL PROTECTED]wrote: Hi everybody, any solution for text that is not auto-wrapping with data-driven text. I have

[flexcoders] Re: Get id of dynamic validator

2008-11-06 Thread timgerr
No I am again lost. Sorry for the confusion, but I might need a code example, globalValidators[validatorID_ + formItem[0].id] = validateString ; What is an example of validateString . Thanks for the help, I am trying to learn a more advanced way to doing things. Thanks again, timgerr ---

Re: [flexcoders] Flex Application Memory Footprint

2008-11-06 Thread Tom Chiverton
On Thursday 06 Nov 2008, Nirav Gosalia wrote: I used flex profiler but there is no memory leak. I was wondering that how flex handles garbage collection because once the tabs are created they never seem to be releasing any memory. You mean when they aren't visible ? No, they stay drawn. Also

[flexcoders] how to improve performance in flex application

2008-11-06 Thread vivek_pandu001
hi, i have done one of the dashboard project in that i am using httpservice,here using only chart(columchart) but, in data i have large data ,that chat display time is 20 seconds ,how to decrease the time in my chat please help me thanks in advance

[flexcoders] Re: unable to bind to property 'width' on class 'Object'

2008-11-06 Thread Juan Carlos M.
I had to rewrite my mxml component as an actionscript component... although there are some warning: unable to bind to property 'width' on class 'Object' (class is not an IEventDispatcher) the component is shown on the screen... but there is a new issue... this piece of code that worked in the

[flexcoders] datetime axis and day light savings time

2008-11-06 Thread suri_boston
I am seeing a bug with datetime axis in line chart and day light savings time that came into effect on nov 2nd 2008. I provided dates as 10/31/2008,11/1/2008,11/2/2008,11/3/2008,11/4/2008 with some data to the respective dates. I got the line chart plotted as

RE: [flexcoders] Flex Application Memory Footprint

2008-11-06 Thread Dimitrios Gianninas
hi, when you go to a tab for the first time, it gets created along with all of its components and they will stay in memory so long as the app exists. If you are using creationPolicy=all on your TabNavigator, that is really bad, dont. That means all tabs are being created and maybe the user

Re: [flexcoders] Re: sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread Maciek Sakrejda
Just move it up to an instance variable. var myTimer:Timer; private function initTimer():void { myTimer = new Timer(parentApplication.valuesMilliseconds); myTimer.addEventListener(TimerEvent.TIMER, updateData); myTimer.start(); } private function updateData(event:TimerEvent):void {

[flexcoders] App background image size

2008-11-06 Thread oneworld95
Hi. Is there a way to have the background image of a Flex app to stay the same size regardless of the size of the browser window? Here's the CSS in the Flex 3 app, Application { background-image: Embed(global/media/flowers.png); } I have a datagrid that resizes itself as you page through it.

[flexcoders] Re: how to improve performance in flex application

2008-11-06 Thread Anthony DeBonis
Can you test the back end http service independent of Flex to see how fast it is... Make as many improvements you can, including server side caching if possible. Firebug plug to Firefox in can give you a quick view of how fast your data is returned and what size the payload is If the data

[flexcoders] Separating projects

2008-11-06 Thread Eduardo Souza
Hello Everyone, Now I've a trickly problem. My project will contain something like 150 cairngorm different services. I need to separate all of those services in different projects. We're a team of three developers and for each developer a project will be delegate. The question is: what is the

[flexcoders] Re: Charts

2008-11-06 Thread Anthony DeBonis
Go to: http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html Right Click View Source on the app Dirrect link is here http://examples.adobe.com/flex2/inproduct/sdk/dashboard/srcview/index.ht ml Check out RegionalDetail.mxml This should help

RE: [flexcoders] Re: format code in FB3

2008-11-06 Thread Randy Martin
As a side note, the code formatter is the Enterprise IDE plugin is adequate but still needs some work. I tried it on several mxml files, and it gets confused, especially on the ActionScript section of the file. For example, if you have code like this: private function

RE: [flexcoders] App background image size

2008-11-06 Thread Alex Harui
Try messing around with border.backgroundImageBounds From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oneworld95 Sent: Thursday, November 06, 2008 8:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] App background image size Hi. Is there a way to have the

RE: [flexcoders] Re: unable to bind to property 'width' on class 'Object'

2008-11-06 Thread Alex Harui
That probably means that some child object isn't created yet, although Binding usually ignores such errors. Might you be calling initialize() out of order? There is a recipe for creating components that we recommend you follow. It is written up in the documentation, but also recently in Flex

RE: [flexcoders] Text multi-wrapping bugs

2008-11-06 Thread Alex Harui
There might be flags that suppress wordwrapping, or you may need to use a different component. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of christiancrisologo Sent: Thursday, November 06, 2008 5:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Text

RE: [flexcoders] Re: Is it a bug while switching focus ?

2008-11-06 Thread Alex Harui
Please file a bug with a simplified test case. If it is that Alt-TAB is seen as TAB, you can block that event with a high priority capture phase listener on systemManager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of itdanny2002 Sent: Wednesday, November 05, 2008

RE: [flexcoders] how to remove all event listeners from flex application.

2008-11-06 Thread Alex Harui
No such method. Why do you need to do that? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jasbir_dadyal Sent: Thursday, November 06, 2008 2:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to remove all event listeners from flex application. Hi, In My

Re: [flexcoders] Objects are not Garbage Collected

2008-11-06 Thread Parjan Arjan
10X a lot now things are working fine . --- On Thu, 11/6/08, Fotis Chatzinikos [EMAIL PROTECTED] wrote: From: Fotis Chatzinikos [EMAIL PROTECTED] Subject: Re: [flexcoders] Objects are not Garbage Collected To: flexcoders@yahoogroups.com Date: Thursday, November 6, 2008, 12:03 AM very

[flexcoders] Multiple Endpoints wtih Video.attachNetStream()

2008-11-06 Thread ivanericksont8
Hi all, I've had this issue with a couple of projects now, and thought I'd throw it out there for workaround suggestions. It would be nice to be able to play back video on a NetStream in multiple Video instances. Pseudocode for the problem looks something like: var nc:NetConnection = new

[flexcoders] application

2008-11-06 Thread yugiflexdev
how we will put owr own name nx:somename instead of mx:application it do?

[flexcoders] Detecting a drag drop reorder on a List

2008-11-06 Thread ozziegt
I have a List control and which allows drag drop re-ordering. I need to detect when someone uses drag drop to re-order the list. Is there an easy way to do this? Right now this is my solution: 1) OnDragStart, store the a copy of the list data. 2) OnDragComplete, compare the stored copy to the

[flexcoders] Re: datetime axis and day light savings time

2008-11-06 Thread suri_boston
--- In flexcoders@yahoogroups.com, suri_boston [EMAIL PROTECTED] wrote: I am seeing a bug with datetime axis in line chart and day light savings time that came into effect on nov 2nd 2008. I provided dates as 10/31/2008,11/1/2008,11/2/2008,11/3/2008,11/4/2008 with some data to the

[flexcoders] Using XML Object passed from ASP.NET web service in a Flex Datagrid

2008-11-06 Thread duanstravels
Hey Guys I have literally been banging my head on this for the last three days. I have used flex in a previous project, and had enormous success with the great charts and presentation layer. I am now taking on a fairly ambitious new project and wanted to do things a different way, as it needs

[flexcoders] Re: IFrame: open new browser window from

2008-11-06 Thread markgoldin_2000
Well, I have run it in different browsers. Same. But just now I have published it to a web site and it is actually working. Having it not working from the Builder is not a big of a deal. I should have removed my cry baby message :) --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL

[flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread pbrendanc
I'd like to extract the list of emps from the following XML where name starts with 'Jo' (returns Jones, Johnson). In SQL I can use the expression 'where name like 'Jo%'. Anyone have examples of how this be done via an E4X expression (I could not find any examples of this in the docs). TIA,

[flexcoders] Re: unable to bind to property 'width' on class 'Object'

2008-11-06 Thread Juan Carlos M.
finally it worked using BindingUtils.bindProperty and rewriting some code related to [Bindable] get/set methods. It seems that the main error its due to this kind of binding: text={iMap.map.selectedLayer.label} In that case databinding is not handling gracefully the case when iMap is null.

[flexcoders] Get coordinates after using graphics.lineto()

2008-11-06 Thread pratikshah83
Hi Guys, I would like to know how to get the coordinates of current location after drawing graphics.lineto(). Thanks Pratik

Re: [flexcoders] Get coordinates after using graphics.lineto()

2008-11-06 Thread Fotis Chatzinikos
as far as i can remember the coordinate is the coordinate you used to your last call of lineTo... On Thu, Nov 6, 2008 at 9:17 PM, pratikshah83 [EMAIL PROTECTED] wrote: Hi Guys, I would like to know how to get the coordinates of current location after drawing graphics.lineto(). Thanks

[flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread pratikshah83
Yes you are correct it moves the current position to the last lineto coordinates, but I need to get the values of that coordinates as i need to store them and reuse it to draw a line from some other point to that stored point. Can you let me know how can i get the coordinates. Thanks Pratik

Re: [flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread Fotis Chatzinikos
i do not seem to get your point... quick example: x = 5 ; y = 5 ; lineTo(x,y) ; x y is now your last coordinate... On Thu, Nov 6, 2008 at 9:29 PM, pratikshah83 [EMAIL PROTECTED] wrote: Yes you are correct it moves the current position to the last lineto coordinates, but I need to get the

Re: [flexcoders] Expressions in attributes of literal XML

2008-11-06 Thread Keith
Yes we can :) Do the same with the brackets but leave off the quotes on your attributes. var lastname:String=hair; var result:XML = response value name={'keith '+lastname}{Math.random() }/value /response; -- Keith H -- www.keith-hair.net Richard Rodseth wrote: I'm finding it helpful

[flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread pratikshah83
I am using a itemrenderer for a bubble chart, instead of a bubble I would like to plot a line and connect all the lines to form a area, so I have a local coordinate, so x=5,y=5 are the local coordinates, I would like to know the actual coordinates wrt the complete chart this is what I am using

[flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread pratikshah83
Just to add to it I tried localtoglobal() but that too is not giving me the coordinates I am looking for. --- In flexcoders@yahoogroups.com, Fotis Chatzinikos [EMAIL PROTECTED] wrote: i do not seem to get your point... quick example: x = 5 ; y = 5 ; lineTo(x,y) ; x y is now your

[flexcoders] Re: Charts

2008-11-06 Thread Amy
--- In flexcoders@yahoogroups.com, Anthony DeBonis [EMAIL PROTECTED] wrote: Go to: http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html Right Click View Source on the app Dirrect link is here http://examples.adobe.com/flex2/inproduct/sdk/dashboard/srcview/index.ht

Re: [flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread Fotis Chatzinikos
no idea on itemrenderers on charts... I would implement my own chart probably extending UIComponent, or panel or whatever is nearer your needs... On Thu, Nov 6, 2008 at 9:51 PM, pratikshah83 [EMAIL PROTECTED] wrote: Just to add to it I tried localtoglobal() but that too is not giving me the

[flexcoders] Re: Using XML Object passed from ASP.NET web service in a Flex Datagrid

2008-11-06 Thread valdhor
Web Services actually adds another level of complexity over just using HTTPService and XML. If you have mastered the HTTPService/XML, I would recommend moving to a fully object oriented method of sending/receiving data/objects using AMF. Weborb (http://www.themidnightcoders.com/weborb) supports

[flexcoders] ArryCollection Columns.

2008-11-06 Thread Paul Kukiel
I wish to loop over an array collection and access all the elements (columns) so the arrayCollection looks like [1].columnOne [1].columnTwo [1].columnThree [2].columnOne [2].columnTwo [2].columnThree I need to loop over the rows and columns, but don't know the column names, any ideas. The

[flexcoders] Re: ArryCollection Columns.

2008-11-06 Thread valdhor
Are you working with multi-dimensional arrays or arrays of objects? If the former, see the docs: http://livedocs.adobe.com/flex/3/html/help.html?content=10_Lists_of_data_5.html#119820 --- In flexcoders@yahoogroups.com, Paul Kukiel [EMAIL PROTECTED] wrote: I wish to loop over an array

RE: [flexcoders] application

2008-11-06 Thread Alex Harui
xmlns:nx=... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yugiflexdev Sent: Thursday, November 06, 2008 9:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] application how we will put owr own name nx:somename instead of mx:application it do?

RE: [flexcoders] Re: ArryCollection Columns.

2008-11-06 Thread Paul Kukiel
No. It's a simple array collection. Ie a ColdFusion query being passed back to Flex. Eg Select firstName, lastName, age From person So in flex it's Ac[0].firstName = Paul ect But I don't know ac[0].columName so is there a way to

RE: [flexcoders] Re: Get id of dynamic validator

2008-11-06 Thread Ryan Graham
Another almost identical option to Fotis' is the Dictionary object. I like that it uses object references for look-up. A great way to manage run-time generated components... //true parameter is to use weak references in the dictionary, so you can throw objects away and still have them eligible

Re: [flexcoders] Re: ArryCollection Columns.

2008-11-06 Thread Jake Churchill
You might be able to use flash.utils.describeType() to get at the properties of the AC if you don't know them. Although, what I generally id convert the query to a structure in which case you would be able to return an array or structure key containing the columns. Paul Kukiel wrote: No.

[flexcoders] Re: IFrame: open new browser window from

2008-11-06 Thread lynnkuh
Can't an ExternalInterface be used to do that? I know there are examples of some on different websites. Lynn --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Well, I have run it in different browsers. Same. But just now I have published it to a web site and it is

[flexcoders] LinkBar Always On Top?

2008-11-06 Thread hammer995
I am trying to use a linkbar but in the middle of the page. I want the viewstack to change behind it but it seems that the viewstack images always get layered on top. I tried to use the DisplayObejectContainer to setChildIndex but it doesn't seem to be working. Anybody have a way to do it? I

[flexcoders] Reloading creation complete or another way...

2008-11-06 Thread wkolcz
I have a number of pop up windows that take passed ID's to grab information and display it. I am doing it through and initApp() in the creationComplete. However I notices that if you spawn another one, the initApp doesn't load since the component is already loaded into the system. Is there

RE: [flexcoders] Re: IFrame: open new browser window from

2008-11-06 Thread Ryan Graham
Whenever I've worked with mixing content like this, I find it helpful to point my Flex Builder project properties to put the output in a folder that is actually served by a local instance of a server. That way during debugging, you can get the page exactly as it would behave when in a similar

RE: [flexcoders] Re: ArryCollection Columns.

2008-11-06 Thread Paul Kukiel
I have been using describeType for VO's but for a simple query it isn't working. I'd really rather a generic solution where I don't have to do any tricks in CF. I'm sure I am just missing something. Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jake

Re: [flexcoders] Re: Module initialisation

2008-11-06 Thread Guy Morton
Thanks guys Is there an advantage to using ModuleManager over ModuleLoader? Guy On 07/11/2008, at 4:51 AM, Alex Harui wrote: If you’re using moduleLoader there will also be a READY event, and that will indicate that the child is instantiated, and later the child will dispatch an

[flexcoders] Re: IFrame: open new browser window from

2008-11-06 Thread markgoldin_2000
Aha, will do, thanks for the trick. --- In flexcoders@yahoogroups.com, Ryan Graham [EMAIL PROTECTED] wrote: Whenever I've worked with mixing content like this, I find it helpful to point my Flex Builder project properties to put the output in a folder that is actually served by a local

Re: [flexcoders] Re: ArryCollection Columns.

2008-11-06 Thread Fotis Chatzinikos
hello Paul, try the following: for (var key:String in object) { data = object[key] ; } where object is your arraycollection item ie ac[0] On Thu, Nov 6, 2008 at 10:49 PM, Paul Kukiel [EMAIL PROTECTED] wrote: I have been using describeType for VO's but for a simple query it isn't

[flexcoders] Re: LinkBar Always On Top?

2008-11-06 Thread hammer995
Answered my own question. private function linkBarToFront():void { var target:DisplayObject = mainPanel.getChildByName(linkbar); var imageIndex:Number = mainPanel.getChildIndex(target);

[flexcoders] Re: word highlighting

2008-11-06 Thread blc187
Does anybody know how to apply a similar style of text highlighting to a Text component? This example uses TextField and I'd like to be able to do a similar highlight effect without rewriting the Highlighter component from FlexLib. Initially tried setting the highlight in the htmlText but it

[flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread Tim Hoff
Probably localToContent() is more appropriate here; to get the point in relation to the chart. var x:Number = 5; var y:Number = 10; myDisplayObject.graphics.moveTo(0,0); myDisplayObject.graphics.lineTo(x,y); var myPoint:Point = new Point(x, y); myPoint =

Re: [flexcoders] Re: Get id of dynamic validator

2008-11-06 Thread Fotis Chatzinikos
timgerr, it in your own code...: var validateString:StringValidator = new StringValidator(); PS: Use Ryan's example (Dictionary) if you prefer objects instead of strings as your key in the dictionary or object variable On Thu, Nov 6, 2008 at 5:43 PM, timgerr [EMAIL PROTECTED] wrote:

RE: [flexcoders] Re: ArryCollection Columns.

2008-11-06 Thread Paul Kukiel
I swear I tried that earlier. Thanks for the bump to revisit this solution worked perfectly. J Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fotis Chatzinikos Sent: Thursday, 6 November 2008 4:12 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

RE: [flexcoders] Using XML Object passed from ASP.NET web service in a Flex Datagrid

2008-11-06 Thread Tracy Spratt
Set the resultFormat on the WebService or operation to e4x. Unless you do this Flex convert you xml to a stucture of nested dynamic objects. You almost never want this. Then in your handler, inspect your data: retData = event.result as XML; trace(retData.toXMLString()); //so yo can know

[flexcoders] Custom event - stop propagation

2008-11-06 Thread markgoldin_2000
I have two forms A and B that added to a container at run time. Both forms are adding same custom listener to the outer container. When form A dispetches that event form B also executes its custom event listener. How do I control that? My custom event class exctends Event. Thanks

[flexcoders] Resource Scheduling

2008-11-06 Thread Nicholas
Currently, there are people scheduling events for locations at the university where I work using an excel document. They have all of the locations listed down the side and all of the times listed across the top. They then just drag to highlight blocks of time, label them and color them. I need to

RE: [flexcoders] Using XML Object passed from ASP.NET web service in a Flex Datagrid

2008-11-06 Thread Tracy Spratt
But, valdhor is correct. Webservices are *more* messy than xml over http, since they wrap the content in all the SOAP stuff. The primary benefit of webservices are that anonymous third parties can read the wsdl and determine how to access the webservice. If your data service is not intended

RE: [flexcoders] Reloading creation complete or another way...

2008-11-06 Thread Tracy Spratt
Implement the public ID property using a setter function. Kick off your initialization from that setter. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wkolcz Sent: Thursday, November 06, 2008 3:32 PM To:

RE: [flexcoders] Re: Get id of dynamic validator

2008-11-06 Thread Tracy Spratt
I recall hearing that Dictionary is not a good choice *unless* you are using object references as keys. The associative array or hashmap is probably more efficient with string keys. I am prepared to be corrected. Tracy From:

RE: [flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread Ryan Graham
The child nodes can be accessed like properties. For a starts-with effect, you would use a similar expression that compares the what you want to search for with the equivalent substring of the name nodes in that list. You can get more complex and robust searches using string functions like

RE: [flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread Ryan Graham
Haha, looking at that, a more intuitive option would probably use the indexOf() function instead of substring, that way indexOf(input) == 0; //starts-with behavior indexOf(input) -1; //contains behavior HTH, Ryan From: flexcoders@yahoogroups.com

RE: [flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread Tracy Spratt
If you need complex calculations within an e4x expression, you can call out to a function of your own. The () just requires a boolean value, so you can do something like below, where I wanted to a bit of string manipulation within the expression: xlFilteredItems =

RE: [flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread Ryan Graham
Ah, like a true lambda expression -- good tip! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, November 06, 2008 3:46 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] E4X equivalent to SQL where

Re: [flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread Josh McDonald
It's a great syntax. The real question now becomes: When are we going to get to run .() on Array, Proxy, and IList? On Fri, Nov 7, 2008 at 8:32 AM, Ryan Graham [EMAIL PROTECTED] wrote: Ah, like a true lambda expression -- good tip! -- *From:*

RE: [flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread Ryan Graham
That would be a great feature. Maybe in FB4? The addition of typed collections through Vectors seems like it would allow this as well as: * the ability to have some good type code hinting while writing loops that iterate Vectors * standard aggregate functions like

Re: [flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread Josh McDonald
It can't be in 4 as it'd require an update to Player, and Fx4 is using Player 10. We definitely need some serious upgrades to AIR, and to AS3 / AVM for Player 11 (or a 9.5 if I had my way)... It's too damned close to awesome, but Silverlight 3 will become a big threat if the development

RE: [flexcoders] Re: Module initialisation

2008-11-06 Thread Alex Harui
Not if you're just loading a view of something. ModuleLoader just wraps up calls to ModuleManager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Thursday, November 06, 2008 12:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Module

[flexcoders] Re: Custom event - stop propagation

2008-11-06 Thread markgoldin_2000
I should clarify what's happening exactly. Both forms are identical. They are adding same custom event when they are added to container. First form dispatches custom event for the first time and everything is working fine. When second form is added to the container and it runs custom event it

  1   2   >