[flexcoders] mx:Module problem

2008-02-07 Thread Swamy Nathan
Hi Folks, i am swaminathan, new enrty to flex2. i am using the menubar in my application, its is used to navigate many forms. am using the modules for each form. and i want to update the form entry to database... am using httpservice in module. the compilation error will occur. Parse error

[flexcoders] Image Source is not assigned

2008-02-07 Thread YOGESH JADHAV
Hi all, I am assigning an Image's source dynamically, but i don't see any image, whta wrong ? both my_image.source = http://myserver/images_dir +changing_variable+.jpg; and my_image.load(http://myserver/images_dir+changing_vaiable+.jpg;); are not working. I have

[flexcoders] Remote Object Security

2008-02-07 Thread slash_n_rose
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 a server generated GUID in each call?. 2) Is there any hack attacks reported against Flex applications especially in

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

2008-02-07 Thread Kevin
Maybe I am just being dense, but I can't figure out how rowIndex helps me since it is relative to the display on the screen and what i really need is to know the index of the current item relative to it's position in the data provider. For example, if I have 3 rows displayed (but 20 items in the

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

2008-02-07 Thread Tom Chiverton
On Wednesday 06 Feb 2008, Peter Connolly wrote: I have an app who's flashVars work on webpages but not in the debugger. Does your debugging session launch the wrapper, or the .swf directly ? -- Tom Chiverton Helping to efficiently scale clicks-and-mortar methodologies on:

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

2008-02-07 Thread Sunil Bannur
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 of the other chart to 50% to make some room for this chart. private function init():void { var c:ColumnChart = new ColumnChart();

[flexcoders] Tween Class buggy?

2008-02-07 Thread Giles Roadnight
Hi All I'm building a slide out menu. The requirement is when you mouse over a button it expands horizontally with a label in it. When you then click it it expands down with a form inside. If you don't click and mouse out it goes back to it's initial size. On the whole this works fine except

[flexcoders] components styleName

2008-02-07 Thread Ronen Naor
Hi, Is it possible using some technique to assign many styles to a component, for example: *mx:Button styleName=class1,class2/ *Thanks, Ronen.

[flexcoders] Re: RPC: AsyncToken.addResponder vs addEventListener?

2008-02-07 Thread andrii_olefirenko
they just reopened it, if i'm not mistaken --- In flexcoders@yahoogroups.com, Jerome Clarke [EMAIL PROTECTED] wrote: ok nevermind... I think I found it now... because I'm not installing BlazeDS... I just downloaded it and thought it all be there just like the Flex SDK itself blazeds /

Re: [flexcoders] RemoteObject question

2008-02-07 Thread Tom Chiverton
On Thursday 07 Feb 2008, [p e r c e p t i c o n] wrote: Is it possible to use RemoteObject without using flex data services? Yes. can some one point me to some tutorials or other resources? ColdFusion and AMFPHP, amongest others. -- Tom Chiverton Helping to vitalistically innovate dot-com

[flexcoders] Database field Datas to Combobox

2008-02-07 Thread Swamy Nathan
Hi, Please help me to put Database Table Field datas to Combobox. i have a Student Table, and the StudentNo is the Primary key. The form Shows the StudentNo : Combobox [retrive from the Student Table] and follow one datagrid, whcih is show the Entire Student Table fields. The functionality is

Re: [flexcoders] Image Source is not assigned

2008-02-07 Thread Sherif Abdou
http://myserver/images_dir/{changing_variable}.jpg; - Original Message From: YOGESH JADHAV [EMAIL PROTECTED] To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] Sent: Thursday, February 7, 2008 3:43:27 AM Subject: [flexcoders] Image Source is not assigned Hi all, I am

Re: [flexcoders] Image Source is not assigned

2008-02-07 Thread YOGESH JADHAV
sorry i was little bit late, actually i was assigning an integer value, which was used up somewhere in the code to create one of the parameters of string path. After applying toString method, it was working. On Feb 7, 2008 6:16 PM, Sherif Abdou [EMAIL PROTECTED] wrote:

Re: [flexcoders] Image Source is not assigned

2008-02-07 Thread Sherif Abdou
u can try using a loader too - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 7, 2008 6:46:40 AM Subject: Re: [flexcoders] Image Source is not assigned http://myserver/ images_dir/ {changing_ variable} .jpg - Original

RE: [flexcoders] Re: What are the available WSDL - AS3/Flex code generators out there?

2008-02-07 Thread Samuel R. Neff
Hard to say for sure without seeing the WSDL, but it looks like a Flex bug. I'd suggest posting a bug report and include a .NET sample that causes the bug to appear, along with WSDL, and the Flex project. Everything should be abbreviated to only include code necessary to reproduce the bug.

[flexcoders] Performance testing tool for flex application

2008-02-07 Thread post2chandu
Is there any performance testing tool available to test Flex Application which uses FDS?

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

[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

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

[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] Is there any way to use customized RemoteObject in mxml with mx:method?

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] Is there any way to use customized RemoteObject in mxml with mx:method?

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

[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:

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,

[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 opinion --

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] 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:

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 with

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 GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community From: flexcoders@yahoogroups.com [mailto:[EMAIL

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:

[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,

[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] 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: com:MyLabel max={myTextArea.lenght} / max is a custom property, i create getter and setter for this. But if i use direct value, without bind everything

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,

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

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

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:/path/project-name/bin/mxml-name.html# I found that I had made a stupid mistake. I had added the flashvars, var1=blahvar2=blah... to

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 the

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:

[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); }

[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)

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

[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

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:

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

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 mx:method?

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.showBusyCursor

[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

[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.

[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

[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 =

[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

[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 =

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:

[flexcoders] Compilation error when using localization

2008-02-07 Thread tuomas.glad
Hi, I'm trying to compile project with fi_FI locale and I keep getting compilation error 'Unable to resolve resource bundle charts for locale fi_FI'. If I change locale to en_US everything works fine. I'm using Flex 3 beta. Thanks, Tuomas

[flexcoders] flex hibernate probs

2008-02-07 Thread Luke Vanderfluit
Hi. More of the same. Im starting to feel like a spammer. Are there so few people using java and flex? I have been trying for many days to get this working. I want proof of concept of connecting to a hibernate back end with flex front end. I need help! I have an mxml file that specifies a

RE: [flexcoders] Datagrid: how to inline edit entire row

2008-02-07 Thread Dimitrios Gianninas
The screenshot you've shown looks like HTML to me, so obviously not a real DataGrid in the Flex sense. With Flex you can make the DataGrid editable so that each cell can view individually selected and edited. If that is what you want to accomplish then read the chapter on ItemRenderers and

RE: [flexcoders] Help upgrading to Flex 3

2008-02-07 Thread Dimitrios Gianninas
Haven't tried that...I would suggest you use Flex 3 with BlazeDS (the open source version of FDS) since its all free! :) That would be the easiest solution and less headaches. http://labs.adobe.com/technologies/blazeds/ Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc.

[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] 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: 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

[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

[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

[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

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

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

[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 of the

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

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

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

[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();

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] 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 =

[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

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.

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

[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

[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 there any

[flexcoders] assertion in flexunit testcases using cairngorm

2008-02-07 Thread post2chandu
how to put assertion in flexunit testcases using cairngorm? Issue:we are using cairngorm with flex unit test cases then the test cases are getting executed before the result method of the command class as we are implementing IResponder interface, because of which we are having problem putting

[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] 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

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 recommend iText

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

[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] pass Array from Flex to cfc and pass Array from cfc to Flex?

2008-02-07 Thread Jeffry Houser
cffunction nameGetArray returntype=array access=Remote !--- CF Code to create and populate an array -- cfreturn myArray /cffunction 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

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,

[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 notice that

[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

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: flexcoders@yahoogroups.com Sent: Thursday, February 07, 2008 6:19 PM Subject: RE: [flexcoders] What is the best way

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

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

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:

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 something?

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] 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/

[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] 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 * GTO

  1   2   >