[flexcoders] Re: VERY interesting title button behaviour! (??)

2007-03-26 Thread Danko Kozar
What are unnneded regions? Thanks. ps. my pngs are EXACTLY 16x16 --- In flexcoders@yahoogroups.com, Janis Radins [EMAIL PROTECTED] wrote: Probably your button png has some unnneded regions filled with pixels. Check it with some image editor

[flexcoders] Re: Line inbetween comboItems

2007-03-26 Thread sanjaypmg
Hi thanks... :) But I am using this combo in a dataGrid headerRenderer and all the items values are unique from the corresponding column. When I replace the combo code with PopUP Menu It doesnt load the menu when i click on the arrow. I dont know y its behaving like dis Pls

[flexcoders] how can i cache the data?

2007-03-26 Thread rikencpatel_2005
hi all, i am using httpservice to fetch the data from server. how can i cache that data ? should i cache it on client or server? if i am caching data on client than how much is it unsecure?

[flexcoders] Re: Line inbetween comboItems

2007-03-26 Thread sanjaypmg
Hi, The menu is coming if I run the MXML directly in browser... If I run the see the SWF in my JSP page it doesnt show the menu when I click on the popup button... What could be the problm pls suggest me to make it correct... Thanks in Advace Sanjay --- In

[flexcoders] Re: Module issue

2007-03-26 Thread fabio_sebastiano
Hi, i'm triyng to understand what you mean...i'm developing the client side of an application, using components of varius types. I don't know why they can't run in my code... --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I'm starting to think you are trying to use flex

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Tom Chiverton
On Friday 23 Mar 2007, slangeberg wrote: Hmm, i've had this experience on both Apache IIS. I'm not talking about a server cahce, I believe this is browser related. Upload SWF to server, and do not see change in browser till cache is cleared. No one else experiences this? We don't, no. Maybe

Re: [flexcoders] Re: Data Binding Issue

2007-03-26 Thread Tom Chiverton
On Friday 23 Mar 2007, madhukiranm wrote: mx:Tile id=chkTile mx:Repeater id=chkRepeater dataProvider={dataItems} mx:CheckBox id=chkCheckBox selected=selectedItems.contains(chkRepeater.currentItem) Not selected={ selectedItems.contains(chkRepeater.currentItem) } ? -- Tom

[flexcoders] Linked resources in Flex Compiler Flex Server

2007-03-26 Thread Vadim Melnik
Hello All, Is there ability to use Eclipse linked resources like ${FRAMEWORKS}, ${MY_APP} or their equivalent in Flex Compiler and Flex Server dialogs. We are interested in: 1) Project | Properties | Flex Compiler | Additional compiler arguments: -services

[flexcoders] Error 2025 with images

2007-03-26 Thread polestar11
Hi there This question was previously asked on Flexcoders and not addressed: http://tech.groups.yahoo.com/group/flexcoders/message/64576 I have dug futher into the problem know what may be causing it. Here is a description of the problem: I load html text into a textarea. I then edit the text

[flexcoders] dragProxy as image dosen't show image

2007-03-26 Thread Paolo Bernardini
Hi I was following the last example on http://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/ I'm having a problem when I replace embedded images with dynamic URLs. this is the part of the code that I'm having problem with: // Create a copy of the coin image to use as a drag proxy.

[flexcoders] Re: Are Events OK in the MVC (S) pattern

2007-03-26 Thread lostinrecursion
Brett, You can read about this in more detail on any website which discusses the pattern but I will try and simplify it here for you. I highly recommend also trying out Cairngorm (A Flex MVC framework) even if only to better understand the concepts. If your view is firing events, the events are

RE: [flexcoders] Re: Component Required

2007-03-26 Thread Kumar
Hard luck didn't got till now Thanks, Kumar _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Saturday, March 24, 2007 6:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Component Required Did you find one? I'd be

[flexcoders] Controlling item spacing in a vbox

2007-03-26 Thread Rick Root
I have a group of checkboxes that I'd like to put in a vbox. However, I need the spacing between the items in the box to be dramatically less than the standarding spacing because we have some real estate issues. I currently use absolute positioning on the checkboxes, and have them such that

[flexcoders] Checkbox Select List Component

2007-03-26 Thread Rick Root
Someone blogged about a custom component they'd built that was like a list component, but rendered the items as checkboxes... however I can't find it anywhere. Our users prefer the visual of the checkbox in a multi-select component, plus not having to SHIFT-click or CTRL-click makes it easier

Re: [flexcoders] Repeater Refresh

2007-03-26 Thread Ariel Jakobovits
Isn't an ArrayCollection essentially equivalent to a Query? An array of objects... Adobe and Macromedia are the same, CF and Flex sleep together, why don't they just call it a day? - Original Message From: Douglas Knudsen [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

Re: [flexcoders] ActiveMQ with JBoss and Flex Data Service

2007-03-26 Thread Brian Dunphy
Make sure you have the ActiveMQ jar file in your WEB-INF/lib directory. Also, my destination XML looks significantly different: destination id=queue1 adapter ref=jms / properties jms

Re: [flexcoders] Flex coldfusion simple question

2007-03-26 Thread John Barrett
Hi Rich, Thanks for sharing this code. I will be looking into this tomorrow. One question: Do I need to change anything in the file: Applications/JRun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/flex services-config.xml file? Thanks, John - Original Message From: Rich

Re: [flexcoders] Repeater Refresh

2007-03-26 Thread Kevin
thanks. I think the ArrayCollection is the key. Using addItem instead of push makes all the difference. It now works. - Kevin On Mar 24, 2007, at 6:04 PM, Jeffry Houser wrote: I've done this with an ArrayCollections, but never with an Array. The code would be something like this:

Re: [flexcoders] Controlling item spacing in a vbox

2007-03-26 Thread Roman Protsiuk
verticalGap? R. On 26 Mar 2007 05:32:19 -0700, Rick Root [EMAIL PROTECTED] wrote: I have a group of checkboxes that I'd like to put in a vbox. However, I need the spacing between the items in the box to be dramatically less than the standarding spacing because we have some real estate

Re: [flexcoders] Re: Set as Default Application: for an AS Class

2007-03-26 Thread Maximilian Nyman
Anthony, This is kind of a workaround-ish way of doing it, but it works ;) 1. Create a new Flex Project [ASTest] 2. Create a new AS File [ASTest.as] and make it extend mx.core.Application 3. Close your newly created Flex Project 4. Open the FLEX_WORKSPACE/FLEX_PROJECT/.actionScriptProperties in

[flexcoders] Registration point woes

2007-03-26 Thread Daniel Holth
I'm developing my first Flex component, and I'm having some trouble with registration points and images. I'm loading data from flickr, and have a custom class that extends mx:Image. I'm trying to create a rollOver effect that will increase the size of the clip from its CENTER, but right

[flexcoders] mx:ComboBox

2007-03-26 Thread flexjeremy
Hello helpful list, I seem to be confusing myself. I'm using ColdFusion to get the data out of our database. Simple. I got a remote object getting the data. mx:RemoteObject id=remoteService destination=ColdFusion source=Cows3.cows showBusyCursor=true/ Now what I want to do is firstly get the

[flexcoders] Flex Integration with Spring and Spring with Hibernate

2007-03-26 Thread nsiddiquics
Hi, I m connecting flex with spring. I want to connect hibernate with spring and then spring with flex, it is creating problem. When I am connecting flex with spring and spring with JDBC it is giving me right result but problem with hibernate. It is not loading data with hibernate. It gives me

[flexcoders] Datagrid Help

2007-03-26 Thread deepa golamudi
Hai everybody, I am new to flex environment I am using flex 1.5 where i am trying topopulate a datagrid using remote object mechanism invking java object. I am getting the coloumn names using a remote object and records with another.i am sure of getting the DB values into Flex component

[flexcoders] mx:webservice how do i access

2007-03-26 Thread raagzcd
Hi, I have a webservice GetEmployeeDetails here is the SOAP response. so how do i access this using mx:webservice ? here is my sample code: mx:WebService id=WeatherService wsdl=http://localhost:4581/MyWebService/Service.asmx?WSDL; useProxy=false ActionScript:

[flexcoders] Looking for a Wizard custom component

2007-03-26 Thread tedgcisco
Has anyone created a custom component that is a wizard? In other words, has anyone played around with making a Flex component that defines a wizard that, for example, supports conditional flow, has an index displayed in the left side of how many wizard steps there are, the right pane has the

Re: [flexcoders] Hi Hello

2007-03-26 Thread Ajay K
Hi , Please go through them this may help you http://coenraets.org/blog/2007/01/flex-test-drive-server-for-java-developers-tomcat-based/ http://coenraets.org/download/fds-tomcat.zip With Regards Ajay K eshpaleti [EMAIL PROTECTED] wrote:can some body give

[flexcoders] Setting properties on AS-created components

2007-03-26 Thread Brett Walker
hi there, Long time AS developer, new Flex developer. Coming from a pure ActionScript background, I've been really banging my head against the Flex framework. I'm working on a Flex 2 project where I need to dynamically instantiate Flex components using ActionScript, and then lay them out

Re: [flexcoders] dragProxy as image dosen't show image

2007-03-26 Thread Tim Walling
Instead of loading the image for a second time you could just copy the raw bitmap data of the loaded image using something like this: http://www.flex2components.com/f2cblog/2006/05/18/flex2-dnd-bitmap-copy/ I follow this approach when creating drag proxies in order to get a copy of the item

RE: [flexcoders] Registration point woes

2007-03-26 Thread Merrill, Jason
You could adapt this for use: http://www.darronschall.com/weblog/archives/54.cfm Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Group

2007-03-26 Thread Luís Gustavo Sanabio
Is anybody here?

Re: [flexcoders] mx:ComboBox

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, flexjeremy wrote: Now what I want to do is firstly get the data into it. I tried this by doing the following. mx:ComboBox id=ProcessorName dataProvider={remoteService.getProcessors.lastResult} /mx:ComboBox And what happens ? -- Tom Chiverton Helping to carefully

[flexcoders] Handling results from multiple RemoteObject operations

2007-03-26 Thread Ken Dunnington
Hi all, I've been wanting to learn Flex since 1.5 and finally got the chance to really dive in this weekend. I'm putting together an application that gets information from a ColdFusion application and was wondering if I'm handling the results properly. I want to bind the data from one of the

[flexcoders] Senior Flex/Flash Developer

2007-03-26 Thread h8me4everplus1
http://www.krop.com/jobs/b8c2d/ http://www.pierinc.com/ PIER, Inc. Boston, MA, USA Senior Flex/Flash Developer Description It has always been PIER's goal to think differently about what the web is capable of, and to push that agenda through cutting edge design and development. PIER

Re: [flexcoders] Registration point woes

2007-03-26 Thread slangeberg
I've started adapting Schall's code, and am getting close (view source): http://criticalpile.com/lab/DynamicRegistration/DynRegMain.html However, I just noticed that my alignment seems to be off, if you enter arbitrary numbers, rather than using the arrows on the number steppers! Also, I'd like

Re: [flexcoders] Error 2025 with images

2007-03-26 Thread Daniel Freiman
I had problems in a project with img tags not refreshing properly. What I had to do was set text or htmlText to and then call validateNow() on the textArea (actually you want to call it on the UITextField within the textArea but I think this will be done by the textArea) and then set the

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread slangeberg
You don't experience this with IE? This has followed me no matter where I've worked, what server I'm dealing with! What am I doing wrong here (other than using IE)? -Scott On 26 Mar 2007 01:59:50 -0700, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 23 Mar 2007, slangeberg wrote: Hmm, i've

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, slangeberg wrote: You don't experience this with IE? Nope. AFAIK we've got all the default settings in Apache set. -- Tom Chiverton Helping to challengingly architect low-risk action-items on: http://thefalken.livejournal.com

[flexcoders] Contact

2007-03-26 Thread h8me4everplus1
[EMAIL PROTECTED]

[flexcoders] Re: Caching problem

2007-03-26 Thread Paul DeCoursey
I used to have this issue, but I found it went away after I reset IE to check every time far a new file. It also made a big difference to make sure that the server was sending the correct caching headers. Check the HEAD on a request to determine if it is sending the correct expires header. I only

Re: [flexcoders] dragProxy as image dosen't show image

2007-03-26 Thread Paolo Bernardini
Thank you Tim, you solve my problem. On 26 Mar 2007 06:18:13 -0700, Tim Walling [EMAIL PROTECTED] wrote: Instead of loading the image for a second time you could just copy the raw bitmap data of the loaded image using something like this:

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread slangeberg
went away after I reset IE to check every time far a new file Ah yes, that's right. I used to do that, but it doesn't gaurantee that my users have the same settings. Hence, my dilemma! Thanks, -Scott On 26 Mar 2007 07:15:48 -0700, Paul DeCoursey [EMAIL PROTECTED] wrote: I used to have

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, Paul DeCoursey wrote: environments should be able to run without problems if there are browsers caching things. *boggle* How would that work ? If a service changes it's interface, how is the old client meant to consume the new format ? -- Tom Chiverton Helping to

[flexcoders] Re: Caching problem

2007-03-26 Thread michael.ritchie
We solved the problem by tacking a random number on the SWF name in the embed page (myswf.swf?38787383), this way the browser thinks the file has changed and it needs to refresh it. In this manner, the SWF will not be sticky. This option is also good for your end users as they may not have IE

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Paul J DeCoursey
Tom Chiverton wrote: On Monday 26 Mar 2007, Paul DeCoursey wrote: environments should be able to run without problems if there are browsers caching things. *boggle* How would that work ? If a service changes it's interface, how is the old client meant to consume the new format ?

[flexcoders] filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread scott_flex
I have a shared arraycollection of value objects. Singeton, only one instance of this array collection. Dfferent views (in a tab navigator) are generated using this shared array collection but each view filters the data in a datagrid list with different criteria. So.. in each view i

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, Paul J DeCoursey wrote: Several ways. 1) Fail gracefully Well, yes, I'd expect everyones apps already does. But you don't want all your users kicked out with 'remote server error' - that's no better than the alternative. ... This is not a difficult problem, there are

[flexcoders] assigning a class at runtime

2007-03-26 Thread Matt Wicks
IHi all, I am sure there was a thread about this the other day but can't seem to find it .. how can I dynamically assign a class at runtime?? eg var className:String = test' var newObject:Test= new Test() when test can be one of a hundred or so options? tks as always matt

Re: [flexcoders] assigning a class at runtime

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, Matt Wicks wrote: var className:String = test' var newObject:Test= new Test() newObject=flash.utils.getDefinitionByName(className); Note it needs a fully qualified classname, as got from flash.utils.getQualifiedClassName(someObject).replace('::','.') -- Tom Chiverton

Re: [flexcoders] assigning a class at runtime

2007-03-26 Thread Matt Wicks
excellent thanks Matt On 26 Mar 2007, at 16:20, Tom Chiverton wrote: On Monday 26 Mar 2007, Matt Wicks wrote: var className:String = test' var newObject:Test= new Test() newObject=flash.utils.getDefinitionByName(className); Note it needs a fully qualified classname, as got from

[flexcoders] weird ArrayCollection issue

2007-03-26 Thread Clint Tredway
I have to arrayCollections that I am assigning the same data to. I am adding an item to one of the collections but that item is getting set to both collections, wth?? code is here: newTestGroup = event.result as ArrayCollection; groups = event.result as ArrayCollection;

Re: [flexcoders] assigning a class at runtime

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, Matt Wicks wrote: excellent thanks No problem. Anyone know why the double colon is there, as it has to be replaced to make it work ? -- Tom Chiverton Helping to vitalistically streamline dot-com channels on: http://thefalken.livejournal.com

[flexcoders] Effects not playing when the trigger is defined on the component definition

2007-03-26 Thread João
Hello, By some reason, the following effect does not play: ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; rollOverEffect=myEffect mx:Button label=Test/ mx:Move id=myEffect xBy=200/ /mx:Canvas But, if i change the code to: ?xml version=1.0

Re: [flexcoders] Effects not playing when the trigger is defined on the component definition

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, João wrote: rollOverEffect=myEffect Do you mean rollOverEffect={ myEffect } ? Assuming you have such an effect in the component you didn't include in the code snippit you posted. -- Tom Chiverton Helping to vitalistically conquer collaborative systems on:

[flexcoders] Re: mx:ComboBox

2007-03-26 Thread Maury Sword
Jeremy, You will need to specify a labelField or labelFunction in order for the ComboBox to know what you want to display. Maury --- In flexcoders@yahoogroups.com, flexjeremy [EMAIL PROTECTED] wrote: Hello helpful list, I seem to be confusing myself. I'm using ColdFusion to get the

[flexcoders] Re: Effects not playing when the trigger is defined on the component definition

2007-03-26 Thread João
Doooh... thanks. Stupid distraction... :)

[flexcoders] Capturing an event in a separate component

2007-03-26 Thread Marlon Moyer
Given this scenario: Parent Componet Child1 Child2 (child of Child1) Child3 (child of Child3) and Child3 dispatches an event, how can I make the parent see that event without having to pass it up between each child? I've made the event bubble, but I can't seem to make the parent see

RE: [flexcoders] Can Ely's Flexbook open by default on a given page?

2007-03-26 Thread Ely Greenfield
Set currentPageIndex instead. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Sent: Thursday, March 22, 2007 7:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can Ely's Flexbook open by default on a given page?

[flexcoders] Can I get the icon in cornflower blue?

2007-03-26 Thread Carson Hager
Of course you can. If that got your attention because you love that scene as much as I do then chances are you'll probably want to keep reading. You're curiosity is piqued. That's a good sign. So why an obscure Fight Club reference in the middle of a slew of boring job ads? Bluntly

RE: [flexcoders] Datagrid Help

2007-03-26 Thread Tracy Spratt
Here is an example (2.0) that dynamically builds a datagrid. It uses logic based on the structure of the xml dataProvider, but could just as easily use metadata from a data call. http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectI D=552 Tracy

RE: [flexcoders] Re: Component Required

2007-03-26 Thread Tracy Spratt
There is a link to a ticker component in an earlier posting today. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kumar Sent: Monday, March 26, 2007 7:02 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Component

[flexcoders] URLRequest.requestHeaders

2007-03-26 Thread Paul DeCoursey
Has anyone used this? I am having a lot of trouble getting requests to actually send those headers to the server. I'm curious if anyone else has had experience with them. My problem is I cannot authenticate to our remote servers. Some of the servers use Basic Authentication and some use SOAP

[flexcoders] Amazing video application?? What was it - from expert room at apollocamp

2007-03-26 Thread Patrick Lemiuex
Guys and Girls: I don't know if anybody peeped a video application done in flex that leverages HD Video through quicktime or windows media player. Unfortunately, the guy was in the cue for a while waiting to ask some questions from Ted Patrick and I missed the name of the application but

RE: [flexcoders] Trimming a request sent using mx:httpservice /

2007-03-26 Thread Tracy Spratt
I have seen this happen when some editor puts some invisible characters at the beginning of the file. Inspect the xml string a char at a time to see if this is what is happening. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Re: How to asynchronously dispatch an event

2007-03-26 Thread Tracy Spratt
Unless I am missing something... Actually, in the lines: model.addEventListener(eventType, eventListener); var result:MyAsyncToken = model.doAction(...); result.myData = The assignment to result.myData happens before the data service call is invoked, and this will work fine. I believe

[flexcoders] Default ColumnSeries type in CartesianChart

2007-03-26 Thread Justin Makeig
When I add multiple ColumnSeries to a ColumnChart they default to displaying as clustered. However, when I change ColumnChart to the more general CartesianChart, my ColumnSeries are stacked. I'm trying to create a generic charting component based around CartesianChart. How do I tell a column

RE: [flexcoders] Randomizing Array (from actionscript cookbook3 and other places)

2007-03-26 Thread Alex Harui
This compiles and runs for me. private function init():void { function randomSort(a, b) { return Math.random().5 ? -1 : 1; } var numbers:Array = new Array(); for (var n:int=0;n10;n++){ numbers[n] = n;

[flexcoders] Lattice, grid or graph-paper background for container

2007-03-26 Thread Tracy Spratt
I was sure I saw a posting on how to do this a few weeks ago right here, but I can't find it now. Basically I need a fixed square grid as a background for a container. I suppose I could use one of the background tile components for this. Would that be a reaonable solution? Tracy

[flexcoders] Two-Way Binding Solutions?

2007-03-26 Thread Kevin
I have trying to figure out how best to accomplish the two-way data binding needed for form entry. Here is what I thought would work, but it doesn't seem to: ON MODEL: I created two variables that hold my VO. model.pendingContact model.newContact The user clicks a button to get ContactVO

RE: [flexcoders] Default ColumnSeries type in CartesianChart

2007-03-26 Thread Ely Greenfield
Put them in a ColumnSet (this is what ColumnChart does implicitly for you): CartesianChart series ColumnSet type=clustered ColumnSeries / ColumnSeries / ColumnSeries / ColumnSeries / / / / Ely. From:

Re: [flexcoders] Re: Posting XML with httpservice

2007-03-26 Thread Thomas Newcomen
That does work (thanks), except for the fact that when I convert my string to XML, it seems to remove my ? xml ... declaration... it has to be passed to the server.. as well. any ideas on that? Crit On 25 Mar 2007 12:15:46 -0700, nathanpdaniel [EMAIL PROTECTED] wrote: When you call the

RE: [flexcoders] Capturing an event in a separate component

2007-03-26 Thread Alex Harui
Make sure you set the bubbles=true when you construct the Event object. The parent should be able to listen to itself and still see it. parent.as class ParentComponent { public function ParentComponent() { addEventListener(bubbler, bubblerEventHandler); } } child3.as

RE: [flexcoders] weird ArrayCollection issue

2007-03-26 Thread Alex Harui
event.result might be object instance #123923879 You've assigned it to both newTestGroup and groups so your sharing. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Tredway Sent: Monday, March 26, 2007 8:40 AM To:

[flexcoders] Flex Builder Internal Build error (documeted)

2007-03-26 Thread Rod Perkins
I encountered a problem with FlexBuilder 2.0.1 that stymied me for a few days. The compiler was reporting An internal build error has occurred. Please check the Error Log. The error was not attached to any specific line number within my code. This was after several changes to my program

RE: [flexcoders] How to create and apply an easing funtion to a chart using ActionScript

2007-03-26 Thread Ely Greenfield
chart.series[0].setStyle(showDataEffect,seriesEffect); Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Sunday, March 25, 2007 10:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to create

RE: [flexcoders] Lattice, grid or graph-paper background for container

2007-03-26 Thread Alex Harui
I'd just do moveTo/LineTo From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Monday, March 26, 2007 12:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Lattice, grid or graph-paper background for container I

RE: [flexcoders] assigning a class at runtime

2007-03-26 Thread Alex Harui
Hmm, didn't think the :: thing was required anymore. It is there because packages are essentially implemented as namespaces. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, March 26, 2007 8:44 AM To:

RE: [flexcoders] filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread Alex Harui
create another arraycollection and assign its source to the other arraycollection's source From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scott_flex Sent: Monday, March 26, 2007 8:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] URLRequest.requestHeaders

2007-03-26 Thread Matt Chotin
There are restrictions on what headers can be set. Check the docs here to make sure you're OK: http://livedocs.adobe.com/flex/201/langref/flash/net/URLRequestHeader.ht ml From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul DeCoursey

RE: [flexcoders] Re: Posting XML with httpservice

2007-03-26 Thread Peter Farland
See http://livedocs.adobe.com/flex/2/langref/XML.html#ignoreProcessingInstru ctions From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Newcomen Sent: Monday, March 26, 2007 12:43 PM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Setting properties on AS-created components

2007-03-26 Thread Alex Harui
We can always use more documentation. Books are coming out left and right these days which may also help. You're right, the width/height isn't set until the updateDisplayList pass. We use a invalidate/validate model for performance reasons. Another thing is that we use a top-down layout

Re: [flexcoders] weird ArrayCollection issue

2007-03-26 Thread Clint Tredway
I figured that out :) I am working around this now. On 26 Mar 2007 11:27:01 -0700, Alex Harui [EMAIL PROTECTED] wrote: event.result might be object instance #123923879 You've assigned it to both newTestGroup and groups so your sharing. -- *From:*

[flexcoders] Re: Data Binding Issue

2007-03-26 Thread madhukiranm
Hi, My Requirement is the developer can either pass a list of selected items or not. If he does, then I need to select the check boxes after it's creation. That's the reason I have the code: selected={ selectedItems.contains(chkRepeater.currentItem) } which will select the checkboxes if

[flexcoders] Re: URLRequest.requestHeaders

2007-03-26 Thread Paul DeCoursey
I am finding that sometimes it works and sometimes it does not. From what I can tell is if I have done a FileReference.upload request recently in the app it does not send the headers. I'm not sure if it is recycling the request or what, I'm not recycling it myself anyway. I'm assuming that the

Re: [flexcoders] Two-Way Binding Solutions?

2007-03-26 Thread Kevin
i think my problem boils down to one of object cloning. Does anyone have a good solution for deep cloning objects in AS3? Seems like this would be a pretty useful utility. - Kevin On Mar 26, 2007, at 1:50 PM, Kevin wrote: I have trying to figure out how best to accomplish the two-way

RE: [flexcoders] filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread Paul Williams
Take a look at the ListCollectionView class - you can pass your 'master' ArrayCollection into its constructor (because ArrayCollection implements IList). You can then set filter options on your ListCollectionView without affecting the 'master'. So you'd probably want to create a ListCollectionView

[flexcoders] Re: URLRequest.requestHeaders

2007-03-26 Thread Paul DeCoursey
Alright, ignore that, I was recycling the request object. So here is the big issue. I can make a call to this server and set some headers that will get my session setup. Then I reuse the same request with the upload but I no longer have any session info. What is going on with these upload

[flexcoders] Re: How to asynchronously dispatch an event

2007-03-26 Thread pgp.coppens
The assignment to result.myData happens before the data service call is invoked, and this will work fine. I believe that call does not happen until the next frame. Yes, exactly. Now the point is (or was really) that I wanted to implement the same api interaction when model.doAction is not

[flexcoders] Re: URLRequest.requestHeaders

2007-03-26 Thread pgp.coppens
--- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL PROTECTED] wrote: Alright, ignore that, I was recycling the request object. So here is the big issue. I can make a call to this server and set some headers that will get my session setup. Then I reuse the same request with the upload

[flexcoders] Re: Two-Way Binding Solutions?

2007-03-26 Thread Shaun
can you not just create a new ContactVO with your form control values when the user goes to save their changes, and, depending on the result from the server, either set your form controls back to the model (you'll have to assign them manually as binding won't fire if the values don't change)

[flexcoders] ListCollectionView bug?

2007-03-26 Thread tvikatos
According to documentation in relation to addItemAt method, If the list is shorter than the specified index, it will grow to accomodate the new item. I've found that not to be the case. If you attempth to add an item at an index larger that the collection length, Flex will throw an exception. Is

[flexcoders] Re: Whatever happened to Peter Ent's scrolling text ticker?

2007-03-26 Thread simonjpalmer
Thanks! Simple when you see it, but I didn't know about the magic doLater() function... sometimes the simplest things are the best. As a matter of interest has anyone used this approach for handling lazy loading of data? --- In flexcoders@yahoogroups.com, Steve Hagenlock [EMAIL PROTECTED]

[flexcoders] Re: Two-Way Binding Solutions?

2007-03-26 Thread simonjpalmer
You are right, it is because your model.pendingContact and model.newContact are object references and not object instances. When you do the assignment you are just pointing them to the same object in memory - 2 references, 1 object. In your second case you create a second object, 2 objects, 2

[flexcoders] Custom Component Width when 100%?

2007-03-26 Thread Nate Pearson
I created a custom component that works great when the width is specified. However, when I try to set the width to a percent (of the parent) it returns 0. How to I reference the parent's width? I tried getExplicitOrMeasuredWidth but it didn't work. Thanks in advance for the help.

[flexcoders] Loading Modules

2007-03-26 Thread Mike Collins
I have looked for several days on how to create and load module in Flex Builder 2 and while there are tons of partial examples I have yet to find a good complete example. I am trying to find somthing that shows: 1. How to create a project that can use modules 2. How to create one or more

[flexcoders] Re: filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread scott_flex
Thanks! Works great. As usual it was something very simple, i'm sure i'll make use of the ListCollectionView class a lot more. I didn't try the other suggestion by assing a new array collection the source from the copied but i'm guessing they are similar in nature. --scott --- In

[flexcoders] Re: Loading Modules

2007-03-26 Thread tvikatos
No sure if it covers everything you need but have alook at my post: http://blog.startup.gr/blog/Technology/Flex/_archives/2007/1/19/2664880.html leave a comment if you have any specific question. Harry

RE: [flexcoders] Custom Component Width when 100%?

2007-03-26 Thread Alex Harui
It depends on when you ask. Components have a multi-stage validation mechanism. Their properties get set in stage1, measured in stage2, layed out in stage 3. Until measurement, they are zero width/height From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Global access in AS3

2007-03-26 Thread André Rodrigues Pena
Hi all, My problem is: I need some data classes to be global so that I can access them without to have to establish unnecessary references. I tried to create a Singleton class the way we're used to do in Java, and I got 2 problems: 1) It's not possible to define a private constructor 2) The

[flexcoders] Re: Loading Modules

2007-03-26 Thread One Person
This site seems to be pretty good: http://www.brucephillips.name/blog/index.cfm/2007/1/8/Example-Of- Using-Modules-In-Flex-201 But I am still missing something. It seems that my modules are loaded even if I don't explisitly load them. Here is my test app: ?xml version=1.0 encoding=utf-8?

  1   2   >