RE: [flexcoders] What happens with dataProvider when you sort a List control?

2008-03-31 Thread Alex Harui
The DP makes a new copy of the items and sorts them, leaving the old items in their original untouched array or xmllist. I don't quite get your issue, but I hope that helps. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cobpez

RE: [flexcoders] Re: memory leak in converting string to xml

2008-03-31 Thread Alex Harui
In my testing, I have not seen appreciable leaking. It might be worth verifying that there isn't some other issue. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ilam Mougy Sent: Sunday, March 30, 2008 12:15 AM To:

Re: [flexcoders] Re: itemRenderer on TileList question

2008-03-31 Thread Douglas Knudsen
yeah, re-read those links Scott sent along. As it states in those links, itemRenderers are reused and thus only instantiated once. Hence creationComplete will only fire once. The data property on the other hand may fire numerous times. So, you will need to move your work in init() to set

RE: [flexcoders] ModuleLoader erratically loading modules

2008-03-31 Thread Alex Harui
I think there might be issues loading the same module url several times. It might be better to come up with a scheme that doesn't do that. Depending on creationPolicy, moduleLoaders will not load modules until they are about to become visible. From:

[flexcoders] Re: Custom skinning and strokes

2008-03-31 Thread polestar11
Anyone??? --- In flexcoders@yahoogroups.com, polestar11 [EMAIL PROTECTED] wrote: Hi there I have a question about implementing a custom skin for a panel, and components in general. How does using strokes affect the layout of the skins? I'm having trouble getting my custom skins (eg. Panel

RE: [flexcoders] UK rapid addressing web api

2008-03-31 Thread Glenn Williams
oh great!!! I think I better just up-sticks and move to the USA, only us English could think of letting someone 'own' the postcode! the more I look into this the depressed I'm getting lol I refuse to make the application users have to enter the address data though, rapid addressing

[flexcoders] Re: ModuleLoader erratically loading modules

2008-03-31 Thread Barry Evans
Can i ask if you are loading the same module into each 'stub'? i.e. do you have a multi-purpose module that is loaded 4 times (SubmissionModule.swf)? I had a problem with loading a single multi-purpose module more than once. I was dynamically loading n modules that contained a number of

[flexcoders] error while extending button component

2008-03-31 Thread learner
Hi all, I am trying to create a headerRenderer for Accordion.. and whenever I try to create class which extends a Button Class package { import mx.controls.Button; public class headerRenderer extends Button { public function headerRenderer() { super();

[flexcoders] Adding an ellipsis to truncated text in Text control

2008-03-31 Thread geraldshastri
I am using a text control but it's not showing the ellipsis ('...') after the truncated text. The documentation clearly says that it should be added. Do I have to toggle some settings to get the ellipsis after the truncated text? Thanks.

[flexcoders] Re: Accessing local files in Flex

2008-03-31 Thread Cato Paus
https://bugs.adobe.com/jira/browse/SDK-14245 --- In flexcoders@yahoogroups.com, Remya [EMAIL PROTECTED] wrote: My application issues a service call, which returns data containing file locations. These locations point to images in my local system. I need to populate these images into a

Re: [flexcoders] Adding an ellipsis to truncated text in Text control

2008-03-31 Thread learner
did u try this : mx:Text truncateToFit = 'true' / On Mon, Mar 31, 2008 at 2:53 PM, geraldshastri [EMAIL PROTECTED] wrote: I am using a text control but it's not showing the ellipsis ('...') after the truncated text. The documentation clearly says that it should be added. Do I have to toggle

[flexcoders] Re: Adding an ellipsis to truncated text in Text control

2008-03-31 Thread geraldshastri
Yes I did that, and by default that property is set to true, as per the documentation. --- In flexcoders@yahoogroups.com, learner [EMAIL PROTECTED] wrote: did u try this : mx:Text truncateToFit = 'true' / On Mon, Mar 31, 2008 at 2:53 PM, geraldshastri [EMAIL PROTECTED] wrote: I am

[flexcoders] Re: Secure RTMP and Websphere 5.1.1.13 and a broken socket

2008-03-31 Thread baardos
Hi, Just a little update on this one. We've managed to succesfully deploy the app in a different environment (iSeries instead of Windows XP, different network). There's no code or configuration change but it works. However, we are not sure why it works. Cheers, Bartek

[flexcoders] Reloading too quickly raising errors with HTTPService

2008-03-31 Thread kenny14390
I have an application with an HTTPService on my main page and if the page is reloaded too quickly, ugly error messages pop up, which is definitely something I want to conceal. I surrounded the service's send() method with a try catch but that's not helping. Any ideas on how to fix it or just to

[flexcoders] CursorManager.setBusyCursor() display delayed

2008-03-31 Thread mavdzee
Hi, I was wondering if there is a way to display a busy cursor immediately. In my setup I have to render a lot of charts and while rendering I want to show the busy-cursor. The problem is that the cursor is shown very late (just a split second before the rendering is finished) and not immediately

[flexcoders] Un-hilite link in LinkBar 1 from LinkBar 2

2008-03-31 Thread JRBower
I have two link bars with different datasources. I want to un-hilite the hilited link in linkbar 1 when I click a link in linkbar 2. If I add selectedIndex = -1 in the itemClick event of linkbar 2: mx:LinkBar id=lb2 itemClick=sideLinkBar(event);lb2.selectedIndex = -1; dataProvider={sideMenu}/ I

Re: [flexcoders] UK rapid addressing web api

2008-03-31 Thread Ian M. Jones
Hi Glenn, Have you looked at QuickAddress? Just had a quick look on their website, looks like they have software targeted at those wanting to use web technologies. It's not a public interface though, you need to install their software on your own servers.

[flexcoders] Set Style of default itemEditor

2008-03-31 Thread Ben Marchbanks
I am using the default TextInput itemEditor for a data grid and not having much luck changing its style. Currently its inheriting the text color from its parent (titleWindow) which is #ff. I have tried event.currentTarget.editedItemRenderer.setStyle(color,#00); and...

Re: [flexcoders] UK rapid addressing web api

2008-03-31 Thread Max Frigge
Hi Glenn, I was just thinking that it might be possible to utilize the Yahoo! Maps API. I am not very familiar with it (or rapid addressing in general), but I think you can send a geocode request with the entered address data and in case it does not exist you get a response from Yahoo! with

Re: [flexcoders] UK rapid addressing web api

2008-03-31 Thread Max Frigge
Hi Glenn, I was just thinking that it might be possible to utilize the Yahoo! Maps API. I am not very familiar with it (or rapid addressing in general), but I think you can send a geocode request with the entered address data and in case it does not exist you get a response from Yahoo! with

Re: [flexcoders] UK rapid addressing web api

2008-03-31 Thread Max Frigge
Hi Glenn, I was just thinking that it might be possible to utilize the Yahoo! Maps API. I am not very familiar with it (or rapid addressing in general), but I think you can send a geocode request with the entered address data and in case it does not exist you get a response from Yahoo! with

[flexcoders] Re: Newbie, RemoteObject with ActionScript

2008-03-31 Thread bennybobw
Todd, Sorry, I think I'm misunderstanding something very basic here. Aren't both mxml and RO calling the method views.getView(test, ['nid','title','body','changed'])? The method server side is views.getView(view name (string), fields (array), args (array)). I've attached the code below. Thanks

Re: [flexcoders] Image centering

2008-03-31 Thread Michael Wagner
Hi Alex: Thanks for your mail I have tried 1) private function onComplete( event:Event ) :void { var content:DisplayObject = LoaderInfo( event.target ).content; var bitmapData:BitmapData = new BitmapData( content.width, content.height ); bitmapData.draw( content ); var

[flexcoders] Re: memory leak in converting string to xml

2008-03-31 Thread Ilam Mougy
I did use URLLoader in my real stuff (to show progress bar loading), still the same issue. After I did the test app, it is clear it is not a conversion or download or whatever, it is a basic flaw in the GC and anyone will hit it if they use memory transaction that is big enough (var a:String = b;

Re: [flexcoders] Image centering

2008-03-31 Thread Michael Wagner
Hi Li: Thanks for your email: I need the image centered in a bitmap to save afterwards a file based on the bitmap, not to display in the screen How it would be an example with Box? My code starts from private function onComplete( event:Event ) :void { var content:DisplayObject =

[flexcoders] Re: memory leak in converting string to xml

2008-03-31 Thread Ilam Mougy
This is good for faster transmission, though I use zip before I transfer the xml. I am assuming you are talking about AMF, right? Is there something now that can compose AMF data other than Adobe server products? BTW, the main issue now is, once you have this object, and if it happens to be a

[flexcoders] Re: What happens with dataProvider when you sort a List control?

2008-03-31 Thread cobpez
It sure makes me wiser, thanks! Now let me try to explain my issue a bit clearer. Maybe it's this simple: I want to keep the selection in the datagrid in sync with the selection of the same data in another part of the application. But when I sort the data in the datagrid I lose the references,

[flexcoders] Formatters and date object inconsistencies

2008-03-31 Thread anubhav.bisaria
hi, while playing around with formatters, i found something really interesting. i have 2 issues to discuss here 1)in date formatter if i use it without the validator, then an input 2/2/ and 2/3/00 will result in a format in which year is is calibrated as 2000 (say ex: Feb 2, 2000). but

[flexcoders] Generic server/context path

2008-03-31 Thread netdeep
I need to move my application onto the server for deployment. Up til now, I have been running a server using localhost for my app. But I need to get the generic path and run from there. I tried using @ContectRoot but it did not give me the server path, just the context. Here is a snippet

[flexcoders] How to scroll to/navigate to an object in an app??

2008-03-31 Thread anthony_morsey
I want to be able to scroll to the vertical position of an object in a flex app. I want to be able to click on an htmlText anchor tag and have the app scroll down to an object that is out of the viewable area. My app has a scrollbar. If this cannot be done using htmlText and anchors, then how

[flexcoders] Java and Flex project in Maven2

2008-03-31 Thread mindtheflex
Hi Added a short tutorial of how to start a Flex and Java project with Maven2: http://blog.mindtheflex.com/?p=55 Martin

RE: [flexcoders] Generic server/context path

2008-03-31 Thread Tracy Spratt
I handle this by passing deployment-specific information into the Flex app via flashvars in the html wrapper. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Monday, March 31, 2008 8:58 AM To:

RE: [flexcoders] Reloading too quickly raising errors with HTTPService

2008-03-31 Thread Tracy Spratt
Do you have a fault handler? if so, what errors are not being caught by it? If not, implement one. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Monday, March 31, 2008 6:17 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Adding an ellipsis to truncated text in Text control

2008-03-31 Thread Tracy Spratt
Do you have an explicit width on the Text component? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of geraldshastri Sent: Monday, March 31, 2008 5:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Adding an ellipsis

RE: [flexcoders] Accessing local files in Flex

2008-03-31 Thread Tracy Spratt
You cannot access local assets in a browser hosted app. You must use AIR to do this. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Remya Sent: Monday, March 31, 2008 12:17 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] CursorManager.setBusyCursor() display delayed

2008-03-31 Thread Tracy Spratt
You probably need to invoke the processing after you show the curson, using callLater() to allow the UI to render before the processing starts. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mavdzee Sent: Monday, March 31,

[flexcoders] Module Positioning

2008-03-31 Thread David C. Moody
Hi guys, Fairly new to flex, and I'm trying to figure out how to position modules. What I mean is when I'm loading the module they always go to the top-right corner of the app. How can I position the module exactly where I want it? I've tried x y variables but that didn't seem to work.

RE: [flexcoders] Custom Component and Parent Communication

2008-03-31 Thread Tracy Spratt
Have the custom component dispatch an event, with a custom type name, and listen for it in the parent. There are several implementation options, such as allowing you to declare the handler function on the instantiating tag, and providing for using bubbling events. Tracy

[flexcoders] Re: e4x Dash

2008-03-31 Thread todd_geist
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Try event.result..[time-entry], this does not work and if that doesn't work, try event.result.descendants(time-entry). This DOES work. THANKS Gordon Smith Adobe Flex SDK Team Thanks Todd

[flexcoders] Flex Beta 3 Beta to Flex 1.0 - Need help on Air Migration

2008-03-31 Thread djhatrick
Sorry, I should clarify.. I can create an air project, the problem is that I opened my workspace and my air project would no longer compile. Do you know if there are any steps to take to migrate from flex 3 Milestone 4 to Flex 3.0 1.0? Thanks, Patrick /Applications/Adobe Flex Builder

[flexcoders] Dynamic CSS and textfield layout problems

2008-03-31 Thread doug31415
I am writing an application that uses CSS files compiled to SWFs. The different CSS files reference different embedded fonts, for example A.css uses Arial while B.css references Courier. In the main application, when I want to change styles, I call a method with this line:

Re: [flexcoders] Portal with Flex

2008-03-31 Thread Peeyush Tuli
Maybe any J2ee gurus can comment better, but here are my 2 cents. Regarding point 2, Flex is a client side technology, while session management and clustering are server side concerns. Is it not all about appending a session id as one of the parameters in the remote call for the calling client.

[flexcoders] How to manually delete references to objects?

2008-03-31 Thread lytvynyuk
I saw some examples like that: // create a new object, and put a reference to it in a: var a:Object = {foo:bar} // copy the reference to the object into b: var b:Object = a; // delete the reference to the object in a: delete(a); But it definitely wont even compile. Is there any techniques to do

Re: [flexcoders] Reloading too quickly raising errors with HTTPService

2008-03-31 Thread Douglas Knudsen
HTTPService implements its own try/catch in a way. Setup a fault event handler to see what's going on/catch faults. DK On Mon, Mar 31, 2008 at 6:16 AM, kenny14390 [EMAIL PROTECTED] wrote: I have an application with an HTTPService on my main page and if the page is reloaded too quickly,

Re: [flexcoders] How to scroll to/navigate to an object in an app??

2008-03-31 Thread Daniel Gold
With a reference to the object you can get it's coordinates within the container that is scrolling. If it is nested you will have to get its index withing it's parent container, convert that to global coordinates, then convert that to the local coordinates of the scrolling container. From there

[flexcoders] new to flex, tutorial code doesnt work!

2008-03-31 Thread funkbunny08
Hi, I'm brand new to flex using flex builder 3. I'm trying to build the simple RIA from the Adobe tutorial and I get a parse error, even though the code is identical. Here is the code: mx:TileList width=100% height=100% / dataProvider={photoFeed}; mx:itemRenderer mx:Component

Re: [flexcoders] How to manually delete references to objects?

2008-03-31 Thread Ralf Bokelberg
You cannot delete declared variables, set them to null instead. a = null; Cheers Ralf. On Mon, Mar 31, 2008 at 5:03 PM, lytvynyuk [EMAIL PROTECTED] wrote: I saw some examples like that: // create a new object, and put a reference to it in a: var a:Object = {foo:bar} // copy the

RE: [flexcoders] UK rapid addressing web api

2008-03-31 Thread Glenn Williams
I've found a great service. Works a treat and staff really helpful, Costs are not too bad also. to find out more contact: Luke Sparey +44 (0) 1905 888 558 http://www.postcodeanywhere.co.uk/developers/ if you do end up using then, let Luke know I passed on the information Glenn Williams

[flexcoders] compile CSS to SWF using Ant

2008-03-31 Thread toofah_gm
Does anyone know how to compile a CSS into a SWF using Ant? The Flex Ant Tasks seem to indicate that it is possible with the mxmlc task, but I am having trouble getting it to compile. Thanks!

[flexcoders] Problem with Tab Navigator

2008-03-31 Thread ghus32
I have a problem with a tab navigator on my page. When I switch states and go back to the state with the tab navigator Flex remembers what tab I was on. This is very annoying Anyone know of a fix for this? Thanks

[flexcoders] Re: Newbie, RemoteObject with ActionScript

2008-03-31 Thread valdhor
I am a relative newbie myself but don't you need a views.source = location of service on server? --- In flexcoders@yahoogroups.com, bennybobw [EMAIL PROTECTED] wrote: Hi All, I'm trying to get the following remoteObject working with Actionscript. When I use the mxml it works great. But when

RE: [flexcoders] Flex Beta 3 Beta to Flex 1.0 - Need help on Air Migration

2008-03-31 Thread Jim Hayes
Change the application node in Project-app.xml to this : application xmlns=http://ns.adobe.com/air/application/1.0; as far as I remember that's it (but my memory is rubbish these days). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] compile CSS to SWF using Ant

2008-03-31 Thread Gaurav. Jain
What error are you getting? Theoretically the mxmlc call should be similar to the one used for mxml compilation. Like: mxmlc file=styles.css output=${swf.output}/styles.swf / -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of toofah_gm Sent:

[flexcoders] More migration woes to Flex 3 1.0 - Class imports missing

2008-03-31 Thread djhatrick
Anybody have issues with class imports showing up not as compile time constants. For instance, ApplicationFacade of puremvc doesn't show up along with about 4 other classes, cleaning my project has no result. Thanks, boy this is frustrating. Patrick

[flexcoders] Re: How to manually delete references to objects?

2008-03-31 Thread lytvynyuk
I grabbed that example from the article at adobe website -http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: You cannot delete declared variables, set them to null instead. a = null; Cheers

[flexcoders] Re: Newbie Question - TextArea, RichTextboxEditor.

2008-03-31 Thread valdhor
You need to check out the TextRange object. There is an example in the manual at http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_05.html. --- In flexcoders@yahoogroups.com, khan.ibraheem [EMAIL PROTECTED] wrote: I am a newbie and am learning this technology. Here is what

[flexcoders] Re: Module Positioning

2008-03-31 Thread David C. Moody
I figured it out. For those that might need help in the future, set the x y variables of the ModuleLoader not the module. -David --- In flexcoders@yahoogroups.com, David C. Moody [EMAIL PROTECTED] wrote: Hi guys, Fairly new to flex, and I'm trying to figure out how to position

Re: [flexcoders] Re: How to manually delete references to objects?

2008-03-31 Thread Ralf Bokelberg
Ok i see. I guess it is an example taken from Flash. Flash is a little bit less strict if you use code on a timeline. Cheers Ralf. On Mon, Mar 31, 2008 at 5:36 PM, lytvynyuk [EMAIL PROTECTED] wrote: I grabbed that example from the article at adobe website

[flexcoders] Custom renderer for column's header

2008-03-31 Thread markgoldin_2000
I have the following code: import mx.core.UIComponent; public class hoursSymbolsHeaderRenderer extends UIComponent { public function hoursSymbolsHeaderRenderer() { super(); } } But when I do: var hoursSymbolsHeaderRenderer:ClassFactory = new

[flexcoders] Re: error while extending button component

2008-03-31 Thread valdhor
This may be out of left field but is there already a class named headerRenderer and you are clobbering it? What happens if you change the name of the class to myHeaderRenderer? --- In flexcoders@yahoogroups.com, learner [EMAIL PROTECTED] wrote: Hi all, I am trying to create a headerRenderer

[flexcoders] Re: compile CSS to SWF using Ant

2008-03-31 Thread toofah_gm
You're right...that worked...I was not including dependent library-paths last time I tried this and thought it was the mxmlc file attribute not accepting a CSS file option...fixed my dependencies and works great! Thanks for your help! --- In flexcoders@yahoogroups.com, Gaurav. Jain [EMAIL

[flexcoders] Re: Flex Beta 3 Beta to Flex 1.0 - Need help on Air Migration

2008-03-31 Thread djhatrick
Jim, Thanks for the help, this solved my issue. Thanks, Patrick --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: Change the application node in Project-app.xml to this : application xmlns=http://ns.adobe.com/air/application/1.0; as far as I remember that's it

[flexcoders] Re: Generic server/context path

2008-03-31 Thread dbronk
You may want to take a look at Application.application.loaderInfo. Also, here is a class I found somewhere. Unfortunately I don't remember where I found this so I can't give the true author credit. package your.package { import flash.external.*; import flash.utils.*;

[flexcoders] Re: How to scroll to/navigate to an object in an app??

2008-03-31 Thread valdhor
You should check out Eric Cancil's excellent Scroll to Anchor component at http://blog.3r1c.net/?p=84 --- In flexcoders@yahoogroups.com, anthony_morsey [EMAIL PROTECTED] wrote: I want to be able to scroll to the vertical position of an object in a flex app. I want to be able to click on an

[flexcoders] Re: How to scroll to/navigate to an object in an app??

2008-03-31 Thread anthony_morsey
The key for me is to be able to do this inside the textarea.htmlText text with something that acts like an HTML href. I think Eric Cancil's demo is triggered of buttons. --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: You should check out Eric Cancil's excellent Scroll to

[flexcoders] Re: new to flex, tutorial code doesnt work!

2008-03-31 Thread valdhor
After a quick look, there is a problem with this line: mx:TileList width=100% height=100% / dataProvider={photoFeed}; It is not valid MXML. You close off the TileList tag and then go on with the dataProvider outside any tag. Also, there is a spurious semi-colon. Should that line have been:

[flexcoders] Re: How to scroll to/navigate to an object in an app??

2008-03-31 Thread valdhor
Eric's example is triggered with buttons but that does not mean you have to use buttons. I actually use images to trigger it. There sould be no problem using anything that provides a click method. Ah, I re-read what you said - are you trying to autoscroll a long textArea? I haven't done it but I

[flexcoders] Re: Custom renderer for column's header

2008-03-31 Thread markgoldin_2000
I have found the problem: Name of a class was same as the var. Now I can compile. But at run-time I am getting: Type Coercion failed: cannot convert yardmodel.modulecode::[EMAIL PROTECTED] to mx.controls.listClasses.IListItemRenderer. --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL

Re: [flexcoders] Re: Newbie, RemoteObject with ActionScript

2008-03-31 Thread Aaron Miller
I'm not an expert on RemoteObject myself, but I do notice your code looks a bit different then mine (which works). Here is an example of a function that uses remote object in my project: # public function loadFavorites( resultHandler:Function, errorHandler:Function ): void { # var

Re: [flexcoders] Dynamic CSS and textfield layout problems

2008-03-31 Thread Aaron Miller
Maybe you can try calling one or all of these methods on your text field after the style changes: invalidateProperties(); invalidateSize(); invalidateDisplayList(); If I had to choose one, I think invalidateSize() should work on it's own. This isn't my expert opinion, I just know I have to call

[flexcoders] Re: need help capturing focus in a variable or using event to capture current target

2008-03-31 Thread Teresa Howington
Got it! Here's how you can focus on a textarea without knowing its id!: private function initTextArea(event:Event):void { textSelection = new TextRange((event.currentTarget)as UIComponent, true); } private function addToolListener(event:Event):void {

[flexcoders] Recursing Up a Tree

2008-03-31 Thread Carpenter, Steven
Hi all, I'm still learning with Flex, and I'm stuck on this problem: I have a Tree component and for any given selectedItem, I need to get a list of parent nodes for that item - I'm not concerned with the children of each parent, I just need to get a list or path of parent nodes for an item,

[flexcoders] Re: new to flex, tutorial code doesnt work!

2008-03-31 Thread jrunrandy
Yeah. I see how that happened. The tutorial has you add a TileList component in one step and the dataprovider attribute in another. I tweaked step 2 to add a reminder about moving from the TileList line to the dataprovider line. Thanks for the feedback, Randy Nielsen Flex Doc Manager

[flexcoders] Equivalent of FMS server side object in LC Data services

2008-03-31 Thread Alexander Tsoukias
So, if I was to create a server side shared object with Flash Media Server i would have my online users in a shared object, then another server shared object with all the chat users etc... If i was to do this with LCDS (Live Cycle Data Services) - again using rtmp - how would it be done?

Re: [flexcoders] UK rapid addressing web api

2008-03-31 Thread Paul Andrews
Excellent - thanks for the heads-up on this. Paul - Original Message - From: Glenn Williams [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, March 31, 2008 4:11 PM Subject: RE: [flexcoders] UK rapid addressing web api I've found a great service. Works a treat and staff

[flexcoders] LCDS proper way to commit read-only properties

2008-03-31 Thread Kevin
I am trying to figure out the right way to do this. I have a ContactVO which has a phones collection that is mapped as a read-only association. In Hibernate we are using the mappedBy annotation and in the database we have a contact_id columns which joins the ContactVO to the PhoneVO table. My

[flexcoders] Date Bug??

2008-03-31 Thread jmfillman
When I run the code below, I get a date of May 1st, 2008. What am I missing here? Shouldn't this give me March 31st, 2008. ?xml version=1.0? !-- Simple example to demonstrate NumberFormatter. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initDate() mx:Script

RE: [flexcoders] Recursing Up a Tree

2008-03-31 Thread Tracy Spratt
You don't need recursion. The following example actually expands the nodes, but could just as well build a list. Tracy //starts at the given node, walks up the tree opening nodes as it goes private function expandParents(xmlNode:XML):void { while (xmlNode.parent() != null) {

[flexcoders] Remoting using RTMP protocol

2008-03-31 Thread Alexander Tsoukias
I am trying to find out if there is a way to do same logic as when using RemoteObject with coldfusion, but instead of using (http polling) AMF to use the RTMP protocol. In my logic, i would just create a new destination in remoting-config.xml and add a channel ie: my-rtmp. Would this work? If

[flexcoders] JSON service calls /Jayrock

2008-03-31 Thread M@ Sheppard
Trying to put a front end to a service that uses not only JSON serialization but also the POST/RESPONSE functionality. I'm wondering how others are doing this. Is there something in the Adobe JSON library that enables this? I've found lots of good sterilization examples, but they use something

[flexcoders] Announcement: Join us in a Flex-Related Focus Group

2008-03-31 Thread Jeffry Houser
Hi Everybody, Some of you may know me, but many probably not. I'm Jeffry Houser, producer of The Flex Show, a flex related podcast. I also run a DotComIt ( http://www.dot-com-it.com ), an Adobe Solutions Partner specializing in Flex Development. DotComIt is working on a line of commercial

[flexcoders] Re: Dynamic CSS and textfield layout problems

2008-03-31 Thread doug31415
Thanks but I tried all that, and invalidateNow() as well, in several spots in the code. I tried digging through the code to see where the CSS gets set versus where the measurement takes place and even reset the textfield text property after the StyleEvent.CHANGED is fired. No dice on any of

[flexcoders] headerRenderer question

2008-03-31 Thread markgoldin_2000
Can I use dataGrid as a column's custom headerRenderer? Thanks

[flexcoders] RE: [flexcomponents] error while extending button component

2008-03-31 Thread Alex Harui
In which class is setFocus different? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Monday, March 31, 2008 2:21 AM To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] Subject: [flexcomponents] error while extending button component

RE: [flexcoders] headerRenderer question

2008-03-31 Thread Alex Harui
In theory, with some subclassing, yes. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, March 31, 2008 10:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] headerRenderer question Can I use

Re: [flexcoders] Date Bug??

2008-03-31 Thread Douglas Knudsen
Date.month is zero-based. :) DK On Mon, Mar 31, 2008 at 12:57 PM, jmfillman [EMAIL PROTECTED] wrote: When I run the code below, I get a date of May 1st, 2008. What am I missing here? Shouldn't this give me March 31st, 2008. ?xml version=1.0? !-- Simple example to demonstrate

[flexcoders] selecting a secure channel with RemoteObject

2008-03-31 Thread Aaron Miller
Hello, My main SWF is run on an insecure channel, as well as the majority of the RemoteObject calls. However, I now have to send sensitive data to the server and would like to use a secure channel for those calls. I've tried a few different things and run myself into a dead end. Would any one

RE: [flexcoders] Date Bug??

2008-03-31 Thread Alex Harui
For some strange reason, month is zero-based. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Monday, March 31, 2008 9:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Date Bug?? When I run the code below,

[flexcoders] Re: Newbie, RemoteObject with ActionScript

2008-03-31 Thread twcrone70
Ok, I guess so. I really didn't look close enough. I'm no PHP guy so I might be overstepping. The only other thing I see that might be a problem is that the mxml specifies the 'source' property and the actionscript does not. But honestly all my RO's are AS and their endpoints are Java/Spring

RE: [flexcoders] Re: Dynamic CSS and textfield layout problems

2008-03-31 Thread Alex Harui
TextFields in which components? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of doug31415 Sent: Monday, March 31, 2008 10:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Dynamic CSS and textfield layout problems

RE: [flexcoders] Re: Custom renderer for column's header

2008-03-31 Thread Alex Harui
One of the reasons source code for Flex is available is so you can see how we do things like write item renderers. If you look closely, you'll see that the ones that extend UIComponent also implement IListItemRenderer From: flexcoders@yahoogroups.com

Re: [flexcoders] Remoting using RTMP protocol

2008-03-31 Thread Anatole Tartakovsky
The real question is - does it move you in the right direction. Architecturally, (long) RemoteObject call is a one-way-at-a-time road with typical congestions including latency, inability to detect lost packages/dups/out of sequence. RTMP is usually 2 pairs of 2-way sockets (Publishing and

[flexcoders] Re: Recursing Up a Tree

2008-03-31 Thread Dominic Pazula
Hi Steven, If you are using XML, then by all means use Tracey's example. I am building something similar, but I am using objects in an ArrayCollection instead of XML. What I have done is add an id and parent field to my object. When I am building my ArrayCollection of objects, I make sure to

[flexcoders] Re: headerRenderer question

2008-03-31 Thread markgoldin_2000
Here is what I am trying to do: var HoursSymbolsHeaderRenderer:ClassFactory = new ClassFactory; var oColumn:AdvancedDataGridColumn = new destinationCodeColumn(); HoursSymbolsHeaderRenderer = new ClassFactory(headerRendererTest); oColumn.headerRenderer = HoursSymbolsHeaderRenderer; and just for

RE: [flexcoders] Re: What happens with dataProvider when you sort a List control?

2008-03-31 Thread Alex Harui
The XML node and its UID should not have changed, so the expression you used should be good as long as space_item.id does in fact match an id attribute in the original data. Did you verify that space_item.id is correct? From: flexcoders@yahoogroups.com

RE: [flexcoders] Image centering

2008-03-31 Thread Alex Harui
mx:Image source=source1.jpg horizontalAlign=center verticalAlign=center / No matter how big you make mx:Image, it should center source1.jpg. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Wagner Sent: Sunday, March

[flexcoders] Re: Custom renderer for column's header

2008-03-31 Thread markgoldin_2000
Yes, I did and I see what's the problem was. Thanks --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: One of the reasons source code for Flex is available is so you can see how we do things like write item renderers. If you look closely, you'll see that the ones that

RE: [flexcoders] Set Style of default itemEditor

2008-03-31 Thread Alex Harui
Subclass. The styleName of the TextInput is set after ITEM_EDIT_BEGINNING. If you subclass you can change the styleName in commitProperties. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Marchbanks Sent: Monday, March 31, 2008

[flexcoders] Re: Remoting using RTMP protocol

2008-03-31 Thread Alexander Tsoukias
Thanks for this Anatole made things quite clearer and saved me a lot of time. I own LCDS 2.6, so as in your PS I'd like to know where can i find these LCDS 2.6 sections you are referring to. Also, since you have the knowledge on this, could you help out on this topic as well?

RE: [flexcoders] Re: headerRenderer question

2008-03-31 Thread Alex Harui
Not from that description. If you get a runtime error, make sure you have -debug or -verbose-stacktraces in your compile options. You will get line numbers in your stack output and then you should post the full stack output. From: flexcoders@yahoogroups.com

  1   2   >