[flexcoders] Flex with EJB3

2005-10-04 Thread Björn Abt
Hello List, Finally i figured out the problem that i thought was an EJB3 issue but was an synchronization problem that the Remoteobjects have, when called parallel. But with one call at a time it all worked out pretty perfect, without building a Proxy-Model. Now Objects can travel rather

[flexcoders] 3 Problems

2005-10-04 Thread jrab2999
Hello, I have the following problems with Flex: 1. I want to color the nodes of a tree dependant on the node value. The problem is my node only uses node graphics without a directory and document symbol, so icon= is useless in my case. I use a individual swc skin. How is it possible? 2. I have

[flexcoders] Number(011) = 9 ????

2005-10-04 Thread Christoph Diefenthal
Does anyone know why this happens??? Try it on your own server : mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Button label=Value Of String click=valueOfString() / mx:Script ![CDATA[ import mx.controls.Button;

[flexcoders] Question about drawing on the canvas

2005-10-04 Thread Prasad Dhananjaya
Hi, Have a simple question about drawing on the canvas. Below code draws an arrow between mousedown point and mouseup point. It works well. But... When I move canvas's scrollbar, arrow didn't move. Means it is NOT on the canvas.Want to draw it ON the canvas. Tried several ways. But failed. (I

[flexcoders] how do i select a single datagrid cell not the whole row

2005-10-04 Thread bhaq1972
Everyone I want to be able to to select and highlight a single cell in a non editable datagrid. i'm thinking, on a DataGrid.cellPress, color the cell any ideas/code would be grateful. regards bod(bhaq1972) Yahoo! Groups Sponsor ~-- Get

RE: [flexcoders] Question about drawing on the canvas

2005-10-04 Thread Mink, Joseph
 What I've found in my Flex development is that, as long as your arrow is indeed a child of the canvas, it will move when you use the canvas scroll bars. Aftera quick glance at your code, I didn't see any problems, but I'm not sure of the parameter you've got in

[flexcoders] Re: Question about drawing on the canvas

2005-10-04 Thread jrab2999
Maybe canvas within a canvas will do the job: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var isPointerStarted = false; var bx:Number; var by:Number; function pointerStart(target) { if

[flexcoders] Asynchronous notification

2005-10-04 Thread Mink, Joseph
All, We have, up until now, used webservices to check for server-side notifications...we just poll (I know, I hate polling!). We'd like to move to something more asynchronous, but I thought I'd ask the forum for their recommendation. I know there is some kind of method in AS for making

Re: [flexcoders] Is an add-on required for Sound Effects?

2005-10-04 Thread JesterXL
Sound is an intrinsic class; not sure why it's not shown. Your code looks good; maybe try changing this: soundEffect = new Sound(); To this: soundEffect = new Sound(this); - Original Message - From: Deacutis, Francine To: flexcoders@yahoogroups.com Sent: Monday, October

Re: [flexcoders] Is an add-on required for Sound Effects?

2005-10-04 Thread JesterXL
Flash Player has an mp3 codec built in; you don't need an mp3 player. - Original Message - From: Deacutis, Francine To: flexcoders@yahoogroups.com Sent: Tuesday, October 04, 2005 12:38 AM Subject: RE: [flexcoders] Is an add-on required for Sound Effects? : ) Guess it helps

RE: [flexcoders] Is an add-on required for Sound Effects?

2005-10-04 Thread Deacutis, Francine
Hmmm. interesting. It works now that I installed an MP3 player. Thanks for the information. Its very much appreciated! Francine From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Tuesday, October 04, 2005 9:08 AMTo:

RE: [flexcoders] Asynchronous notification

2005-10-04 Thread Kevin Langdon
You probably want to look into the XMLSocket object. This can make a connection back to a server and maintain it. A0 byte is sent between requests and response without the connection being dropped. Those requests and responses are xml and could be used for messaging or keep alives to

[flexcoders] Re: getURL Problem

2005-10-04 Thread Marcin Glowacki
Actually, I thought that maybe an issue, so now I am only trying to getURL(http://www.google.com;); And it is the same scenario: Firefox opens the google page, and IE does not even make this request... I have trace statements before and after getURL line and both traces are logged in the

AW: [flexcoders] Re: Number(011) = 9 ????

2005-10-04 Thread Christoph Diefenthal
Ok thank you all, I workaround (or isn't it a workaround??) this problem by using parseInt(011, 10) to get the decimal-system value. How can I use the Number-class to convert the values? Is there a Number.parseInt() function? There is no such function mentioned in the Flex ActionScript

RE: [flexcoders] Asynchronous notification

2005-10-04 Thread Mink, Joseph
Thanks, Kevin! I finally did my homework of the XMLSocket obj, but wasn't sure how to serve that protocol with a web server or servlet container...I'll definitely look for the examples you mention. I wonder if they are actual stand-alone, custom servers of if they are a hack way of

RE: [flexcoders] FlexBuilder Ghostly Image

2005-10-04 Thread João Fernandes
To be honest,Flex Builder has so many weird behaviors that I can't remember anymore if I had that already... João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent:

[flexcoders] Render image Dynamically

2005-10-04 Thread shahnavaz Alware
Hi All, I have byte[] in my Database which I want to render as image in Flex at runtime, how do I do this?. I am using Java at backend and also I dont want to create a physical image file on my server. Thanks for the replying. Thanks, Shahn -- Flexcoders Mailing List

[flexcoders] Form in Repeater

2005-10-04 Thread Doodi, Hari - BLS CTR
Hi experts, Is it possible to use mx:Form/mx:Form tags in side mx:Repeater/mx:Repeater tags. The situation is I have to display 5 months data on one screen. I was able to display One month data came from remote object call. Now my next task is to display 5 months data. I thought it

[flexcoders] Exception: The named type given in flex-config.xml (stateful-class) does not match the type value received (null)

2005-10-04 Thread Stacy Young
This is a new one for me...anyone have an idea what could cause this? Nothing obvious in logs... Info: Processing batch of 1 request(s) Info: Requesting target 'serviceApplication.getApplicationList' flashgateway.GatewayException: The named type given in flex-config.xml (stateful-class) does

RE: [flexcoders] SWF and URL issue

2005-10-04 Thread Tracy Spratt
Is this the same question as the one you asked yesterday in a different thread? Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya R Sent: Tuesday, October 04, 2005 12:10 AM To: flexcoders Subject: [flexcoders] SWF and URL issue

Re: [flexcoders] Render image Dynamically

2005-10-04 Thread JesterXL
Flash Player currenty cannot read binary files (beyond .txt, .xml, .jpg, .png, and .gif). Therefore, you must create a proxy for it (Loader.contentPath). Whether this is a temporery file, or simply a return from a Loader.contentPath request with the necessarey contentHeader, either way,

RE: [flexcoders] Asynchronous notification

2005-10-04 Thread Tracy Spratt
Check the archives. Someone (several) on this list has done extensive xmlSocket work, and I recall reading about an actual product. I am going to be looking into this myself soon. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

[flexcoders] Re: Question about drawing on the canvas

2005-10-04 Thread Eric Raymond
I must be missing something, but shouldn't arrow() return something as a parameter for createChild? --- In flexcoders@yahoogroups.com, jrab2999 [EMAIL PROTECTED] wrote: Maybe canvas within a canvas will do the job: ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] Form in Repeater

2005-10-04 Thread Abdul Qabiz
I think, it should work. Can you check the length of array you are assigning as dataProvider to Repeater. If you can post the sample-but-complete code here, we can see what is going wrong here.. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari

RE: [flexcoders] Weird error

2005-10-04 Thread Abdul Qabiz
Hi, Probably the xml returned by Servlet is not well-formed XML. http://www.abdulqabiz.com/blog/archives/macromedia_flex/000126.php -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Tuesday, October 04, 2005 11:13 PMTo:

RE: [flexcoders] Re: Number(011) = 9 ????

2005-10-04 Thread Gordon Smith
If you do parseInt(011, 10), I'm pretty sure what happens is this: 1. The octal literal 011 is compiled as the decimal Number 9. 2. It is converted at runtime to the string 9, because parseInt expects to parse a string. 3. parseInt parses 9 to produce 9. Obviously, this is a waste of time. 011

RE: [flexcoders] Weird error

2005-10-04 Thread Matt Chotin
But if you know your XML is valid it may be that youre getting a 500 error or 404 but with a 200 status code. Are you using the proxy? Turn on proxy debugging. If not, maybe go through a sniffer to see whats really coming back. Matt From: flexcoders@yahoogroups.com

RES: [flexcoders] Getting a null object reference

2005-10-04 Thread Michel Bertrand
Title: Mensagem Thank you for your suggestion ... I changed to creationComplete, but still not working ... -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Matt ChotinEnviada em: terça-feira, 4 de outubro de 2005 01:32Para:

[flexcoders] Getting FlexUnit Example to Work

2005-10-04 Thread fowleryj
Has anybody had problems getting FlexUnit's examples to work? I've done the following: - installed FlexUnit ( - put the FlexUnit.swc file in my WEB-INF/flex/user_classes directory - put the flexunit-manifest.xml file in my WEB-INF/flex directory - added this to my flex-config.xml: namespace

RE: [flexcoders] Weird error

2005-10-04 Thread Dimitrios Gianninas
You would think... but the same servlet loaded in another web app works like charm. It seems likethe servlet never gets called. But its there are working, tried in the browser. I'm still looking. I'll check what Matt wrote as well. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal

[flexcoders] Cairngorm ModelLocator

2005-10-04 Thread fowleryj
Is the ModelLocator intended to be the *only* global repository for variables to which you'll need to bind throughout your application? My ModelLocator is getting huge, and I would like to split it into a few ModelLocators (with different names, obviously). Has anyone done this? Are there any

Re: [flexcoders] Question about drawing on the canvas

2005-10-04 Thread Manish Jethani
On 10/4/05, Prasad Dhananjaya [EMAIL PROTECTED] wrote: Have a simple question about drawing on the canvas. Below code draws an arrow between mousedown point and mouseup point. It works well. But... When I move canvas's scrollbar, arrow didn't move. Means it is NOT on the canvas.Want to

RE: [flexcoders] Weird error

2005-10-04 Thread Carson Hager
You were probably getting back some html response from the server which caused the error. Flex tried to parse it and rejected it as poorly formed XML. Did you use something like tcptunnel to look at the stream? Carson HagerCynergy Systems,

Re: [flexcoders] Cairngorm ModelLocator

2005-10-04 Thread JesterXL
New Class. For example, for GUI related things (skin names, image locations, mp3 locations, etc.) and other various graphical thigns that have absolutely nothing to do my apps logic, but are very important for it to actually look right, and sometimes work, I just put in a constants. class

RE: [flexcoders] Cairngorm ModelLocator

2005-10-04 Thread Steven Webster
Hey, We would tend to have global model objects all hung off the one ModelLocator. For instance, we might have a class Assets.mxml which itself contains 100+ attributes for embedded images, but we'll have one attribute in ModelLocator called assets. However, if you wanted to have multiple

RE: [flexcoders] Exception: The named type given in flex-config.xml (stateful-class) does not match the type value received (null)

2005-10-04 Thread Matt Chotin
Do you have typestateful-class/type in your flex-config.xml for serviceApplication? Maybe theres a typo right around there? Maybe you accidentally did something like stateful-classtrue/stateful-class? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On

RE: [flexcoders] Re: Cairngorm ModelLocator

2005-10-04 Thread João Fernandes
For me, its not a question of how many. I group by variables based on applications and sometimes based on applications areas. the initialize method is just to be sure your vars exist when u need them. I initialize them when I know they've never been created before (it depends on the

[flexcoders] images being cached w/ mx:image

2005-10-04 Thread Raymond Camden
I am calling a custom control that makes use of mx:image. When I update the jpg file on the file system, it isn't reflected in Flex, even after a restart. Any ideas? -- === Raymond Camden, Director of Development for Mindseye,

[flexcoders] Re: FlexBuilder Ghostly Image

2005-10-04 Thread Libby
The blue image is fluctuating, like it is in a loop. It is making the pc unstable... I think this is a bug. --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: My FB has become haunted or something... Starting in the last week, when I minimize it, a blue image stays on the screen

Re: [flexcoders] images being cached w/ mx:image

2005-10-04 Thread JesterXL
Delete the generated folder. In Tomcat, it's: C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\flex\WEB-INF\flex\generated I'm pretty sure that's what fixed it for me. - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

RE: [flexcoders] images being cached w/ mx:image

2005-10-04 Thread Roger Gonzalez
I am calling a custom control that makes use of mx:image. When I update the jpg file on the file system, it isn't reflected in Flex, even after a restart. Any ideas? Make sure that - you're not in production mode - you're not @Embed-ing a http URL -Roger Roger Gonzalez mailto:[EMAIL

RE: [flexcoders] Getting a null object reference

2005-10-04 Thread Matt Chotin
Title: Mensagem Hmm, I dont have time to dig but generally that should work Id think.  What if you put a button in Composition.mxml that calls initialize() and see if its not null then.  Clearly this is just an ordering problem but I cant tell why off the top of my head. From: