How can I find/get execution time of particular function data?
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):
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
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) {
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,
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
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
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
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?
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.
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
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
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
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
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
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
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();
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
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!!!
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
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
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
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
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
...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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
Hello,
Is it possible to setup the option : allow popup window in the navigator from a
flex application ?
Thank you,
Christophe,
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
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:
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
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());
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
is it possible to add an icon and text formatting to a custom item on a context
menu? TIA,
Mic.
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
--- 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
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
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
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
57 matches
Mail list logo