Re: [flexcoders] Re: Off-topicish - (probably stupid) regex question

2008-06-03 Thread Josh McDonald
You're right, that's exactly what I wanted, cheers. I always thought the shortest match for that would be fish if you didn't specify a ^ Lousy regexes :) Thanks! -Josh On Tue, Jun 3, 2008 at 5:52 PM, nkopcsek [EMAIL PROTECTED] wrote: I'm sure this will help you:

Re: [flexcoders] Off-topicish - (probably stupid) regex question

2008-06-03 Thread shaun
Oh yeh, your right.. This should work though i think. var r:RegExp = new RegExp(text, rexFlags); var result:Array; result = r.exec(s); result[0] = entire line. result[1] = first group.

Re: [flexcoders] Off-topicish - (probably stupid) regex question

2008-06-03 Thread Josh McDonald
I wasn't really right, but if i have red fish blue fish green fish yellow cat /.*fish/ will match red fish blue fish green fish when what I want is to match red or red fish if I can group around everything but fish. -J On Tue, Jun 3, 2008 at 5:09 PM, shaun [EMAIL PROTECTED] wrote: Oh

[flexcoders] Off-topicish - (probably stupid) regex question

2008-06-03 Thread Josh McDonald
Sorry for the OT post, just a quick question which must have an answer so simple I'm an idiot, but I just can't figure it out. Given an arbitrary string, how do I match every character until I reach a specific string? If I have: The quick brown fox jumps over the lazy dog How do I match

Re: [flexcoders] Off-topicish - (probably stupid) regex question

2008-06-03 Thread Josh McDonald
The first .* will include the entire line... I think the answer lies in (?!something) but I can't get it to work :S On Tue, Jun 3, 2008 at 4:25 PM, shaun [EMAIL PROTECTED] wrote: Hi G-funk, Josh McDonald wrote: Sorry for the OT post, just a quick question which must have an answer so

Re: [flexcoders] Re: BitmapData source for mx:Image

2008-06-03 Thread Josh McDonald
Try this: mx:Image width=176 height=144 id=imgDisplay scaleContent=true maintainAspectRatio=true maxWidth=176 maxHeight=144 mx:source display:Bitmap width={data.thumbBmpData.width} height={data.thumbBmpData.height} bitmapData={data.thumbBmpData}/ /mx:source /mx:Image Might fix it. But like I

[flexcoders] Re: BitmapData source for mx:Image

2008-06-03 Thread limhy0306
Hi, I would say the 2nd option - The Bitmap is growing out of the Image component. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Are you getting a layout change, or does the bitmap sort of just grow out of where the image component was like it's colouring

[flexcoders] Re: Off-topicish - (probably stupid) regex question

2008-06-03 Thread nkopcsek
I'm sure this will help you: http://exampledepot.com/egs/java.util.regex/Greedy.html If you want the shortest possible match you have to make the quantifier non-greedy by adding an ?, like: /.*?fish/g/

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-06-03 Thread Troy Gilbert
It sounds very heroic. I'll keep and eye out for further enlightenment. Is this forum a philosophical debate or a support list for a technology? Come on, Paul... bothered by Scott's presence? Come on, we're writing webapps, not planning federal monetary policy or surgical regimens. There are no

RE: [flexcoders] GroupingCollection with good performance

2008-06-03 Thread Gregor Kiddie
Does it still suffer from the same problem as the original Grouping / Hierarchical Data Collection? Namely, it blows up when the collection has a null in it? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street,

Re: [flexcoders] Off-topicish - (probably stupid) regex question

2008-06-03 Thread shaun
Hi G-funk, Josh McDonald wrote: Sorry for the OT post, just a quick question which must have an answer so simple I'm an idiot, but I just can't figure it out. Given an arbitrary string, how do I match every character until I reach a specific string? If I have: The quick brown fox jumps

[flexcoders] Re: SWC Encrypt 2.0 - Does it work?

2008-06-03 Thread Cato Paus
Hi Mister I have tested both the swc and swf encrypt, and I have hell of a big project running the Flex RSL and Flex Data Services, and lots of remoteobjects, And I have no problems with the swc 2.0 and swf 5.0 --- In flexcoders@yahoogroups.com, jmfillman [EMAIL PROTECTED] wrote: Has anyone

Re: [flexcoders] Run-time debugging

2008-06-03 Thread Tom Chiverton
On Monday 02 Jun 2008, markgoldin_2000 wrote: Sometimes, when I run my program I am getting a run-time error shown in the popup window. Is it possible to open that window with some debugging info while the program is runing? No, but you can vote for https://bugs.adobe.com/jira/browse/FB-7989

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-06-03 Thread Paul Andrews
Troy, it's never been about stifling Flex users from knowing about or integrating silverlight. I've got the message I'm drumming to a different beat.. Paul - Original Message - From: Troy Gilbert [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, June 03, 2008 9:29 AM

[flexcoders] Flex Kiosk Development

2008-06-03 Thread Michael Trim
Hi Flexcoders, I hope this is sufficently on topic. Does anyone on the list have any experience of using Flex for Kiosk Development? I am interested in evidence (even anecdotal) for or against using the Flex Framework / UI Components and Cairngorm for applications that must remain stable for

[flexcoders] Re: Questions regarding updating dataProviders after a drag drop

2008-06-03 Thread bredwards358
Ok, going with the idea of creating a class called Product, since it seems to be referencing the first index of the draggedItems array, would this be an object type class? Or an array since we're adding to the dataProvider which is an arrayCollection? --- In flexcoders@yahoogroups.com, Alex Harui

Re: [flexcoders] Flex Kiosk Development

2008-06-03 Thread Jon Bradley
On Jun 3, 2008, at 6:55 AM, Michael Trim wrote: I am interested in evidence (even anecdotal) for or against using the Flex Framework / UI Components and Cairngorm for applications that must remain stable for long periods of time under heavy, sustained use. This isn't a Flex specific

[flexcoders] Re: Flex Kiosk Development

2008-06-03 Thread Michael Trim
This isn't a Flex specific question, unless you are concerned about bugs or memory leaks in the framework itself. Hi Jon, Well, yes I was. I've had a lot of experience using AS2 3 for development on kiosk and web but have only recently begun developing in flex (for the web). I very much

[flexcoders] Re: Memory leaks in a asyncronic operation

2008-06-03 Thread cavi21
Hello Alex, thanks for your reply, I've been using it, and the only thing that i found is an instance of BitString defined in the custom class i'm using to encode , that is not leave memory after the method that create it ended. On the other hand, if i use the native class, this instance

[flexcoders] Re: Memory leaks in a asyncronic operation

2008-06-03 Thread cavi21
Hello Alex, thanks for your reply, I've been using it to find the problem and the only thing that i find is that an instace of a BitString declare in my custom encode Class is not leaving the memory. Once I ended the methot that created and instance keeps in memory. Is there a manual of how

[flexcoders] Getting PropertyChangeEvent to work properly

2008-06-03 Thread superbokbok
I'm building a simple app and trying to get the PropertyChangeEvent to work properly as an alternative to using an explicit eventDispatch call. I can't seem to get the updated variable to be recognized by the main apps component. In my AS3 class I have set the class to [Bindable] so that all the

Re: [flexcoders] Flex 3 - Help sorting formatted data in datagrid

2008-06-03 Thread Kevin Ford
I knew it was going to be something simple! That worked! I had actually included the dataField in my code earlier and later removed it when I saw that the values displayed whether dataField was there or not (because of the item renderers). It didn't occur to me that Flex would be using the

[flexcoders] Need help on integrating struts + flex using Web Service

2008-06-03 Thread yms0411
http://www.adobe.com/devnet/flex/articles/struts_05.html After following up on the above article, we have tried to migate our current Struts + JSP solution to using Spring + Flex While trying to use Web Service, how do you set the ActionForm object in Flex where Service takes this as a

Re: [flexcoders] Re: What next after getting FLEX ?

2008-06-03 Thread Andrew Close
On Mon, Jun 2, 2008 at 8:35 PM, itdanny2002 [EMAIL PROTECTED] wrote: Hi valdhor [EMAIL PROTECTED] Your information is very useful ! Thank you very much. At first, I wanna to start on SilverLight. Eventually, FLEX is my choice since the community is so helpful with solid experience ! why

[flexcoders] Re: Not sure what to do here...

2008-06-03 Thread valdhor
ASo all you want to do is remove the busy cursor (There is nothing you can do about the Transfering data from... in the status bar) import mx.managers.CursorManager; CursorManager.removeBusyCursor(); --- In flexcoders@yahoogroups.com, mr_delphi_developer [EMAIL PROTECTED] wrote:

[flexcoders] Passing login details via webservice/asp

2008-06-03 Thread rrichardsuediva
Hi I am developing a flex app which is intended to pull data off a MS SQL Server db. The user logs in via ASP.NET, enters various details and then expects to see their data presented in the flex app via a ASP.NET webservice. My question is how do implement a reasonable degree of security so

Re: [flexcoders] Flex Kiosk Development

2008-06-03 Thread Fidel Viegas
On Tue, Jun 3, 2008 at 11:55 AM, Michael Trim [EMAIL PROTECTED] wrote: Hi Flexcoders, I hope this is sufficently on topic. Does anyone on the list have any experience of using Flex for Kiosk Development? I am interested in evidence (even anecdotal) for or against using the Flex Framework

Re: [flexcoders] Flex Kiosk Development

2008-06-03 Thread Fidel Viegas
On Tue, Jun 3, 2008 at 11:55 AM, Michael Trim [EMAIL PROTECTED] wrote: Hi Flexcoders, I hope this is sufficently on topic. Does anyone on the list have any experience of using Flex for Kiosk Development? I am interested in evidence (even anecdotal) for or against using the Flex Framework

[flexcoders] Flex creating an unwanted extra item in list

2008-06-03 Thread spirit_ryder2k
Hi, I'm doing a small app which loads a list of songs from an XML and display it in a list. I'm using a TileList with a custom renderer to render the songs. Because I want to keep track which song has loaded I put a trace comment on the creation event. This all works as intended, the song list

[flexcoders] Re: Flex creating an unwanted extra item in list

2008-06-03 Thread Claudiu Ursica
--- In flexcoders@yahoogroups.com, spirit_ryder2k [EMAIL PROTECTED] wrote: Hi, I'm doing a small app which loads a list of songs from an XML and display it in a list. I'm using a TileList with a custom renderer to render the songs. Because I want to keep track which song has loaded I put a

[flexcoders] Re: Flex creating an unwanted extra item in list

2008-06-03 Thread spirit_ryder2k
Thanks for the reply. The TileList already renders the correct number of items (2), it seems that setting the rowHeight and/or rowCount has no effect. Seems like in this case the binding mechanism creates more problems than benefit :( --- In flexcoders@yahoogroups.com, Claudiu Ursica [EMAIL

[flexcoders] passing credentials to .NET webservices (for AD authentication)

2008-06-03 Thread barry.beattie
I've got a bunch of .NET webservices that need username, password and domain to be sent from a Flex client for the webservice to then authenticate (against AD on that end). It's from the Sharepoint family of apps. I'm just looking for a concise example to get started, trying to adapt what I'm

[flexcoders] Re: Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: Hi, all; I'm trying to style a custom item renderer. I've called it TestRenderer. It's basically a canvas with a label in it. This is the style declaration: TestRenderer{ backgroundColor: #FF;

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
I'm really struggling for help. We have done everything to try and get a solution to this problem including: 1. Posting on public forums / mailing lists 2. Purchased books on AS3 and Flex 3. Signed up for a year subscription to Lynda.com 4. Purchased support from experts-exchange.com 5.

[flexcoders] Re: SWFLoader doesn't fire complete event

2008-06-03 Thread valdhor
This may be out of left field but if the SWF needs to be completely loaded before you open a data connection for the SWF to use wouldn't it be a better idea to have the data connection logic inside the SWF that you're loading and have it open the data connection on its creationComplete handler?

[flexcoders] AMFPHP Client.Error.DeliveryInDoubt Error

2008-06-03 Thread valdhor
I have been using RemoteObjects for quite a while now with AMFPHP. Suddenly, I am getting the error: Client.Error.DeliveryInDoubt Error Channel disconnected This error seems to crop up quite a bit but there has never been any definitive answer as to why or what the fix is. The particular

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Can you post the code for TestRenderer? Are you sure? It's very complicated ;-) ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=50 mx:Label x=10 y=10

Re: [flexcoders] SWC Encrypt 2.0 - Does it work?

2008-06-03 Thread Tom Chiverton
On Monday 02 Jun 2008, jmfillman wrote: Has anyone had experience using SWC Encrypt 2.0, by Amayeta? Does it work, or would I just be wasting my money? Have you tried decompiling a swfencrypt'ed SWF ? -- Tom Chiverton This email is sent

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
Hi, The reason this is not working with TypeSelectors is because the styleName property of the item renderer is getting set to the LisContentHolder instance (it's parent). Mike On Tue, Jun 3, 2008 at 9:49 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com

[flexcoders] Flex + WebORB for PHP, A very strage problem

2008-06-03 Thread Manu Dhanda
Hii, In short, In Weborb Mgmt Services, I can see the object having a value of boolean type correctly.( that is it is returned correctly from the db). But when I receive it on Flex side, all is returned as true. How should I resolve this? Appreciate your time.. to respond it. thanks. --

[flexcoders] Anyone know how to reveal the functions in namespaces like c++?

2008-06-03 Thread Sherif Abdou
I am using the Flex 4 sdk and Flash Player 10 and almost all the new api has a flash10 namespace. in C++ you could do std::(get code hints) In flex is there a way to do flash10:: and see everything instead of having to read the api?

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
The solution ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=50 mx:Script ![CDATA[ override protected function commitProperties():void { super.commitProperties()

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
Fair enough. Here is the code: The menu is created using: public var myMenu:Menu; //myMenu is globally created var pt:Point = new Point(event.localX, event.localY); myMenu = Menu.createMenu(null, myMenuData, false); pt =

[flexcoders] tree control incorrectly displays nodes marked as open

2008-06-03 Thread yanroyss
Hi, I've been having a very odd problem using the Tree control with a HierarchicicalCollectionView as the dataProvider. I've been to the Adobe Forums and #flex on irc.freenode.org looking for help and so far I've come up empty. I was told on IRC that Flexcoders is the right place to look for

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
No I can use any method. If you can provide an example or link to a documented example I'd really appreciate it. The only requirements I have is to display a menu to the user and be able to turn on and off menu items using AS3. Any help much appreciated. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
I posted a more detailed example with comments (plz see). BTW, I'm using Flex 3 SDK. I googled a solution for Flex 2 but it doesn't work with Flex 3. Hey I don't want to be anonymous =). My name is Irving. Thanks. --- In flexcoders@yahoogroups.com, Andriy Panas [EMAIL PROTECTED] wrote: Hi

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
I just tried that and get an error: Cannot access a property or method of a null object reference Thanks for helping. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Ah, no I looked at the history and that was a different thread, probably confused others as well.

Re: [flexcoders] Using AdvancedDataGridRendererProvider for AdvancedDatagrid

2008-06-03 Thread Tom Chiverton
On Monday 02 Jun 2008, Adrian Gillette wrote: But I having a problem with trying to determine whether a cell in the advanced datagrid is the 1st child. Does anyone know of a good solution? You mean it's rendering the first row's first column ? -- Tom Chiverton

[flexcoders] Re: Getting PropertyChangeEvent to work properly

2008-06-03 Thread valdhor
I had the same sort of problem and found that I forgot to set the bubbles property of my custom event to true (It is false by default). --- In flexcoders@yahoogroups.com, superbokbok [EMAIL PROTECTED] wrote: I'm building a simple app and trying to get the PropertyChangeEvent to work properly

[flexcoders] confusion with events

2008-06-03 Thread fb6668
I have a question about how events are used. I have a component which has the following sub-components: mx:HBox width=100% id=assetBox view:AssetGraphPanel height=100%/ view:AssetAccordion id=accordion / /mx:HBox The AssetGraphPanel itself contains components: mx:PieChart id=topPie ...

Re: [flexcoders] Anyone know how to reveal the functions in namespaces like c++?

2008-06-03 Thread Tom Chiverton
On Tuesday 03 Jun 2008, Sherif Abdou wrote: I am using the Flex 4 sdk and Flash Player 10 and almost all the new api has a flash10 namespace. in C++ you could do std::(get code hints) In flex is there a way to do flash10:: and see everything instead of having to read the api? I'm not sure

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
Well, something pops out at me immediately as I look at your XML - it is not well formed. You cannot have stray or symbols inside your XML tags - these have to be encoded (See http://articles.techrepublic.com.com/5100-10878_11-5032714.html). In your case you have: menuitem id=menuDrill

Re: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Michael Schmalle
Hi, Without looking at your exact dataProvider with a simple Application, I can't help much. I got this to work yesterday using @enabled = false on the node. But the ex4 implementation various on 'WHERE' you are trying to set the enabled of the node. Can you post a simple mxml Application?

[flexcoders] programmatically using RemoteObject

2008-06-03 Thread blc187
I'm trying to move some code out of my MXML into AS classes but having trouble with the RemoteObject. The following code: mx:RemoteObject id=remoteObject destination=genericDestination mx:method name=myMethod result=gotServerData(event)/ /mx:RemoteObject How do I go about setting up the

Re: [flexcoders] Accessing the sub-items of a Menu command

2008-06-03 Thread Daniel Freiman
First, does the sub menu exist when you are trying to access it? I don't think they're created until they are needed. Otherwise, it looks the like the best way is to get access to the item renderer which has a menu property, although i'm not 100% sure that it's the correct menu that you are

RE: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Tracy Spratt
What is null? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bc24fl Sent: Tuesday, June 03, 2008 11:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

RE: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Tracy Spratt
Is this the thread where you are not able to use the normal method of doing this via the dataProvider, but must have some way to do it via the instantiated elements? Because you are trying to automate unit testing or something? Because programatically disabling a particular menu item is easy.

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: The solution ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=50 mx:Script ![CDATA[ override protected function

Re: [flexcoders] Flex 3 - Help sorting formatted data in datagrid

2008-06-03 Thread Tom Chiverton
On Tuesday 03 Jun 2008, Kevin Ford wrote: the item renderers). It didn't occur to me that Flex would be using the dataField for sorting. That's exactly the way Flex works, if you don't give a sortCompareFunction. Thanks much! Not a problem. -- Tom Chiverton

[flexcoders] Re: addChild() (not addChildAt) throws RangeError: Error #2006: Thesupplied inde

2008-06-03 Thread valdhor
There are also UIComponents that must have children added at specific places. I can't remember what these components are off-hand but I did run into this same kind of problem with a window control bar that had to be added as the last child. If another child was added after it, then I got a range

Re: [flexcoders] what prevents a FlexEvent.CREATION_COMPLETE?

2008-06-03 Thread ivo
Thanks for the help Alex, I was unable to figure out why this subcomponent draws correctly in one instance and not on the other. The properties of the drawn instance (except for the initialized/invalidate) look comparable to the drawn one, both have a nestLevel of 5. I have tentatively gotten

Re: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Andriy Panas
Hi stranger bc24fl, Mike Schmalle had proposed you the exact solution, that we are currently using within our project based on Flex 2 SDK to enable/ disable menu items in MenuBar component. I do not understand without looking at your code, what is going on wrong with your MenuBar. Can you

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, The reason this is not working with TypeSelectors is because the styleName property of the item renderer is getting set to the LisContentHolder instance (it's parent). So what's the solution? I'd rather not

[flexcoders] Re: Questions regarding updating dataProviders after a drag drop

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, bredwards358 [EMAIL PROTECTED] wrote: Ok, going with the idea of creating a class called Product, since it seems to be referencing the first index of the draggedItems array, would this be an object type class? Or an array since we're adding to the

RE: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Tracy Spratt
Ah, no I looked at the history and that was a different thread, probably confused others as well. Ok, try this: var xmlMenuItem:XML = myMenuData..menuItem.(attribute(id)==menuDown)[0]; [EMAIL PROTECTED] = false; Tracy From: flexcoders@yahoogroups.com

Re: [flexcoders] States - what's under the hood?

2008-06-03 Thread Daniel Freiman
I am by no means a states expert, but if you ever want to know what's going on within an MXML you can add the compiler flag -keep-generated-actionscript=true and look at the source code itself that placed in the generated folder. It helped me a lot on understanding one project where I used

Re: [flexcoders] programmatically using RemoteObject

2008-06-03 Thread Douglas Knudsen
dunno why you'd want to, using a framework you wouldn't have very many instances of RO around, eh? Anyhoo, you will need to use the non-mxml version http://livedocs.adobe.com/flex/3/langref/mx/rpc/remoting/RemoteObject.html DK On Tue, Jun 3, 2008 at 11:42 AM, blc187 [EMAIL PROTECTED] wrote:

RE: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Andrew Price
I am new to flex myself but is it not just. menuDown.enabled=true or menuDown.enabled=fasle -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bc24fl Sent: 03 June 2008 14:56 To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Tracy Spratt
This won't work: myMenuData.menuitem.(@id==menuDown)[EMAIL PROTECTED] = false; You need to use the attribute syntax as in my example. Tract From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bc24fl Sent: Tuesday, June 03, 2008 10:52 AM

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-03 Thread Daniel Freiman
As I understand it cross-domain files also need site-control and allow-http-request-headers-from tags with the newest version of the player. - Daniel Freiman On Mon, Jun 2, 2008 at 7:15 AM, javed786pk [EMAIL PROTECTED] wrote: J, I already have place crossdomain.xml is my root directory.

[flexcoders] Saving BMPs

2008-06-03 Thread cavi21
Hello, like Isaid in another post, I'm doing a test application that capture an Bitmap with a Webcam, and then store it in the disk. But the JPEGEncoder takes so long to encode, so i made a C# mini-program to do it. The problem now is how can I save de image in a BMP file format (1600x1200)

Re: [flexcoders] Anyone know how to reveal the functions in namespaces like c++?

2008-06-03 Thread Daniel Freiman
I'm not sure about the Flex 4 part, but here's how you get Flex Builder to recognize Flash Player 10. I imagine it should be a similar edit for flex 4. http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x - Daniel Freiman On Tue, Jun 3, 2008 at

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
Ok just fixed that and tried all 3 examples provided by users and still doesn't work =( . Does anyone have an example using flex3/as3? --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: Well, something pops out at me immediately as I look at your XML - it is not well

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
I just tried this: myMenuData..menuitem.(attribute(id)==menuDown)[EMAIL PROTECTED] = false; and it worked - The sub menu item Down was grayed out; So Tracy is correct. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This won't work:

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
No it doesn't work. I don't get an error but when I trace to look at the myMenuData enabled attribute is still set to true. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This won't work: myMenuData.menuitem.(@id==menuDown)[EMAIL PROTECTED] = false; You need to

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
OK, this is fairly buggy but it does show you can gray out a menu item from actionscript (Check the Down submenu item after clicking the Lock / Unlock menu item). I will leave the bug fixes and extras to you :-)... ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] Synchronous HTTPService possible?

2008-06-03 Thread Tracy Spratt
Synchronous HTTPService is not possible, but you could simply disable the table on send and enable it again on result. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chilcoat, Dee Sent: Tuesday, June 03, 2008 12:28 PM To:

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
Ok I think I'm getting closer. In your example you create the menu when the user clicks but in my code the menu has already been created globally. Can the XML data be changed dynamically once the menu has already been create? --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
OK, this is fairly buggy but it does show you can gray out a menu item from actionscript (Check the Down submenu item after clicking the Lock / Unlock menu item). I will leave the bug fixes and extras to you :-)... ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Synchronous HTTPService possible?

2008-06-03 Thread Chilcoat, Dee
I need to know how to handle the other events generated by the datagrid component while an update is being performed. For example, I have an editable datagrid into which numeric values can be entered. When the user edits a cell and presses enter, or otherwise clicks off the line, a database

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
Jesus, what on earth. I get an error when using: myMenuData..menuitem.(attribute(id)==menuDown)[EMAIL PROTECTED] = false; Error: A term is undefined and has no properties Can someone post a complete basic example plz that works with flex3 sdk? --- In flexcoders@yahoogroups.com, valdhor

[flexcoders] Re: A simple apps to Save data by using WebServiceSimple - Security ERROR

2008-06-03 Thread flexawesome
Anyway, I added accrossdomain.xml, it prompts same error msg. :( --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: I was trying to save my data by using WebServices, but I got the security error msg, I have no ideas about this. Both them are on the same server

RE: [flexcoders] File Changes Ignored

2008-06-03 Thread Tracy Spratt
Syntax errors will prevent the swf from being generated. Also, did you try Project, clean? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Pride Sent: Tuesday, June 03, 2008 12:58 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: A simple apps to Save data by using WebServiceSimple - Security ERROR

2008-06-03 Thread Tracy Spratt
Are you sure the crossdomain.xml file is in the correct location, and is correct? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Tuesday, June 03, 2008 12:34 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] passing data from a PopUp Window labelfield.text to calling main app textbox

2008-06-03 Thread ritexcorp
Hi guys, I am new to the group and new to Flex, my background is in Java, so I am going through alot of tutorials getting up to speed. I want to redo my website http://www.mycabservice.com with a Flex UI frontend, so heres the problem. So far I have a flex 2 application that has a popup window

[flexcoders] Accordion, How to show it vertically like xx|yy|zz

2008-06-03 Thread Manu Dhanda
Hii Guyz, How can I have an accordion that will display the bars vertically as in xx|yy|zz... which property do I need to set in or where can I find the resources for that?? Thanks, Manu. -- View this message in context:

RE: [flexcoders] passing data from a PopUp Window labelfield.text to calling main app textbox

2008-06-03 Thread Tracy Spratt
http://www.cflex.net/showFileDetails.cfm?ObjectID=558 Shows several options, but does not use events. I mostly use events these days. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ritexcorp Sent: Tuesday, June 03, 2008 12:33

[flexcoders] File Changes Ignored

2008-06-03 Thread Dan Pride
OK I am stumped. I just upgraded to 10.5 and now changes I make to the mxml file do not show when I Click the Run Button. I am totally stumped. Dan Pride

RE: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Tracy Spratt
Yes, it can. Valdhor's example works for me. There is something going on with the programmatic instantiation of the menu, it dissapears on click unless it gets recreated in the handler. That is just a bug and not necessary to demonstrate the technique of disabling a menu item. Tracy

Re: [flexcoders] Accordion, How to show it vertically like xx|yy|zz

2008-06-03 Thread Doug McCune
oh hai! Did u check out flexlib?? http://code.google.com/p/flexlib/ http://flexlib.googlecode.com/svn/trunk/examples/HAccordion/HAccordion_Sample.swf zomgz! u can haz HAccordion! kthnxbye, Doug On Tue, Jun 3, 2008 at 10:03 AM, Tracy Spratt [EMAIL PROTECTED] wrote: Someone has created one

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
Here is another example that's a lot less buggy and uses an MXLList, XMLListCollection and a MenuBar. This is taken mostly from the example listed in the help: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
Here is another example that's a lot less buggy and uses an MXLList, XMLListCollection and a MenuBar. This is taken mostly from the example listed in the help: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

RE: [flexcoders] Accordion, How to show it vertically like xx|yy|zz

2008-06-03 Thread Tracy Spratt
Someone has created one of these already. Google for it. horizontal accordion maybe. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Tuesday, June 03, 2008 12:50 PM To: flexcoders@yahoogroups.com Subject:

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
Simply put, the IDataRenderer interface. ItemRenderers are supposed to be encapsulated, if Adobe used anything other than the styleName of the renderer's parent, they would be breaking this encapsulation rule. You could try un setting the styleName in commit properties and then try your

[flexcoders] Re: programmatically using RemoteObject

2008-06-03 Thread valdhor
import mx.rpc.remoting.RemoteObject; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; private var myRemoteObject :RemoteObject = new RemoteObject(); myRemoteObject .destination = genericDestination; myRemoteObject .addEventListener(FaultEvent.FAULT, faultHandler);

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread bc24fl
Wow finally got this working THANK YOU EVERYBODY!!! Besides the syntax problems that you guys helped me with there was another with the formatted xml data. Since the code exists in a component the xmlns data was being (by flex) inserted in the root of

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: The solution ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=50

[flexcoders] Composition of bindable objects

2008-06-03 Thread Richard Rodseth
I have a chart controlled by a fairly complex set of parameters. Within the model layer I would like to compose bindable objects, eg Value1 value:Number; units:String; Value2 value:Number; units:String; Parameters value1:Value1; value2:Value2; such that view controls can bind to

[flexcoders] Re: A simple apps to Save data by using WebServiceSimple - Security ERROR

2008-06-03 Thread flexawesome
Fixed. :) the location is OK. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=www.company.com secure=false / /cross-domain-policy

[flexcoders] Re: programmatically using RemoteObject

2008-06-03 Thread valdhor
import mx.rpc.remoting.RemoteObject; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; private var myRemoteObject :RemoteObject = new RemoteObject(); myRemoteObject .destination = genericDestination; myRemoteObject .addEventListener(FaultEvent.FAULT, faultHandler);

  1   2   >