RE: [flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-12 Thread Tracy Spratt
Use the = operator. We need more detail if you want a more detailed answer. Post what you have so far. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stinasius Sent: Thursday,

[flexcoders] FlexPrintJob - start function

2009-03-12 Thread arieljake
How does the start function pause the execution of code until the print dialog is responded to? Could the Flex guys provide us a way to do something like that ourselves? Like, instead of having to use listeners with an Alert?

Re: [flexcoders] Control remote desktop with Flash

2009-03-12 Thread Carlos Rovira
thanks sam, I was aware of fvnc but it's not a solution since the user must have a vnc server and for standard users this woud be not possible. Adobe uses a special plugin installed when you become presenter, I think I 'm searching something like that thanks! Carlos 2009/3/12 Sam Lai

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-12 Thread stinasius
in my cfc the return type is boolean and is set to return true if there is a match. when i set the return type to query to return the query result(checkAuthentication), nothing happens. cffunction name=loginUser access=remote returntype=boolean cfargument name=username

[flexcoders] Streaming radio

2009-03-12 Thread aphexyuri
I was wondering if anyone has played with streaming radio to a flash / flex ui?

[flexcoders] ListBase error

2009-03-12 Thread Simon Bailey
Hi all, Any ideas why on scroll of a datagrid the #1010 error is firing from the ListBase class on this line of code: rowMap[r.name].rowIndex = newIndex; I have seen this problem in the past with Flex 2 and funnily enough have not seen it since, now its rearing its head again. Using the

Re: [flexcoders] ListBase error

2009-03-12 Thread Simon Bailey
Here is the debug trace: ypeError: Error #1010: A term is undefined and has no properties. at mx.controls.listClasses::ListBase/shiftRow()[C:\autobuild \3.2.0\frameworks\projects\framework\src\mx\controls\listClasses \ListBase.as:6975] at

[flexcoders] Re: Find the middel of the screen

2009-03-12 Thread bartman279
Very cool, Sam. Thanks!! --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: You can get the screen resolution from the Capabilities object - see here http://www.thedesilva.com/2008/06/finding-client-machine-capabilities-using-flex-flash/. From that you can work out the middle

[flexcoders] Re: Control remote desktop with Flash

2009-03-12 Thread Amy
--- In flexcoders@yahoogroups.com, Carlos Rovira carlos.rov...@... wrote: Hi all! I need a way to control remote desktops within a Flex Application. I have a client with an ActiveX solution and we want to change their collaborative applications to Flash RIA (chats, video chats, etc...). The

[flexcoders] Re: ArrayCollection or XML

2009-03-12 Thread tiend...@ezweb.ne.jp
It's OK with me. Anyway thanks Tracy --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: In all cases, use the appropriate API to navigate to the desired data object, then access the data via the methods and properties provided by that object. Tracy Spratt, Lariat

[flexcoders] Re: Maintaining sessions while interacting with Flex using alt back-end services

2009-03-12 Thread wubac1
Here are a couple of options I'm considering; 1.) When a page is being generated under an active session that contains a full screen Flex application (all interaction is with the Flex application), set the session lifetime to infinite. When a user leaves the Flex application page, restore the

[flexcoders] Problems with HTTP Status Codes

2009-03-12 Thread park96
Hi all, I've been searching everywhere for a more comprehensive explanation or work around but here's my problem. I have a flex app that dynamically accesses a bunch of xml files to populate and configure itself. Some of these files do not change very often so I was hoping to use the

[flexcoders] Re: Maintaining sessions while interacting with Flex using alt back-end services

2009-03-12 Thread wubac1
If I did something like that, then the Flex application would effectively cause the session to never expire. What I'm looking for is a way to integrate a Flex application with sessions such that user interaction in the application keeps the session alive. That said, I'd also prefer to not

[flexcoders] Datagrid Display update problem

2009-03-12 Thread elnomdeguerre1
HI, I know that there have been lots of discussion about the datagrid topic but I simply couldn't figure this bug out. I have a datagrid with a custom editor and renderer that displays an amount. Based on this amount I make a calculation which is then displayed in an adjacent uneditable

[flexcoders] Re: How to get RemoteClass alias?

2009-03-12 Thread limscoder
awesome, thanks --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Use ObjectUtil.getClassInfo (In the mx.utils package) and look at the alias property of the returned object. --- In flexcoders@yahoogroups.com, limscoder limscoder@ wrote: I have the following metadata

[flexcoders] Re: flash cs3 skinning

2009-03-12 Thread quinrou
Hi, I used the scale9grid which is part of the flash cs3 ide. the button template in flash cs3 already offers the scale9grid guides. All I did is move them to the right place so it wouldn't deform my round bits on my skin. here is the css I used to apply the skin .flipButton { skin:

[flexcoders] flex + mysql unicode support

2009-03-12 Thread cvsikh
Hello all, I am displaying data from mySql database. This data some unicode text which I want to display in a datagrid in uncide. Is this possble? Thanks

[flexcoders] Re: ArrayCollection or XML

2009-03-12 Thread cvsikh
From help menu, click on Help contents and search for datagrid. Open the first result and you'll find your answer there about displaying datagrid content in 'textbox'. Basically, you can use dg.selectedItem.whichcolumn to show data any where. --- In flexcoders@yahoogroups.com, tiend...@...

[flexcoders] [ANN] Gilead 1.2.2

2009-03-12 Thread bruno.marchesson
The Gilead library (http://gilead.sourceforge.net) permits you to send Hibernate entities (and especially the partially loaded ones) to the Flex client side (through BlazeDS) without pain. This release is a maintenance one, fixing half a dozen bugs, and providing many improvements (see release

[flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-12 Thread jedierikb
[Hello. New to the list. Found you from a google search for a bug I've encountered. Looks like I've found the right people!] I have encountered this same bug and wonder if there was ever a resolution? As a work around, I have removed every bit of security enabled code (no javascript to

[flexcoders] May I install Flex Builder 3 and Flex Builder 4 in same computer?

2009-03-12 Thread markflex2007
I hope they works independently and do nor affect each other. Thanks for your help Mark

Re: [flexcoders] May I install Flex Builder 3 and Flex Builder 4 in same computer?

2009-03-12 Thread Paul Kukiel
Yes you can on windows at least. They work fine side by side. Paul On Thu, Mar 12, 2009 at 10:08 AM, markflex2007 markflex2...@yahoo.com wrote: I hope they works independently and do nor affect each other. Thanks for your help Mark

Re: [flexcoders] flex + mysql unicode support

2009-03-12 Thread Paul Kukiel
Yes it's possible I have a multi language application and have several double byte languages displaying in flex datagrids via coldfusion. Paul On Wed, Mar 11, 2009 at 8:32 PM, cvsikh sonofgurugobindsing...@hotmail.com wrote: Hello all, I am displaying data from mySql database. This data some

[flexcoders] Question from a C developper

2009-03-12 Thread christophe_jacquelin
Hello, I am a C developper and now I am developing in Action Script. I have questions about ActionScript - Is it possible to define a variable as a long ? - How to program the overloading of an operator like the equal between 2 objects of a same class. - What is the equivalent of a

Re: [flexcoders] Re: flash cs3 skinning

2009-03-12 Thread Alain Thibodeau
hi there, What I meants was: I don't think you can apply scale 9 to a class in css. I think you can only do one or the other..either in flash with classes or in css with bitmaps, but not 100% sure on this, I've never had to do it. I wonder why it isn't stretching properly from the flash, and I

Re: [flexcoders] May I install Flex Builder 3 and Flex Builder 4 in same computer?

2009-03-12 Thread Romuald Quantin
Where did you get a copy, is there any way I can try it as well? Romu Paul Kukiel wrote: Yes you can on windows at least. They work fine side by side. Paul On Thu, Mar 12, 2009 at 10:08 AM, markflex2007 markflex2...@yahoo.com mailto:markflex2007%40yahoo.com wrote: I hope they works

Re: [flexcoders] May I install Flex Builder 3 and Flex Builder 4 in same computer?

2009-03-12 Thread Paul Kukiel
At Max in Nov 2008. It was for Max Attendees only. On Thu, Mar 12, 2009 at 10:33 AM, Romuald Quantin soundstep.mail...@googlemail.com wrote: Where did you get a copy, is there any way I can try it as well? Romu Paul Kukiel wrote: Yes you can on windows at least. They work fine side by

[flexcoders] Re: Question from a C developper

2009-03-12 Thread wubac1
long (c++) -- uint (ActionScript) There is no struct option in ActionScript, you can only create a class. Only objects are pass by reference in ActionScript. Converting an int to Number: var i : int = 47; var num : Number = i as Number; --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Question from a C developper

2009-03-12 Thread Alain Thibodeau
- Is it possible to define a variable as a long ? int is 32 bits and if you need bigger than go with Number http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_11.html   - How to program the overloading of an operator like the equal between 2 objects of a same class.

Re: [flexcoders] flex + mysql unicode support

2009-03-12 Thread Alan K
If your app is set to use a unicode font, then you will have n0 problem. Alan I am displaying data from mySql database. This data some unicode text which I want to display in a datagrid in uncide. Is this possble?

RE: [flexcoders] Question from a C developper

2009-03-12 Thread Yves Riel
Salut Christophe, Other will definitely pitch in but here are some answers: Is it possible to define a variable as a long ? The data type is Number. It's a IEEE-754 double-precision floating-point number. How to program the overloading of an operator like the equal between 2 objects of a

[flexcoders] Re: Question from a C developper

2009-03-12 Thread wubac1
Object equality can be done with the ObjectUtil.compare method or by utilization of the UID interface, depending on your needs. I prefer uint over Number for representing a long. --- In flexcoders@yahoogroups.com, Alain Thibodeau thibodeau.al...@... wrote: - Is it possible to define a

[flexcoders] Re: Turn all keyboard input into upper-case for all TextInput and TextArea

2009-03-12 Thread per.olesen
For the record. Someone provided me the solution i show below directly by email: /** * Runs on change converting all text to upper case */ private function changeHandlerToUpper(event:Event):void{ event.target.text = event.target.text.toUpperCase(); } which works fine.

[flexcoders] Prevent a custom controll appearing in the Design view.

2009-03-12 Thread Wesley Acheson
How do I prevent some custom controls appearing in the design view. For example when doing ItemRenderers or extending DataGridColumn or other such like. There is no reason for the controls to appear in the custom components box as they don't make sense to add to a layout. Regards, Wesley

[flexcoders] XSLT Processor for AS3?

2009-03-12 Thread Merrill, Jason
I've asked this on several lists, and Twitter, never had a single reply yet. Hoping someone here knows. Is there an XSLT parser/processor for Actionscript 3? I would like an Actionscript native one to transform some XML client-side. I have the XSLT file for it already written, which I

Re: [flexcoders] XSLT Processor for AS3?

2009-03-12 Thread Rick Winscot
In Flex? I suppose you could include the AIR libraries... and then... http://blogs.adobe.com/briggs/2008/05/using_air_for_xslt_processing.html Rick Winscot On 3/12/09 11:05 AM, Merrill, Jason jason.merr...@bankofamerica.com wrote: I¹ve asked this on several lists, and Twitter, never

Re: [flexcoders] Re: Question from a C developper

2009-03-12 Thread Maciek Sakrejda
I prefer uint over Number for representing a long. To clarify, uint is just that: an unsigned 32-bit integer. A long is (typically) a signed 64-bit integral number. A uint will allow you to express numbers that are twice as large as the largest int, but that's only a small fraction of the range

[flexcoders] Re: offline flex3 app - security error

2009-03-12 Thread banshee...@ymail.com
Hi Alex, thank you, i already studied the whitepapers. I tried with the allowScriptAccess, allowNetworking parameters. Didn't work. Now i tried the app on 3 windows laptops, IE and FF, and ... no problem ! Only on the macs here there is the network access warning (?) I'll have to try on other

[flexcoders] Re: flex + mysql unicode support

2009-03-12 Thread cvsikh
Can you please provide information on this? Thanks. --- In flexcoders@yahoogroups.com, Alan K ultr...@... wrote: If your app is set to use a unicode font, then you will have n0 problem. Alan I am displaying data from mySql database. This data some unicode text which I want to display in a

[flexcoders] Re: XSLT Processor for AS3?

2009-03-12 Thread Jason
--- In flexcoders@yahoogroups.com, Rick Winscot rick.wins...@... wrote: In Flex? I suppose you could include the AIR libraries... and then... http://blogs.adobe.com/briggs/2008/05/using_air_for_xslt_processing.html Rick Winscot Yeah, came across that last night. That uses Javascript

[flexcoders] Re: flex + mysql unicode support

2009-03-12 Thread Cato Paus
one or another setting in mysql, you must specify the client input to unicode (UTF8) what flex have does not matters .. but if you use UTF8 in the SQL DB you should use UTF8 in Flex --- In flexcoders@yahoogroups.com, cvsikh sonofgurugobindsing...@... wrote: Hello all, I am displaying data

RE: [flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-12 Thread Tracy Spratt
I don't know CF well enough to help you with that, but that must be your first goal, to get a successful login to return the user info to your Flex result handler. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: flex + mysql unicode support

2009-03-12 Thread Alan K
Can you please provide information on this? Google embedding fonts with Flex. But keep in mind that the entire Unicode library is something like 30 megs. Also Google about localizing flex apps. Alan

[flexcoders] Re: Question from a C developper

2009-03-12 Thread wubac1
That's correct. My use of uint is not a perfect replacement for long and is based on assumptions made for a specific project. I should have been more clear about that. ActionScript does not support long for portability purposes. --- In flexcoders@yahoogroups.com, Maciek Sakrejda

[flexcoders] Re: XSLT Processor for AS3?

2009-03-12 Thread valdhor
I don't know of any AS3 library for XSLT. Scott Peterson of Adobe converted libxslt (http://xmlsoft.org/XSLT/) to ActionScript with Alchemy (http://labs.adobe.com/technologies/alchemy/) and demoed it at Adobe Max 2007 Chicago... http://arcanearcade.blogspot.com/2007/10/c-to-actionscript.html

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-12 Thread valdhor
Don't you already know the username and password? You had to send them to CF for authentication. If the response is yes, populate your userinfo object; Otherwise, don't ;-} --- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote: in my cfc the return type is boolean and is set to

[flexcoders] Checkbox Itemrenderer centering mystery...

2009-03-12 Thread aceoohay
I have an itemrenderer that is a checkbox. I define textAlign=center in the datagriColumn. It doesn't center. I decided to ask folks here so I created a simple test case to post, and unfortunately it works fine. I tried adding some of the things that I do in the real module, and I can't get

[flexcoders] Re: XSLT Processor for AS3?

2009-03-12 Thread Jason
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: I don't know of any AS3 library for XSLT. Scott Peterson of Adobe converted libxslt (http://xmlsoft.org/XSLT/) to ActionScript with Alchemy (http://labs.adobe.com/technologies/alchemy/) and demoed it at Adobe Max 2007

[flexcoders] Re: Checkbox Itemrenderer centering mystery...

2009-03-12 Thread Tim Hoff
All of your answers can be found here: http://blogs.adobe.com/aharui/item_renderers/ http://blogs.adobe.com/aharui/item_renderers/ -TH --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: I have an itemrenderer that is a checkbox. I define textAlign=center in the datagriColumn. It

Re: [flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-12 Thread John Robinson
Yeah, I've been directly updating the properties. Here's the weird part... if I use the ArrayCollection as a dataProvider for a List control, it updates. If I use it for a custom control that I've created, it does not. Example: This works as expected: mx:List dataProvider={model.users}/

[flexcoders] Re: Checkbox Itemrenderer centering mystery...

2009-03-12 Thread aceoohay
That's a good resource but it doesn't answer my question. Anybody have any ideas as to what will cause an item renderer to NOT honor the textAlign of the dataGridColumn? Somtimes textAlign works sometimes it doesn't What causes that? Paul --- In flexcoders@yahoogroups.com, Tim Hoff

RE: [flexcoders] Re: Checkbox Itemrenderer centering mystery...

2009-03-12 Thread Tracy Spratt
A drop-in check box renderer will not center in a datagrid column. That site explains how to fix it, without using a container. I have never seen one align center, regardless of column setting, unless you wrap it in a container. Tracy Spratt, Lariat Services, development services available

Re: [flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-12 Thread Josh McDonald
In your custom control, change this: public function set dataProvider(dp:ArrayCollection):void { _dp = dp; trace(this fires when the AC is created, but not when it's contents change); } to something like this: public function set dataProvider(value : ArrayCollection) : void { if

RE: [flexcoders] Re: flex + mysql unicode support

2009-03-12 Thread Gordon Smith
Don't some device fonts (e.g., Arial on Windows?) include glyphs for large portions of Unicode? BTW, I just wanted to point out that the String type in AS is Unicode, so all text in Flex apps is Unicode. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: flex + mysql unicode support

2009-03-12 Thread Guy Morton
We have an app with multilingual support and we just use the default system font. I haven't yet come across a character that Flash couldn't display. We get our text from mysql. You do have to fiddle with mysql a bit to make it talk unicode (set names=utf8 from memory) On 13/03/2009, at

[flexcoders] Re: Checkbox Itemrenderer centering mystery...

2009-03-12 Thread aceoohay
I am not sure of your usage of the term drop-in, but the following is code that works in a test environment, but substantially similar code fails in a more complex environment. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

RE: [flexcoders] Re: Checkbox Itemrenderer centering mystery...

2009-03-12 Thread Tracy Spratt
I didn't actually run that but I will believe you I have not used that syntax at all, halfway between a drop-in and a full render implementation. With a working example and a non-working one you can usually bracket an issue and find it by making the two code bases more and more similar.

[flexcoders] Flash Lite or Flash 10

2009-03-12 Thread itdanny2002
I am developing an application which suppose to run on mobile. Should I do it in FLEX and run it in Flash Player 10 or I should develop it in Flash Lite ? I write some programs by using FLEX but never try Flash Lite. Which way I should go ? Thanks

RE: [flexcoders] Re: Checkbox Itemrenderer centering mystery...

2009-03-12 Thread Alex Harui
I didn't run this example. I will later if I get time. I'm surprised the checkbox centers. textAlign is for text and the checkbox icon isn't text and I don't think there's code in there that uses textAlign to position the checkbox. In theory, the centering trick on my blog should be what

RE: [flexcoders] Datagrid Display update problem

2009-03-12 Thread Alex Harui
The DataGrid does not update the dataProvider until you switch to a new row. Editing different columns in the same row doesn't cause an update in order to minimize update event traffic. There are past topics on this issue in the archive. Usually, I recommend cheating by getting the

RE: [flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-12 Thread Alex Harui
Vote for this bug: https://bugs.adobe.com/jira/browse/SDK-16050. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jedierikb Sent: Wednesday, March 11, 2009

[flexcoders] Ribbon in FLEX

2009-03-12 Thread Claudio M. E. Bastos Iorio
Hi, Is there any component (free or paid) similar to the office 2007 ribbon control? TIA __ Claudio M. E. Bastos Iorio

RE: [flexcoders] ListBase error

2009-03-12 Thread Alex Harui
That error indicates a recycling problem. Does it happen if you use the default renderer instead of your custom renderer? Could your custom renderer be changing the name property of the renderer? Can you reproduce it in a simple test case? Alex Harui Flex SDK Developer Adobe Systems

RE: [flexcoders] Flash Lite or Flash 10

2009-03-12 Thread Alex Harui
Flash 10 doesn't run on mobile phones yet. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of itdanny2002 Sent: Thursday, March 12, 2009 9:00 PM To: