[flexcoders] (LCDS) Conflict when inserting data with different ids

2007-10-23 Thread Benjamin Durin
I have the following table: CREATE TABLE projects ( project_name VARCHAR(20) NOT NULL, description VARCHAR(255) NULL, PRIMARY KEY(project_name) ); When I create two items, using createItem() method of DataService, with a different 'project_name' but with the same 'description', I have a

RE: [flexcoders] FW: FileReference.upload()

2007-10-23 Thread Seth Caldwell
Correct. Got an egg in my face as well, as I was touting flex as the end all solution for cross browser woes =0 I have tried every possible solution – crossdomain files, and so forth. However, I coded a workaround that was accepted using a javascript popup window. The difference is pretty negligi

RE: [flexcoders] AddChild

2007-10-23 Thread Alex Harui
Not sure I understand how you want it to look. Do you want the title entry and icon selection to happen in an accordion 'panel'? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kareemisk Sent: Tuesday, October 23, 2007 7:13 PM To: flexc

RE: [flexcoders] Compile error with mxmlc and ModuleLoader

2007-10-23 Thread Alex Harui
Are other mx: things working and only module loader is the issue? Are you on Flex 2.0.1 or some other version. Did you import ModuleEvent, etc in your .as files? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of philip_carlson Sent: T

Re: [flexcoders] FW: FileReference.upload()

2007-10-23 Thread Richard Rodseth
Hi Matt If the problem can be solved with a crossdomain.xml file (specific ports etc.), please tell us what it should look like or publish a working example. After advocating Flex as the solution to cross-browser woes, I have egg on my face until this is resolved, and it seems I am not alone. Her

[flexcoders] Re: FW: FileReference.upload()

2007-10-23 Thread Chua Chee Seng
Hi Matt, I am developing application with Flex 2 and I am having problem with FileReference.upload() using Mozilla Firefox too. I use form authentication which unauthenticated users will be redirect to a login HTML page. After login to the application, IE user can upload file successfully, but n

[flexcoders] Flex Library Project Manifest Options

2007-10-23 Thread Bjorn Schultheiss
I'm trying to build my swc from a Flex Library Project and having difficulty added a component manifest. In project properties -> compiler options, i added a url and manifest file, and i get a unknown namespace error. Is this a bug?

Re: [flexcoders] Report building.

2007-10-23 Thread Anatole Tartakovsky
(PLUG) As far as I know there is only one reportwriter by Farata Systems that is written in Flex at this time and it is available @ myflex.org. There should be some demos there as well as user manual and trial versions. It has both developers version ( Eclipse plugin that allows you to layout and c

[flexcoders] Flex Builder 3 and Coldfusion 8 with LCDS

2007-10-23 Thread Randy Martin
Can anyone point me to a good tutorial or documentation on how to create a Flex 3 project using the built-in LCDS that comes with Coldfusion 8? Thanks, Randy No virus found in this outgoing message. Checked by AVG. Version: 7.5.488 / Virus Database: 269.15.6/1086 - Release Date: 10/22/2007 7:57

Re: [flexcoders] Flex 3 cost

2007-10-23 Thread Maximilian Nyman
http://blog.digitalbackcountry.com/?p=1110 On 10/24/07, George Lu <[EMAIL PROTECTED]> wrote: > > > Hi, > > Has anyone got an idea how much the Flex 3 will be cost? This is for > budgeting purpose. > > Thanks, > George

RE: [flexcoders] Flex 3 cost

2007-10-23 Thread Dimitrios Gianninas
Flex 2 is free, no cost, just download the SDK from Adobe's website and use. Same goes for Flex 3. Now let's get to your real question, which one is it: a) what is the cost of Flex Builder 3? b) what is the cost of LiveCycle Data Services (previously known as Flex Data Services) ? the answer to

[flexcoders] Flex 3 cost

2007-10-23 Thread George Lu
Hi, Has anyone got an idea how much the Flex 3 will be cost? This is for budgeting purpose. Thanks, George

[flexcoders] AddChild

2007-10-23 Thread kareemisk
Hi guys, need your help. kinda stuck i need to create an addchild of an accordian with a vbox containing a datagrid. i have successfully created this however, due to project restriction, the header of the accordian when created needs to prompt the user to enter the title which will show up on

[flexcoders] Compile error with mxmlc and ModuleLoader

2007-10-23 Thread philip_carlson
Hello, I'm trying to do that nifty thing where you remove the framework classes from your Module swfs. Unfortunately, I seem to be unable to even compile my main mxml application file. I know you need to compile the main mxml with the command line compiler & give it a -link-report option, but ev

Re: [flexcoders] Report building.

2007-10-23 Thread Scott - FastLane
Paul - Not sure what your back end is, but I am using Java on the back end and have found it very easy to use the iText library to create PDF reports. The iText library is very simple to use and creates nice tabular reports (no GUI though). I do it by using a navigateToURL that targets a new

RE: [flexcoders] How to check whether a key is down during a mouse event

2007-10-23 Thread Alex Harui
Only by globally listening for all keydown/keyup events, and still you won't know if I had the F key down and kept it down when I launched your app. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Tuesday, October 23,

[flexcoders] Re: Constratins BUG declared NOT-A-BUG -----> Your Opinion, please?

2007-10-23 Thread reflexactions
I agree with Adobe --- In flexcoders@yahoogroups.com, "Dejan Nenov" <[EMAIL PROTECTED]> wrote: > > I logged this: > > http://bugs.adobe.com/jira/browse/FB-9929 > > and it was promptly closed as not a bug by the developer a Adobe - I > am curious if you would agree? >

Re: [flexcoders] Context menu and sub-menu capability...

2007-10-23 Thread Daniel Freiman
You can't do it. You also can't override the context menu to not display so that you can create your own menu in it's place for security reasons. I've heard some theories on intercepting the right-mouse click before it gets to the flash player but I've never actually seen someone do that. - Dan

[flexcoders] Context menu and sub-menu capability...

2007-10-23 Thread mrvinedit
Is it possible for a Flex (Flash) context menu to have one of more sub-menus? Thanks, Mike G

[flexcoders] How to check whether a key is down during a mouse event

2007-10-23 Thread reflexactions
Is there a way I can check to see if a specific key is being pressed when the mouse is down. i.e. like check if thy have the "F" key pressed when they clicked?

[flexcoders] Re: rpc: Flex sites not running under the URL

2007-10-23 Thread sk_acura
Hi Steven, I am also getting the same problem. How ever the issue i have is when the Server takes more time to process i might be getting it.When i perform the same action some time it works fine.. I though it has some thing to do with the Flash Player running out of the wait time.. I have

[flexcoders] Report building.

2007-10-23 Thread aceoohay
OK, Flex is wonderful, but eventually the end user is gonna want some reports. Simple, basic, printable tabular reports. What tools are the folks here using? What would I like? I would like a tool similar to flex, but oriented towards paper. Basically a gui to build the report layout, with bin

[flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-10-23 Thread handitan
Oh boy... you're the last person I expect to say that :( *sigh* I will checkout the website. Thx for the info. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Printing images is hard because image loading is asynchronous. Check > out SuperImage on quietlyscheming

Re: [flexcoders] What event does VideoDisplay send on wrong data?

2007-10-23 Thread Paul deCoursey
http://www.adobe.com/fake.flv returns a 404 response but the others do not. A 404 would be a connection error, but the others are not errors, but vaild data. Peter DeHaan wrote: > > Bjorn, > > Can you please file a bug in the Flex bug base at > http://bugs.adobe.com/flex/? > > It seems that the

RE: [flexcoders] Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-10-23 Thread Alex Harui
Printing images is hard because image loading is asynchronous. Check out SuperImage on quietlyscheming.com. It may help. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of handitan Sent: Tuesday, October 23, 2007 3:14 PM To: flexcoders@ya

RE: [flexcoders] Memory usage any better with flex 3 beta 2?

2007-10-23 Thread Alex Harui
Some memory utilization issues have been addressed in beta 2. None were technically defined as leaks. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lemiuex Sent: Tuesday, October 23, 2007 4:00 PM To: flexcoders@yahoogroups.com

[flexcoders] Constratins BUG declared NOT-A-BUG -----> Your Opinion, please?

2007-10-23 Thread Dejan Nenov
I logged this: http://bugs.adobe.com/jira/browse/FB-9929 and it was promptly closed as not a bug by the developer a Adobe - I am curious if you would agree?

RE: [flexcoders] What event does VideoDisplay send on wrong data?

2007-10-23 Thread Peter DeHaan
Bjorn, Can you please file a bug in the Flex bug base at http://bugs.adobe.com/flex/? It seems that the behavior is a bit inconsistent. In some cases (like trying to load http://www.adobe.com/fake.flv, you can listen for the stateChange event and compare the video display control's state

Re: [flexcoders] Re: Cairngorm vs PureMVC

2007-10-23 Thread Bjorn Schultheiss
Thats what ive got. Ideally what i'm saying is i would have a single delegate for each command that makes a dao call. Bjorn On 23/10/2007, at 10:50 PM, ben.clinkinbeard wrote: Why not just have a DAODelegate with methods like getUserDAO(), getProductDAO(), etc? Ben --- In flexcoders@ya

[flexcoders] 360 Flex Community Survey - Only 3 Questions.

2007-10-23 Thread Tariq Ahmed
All, I noticed a posting on the 360 Flex blog regarding a survey they'd like more feedback on regarding what people want in a conference, and what 360 should be prioritizing on. It's just 3 questions: http://www.surveymonkey.com/s.aspx?sm=yGMLUk_2f4IRYXqoobzijRuQ_3d_3d

[flexcoders] Memory usage any better with flex 3 beta 2?

2007-10-23 Thread Patrick Lemiuex
I am still using flex beta 1 and i notice that it can use up to half a gig of memory... which can make my development experience very looong. How is beta 2? Have any of those memory leaks been fixed? for instance, Flex is using 800,000 k of memory restarting brings me back down to 100,000

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread Nancy Gill
__,Is it because they think its too simple to explain ? I don't think that's the problem either. I personally think 99% of the documentation in Adobe products is horrid, but it's because it's being written by the wrong people. It's written by employees who use this stuff day in and

[flexcoders] Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-10-23 Thread handitan
Hi, I have an interesting problem here. FYI, I have searched through the forum, and reading the docs but I still couldn't find the solution. I think I do know what's the problem. Here's the situation: I have a datagrid with 3 columns. One of the columns has an itemRenderer that will display an

Re: [flexcoders] Re: Flash Player 9 BUG?? Regex and Unicode

2007-10-23 Thread Aldo Bucchi
Thanks Alex, That was it... I was confused, there is no need to escape the code point backslash ( only on char classes ). On 10/14/07, Alex Harui <[EMAIL PROTECTED]> wrote: > >Sorry, you have too many '\". It should be \u0041 If you have two of > them they become the backslash. > > > ---

[flexcoders] making flash_proxy getProperty() Bindable

2007-10-23 Thread Aldo Bucchi
Hi all, When extending the Proxy class, I am trying to make my dynamic properties Bindable but, even though I dispatch the property change event, the Flex compiler complains and does not create watchers. Any way to force it to create watchers?? override flash_proxy function getP

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread Paul deCoursey
Those "layers" were a big stumbling block for me, but once I understood it I don't have any problems with it. I also agree that better examples would be useful/helpful and if Adobe were to want to hire an experienced developer to write some Do you know if there are any plans in the future o

[flexcoders] Re: Event bubbling question

2007-10-23 Thread dave_defusion
Hi Robert, That makes perfect sense, I was thinking that it could be something like that. Thanks. -D --- In flexcoders@yahoogroups.com, "Robert Csiki" <[EMAIL PROTECTED]> wrote: > > > Hello Dave, > > HttpService object is not a UI component, hence the concept of "parent" > does not apply for

[flexcoders] ASDoc issue with Cairngorm

2007-10-23 Thread Guido
Hi, I'm trying to build ASDoc documentation for my cairngorm-based app (Flex 2 with Hotfix and Cairngorm 2.1), but an issue raises in a Cairngorm component, more specifically the IServiceLocator interface. I get the following error: Can't find typer or constant compile time definition: DataService

[flexcoders] Help Creating Image Crop Tool

2007-10-23 Thread Kevin
I am trying to create a simple cropping tool for users to upload images and then crop them based on some pre-defined ratios. The UI is a Panel with a canvas component that has a simple HSlider that controls the scaling of the image. A semi-transparent Box overlays the image and the image

[flexcoders] Adobe Bug Tracking "Power Tool"

2007-10-23 Thread Dejan Nenov
First full disclosure: My company makes the engine behind this tool, so this can be construed as a marketing message. Having disclosed above - I would like to share this with the group: http://demo.maketime.com/mt/home?forward_to=/maketime/adobe/ It's free and no personal info is collected - ju

[flexcoders] Re: How do you add more fonts to the drop down selection of a RichTextEditor ?

2007-10-23 Thread helihobby
I Tried that too with no luck: :( http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="init()"> @font-face { src:url('./style/fonts/micross.ttf'); fontFamily: micross; fontWeight: normal;

RE: [flexcoders] DataGrid not updating when dataProvider is updated

2007-10-23 Thread Alex Harui
Ah yes, I didn't actually run it, but as I was setting it up I realized that you have to send notification to the responders that attached themselves to the IPE. Otherwise the UI is locked up waiting for the item to say that it is available. I'll send you something off-list. ___

[flexcoders] Re: WebService performance with large XML

2007-10-23 Thread ben.clinkinbeard
Yep, I was going to suggest the same. The best approach I've found (and recommended by Adobe) is to use resultFormat="e4x" and convert to classes by way of xml-accepting constructors and/or factories. Ben --- In flexcoders@yahoogroups.com, "M@ Sheppard" <[EMAIL PROTECTED]> wrote: > > I might hav

Re: [flexcoders] passing variables to Timer handler routine

2007-10-23 Thread Clint Modien
Sorry Alex... after looking at your code I can see that I did not have a default constructor on my subclass. On 10/23/07, Alex Harui <[EMAIL PROTECTED]> wrote: > >Is that using my code? If so, yes, otherwise can I see your code > before you open a bug? > > > -- >

RE: [flexcoders] calling stage.stageWidth

2007-10-23 Thread Alex Harui
systemManager.screen and the resize event from systemManager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mr Greg Murnock Sent: Tuesday, October 23, 2007 11:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] calling stage.stag

RE: [flexcoders] Re: WebService performance with large XML

2007-10-23 Thread Alex Harui
Yeah, the XMLDecoder takes time when it runs (when resultFormat is not e4x). One of these days I hope to poke at writing a decoder that works in the background (off timers) or on demand (via a custom collection). From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] BindSetter to an ArrayCollection's Length property: Firing far too often...

2007-10-23 Thread Alex Harui
The collections only send one event for any kind of change so yeah, there'll be lots of traffic. Take binding out of the equation. Listen for collectionChange events (and filter by kind if you want) and see if you still get funky numbers. From: flexcoders@

[flexcoders] VDividedBox - background issues

2007-10-23 Thread mrand02
I am using a VDivided box to hold a datagrid on the top, and a custom video player on the bottom. Initially, the application just shows the datagrid. At some point, the state gets changed, and the custom video player gets added: after the state changes, and the video component is vis

RE: [flexcoders] passing variables to Timer handler routine

2007-10-23 Thread Alex Harui
Is that using my code? If so, yes, otherwise can I see your code before you open a bug? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Modien Sent: Tuesday, October 23, 2007 12:32 PM To: flexcoders@yahoogroups.com Subject: Re: [f

RE: [flexcoders] Drag image underneath another component

2007-10-23 Thread Alex Harui
A box with background captures all mouse events. What do you want to happen if you could get the drag to start? The drag proxy would show up over the box as well. Are there any other drop targets or are you just moving it behind the box? From: flexcoders@yah

RE: [flexcoders] How do i show a wait screen before entaring havy task...

2007-10-23 Thread Alex Harui
Hmm, that isn't as easy as it should be. Please file a bug. I did this to get it working: http://www.adobe.com/2006/mxml"; layout="absolute"> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nahidupa Sent: Tuesda

Re: [flexcoders] passing variables to Timer handler routine

2007-10-23 Thread Clint Modien
Sorry... I guess I should have specified that I'm running this in Flex Builder 3... The error I get is: Severity and DescriptionPathResourceLocationCreation Time Id 1203: No default constructor found in base class flash.utils:Timer. TestMyTimer.as/srcMyTimer.asline 111

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread Paul deCoursey
I think that you can add a SimpleButton to a UIComponent and then add that UIComponent to the Application. But you should know that a SimpleButton has no skin and unless you define it's states it will not appear on the stage. [EMAIL PROTECTED] wrote: > Are you possibly saying that I can't add

RE: [flexcoders] Are Firefox uploads to SSL even *possible* ?

2007-10-23 Thread Seth Caldwell
I have been moderating this list for a while, and I do not believe it is possible, and agree that it is a HUGE argument that "flex is not cross platform". I still love flex and will continue using it because I know adobe will discover this problem and fix it eventually. AFAIK it has not been fixed

Re: [flexcoders] DataGrid not updating when dataProvider is updated

2007-10-23 Thread Daniel Freiman
My guess would be that it's the ItemPendingError that's screwing something up, because I don't know how that error is supposed to be used. - Dan Freiman http://www.adobe.com/2006/mxml"; layout="vertical" applicationComplete="init()"> package { import mx.collections.ArrayCollectio

[flexcoders] Re: [SOLVED] Easy way to know which column was clicked in datagrid?

2007-10-23 Thread dbronk
Sorry, I found the solution... itemClick on datagrid. --- In flexcoders@yahoogroups.com, "dbronk" <[EMAIL PROTECTED]> wrote: > > It is very easy to get the item(s) selected on a datagrid, but is > there an easy way to figure out which column was clicked? I can't > seem to place a click event on

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread [EMAIL PROTECTED]
Are you possibly saying that I can't add a SimpleButton directly to an Application ? http://www.adobe.com/2006/mxml >" creationComplete="onComplete()"> > >> > > > >> > > > >> > > Battershall

[flexcoders] BindSetter to an ArrayCollection's Length property: Firing far too often...

2007-10-23 Thread M@ Sheppard
In the following snippets of code: --- var watcherSetter:ChangeWatcher = BindingUtils.bindSetter(createPoints, pointArrayModel, "length"); --- private var lastPointLength:int = 0; private function createPoints(v:int):void { myModel.logInfo("pathView.createPoints, last=" + lastPointLength

RE: [flexcoders] passing variables to Timer handler routine

2007-10-23 Thread Alex Harui
Subclassing worked for me: MyTimer.as: package { import flash.utils.Timer; public class MyTimer extends Timer { private var foo:String = "foo"; public var bar:Str

[flexcoders] Re: WebService performance with large XML

2007-10-23 Thread M@ Sheppard
I might have found a solution to my own problem. Here is the current code: service = new WebService(); service.GetProject.resultFormat = "e4x"; //Increases speed of return 10 fold service.useProxy=false; service.wsdl = OurModelLocator.getInstance()[EMAIL PROTECTED]; service.addEventListener("res

[flexcoders] Easy way to know which column was clicked in datagrid?

2007-10-23 Thread dbronk
It is very easy to get the item(s) selected on a datagrid, but is there an easy way to figure out which column was clicked? I can't seem to place a click event on a datagridcolumn. Thanks,

RE: [flexcoders] Re: What EVENT should I capture - Tilelist "data loaded / All tiles created" ?

2007-10-23 Thread Alex Harui
Flex uses an invalidation mechanism. This is the most efficient way to handle multiple property changes at once which is common at startup and in other scenarios. As such, when you set a property like the dataprovider, related properties like rowHeight are not validated until much later, when the

[flexcoders] calling stage.stageWidth

2007-10-23 Thread Mr Greg Murnock
I'm trying to get the current user's browser/player size by using stage.stageWidth. However, Flex is coming up too fast and value=0. I have even put a function call at the end of one of my RO calls just to give it a little time to render the screen. If I call the function on a button click it

RE: [flexcoders] Re: DataGrid: column width and horizontal scroll

2007-10-23 Thread Alex Harui
If horizontalScrollPolicy="off" (default), width is not ignored, but attempts are made to proportionally size all columns within the DG. At some point, things degenerate and the proportions are hosed. If horizontalScrollPolicy="on", width should be honored. Width seems to work in this test, s

[flexcoders] Re: Event bubbling question

2007-10-23 Thread Robert Csiki
Hello Dave, HttpService object is not a UI component, hence the concept of "parent" does not apply for it, no matter where in your code you define it. That's why your event fired by it only uses the targeting phase, I guess...makes sense? Robert --- In flexcoders@yahoogroups.com, "dave_defusio

Re: [flexcoders] Re: How do you add more fonts to the drop down selection of a RichTextEditor ?

2007-10-23 Thread Ben Marchbanks
Here's what works for me - each font is defined separately @font-face { src: URL("assets/fonts/BLACKJAR.TTF"); fontFamily: BLACKJAR; fontWeight: normal; fontStyle: normal; } @font-face { src

[flexcoders] Re: How do you add more fonts to the drop down selection of a RichTextEditor ?

2007-10-23 Thread helihobby
I tried the code and I do see in the drop down combo list the complete Fonts which are available but when I select them the RichTextEditor does not render the Font. Here is my code: http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="init()">

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread [EMAIL PROTECTED]
Yes that helps, thanks. I can accept that maybe it is not working right, that's not a big deal. Its a big deal if its working right and I still can't get it to work. Scott - FastLane wrote: > > >From what you have posted it looks like some of the flex framework > code assumes that your child is

RE: [flexcoders] Detecting browser window close event?

2007-10-23 Thread Mike Krotscheck
I think there's a cheap-hack way of doing this. Use ExternalInterface to call "eval" to write a Javascript event listener to the document, and have it pass the event back through to the swf. Just remember that IE has two events for close, though I don't exactly recall what they are- one fires befor

Re: [flexcoders] Take two: dynamic asset creation

2007-10-23 Thread Ian Thomas
Fine - that'll work just as well. Ian On 10/23/07, Alex Harui <[EMAIL PROTECTED]> wrote: > >That's fine. We wouldn't do what you suggested though, we'd use > IClassFactory in more places >

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread Scott - FastLane
From what you have posted it looks like some of the flex framework code assumes that your child is an IUIComponent even though the API is addChild(child:DisplayObject)... since SimpleButton IS a DisplayObject and IS NOT an IUIComponent you are getting hosed. Looks to me like you have found a f

Re: [flexcoders] Take two: dynamic asset creation

2007-10-23 Thread Arul
Dear Alex Harui, I think that will help! We just need to create a class with getInstance() method that returns the instance we need based on the parameter we passed to the constructor Say for example, BitmapFactory class that takes bitmapData as a parameter and returns a bitmapAsset using the

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread [EMAIL PROTECTED]
I completely understand OO concepts like Classes, Instances, Inheritance and so forth.What I don't understand is AS3 syntax. ie, how to make a simple example of a SimpleButton in AS. Its not a matter of whether I can use a Button instead, I know I can do that, I'm trying to figure out a Simpl

Re: [flexcoders] Detecting browser window close event?

2007-10-23 Thread Scott - FastLane
I generally do this type of work on the server side in a session closed type event. This will work regardless of how the user lost their session: logout, closed browser, crashed Windows (I couldn't resist), power outage on client machine, etc. hth Scott Scott Melby Founder, Fast Lane Softwar

[flexcoders] Drop target positions are affected by vertical scrolling

2007-10-23 Thread jamalwally
Hi, I had a lot of trouble identifying this problem, but now I've isolated it enough to provide a simple example. I am using the dragEnabled and dropEnabled properties of the HorizontalList to allow the user to drag data from one list to another. I was getting the expected behaviour until th

RE: [flexcoders] Re: Flex's Component definition?

2007-10-23 Thread Dimitrios Gianninas
Same as Jeffrey :) Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeffry Houser Sent: Tuesday, October 23, 2007 12:56 PM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Re: Updating a field in a Collection bound to DataGrid

2007-10-23 Thread Alex Harui
All rows are redrawn in case other rows were doing something related as well. 4ex, a labelfunction could look fwd or back a row. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, October 23, 2007 5:52 AM T

RE: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread Battershall, Jeff
Let's keep it simple. Just importing mx.controls.Button isn't going to make the statement new SimpleButton() return anything BUT an instance of SimpleButton. My advice: skip SimpleButton. Replace SimpleButton with Button. It will work. What you're having problems with is basic OO stuff, not Fle

[flexcoders] Detecting browser window close event?

2007-10-23 Thread msabljic
Hi to everyone, Is it possible to detect in Flex application browser window close event so that an action can be started when user closes Flex application, does anyone know how to do that if it's possible in the first place? The reason why i am asking this is because i have a multiuser Flex app

RE: [flexcoders] Take two: dynamic asset creation

2007-10-23 Thread Alex Harui
That's fine. We wouldn't do what you suggested though, we'd use IClassFactory in more places From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Tuesday, October 23, 2007 6:37 AM To: flexcoders@yahoogroups.com Subject: Re:

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread [EMAIL PROTECTED]
1) I don't understand what you mean because the code below says " import mx.controls.Button" NOT "OT flash.display.SimpleButton" 2) I really really wish I could find something to study, I've got half dozen books and I look at the language ref all the time but ther seems to be a rule against si

RE: [flexcoders] Number of lines in

2007-10-23 Thread Alex Harui
Subclass, get to the internal TextField and get numLines. There are other apis on TextField to get line content From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kramus0 Sent: Tuesday, October 23, 2007 9:34 AM To: flexcoders@yahoogroups.c

[flexcoders] Event bubbling question

2007-10-23 Thread dave_defusion
I have created a custom HTTPService which we're going to use application wide, this deals with handling common backend responses or returning the response. If the users session times out I want this custom HTTPService to announce a 'UserSessionTimedOut' event then whoever cares about it can listen

RE: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread Battershall, Jeff
Hello?! If the code you're prsenting is what you're doing, you're still doing the same thing. You need to import mx.controls.Button and add THAT, NOT flash.display.SimpleButton. new SimpleButton() gives you an instance of SimpleButton not an instance of Button. Button will work with addChild, but

RE: [flexcoders] DataGrid not updating when dataProvider is updated

2007-10-23 Thread Alex Harui
Yeah, should've worked. Something else is going on. Can you make a simple test case? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: Tuesday, October 23, 2007 9:53 AM To: flexcoders@yahoogroups.com Subject: Re: [

Re: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread [EMAIL PROTECTED]
Thanks for your reply I tried that and I get the same error TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent. http://www.adobe.com/2006/mxml"; creationComplete="onComplete()"> Battershall, Jeff wrote: > > I th

[flexcoders] Configuration & Customization approaches?

2007-10-23 Thread Robert Csiki
Any advices for building Flex apps that are fully configurable (at application level, not via user preferences) and customizable? By the latter one I mean having customers/consulting building on top of an existing flex (generic) application, creating a so-called "custom" layer that sits on top etc

Re: [flexcoders] Re: Flex's Component definition?

2007-10-23 Thread Jeffry Houser
I view class and component as synonyms for each other. In practice, it is not uncommon to refer to visual classes as components and non-visual ones as classes. Robert Csiki wrote: > > > Thanks, but this only covers (some) visual entities... how about say > model components, and the con

Re: [flexcoders] DataGrid not updating when dataProvider is updated

2007-10-23 Thread Daniel Freiman
I'm only overriding one retrieval method, so shouldn't ArrayCollection being doing this for me? - Dan Freiman On 10/23/07, Dimitrios Gianninas <[EMAIL PROTECTED]> wrote: > >You have to make sure your custom ArrayCollection throw the "change" > event I believe the DG looks for this. (could be

RE: Re[flexcoders] peater

2007-10-23 Thread Tracy Spratt
You don't need a result handler for this. Just do: mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Tuesday, October 23, 2007 4:07 AM To: flexcoders@yahoogroups.com Subject: Re[flexcoders] peater Hii Guyz, I have a Repeater(r1) and a checkbox(ch1) inside it. I am passing a dataprovi

RE: [flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread Battershall, Jeff
I think you want to add mx.controls.Button which inherits from UIComponent vs. flash.display.SimpleButton, which does not. You're kinda confusing the Flex framework with the Flash Player API. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Are Firefox uploads to SSL even *possible* ?

2007-10-23 Thread Richard Rodseth
I don't seem to be the only one struggling with this, and even if it's due to issues in the Firefox plug-in, it's a major black mark against the cross-platform story of Flex, so I hope there's a solution or a workaround that's not too painful. Has anyone done this successfully?

[flexcoders] Simple SimpleButton 2nd try

2007-10-23 Thread [EMAIL PROTECTED]
Please ignore the first post, this has a correction How do I add the button to the application? addChild does not seem to be available this->addChild( newButton); and addChild(newButton) both produce TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to

[flexcoders] simple SimpleButton

2007-10-23 Thread [EMAIL PROTECTED]
How do I add the button to the application? addChild does not seem to be available this->addChild(newButton); and addChild(newButton) both produce TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent. http://www.adobe.com/2006/mxml

[flexcoders] Number of lines in

2007-10-23 Thread kramus0
This might be fairly simple but how can I find out how many lines a text contains? If I for instance assign some long text to a text field it is separated in different lines if the control height is big enough. So how can I find out how many lines are there and what their content is? Thanks a lot

Re: [flexcoders] Cairngorm vs PureMVC

2007-10-23 Thread Richard Rodseth
Thanks! I've been waiting for that. Will take a look. On 10/22/07, Sean Corfield <[EMAIL PROTECTED]> wrote: > On 10/22/07, Richard Rodseth <[EMAIL PROTECTED]> wrote: > > After attending James Echmalian's talk at 360 Flex/Seattle > > (http://ech.net/360flex2007/), I was anxious to see updated sa

[flexcoders] Re: Flex's Component definition?

2007-10-23 Thread Robert Csiki
Thanks, but this only covers (some) visual entities... how about say model components, and the controller ones from the MVC? For instance, is DataService considered a component? And all the other non-visual ones (validators, formatters etc) aren't they components? To make this short... what code

RE: [flexcoders] Flex's Component definition?

2007-10-23 Thread Dimitrios Gianninas
I look at it as any control or container is a component or combination of the two creates a new component via composition. So basically anything under mx.controls.* or mx.containers.* is a component. Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. __

[flexcoders] Flex's Component definition?

2007-10-23 Thread Robert Csiki
Struggling to find a definition for "Component" in the docs ...what code is a Component in Flex's world and what code is not a Component? Cheers..

Re: [flexcoders] expected behaviour? (e4x)

2007-10-23 Thread Tom Chiverton
On Tuesday 23 Oct 2007, [EMAIL PROTECTED] wrote: > var keywords:XMLList = theNode.country; >                         var numMatches:uint = > keywords.(text()==countryString).length(); Why do you do this and not nodesMatch=myTestData.node.country.(text()==countryString) (or similar, not tested tha

  1   2   >