Re: [flexcoders] Re: Finding the x,y-coordinate position of a component

2008-02-07 Thread Josh McDonald
Listen to updateComplete perhaps? If that doesn't work, I'm not sure what will. -Josh On Feb 8, 2008 3:04 PM, derelkington <[EMAIL PROTECTED]> wrote: > Thanks for the help. I had tried localToGlobal, but I guess only on the > parent containers > but not on the button itself. > > This had led t

[flexcoders] setting focus to an itemeditor in a list

2008-02-07 Thread Dimitrios Gianninas
Tried a few things but didn't work, anyone now how to set focus to an itemeditor of a particular row in a List/DataGrid ? Basically when a user adds a new row I want to be able to put his cursor right there to begin editing immediately. Dimitrios Gianninas Optimal Payments Inc. -- WARNING ---

[flexcoders] Re: Remote Object Security

2008-02-07 Thread slash_n_rose
Could you please check this? --- In flexcoders@yahoogroups.com, "slash_n_rose" <[EMAIL PROTECTED]> wrote: > > Hi All > > 1) Is there any security flaws in RemoteObject? I'm using Remoteobject > to call my cfcs and need to secure my application without > session. Is it a better method to check

[flexcoders] Re: Finding the x,y-coordinate position of a component

2008-02-07 Thread derelkington
Thanks for the help. I had tried localToGlobal, but I guess only on the parent containers but not on the button itself. This had led to a new problem, however... the resulting coordinates are not correct if I try and find them any time during the creation/initialization process. Even if findi

[flexcoders] Builder auto-complete not working for one class

2008-02-07 Thread Josh McDonald
Hi guys, maybe you can help me... I have one class that is auto-complete-proof. I can't find it with auto-complete from other classes, nor can I auto-complete when I'm editing it. Everything is compiling and running just fine, and the same class seems to work fine in another project. I've seen sim

[flexcoders] Flexible grid : Multiple lines in one data row

2008-02-07 Thread Harry Saputra
Dear Friend, I have build datagrid in jsp that can show multiple lines in one data row like that : Column a| Column b - 1 | a | b | c 2 | d | e | f And it's simple, just usin

Re: [flexcoders] Re: Finding the x,y-coordinate position of a component

2008-02-07 Thread Josh McDonald
I believe to find the global position of myButton, call myButton.localToGlobal(new Point(0,0)); -Josh On Feb 8, 2008 11:53 AM, luvfotography <[EMAIL PROTECTED]> wrote: > Hi, try looking at the localToGlobal method: > Converts a Point object from the local coordinate system to the > global coo

[flexcoders] Shortcut to generate bindings for left="foo" right="foo" etc? Or styles?

2008-02-07 Thread Josh McDonald
Hi guys, Is there some sort of shortcut method to programmatically generate the bindings to emulate the anchor system that you have access to when you're defining your GUI in MXML? If not, what exactly does the MXML->AS compiler generate? I'd like to be doing things "the right way". Or, is it sim

[flexcoders] Re: Finding the x,y-coordinate position of a component

2008-02-07 Thread luvfotography
Hi, try looking at the localToGlobal method: Converts a Point object from the local coordinate system to the global coordinate system. --- In flexcoders@yahoogroups.com, "derelkington" <[EMAIL PROTECTED]> wrote: > > Hi everyone, I'm having trouble trying to find the x,y-coordinate position of

[flexcoders] Flex Coverflow or Carousel

2008-02-07 Thread Harry Saputra
I have try to use flex coverflow from : http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improvement -flex-carousel-component-and-vertical-coverflow/ But I can't use correctly. I have download all requirement thing like papervision3D, and compile some script to SWC file, but It sti

Re: [flexcoders] Re: What is the best way to add a day to a date?

2008-02-07 Thread Muzak
Works fine here using "2008/11/02" as the starting date, but that's probably because winter time kicks in on a different date here (which I don't know). Summer time kicks in on "2008/03/30" so I tried that instead. Notice that the new date has 1 hour added. I guess when using the winter time it

[flexcoders] Re: What is the best way to add a day to a date?

2008-02-07 Thread Doug Lowder
It's not that simple, because of Daylight Savings Time. Try the following on a machine with the timezone set to something that follows DST: var ms:Number = 24*60*60*1000; var d:String = "2008/11/02"; var newDate:Date = new Date(Date.parse(d)+ms); You'll get the same day, 2008/11/02, because No

[flexcoders] Re: Remoting over SSL

2008-02-07 Thread Don Kerr
Try hardcoding your url in the endpoint in services-config.xml I created this services-configAIR.xml file and it works for AIR. I also use this for SSL Flex apps, but without the hardcoded "http://www.synapsenow.com/flex2gateway/"; url Don

[flexcoders] Refreshing Page

2008-02-07 Thread cool buddy
Hi, I developed a small application in FLEX.. Whenever i refresh a page it goes back to the HOME page.Is there anything wrong in the coding... For example there is a user registration page...when i refresh the page it goes back to the HOME page.. Does anyone have any idea?? please post it.. Tha

[flexcoders] DateChooser - "selected" vs "today" highlighting

2008-02-07 Thread Josh McDonald
Hi guys, I've noticed there doesn't seem to be a nice way to show the current date and selected date in a way that makes it clear that a date is in fact selected if you choose the current day. Am I missing something obvious here, or is there another solution? Cheers, -Josh -- "Good people will

[flexcoders] how do I modify the html to pass a version parameter?

2008-02-07 Thread luvfotography
I would like the equivalent of this line, where I pass a version parameter: http://www.adobe.com/go/getflashplayer"; );

[flexcoders] Re: Compilation error when using localization

2008-02-07 Thread robertvollmar
Hi, Does this info. help? http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization - Rob --- In flexcoders@yahoogroups.com, "tuomas.glad" <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to compile project with fi_FI locale and I keep getting > compilation error

[flexcoders] Re: generate unique colors for per-item fill

2008-02-07 Thread Don Kerr
Thank you Sherif. For now, I solved it with a ColdFusion function and a Flex fillFunction private function myFillFunction(element:ChartItem, index:Number):IFill { var item:PlotSeriesItem = PlotSeriesItem(element); var randColor:SolidColo

[flexcoders] Finding the x,y-coordinate position of a component

2008-02-07 Thread derelkington
Hi everyone, I'm having trouble trying to find the x,y-coordinate position of components within my application. I'm a brand new Flex developer with experience in Java, C, Python, PHP, ColdFusion, etc. but no experience with Flash or ActionScript. In short, my question is: is there an easy way

Re: [flexcoders] handling events from embedded swf assets

2008-02-07 Thread Bjorn Schultheiss
Its definitely possible. of course you have to register to listen to it. Its Interesting the way loading and unloading of swfs work in flash9. You probably already know, but the swf is unloaded after it is loaded automatically. watch the console. to clean it up all you need to do is remove

[flexcoders] Scroll while Dragging

2008-02-07 Thread jmfillman
Has anyone come up with an efficient way to scroll a container up and down while dragging? I can't seem to find the magic formula for calculating the verticalScrollPosition based on the mouse position.

RE: [flexcoders] createPopUp question

2008-02-07 Thread Paul Kukiel
Try this: var helpWindow:WhatToShow = WhatToShow(PopUpManager.createPopUp(parent, WhatToShow, true); PopUpManager.centerPopUp(helpWindow); Paul. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Friday, 8 February 2008 4:56 AM To: flexcode

Re: [flexcoders] Generated Digitally Signable PDF's

2008-02-07 Thread Jeffry Houser
I believe that PDFs, by their very nature, can be digitially signed. I personally use Adobe Acrobat to do so. Were you looking for a server side solution to digitally sign PDF documents? You might look into LiveCycle, although I do not know if this is supported. The thought of a comput

Re: [flexcoders] pass Array from Flex to cfc and pass Array from cfc to Flex?

2008-02-07 Thread Jeffry Houser
Then use RemoteObject in Flex to call the GetArray method on your CFC. In the result handler you can access the array in the result parameter of the result object. Did you have a specific problem or question? markflex2007 wrote: > > > Hi, > > The index start from 0 in

[flexcoders] handling events from embedded swf assets

2008-02-07 Thread JWOpitz
I have a as3 swf w/ various movie clip assets in it. Some of them are dispatching bubbling events that I want to listen for in order to unload those assets afterwards. In the flex app I have an AssetImporter class that has bindable prop like so: [Bindable] [Embed(source="assets/swf/someSwf.swf",

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Sherif Abdou
but wouldnt that take more memory? - Original Message From: Eric Cancil <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, February 7, 2008 1:50:16 PM Subject: Re: [flexcoders] Re: is this how to use commitProperties It may be more code - But not only is it best practice

Re: [flexcoders] Re: BlazeDS, pdf generation, et al

2008-02-07 Thread Jeffry Houser
netdeep wrote: > > > Thanks for the reply. I am completely new to programming on the server > side working > only with stand alone apps in the past. > > We have no solution in place for PDF generation at the moment on the > server. And > whatever we do has to be open source. I'd recommen

RE: [flexcoders] What is the best way to add a day to a date?

2008-02-07 Thread Kevin Aebig
Yeah, that works too... =] !k -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Thursday, February 07, 2008 4:16 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] What is the best way to add a day to a date? or: var ms:Numbe

RE: [flexcoders] defining a javascript function from actionscript?

2008-02-07 Thread hemadri.info
if (ExternalInterface.available) { ExternalInterface.call(''); } you can use ExternalInterface.call in actionscript to call any java script function. The javascript can be wrapped in script block of index.template.html. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Beha

RE: [flexcoders] Scrolling a list in firefox with the mouse wheel

2008-02-07 Thread Jerry DuVal
For those with this problem in the future I figured it out. I added the wmode="transparent" to the embed tag to fix a bug in IE not letting HTML hover over the flash object, but this had a adverse side affect on Firefox disabling the wheel mouse scrolling. So I modified my code to only add the pa

[flexcoders] Re: ColumnChart - creating multiple Linear Axis via ActionScript - Help!

2008-02-07 Thread EddieBerman
I see the step I missed. Much appreciated Sunil. -Eddie --- In flexcoders@yahoogroups.com, "Sunil Bannur" <[EMAIL PROTECTED]> wrote: > > Just use the following, p is the panel and h1 is the horizontal Axis, > I'm using the same axis created by your code snippet, also changed the > width, height

RE: [flexcoders] Remoting over SSL

2008-02-07 Thread Paul Kukiel
Anyone? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kukiel Sent: Wednesday, 6 February 2008 12:51 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Remoting over SSL Ok I figured it out I removed the endpoint from the RemoteObject tag and it worked.

[flexcoders] Re: Question on using RPC WebService Call

2008-02-07 Thread Todd
For more details on what's happening, I hope I don't confuse the situation with too much data here: I have a delegate that has a method called GetData and GetData2: public function GetData():void { var token:AsyncToken = ws.GetData(); token.addResponder(this.resp

Re: [flexcoders] HTTP requests security

2008-02-07 Thread Stephen Allison
> If I do the following: > > 1) Compile a Flex application with some password stored in a variable > 2) Publish the SWF file on the web > 3) Send the password from running application over the wire via HTTPS > > is it possible for a hacker to somehow find out this password? > Decompile SWF or somet

Re: [flexcoders] question on text encoding

2008-02-07 Thread Ben Marchbanks
There are several JS based sanity checks out on the web that you can adopt to AS. One important factor is preserving UTF8 once you have it in Flex. All data transactions as well, should be UTF8. For example: your server-side script (bi-directionally) for UTF8 And your database should be setup f

[flexcoders] Re: BlazeDS, pdf generation, et al

2008-02-07 Thread Gus
maybe you could take a look at SHARE... it has an actionscript api for uploading and downloading documents, plus other functionality and give you links so you can access the docs later... its in beta but seems interesting http://labs.adobe.com/technologies/share/ HTH Gus --- In flexcoders@yahoo

Re: [flexcoders] What is the best way to add a day to a date?

2008-02-07 Thread Muzak
or: var ms:Number = 24*60*60*1000; var d:String = "2008/12/20"; var newDate:Date = new Date(Date.parse(d)+ms); - Original Message - From: "Kevin Aebig" <[EMAIL PROTECTED]> To: Sent: Thursday, February 07, 2008 6:19 PM Subject: RE: [flexcoders] What is the best way to add a day to a dat

[flexcoders] CellRenderer in AS3/Flex 2 vs. Flash 8/AS2

2008-02-07 Thread Merrill, Jason
Does anyone know if the CellRenderer for datagrids in AS3/Flex 2 framework has been improved and made easier to code than it was in AS2/Flash 8 framework? Reason I ask is, I used it extensively in an AS2 project I worked on, and while I got it to work, it was a royal pain to figure out and get it

[flexcoders] Re: Question on using RPC WebService Call

2008-02-07 Thread Todd
In regards to my first part, I'm aware that I can cast from ObjectUtil to XMLList, I guess I'm more curious on the differences in implementation between rpc and mxml-based WebService. --- In flexcoders@yahoogroups.com, "Todd" <[EMAIL PROTECTED]> wrote: > > Hello I have 2 Questions > > 1) I noti

Re: [flexcoders] defining a javascript function from actionscript?

2008-02-07 Thread Vadim Melnik
Hello, Something like listed below should work with IE browser: ... ExternalInterface.call("eval", "f1=function(x){alert(''+x);}"); ExternalInterface.call("f1", 123); ... -- Thanks, Vadim. - Original Message - From: vijay95052 To: flexcoders@yahoogroups.com Sent: Thursday, F

Re: [flexcoders] Generated Digitally Signable PDF's

2008-02-07 Thread Sherif Abdou
Doesn't LiveCycle have an option to do that? - Original Message From: Nick <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, February 7, 2008 3:48:37 PM Subject: [flexcoders] Generated Digitally Signable PDF's Hello all! I am currently working on a project that will re

[flexcoders] Question on using RPC WebService Call

2008-02-07 Thread Todd
Hello I have 2 Questions 1) I notice that when using mx.rpc.soap.WebService (instead of mx.rpc.soap.mxml.WebService) that there's no property resultFormat. Is there a way for my RPC-based WebService to return e4x? Or, do I manually do the conversion 2) When using the mxml.WebService, do I have

[flexcoders] Generated Digitally Signable PDF's

2008-02-07 Thread Nick
Hello all! I am currently working on a project that will require the generation of a PDF from a Microsoft Word file. I am developing a Flex front end to enable users to upload documents to a "document server" for which they will be saved in PDF format. Due to regulatory reason these PDF's should

Re: [flexcoders] defining a javascript function from actionscript?

2008-02-07 Thread Mark Bradley
This seems to work: 1) Create a function called 'hello'. 2) Call it with a parameter. ExternalInterface.call( "eval", "window.hello = function( who ) { alert( who ); }" ); ExternalInterface.call( "hello", "Mark" ); -Mark On Feb 7, 2008, at 2:10 PM, vijay95052 wrote: Hello Is the

[flexcoders] Scrolling a list in firefox with the mouse wheel

2008-02-07 Thread Jerry DuVal
When scrolling a mx:list in Firefox using the mouse wheel , the flash object always loses focus and the browser scrolls the html page up and down instead of the list. This is a embedded app. IE works perfect, any idea's? Jerry DuVal Pace Systems Group, Inc. 800.624.5999 www.Pace2020.com

Re: [flexcoders] Re: BlazeDS, pdf generation, et al

2008-02-07 Thread Christoph Guse
Hi, if you use BlazeDS you can use RemoteObjects. You can directly trigger RemoteObjects in your AS3 classes. RemoteObjects are JavaObjects in BlazeDS. For PDF creation you could have a look at ujac. For our reporting project we use BlazeDS in combination with ujac and it works fine. Regar

[flexcoders] Multiple NetConnections sometimes fail to load in Firefox

2008-02-07 Thread Aaron Miller
Hello, I ran into an issue with my Flex 2 app running in FireFox. I am using NetConnection to remote data from AMFPHP 1.9 and when the application starts it will start loading a few different pieces simultaneously. I have notice that with FireFox it will only load all the data 2/10 times, while in

[flexcoders] pass Array from Flex to cfc and pass Array from cfc to Flex?

2008-02-07 Thread markflex2007
Hi, The index start from 0 in Flex and index start from 1 in Coldfusion. How to pass array between Flex and CFC? Please give me a idea. Thanks Mark

[flexcoders] Re: BlazeDS, pdf generation, et al

2008-02-07 Thread netdeep
Thanks for the reply. I am completely new to programming on the server side working only with stand alone apps in the past. We have no solution in place for PDF generation at the moment on the server. And whatever we do has to be open source. We don't want to send the actual reports via em

[flexcoders] Adobe SDK, why flex comps accept bind in properties and custom comps dont?

2008-02-07 Thread danielvlopes
Hello, i observe a strange behavior when i try extend label component to do a character counter. I try pass to my comp something like this: max is a custom property, i create getter and setter for this. But if i use direct value, without bind everything work, like this: Why custom components d

Re: [flexcoders] defining a javascript function from actionscript?

2008-02-07 Thread Jeffry Houser
You can play around with the External Interface. Although I don't think you can define it in one call and then call it later. If you're serving a remote swf you may run into security sandbox issues. I'm not sure what situation would make this 'more ideal' than changing the HTML, though.

[flexcoders] Re: private constructor in action script

2008-02-07 Thread rueter007
Yes. So, you still have to check if whatever passed inside the constructor is what you are expecting and not null and throw an error if it is not right. But for most cases, this approach is still better than throwing only a run time error. --- In flexcoders@yahoogroups.com, Maciek Sakrejda <[EMAIL

RE: [flexcoders] Re: Display Custom ItemRenderer based on previous value in List

2008-02-07 Thread Tracy Spratt
If you are using an ArrayCollection or XMLListCollection, getItemIndex(item) returns the index in the DP. If you are using an XMLList, childIndex() returns the index of the node within its parent. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PR

[flexcoders] defining a javascript function from actionscript?

2008-02-07 Thread vijay95052
Hello Is there any way i can make the actionscript/flex code in a swf to insert a javascript function in the wrapper HTML? we have a need to provide a javascript function in the wrapper HTML - instead of having to write a custom HTML that includes the javascript function and the swf, i was won

[flexcoders] question on text encoding

2008-02-07 Thread Body Works Studio
Hello all, I wanted to know is it possible for flex to determine what encoding the text being entered in to a textInput, textArea, or HTMLTextInput is using. Thr concern is a user copies and pastes in text from say a Microsoft product. The reason I ask is we have UTF8 encoding for the project, a

Re: [flexcoders] flashVars not passed in Flex 3 Builder's debugger?

2008-02-07 Thread Peter Connolly
> Does your debugging session launch the wrapper, or the .swf directly ? It launches the wrapper. And after taking a closer look at the wrapper: file:///C:///bin/.html# I found that I had made a stupid mistake. I had added the "flashvars", "var1=blah&var2=blah..." to the **first** AC_FL_Ru

Re: [flexcoders] Re: private constructor in action script

2008-02-07 Thread Maciek Sakrejda
Determined users can still pass null to the constructor, no? We're currently throwing an exception if the singleton exists and its constructor is invoked, but I suppose this approach is a little cleaner. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: m.ar

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Eric Cancil
It may be more code - But not only is it best practices, it's also using the framework to your advantage, and is far more efficient. On Feb 7, 2008 2:19 PM, Merrill, Jason <[EMAIL PROTECTED]> wrote: >My opinion is that is a lot of code to wade through! > > > Jason Merrill > *Bank of America *

Re: [flexcoders] Re: Flex Interview Questions

2008-02-07 Thread Eric Cancil
Nick, you make a really good point, and bring up some great questions. -Eric On Feb 7, 2008 2:34 PM, Uber_Nick <[EMAIL PROTECTED]> wrote: > Tom makes a good point. It depends on what kind of skills you want to > bring in. ecancil's suggestions are ok if you're looking to do a lot > of work wit

[flexcoders] Re: Flex Interview Questions

2008-02-07 Thread Uber_Nick
Tom makes a good point. It depends on what kind of skills you want to bring in. ecancil's suggestions are ok if you're looking to do a lot of work with custom components. When getting developers to help create "standard" application, I'd weigh a lot more heavily on the as3 questions. Aside from

RE: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Merrill, Jason
My opinion is that is a lot of code to wade through! Jason Merrill Bank of America GT&O L&LD Solutions Design & Development eTools & Multimedia Bank of America Flash Platform Developer Community From: flexcoders@yahoogroups.com [mailto:[EMAI

RE: [flexcoders] Extending Base Classes

2008-02-07 Thread Kevin Aebig
For the List classes that works well, but the RPC source hasn’t been released near as I can tell. !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Cancil Sent: Thursday, February 07, 2008 1:12 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcode

Re: [flexcoders] Extending Base Classes

2008-02-07 Thread Eric Cancil
You do realize you can import the Flex framework directly into your eclipse, so anytime you need to open a class, just hit CTRL + SHIFT + T and type it in That works best. -Eric On Feb 7, 2008 1:43 PM, Kevin Aebig <[EMAIL PROTECTED]> wrote: >Actually I'm currently using the Scheduling Fr

RE: [flexcoders] Extending Base Classes

2008-02-07 Thread Kevin Aebig
Actually I’m currently using the Scheduling Framework, but have found that it doesn’t scale with fluid layouts, which is a big problem in the application I’m building. Thanks anyhow, !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Giannin

Re: [flexcoders] Re: is this how to use commitProperties

2008-02-07 Thread Sherif Abdou
so good? bad? any opinions? - Original Message From: Sherif Abdou <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Wednesday, February 6, 2008 9:53:43 PM Subject: Re: [flexcoders] Re: is this how to use commitProperties if anyone cares to check, is this how your suppose to do th

Re: [flexcoders] createPopUp question

2008-02-07 Thread Sherif Abdou
look to see what Flex takes in under WhatToShow I think it might by Display Object and do WhatToShow as (Whatever the parameter is). sorry no where near flex so i cant be more percise. - Original Message From: markgoldin_2000 <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thu

Re: [flexcoders] Some Advises.

2008-02-07 Thread Gustavo Duenas
Hi Abdullah, I have this error when I starget getting in your website: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Comp::Home/creationCompleteHandler() at Comp::Home/___Operation1_result() at flash.events::EventDispatcher/ flash.

[flexcoders] Flex3beta3 - Any way to get stacked columns to select as one?

2008-02-07 Thread Pan Troglodytes
I like the new selection support, but one thing kind of bothers me. As of yet, I have found no way to select a stacked column series as a single unit. I think it would be nice to be able to set it so that rather than selecting different pieces of the stack, it selected the whole thing. Is there

RE: [flexcoders] Extending Base Classes

2008-02-07 Thread Dimitrios Gianninas
Cant help with RemoteObject, but for the List based on, use the link below an scroll to the bottom and take a look at the Scheduling framework http://code.google.com/p/flexlib/wiki/ComponentList Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. __

RE: [flexcoders] RemoteObject question

2008-02-07 Thread Dimitrios Gianninas
You are on base yes, look at BlazeDS it does exacty what you want: http://labs.adobe.com/technologies/blazeds/ Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [p e r

Re: [flexcoders] RemoteObject question

2008-02-07 Thread [p e r c e p t i c o n]
perhaps i should be more specific...i have a j2EE server and i want to use the RemoteObject to call methods on pojos...how do i achieve this...are there any articles that speak to this...i read some that mentioned flex data services but i don't think i need this do i? in flash i've used open amf, b

[flexcoders] Re: HTTPService or URLRequest Request header Question

2008-02-07 Thread gli1_2000
Then what is a possible alternative to get around this? Anyone has suggestions? --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > this is true, you can't use authorization token in headers anymore > within Flash Player. > > This is big step backwards in my opini

[flexcoders] createPopUp question

2008-02-07 Thread markgoldin_2000
Sorry have to ask that again. How can I make this function working: public function showPopupWindow(parent:DisplayObject, WhatToShow:String):void { var helpWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(parent, WhatToShow, true)); PopUpManager.centerPopUp(helpWindow); } create

[flexcoders] HTTP requests security

2008-02-07 Thread Borek
Hello, If I do the following: 1) Compile a Flex application with some password stored in a variable 2) Publish the SWF file on the web 3) Send the password from running application over the wire via HTTPS is it possible for a hacker to somehow find out this password? Decompile SWF or something?

RE: [flexcoders] Re: Still Tree

2008-02-07 Thread Alex Harui
You said in the prior email that when you drag the icons do not appear, now you say the icons are fine. I'm not really willing to help you define which problems you are trying to solve. The points to keep in mind are: 1) invalidation will cause the expand tween to not play 2) ico

RE: [flexcoders] mx:Module problem

2008-02-07 Thread Alex Harui
Make sure you can use HTTPService in a regular (no modules) application so you know you are using it correctly. Then when you move it to a module, you'll either have to move the entire service or get a reference to the shared service in the main app. From:

RE: [flexcoders] Re: Display Custom ItemRenderer based on previous value in List

2008-02-07 Thread Alex Harui
Add verticalScrollPosition to get the DP index From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Thursday, February 07, 2008 2:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Display Custom ItemRenderer based on

RE: [flexcoders] What is the best way to add a day to a date?

2008-02-07 Thread Kevin Aebig
Create a date object with the string, than add the day to it like this: newDate = new Date(a[0], a[1], a[2]); newDate.seconds += 8640; // seconds in a day or (60*60*24) !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Thursday, February

RE: [flexcoders] Extending Base Classes

2008-02-07 Thread Kevin Aebig
Hi Dimitrios, For the List based Component: I’m looking to make a component that would be the same as a timesheet. Basically a vertical list of time slots where items can be dragged and resized to reflect time ranges inside of a day. The key with this is that the time ranges could occupy mu

[flexcoders] Is it possible to call a command automatically when compiling ends?

2008-02-07 Thread João
Is it possible to configure FB so that after the compiling ends, an external command is called? I know that if i use ant tasks this might be solved, but I was looking for something simpler. Does this feature exists? Is there any simple and straightforward way to achieve this? Thanks, João Sale

RE: [flexcoders] Extending Base Classes

2008-02-07 Thread Dimitrios Gianninas
can u talk in a bit more detail in both cases of what specific needs u have? Cause for the List based component, maybe an item renderer will solve your problem. Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From: flexcoders@yahoogroup

Re: [flexcoders] Is there any way to use customized RemoteObject in mxml with ?

2008-02-07 Thread Fidel Viegas
Sorry, I didn't read it properly. I thought you were using WebService.

Re: [flexcoders] Is there any way to use customized RemoteObject in mxml with ?

2008-02-07 Thread Frederico Garcia
Which RemoteObject are you extending? mx.rpc.remoting.RemoteObject or mx.rpc.remoting.mxml.RemoteObject? Try extending the latter. Regards, Frederico Garcia den.orlov escreveu: > I wrote RemoteObject's sublcass that contains functionality common > for all my appp's RemoteObjects: > > public dyn

Re: [flexcoders] Is there any way to use customized RemoteObject in mxml with ?

2008-02-07 Thread Fidel Viegas
On Feb 7, 2008 5:38 PM, den.orlov <[EMAIL PROTECTED]> wrote: > I wrote RemoteObject's sublcass that contains functionality common > for all my appp's RemoteObjects: > > public dynamic class MyRemoteObject extends RemoteObject { > > public function MyRemoteObject() > { > super(); > this.showB

[flexcoders] Is there any way to use customized RemoteObject in mxml with ?

2008-02-07 Thread den.orlov
I wrote RemoteObject's sublcass that contains functionality common for all my appp's RemoteObjects: public dynamic class MyRemoteObject extends RemoteObject { public function MyRemoteObject() { super(); this.showBusyCursor = true; this.requestTimeout=10;

Re: [flexcoders] HTTPService or URLRequest Request header Question

2008-02-07 Thread João Fernandes
this is true, you can't use authorization token in headers anymore within Flash Player. This is big step backwards in my opinion -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org

[flexcoders] Re: cursormanager and icons - can't seem to remove the original pointer

2008-02-07 Thread maunger
Ok, hit me over the head with a brick! problem solved - it wasn't a problem at all! I'm using Microsoft's Remote Desktop Connection to use my macintosh to connect to the windows computer that i'm using for work (this way i don't need multiple monitors, i can run both machines with my 24" iMac

Re: [flexcoders] Re: What is the best way to add a day to a date?

2008-02-07 Thread Scott Melby
seems doing this you could easily end up with 2008/12/32 :) I'd parse the data, then create a Date object. Adding a day to a Date should be as simple as myDate.time += (24 * 60 * 60 * 1000); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com rmarples wrote:

[flexcoders] HTTPService or URLRequest Request header Question

2008-02-07 Thread gli1_2000
I am trying to make a HTTPService or URLRequest call to a remote service. This call needs user authentication and I tried to put username/password into the code and use the request header to send these parameter. So far no success in making the call. Some search indicates may has something to d

[flexcoders] Extending Base Classes

2008-02-07 Thread Kevin Aebig
Hey all, I have a couple components I'd like to develop and use some of the base classes to do it. The only issue I'm having is because we can't see the inner workings of some of the base classes, it makes it more difficult to know how to extend off of them, or which is the best for the job. So

[flexcoders] Flex 3 Beta 3 Problem with ImageSnapshot, IE crash when image is too big.

2008-02-07 Thread dantragxh
I created a button that when clicked, capture an image of a chart, encode it into base64 format and then send it out to a webservice. The problem i'm having is that when the image size seem to go close to 100k, the whole browser crash when running this line: encodedData = ImageSnapshot.encodeIm

Re: [flexcoders] RemoteObject question

2008-02-07 Thread Jeffry Houser
Yes Google ColdFusion and/or WebORB. It seems likely that BlazeDS may have support for RemoteObject, but I haven't researched it. [p e r c e p t i c o n] wrote: > > > Dear Friends, > Is it possible to use RemoteObject without using flex data services? > can some one point me to some tuto

[flexcoders] Re: What is the best way to add a day to a date?

2008-02-07 Thread rmarples
Sorry, first post didn't come through properly. Try this: var origDateString:String = "2008/12/31"; var dateItems:Array = origDateString.split("/"); var newDate:Date = new Date(dateItems[0], Number(dateItems[1])-1, Number(dateItems[2])+1); var newDateString:String = newDate.getFullYear() + "/" +

[flexcoders] Re: What is the best way to add a day to a date?

2008-02-07 Thread rmarples
--- In flexcoders@yahoogroups.com, "Mark" <[EMAIL PROTECTED]> wrote: > > I'm getting dates in my XML formatted like this: > > 2008/12/20 > > In some cases in my Flex app I need to add 1 day to that date. What > is the best way to do that? Right now I'm working it out this way: > > s = chartDates

[flexcoders] Re: System level information in AIR?

2008-02-07 Thread andrewwestberg
As far as I know, this isn't supported. I've submitted an enhancement ticket for some type of generated unique id (since the mac address is considered private data you wouldn't want a flex website to have). It would have to be one-way hashed from something hardware-related like a mac address that

[flexcoders] Re: Undo/redo for flex & cairngorm

2008-02-07 Thread kaleb_pederson
As I'm the author, I'd be interested as well ;). Since we're on the topic, I have a couple of related questions to people: 1) Would a non-cairngorm version of the Undo/Redo framework be useful? 2) Is the GPL License a problem for anybody? I tried initially to remove any dependence on Cairngorm

[flexcoders] What is the best way to add a day to a date?

2008-02-07 Thread Mark
I'm getting dates in my XML formatted like this: 2008/12/20 In some cases in my Flex app I need to add 1 day to that date. What is the best way to do that? Right now I'm working it out this way: s = chartDates.getItemAt(0).globalDeadline; a = s.split("/"); newDate = a[0]+"/"+a[1]+"/"+(Number(

RE: [flexcoders] RemoteObject question

2008-02-07 Thread Dimitrios Gianninas
Yes it is, you can use BlazeDS, but you have to use Flex 3 http://labs.adobe.com/technologies/blazeds/ Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [p e r c e p

Re: [flexcoders] Tween Class buggy?

2008-02-07 Thread Tom Chiverton
On Thursday 07 Feb 2008, Giles Roadnight wrote: > For all of the effects I am using a Tween class. I decided to use a > tween as I need to move and resize the canvas that slides out. Would a Parellel effect not work as well ? -- Tom Chiverton Helping to conveniently maintain B2C services on: ht

[flexcoders] Undo/redo for flex & cairngorm

2008-02-07 Thread mydarkspoon
Hello, I want to implement an undo/redo mechanism into an existing cairngorm app. I found the flex UndoRedo framework to be quite interesting, but since it's a framework and the operation of implementing the undo-redo is quite a lot of work, I'd be really glad to know what people who tried it think

  1   2   >