[flexcoders] Open Source Java Remoting : Mapping complex Structure

2007-10-17 Thread Paramjit Jolly
Hi All, I am using open source java remoting to get data from server in AMF. My structure is complex data structure having ArrayCollection with again complex structure in it. In Flex I can read the object using result.PropertyName ... but I want to MAP the Whole java object directly

[flexcoders] mx.rpc.http.mxml.HTTPService concurrency='last'

2007-10-17 Thread Sebastian Feher
After hours and hours spent thinking about what's wrong with this attribute and why the queued calls are still sent despite me practically begging that only the "last" to be considered, I'm out of ideas. After days of searching for examples of mx.rpc.http.mxml.HTTPService's concurrency='last'

RE: [flexcoders] KeyBoard Event Simulation

2007-10-17 Thread Alex Harui
Keyboard events are notification events and not input events, which means that the player/textfield doesn't actually listen to and respond to these events, and just dispatch the events so we can know what is going on. You will have to write your own keyboard simulator for the TextInput that use

[flexcoders] Re: Responding to end of transitions?

2007-10-17 Thread Stephen Roy J. Tang
Sorry, please ignore. I found I can just listen to the effectEnd event of the transition.effect. --- In flexcoders@yahoogroups.com, "Stephen Roy J. Tang" <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there an event I can listen to so I can respond to the end of a > transition? According to the doc, t

[flexcoders] KeyBoard Event Simulation

2007-10-17 Thread Peeyush Tuli
Hi, I am trying to pass on keyboard events recieved by a textinput to another textinput, so that all keyboard actions are replicated on it. But it is not working. If I place a keydownhandler at the second textInput, it does receive the event but nothing is written into the textinput. //

[flexcoders] Cant find flash.system.Door

2007-10-17 Thread michniu
Hi All, I am trying the AIR example from air doc But I cant find the flash.system.Door. how ? Thanks

Re: [flexcoders] Validation border doesn't update

2007-10-17 Thread Richard Rodseth
Ouch. Thanks. I voted for your bug (though perhaps it's up to the Firefox team). I wonder what everyone else is doing. On 10/17/07, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote: > > > > > > > here's some helper methods i got at the moment > > > > > protected function updateComponentValidation( va

[flexcoders] Responding to end of transitions?

2007-10-17 Thread Stephen Roy J. Tang
Hi, Is there an event I can listen to so I can respond to the end of a transition? According to the doc, the currentStateChange event is fired before the transition starts playing... Thanks, Roy

Re: [flexcoders] Validation border doesn't update

2007-10-17 Thread Richard Rodseth
Hi Bjorn Yes, I found that just after I posted, and saw the workaround. I haven't got the workaround working yet, though - in addition to restoring the focus, I think I will need to set the insertion point so that typing in the field works. Thanks. On 10/17/07, Bjorn Schultheiss <[EMAIL PROTECTE

Re: [flexcoders] Validation border doesn't update

2007-10-17 Thread Bjorn Schultheiss
I logged a bug recently on this topic. vote for it http://bugs.adobe.com/jira/browse/SDK-13005 The workaround is there as well On 18/10/2007, at 10:15 AM, Richard Rodseth wrote: I'm following the recipe described here: http://www.adobe.com/devnet/flex/quickstart/validating_data/ In the last

[flexcoders] Validation border doesn't update

2007-10-17 Thread Richard Rodseth
I'm following the recipe described here: http://www.adobe.com/devnet/flex/quickstart/validating_data/ In the last example on the above page (at least in Firefox), the validation borders don't seem to update correctly. In particular, when you type the character that makes an e-mail address valid,

Re: [flexcoders] Yahoo Maps

2007-10-17 Thread Mathe Maema
Thanks a lot Tracy it works. I suppose now my task is to learn when to have an event as an argument to my functions. - Original Message From: Tracy Spratt <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, 18 October, 2007 12:04:09 AM Subject: RE: [flexcoders] Yahoo Maps

RE: [flexcoders] Re: Unknown destination 'EmployeeServiceRO

2007-10-17 Thread Jeff Vroom
I'm not sure what is going on but one good way to diagnose these problems is to turn on the debug logging on the client and server. In this case, since it seems to be a problem with the basic connections, you should use the "Endpoint.*" target on the server. In WEB-INF/flex/services-config.xml

RE: [flexcoders] Yahoo Maps

2007-10-17 Thread Tracy Spratt
As always, break the problem up into steps. * can you load the map? Any map? If not, fix this first. * can you make setCenterByAddressAndZoom() work with hard-coded values? No, fix. You say: "...mapping the change event to mapLoad() function ..." Do you mean: mailto:[EMAIL PROT

[flexcoders] Fading components on state change

2007-10-17 Thread Sebastien ARBOGAST
Hi, I'm working on a custom component to display a form in two states: - a simple state with just one text field and two buttons - a detailed state with more fields I want the filed in detailed state to fade in and out when toggling states. But the showEffect and hideEffect triggers don't seem to w

RE: [flexcoders] editing Datefield itemrenderer

2007-10-17 Thread Alex Harui
You can make the datefield editable so you can type something in, but you can't use the mouse to pick the time. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jas Kaur Sent: Wednesday, October 17, 2007 2:18 PM To: flexcoders@yahoogroup

RE: [flexcoders] Need alternative to callbacks?

2007-10-17 Thread Alex Harui
Using events in general is better than callbacks because you can have more than one callback registered, and the event type determines the parameters. You can also register callback objects and not callback functions and require that the callback objects implement a particular interface which d

Re: [flexcoders] BindingUtils.bindProperty and mx:Binding trigger at different times! Bug?

2007-10-17 Thread Mac Martine
Hi Aman- This looks like a bug. Would you please log it in the bug base here: https://bugs.adobe.com/jira Thanks - Mac On 10/17/07 2:23 AM, "cuddlygunchi" <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > 1) I bind the selectedItem property of a List component to a variable > > 2) View th

Re: [flexcoders] editing Datefield itemrenderer

2007-10-17 Thread Jas Kaur
Thanks Alex, I was using label function to display 10/17/2007 00:00:00 and then wanted the user to be able to change the time manually. But they can't edit the datefield. Do you think i should write a custom component for it or is there a way to make this editable. Jas - Original Message

RE: [flexcoders] Change backgroundImage postion in Panel

2007-10-17 Thread Alex Harui
Looks like it is always centered. You can always place your current container in a Canvas and put another Image behind it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Wednesday, October 17, 2007 12:11 PM To: flexcod

RE: [flexcoders] editing Datefield itemrenderer

2007-10-17 Thread Alex Harui
dateField doesn't let you pick the time. You'll need a custom component as your itemEditor. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gur_sukh Sent: Wednesday, October 17, 2007 1:08 PM To: flexcoders@yahoogroups.com Subject: [flex

RE: [flexcoders] DateField FlexEvent.ENTER Event?

2007-10-17 Thread Alex Harui
defaultButtonEnabled also need to be changed. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rkettrey Sent: Wednesday, October 17, 2007 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateField FlexEvent.ENTER Event? Te

Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?

2007-10-17 Thread Bruce Hopkins
Thanks! On 10/17/07, tomeuchre <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com , "Bruce > Hopkins" <[EMAIL PROTECTED]> wrote: > > > > Tom, > > > > Thanks for your feed back on GDS. I have one question for you though. > When I > > ran the simple Pojo example, I saw in the output

[flexcoders] Yahoo Maps

2007-10-17 Thread g07m5064
Hi, Let me start by stating that I am a newbie. I have just started read through the tutorial on using Yahoo Astra Map api at: http://www.clockobj.co.uk/2007/10/4/using-yahoo-astra-map-api-with-flex-2 All went good. Hence, I have a map component which I would like to add to an application where ba

Re: [flexcoders] Flex app security on IIS

2007-10-17 Thread Paul deCoursey
This is a bug that I have reported before. The upload request does not share the session with the other requests on the system. ie, cookies are not sent that have not been set by any other upload requests. In some cases I've been able to use URL-Rewriting to share the session, but it's a pai

[flexcoders] Problem with IE6 and SWF losing focus of input fields...

2007-10-17 Thread Dan G. Switzer, II
A user recently reported a problem that I've never observed. We have a Flex SWF embedded into our HTML application that displays a series of charts. In IE6 if you go to another window and come back to IE6 and your cursor was placed in a text field, the focus is lost. This seems to happen for any

[flexcoders] DateField FlexEvent.ENTER Event?

2007-10-17 Thread rkettrey
TextInput controls will broadcast the FlexEvent.ENTER event when the enter key is pressed to simulate the default button being pressed for a form. I'd like this same thing to happen on my DateFields. I know that DateField wants to handle the enter key to do its parsing and closing of the "dro

[flexcoders] Flex app security on IIS

2007-10-17 Thread carl_steinhilber
I have a Flex2 app that sits on a secure intranet running IIS. One of the functions uploads a file from client-side to the server. I create the URLRequest to an .asp page receiver, set up params, and execute a .upload on a FileReference using that URLRequest. But for some reason, even though I've

Re : RE: [flexcoders] reference a component from somewhere else

2007-10-17 Thread elr
Thank's Tracy.! A reference to Application is perfect for me. Eric

[flexcoders] editing Datefield itemrenderer

2007-10-17 Thread gur_sukh
Hi, I need to add time to the date in a datagrid column. The code is as following. I can't edit the time field.

Re: [flexcoders] Re: problems access a Flex/CF site via a URL

2007-10-17 Thread Muzak
Use tokens for the endpoint uri http://83.170.86.32:80/flex2gateway/"; class="flex.messaging.endpoints.AMFEndpoint"/> should be: http://{server.name}:{server.port}/flex2gateway/"; class="flex.messaging.endpoints.AMFEndpoint"/> {server.name} and {server.port} will be replaced with the

Re: [flexcoders] New guasax website!

2007-10-17 Thread [EMAIL PROTECTED]
aI remember when adobe reader came out and I couldn't understand what the heck it was for. You could read text, see images etc but it has a special niche because it displays the same no matter where you look at it, sort of like flash. But when it came out, no one from adobe could expliain to m

[flexcoders] Flex Framework Dissection Presentation

2007-10-17 Thread Tom Ortega
Ali Mills and Luke Bayes on Flex Frameworks at the October 11, 2007 Silvafug meeting: http://adobechats.adobe.acrobat.com/p12266504/ Real interesting dissection and dialogue with the audience. Thanks, Tom

[flexcoders] Change backgroundImage postion in Panel

2007-10-17 Thread flexawesome
Hey, Is there a way to change the position of backgroundImage in Panel? It now in the center and I need to move it to the left of Panel... Tanks == http://www.adobe.com/2006/mxml";>

[flexcoders] Re: How to access objects made by a script (addChild)

2007-10-17 Thread oneproofdk
Hi Tracy Thanks for your reply - I actually think I understod that. Thanks for your answer. Best regards, Mark --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Setting the id this way is not the same as setting an id="myId" in an > mxml tag. In that case the gen

RE: [flexcoders] reference a component from somewhere else

2007-10-17 Thread Tracy Spratt
Several ways. Application.application gives a reference to the top-level application document scope. So from inside C2, you would do somthing like: var app:Application = Application.application; var myXML:XML = app.c1.mySourceXml; //assumes the instance of component C1 has an id="c1" paren

Re: [flexcoders] Re: flex problem with coldfusion 8

2007-10-17 Thread Rick Root
I just had to create a sort functions for the columns, and use the sortCompareFunction property of the DataGridColumn. All is well now. private function sortLegal(obj1:Object, obj2:Object, fields:Array = null):Number { var total1:Number = Number(obj1.LEGCRAMT); var total2:Number = Number(

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread paulh
Alex Harui wrote: > OK. Can you summarize what your situation is currently? I’d like to > see your latest code including enough code to see the function you are > trying to call. sure, have to be in the morning (in about 7 hours or so) when i get back to the office, my head's full of the rest

[flexcoders] Re: Framework Caching not working

2007-10-17 Thread Darrell Loverin
I wanted to modified/expand on my previous comment. In the Flex3 Beta, it is best to only specify -target-player if the compiler complains. The -target-player option implies you will require a minimum version of the player as specified in the option. So you should not specify -target-player=9.0

[flexcoders] reference a component from somewhere else

2007-10-17 Thread elr
Hi, >From a component (ns:C2) containing a form, how can I reference an embbeded >xml declared in another component (ns:C1) Using id of my xml (mysourceXml) I get an 1120 Error (Access of undefined property) !! _ //in component C1: ...

Re: [flexcoders] Need alternative to callbacks?

2007-10-17 Thread Ralf Bokelberg
What about adding unit tests? This would allow you to verify the signatures without running the actual application. Another possibility is to use a parameter object, so that all the callbacks have the same parameter. (this is basically how event handlers work) function myCallback( payload : Objec

[flexcoders] New guasax website!

2007-10-17 Thread angel.blesa
Hey guys, We would like to announce the new Guasax website http://www.guasax.com , where we are going to centralize all resources about this MVC Framework for Flex / AS3. In this website we will show examples, tutorials, documentation, developer guide, blog, etc. In the collaborate section are in

Re: [flexcoders] Can the Datagrid do this ?

2007-10-17 Thread d coda
Hi Alex Thanks for the feedback. Sorry I must be being a bit dim here, do you have some example code to point me to? I find Flex great fun and easy to use. I have built an MP3 player and used datagrids and the docs covered this really well. But I cannot find this stuff in the docs and so could do

[flexcoders] Need alternative to callbacks?

2007-10-17 Thread wwwpl
We would like to get rid of callbacks in our project. Recently I had to change about 15 different callback function signatures. It took a long time to get everything working again because the problems had to be found at run time instead of compile time. Does anyone out there have a good solution

[flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Ryan
http://tech.groups.yahoo.com/group/flexcoders/message/90981 :D --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > DisplayObjects already have a 'name' property. Flex makes some > assumptions about what is in it, and if you set it via binding you run > the risk of the

RE: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Alex Harui
OK. Can you summarize what your situation is currently? I'd like to see your latest code including enough code to see the function you are trying to call. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of paulh Sent: Wednesday, October 1

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Paul deCoursey
Yes, in this case ClipTile is a Container, most of my itemRenderers are Containers. If they are not containers then I generally don't have anything to set on them. Alex Harui wrote: > What is ClipTile? If it is based on Container, they may both be > equivalent, but if it is based on an mx.cont

[flexcoders] Newbie needs advice with writing data

2007-10-17 Thread Andy Gaffney
Hi all, hope you can help. I have just started learning Flex and I want to prove an essential Component of my Application. I need to be able to have a View where the user can add their images & captions to the Model. What is the simplest way of doing this? I think I need a web service to do

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread paulh
Alex Harui wrote: > Also, I looked at his code again. It appears that he’s binding to a > function. The binding probably doesn’t know when to fire again. I yup though it does seem to be firing as expected. > generally discourage binding to functions. He may even be getting one > of those “c

RE: [flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Alex Harui
DisplayObjects already have a 'name' property. Flex makes some assumptions about what is in it, and if you set it via binding you run the risk of the binding firing when the dataprovider isn't set which would probably stick a null in there. If you can use some other property name like 'id' or

[flexcoders] Re: Framework Caching not working

2007-10-17 Thread Darrell Loverin
I clipped this output from entering "mxmlc -help list details" at the command line: -runtime-shared-library-path [path-element] [rsl-url] [policy-file- url] [rsl-url ] [policy-file-url] alias -rslp (repeatable) The first argument is a path to a swc. You supplied C:\3.0.0 \frameworks\rsl

[flexcoders] Re: Framework Caching not working

2007-10-17 Thread Darrell Loverin
This looks correct. You don't need -target-player=9.0.60 but it is not hurting anything. -Darrell --- In flexcoders@yahoogroups.com, "danielvlopes" <[EMAIL PROTECTED]> wrote: > > The correct way is this: > -runtime-shared-library-path=C:\3.0.0 \frameworks\libs\framework.swc,C:\3.0.0 \frameworks

[flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Ryan
OK, what you said got me thinking and I figured out a different way to handle what I needed the name element there for. Thanks a ton for your help. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > In general, you should not have a 'name' property on things that > s

[flexcoders] Re: Flex Remoting Options - Any Opinions?

2007-10-17 Thread tomeuchre
--- In flexcoders@yahoogroups.com, "Bruce Hopkins" <[EMAIL PROTECTED]> wrote: > > Tom, > > Thanks for your feed back on GDS. I have one question for you though. When I > ran the simple Pojo example, I saw in the output from my Tomcat server that > GDS was using AMF0, although it was supposed to

Re: [flexcoders] Re: not kosher to call function from inline renderer?

2007-10-17 Thread paulh
droponrcll wrote: > I'm not sure where your sampleData.sampleIm agery is coming from, but a CFC object. > var ib = new ImageBlob( > i.imageWidth, > i.imageHeight, > blobToImage( i.thumbnial, i.imageHeight, i.imageWidth) > ); > tempArray.push( ib); i see. thanks.

Re: [flexcoders] Re: New Flex Aggregator

2007-10-17 Thread Scott Stroz
@Seth, thanx! @maunger, not yet. ;) On 10/16/07, maunger <[EMAIL PROTECTED]> wrote: > > but it ain't done in flex :) > > --- In flexcoders@yahoogroups.com , "Seth > Caldwell" <[EMAIL PROTECTED]> wrote: > > > > You meant http://www.flexbloggers.com > > > > =) > > > > > > > > From: flexcoders@yah

[flexcoders] Re: Caching Problem..Changing Browsers Doesn't Help either

2007-10-17 Thread tarun chandra
Thank You Tom, You were right found out that it was not copying the file into the eclipse workspace directory after building. Fixed it by refreshing project before building. I am not using FlexBuilder so where do I need to export the source to in order to have the "View Source" option on the SWF

[flexcoders] Help on flex

2007-10-17 Thread aflexdevelopper
Hello I am looking for a way to save a swf file generated by another. For example, the principal swf file may load an image transforms it into swf and save this swf file on the disc. Also, I would like to know how to read the content of a swf file in order to extract its elements (sprites, circl

RE: [flexcoders] Re: Problem printing component with

2007-10-17 Thread Alex Harui
image From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mitek17 Sent: Wednesday, October 17, 2007 12:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problem printing component with Thanks, Alex! BTW, upodateEvent from I

RE: [flexcoders] Re: security sandbox violations

2007-10-17 Thread Alex Harui
Maybe I had it backwards. If use-network is true, then access to local files via absolute paths is not allowed and a trust file is required. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Roy J. Tang Sent: Wednesday, October

RE: [flexcoders] Display Text in Bold

2007-10-17 Thread Alex Harui
Charts may not take html. You may have to set styles and fontFamily/fontWeight From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ramanujam, Pratap Sent: Wednesday, October 17, 2007 2:08 AM To: flexcoders@yahoogroups.com Subject: [flexcode

RE: [flexcoders] Problem setting localized Application.pageTitle

2007-10-17 Thread Alex Harui
That's a compile-time property for setting up the default html templates. You can't use binding or set it at run-time. You can use BrowserManager in Flex 3 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gers32 Sent: Wednesday, Octo

[flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Ryan
I guess a little more explanation might help: the element in question is clickable. If someone clicks on it, my event handler will look at event.currentTarget.name to see what the name of the repeater item was, so I can work with it. --- In flexcoders@yahoogroups.com, "Ryan" <[EMAIL PROTECTE

[flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Ryan
In this case, name is used as an identifier that I can't get around, unless there's another attribute that I can set a text value on and draw from... Any ideas there? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > In general, you should not have a 'name' propert

RE: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Alex Harui
Also, I looked at his code again. It appears that he's binding to a function. The binding probably doesn't know when to fire again. I generally discourage binding to functions. He may even be getting one of those "can't bind to" warnings. Binding also eats runtime errors. I would override a

RE: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Alex Harui
What is ClipTile? If it is based on Container, they may both be equivalent, but if it is based on an mx.controls.* it may not be the same. It would seem to me that if you got the scope wrong, you'd get an runtime error, so I can't figure out why he's in the situation he is. -Original Message

RE: [flexcoders] Re: tree itemRenderer problem

2007-10-17 Thread Alex Harui
If you go back to the default tree renderer, can you right-click and show a context menu? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schuenke Sent: Wednesday, October 17, 2007 7:16 AM To: flexcoders@yahoogroups.com Subject: [fl

RE: [flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Alex Harui
In general, you should not have a 'name' property on things that subclass DisplayObject. One already exists and it is used for various things in Flex. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Sent: Wednesday, October 17, 200

[flexcoders] Re: html-wrapper Flex Ant Task

2007-10-17 Thread Robert Csiki
I'm having the same issue ... anyone having a solution for this, please? Thanks Robert --- In flexcoders@yahoogroups.com, "chuyler1" <[EMAIL PROTECTED]> wrote: > > I've got two questions about using Ant to generate the html for our > project. > > 1) Why isn't there a way to specify an external

[flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Ryan
lol another correction, i meant name="myRepeater.name_element". The odd thing is that I can ADD as much data to the dataprovider as I want and re- executebindings all day, but if I remove ANY single element from the array or just clear the whole dataprovider array, the thing errors. --- In fl

[flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Ryan
Correction, I do not have a name property set in the PROVIDER, but in the repeater there's a name attribute on of one of the components that's set like name="mydataprovider.name_element" If I clear out the data it shouldn't cause this problem because the repeater shouldn't go through any iter

Re: [flexcoders] Re: Unknown destination 'EmployeeServiceRO

2007-10-17 Thread Greg Morphis
Still havent found anything with this. One thing I didnt mention yesterday is that there is a folder with a security check.. Just a simple check... security test for app <% if (request.getUserPrincipal() != null) { %> Your user principal name is <%= request.getUserPrincipal().getName()

[flexcoders] Re: not kosher to call function from inline renderer?

2007-10-17 Thread droponrcll
--- In flexcoders@yahoogroups.com, Paul Hastings <[EMAIL PROTECTED]> wrote: > > droponrcll wrote: > > Is it possible to use the blobToImage when creating the datasource for > > the ItemRenderers so that you just pull that as a property from the > > objects in your ArrayCollection? > > not sure

RE: [flexcoders] Capture literal HTTPservice error returned from server

2007-10-17 Thread Tracy Spratt
Ben, the problem lies in the browser, in that when it recieves an error response code (200?), it does not pass the full exception to the Flash Player. Some workarounds include forcing the server to return a different code. There will be more detail in the archives. My strategy is to handle

RE: [flexcoders] how to catch selected item using repeater in flex 2.0

2007-10-17 Thread Tracy Spratt
Repeater is not List and does not have automatic selection functionality. You want to have a click on the repeated item call a handler function and then do some work. Below is some sample code. Tracy Goal: Display a list of items using a complex display for each item, and have each of those ite

RE: [flexcoders] Nested accordion-like menus

2007-10-17 Thread Tracy Spratt
I might start with the Tree for this since it has all the functionality already. A custom TreeItemRenderer would give you the appearance you want. An alternative would be a custom component with a parent row and a VBox for child elements. Collapse would set the height of the child Vbox contai

[flexcoders] Re: Very strange runtime error with a repeater.

2007-10-17 Thread Ryan
Indeed I do. It's definitely set in every case though... --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Do you have a 'name' property in your data provider objects? > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PR

RE: [flexcoders] How to access objects made by a script (addChild)

2007-10-17 Thread Tracy Spratt
Setting the id this way is not the same as setting an id="myId" in an mxml tag. In that case the generator/compiler creates an instance variable with the name specified in the id property containing a reference to the component. When creating children yourself, you need to build your own list

[flexcoders] Re: problems access a Flex/CF site via a URL

2007-10-17 Thread stephen50232
Well my method calls worked fine on another server I was running this application on, I've recently moved the site to a new server and repointed the URL. The service-config file looks like this:

Re: [flexcoders] problems access a Flex/CF site via a URL

2007-10-17 Thread Tom Chiverton
On Wednesday 17 Oct 2007, [EMAIL PROTECTED] wrote: > When I access the same site, via a IP address I don't get the error > message and the site works fine. At a guess, you have some cross domain problem with your RPC calls. What does your services-config and method calls look like ? -- Tom Chive

Re: [flexcoders] Caching Problem..Changing Browsers Doesn't Help either

2007-10-17 Thread Tom Chiverton
On Wednesday 17 Oct 2007, [EMAIL PROTECTED] wrote: > compile the index.swf, after I start my tomcat server and try to > access my homepage (index.swf) I am still seeing the old version of my > index.swf. Maybe it's not being compiled and/or copied correctly. Can you verify the change date on the

RE: [flexcoders] Can the Datagrid do this ?

2007-10-17 Thread Tracy Spratt
Also, you asked for "...do the same as if the user clicked on a row ..." Be aware that if you have a handler function on the "change" event, it will not be called when you programatically set selectedIndex. The event "valueCommit" does change when the index is set programatically. Watch out for nu

[flexcoders] problems access a Flex/CF site via a URL

2007-10-17 Thread stephen50232
Hi, I have a site which when accessed by its URL, throws this error message: (mx.rpc::Fault)#0 errorID = 0 faultCode = "Server.Processing" faultDetail = (null) faultString = "java.lang.NullPointerException" message = "faultCode:Server.Processing faultString:'java.lang.NullPointerExcepti

[flexcoders] Caching Problem..Changing Browsers Doesn't Help either

2007-10-17 Thread tarun chandra
Hi All, Please take some time out to answer this Flex Beginners questions: 1. I made some changes to my index.mxml and built my project o compile the index.swf, after I start my tomcat server and try to access my homepage (index.swf) I am still seeing the old version of my index.swf. I tried cle

RE: [flexcoders] How to update Database Data using HTTPService

2007-10-17 Thread Tracy Spratt
Pakage your data up as an xml string in the Flex client. Send it to the jsp page using HTTPService and process the xml there to update the database. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vkc_nair Sent: Monday, October

Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?

2007-10-17 Thread Bruce Hopkins
Tom, Thanks for your feed back on GDS. I have one question for you though. When I ran the simple Pojo example, I saw in the output from my Tomcat server that GDS was using AMF0, although it was supposed to be using AMF3. Do you know why that is? Thanks, Bruce On 10/16/07, tomeuchre <[EMAIL PROT

Re: [flexcoders] Re: not kosher to call function from inline renderer?

2007-10-17 Thread Paul Hastings
droponrcll wrote: > Is it possible to use the blobToImage when creating the datasource for > the ItemRenderers so that you just pull that as a property from the > objects in your ArrayCollection? not sure i'm following.

Re: [flexcoders] webservice wsdl parsing error? help?

2007-10-17 Thread D Mike
Hi, I've been facing the same issue mentioned and am a newbie. Was the issue resolved - if so could you please post what helped. DM tddclare wrote: > > Hi, > > I haven't worked with webservices much, but am needing to test out a > service that was produced by a software package my company i

[flexcoders] Re: not kosher to call function from inline renderer?

2007-10-17 Thread droponrcll
--- In flexcoders@yahoogroups.com, Paul Hastings <[EMAIL PROTECTED]> wrote: > > Paul deCoursey wrote: > > The inline component doesn't have that method in scope. Try > > {this.parentDocumen t.blobToImage. ... > > spoke too soon. while this got rid of the complier error, that method's still > no

[flexcoders] Re: tree itemRenderer problem

2007-10-17 Thread Jeff Schuenke
2.x. I just added mouseEnabled = true with no change seen. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > 2.x or 3.0? In 2.x, mouseEnabled=false and may affect ContextMenu. > > > > > > From: flexcoders@yahoogroups.com [mailto

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Paul deCoursey
Ok, I always use parentDocument and it always works for me... what's the deal? I've never used outerDocument. Here is a quick sample: Can you explain why mine works but his does not? Paul Alex Harui wrote: > > I think you want to use outerDocument. I’m surprised you didn’t get a > ru

Re: [flexcoders] Re: Flex Builder cannot locate the required debug version of the Flash Player

2007-10-17 Thread Tom Chiverton
On Wednesday 17 Oct 2007, [EMAIL PROTECTED] wrote: > The thing is that we can't install anything from any external site. How did you get Flex Builder installed then ?!? > I'm not sure what to do? USB stick and your home's network :-) -- Tom Chiverton. Are you a great Flex programmer, who knows

[flexcoders] Populate List from Remote Shared Object

2007-10-17 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 List: I am trying to populate a List component from a Remote Shared Object that is stored within FMS. However the List is blank when I run the application within FlexBuilder. My Code is as follows: private function SyncUserList(event:SyncEvent):void

[flexcoders] Re: Flex Builder cannot locate the required debug version of the Flash Player

2007-10-17 Thread seemaherein
Thanks to all for response. The thing is that we can't install anything from any external site. My Flex builder version is 2.0.1 and flash player version is - 9.0.47.0 I'm not sure what to do? --- In flexcoders@yahoogroups.com, "Mike Morearty" <[EMAIL PROTECTED]> wrote: > > You can also find th

[flexcoders] Re: Problems do make framework caching work

2007-10-17 Thread danielvlopes
Hello Alex, i try upload the swf's files generated and everything still white and nothing happen, when i compile em builder em export release everything work fine and framework caching to. This is the content of file you ask in last email: package { import flash.text.Font; import flash.t

[flexcoders] Re: Viewstack selectedChild doesn't remain invisible when told to

2007-10-17 Thread bhaq1972
thanks. i like the idea. regards Bod --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Wednesday 17 Oct 2007, [EMAIL PROTECTED] wrote: > > I increase the width of a viewstack. > > I then make the selectedChild of the viewstack invisible. > > I then decrease the

RE: [flexcoders] Re: Site Launch

2007-10-17 Thread Mike Krotscheck
The swf's clocking in at about 2.5megs the vast majority of which is graphics, which at DSL speeds (well, mine anyway, and I'm a cheap bastard) still didn't take very long. As for the optimization stage, I'll have to talk to the PM and the CSM to see if we've got any budget for it (And additional r

Re: [flexcoders] Re: flex problem with coldfusion 8

2007-10-17 Thread Tom Chiverton
On Wednesday 17 Oct 2007, [EMAIL PROTECTED] wrote: > > Flex is interpreting the results as strings instead of numbers, so > > sorting data in my datagrid is failing to work properly. Either return correctly typed value objects, or change the sort of the column. -- Tom Chiverton. Are you a great

[flexcoders] Problem setting localized Application.pageTitle

2007-10-17 Thread gers32
Hi, My localized application defines the following ResourceBundle for retrieving localized strings (the [Bindable] is to get rid of warning messages): [Bindable] [ResourceBundle("FDS")] private var rb:ResourceBundle; I then successfully use rb in my MXML code, except in , where I get a compiler

[flexcoders] Re: Flex Remoting Options - Any Opinions?

2007-10-17 Thread tomeuchre
--- In flexcoders@yahoogroups.com, "Bruce Hopkins" <[EMAIL PROTECTED]> wrote: > > Yeah, I'm using HTTPService right now with E4X results. The for large data > results, however, XML is not desirable. > > I'd prefer to use some framework that uses AMF3 in order to get more compact > results. > >

  1   2   >