[flexcoders] Re: Is it possible to do a right-click ContextMenu for a TabNavigator tab?

2009-04-16 Thread e_baggg
; > Consider TabBar and Viewstack, it is more flexible than TabNavigator. > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of e_baggg

[flexcoders] Is it possible to do a right-click ContextMenu for a TabNavigator tab?

2009-04-15 Thread e_baggg
I have a requirement where a user can right-click any one of the tabs and have options to delete, duplicate, disable, etc. The tabs (children) of the mx:TabNavigator are VBoxs, and the tab name is pulled from the "label" attribute of the VBox. I can't put the ContextMenu against the VBox other

[flexcoders] Re: Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-29 Thread e_baggg
p an > artificial problem for yourself :) > > > --- In flexcoders@yahoogroups.com, "e_baggg" wrote: > > > > So I have an app in production which after 10 minutes of usage began > > to perform EXTREMELY slow, and users had to restart the app. (Flex

[flexcoders] Re: Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-28 Thread e_baggg
L PROTECTED] On Behalf Of Blake Barrett > Sent: Tuesday, October 28, 2008 3:09 PM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Memory issues ... garbage collection only running in IE (not FF or Safari) > > e_baggg, > You're not the only one. We'

[flexcoders] Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-28 Thread e_baggg
So I have an app in production which after 10 minutes of usage began to perform EXTREMELY slow, and users had to restart the app. (Flex 3) Windows and Mac...all browsers. I did some Profiling and did not get far. Whenever I take a Memory Snapshot, gc() is forced and all my objects are correctl

[flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-12 Thread e_baggg
sockets needing being opened :( > > -Josh > > On Fri, Jun 13, 2008 at 3:08 AM, e_baggg <[EMAIL PROTECTED]> wrote: > > > After thoroughly reading the Adobe socket policy docs, it looks like > > I'm going to have to open up port 843 and serv

[flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-12 Thread e_baggg
0&sliceId=1 > > AFAIK jsessionid is a cookie and the browser should be putting it in to any > request made from Flex via HttpService. You may have the one Flash Player > version (apparently 9.0.115.0) that blocks Authorization header info. > > -Josh > > On Thu, Jun 12, 2008 at

[flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-11 Thread e_baggg
n file if it's on > > the server listening on 9080. > > Like I said, check with Charles to be sure, but it would make sense to me > > at least. > > > > -Josh > > > > > > On Thu, Jun 12, 2008 at 8:35 AM, e_baggg <[EMAIL PROTECTED]> wrote: >

[flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-11 Thread e_baggg
, "e_baggg" <[EMAIL PROTECTED]> wrote: > > Actually, I stand corrected. Once I added in my port # to the > cross-domain...it worked. Thanks again gang! Big help! > > > > > > > > > --- In flexcoders@yahoogroups.com, "e_baggg" wrote:

[flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-11 Thread e_baggg
Actually, I stand corrected. Once I added in my port # to the cross-domain...it worked. Thanks again gang! Big help! --- In flexcoders@yahoogroups.com, "e_baggg" <[EMAIL PROTECTED]> wrote: > > Thanks for your response...I have a full access cross domain on my >

[flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-11 Thread e_baggg
Security.loadPolicyFile() yourself and let the > server give it a correct respond. > > > Josh McDonald wrote: > > > > It sounds to me like your server is simply holding the connection for > > a few seconds in order to prevent brute-force password attacks. >

[flexcoders] Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-10 Thread e_baggg
This is baffling me. For authentication reasons, I am doing all my HTTP traffic via a custom flash.net.Socket where I create and parse the HTTP request/response myself (using Digest authorization). Everything works fine when I run the generated html/swf files locally, but once I deploy them to the

[flexcoders] Parsing FLV meta data

2008-04-21 Thread e_baggg
Hello all. I am writing a Java library to parse out the metadata of a FLV. It is working OK for a specific .flv, but the problem is the meta data can be rather random of where it appears after the "onMetaData" header. The FLV usually has a "onMetaData" and 0-n "onTransition" headers. Usually there

[flexcoders] Re: Unable to send HTTP parameters via Socket Digest Auhtorization

2008-04-07 Thread e_baggg
socket is not properly closed when I receive the response? GET /app/myaction.action HTTP/1.1 Host: www.mydomain.com Authorization:Basic ZGV2MTpwYXNzd29yZA== --- In flexcoders@yahoogroups.com, Dave Cragg <[EMAIL PROTECTED]> wrote: > > > On 3 Apr 2008, at 22:11, e_baggg wrote: >

[flexcoders] Unable to send HTTP parameters via Socket Digest Auhtorization

2008-04-03 Thread e_baggg
I am using flash.net.Socket to write HTTP requests and receive HTTP responses. I'm using Tomcat Digest Authorization and everything works fine for logging in and retrieving data. However, any request that requires parameters does not work. I am using Ethereal to sniff a valid requests and trying to

[flexcoders] Re: Problem authenticating Flex to Tomcat with HTTPService

2008-03-05 Thread e_baggg
gt; I believe the only solution to authenticate without a login page is to > configure TomCat to use Basic Auth and you will get the standard > browser user/pass popup whenever accessing the secure realm. > --- In flexcoders@yahoogroups.com, "e_baggg" wrote: > > >

[flexcoders] Problem authenticating Flex to Tomcat with HTTPService

2008-03-05 Thread e_baggg
I'm trying to authenticate against a Java-based application server (Tomcat) from my Flex app. I'm unable to set the HTTP "Authorization" header to pass to the server to authenticate. I'm also not able to read the cookie header that the server sends back after successful authentication. Authentic

[flexcoders] Re: FileReference woes....

2008-02-22 Thread e_baggg
still gets thrown for me. Not sure if I want to catch that as a solution so I'm going to test more but I am out of options. The bug mentioned below is 'https' which I am not on. --- In flexcoders@yahoogroups.com, Jon Bradley <[EMAIL PROTECTED]> wrote: > > > On F

[flexcoders] FileReference woes....

2008-02-22 Thread e_baggg
I am rather experienced with the FileReference class but have come across a major problem. Basically, the file uploading just stopped working. It works for me in IE (though I still receive the "Error 203" File I/O Error which on the server is a 403 'not authenticated). It does not work at all in Fi

[flexcoders] Re: Cannot multiple select rows after deleting row from a List

2007-09-28 Thread e_baggg
gt; > > > click="list.dataProvider.removeItemAt(2)" /> > > > > > and the workaround is to set selectedIndex to -1. Please use the > simpler test case when filing the bug. Thanks. > > ____ > > From: flexcoders@yahoogrou

[flexcoders] Cannot multiple select rows after deleting row from a List

2007-09-27 Thread e_baggg
I was able to recreate this issue in a very simple example included below. If I select a row, delete it (which auto selects the next row)...if I then Shift-click another row...the highlighted row is not included in the selected group. Any future shift-clicks from this point work as expected. has an

[flexcoders] AS3 method exist returning the # of bytes a String is?

2007-06-08 Thread e_baggg
I am implementing a spell checker and am hitting some issues because for non-Ascii characters such as "ò"...this is actually two bytes where a normal character is 1 byte...which throws off the start and end index of the text in the textArea. Do any Flash/AS3 methods exist that return the number of

[flexcoders] Re: DataGrid HeaderRenderer Recreates every click

2007-05-31 Thread e_baggg
t; > > > -Alex > > > > ________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of e_baggg > Sent: Thursday, May 31, 2007 10:18 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] DataGrid H

[flexcoders] DataGrid HeaderRenderer Recreates every click

2007-05-31 Thread e_baggg
I have a server-side sort on my DataGrid which means I had to implement my own headerRenderer to handle the click event, sort, and server calls. I am trying to create the asc/desc arrow now but I realized that any click event on the DataGrid instantiates a new Object of the headerRenderer (all of

[flexcoders] Cairngorm ServiceLocator error - duplicate instantiation

2007-04-19 Thread e_baggg
I am using Cairngorm (Flex 2.0.1)...and if I put the cursor inside the text area and (holding down the "Ctrl" key) hit "Enter" really fast, I get this error below where the main application is trying to call the ServiceLocator constructor again. Any idea why? I can replicate it w/ a simple app. ##

[flexcoders] Re: Compile CSS to SWF problem

2007-04-10 Thread e_baggg
uot;Tim Walling" <[EMAIL PROTECTED]> wrote: > > The images you embed need to be accessible by the compiler. Is the images > folder in the same directory as the CSS? Have you tried changing the path to > the image? > > > Tim > > On 06 Apr 2007 09:51:37 -0700,

[flexcoders] Compile CSS to SWF problem

2007-04-06 Thread e_baggg
I have a .css file which compiles to a swf and I can load in via runtime without problem (using StyleManager.loadStyleDeclarations()). However, I receive compiler errors once I have Embed code in my css like below. I presume it is because the swf that the css gets compiled to does not have access

[flexcoders] Re: Need help seaching and comparing in an ArrayCollection

2007-02-27 Thread e_baggg
That is exactly what you need to do. Create a "for" loop and get a handle on each object in the loop. Then, set up a method that returns a Boolean if it needs to be flagged. This method will check the dates. if true, then inside your For loop, flag the data object. Note: You can do the condition

[flexcoders] Re: setFocus - help needed

2007-02-27 Thread e_baggg
Change the line of code in your goTo() method to be: focusManager.setFocus(one); --- In flexcoders@yahoogroups.com, "dffmyco" <[EMAIL PROTECTED]> wrote: > > Three text input controls. Tab enabled, tab index 1,2,3. On the > focus out of text control three I run a function to set focus back > to

[flexcoders] Re: How to create navigateToURL http links with non ascii characters??

2007-02-14 Thread e_baggg
t is a list of HTML encoding. > > replace Á with %c1 and hopefully it should work for you. > > > > --- In flexcoders@yahoogroups.com, "e_baggg" e_baggg@ wrote: > > > > > > Hello. > > > I have the situation where some of the URLs that I need to link to

[flexcoders] How to create navigateToURL http links with non ascii characters??

2007-02-14 Thread e_baggg
Hello. I have the situation where some of the URLs that I need to link to have non-Ascii characters in them. So, for example... if I have a directory structure like this (hopefully the "A" comes through with the accent above it): non-ascii Á/test/ the URL that gets generated is: http://mydoma

[flexcoders] Re: RegExp

2006-12-21 Thread e_baggg
uot;"); > > Paul > > --- > Paul Whitelock > Denver, Colorado > > > > > -Original Message- > > > From: flexcoders@yahoogroups.com > > > [mailto:[EMAIL PROTECTED] On Behalf Of e_baggg > > > Sent: Thursday, December 21, 2006 2:57 PM >

[flexcoders] Re: RegExp

2006-12-21 Thread e_baggg
makes it a lazy > quantifier instead of an agressive quantifier) > > And one last thing, is you may need the multi-line flag also (if the > XML has line breaks... so I'd give this a shot... haven't tried it > myself though > > /<.*?>/gim > > goo

[flexcoders] RegExp

2006-12-21 Thread e_baggg
I am trying to create a regular expression that essentially parses out all the html of a text string. (i.e. - Remove all text between "<" and ">"). I am not the seasoned regex pro, but my attempts have failed based on research within the livedocs: var pattern : RegExp = /\<[a-zA-Z0-9]*>/gi Does a

[flexcoders] Re: How do I parse this XML?

2006-12-11 Thread e_baggg
The namespaces is why you are having trouble using e4x. Please see the livedocs on namespaces for more help. http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1912.html --- In flexcoders@yahoogroups.com, Prakaz <[EMAIL PROTECTED]> wro

[flexcoders] Re: socket question

2006-12-07 Thread e_baggg
David, We are able to have some synchronous behavior to sockets. What we do is assign a unique ID with each request the client sends, and when the server is done, it passes that id back. So to further illustrate your example: Client sends this: The server would then send back: blahblahblah T

[flexcoders] Re: Error #2038: File I/O Error.

2006-11-08 Thread e_baggg
problem on the server still continues... > my application work in my localhost but not in my server (i get the error 2038 File I/O) > how can i fix it? > thanks... > > yigit boyar > middle east technical university / sophomore > > - Original Message > From: e_

[flexcoders] Re: Error #2038: File I/O Error.

2006-11-06 Thread e_baggg
It actually doesn't have anything to do with the filename, it's actually the file size. FileReference can't upload files that are 0KB. Add some characters to 'new document.txt' and the upload will be fine. I added a try/catch to notify the user if this happens: try { file.upload(uploadUrl

[flexcoders] Re: Convert time string to minutes

2006-10-31 Thread e_baggg
It shouldn't be too difficlut to write this code yourself. I haven't tested this but 'hours' is 0 based so that's why I added 1. var date : Date = new Date(); var totalMinutes : Number = (date.hours+1) * 60; totalMinutes += date.minutes; --- In flexcoders@yahoogroups.com, "Wally Randall" <[EMAIL

[flexcoders] Re: Flex Tab order

2006-10-29 Thread e_baggg
In the last text box, add a function for the focusOut handler that manually sets the focus back to the first box (or button). --- In flexcoders@yahoogroups.com, "gur_sukh" <[EMAIL PROTECTED]> wrote: > > Hi, > > In flex i have vbox with 4 TextInputs. when we tab through them after > the last inpu

[flexcoders] Re: Socket woes - something simple I'm sure

2006-10-19 Thread e_baggg
to a Socket, just use the writeByte method: > > this.writeByte( 0x00 ); > this.flush(); > > -d > > e_baggg wrote: > > > > ## Try adding a null byte before flushing the flash.net.Socket. > > > > Ted- > > Thanks for your response but I am still unab

[flexcoders] Re: Socket woes - something simple I'm sure

2006-10-19 Thread e_baggg
d to read bytesAvailable into a > buffer to detect the null byte to denote a message received. > > > > Ted :-) > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of e_baggg > Sent: Thursday, October 19, 2006 8:44 AM > To: flexcoders@

[flexcoders] Re: Socket woes - something simple I'm sure

2006-10-19 Thread e_baggg
ould work seamlessly. > > > > Also on the receiving side, you will need to read bytesAvailable into a > buffer to detect the null byte to denote a message received. > > > > Ted :-) > > ____ > > From: flexcoders@yahoogroups.com [m

[flexcoders] Socket woes - something simple I'm sure

2006-10-19 Thread e_baggg
Hello. I have a XMLSocket class that I am able to send/receive data to no problem. I switched my implementation to use the flash.net.Socket class and now I cannot receive data back. I updated my sendMessage() to the following...this request should trigger a response from the server but it doesn'

[flexcoders] Unable to pull up API in FlexBuilder with Ctrl + Spacebar

2006-10-11 Thread e_baggg
This has to be the most frustrating thing I've come across in a long time (more frustrating then when my computer got hosed trying to debug Flex 1.5 apps accidentally with the Flash 8.5 beta plugin). Anyway, I am no longer able to pull up the dynamic menu of class names and variable attributes whe

[flexcoders] Re: Need help using XML files without embedding them in SWF

2006-09-12 Thread e_baggg
Yes, the URLLoader class is what you need. --- In flexcoders@yahoogroups.com, "greggohlke" <[EMAIL PROTECTED]> wrote: > > Right now I use several XML files in my Flex 2 app and they are being > embedded in the SWF file. I define them in an tag like this: > > source="../xml/site_configs/inboxCo

[flexcoders] Re: How to load an Image dynamically as for icon (of type Class)??

2006-09-01 Thread e_baggg
Best Regards > > > > Roberto Frias > > > > > > > > Von: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] Im Auftrag von e_baggg > Gesendet: Donnerstag, 31. August 2006

[flexcoders] How to load an Image dynamically as for icon (of type Class)??

2006-08-31 Thread e_baggg
I have an application that has a popup window that users will popup very rarely. This popup window has a with a dozen different icons for each row in the List. For this reason I do not want to embed the images, but rather, load them at runtime when the wndow is popped. I am having trouble displa

[flexcoders] Re: Cairngorm / Hibernate Best Practices

2006-08-31 Thread e_baggg
Flex can't access your Spring Beans directly. Similar to SpringWeb how you set up Controllers which map to a URL pattern, your Facade (JavaPojo) which have the methods which your AS delegate will call. There is a good example with source code here: http://weblogs.macromedia.com/auhlmann/archives/2

[flexcoders] Re: CairngormEvent Antipattern

2006-08-30 Thread e_baggg
Andi- Tom was referring to having a hierarchy of FrontControllers. He happens to have a class called "CoreController" which all of his Flex apps would use. Then, each Flex app will have it's own FrontController that extends CoreController...this way each developer has their own controller. This

[flexcoders] Re: specifying a percentage width in script?

2006-08-28 Thread e_baggg
You have to calculate that yourself. Add an event listener for "resize" and which calls a function that calculates and resets the width. private function resizeHandler () : void { //if parent is an HBox that is set to 100% spacer.width = parent.width; } --- In flexcoders@yahoogroups.com,

[flexcoders] Re: CairngormEvent Antipattern

2006-08-25 Thread e_baggg
s we're no longer hard-coding the "WidgetFrontController.ADD_WIDGET" into each CairngormEvent sublcass. --- In flexcoders@yahoogroups.com, Andrea Varga <[EMAIL PROTECTED]> wrote: > > e_baggg wrote: > > >Hello group- > > I hadn't seen a previous post reg

[flexcoders] CairngormEvent Antipattern

2006-08-23 Thread e_baggg
Hello group- I hadn't seen a previous post regarding this explicity so I wrote a small blog about it. It helps reduce the #of classes that get created when using Cairngorm (a big issue with me since the client is VERY picky with their swf file sizes). This blog shows the code for usuing a reusabl

[flexcoders] Re: TileList item margins

2006-08-16 Thread e_baggg
Sergey, if you set the verticalGap="0" on the component's container, then that will do the trick. You will need to setup a separate mxml component and drop the within that container...then change your TileList to contain the attribute itemRenderer="com.myComponent" --- In flexcoders@yahoogr

[flexcoders] Re: Dynamic datagrid columns

2006-08-16 Thread e_baggg
Tom- The Datagrid component now has an attribute called columns. When you dynamically create columns, add them to an array and set datagrid.columns value to this array. To add or remove columns, just get a reference to that 'columns' attribute and call normal array methods. I actually have

[flexcoders] Re: Getting a problem trying to do a remote object in FLEX

2006-08-16 Thread e_baggg
Based on the jRun error, "resource '/messagebroker/amf' not found", it looks like your web.xml is not configured correctly. There should be a servlet-mapping for "/messagebroker/amf". See this: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html /wwhelp.htm?context=LiveDocs_Pa