[flexcoders] Function Execution Time

2009-10-30 Thread kanu kukreja
How can I find/get execution time of particular function data?

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
This is what I have assuming I use the lib directory structure and not my app structure? [RemoteClass(alias=flare.vis.data.DataList)] public class DataList extends Proxy implements IEventDispatcher The actual directory structure is(notice src):

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread Alex Harui
The alias shouldn't really matter since you are writing the stream and reading it. The alias matters when a server is sending data with those types in it. I think because your class is based on Proxy, you may have to implement IExternalizable in order to get this to work. Alex Harui Flex SDK

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Getting error 1144: Interface method readExternal in namespace flash.utils:IExternalizable is implemented with an incompatible signature public class Data extends EventDispatcher implements IExternalizable public function writeExternal(output:IDataOutput) {

Fw: [flexcoders] Function Execution Time

2009-10-30 Thread Krunal Panchal
It is very simple, add trace just before and after the calling function. Keep in mind this is the same function which will you using for data fetching. Regards, Krunal Panchal - Forwarded Message From: kanu kukreja kanukukr...@gmail.com Sent: Fri,

Re: [flexcoders] Keep an object in flash player memory despit swf unloading?

2009-10-30 Thread Flap Flap
That's also the problem... I didn't manage the code of the container application... :P Benoît Milgram / Flapflap http://www.kilooctet.net I'm also a music mashup / bootlegs producer : http://www.djgaston.net On Thu, Oct 29, 2009 at 2:45 PM, Battershall, Jeff jeff.battersh...@dowjones.com

[flexcoders] Re: Embedded Jetty6 or 7 server

2009-10-30 Thread jgamacheteam345
Hi Folks, Sorry to reply to such an old thread, but I need some help! I downloaded this quickstart and am trying to get the Start.java to run IN ECLIPSE. I seem to be hopelessly stuck and would appreciate a step by step (yes, for idiots!) if anyone has such running. I am using jetty 6 as

[flexcoders] Re: UDP via Flex socket

2009-10-30 Thread Mete Atamel
Is this what you're looking for? http://livedocs.adobe.com/flex/3/langref/flash/net/Socket.html -Mete --- In flexcoders@yahoogroups.com, Simon simonjpal...@... wrote: simple question... is it possible? I have a horrible feeling Flex may only support HTTP and RPC but would love to be

Re: [flexcoders] Re: UDP via Flex socket

2009-10-30 Thread ady
This Looks TCP to mein UDP u need to handle out of sequence packets (it could occur) only thing UDP in FP10 afaik is stratus but thats not raw... uses RTMFP On Fri, Oct 30, 2009 at 4:57 PM, Mete Atamel meteata...@yahoo.com wrote: Is this what you're looking for?

RE: [flexcoders] Keep an object in flash player memory despit swf unloading?

2009-10-30 Thread Battershall, Jeff
Then I don't know what to recommend. You have to have some place to store the data. The swf is compiled so if you're not going to use it's only persistence mechanism, and you can't store the data elsewhere, thensounds like a waste of time and effort.

[flexcoders] Re: error compiling flex project

2009-10-30 Thread Greg Morphis
Anyone have an idea why this isn't working? On Thu, Oct 29, 2009 at 3:55 PM, Greg Morphis gmorp...@gmail.com wrote: I have an ANT script which compiles a Flex 2 project and it's giving me an error: compile: [java] Loading configuration file C:\Program Files\Adobe\Flex Builder 2 Plug-in\Flex

[flexcoders] FLVPlayback component - preview image

2009-10-30 Thread lanekelly5
After getting frustrated with the lack of functionality of the preview property of the FLVPlayback component at runtime (apparently you can't assign it a path to a PNG and have it work like expected), I was wondering if anyone had extended the class to add that feature in. I'm using the

[flexcoders] Re: Question?? Best method for plotting a Moving Average

2009-10-30 Thread cjsteury2
I did it with the SQL code instead... it's a really cool routine that calculates Mov Avg and Standard Deviation then the Bollinger Bands and I send that to FLEX... if anyone wants the SQL code let me know... cra...@steury.com (I don't receive emails from this thread) --- In

[flexcoders] Re: help with a php call

2009-10-30 Thread valdhor
Because HTTP service is expecting to handle the response. You want the browser to handle the response so you need to use navigateToURL: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ private

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Just realized need return type. --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Getting error 1144: Interface method readExternal in namespace flash.utils:IExternalizable is implemented with an incompatible signature public class Data extends EventDispatcher

[flexcoders] addEventListner help

2009-10-30 Thread Darrin Kay
can some explain how these work? I have a function that calls an event, and on completion of the event I want another function to kick off. How do I do this? thanks, D

[flexcoders] Re: Flexbuilder doesn't give compile error when using a undeclared variable, methods

2009-10-30 Thread benjamine_df
Compile time we don't need to check for data, we only need to check for declared variable, method class etc. So I am in favour for what java is doing. It will help to catch the errors during compile time I think flex allows this because of associative arrays. var data:object = new Object();

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
What about using the JSONEncoder and JSONDecoder? Will I have the same issue? Jason --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Just realized need return type. --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: Getting error 1144: Interface

RE: [flexcoders] Re: addChild doesn't effect for some reason REFdn2065133102

2009-10-30 Thread dennis
For god's sake. it works =) ! The button hasn't (at all) width and height! What is the difference between the addChild(buttonFromMainClass); and Application(Application.application).addChild(buttonFromMainClass); In the adding process??? Does any body knows? Thanks Amy anyway!!!

Re: [Spam] [flexcoders] addEventListner help

2009-10-30 Thread Nick Middleweek
Hi, As far as i'm aware the event is fired, which in turn calls a function that is set using button.addEventListener(MOUSE.CLICK, myClickHandler) So when the CLICK event fires on the button object it invokes myClickHandler pasing it an event object. if you want to call another function at the

[flexcoders] AIR Ant Build Script

2009-10-30 Thread seanmcmonahan
So I posted a question about Ant build scripts for AIR a few weeks ago and got some great answers, so here's another one. I have an Ant build script that I'm using to build my AIR project. It builds everything and packages the application just fine. The app runs with no noticeable problems

Re: Fw: [flexcoders] Function Execution Time

2009-10-30 Thread Arpit Mathur
There is also Grant Skinner's Actionscript performance harness that Lee Brimelow put up a video on recently http://www.gotoandlearn.com/play?id=115 -arpit On Fri, Oct 30, 2009 at 4:09 AM, Krunal Panchal panchal_...@yahoo.comwrote: It is very simple, add trace just before and after the

[flexcoders] Re: SharedObject problem/bug? Cannot store a subclass of ByteArray.

2009-10-30 Thread seanmcmonahan
I'm having a similar problem with a subclass of Dictionary. Unfortunately I haven't has an opportunity to try this fix yet, but maybe you'll find it useful: http://stackoverflow.com/questions/850466/properly-serializing-flash-utils-dictionary-to-a-sharedobject --- In

[flexcoders] Re: UDP via Flex socket

2009-10-30 Thread Simon
The sample code in the Adobe Docs sends a GET which I think makes it HTTP. As far as I can tell the binary socket doesn't support UDP. Somewhere in the internals it must be presuming TCP or HTTP - or maybe RTMP. Anyway, it looks like my suspicions were right. I'll ask another question about

[flexcoders] Is anyone building multi-user apps/games in Flex?

2009-10-30 Thread Simon
...and if yes, what protocol are you using for communication between clients? Traditional wisdom for this scenario is UDP, but the Flex socket classes don't seem to support it.

[flexcoders] Re: Flexbuilder doesn't give compile error when using a undeclared variable, methods

2009-10-30 Thread benjamine_df
I wanted to clarify more on my other response. As Amy referred this does not happen to Dictionary object alone. create an instance of any object , then call a non existing method and you won't get compile time errors. Example var data:Array = new Array() data.xyz() //xyz method does not exist

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Can't even use an JSON encoding at com.adobe.serialization.json::JSONEncoder/objectToString() jason --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: What about using the JSONEncoder and JSONDecoder? Will I have the same issue? Jason --- In

[flexcoders] get components completely created without displaying them

2009-10-30 Thread thomas
Hello, How to get flex components completely rendered (create children, get data, lay out) without adding them to stage ? Specificaly, how to get bitmapdata.draw( component ) actually draw component ? thomas parquier --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr

RE: [flexcoders] get components completely created without displaying them

2009-10-30 Thread reyna...@gmail.com
IncludeInLayout=false might do the trick -Original Message- Date: Friday, October 30, 2009 12:06:50 pm To: flexcoders@yahoogroups.com From: thomas mailingli...@web-attitude.fr Subject: [flexcoders] get components completely created without displaying them Hello, How to get flex

[flexcoders] Strange issue with Flex Builder Trial - Run the flex application only on first day

2009-10-30 Thread Vincent Blanqué
Hi, I have created Flex proyects with Flex Builder 3 Trial Version for generating Google Maps apps. I 'Run the application'. The first day everything works well. But later, the same mxml does not run well. However, if I create a new project with the same mxml file, everything is ok. Is there

[flexcoders] Flex application vertical size problem

2009-10-30 Thread radu.groza
Hello, I have a Flex app embedded like this: body tag, then a div tag with min-height: 600px, min-width: 800px; and overflow: auto; the application tag from flex: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:views=com.views.* backgroundColor=#00

Re: [flexcoders] Function Execution Time

2009-10-30 Thread kumar jothi
put timer before and after the function call Thanks with regards --- On Fri, 30/10/09, kanu kukreja kanukukr...@gmail.com wrote: From: kanu kukreja kanukukr...@gmail.com Subject: [flexcoders] Function Execution Time To: Date: Friday, 30 October, 2009, 11:58 AM   How can I find/get

[flexcoders] Issue in setting flex app in load balanced environment using SSL

2009-10-30 Thread abhgup
I have developed the dashboard in my application using flex 3.0. For this I have used JSP wrapper around the flex application. My application runs on JBoss application server. for communication between flex app and my application i am using LCDS. HTTPService component is being used to receive

[flexcoders] how can I parse this Srting in Flex

2009-10-30 Thread thomas_13s
Hi All, Label1|url1|label2Explorer|url2|Label3|url3 how can I parse this string in flex and get the label1|url1 , label2|url2, label3|url3 seperately , Please some sample code to do this. Thanks Tom

RE: [flexcoders] Strange issue with Flex Builder Trial - Run the flex application only on first day

2009-10-30 Thread reyna...@gmail.com
Do you have a valid maps key for the domain you are using? I've seen that kind of thing without a valid key -Original Message- Date: Friday, October 30, 2009 12:11:24 pm To: flexcoders@yahoogroups.com From: Vincent Blanqué tipt...@free.fr Subject: [flexcoders] Strange issue with Flex

Fwd: [flexcoders] get components completely created without displaying them

2009-10-30 Thread thomas parquier
Oh yes, thank you, but I didnt mention : how in actionscript only ? thomas parquier --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2009/10/30 reyna...@gmail.com

Re: [flexcoders] how can I parse this Srting in Flex

2009-10-30 Thread thomas parquier
You can use split and access elements in result array with i and i+1, using a for loop with step of 2. thomas parquier --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056

[flexcoders] ItemRenderer for HOLC Chart Series Item

2009-10-30 Thread cjsteury2
Okay... i have finally figured out how to write a custom itemrenderer for HOLC Chart Series Item... And the secret is posted below (about 99% of the way)... can anyone PLEASE tell me how to render the Open and Close Tick marks correctly?? Using this code they are a little off... I have tried

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread Alex Harui
Yeah, I think that's because Proxy is an odd beast. It is dynamic and can have any property and you're responsible for implementing all those methods that help iterate the object. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From:

[flexcoders] [Resolved] Re: AIR Ant Build Script

2009-10-30 Thread seanmcmonahan
Found a few resources on this: 1) http://kb2.adobe.com/cps/404/kb404341.html 2) http://74.125.93.132/search?q=cache:w_Jda-ZeRfUJ:www.morearty.com/blog/2009/01/23/how-to-capture-the-compilation-options-used-by-flex-builder/+flex+builder+release+build+optionscd=7hl=enct=clnkgl=usclient=safari

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Alex, what else can I try? I have tried implementing IExternalizable in every class and it doesn't seem to work, I think I might be close as one class is causing me issue Datalist. When I implement IExternalizable and flex starts decoding the bytearray it throws an error on Datalist

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread seanmcmonahan
Do you think the class being dynamic is causing this issue? I ask because I have a similar problem with a dynamic class that extends Dictionary. It works fine in Flash Player 9.0.28 but not in 10. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Yeah, I think that's because

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
I don't think so. Its just that it isn't just a generic simple Object or Array but rather a large Class file which contains other large class files. So imagine saving something like your entire displaylist, but not the visual just the data behind it. The object I am saving cotains over 100

RE: [flexcoders] how can I parse this Srting in Flex

2009-10-30 Thread Gordon Smith
I would use String's split() method to split your string on the | character into the Array [ Label1, url1, label2Explorer, url2, Label3, url3 ]. Then you can use a for-loop to walk through this 6-element array and create a new 3-element array by combinding elements 0/1, 2/3, and 4/5. But if

[flexcoders] Re: SharedObject problem/bug? Cannot store a subclass of ByteArray.

2009-10-30 Thread Geoffrey
Hi Sean, Thank you for the link; still no luck. I had tried implementing IExternalizable before, but after reading your article I decided to try again. I have figured out a little more: --I can extend, say, a Sprite, and it works fine. --When I save the SharedObject, if I use the

[flexcoders] Allow popup windows

2009-10-30 Thread Christophe
Hello, Is it possible to setup the option : allow popup window in the navigator from a flex application ? Thank you, Christophe,

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread Alex Harui
Serialization requires that the constructor handle zero parameters. So just try: public function DataList(name:String = null) Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: SharedObject problem/bug? Cannot store a subclass of ByteArray.

2009-10-30 Thread Alex Harui
Please file a bug with a small test case. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Geoffrey Sent: Friday, October 30, 2009 1:35 PM To:

[flexcoders] Re: Flex Soap Version Mismatch

2009-10-30 Thread Joshua
I'm still running naked, but am getting a better grip on this stuff. But here was my break, NOT!! The company was nice enough to put me on their crossdomain file. So, I'm thinking good, but I was wrong. I still get a security violation FaultEvent fault=[RPC Fault

[flexcoders] how may I store values to function's arguments? REFdn7045338143

2009-10-30 Thread dennis
Some times, the one result of a function is not enough, cay we use the arguments to get back values from them? internal function getXY(x:int,y:int):void{ x=10;y=20; } internal function test():void{ var x:int; var y:int; getXY(x,y); trace(x: +x.toString()+ y: +y.toString());

[flexcoders] Re: context menu event on tree column of advanced data grid ....

2009-10-30 Thread MicC
Solved this - added context menu within AdvancedDataGroupItemRenderer. --- In flexcoders@yahoogroups.com, MicC chigwel...@... wrote: When a context menu on an ADG is clicked and the ADG cell is not a hierarchy node, the ContextMenuEvent.mouseTarget is ADGItemRenderEX and info about the

[flexcoders] Add icon and text formatting to new ContextMenuItem?

2009-10-30 Thread MicC
is it possible to add an icon and text formatting to a custom item on a context menu? TIA, Mic.

RE: [flexcoders] Allow popup windows

2009-10-30 Thread Alex Harui
Flex does not provide a way to get around popup blockers. But you can put up your own Flex popups within the application/browser. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] Nobody ever answers any of my posts...

2009-10-30 Thread cjsteury2
--- In flexcoders@yahoogroups.com, cjsteury2 cra...@... wrote: Okay... i have finally figured out how to write a custom itemrenderer for HOLC Chart Series Item... And the secret is posted below (about 99% of the way)... can anyone PLEASE tell me how to render the Open and Close Tick marks

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Alex, first thanks for spending so much time helping me with this. How do I handle all the rest? Flex specific classes? Should I monkey patch? See error below my custom object needs to have all this serialized and dematerialized as well.: ArgumentError: Error #1063: Argument count mismatch on

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread Alex Harui
To handle classes like transform, I would come up with a custom encoding for the transform (or skip it entirely as the transform can usually be derived from other properties like scale, x, y, width, height, rotation). I didn't know you were trying to serialize display objects. Generally

[flexcoders] Re: SharedObject problem/bug? Cannot store a subclass of ByteArray.

2009-10-30 Thread Geoffrey
Hi Alex, Fair enough. I submitted it (I think), although I got this message: You have successfully created the issue (FB-23715), however you do not have the permission to view the created issue. This is probably because you entered a bug report that details a potential security vulnerability