[flexcoders] Re: DuplicateMovieClip

2008-06-13 Thread Deniz Davutoglu
How can I copy bitmap? Also this work just for bitmap. if I load swf what sould I do? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You can make a copy of the bitmap.

RE: [flexcoders] DuplicateMovieClip

2008-06-13 Thread Celikdemir, Oguz
DuplicateMovieClip için ekteki linklere bir göz at istersen http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/display/duplicateDisplayObject.as http://www.tink.ws/blog/as-30-cloningconcatenating-graphics/#more-175

[flexcoders] Removable media detection with AIR ?

2008-06-13 Thread Farid SALAH
Hi all, We're trying to answer some questions about AIR applications and we wanted do know if the local file system access can be used to detect removable media insertion or ejection (or any event subscription to local file system change). Thanks in advance, Farid

[flexcoders] rotation effect. how?

2008-06-13 Thread Carlo Gulliani
how to create rotation effect with canvas component? I mean, for example, my canvas has button, i pressed it and my all component rotate on 180 in X-axis and I see new component on back-side. I mean such effect which has widgets in dashboard on macosx. when i choose some widget in macosx and

[flexcoders] Get Information (ip, name, etc) from Host

2008-06-13 Thread Jean Szabo
Hello, Y have a AIR application, and I want to know the Ip and the machine Name, is it possible ? Thanks Jean

[flexcoders] rotation effect. how?

2008-06-13 Thread Carlo Gulliani
how to create rotation effect with canvas component? I mean, for example, my canvas has button, i pressed it and my all component rotate on 180 in X-axis and I see new component on back-side. I mean such effect which has widgets in dashboard on macosx. when i choose some widget in macosx and

Re: [flexcoders] how do you guys manage your CFC's?

2008-06-13 Thread Derrick Anderson
duh, i didn't realize that flexbuilder would just copy the CFC files from source to bin. thanks, d. On Thu, Jun 12, 2008 at 6:54 PM, Sherif Abdou [EMAIL PROTECTED] wrote: I do it like FlexBuilderProject--Src--CFC--(split into more folders)--mycom.cfc - Original Message From:

RE: [flexcoders] Flex 3.1 - The Marshall Plan

2008-06-13 Thread Gregor Kiddie
It's good to know it's getting looked at. I came across Ethan's blog before when I was looking at the issue and I came to the same conclusion he did before I ran out of time... It turns out I'm missing some details about the magic mojo required to get the Flex ModuleManager to recognize modules

Re: [flexcoders] how do you guys manage your CFC's?

2008-06-13 Thread Tom Chiverton
On Thursday 12 Jun 2008, Derrick Anderson wrote: however, everytime I edit a CFC- FB prompts me because it thinks it is a derived file. Right click in Eclipse's file navigator and choose 'properties', and untick 'derived'. I split my projects into two parts - the webroot with HTML, CFM,

Re: [flexcoders] How would i layout different objects in grid form

2008-06-13 Thread Tom Chiverton
On Friday 13 Jun 2008, anuj sharma wrote: And if we can the grid has to be dynamic depending upon the number of videos in the container. For example for 1 1x1 , for 2-4 it has to be 2x2, Adjust the relevant properties as needed when the user adds a video. -- Tom Chiverton

[flexcoders] StyleSheet parseCss transform stylenames to lowercase

2008-06-13 Thread mamltdv
Hi all: I'm trying to read an external css and apply styles to my application using the parseCss method from StyleSheet class. When I access style names throght stylenames property from StyleSheet all of them are in lowercase. For example, I have a style named closeButton and the StyleSheet

[flexcoders] tilelist and transitions

2008-06-13 Thread giopaia
I have created a series of states with a simple move transition between them... All worked fine until I added a tilelist as child of one of the states. Now the move transition doesn't start until the tilelist is initialized... Tried also to separate the addchildaction of the tilelist using a

Re: [flexcoders] Need array example

2008-06-13 Thread jitendra jain
Use mx.utils.ObjectUtil class, this ObjectUtil has the method copy that will allow u to create a new array with the same values. var arrayCopy=(ArrayCollection)ObjectUtil.copy(arraycollection); Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 - Original Message

[flexcoders] Re: Need some assistance with dynamic updates done through a loop

2008-06-13 Thread bredwards358
Ok, one thing I'm going to try today is this; essentially I'm going to say, forget that for-loop, just let it update the dataProvider. What I'm going to do is write another function that runs each row of the dp through a filterFunction and checks to see if it is there or not, if it is there, then

Re: [flexcoders] LCDS gets Killed !!!

2008-06-13 Thread jitendra jain
Chitra, If ur trying to run an exe from Java then it will run on Server. Well u can call the servlet from flex using HttpService(In flex). Put all the stuff inside the service method of the servlet. Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 - Original

[flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: MXML is not HTML. I don't remember seeing a specification of columnCount or width of the TileList in pixels. You could be seeing round-off error or simply that the computed width of the tile doesn't fully cover the TL.

[flexcoders] Re: Flex Credit Card Processing

2008-06-13 Thread tspyro2002
Thanks Pat, I would be processing the payments via PHP as the rest of the site utilizes it and a mySQL DB. Is it enough then for the Flex app to be accessed via HTTPS - will this make it secure enough? Sorry if I'm asking stupid questions - although I have developed Flex applications in the

[flexcoders] Help with updating a Tree when its dataprovider has changed.

2008-06-13 Thread hpeter96
I'm working on a tree control that has an XMLListCollection as its dataprovider. The dataprovider has a couple of branches and nodes that sort of look like this : Company | |-- Department |-- Person |-- Person |-- etc.. |

[flexcoders] Ruminations on the LayoutManager

2008-06-13 Thread Dave Glasser
I have some custom components that at the end of their lifecycle are removed from the display list and destruct themselves. By destruct themselves, I mean that they set various internal references to null. Anyway, this has caused problems when a component has been queued for layout by the

RE: [flexcoders] Quick Start - Newbie help with Flex

2008-06-13 Thread Stephen Gilson
Hi, The Flex Dev Center - http://www.adobe.com/devnet/flex/ - contains a Getting Started tab that links to the Getting Started Guide, an online site with overviews and examples, and also links to around 40 small quick start examples showing how to perform common Flex tasks. Stephen

[flexcoders] Flex and java

2008-06-13 Thread tosisodia
hi guys, I am trying to create a POS (point of sale) application which would be deployed at one system only. The back end logic (in nascent stage) is written in java/spring/hibernate, but I want my GUI to be in FLEX/AIR. So far my understanding is FLEX cannot communicate with java without use of

Re: [flexcoders] rotation effect. how?

2008-06-13 Thread Antanas Domarkas
Option 1) Take a look at: http://weblogs.macromedia.com/auhlmann/archives/effects/index.html demo: http://www.alex-uhlmann.de/flash/adobe/blog/distortionEffects/effectCube/ He also provides source code. Option 2) Use Papervision: http://www.papervision3d.org ... Option n) ... =)

[flexcoders] Extending flexmdi to be a portlet viewer

2008-06-13 Thread Linus Graybill
My company is working on migrating our Swing desktop application to a Flex portlet-based application. As we're playing with the design, an intriguing idea has come up -- instead of having our Flex portlets live inside a portal, what if we built a Flex portlet viewer. We then could have

Re: [flexcoders] Using Flex as a Flash IDE

2008-06-13 Thread Troy Gilbert
To all those suggesting FlashDevelop... yes, if I were using Windows I'd be using it, no doubt. But I'm on a Mac. I've been using TextMate and love its editing, but miss code-completion and automatic imports, etc. Troy. On Thu, Jun 12, 2008 at 9:32 PM, Fajar S [EMAIL PROTECTED] wrote: if you

Re: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Troy Gilbert
I'm not sure if it applies in this case, but TileList definitely has some bugs in its measuring and layout code (or at least did in Flex 2 -- not sure if they fixed it). In particular, when calculating its preferred width it basically does (itemRenderer.width + horizontalGap) * numColumns. That's

Re: [flexcoders] Re: Flex Credit Card Processing

2008-06-13 Thread Troy Gilbert
Flex using HTTPS is as secure (and is equivalent) to an HTML page using HTTPS. So, if you're basically creating the equivalent of an HTML FORM in Flex, then it's perfectly suite (and is equivalent as far as the backend is concerned) to doing the same thing in HTML. So, for example, if you use

[flexcoders] Flash 10 - Large Bitmap support does

2008-06-13 Thread richmcgillicuddy
Is there something 'special' I need to set in order to get Flash 10 to load large bitmaps. I have a simple application, that loads a png. Looks like: imgTest.source = largeimage.png Compiled with Flex 3, Run on Flash Player 10.0.1.218. I have an image larger than 2880x2880 (4050x3017 exactly)

Re: [flexcoders] SECURITY ERROR ACCESING URL calling a web service

2008-06-13 Thread Tom Chiverton
On Thursday 12 Jun 2008, luis_roman_am wrote: Does not wor!! What happens ? Does the web server log even indicate the cross domain XML file is requested ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP.

Re: [flexcoders] Flex and java

2008-06-13 Thread Fidel Viegas
On Fri, Jun 13, 2008 at 2:44 PM, tosisodia [EMAIL PROTECTED] wrote: hi guys, I am trying to create a POS (point of sale) application which would be deployed at one system only. The back end logic (in nascent stage) is written in java/spring/hibernate, but I want my GUI to be in FLEX/AIR. So

[flexcoders] Re: Using Flex as a Flash IDE

2008-06-13 Thread Amy
--- In flexcoders@yahoogroups.com, aphexyuri [EMAIL PROTECTED] wrote: With all due respect, even the guys at Adobe should look long and hard at FlashDevelop. I've been using it to code flash projects for a while, and it's amazing how it boosts productivity. Code hinting, class inspection and

Re: [flexcoders] Re: PrintJob print dialog box

2008-06-13 Thread Yochikoh Haruomi
Thanks Dmitri Frederico. The flexreport looks really neat. Thanks for sharing the info :) Frederico Garcia [EMAIL PROTECTED] wrote: You must handle page range by yourself... meaning? you don't send to the printjob what you don't want printed. Take a look at the

[flexcoders] Re: Flex and java

2008-06-13 Thread tosisodia
Thanks Fidel, That clears a few things and raises a few more questions... Using a server for a standalone application looks a bit expensive. I wonder if it's possible to code whole business logic in Action Script. Is there any utility similar to hibernate for data persistence? Also is it

Re: [flexcoders] rotation effect. how?

2008-06-13 Thread Carlo Gulliani
yes, It that is necessary to me. thank you, sir - Original Message From: Antanas Domarkas [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, June 13, 2008 5:55:06 PM Subject: Re: [flexcoders] rotation effect. how? Option 1) Take a look at: http://weblogs. macromedia.

Re: [flexcoders] Re: Flex and java

2008-06-13 Thread Fidel Viegas
On Fri, Jun 13, 2008 at 4:10 PM, tosisodia [EMAIL PROTECTED] wrote: Thanks Fidel, That clears a few things and raises a few more questions... Using a server for a standalone application looks a bit expensive. I wonder if it's possible to code whole business logic in Action Script. Is there

[flexcoders] Re: Using Flex as a Flash IDE

2008-06-13 Thread Jason Hanson
Remarkably similar to a blog post I made ;) http://flexfood.blogspot.com/2008/05/using-flexbuilder-3-to-debug-edit-flash.html LOL --- In flexcoders@yahoogroups.com, Hemadri S [EMAIL PROTECTED] wrote: Hey Troy, Using FlexBuilder 3 to debug edit Flash CS3 projects Check out this link

[flexcoders] ContextMenu submenus

2008-06-13 Thread toofah_gm
Is there really no support for sub menus in the customitems of the ContextMenu? That's seems to be what I am finding and reading in the forums. Can someone verify this?

[flexcoders] Non-Blocking IO and BlazeDS Streaming

2008-06-13 Thread aduston1976
I need to push data to Flex clients, and I need more than 400 clients to connect to each host. Even though I'm using BlazeDS for RPC, I was thinking of using the XIFF XMPP library with a jabber server for pushing data to clients, since streaming in BlazeDS uses blocking IO. But, looking at the

[flexcoders] Re: tilelist and transitions

2008-06-13 Thread Amy
--- In flexcoders@yahoogroups.com, giopaia [EMAIL PROTECTED] wrote: I have created a series of states with a simple move transition between them... All worked fine until I added a tilelist as child of one of the states. Now the move transition doesn't start until the tilelist is

RE: [flexcoders] Re: My Web Service with soap headers code no longer work with Flex 3

2008-06-13 Thread Tracy Spratt
Josh, I think you are right, the OP was not adding headers to the HTTP request after all, and his header was not Authorization, which as you point out, is again allowed. Probably best to ignore me on this one! Tracy From: flexcoders@yahoogroups.com

[flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Amy
--- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] wrote: I'm not sure if it applies in this case, but TileList definitely has some bugs in its measuring and layout code (or at least did in Flex 2 -- not sure if they fixed it). In particular, when calculating its preferred

Re: [flexcoders] what RIA-to-PDF conversion means in LCDS?

2008-06-13 Thread Anatole Tartakovsky
Mark, If you can require that your clients to have Acrobat reader 8 you can generate XDP directly in Flex - http://flexblog.faratasystems.com/?p=237 - unlike snaphot mentioned technologies it would produce searchable PDF and would not be limited to capture resolution issues. However, you would

RE: [flexcoders] Non-Blocking IO and BlazeDS Streaming

2008-06-13 Thread Seth Hodgson
Hi Adam, Adobe is not working on this, although I'd encourage the community to. Here's why we're not. 1. We're participating in the Servlet 3 JSR which will add async IO support to the Servlet API (in the form of suspendable/resumable requests). Once that API is finalized you can

[flexcoders] Help me understand custom drag/drop events

2008-06-13 Thread bredwards358
Shortly after posting an update to my current predicament in this topic thread: http://tech.groups.yahoo.com/group/flexcoders/message/116030 and staring at the current logic in my dragDrop event(Shown in above mentioned topic), I realized something. I don't need to do anything else other than

RE: [flexcoders] LCDS gets Killed !!!

2008-06-13 Thread Seth Hodgson
This has nothing to do with LCDS. Perhaps your app server defines a security restriction on the Runtime class or exec() method. I've never tried making a Runtime.exe() call from a Servlet. I'd suggest debugging this by dropping your call into a simple Servlet or JSP, and be sure to make your

[flexcoders] Java-based ATS

2008-06-13 Thread jcmccutcheon
(Sorry if this gets posted twice) I want to fill an AreaChart with custom colors based on value. fillFunction does not do the trick. I want to color the 'area' under the area chart based on different thresholds where the area can have multicolored regions. How can I do this?

[flexcoders] Re: Flex Builder Profile Problems

2008-06-13 Thread wwwpl
Thanks, that fixed the problem. I removed the profile line in the mm.cfg. --- In flexcoders@yahoogroups.com, Gaurav. Jain [EMAIL PROTECTED] wrote: Can you try editing the mm.cfg under C:/Documents and Settings/LiechtyPO and see if removing the PreloadSwf entry resolves this? Thanks,

[flexcoders] Re: Using Flex as a Flash IDE

2008-06-13 Thread aphexyuri
Don't think so Amy, but if your devving in flex, check out fdt, it's expensive, but GOOD. Check out these links: http://fdt.powerflasher.com/blog/ http://fdt.powerflasher.com/ --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, aphexyuri

[flexcoders] closing and reopening windows in Air App

2008-06-13 Thread Omar Fouad
Hi list, I got a small application that opens a window. I used another mxml (AboutWindow.mxml) file that has mx:WIndowBla bla blamx:WIndow/ in it. In the Main mxml file I have a button and when I click to this button I open() it by: private var AboutWin:AboutWindow = new AboutWindow(); pivate

[flexcoders] Filling Regions of AreaChart

2008-06-13 Thread jcmccutcheon
Hello. How can I fill an AreaChart with custom colors based on value. I want to color the 'area' under the area chart based on different thresholds where the area can have multicolored regions.

[flexcoders] Re: BitmapAsset apparent erratic behaviour

2008-06-13 Thread yotam_shacham
Btw, this entire problem is not reproduced if the swf is loaded locally. However once it is loaded from remote location - it happens. Maybe related to flash security? --- In flexcoders@yahoogroups.com, yotam_shacham [EMAIL PROTECTED] wrote: I am loading the same bitmap asset using two

[flexcoders] Re: Flex and java

2008-06-13 Thread tosisodia
Thanks Fidel, Thanks a lot for your insight and quick replies. I think I will code everything using AIR, only thing I need to check is hardware interfacing and transaction management. Thanks Raj Singh Sisodia --- In flexcoders@yahoogroups.com, Fidel Viegas [EMAIL PROTECTED] wrote: On Fri,

[flexcoders] Loaded Modules Dimensions - height=100% doesn't work !!

2008-06-13 Thread aerospc
Hello, I'm adding a dynamically created module loader to a VBox. The VBox has it's height set to height=100%. The module loader has it's height set to 100% with a minHeight of 400. When loaded, the module loader only uses the minHeight (400). The VBox has twice that much height

[flexcoders] Extending flexmdi to be a portlet viewer

2008-06-13 Thread linusgraybill
My company is working on migrating our Swing desktop application to a Flex portlet-based application. As we're playing with the design, an intriguing idea has come up -- instead of having our Flex portlets live inside a portal, what if we built a Flex portlet viewer. We then could have only one

[flexcoders] Re: Math.abs() Limitation?

2008-06-13 Thread Mike Morearty
Daniel, this is a bug in Flex Builder, which occurs when displaying the values of Numbers whose value is greater than 0x7FFF. I'll get a fix in ASAP. Thanks for the feedback, and sorry for the inconvenience. To be clear, the Flex Builder debugger's Variables view is showing the

Re: [flexcoders] rotation effect. how?

2008-06-13 Thread Sherif Abdou
well three choices 1)use papervision and try it 2) use Flash player 10 API 3) create your own math. - Original Message From: Carlo Gulliani [EMAIL PROTECTED] To: Flexcoders flexcoders@yahoogroups.com Sent: Friday, June 13, 2008 4:13:14 AM Subject: [flexcoders] rotation effect. how?

Re: [flexcoders] How to support both PERCENT and ABSOLUTE values in one attribute?

2008-06-13 Thread Baz
Thanks Daniel, I am actually using PercentProxy right now, and it is purely because of your write-up. There is no other information about it on the entire web! Not kidding. Even though I am doing it, I find it weird to duplicate all this logic that flex usually takes care of only to pass a value

RE: [flexcoders] Loaded Modules Dimensions - height=100% doesn't work !!

2008-06-13 Thread Alex Harui
Known issue. Use percentHeight=100 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aerospc Sent: Friday, June 13, 2008 8:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Loaded Modules Dimensions - height=100% doesn't work !!

RE: [flexcoders] Help me understand custom drag/drop events

2008-06-13 Thread Alex Harui
Event properties should be thought of as read-only. Drag/Drop events are dispatched by the DragManager so to alter what gets dispatched would probably require a custom DragManager which isn't officially supported. I suppose you could intercept and re-dispatch events using capture phase,

RE: [flexcoders] Context Menu Use in PopUp

2008-06-13 Thread Alex Harui
By functions do you mean event listeners? How are you setting it up? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Friday, June 13, 2008 10:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Context Menu Use

[flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Tim Hoff
Hi Amy, Just a thought, but what happens if you take width=100% off of the tile list, or set the width and columnWidth to explicit values? Does the extra space still show up? And, did you try Alex's suggestion to add paddingRight=0 to the tile list? Because of the bindings and itemRenderers,

RE: [flexcoders] ContextMenu submenus

2008-06-13 Thread Alex Harui
That is correct. No submenus in ContextMenu From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of toofah_gm Sent: Friday, June 13, 2008 8:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ContextMenu submenus Is there really no

RE: [flexcoders] Flash 10 - Large Bitmap support does

2008-06-13 Thread Alex Harui
Flex 3 swfs cannot take advantage of player 10 features. You could try to hack the version byte in the SWF, but I don't know what else might fail after that. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of richmcgillicuddy Sent:

RE: [flexcoders] Ruminations on the LayoutManager

2008-06-13 Thread Alex Harui
Sounds good to me. File an enhancement request at bugs.adobe.com/jira. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent: Friday, June 13, 2008 6:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Ruminations on

RE: [flexcoders] Help with updating a Tree when its dataprovider has changed.

2008-06-13 Thread Alex Harui
Try applying the filter to each child collection. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hpeter96 Sent: Friday, June 13, 2008 6:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Help with updating a Tree when its

RE: [flexcoders] Flex 3.1 - The Marshall Plan

2008-06-13 Thread Alex Harui
Yeah, please file an enhancement request for loadBytes of modules. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gregor Kiddie Sent: Friday, June 13, 2008 3:36 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 3.1 - The

RE: [flexcoders] Re: DuplicateMovieClip

2008-06-13 Thread Alex Harui
You can use BitmapData APis From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deniz Davutoglu Sent: Friday, June 13, 2008 12:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DuplicateMovieClip How can I copy bitmap?

[flexcoders] Re: Help me understand custom drag/drop events

2008-06-13 Thread bredwards358
I'm not sure I get what you're saying but it seems that if I want to alter the default behavior to insert the new row to the database as well as the target dataProvider as it normally does I would probably need a custom DragManager to add that bit. Perhaps I could be phrasing my question wrong,

Re: [flexcoders] rotation effect. how?

2008-06-13 Thread Carlo Gulliani
yes, i've got link on solution already. thanks - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, June 13, 2008 9:55:44 PM Subject: Re: [flexcoders] rotation effect. how? well three choices 1)use papervision and try it 2) use Flash

Re: [flexcoders] rotation effect. how?

2008-06-13 Thread Carlo Gulliani
yes, i've got link on solution already. thanks - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, June 13, 2008 9:55:44 PM Subject: Re: [flexcoders] rotation effect. how? well three choices 1)use papervision and try it 2) use Flash

[flexcoders] Re: Help with updating a Tree when its dataprovider has changed.

2008-06-13 Thread hpeter96
I'm not sure if I understand correctly - Do you mean when I'm parsing the dataProvider, I should make a look that creates a separate XMLListCollection for each branch and apply the filterFunction before I append it to the dataProvider ? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL

[flexcoders] Re: Non-Blocking IO and BlazeDS Streaming

2008-06-13 Thread aduston1976
Seth, Thank you very much for your thoughtful and very complete message. Is anyone else out there working on a Tomcat CometProcessor-based streaming implementation? I foresee about 2k LOC standing between the current code and one that includes an endpoint that can be used with a CometProcessor

[flexcoders] Custom TreeItemRenderer not rendering children

2008-06-13 Thread svbhamid
I have a custom item renderer for an mx:Tree, shown here: mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script [Bindable] public var selectedColor:Number; /mx:Script mx:Binding source=cp.selectedColor destination=selectedColor/

[flexcoders] mdash in line of text?

2008-06-13 Thread grimmwerks
Hey - does anyone have any suggestions for getting an em-dash to appear in flex? It's in the font -- but it's not showing. I've tried #151;, mdash; -- to no avail.

RE: [flexcoders] Re: Non-Blocking IO and BlazeDS Streaming

2008-06-13 Thread Seth Hodgson
One minor follow on comment. If you implement streaming, you should implement long-polling as well because there are broken HTTP proxies in the wild that will buffer responses rather than streaming them through directly. You want a non-blocking alternative for clients behind them to fallback

Re: [flexcoders] Re: Non-Blocking IO and BlazeDS Streaming

2008-06-13 Thread Anatole Tartakovsky
Adam, 400 concurrent users is very low number - you might conside freee express LCDS 2.6 in single multicore CPU version to support that. Adobe creates standalone socket server (that you can place on the same servers port 80 with separate host name within domain/tcp address). Then you would

RE: [flexcoders] mdash in line of text?

2008-06-13 Thread Gordon Smith
In Unicode the em-dash is #8212; or #x2014. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Friday, June 13, 2008 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mdash

Re: [flexcoders] Re: Math.abs() Limitation?

2008-06-13 Thread Daniel Freiman
I'll have to double check, but I'm don't think the code was doing the right thing either, because: Math.abs(Number.MAX_VALUE - 1290) - Math.abs(Number.MAX_VALUE - 1284); // returns 0 On Fri, Jun 13, 2008 at 1:58 PM, Mike Morearty [EMAIL PROTECTED] wrote: Daniel, this is a bug in Flex

[flexcoders] Trying to call a function in a Flex object from JavaScript before it's ready.

2008-06-13 Thread dj_segfault
Overview: We have a page with heavy JavaScript and AJAX. Through various forms of magic, we generate this data set which we need to ship off to a Flex object on the page. That Flex object graphs the data, and allows the user to torture it. The result is a modified version of the data that

RE: [flexcoders] Re: Math.abs() Limitation?

2008-06-13 Thread Gordon Smith
Now that you're using Number.MAX_VALUE rather than int.MAX_VALUE, this difference *should* evaluate to 0. The reason is that Number.MAX_VALUE is a huge value, approximately 1.79769313486231e+308, with 309 digits to the left of the decimal point. Number, being only 64 bits, can't represent all

RE: [flexcoders] Trying to call a function in a Flex object from JavaScript before it's ready.

2008-06-13 Thread Alex Harui
The JS should be ready before Flash, so I'd make sure there's a function in JS that Flash will call via EI when it is ready. ApplicationComplete event would be a good time to call out to JS. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Custom TreeItemRenderer not rendering children

2008-06-13 Thread Alex Harui
If you don't use the custom renderer, do you still only see the root? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svbhamid Sent: Friday, June 13, 2008 11:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom

RE: [flexcoders] Re: Help with updating a Tree when its dataprovider has changed.

2008-06-13 Thread Alex Harui
getChildren is creating a separate collection for each branch and caching it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hpeter96 Sent: Friday, June 13, 2008 11:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Help

RE: [flexcoders] Re: Help me understand custom drag/drop events

2008-06-13 Thread Alex Harui
IIRC, the DragDrop event is the right place and you were already doing that. If you don't preventDefault that event, it will insert the dragged items into the DP. I haven't been paying close attention so I'm not clear what problem you ran into that makes you think this isn't the way to go.

Re: [flexcoders] Re: Using Flex as a Flash IDE

2008-06-13 Thread Troy Gilbert
Is there any documentation on how to use [FlashDevelop] with Flex? I couldn't find any. Google flashdevelop flex... there's plenty of unofficial documentation. Also search the flashdevelop.org website/forum and you'll find plenty of discussion on it as well. Troy.

Re: [flexcoders] Re: Math.abs() Limitation?

2008-06-13 Thread Daniel Freiman
That's the explanation I've been looking for. I think we were really close to it a few times and just missed it (for example the not enough precision comment). So this isn't a bug as much as a limitation of the definition of Number (which I think is based on a standard implementation of float?).

Re: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Troy Gilbert
I couldn't find a horizontalGap property on TileList, and trying to manually add a tag when the code hinting said no just resulted in a compiler error. Sorry, strike all my FUD about TileList... I was think of Tile (which I was using inside of a scrollable container to get a smooth, fractional

[flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Amy, Just a thought, but what happens if you take width=100% off of the tile list, or set the width and columnWidth to explicit values? Does the extra space still show up? And, did you try Alex's suggestion to add

Re: [flexcoders] Custom TreeItemRenderer not rendering children

2008-06-13 Thread S B
When I do that, the data displays fine. For example, suppose I use the following as my data provider: mx:XMLList id=treeData node label=Random things node label=Dice node label=8-sided/ node label=20-sided/ /node

Re: [flexcoders] mdash in line of text?

2008-06-13 Thread grimmwerks
Thanks Gordon. I've tried both in a text area -- and it's not showing up --- I've tried with embedded fonts as well as Helvetica, Verdana, etc -- they're not showing up -- can you tell me how I'm doing this wrong: mx:Text width=710 top=20 styleName=infoText selectable=false fontSize=28

[flexcoders] Re: tilelist and transitions

2008-06-13 Thread giopaia
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, giopaia giopaia@ wrote: I have created a series of states with a simple move transition between them... All worked fine until I added a tilelist as child of one of the states. Now the

[flexcoders] RSL hell

2008-06-13 Thread matthew.painter
Hi guys, I'm trying to use RSLs for my application. Now some of the RSLs depend upon the flex framework - you know, things like Canvas. So the RSL can use the framework RSL, same as the main app right? Wrong! Seemingly... This means that my RSLs are mostly 500k, while the main app is 100k.

RE: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Alex Harui
By debugging a simple test case. Can you make one and post it? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, June 13, 2008 1:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Extra pixels on right side

Re: [flexcoders] mdash in line of text?

2008-06-13 Thread Alberto Brealey-Guzmán
On Fri, Jun 13, 2008 at 2:27 PM, grimmwerks [EMAIL PROTECTED] wrote: I've tried both in a text area -- and it's not showing up --- I've tried with embedded fonts as well as Helvetica, Verdana, etc -- they're not showing up -- can you tell me how I'm doing this wrong: mx:Text width=710 top=20

RE: [flexcoders] RSL hell

2008-06-13 Thread Alex Harui
I think you use: -compiler.external-library-path framework.swc to prevent classes in that swc from being linked into your RSL From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of matthew.painter Sent: Friday, June 13, 2008 1:36 PM To:

[flexcoders] Re: Help with updating a Tree when its dataprovider has changed.

2008-06-13 Thread securenetfreedom
I might be able to help. I had a similar issue with XMLListCollection dataProvider for an AdvacncedDataGrid. The filter function works great and with lists in the 100's. You get the to sub nodes with e4x. Here's the filtering code: public function hideShowFilterFunc(item:Object):Boolean{

[flexcoders] Re: Trying to call a function in a Flex object from JavaScript before it's ready.

2008-06-13 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The JS should be ready before Flash, so I'd make sure there's a function in JS that Flash will call via EI when it is ready. ApplicationComplete event would be a good time to call out to JS. More specifically, he

[flexcoders] Re: Non-Blocking IO and BlazeDS Streaming

2008-06-13 Thread aduston1976
Anatole, thank you sincerely for your message. I've always admired the Farata Systems blog posts and I will email you offline. Has anyone else taken a stab at this? Does anyone else have any thoughts about it? Thanks again, Adam --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL

[flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Tim Hoff
When I take off the 100%, it is a lot smaller on the left hand side of the screen (not using the full width of the tabBar). Yes, but are the extra pixels still there? This could be a case of mismatched explicit dimensions (list and itemRenderer), or a mix between explicit and percentage based

RE: [flexcoders] Re: Math.abs() Limitation?

2008-06-13 Thread Gordon Smith
Number (which I think is based on a standard implementation of float?) An AS3 'Number' is what Java and C++ call a 'double'. A Java or C++ 'float' has only 32-bits instead of 64-bits, which means that it stores floating-point values with fewer significant digits (6 or 7, I think) and a

RE: [flexcoders] mdash in line of text?

2008-06-13 Thread Gordon Smith
I compiled ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Text fontSize=28 mx:text Test #8212; Test #8212; Test /mx:text /mx:Text

  1   2   >