[flexcoders] Drag drop within a tree control itself

2006-03-02 Thread Robs
Hi people, I've a tree control which is the drag source drop target itself to enable shuffling of nodes within the tree. As such, the normal drag drop codes work fine but there is 1 problem in the dragComplete event. I've used the following function within dragComplete event: function

Re: [flexcoders] Flex2 :: Button :: Getting custom skins to refresh IE getStyle() is used

2006-03-02 Thread Manish Jethani
On 3/2/06, Teoti Graphix [EMAIL PROTECTED] wrote: I have subclassed Button in an mxml component. I have defined a get set property swatchColor in the mxml component(extended Button). [snip] Got it. So, in your property setter function, call styleChanged() with null as the argument.

Re: [flexcoders] Hit Area Strategy

2006-03-02 Thread Manish Jethani
On 2/14/06, Trey Long [EMAIL PROTECTED] wrote: All objects bounds are rectangular, their hit area's are not however. For instance, say I draw a circle with spokes coming out of it. The bounds are rectangular but if I were to move the mouse around the circle each spoke would generate a

[flexcoders] a GridTree component for flex 2

2006-03-02 Thread dc
hi list, just made a GridTree component for next project, please take a look at -preview video http://ria.richtechmedia.com/upload/GridTreeForFlex2/ -blog entry (upper half written in English) http://ria.richtechmedia.com/?p=330 any suggestions or ideas would be appreciated. btw, thanks to

RE: [flexcoders] Currency Formatter -- formats only numbers up to 15 characters in length?

2006-03-02 Thread Gordon Smith
Adobe won't be doing this for Flex 2, and I don't think anyone has volunteered. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hastings Sent: Wednesday, March 01, 2006 9:38 PM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Flex2/ColdFusion connectivity : session scope problem

2006-03-02 Thread Benoit Hediard
Any news on this issue from the Mystic ColdFusion Updater team? This is a hugebug for us, since we'll need this to implement server-side security for each session on our project... Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit

[flexcoders] ActionScript 3 language specification as pdf

2006-03-02 Thread Vadim Melnik
Hi All, Just found AS3 specification http://livedocs.macromedia.com/specs/actionscript/3/wwhelp/wwhimpl/js/h tml/wwhelp.htm on the Web (thank to Brian Deitte). Is this document also available in pdf format? -- Thanks, Vadim Melnik. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Flex/Coldfusion connectivity test app

2006-03-02 Thread anopres
How do you use the typed object that cf returns? All I seemt to get is a generic object on the Flex side. Do you have to run through a bunch of set functions to move the properties returned into a pre-existing .as typed object? Sorry for the noob question, but this one has been bugging me for a

[flexcoders] order of the columns in datagrid

2006-03-02 Thread sinacapho
Dear all, i have problem when using datagrid. The dataProvider of the gird is mainly a web service result in xml . But for example my xml is aa bb cc But the when i put this into the dataProvider . The resulting datagrid column order is cc,bb,aa . Can i know why? thx

[flexcoders] can someone show me an example for the following

2006-03-02 Thread flexisgood
This relates to Flex 1.5 I have a datagrid. One of my columns within the dg is a combobox. I can set the values of the combobox to e.g. Option1, Option2, Option3 etc. and these values are correctly appearing in the combobox within the dg. What I actually need to do is set the 'selected'

[flexcoders] The column order in datagrid

2006-03-02 Thread sinacapho
If i input a xml as dataprovider in datagrid /aa /bb /cc The datagrid column order will be cc, bb,aa .someone tell me why?? thx -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Resize bug?

2006-03-02 Thread Flex Coders
Hi Jonathan,I tested this on the following browsers with tabs and got the following resultsFirefox 1.5.0.1 - Bug reproducedIE 7.0 beta - Cannot reproduceMaxthon - Cannot reproduce Netscape 8.0.3.3 - Bug reproducedMorover this happens for both FLEX swfs as well as any ordinary Flash Movie. So

[flexcoders] how do you put a link in a datagrid?

2006-03-02 Thread jeff noyes
Title: RE: [flexcoders] Actionscript-based Applications with Flex 2 Can someone pleasepoint me to, or explain how to put a link in a datagrid? I've seen Jesse Wardens flash example, but I want strictly a flex example. -- Flexcoders Mailing List FAQ:

[flexcoders] How to dynamically invoke AS3 class constuctor ?

2006-03-02 Thread Vadim Melnik
Hi All, It is going to be easy, but I can't figure the way to implement it. We have certain Class object referencing to some class with constructor accepting any ... numbers of arguments. Now we are looking for the way to invoke it dynamically, (something like Funtion.apply does for plain

Re: [flexcoders] How to dynamically invoke AS3 class constuctor ?

2006-03-02 Thread Alisdair Mills
haven't tried it but maybe try...import flash.util.getClassByName;thenvar ClassReference:Class = getClassByName("A");var instance:Object = new ClassReference(1,2,3);cheers, AlOn 2 Mar 2006, at 12:25, Vadim Melnik wrote: Hi All, It is going to be easy, but I can't figure the way to

RE: [flexcoders] Re: Flex/Coldfusion connectivity test app

2006-03-02 Thread Benoit Hediard
To get a typed object on the Flex side, there is nothing specific to do, you only need to correctly define : - in the CFC VO , all the cfproperty, Ex. : cfproperty name=someString type=String / - in the service CFC cffunction, the correct returnType, Ex. :

[flexcoders] Re: How to dynamically invoke AS3 class constructor ?

2006-03-02 Thread Vadim Melnik
This code is similar to var a:* = new A(1,2,3); in my original post. Arguments count is statically specified at compile time. But I am looking for the way to pass different number of arguments to constructor at runtime. Arguments type and count are unknown at compilation time, that is why

Re: [flexcoders] Currency Formatter -- formats only numbers up to 15 characters in length?

2006-03-02 Thread Paul Hastings
Gordon Smith wrote: Adobe won't be doing this for Flex 2, and I don't think anyone has volunteered. first, is it even possible? second, would the existing AS formatters handle the new classes? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] Character input in a form : strange issue?

2006-03-02 Thread Barrau Antoine
Hi, i'm currently experiencing a strange issue with flex 1.5 i've made the following simple test : mx:Accordion mx:Form mx:FormItem mx:TextInput text=toto/mx:TextInput /mx:FormItem /mx:Form /mx:Accordion it seems, for something i can't understand that when i'm including this sample code into

[flexcoders] Re: Webservices swapping parameters

2006-03-02 Thread everflashnox
This certainly is a bug in tghe WebService API. The arguments do not get mapped correctly. I suggested to Jeff to change the makeRemoteCall function to this: public function makeRemoteCall(methodName:String, eventName:String, args:Object):void{ this.eventName = eventName; var

RE: [flexcoders] Re: repost - Memory leak repeatedly assigning new series to a chart. (2.0b1)

2006-03-02 Thread Jonathan Miranda
Well using the task manager in windows, its showing 94% cpu usage. Didnt look at the memory though. _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert Einstein HealthGrades: Guiding

[flexcoders] Re: IOError: Error #2058: There was an error decompressing the data.

2006-03-02 Thread bhaq1972
Any Ideas? Anyone? thanks --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi I'm doing a simple test but get the above error. what am i doing wrong? tia var byteArr:ByteArray = new ByteArray(); byteArr.writeUTF(hello); byteArr.position = 0; byteArr.compress();

Re: [flexcoders] order of the columns in datagrid

2006-03-02 Thread Manish Jethani
On 3/2/06, sinacapho [EMAIL PROTECTED] wrote: i have problem when using datagrid. The dataProvider of the gird is mainly a web service result in xml . But for example my xml is aa bb cc But the when i put this into the dataProvider . The resulting datagrid column

[flexcoders] combobox in popup-window

2006-03-02 Thread wesubotnix
My combobox doesn´t seems to work when using it in a popup-window. Can´t do the drop-down. Recievies error: Supplied index is out of bounds. It seems like the combobox can´t find automation values. Is it because the combobox also uses the popupmanager like the window it is located in? --

Re: [flexcoders] how do you put a link in a datagrid?

2006-03-02 Thread JesterXL
Title: RE: [flexcoders] Actionscript-based Applications with Flex 2 Flex 1.5 or 2? - Original Message - From: jeff noyes To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 7:22 AM Subject: [flexcoders] how do you put a link in a datagrid? Can someone pleasepoint me

RE: [flexcoders] Re: IOError: Error #2058: There was an error decompressing the data.

2006-03-02 Thread Roger Gonzalez
We're checking it out internally, very likely a bug. Thanks for the test case! -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, March 02, 2006 7:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

[flexcoders] Stop the logging

2006-03-02 Thread Jeff Krueger
Sorry for the stupid post. But I can't remember where the setting is to stop the logging of remote objects. In the stdout.log file. It continues to print out the values of the objects being serialized. I have all the loging in flex-config.xml turned off and the production mode set to true. Is it

[flexcoders] How can we use Secure AMF wuth ColdFusion/Flex Connectivity?

2006-03-02 Thread sn197412
Hi. I tried SecureAMFChannel in flex-enterprise-services.xml. But RemoteObject always connect to HTTP AMFChannel. Is this normal action? Can't we use HTTPS RemoteObject?? --Shigeru -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

[flexcoders] DateField and DateFormatter issue.

2006-03-02 Thread sn197412
Hi. When I use a DateFormatter with a couple of DateFileds, Something remove formatted date text. And also, when I focus in TextInput, Something remove formatted date text too. Here is a sample. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;

[flexcoders] Flex2 bug with mx:Text, incorrect height with width=100%

2006-03-02 Thread Benoit Hediard
One of the most annoying layout problem I'm currently facing on Flex2... ;) When using width=100% the height of the Text component is never correct. It looks like the height always equals the height of the text before the resize to the new width. Ex. : mx:Application

[flexcoders] Flex 1.5 Hotfix

2006-03-02 Thread Eric D Anderson
Hi, Im sure many of you noticed the latest IE patch available from Microsoft has fixed the active content issue which impacted how the Flash player was invoked.  We have issued a hotfix for Flex 1.5 that changes the way the Flex 1.5 HTML wrapper is generated to support the new IE

RE: [flexcoders] how do you put a link in a datagrid?

2006-03-02 Thread Jason Hawryluk
Title: RE: [flexcoders] Actionscript-based Applications with Flex 2 What problems are you having exactly, have you tried to do it? -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de jeff noyesEnvoy: jeudi 2 mars 2006 13:23:

RE: [flexcoders] The column order in datagrid

2006-03-02 Thread Jason Hawryluk
What is your "defined" column structure. mx:DataGrid mx:columns "your col struc here"... /mx:columns/mx:DataGrid -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de sinacaphoEnvoyé: jeudi 2 mars 2006 13:15À:

RE: [flexcoders] How can we use Secure AMF wuth ColdFusion/Flex Connectivity?

2006-03-02 Thread Peter Farland
Can you show the channel configuration that you used? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sn197412 Sent: Thursday, March 02, 2006 11:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can we use Secure AMF wuth

RE: [flexcoders] How can we use Secure AMF wuth ColdFusion/Flex Connectivity?

2006-03-02 Thread Peter Farland
... and the destination config too? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sn197412 Sent: Thursday, March 02, 2006 11:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can we use Secure AMF wuth ColdFusion/Flex

RE: [flexcoders] Flex2: AS Number to Java Long mapping

2006-03-02 Thread Jim Schneider
Same happens with NaN. Do you (Adobe) have any thoughts as to whether this is worthy of a fix, or will we need to remember to add the logic to check for 0 in all of our Java objects. Thanks, Jim - Jim Schneider KJ

RE: [flexcoders] Currency Formatter -- formats only numbers up to 15 characters in length?

2006-03-02 Thread Gordon Smith
first, is it even possible? I think so. second, would the existing AS formatters handle the new classes? No, but writing a new formatter would be easier than porting BigInt. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul

RE: [flexcoders] Datagrid how to get access to cellRenderer instance

2006-03-02 Thread Matt Chotin
Here's the recommendation I got from Alex: It looks like the DataGrid will have the FocusManager call a setFocus method on the renderer if it exists, so if you implement setFocus on the cell, it should get called and that method should set focus to its internal textinput (as in you the developer

[flexcoders] mx.control.alert

2006-03-02 Thread deepu_verma
Hi all, I am using mx.controls.Alert.show in flex 1.5 The text in the alert box is displayed with a vertical scroll bar. How can I increase the size of the alert box. Thanks, Deepak -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

Re: [flexcoders] Re: How to dynamically invoke AS3 class constructor ?

2006-03-02 Thread Jens Halm
This code is similar to var a:* = new A(1,2,3); in my original post. Arguments count is statically specified at compile time. But I am looking for the way to pass different number of arguments to constructor at runtime. Arguments type and count are unknown at compilation time, that is

[flexcoders] weird bug with IE and states Flex2

2006-03-02 Thread Johannes Nel
take this code?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* layout=absolute mx:states mx:State name=PlannerMode mx:SetProperty target={panel1} property=x value=27/ mx:SetProperty target={panel1} property=height value=102/

Re: [flexcoders] mx.control.alert

2006-03-02 Thread JesterXL
Try adding some \n and \r to the end of the text you put in to the Alert box. - Original Message - From: deepu_verma [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 12:05 PM Subject: [flexcoders] mx.control.alert Hi all, I am using

RE: [flexcoders] Another charting bug

2006-03-02 Thread Ely Greenfield
Hi Jonathan -- what you're running into right now is a bit of a fact of life. The Flex framework doesn't have great support for flow-based components by default...if you don't explicitly set their width, it's impossible for them to automatically size to the width of their parent. Text

[flexcoders] Flex2 line chart and vertical axis

2006-03-02 Thread Johannes Nel
hi all i have a line chart that i am feeding a fair bit of info into. all good. the problem is that the vertical axis displays stuff like 7590.995 as a refpoint. now i looked at the IAxis interface and it has a getUnitSize method, no setter for it (and no documentation yet),

[flexcoders] Re: Flex2: AS Number to Java Long mapping

2006-03-02 Thread Dave Wolf
The core of the issue is that the deserializer cant seperate a primitive from an Object wrapper right? I mean mapping a null onto a long of 0 is correct. The issue youre having is you want a Long which itsel is null right? I can say you'd face this issue in CORBA all the time too. The

RE: [flexcoders] The column order in datagrid

2006-03-02 Thread Tracy Spratt
He is not defining the columns array, but letting Flex do it. The problem here is the Flex apparently builds the columns from the xml child nodes array using a for ..in, instead of for var i The for..in construct does not process the properties in a guaranteed order, but usually

Fwd: [flexcoders] Flex2 line chart and vertical axis:Solved

2006-03-02 Thread Johannes Nel
from Brian O'Connor. Thanks!-- Forwarded message --From: Brian O'Connor [EMAIL PROTECTED] Date: Mar 2, 2006 2:44 PMSubject: RE: [flexcoders] Flex2 line chart and vertical axisTo: [EMAIL PROTECTED] Use a labelFunction, for example: private function

RE: [flexcoders] how do you put a link in a datagrid?

2006-03-02 Thread Tracy Spratt
Title: RE: [flexcoders] Actionscript-based Applications with Flex 2 Are you sure you really need a link?  You could get the same effect using just the DataGrid events and getURL(). If you need a true link, try the example. Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Flex2 line chart and vertical axis

2006-03-02 Thread Ely Greenfield
Hi Johannes. I see Brian also set you up with the labelFunction, but if you could send a simplified bug file directly to me, that would be great. What you're seeing is a floating point rounding error, which is pretty much unavoidable. We're trying to get the actual label generation to

RE: [flexcoders] Re: Flex2: AS Number to Java Long mapping

2006-03-02 Thread Jim Schneider
Yep, that's the issue. Actionscript has the concept of null. Java has the concept of null. It would seem that AMF/Flex should be able to map the two correctly. - Jim Schneider KJ Interactive, Inc. 1-877-370-6906 1-612-605-5399-Original

RE: [flexcoders] can someone show me an example for the following

2006-03-02 Thread Tracy Spratt
You just have to loop over the values in the combobox dataProvider array items, compare the correct property value to the value of the master dataProvider, and set the selected index. There are examples on cflex.net. Tracy -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] how do you put a link in a datagrid?

2006-03-02 Thread Jonathan Miranda
Title: RE: [flexcoders] Actionscript-based Applications with Flex 2 Dont think Ive ever seen more answers to a question with no real answer J If youre using Flex2, its real easy. Either in-line like my example or a custom cellrenderer (Ive been using an HBox and Link inside just for

[flexcoders] Re: Flex2: AS Number to Java Long mapping

2006-03-02 Thread Dave Wolf
But a Java primitive does not. That's where it gets confusing. AS has only one Number type, not two like Java. Since a primitive CANNOT be null, you have to stick with the least common denominator ya know? CORBA had this too, hence the structure solution. Unless AS has both a primitive and an

[flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-02 Thread Tom Bray
Say you do this:mx:Loader id=photo source=image.jpg width=200 height=150 scaleContent=true/And the actual dimensions of image.jpg is 50x50. After the loader has loaded the image and scaled it, the loader's contentWidth and contentHeight say 50, but the image has been scaled to fit in the loader

[flexcoders] visual children must implement mx.core.IUIComponent

2006-03-02 Thread sufibaba
Hi All, I have the following: 1. ImageViewer.as 2. main.xml in ImageViewer.as, I have this class definition: public class ImageViewer extends Sprite { public funtion ImageViewer(){ // code } // other functions and code } in main.xml, I am calling: ImageViewer/ The error I am

RE: [flexcoders] Flex2 line chart and vertical axis

2006-03-02 Thread Brian O'Connor
Use a labelFunction, for example: private function currencyFormat(value:Number,prevValue:Number,axis:Object):String { return cf.format(value); } mx:CurrencyFormatter id=cf/ In graph. mx:verticalAxis mx:LinearAxis labelFunction=currencyFormat title=Whatever/

[flexcoders] Dashboard Tutorial

2006-03-02 Thread sergiosergiomon
Hi everyone! Nice to become part of this highly skilled and creative group, even though I am not one of you (yet!). Is there any tutorial based on how to build a dashboard like the one at http://weblogs.macromedia.com/flex_samples/dashboard/dashboard.html? Where is all the data acquired from?

RE: [flexcoders] Dashboard Tutorial

2006-03-02 Thread Jonathan Miranda
If you download the Flex 2 Beta 1, on the welcome screen theres the source code for itthe data is just being pulled from an XML file and its pretty straight forward. _ Jonathan Miranda Flexible Master of the Web Try not to become a man of

[flexcoders] 32kb limit in Flex 2.0?

2006-03-02 Thread Parekh, Shweta - BLS CTR
Title: 32kb limit in Flex 2.0? Hi, Does anybody know if there is the 32KB size limit on actionscript files in Flex 2.0 also? I know it is there in Flex 1.5. Thanks, Shweta -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

Re: [flexcoders] 32kb limit in Flex 2.0?

2006-03-02 Thread JesterXL
Title: 32kb limit in Flex 2.0? I think it's like 8 megs now. - Original Message - From: Parekh, Shweta - BLS CTR To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 4:36 PM Subject: [flexcoders] 32kb limit in Flex 2.0? Hi, Does anybody know if there is the 32KB size

RE: [flexcoders] repost - Memory leak repeatedly assigning new series to a chart. (2.0b1)

2006-03-02 Thread Ely Greenfield
Hi Thunder. It wouldn't surprise me if at this point there are leaks when you're swapping in series. We of course want to make sure these are all cleaned up before we ship, so If you can submit a bugfile, that would be great. Ely. -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] repost - ColumnChart MOUSE_OVER_DATA event bug (2.0b1)

2006-03-02 Thread Ely Greenfield
This should be fixed in latest builds. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Tuesday, February 28, 2006 1:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] repost - ColumnChart

[flexcoders] Re: repost - Memory leak repeatedly assigning new series to a chart. (2.0b1)

2006-03-02 Thread thunderstumpgesatwork
Ely, I'd be glad to help out in any way I can. Could you explain to me what a bugfile is and what information you'd like? Thunder --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Thunder. It wouldn't surprise me if at this point there are leaks when you're

RE: [flexcoders] visual children must implement mx.core.IUIComponent

2006-03-02 Thread Gordon Smith
Make ImageViewer extend UIComponent instead of Sprite. In order to do stuff like automatic layout, Flex containers expect their content children to be UIComponents. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba Sent:

[flexcoders] Flex and URL variables

2006-03-02 Thread Jonathan Miranda
Alright, Ive done this with Flash before but Im wondering how similar it is. Lets say I start my app @ http://mysite.com/index.mxml?number=3 Whats the easiest way to get that 3 into a variable in Flex? Using FlashVars in the embed/object tags and then somehow do

Re: [flexcoders] Flex and URL variables

2006-03-02 Thread JesterXL
Flex 1.5 or 2? - Original Message - From: Jonathan Miranda To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 5:49 PM Subject: [flexcoders] Flex and URL variables Alright, I’ve done this with Flash before but I’m wondering how similar it is.Let’s say I start my app

RE: [flexcoders] Flex and URL variables

2006-03-02 Thread Jonathan Miranda
Dos _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert Einstein HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL

[flexcoders] Re: can someone show me an example for the following

2006-03-02 Thread flexisgood
Thanks for that Tracy - I somehow managed to miss the tutorial when I searched through the cflex tutorials yesterday - the tutorial is precisely what I'm looking for. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You just have to loop over the values in the

Re: [flexcoders] Reading or Embedding SWFs?

2006-03-02 Thread Bruce Eckel
It turns out that Flex2 will not embed SWF files that are pre 8.5 (or maybe pre 8). This is apparently a bug that will be fixed in a later beta (possibly the next one).On 2/28/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Cool! I had heard of the trust files but never tried using it.Thanks

Re: [flexcoders] Flex and URL variables

2006-03-02 Thread JesterXL
Don't know the Flex 2 way. For Flex 1.5, I used Kevin Lynch's deep linking code. http://www.klynch.com/archives/76.html My implementation: http://www.jessewarden.com/archives/2005/10/code_share_real.html Basically, _javascript_ will set vars for you and you can use Kevin's class to

RE: [flexcoders] Authentication with Macromedia Flex

2006-03-02 Thread allister_dickson
Hi Dimitrios, From reading through your earlierposts I get the impression that you are using a two methods to authenticate users. Initially, you authenticate the user using standard J2EE form based authentication. Then when using a service if you receive an authentication fault you

[flexcoders] Re: visual children must implement mx.core.IUIComponent

2006-03-02 Thread sufibaba
Thanks Gordon, That worked. One other question regarding Sprite Drag and Drop. Situation: Have a box drawn by the Shape Class which is in a Sprite. I have the following code: Draw Rectangle -- private function draw

RE: [flexcoders] Authentication with Macromedia Flex

2006-03-02 Thread Dimitrios Gianninas
Hi Allister, Ok let me clear things up for you. We use WebLogic 8.1 around here, in Flex I present a login screen to the user where they enter their credentials. These credentials are passed to the server (using a RemoteObject - it is not secure, but only has one method doLogin() ) where

[flexcoders] Re: repost - Memory leak repeatedly assigning new series to a chart. (2.0b1)

2006-03-02 Thread thunderstumpgesatwork
Ely, I've sent an email directly to you as well, but I thought it may be good to post it too. Here is a simple demonstration of the memory leak when adding and deleting series. There are 4 components to this app: start/stop buttons, a ColumnChart, and a log window (to display the current loop

[flexcoders] Re: Flex 1.5 Hotfix

2006-03-02 Thread Eric Raymond
The url had very little information on the particulars of the hot fix. Two questions that arise are: 1) What is the exact behavior our customers will see if we do not apply this hot fix? (One assumes the behavior will be the same as unpatched IE after the hotfix?) 2) What does the generated

Re: [flexcoders] Re: Flex 1.5 Hotfix

2006-03-02 Thread John Dowdell
Eric Raymond wrote: The url had very little information on the particulars of the hot fix. Two questions that arise are: 1) What is the exact behavior our customers will see if we do not apply this hot fix? (One assumes the behavior will be the same as unpatched IE after the hotfix?)

[flexcoders] Re: Flex 1.5 Hotfix

2006-03-02 Thread Eric Raymond
FYI, I found this article: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp If I understand it correctly, the fict is to insert the embed tag programatically via an *external* javascript file. Also, the readme of the hotfix mentions a few

[flexcoders] Re: Authentication with Macromedia Flex

2006-03-02 Thread Dave Wolf
I am trying to understand why we all keep trying to make this so complex rather then taking advantage of the functionality that is already in Flex and your container (JRun, Tomcat etc). J2EE has a resonably simple model for handling authentication and access control that alleviates the

RE: [flexcoders] Reading or Embedding SWFs?

2006-03-02 Thread Roger Gonzalez
Not so. Flex does support embedding older SWFs. The only restriction is that because we can't mix-n-match bytecode formats, we strip out AS2 code. This is not likely to change. (In fact, Flex will not support embedding 8.5 and newer SWFs, because all assets are now classes, and we need

RE: [flexcoders] Re: Flex2: AS Number to Java Long mapping

2006-03-02 Thread Peter Farland
ActionScript 3 now has Number, int and uint. None of them can be null. Their value becomes 0 if set to null. If set to (or left as) undefined, Number will be NaN and int and uint will be 0. However, since Java does have both primitives and Object representations of Number, we're going to make the

Re: [flexcoders] Reading or Embedding SWFs?

2006-03-02 Thread JesterXL
It doesn't import your frame labels either, but it DOES work. Word of advice; embed your movieclip asset to a class rather than a variable. [Embed(source="your.swf")] public class YouClass extends MovieClip vs. [Embed(source="your.swf#SymbolName")] public var MySymbol:Class; -

[flexcoders] Understanding UIComponent

2006-03-02 Thread Bill Lane
I'm just getting started with Flex Beta. We are particularlyinterested in being able to create custom components using AS3. So Iam keen to get my head around the structure of UIComponent. In AS2 Isaw an excellent diagram that explained the sequence that methods wereexecuted and what

[flexcoders] Re: Flex/Coldfusion connectivity test app

2006-03-02 Thread anopres
I found the issue. CF is returning the object type in all lowercase, so instead of seeing com.mycompany.myapp.model.TestVO, I see com.mycompany.myapp.model.testvo. Is there a setting in one of the config files that would preserve the case? I currently have version 7,0,2,126814 of CF installed.

RE: [flexcoders] Re: Authentication with Macromedia Flex

2006-03-02 Thread Dimitrios Gianninas
Dave, I don't disagree with you, that will work and I have seen it work. But I don't like the little pop-up challenge window. For lack of a better term, I wanted a more presentable login screen for my end users, so with the wonderful component model that Flex provides, I created a LoginView

Re: [flexcoders] Re: Authentication with Macromedia Flex

2006-03-02 Thread Douglas Knudsen
But Dave described using a cusom screen instead of the grey security/login popup thingy. In the web.xml settings you can set the URL of a custom form for login. This form can be in HTML or whatever, eh? DK On 3/2/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Dave, I don't disagree with

Re: [flexcoders] Reading or Embedding SWFs?

2006-03-02 Thread JesterXL
...geez, I'm tired... that's: [Embed(source="your.swf", symbol="SymbolName")] public class YouClass extends MovieClip - Original Message - From: JesterXL To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 10:00 PM Subject: Re: [flexcoders] Reading or Embedding

Re: [flexcoders] Understanding UIComponent

2006-03-02 Thread JesterXL
You look like you're on the right track. For now (as of Beta 1), I think the only ones that actually matter event wise are: initialize creationComplete The only difference is initialize runs before allof the layout stuff, so if you need to do your own positioning/sizing, this is a good

RE: [flexcoders] Flex and URL variables

2006-03-02 Thread Gordon Smith
In Flex 2, the Application instance has a parameters property with name/value pairs for the URL parameters and FlashVars. So in an Application script you would just access parameters.number and it would be 3. From other scripts, you would use

RE: [flexcoders] Re: visual children must implement mx.core.IUIComponent

2006-03-02 Thread Gordon Smith
Change var sprite:Sprite = new Sprite(); to var uiComponent:UIComponent = new UIComponent(); Flex is heavily biased towards UIComponents: they support instantiation from MXML descriptors, invalidation, measurement, layout, focus management, drag management, etc., etc. Sprite supports

RE: [flexcoders] Understanding UIComponent

2006-03-02 Thread Gordon Smith
He wants to create custom components, so he needs to understand methods like createChildren(), commitProperties(), measure(), and updateDisplayList(). There should be a whole book in the documentation set about creating your own components, and it should cover basic methods like

RE: [flexcoders] Reading or Embedding SWFs?

2006-03-02 Thread Roger Gonzalez
If it doesn't import your frame labels, that's a bug. I don't know of any reason why those would be skipped. Not sure why you recommend embedding to the class rather than a variable, though. All that embedding to a variable does is generate a class for you and tweak your variable to

RE: [flexcoders] Re: How to dynamically invoke AS3 class constructor ?

2006-03-02 Thread Matt Chotin
We're not going to have that functionality in this version of AS3. You'll need to do something different. Like simulate by creating the object with a no-arg constructor and then having a well-known function like initArgs which you could call via Function.apply. public function createInstance

RE: [flexcoders] combobox in popup-window

2006-03-02 Thread Matt Chotin
Can you send an example? I don't think the ComboBox uses the PopUpManager. If you're getting a bug in automation values that's just a plain bug. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wesubotnix Sent: Wednesday, February 22,

RE: [flexcoders] Stop the logging

2006-03-02 Thread Matt Chotin
web-inf/flex/gateway-config.xml is where the Remoting logging would be. This is 1.5 right? If youre talking Flex 2 it will be flex-enterprise-services.xml. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Krueger Sent: Thursday, March 02,

RE: [flexcoders] weird bug with IE and states Flex2

2006-03-02 Thread Matt Chotin
I forwarded it on From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Thursday, March 02, 2006 10:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] weird bug with IE and states Flex2 take this code ?xml version=1.0

RE: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-02 Thread Matt Chotin
I believe that contentWidth/Height are supposed to return the scaled values, not the original values. So that might be a bug. Ill forward this on and see if anyone knows anything. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Bray Sent: Thursday,

[flexcoders] Re: How can we use Secure AMF wuth ColdFusion/Flex Connectivity?

2006-03-02 Thread sn197412
Hi, thank you for replay. Here is a destination configuration. destination id=ColdFusion channels channel ref=my-cfamf/ channel ref=my-secure-cfamf/ /channels properties source*/source lowercase-keysfalse/lowercase-keys /properties /destination Here is a channel

Re: [flexcoders] Flexlet's and Yahoo Widgets

2006-03-02 Thread Clint Modien
Got an example jess? Or a link to more info?I've been asked about this as well.On 3/2/06, JesterXL [EMAIL PROTECTED] wrote: You can easily create these using tools like mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone would create a framework around such

[flexcoders] XML pretty print func toXMLString for Flex 1.5

2006-03-02 Thread Clint Modien
Grabbed this off actionscript.org thought I'd share it with the group. http://www.actionscript.org/actionscripts_library/XML_Object/more3.shtml Had to tweak it a lil to get it to work but i think it was worth it.Credit goes to Ken Goulding | website http://www.eyeriss.comfor the

RE: [flexcoders] Flex2 bug with mx:Text, incorrect height with width=100%

2006-03-02 Thread Matt Chotin
It's looking right in B2 I think. I'd just add a resize handler for the application that updates the text width for now as a workaround. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit Hediard Sent: Thursday, March 02, 2006 8:46 AM To:

  1   2   >