RE: [flexcoders] Best language for remoting

2008-12-09 Thread Gregor Kiddie
We, on this list, have yet to come up with a consensus on *anything*, so good luck with that. I dunno... we could probably come up with a consensus that you rock! (Oh, and that you aren't a girl ;) ) Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The

RE: [flexcoders] AIR as GUI on Linux

2008-12-09 Thread James Ward
I've been exploring using File IO in AIR to connect to DBUS on Linux as a way to communicate between AIR apps and other applications. Nothing to show yet but it certainly seems possible. There is already a JavaScript DBUS API that could be partially ported. Would that work? -James From:

Re: [flexcoders] Parsley MVC :: some thoughts

2008-12-09 Thread Jules Suggate
How can something be asynchronous but not concurrent? Asynchronous means that control returns from the function call immediately although the transaction triggered by the call may still be ongoing. To me, that absolutely *requires* concurrency, even if it's simulated through a timeslicing

[flexcoders] Re: Charts Datatip hide delay

2008-12-09 Thread pratikshah83
Thanks for your reply. I would just like to know. Is there a way to use the detaTipRenderer style already available to delay the display of the tooltip. I am aware of having event on items and handle it separately. But just wanted to know if there is something like hideDelay available in

Re: [flexcoders] Parsley MVC :: some thoughts

2008-12-09 Thread Josh McDonald
Not exactly, asynchronous simply means your event handler will fire some time in the future, rather than when you call addEventListener(). Not everything is a blocking dispatch, either IIRC. Concurrent means there's multiple things going on at the same time. Most of the time there's *nothing*

Re: [flexcoders] Parsley MVC :: some thoughts

2008-12-09 Thread Paul Andrews
Jules, I confess I actually misread your original post - I had anticipated that when an event is despatch it wouldn't be actioned until the current code section had been completed then the player would act upon events awaiting despatch. On the face of it, if events are despatched and all

Re: [flexcoders] Re: interface layout help

2008-12-09 Thread Paul Andrews
There's no real difference between clicking on a tile and clicking on a row in a datagrid - they both work from the same dataprovider. - Original Message - From: stinasius [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, December 09, 2008 10:00 AM Subject: [flexcoders]

[flexcoders] Resize and Movw effect to air main native window

2008-12-09 Thread abhishekchess1
hello frnds, I have air application, in that i have 1 canvas which contain 1 component page, canvas has height=0 at first, When user clicks on increase btn it should increase to top , when user clicks on decrease it should go again to height=0; both should work with effect , but it is not

Re: [flexcoders] Re: interface layout help

2008-12-09 Thread Paul Andrews
acrobat.com is using transitions to ease the view from one state to another. There's nothing stopping you from doing the same. The real trick to making slick interfaces is skill and experience, so it takes time. I'm still working on it. You shouldn't be too hard on yourself. Some people make

[flexcoders] huge AMF messages

2008-12-09 Thread Robin Burrer
Hi all, I planning to build an AIR application. In this application the user can create libraries that consist of multiple value Entry objects. Each EntryVO should look like this (there will be more properties of course) : package vo { [RemoteClass(alias=vo.EntryVO)]

[flexcoders] Re: interface layout help

2008-12-09 Thread stinasius
i think that having a tile list is great but then hw do i bring up the map and the virtual tour when one needs details on property?

[flexcoders] vertical scrollbar problems...Please help i am freaking out :-)

2008-12-09 Thread fotis.chatzinikos
Hello all, I do not know how many hours i have spend playing around with scroll policies, heights, tops and bottoms...but still no solution. The application layout is the following: HBOX LEFT VBOX RIGHT VBOX --PANEL --VIEW STACK PANEL 1 (lets say 200 pixels height)

[flexcoders] Flex Builder caching PNGs

2008-12-09 Thread tom s
I'm @Embedding some PNGs to skin some buttons. If I Run once, then edit the PNG file, then Run again I get the old PNG (w/o the edits), not the new one. My current work-around is to rename the file after each change, but this is a pain. How do I get Flex Builder to not cache the PNGs / to check

[flexcoders] speed of the for each looping

2008-12-09 Thread Cato Paus
Hi, all you experts :) I'm tying to speed up my application and I use a lot of exsample for (var i:int = 0; i 5; i++) { trace(i); } so is the for each looping faster ?

RES: [flexcoders] vertical scrollbar problems...Please help i am freaking out :-)

2008-12-09 Thread Luciano Manerich Junior
Got that same issue few days ago.. Ive just swap the Panels, putting the higher first... Not that good solution, but, it has no problems for me. What you could try is, add canvas as child of the viewStack and panels as child of the canvas, resulting in a vertical scroll inside the canvas, not

RES: [flexcoders] Flex Builder caching PNGs

2008-12-09 Thread Luciano Manerich Junior
Clean Build Project? De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de tom s Enviada em: terça-feira, 9 de dezembro de 2008 11:27 Para: flexcoders@yahoogroups.com Assunto: [flexcoders] Flex Builder caching PNGs I'm @Embedding some PNGs to

RE: [flexcoders] Flex Builder caching PNGs

2008-12-09 Thread Jim Hayes
From what I can tell FB will not detect changes in files (images, and I believe css files) by itself, so if you change one then run/debug it will think nothings different and just show the last compiled version. When I'm doing stuff like that, I've got into the habit of just adding/deleting a

Re: [flexcoders] Parsley MVC :: some thoughts

2008-12-09 Thread Ralf Bokelberg
I'm confused. Let's clarify what we are talking about. The event dispatching is fully synchronous. If you call dispatchEvent, all event handlers are called, before the next statement is executed. Some processes (eg loading something from the backend or a timer) dispatch events in an asynchronous

Re: [flexcoders] Flex Builder caching PNGs

2008-12-09 Thread Fotis Chatzinikos
Hi Tom, I had the same problem, did not really found a good solution... It seems that flex does some kind of trancoding and this does not pick up changed... What worked is to delete all images, recompile the project, get some errors on missing resources and then paste the new images and

[flexcoders] Call Flex from JavaScript

2008-12-09 Thread wkolcz
Using a set up in my ActionScript of: ExternalInterface.addCallback(tagWithClosed,windowClosed); How can I write a JavaScript function that calls 'tagWithClosed' to Flex when the user closes the window (window.close() ) or when they leave for another page?

[flexcoders] Invoking Flex fuction from Javascript for close.window

2008-12-09 Thread wkolcz
Using a set up in my ActionScript of: ExternalInterface.addCallback(tagWithClosed,windowClosed); How can I write a JavaScript function that calls 'tagWithClosed' to Flex when the user closes the window (window.close() ) or when they leave for another page?

RE: [flexcoders] Re: Desperate Times...Desprate Messures: What is sent by HTTPRequest?

2008-12-09 Thread wkolcz
Figured it out. Wrapped the query in a try/catch that outputted to a pdf. It was the weirdest thing..same values hardcoded and sent, but the sent ones were truncated.. Now I just need to figure out how to write a javascript that calls to Flex and invokes a function on window.close...stay

[flexcoders] Lazy loading trees

2008-12-09 Thread dandante
Hello, I have a Tree control and I want to load each node's children in lazy fashion--that is, when the user expands a node, I want to fetch that node's children from the server. (there is way too much data to populate the entire tree ahead of time). I've looked around and the closest I came

[flexcoders] How to wite a javascript that calls to ActionScript

2008-12-09 Thread wkolcz
Can someone show me how to write a javascript function that calls to a Flex/AS function before a browser window closes? In my AS contructor I have: if (ExternalInterface.available) ExternalInterface.addCallback(tagWithClosed,windowClosed); I tried something like this, but I don't know

[flexcoders] AIR Application - Positioning.

2008-12-09 Thread Daniel
Hi, I have a requirement for an application, it provides extensions based on a name entry box. The client would like it to appear as a system tray icon, and when you click it, the application opens above it. When you find results the application window stretches upwards to show the results.

[flexcoders] Deployment of Flex Application in IIS

2008-12-09 Thread srik_kanth_g
Hi, I am trying to deploy a small Flex application in IIS, but I could not succed. I have installed Flex Bulider 3 in Server and deployed code into WWWRoot under InetPub folder. when I tried to browse the .html page,it did not fetch any data from the database, just displayed empty charts.

[flexcoders] tile control

2008-12-09 Thread prashant_ipem
how to select all item of tile control through 'select All' and is it possible to select an item of tile control.

Re: [flexcoders] vertical scrollbar problems...Please help i am freaking out :-)

2008-12-09 Thread Fotis Chatzinikos
Does anyone know if there is a way to tell the viewstack to recalculate its height? (Should not it do that automatically?) On Tue, Dec 9, 2008 at 3:31 PM, Luciano Manerich Junior [EMAIL PROTECTED] wrote: Got that same issue few days ago.. Ive just swap the Panels, putting the higher

Re: [flexcoders] Resize and Movw effect to air main native window

2008-12-09 Thread jitendra jain
Can u please paste some code? Thanks, with Regards, Jitendra Jain From: abhishekchess1 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, 9 December, 2008 4:37:44 PM Subject: [flexcoders] Resize and Movw effect to air main native window

Re: [flexcoders] Defining, but not adding to parent in MXML

2008-12-09 Thread Michael Prescott
That's it exactly. Basically, we have a number of situations where we need to add pop-up details to elements in our application, so I thought I'm trying to make reusable non-visual component that orchestrates that, like this: mx:Whatever id=summary/ mx:Canvas id=myPopUp mx:Label text=All

[flexcoders] Re: interface layout help

2008-12-09 Thread stinasius
yeah but if combined together like having two views that guys can switch to (for example the datagrid view and a tile window view) would be great. my problem is that i feel there must be another way to bring up the map and the virtual tour. having all the four components showing at the same time.

[flexcoders] Re: Flex Messaging - Typing Objects.

2008-12-09 Thread Rodrigo Pereira Fraga
Hi! Thanks, It works fine. My objects are typed. --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Yes, you can build and push AsyncMessages that contain typed objects as the message bodies. If you're just pushing messages from client to client through the server

[flexcoders] Please Help: Shift data Up|Down in array/datagrid

2008-12-09 Thread cox.blair
Hi everyone, hope someone can offer a suggestion to solve this, or at least let me know if it possible within Flex/ActionScript. Here is my sample data: Date Var1 Var2 - Mon 34 45 Tues67 87 Wed 83 12 Thurs 89 23 Fri 12 98 ... ...

[flexcoders] Re: Flex Builder caching PNGs

2008-12-09 Thread oneworld95
Same issues with me. Embedded PNG's are cached somehow and become impossible to update. The only method that seems to work is to use what Fotis explained. -Alex --- In flexcoders@yahoogroups.com, Fotis Chatzinikos [EMAIL PROTECTED] wrote: Hi Tom, I had the same problem, did not really

Re: [flexcoders] Flex Builder caching PNGs

2008-12-09 Thread Jon Bradley
On Dec 9, 2008, at 8:26 AM, tom s wrote: How do I get Flex Builder to not cache the PNGs / to check for changes on each compile? I think there's a bug there somewhere. What I do is go into the class where the embed tag is and make a change to the embed tag, then save, then make the

Re: [flexcoders] Re: interface layout help

2008-12-09 Thread Paul Andrews
It's a common thing inFlex apps to offer a switch between a textual datagrid and a tile view, so I'm not sure why this adds any complication. There are loads of ways to implement an interface for the application that you have - there is no one right way to make this interface. Paul -

[flexcoders] Re: interface layout help

2008-12-09 Thread stinasius
what am saying is that i would like to deliver info on demand in a way that is easy to understand and fluid. for example have just the tile view with the option of jumping to a datagrid view, then show the map and virtual tour when needed all in a fluid way and easy to understand. for example

Re: [flexcoders] Lazy loading trees

2008-12-09 Thread Johannes Nel
Implement ITreeDataDescriptor and set the tree's data descriptor thus every time you open a node you call the getChildren function of your data descriptor a simple example internal class ReferenceDataDescriptor implements ITreeDataDescriptor { private var

[flexcoders] Socket and Pop3

2008-12-09 Thread quantum_ohm
Hi All ! I'm building a POP3 mail client in AIR, and can't figure out how to dispatch events (or where ) to send all the commands one after each other in a unique same shot. For now I have to send them individually like : USER then when I have the response PASS then STAT then RETR and

Re: [flexcoders] Drag and Drop into a Popup Window

2008-12-09 Thread Reto M. Kiefer
Hello Alex, thanks for your answer! it was my fault. I didn't specified the proper event handlers in the drop target. It's working quite fine now. Sorry for the disturbance.. Cheers Reto 2008/12/8 Alex Harui [EMAIL PROTECTED]: What didn't work? Post a mini-example. From:

Re: [flexcoders] Parsley MVC :: some thoughts

2008-12-09 Thread Jules Suggate
Hi Ralf, That's my understanding now too. What I'm slowly coming to terms with are the facts you so lucidly summarise below :) I (and I think Paul too) had always assumed that control returned from the dispatchEvent function immediately. I'm still a little bit shocked about it. In this light,

[flexcoders] Re: Deployment of Flex Application in IIS

2008-12-09 Thread nathanpdaniel
That issue has more to do with how you load data than the fact that you're using IIS. You should look into the security issues involved with loading external data to start with. --- In flexcoders@yahoogroups.com, srik_kanth_g [EMAIL PROTECTED] wrote: Hi, I am trying to deploy a small

[flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Amy
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Jules, I confess I actually misread your original post - I had anticipated that when an event is despatch it wouldn't be actioned until the current code section had been completed then the player would act upon

[flexcoders] Re: Does anyone know ANYTHING about AS Webservices?

2008-12-09 Thread valdhor
The following works for me: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=onCreationComplete() mx:Script ![CDATA[ import mx.controls.Alert; import mx.rpc.events.ResultEvent; import

Re: [flexcoders] vertical scrollbar problems...Please help i am freaking out :-)

2008-12-09 Thread Fotis Chatzinikos
Oups, isn't it funny when you mail the list after hours of head banging (on a wall not just rocking :-) and then solve it in the next half an hour...? I had everything wrapped in a 'parent' viewstack which i forgot to enable its resizeToContent flag... Works now... On Tue, Dec 9, 2008 at 3:56

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Ralf Bokelberg
Hi Amy Afaik this is not possible in Flashplayer. A block of code is always running through without any interuption. Colin Moock has a good chapter of how all this works in his nice AS3 book. Cheers Ralf. On Tue, Dec 9, 2008 at 3:44 PM, Amy [EMAIL PROTECTED] wrote: I actually had this very

[flexcoders] How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread markflex2007
Please give me a general idea or some urls. Thanks a lot Mark

[flexcoders] Digest Authentification in Flex

2008-12-09 Thread Christoph Pingel
Hello, I'm trying to wrap my head around digest authentification in Flex. The point is, using a proxy is not an option. Using the HTTPService object, Base authentification is straightforward, I just add the required headers. Now, in the case of Digest auth, the problem is that the Server

[flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread marty_martian
I have searched through the archives for this user group but see very little discussion on WebDAV with Flex. It looks like some folks have been trying to do it as far back as 2006 but no samples or pointers to samples or open source widgets have been posted. Related to this, can anyone share:

[flexcoders] Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-09 Thread aut0poietic
Title pretty much says it all: I have a Flex 3 application which can basically be summed up as a SWF player which loads SWF's created in Flash CS3. When the SWF's are loaded, I can interact with them using the mouse (click/mouseover, etc). However, these items cannot be tabbed to. I've been

[flexcoders] Re: How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread aut0poietic
--- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Please give me a general idea or some urls. Thanks a lot Mark Doing this now: If you're using a Flash 9/10 file in Flex 3 and in the same domain, you can load the SWF into a SWFLoader control, and once loaded, the

[flexcoders] Re: errorTip fontSize break the tooltip? Possible bug?

2008-12-09 Thread valdhor
How about a work around: private function init():void { var toolTipString:String = You need to save your changes!; saveTip = ToolTipManager.createToolTip(toolTipString,50,50) as ToolTip; saveTip.setStyle(styleName,

Re: [flexcoders] How to wite a javascript that calls to ActionScript

2008-12-09 Thread Fidel Viegas
On Tue, Dec 9, 2008 at 2:07 PM, wkolcz [EMAIL PROTECTED] wrote: Can someone show me how to write a javascript function that calls to a Flex/AS function before a browser window closes? In my AS contructor I have: if (ExternalInterface.available)

[flexcoders] Problems with locale different to en_US when building an swf file using Ant

2008-12-09 Thread taze170171
Hello! We have a problem when building the swf file with a locale different to en_US. We use the following ant code for building: additional.compiler.arguments=-services .../services-config.xml - locale=de_AT -source-path=./locale/{locale} target name=releasecompile java

[flexcoders] Re: Bug: flash.display.Graphics being removed.

2008-12-09 Thread flexaustin
In Flex 3.1 framework import flash.display.Graphics isn't showing in code hinting. --- In flexcoders@yahoogroups.com, sunild99 [EMAIL PROTECTED] wrote: Usually, when code completion stops working in Flex Builder, it's because the I'm editing has an error/omission in it... Sunil

Re: [flexcoders] speed of the for each looping

2008-12-09 Thread Maciek Sakrejda
If you're trying to speed up your application, you should use the profiler. Something like the difference between a manually indexed for loop and a for-each loop is almost certain to be trivial. If you don't have the profiler, run an ad-hoc perf test by doing something like // we need to

[flexcoders] Listening for both Mouse Down and Double Click events.

2008-12-09 Thread flexaustin
Is it possible to listen for both a mouse down and doubleclick events without using some sort of timer? On mouse down start timer to listen for a another mouse down? If you listen for a mouse down and in the mouse down handler add another listener to listen for some other action is a possibility

[flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread boilerman1984
I took your example with the DataGrid and slightly modified it to extend a List. The example correctly shows a list and correctly tabs into the first itemRenderer ( rendererIsEditor=true and the MultiField editor is the Renderer). The shift works to tab back out of the first item as well. The

RE: [flexcoders] Error while accessing LCDS fill method

2008-12-09 Thread Seth Hodgson
If this hasn't been resolved, a snippet of your server log file with Message.* and Debug.* debug logging enabled, leading up to and through this error would be useful to see, as well as knowing what version of the LCDS you're running. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] How to wite a javascript that calls to ActionScript

2008-12-09 Thread wkolcz
Sorry about that. Its not really my fault. Its the flexcoder list system. Actually I emailed one at 5pm yesterdays, waited for it to show up but it didnt. So I sent another one about 8:30 pm, it didn't show up either. Then I sent one this morning and it didn't show up for an hour (when all 3

RE: [flexcoders] Re: Deployment of Flex Application in IIS

2008-12-09 Thread Tracy Spratt
Yes, this symptom usually means a security a security problem. Put a crossdomain.xml file in ..\inetpub\wwwroot. This example below is wide open and you might want to tighten it down once you get things working. Tracy ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM

[flexcoders] Re: Invoking Flex fuction from Javascript for close.window

2008-12-09 Thread Anthony DeBonis
With ExternalInterface.call you can inject JavaScript into the wrapper document. if ( ExternalInterface.available ) { ExternalInterface.call('alert(TEST)'); } A good example of what your talking about is here thanks to Greg Jessup

[flexcoders] RE: services-config.xml: compc or just mxmlc?

2008-12-09 Thread Seth Hodgson
Hi Maciek, I don't have any practical experience with attempting to compile service config and associated classes into modules and I don't know whether compc would support it or not, but based on some informal discussions with Alex and Jeff I wouldn't recommend it. The core issue is that AMF

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
This page in the LCDS docset describes this specifically: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcconnections_4.html#1074309 The scenario in the docs is dealing with notifying the server that the client is going away, in order to short-circuit the

[flexcoders] Re: How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread markflex2007
Thank. How to get data from the swf. Thanks Mark

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Paul Andrews
- Original Message - From: Ralf Bokelberg [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, December 09, 2008 3:00 PM Subject: Re: [flexcoders] Re: Parsley MVC :: some thoughts Hi Amy Afaik this is not possible in Flashplayer. A block of code is always running through

[flexcoders] Automating Flex Modules

2008-12-09 Thread Denis
Hi everyone, We have a Flex app that generates various charts that also need to find their way into printed reports. While we offer on-line functionality to export displayed charts and convert them into bitmaps, we also need to allow users to generate the preconfigured charts without

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread wkolcz
Based on that and other examples, I tried this: script language=JavaScript type=text/javascript window.onunload = trackClosing; function trackClosing(){ document.getElementById(FXVideo).tagWithClosed(); } /script In my constructor I have: if (ExternalInterface.available){

[flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread boilerman1984
I believe I found the problem. I need to rewrite an event to return multiple values from the item editor instead of the default 'text' value. I'll work on this and the tab should work I'm guessing. If it does not I will report back. Thanks for the help again.

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
You need to pop a Javascript alert in your trackClosing() method to keep the browser from closing until the user clicks the OK button. This technique is a hack, but an alert generally leads to a long enough delay in user interaction (say a second or two) to finish making your call into the

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread wkolcz
Unfortunately that is not an option. This is a video player tracking system on a very public landing page. Would onbeforeunload work better? Is there a way to just delay the closing of a page before it happens (behind the scenes)? Any other javascript events that would work better?

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
Not that I'm aware of. Javascript alert is the only way to block a page close, and even then only until the user clicks OK. The various close-related events in Javascript exhibit subtle differences across browsers/versions and allowing a script to force a page to remain open (for any length of

RE: [flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread Seth Hodgson
Unfortunately, the Player currently limits the set of allowed HTTP methods to just GET and POST. This means that PUT, DELETE, HEAD, etc. as well as all the WebDAV extension methods are not allowed. Anyone who cares about this area should vote for this bug:

RE: [flexcoders] JSP taglib FLEX 3

2008-12-09 Thread Seth Hodgson
You need to merge the entire web tier compiler WAR with your existing WAR. If you just move random jars over chances are good you'll miss some dependencies. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of virchete Sent: Tuesday, December 02, 2008 6:21 AM To:

Re: [flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread Stephen More
How exactly do you envision WebDAV being used with flash ? Couldn't one use flash.net.Socket to connect to port 80 and communicate using the WebDAV protocol ? On Tue, Dec 9, 2008 at 2:10 PM, Seth Hodgson shodg. wrote: Unfortunately, the Player currently limits the set of allowed HTTP

Re: [flexcoders] XML Decoding

2008-12-09 Thread Richard Rodseth
This is unfortunate. I got tired of custom XML decoding and wanted to use SimpleXMLDecoder + Darron Schall's ObjectTranslator. But SimpleXMLDecoder expects an XMLNode not an XML or XMLList The technique described here is a possibility (perhaps my best option), except I don't wish to decode the

[flexcoders] clearing out mx:DateField

2008-12-09 Thread Stephen More
Within flex I have: mx:DateField id=effective / Once a user selects a date, I can not clear it out using actionscript. I have tried: effective.selectedDate = null; effective.selectedDate = undefined; neither one has worked. How can one clear out the mx:DateField ? -Thanks

RE: [flexcoders] huge AMF messages

2008-12-09 Thread Seth Hodgson
If you sent these in a RemoteObject call, that 10MB worth of data would go to the server in the body of a single HTTP POST. No progress events, and depending on the receiving server it may enforce size limits on body content of HTTP requests but they'd likely be higher than 10MB. Best, Seth

[flexcoders] getBitmapData from a scaled display object

2008-12-09 Thread Kyle
I'm trying to figure out the easiest way to get bitmapdata from a displayobject that has had its scalex/scaley altered. In the test example I have listed below, I have a canvas container that has 3 children (swfLoader components). I set the scalex/scaley of the canvas container to 2 and its'

RE: [flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread Seth Hodgson
Agreed, but one caution: Implementing things from scratch on top of flash.net.Socket may be an option for some limited use cases, but without the direct browser integration it doesn't make for a great general solution (in the case of WebDAV, or for general HTTP) You lose integrated auth (NTLM

Re: [flexcoders] Listening for both Mouse Down and Double Click events.

2008-12-09 Thread Brendan Meutzner
There is a double click event you can listen for on UIComponent... just make sure that doubleClickEnabled is set to true on the instance you're setting the listener on. Brendan On Tue, Dec 9, 2008 at 11:04 AM, flexaustin [EMAIL PROTECTED] wrote: Is it possible to listen for both a mouse

[flexcoders] Re: clearing out mx:DateField

2008-12-09 Thread jim.abbott45
Hmm . . . I would think that should work, I've used the foo.selectedDate = null technique before. Here's how my technique for clearing out a DateField looks (in this example: it is filtering a data provider, and 'tomorrowOn' is an instance of an Object which has a rangeStart property):

RE: [flexcoders] clearing out mx:DateField

2008-12-09 Thread Ryan Graham
effective.selectedDate = null; This should clear it. Perhaps the actionscript function containing this code isn't getting called. HTH, Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephen More Sent: Tuesday, December 09, 2008 12:18 PM To:

Re: [flexcoders] Re: Bug: flash.display.Graphics being removed.

2008-12-09 Thread Nate Beck
It is showing up in the 3.x branch. On Tue, Dec 9, 2008 at 9:01 AM, flexaustin [EMAIL PROTECTED] wrote: In Flex 3.1 framework import flash.display.Graphics isn't showing in code hinting. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, sunild99 [EMAIL PROTECTED] wrote:

RE: [flexcoders] AIR Application - Positioning.

2008-12-09 Thread Wildbore, Brendon
You could find the resolution,subtract the initial width of you app then set this to your apps (x,y) coordinates? Would so something like (pseudo-code): this.x = Capabilities.screenResolutionX - this.width; this.x = Capabilities.screenResolutionY - this.height; I'm not sure this

Re: [flexcoders] clearing out mx:DateField

2008-12-09 Thread Stephen More
On Tue, Dec 9, 2008 at 2:44 PM, Ryan Graham Ryan. wrote: effective.selectedDate = null; This should clear it. Perhaps the actionscript function containing this code isn't getting called. Sort of. My flex also has a mx:List with a dataProvider. I try to clear the List with:

RE: [flexcoders] errorTip fontSize break the tooltip? Possible bug?

2008-12-09 Thread Alex Harui
I'd say that's a bug. Tooltip doesn't re-measure correctly. Note that it would never auto-resize once it did measure correctly since parents size their children in Flex so you'd have to size the Tooltip later. ToolTip basically expects its styles to be set in the errorTip style declaration

[flexcoders] Re: speed of the for each looping

2008-12-09 Thread Cato Paus
Hi and thanks for your deep explanation :) and yes I run the profiler, and are doing some improvement here and there, the real question is how the for each is working. I have been browsing the internet and all the bibels on ActionScript 3, but did not found any good explanation on the matter.

[flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread boilerman1984
I fixed the run time error by writing a function to pass the two text box variables back to the data provider. (ItemEditEnd=func(event);) Fixed it. So now I can tab into the List's first component but once focus is on the first renderer I can only tab and shift between the two boxes in the first

RE: [flexcoders] clearing out mx:DateField

2008-12-09 Thread Alex Harui
To clear selection from a list, set selectedIndex = -1 Setting selectedDate = null worked for me. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephen More Sent: Tuesday, December 09, 2008 12:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] clearing out

RE: [flexcoders] Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-09 Thread Alex Harui
The CS3 entities need to implement IFocusManagerComponent. You might be able to use the Flash Component Kit to do that From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aut0poietic Sent: Tuesday, December 09, 2008 7:47 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Defining, but not adding to parent in MXML

2008-12-09 Thread Alex Harui
If it doesn't need to truly float, consider using states and addChild/removeChild From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Prescott Sent: Tuesday, December 09, 2008 5:59 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Defining, but not adding

RE: [flexcoders] speed of the for each looping

2008-12-09 Thread Alex Harui
For each should be much slower than a basic iterator as it has to walk the object's properties. For each (var p:* in someObject) And For (var p:String in SomeObject) Probably run at the same rate. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cato Paus Sent:

RE: [flexcoders] Please Help: Shift data Up|Down in array/datagrid

2008-12-09 Thread Alex Harui
What do your datastructures look like before and after? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cox.blair Sent: Tuesday, December 09, 2008 4:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Please Help: Shift data Up|Down in array/datagrid Hi everyone,

RE: [flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread Alex Harui
That sounds like you're still calling preventDefault on the keyFocusChange event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of boilerman1984 Sent: Tuesday, December 09, 2008 12:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Item Renderer focus on

RE: [flexcoders] getBitmapData from a scaled display object

2008-12-09 Thread Ryan Graham
You may have to play with some of the positioning, but use the second parameter of the bitmapData.draw() function to pass in the object's transform matrix as a start. This should get you closer... bitmapdata.draw( displayObject2, displayObject2.transform.matrix ); HTH, Ryan From:

RE: [flexcoders] Re: How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread Tracy Spratt
SWFLoader.content.myPublicMember Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Tuesday, December 09, 2008 12:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to make Flex exchange data with

[flexcoders] Failed to load policy file from http://localhost:8881/crossdomain.xml

2008-12-09 Thread luvfotography
I'm getting this error when I run my program from my FLEX Builder. Failed to load policy file from http://localhost:8881/crossdomain.xml Warning: Failed to load policy file from http://localhost:8881/crossdomain.xml Error: Request for resource at http://localhost:8881 by requestor from

[flexcoders] Locally generated Flex content not working with IE7

2008-12-09 Thread walveranta
I'm having difficulty with locally generated Flex content not showing up in IE7. When attempting to view Flex-generated content from a local dev server in IE7 I get the message: Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash The same content

RE: [flexcoders] Locally generated Flex content not working with IE7

2008-12-09 Thread Wildbore, Brendon
Sounds like an issue with the javascript in the html template you are using rather than an issue with the generated flex swf file. Check your ie browser javascript settings... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of walveranta

  1   2   >