RE: [flexcoders] Re: Is it possible to invoke a AMF call just before browser close?

2008-05-21 Thread Seth Hodgson
Yeah, that's a nice idea. For folks that use polling (with a polling interval of a few seconds) or long polling (with a server-side wait of up to a minute or two), if you tune your session timeout down to a little more than your polling roundtrip time then clients that are closed will not issue

RE: [flexcoders] Re: Is the context-root value burnt into SWF?

2008-05-21 Thread Seth Hodgson
Hi Robert, You're best of in this scenario just creating your Channels directly. The ChannelSet, in its auto-configured mode, lazily fills in its list of Channels as needed based on their ids. That's why your code below is returning 'undefined'. Alternately, you could take a look at the

RE: [flexcoders] LabelFunction

2008-05-21 Thread Tracy Spratt
No. A custom cell renderer is required for that. There are examples available. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Wednesday, May 21, 2008 5:02 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] RemoteObject connections over HTTPS fails..

2008-05-21 Thread Seth Hodgson
If you have a proxy between the client and server that rewrites HTTPS requests to HTTP requests before forwarding to the app server you need you channel-definition to specify a secure client-side channel class and URL, and an insecure server side endpoint class. So, something like:

[flexcoders] Flex in Connect

2008-05-21 Thread Amy
Has anyone demo'ed Flex in Connect before? I've found that both Flex and Connect slow my machine, and I am worried that the two together may be a horrible combination. Also, am I right in thinking that Connect itself is built in Flex? I thought I heard that somewhere. Thanks; Amy

Re: [flexcoders] Flash-AIR-PHP drag and drop Hybrid

2008-05-21 Thread Greg Hess
Thanks Jeff! I was hoping to use AIR's native drag and drop (desktop to AIR), basically detecting a drag operation from the OS, accessing the client clipboard in AIR and performing the transfer. I have to support native drag and drop and a public interface (accessible from Internet cafe's). I

[flexcoders] Re: RemoteObject connections over HTTPS fails..

2008-05-21 Thread sk_acura
Hi, First of all thanks so much for your response.. I tried chaning my secure channel defintion as you suggested and now i am getting the following Error in the log.. [ERROR] flex.messaging.config.ConfigurationException: Invalid channel endpoint class

[flexcoders] Re: SWF Cache

2008-05-21 Thread Don Kerr
BTW, I've tried all the html tricks and none work in IE or Firefox... META HTTP-EQUIV=Cache-Control CONTENT=no-store META HTTP-EQUIV=Expires CONTENT=Mon, 04 Dec 1999 21:29:02 GMT META HTTP-EQUIV=Pragma CONTENT=no-cache META HTTP-EQUIV=Expires CONTENT=-1 I need a browser-independent solution for

Re: [flexcoders] Re: Flash Player 10 is in prerelease!

2008-05-21 Thread Muzak
From what I can tell, that's the standalone version, not the FP browser plugin (at least the win version). - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, May 21, 2008 5:58 PM Subject: Re: [flexcoders] Re: Flash Player 10 is in

RE: [flexcoders] Re: RemoteObject connections over HTTPS fails..

2008-05-21 Thread Seth Hodgson
What version of the product are you using? Based on that stack trace, it looks like your FlexMxmlServlet is attempting to load and init a MessageBrokerServlet. That seems odd. How do you have these servlets configured in web.xml? Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Re: SWF Cache

2008-05-21 Thread Kevin Fauth
Hey Don- It's a quick and dirty trick to prevent caching, but if you're just writing a single Flex app (1 swf, no modules) then you can append some random GET data to the tail end of the swf extension. For instance, instead of doing: EMBED src=effect.swf quality=high ... you would do: EMBED

[flexcoders] Dynamic Rectangle Drawing

2008-05-21 Thread jmfillman
The drawing and geometry stuff is foreign enough to me that everything I've tried has failed miserably :-( When a user clicks and drags inside a canvas, I need to draw a rectangle that is dynamically sized vertically (fixed width) with their mouse movements, whether the movement is a positive

RE: [flexcoders] popupbutton direction

2008-05-21 Thread Alex Harui
I'd just use a Button and popup a window wherever you need it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sudha_bsb Sent: Wednesday, May 21, 2008 10:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] popupbutton direction

RE: [flexcoders] ScriptTimeOut Issue

2008-05-21 Thread Alex Harui
Isn't there a setTimeout call in Javascript you can use to put up the TextEditor? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Subeesh Sent: Wednesday, May 21, 2008 8:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-21 Thread Alex Harui
Each renderer should get the event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Wednesday, May 21, 2008 5:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: dataTipRenderer available for DataGrid?

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Wierd, I can't post anything... Tracy, what do you mean by instance variable? I tried: public var myLoader:URLLoader = new URLLoader(myXMLURL); But it didn't work.. Any ideas?

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Tracy, what do you mean about the instance variable? I tried this but it didn't work: public var myLoader:URLLoader = new URLLoader(myXMLURL); Any ideas?

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Wierd, I can't post anything... Tracy, what do you mean by instance variable? I tried: public var myLoader:URLLoader = new URLLoader(myXMLURL); But it didn't work.. Any ideas?

[flexcoders] URLLoader

2008-05-21 Thread wild.katana
Wierd, I can't post any replies on my old topic... Tracy, what do you mean by instance variable? I tried: public var myLoader:URLLoader = new URLLoader(myXMLURL); But it didn't work.. Any ideas?

[flexcoders] FLEX Book / Embedding Pixel Fonts

2008-05-21 Thread nihilism machine
1. What is the easiest way to be able to embed pixel fonts in a flex app? 2. As far as GUI versus backend programming (HTTPService), what is the best FLEX book out there that covers lots of practical GUI/Skinning Data? Thanks everyone! -e

[flexcoders] Re: Flexlib SuperTabBar, ButtonScrollingCanvas, and dataProvider

2008-05-21 Thread grizalum
Manish, Thanks for the tip, it got me moving down the correct path. Sometimes a gentle nudge helps remove the self-imposed blinders. Scott --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/21/08, grizalum [EMAIL PROTECTED] wrote: If I attempt to create an

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Wierd, I can't post anything... Tracy, what do you mean by instance variable? I tried: public var myLoader:URLLoader = new URLLoader(myXMLURL); But it didn't work.. Any ideas? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: myLoader needs to be an instance variable

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
This still isnt working. I tried import flash.net.* and a few other things, no go.. Any other ideas? Tracy, can you clarify what you mean? --- In flexcoders@yahoogroups.com, wild.katana [EMAIL PROTECTED] wrote: I have this code: var myXML:XML = new XML(); var XML_URL:String =

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Hmmm, do you mean like this: public var myLoader:URLLoader = new URLLoader(myXMLURL); I tried that but it didn't work. What do you mean by instance variable? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: myLoader needs to be an instance variable instead of a local

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Do you mean something like this: public var myLoader:URLLoader = new URLLoader(myXMLURL); I tried it but it didn't work... What do you mean by instance variable? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: myLoader needs to be an instance variable instead of a local

RE: [flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread Tracy Spratt
Declare the variable in the instance scope, that is, not inside a function. That will make it available anywhere within the class instance. In non-OO terms, you might call it a global variable, but it is not really global, only global to the class instance, hence the term instance variable.

RE: [flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread Tracy Spratt
And IMPORTANT: do not initialize/set it when you declare it. You can only initialize instance variables to simple values. Set its value inside the function. public var _myLoader:URLLoader; //declare this outside of a function. The leading underscore is just a convention public var

[flexcoders] Re: SWF Cache

2008-05-21 Thread Don Kerr
Thanks Kevin! I'll give it a try. Since I'm continual enhancing the apps for my users, ensuring the correct version is higher priority than a faster download. I appreciate the help. Don Don Kerr Manager, Space City AUG http://www.spacecityaug.com --- In flexcoders@yahoogroups.com, Kevin Fauth

Re: [flexcoders] FLEX Book / Embedding Pixel Fonts

2008-05-21 Thread Muzak
1. What is the easiest way to be able to embed pixel fonts in a flex app? Google: http://www.google.com/search?hl=enq=flex+embed+fonts+swfmeta= http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_09.html

Re: [flexcoders] Dynamic Rectangle Drawing

2008-05-21 Thread Willy Ci
check out http://graphics-geek.blogspot.com/top drawer and http://www.degrafa.com/ hope that helps On Wed, May 21, 2008 at 7:18 PM, jmfillman [EMAIL PROTECTED] wrote: The drawing and geometry stuff is foreign enough to me that everything I've tried has failed miserably :-( When a

[flexcoders] Re: invalid column widths in DG before render.

2008-05-21 Thread aceoohay
Erik: It does not seem to be a timing issue per se, in other words if I wait 5 minutes after the dataprovider has been set, it makes no difference. The only thing that seems to make a difference is actually viewing the grid by clicking on the tab that the grid is on. Paul --- In

Re: [flexcoders] 5,000 record dataset needs love

2008-05-21 Thread Willy Ci
disable the VO Bindable objects. if bind the VO, every time you update the VO, flash player will update the screen, happen to me once, I has some code processing data file over 10,000 records, never took longer than 10 seconds. once more question, are u using flex 1.5 with flash player 8? if that

[flexcoders] Expand/Collapse AdvancedDataGrid row?

2008-05-21 Thread williamkusumo
Hello good people! I have a DataGrid with a button in each row and when you press one of the button, there should be a control panel that expands below that row (pushing down everything else). This panel spans the entire row and has a specific height. Any recommendation on how to achieve

[flexcoders] Re: Flex in Connect

2008-05-21 Thread madflexcoder
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: Has anyone demo'ed Flex in Connect before? I've found that both Flex and Connect slow my machine, and I am worried that the two together may be a horrible combination. Also, am I right in thinking that Connect itself is

[flexcoders] Flex Button Datagrid trigger event

2008-05-21 Thread timgerr
Hello all, I have a datagrid that I added a button to it. I am having troubles with the button and other things, Here is some code: public function DoThis(e:DataGridEvent):void { trace(dta.selectedItem.cert;) } mx:DataGrid x=311 y=208 dataProvider={dataArrayItemOne}

Re: [flexcoders] Flex Button Datagrid trigger event

2008-05-21 Thread Josh McDonald
When you use the mx:component tag, it does some voodoo and creates a completely new class for you, extending whatever is the first child (in your case, the new class would extend HBox). This class has its own scope, so it doesn't have member access to anything in the scope of your existing

[flexcoders] Firefox 3 RC1 breaks Flash/Flex keyboard?

2008-05-21 Thread thirtyfivemph
Is anyone else running Firefox 3 RC1 (on OSX) and experiencing bugs with Flash Player and keyboard events? I'm not getting KEY_UP events, just KEY_DOWN, which kills my app (a game with keyboard controls) as it assumes a key is pressed until it receives the KEY_UP event. Googling hasn't

RE: [flexcoders] Re: invalid column widths in DG before render.

2008-05-21 Thread Alex Harui
Way early in this thread I mentioned that, depending on your creationPolicy, objects on yet-to-be-viewed tabs may not exist or have invalid sizes. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aceoohay Sent: Wednesday, May 21, 2008

[flexcoders] Re: Flex Button Datagrid trigger event

2008-05-21 Thread timgerr
-J, I am still learning Flex, can you supply an example on the event way you would do this so I can learn from it. I learn better when I can see some code. Thanks for taking the time, timgerr --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: When you use the

Re: [flexcoders] Re: Flex Button Datagrid trigger event

2008-05-21 Thread Josh McDonald
No worries mate. Keep in mind I'm typing this in gmail, not flex builder so it might not be valid code, but it'll be close :) mx:Component mx:HBox horizontalAlign=center mx:Script![CDATA[ protected function redispatch(sourceEvent : Event) : void { var newEvent : DynamicEvent =

Re: [flexcoders] Re: Flex Button Datagrid trigger event

2008-05-21 Thread Josh McDonald
Also, if you're dispatching the event from a component that will live in a popup, you have to use systemManager.addEventListener rather than Application.addEventListener, as popups aren't children of the Application and hence events never bubble to your Application object. -J On Thu, May 22,

[flexcoders] How do I wrap text in a label control

2008-05-21 Thread Luke Vanderfluit
Hi. How do I wrap text in a label control? Thanks. Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

<    1   2