Re: [flexcoders] Re: Can no longer quit my AIR app

2008-07-02 Thread Simon Bailey
I hate to state a potential obvious one here but have you got Num Lock on, this I remember prevents using short cut keys? Cheers, Simon On 2 Jul 2008, at 15:04, valdhor wrote: Maybe you can add an event listener to the stage and look at keystrokes. If someone presses Apple-Q, dispatch a

Re: [flexcoders] split mxml files

2008-07-03 Thread Simon Bailey
Create 10 new mxml components, create a new name space in your Application Tag as below and then instantiate them as new components: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:view=components.* layout=absolute

Re: [flexcoders] XML to Array Collection

2008-07-03 Thread Simon Bailey
Here is a simple example ripped from an old app which should help: ?xml version=1.0 encoding=ISO-8859-1? media content type=video titleKrome/title url/url descriptionDr Krome on the scratch using 2 turntables from the boogie down bristol.../description

Re: [flexcoders] Re: Problems with SWFLoader

2008-07-03 Thread Simon Bailey
From what I recall another point is that if your gonna dispatch an event from any frame other than the first, the Event type when declared i.e. var lastF:String; needs to be declared on the first frame! I may stand to be corrected here? Cheers, Simon newtriks.com On 3 Jul 2008, at

Re: [flexcoders] Extending RemoteObject

2008-07-04 Thread Simon Bailey
Just in case your doing something already done here http://www.nutrixinteractive.com/blog/?p=124 On 4 Jul 2008, at 17:20, mbhoisie wrote: I'd like to have a custom remoteobject for specific error handling and logging. However, if I try to extend remoteobject: public dynamic class

Re: [flexcoders] tutorial video controls

2008-07-07 Thread Simon Bailey
I am unawar of the tutorial but if its a standard player using NetConnection and NetStream: Either use ns.pause() or ns.togglePause() with ns being your instance of NetStream. Cheers Simon newtriks.com On 7 Jul 2008, at 05:33, [EMAIL PROTECTED] wrote: In the tutorials that is on the

Re: [flexcoders] Binding for Dynamic Datagrid

2008-07-07 Thread Simon Bailey
myDG.dataProvider={ myData } On 7 Jul 2008, at 16:26, limhy0306 wrote: Hi, I've created a custom Dynamic Datagrid component. I would like to ask, how can I bind data to this DG? My codes: // Data to the datagrid. This data is dynamically changing. [Bindable] public var

Re: [flexcoders] Re: Undefined Method Error

2008-07-08 Thread Simon Bailey
This should help http://www.nutrixinteractive.com/blog/?p=56 On 8 Jul 2008, at 14:16, Claudiu Ursica wrote: Have you tried to access it via outerDocument.methodName, you'l find some example if you google for this It means that you use outerDocument to to target the method outside your

Re: [flexcoders] Re: ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Simon Bailey
Just as a precaution here, this owner parent stuff shouldn't be necessary, you should be picking up the event flow, just to check have you (a) set bubbles to true and (b) ensured if your using an mxml component you've assigned the appropriate metadata tag for your custom event in the

[flexcoders] PopUpButton and States Problem

2008-07-10 Thread Simon Bailey
Hi all, Just a behavior that is perplexing and maybe someone could shed a light to the true core of the matter. I have a PopUpButton which on itemClick changes to a different state, the following is thrown: Error #1009: Cannot access a property or method of a null object reference I

Re: [flexcoders] Fast String concatenation

2008-07-11 Thread Simon Bailey
Try the much faster appendText() method :) Cheers, Simon On 11 Jul 2008, at 13:53, polestar11 wrote: Hi there I wanted to check if there are any tricks one can do to improve the speed on concatenating strings. I know in Java there is a StringBuilder class which is faster than the '+'

Re: [flexcoders] Re: Fast String concatenation

2008-07-11 Thread Simon Bailey
= var app:String = append; var time:int = getTimer(); while(++i 100) { s.concat(A); } val2 = getTimer() - time; callLater(showResult); } --- In flexcoders@yahoogroups.com, Simon Bailey [EMAIL PROTECTED] wrote: Try the much faster appendText() method :) Cheers, Simon On 11 Jul

Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Simon Bailey
In a similar scenario for setting dynamic url strings I simply pass them in via FlashVars or an external XML file. On app startup, send for the XML URL or reach in and grab the FlashVars and then pass it to the relevant class for assigning as the RO source. Simon On 14 Jul 2008, at

Re: [flexcoders] Add ActionScript created items to flex

2008-07-15 Thread Simon Bailey
How about: var txt: UITextField = new UITextField(); Cheers, Simon On 15 Jul 2008, at 19:15, Maciek Sakrejda wrote: What am I doing wrong??? Well, for one thing, you are not including the error you get. But I think I can be more helpful anyway. Even though Container.addChild() (inherited

[flexcoders] Simple Flex ColdFusion connection test app

2008-07-16 Thread Simon Bailey
I noticed a few people out there trying to build a simple connection application to test if Flex and ColdFusion were talking using RemoteObject. So I decided to build a simple app that people could be re-used either remote or locally. This should help with the whole 'whats is the source string'

[flexcoders] Module Garbage Collecting

2008-08-01 Thread Simon Bailey
Hi, I am using the ModuleManager and IModuleInterface for loading and unloading Modules in Flex. My question is regarding effective garbage collecting on unloading a loaded module. I am following the norm in regards to removing listeners and as many references to the loaded module as I

Re: [flexcoders] Module Garbage Collecting

2008-08-01 Thread Simon Bailey
://gskinner.com/blog/archives/2008/07/unloadandstop_i.html Rick Winscot On 8/1/08 10:34 AM, Simon Bailey [EMAIL PROTECTED] wrote: Hi, I am using the ModuleManager and IModuleInterface for loading and unloading Modules in Flex. My question is regarding effective garbage collecting on unloading a loaded

Re: [flexcoders] Module Garbage Collecting

2008-08-04 Thread Simon Bailey
Yes I agree Alex, I look forward to seeing how this is tackled in Flash Player 10 also. Regarding my issue using Flash Player 9 I actually have made good progress and achieved an acceptable result for an effective gc. I have blogged about it in the link below and also provided a demo app

[flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
Hi, I have an app making a simple flash remoting call to CF and it works fine of multiple servers, runs in the local environment and returns a query from ColdFusion as expected. Problem is as soon as my client deploys on their company network the remoting call fails, no error message

Re: [flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
. If you are not the intended recipient please contact [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bailey Sent: 06 August 2008 10:53 To: flexcoders@yahoogroups.com Subject: [flexcoders] Remoting fails Hi, I have an app making a simple flash

Re: [flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
I take that back I do not think they are leaving the browser, gonna try Charles... On 6 Aug 2008, at 11:10, Simon Bailey wrote: Nice one Gregor I will give it a go. I think the calls are leaving the swf just having trouble returning into the browser/swf! On 6 Aug 2008, at 11:08, Gregor

Re: [flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
can you define these params within the remoting call and why would it be necessary from the hosted swf server? On 6 Aug 2008, at 11:21, Simon Bailey wrote: I take that back I do not think they are leaving the browser, gonna try Charles

Re: [flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
PROTECTED] On Behalf Of Simon Bailey Sent: Wednesday, August 06, 2008 5:11 AM To: flexcoders@yahoogroups.com Subject: {Disarmed} Re: [flexcoders] Remoting fails Nice one Gregor I will give it a go. I think the calls are leaving the swf just having trouble returning into the browser/swf

Re: [flexcoders] New to Adobe AIR - SQLite

2008-08-07 Thread Simon Bailey
Hi, I built a simple AIR app that ultilises a SQLite db for a magazine who host the tutorial files online. Have a dig around this app should do all you need i.e. add, update and delete: http://www.webdesignermag.co.uk/images/wd_features/tutorials/issue145/Flash_ContactManager_Part1.zip

Re: [flexcoders] Remoting fails

2008-08-07 Thread Simon Bailey
PROTECTED] ups.com ] On Behalf Of Simon Bailey Sent: Wednesday, August 06, 2008 10:37 AM To: [EMAIL PROTECTED] ups.com Subject: {Disarmed} Re: [flexcoders] Remoting fails Hi Scott and thanks for the replies, I can hit it fine from a few different servers cross domains ( BTW this is using the old

Re: [flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread Simon Bailey
Hi, I am unsure 100% if your doing what I think your doing, but you mention loading the video into the database and DataGrid. I wouldn't do that! Simply store the path to the flv's in the database. So the DataGrid is populated with the url's to your flv's i.e. ../path/flvs/

Re: [flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread Simon Bailey
Are you sure a string is being passed as a value? I would create a variable such as: [Bindable] public var selected_clip:String; and assign the selected item to this variable casting it as a String. HTH Simon On 10 Aug 2008, at 11:13, stinasius wrote: thats exactly what i meant and what am

Re: [flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread Simon Bailey
Something like: [Bindable] public var selectedClip:String; private function loadClip():void { var url:String = http://localhost:8500/iestate/images/ video/+selectedClip; trace(url); } mx:Binding source=aDataGrid.selectedItem as String destination=selectedClip/ mx:DataGrid

Re: [flexcoders] Upload file component

2008-08-11 Thread Simon Bailey
I built one for the PureMVC WIKI here: http://trac.puremvc.org/Demo_AS3_Flex_CF_FileUpload Cheers, Simon On 11 Aug 2008, at 16:48, Joshua Jackson wrote: Dear all, How do I upload file with Flex? Is there any file uploader component? I could not find any in the documentation, perhaps I have

Re: [flexcoders] Upload file component

2008-08-11 Thread Simon Bailey
I built one for the PureMVC WIKI here: http://trac.puremvc.org/Demo_AS3_Flex_CF_FileUpload Cheers, Simon On 11 Aug 2008, at 16:48, Joshua Jackson wrote: Dear all, How do I upload file with Flex? Is there any file uploader component? I could not find any in the documentation, perhaps I have

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Simon Bailey
How about defining and array with all the method names and every time a method is returned it removes its method name from the array. The method to remove each item from the array would check the array length each times its called and when the array.length == 0 then call your method x?

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Simon Bailey
).then( Application.application.spinner, end).go(); Like I said, it's rough don't bother telling me the myriad ways it can be better, I know :) -Josh On Tue, Aug 12, 2008 at 9:46 PM, Simon Bailey [EMAIL PROTECTED]wrote: How about defining and array with all the method names and every time a method

Re: [flexcoders] Actionscript based Modules

2008-08-18 Thread Simon Bailey
Right click the Project Properties Flex Modules Add... add the AS module :-) Cheers, Simon On 18 Aug 2008, at 11:36, sudha_bsb wrote: Hi, I was going through Livedocs about Modules in Flex and I have a few questions. I created an ActionScript project with a few modules, compiled them

Re: [flexcoders] Modules vs MVC

2008-08-25 Thread Simon Bailey
I have done quite a bit of work with Modules and an MVC stylee framework named PureMVC. I have just posted a new example of a module loading application within this framework using ModuleBase as opposed to mxml Modules which may be of some interest:

Re: [flexcoders] Module unloading

2008-08-27 Thread Simon Bailey
This all stems down to Flash Player 9's garbage collection routine. Its a known issue and is apparently resolved in Flash Player 10. I also had similar results and actually managed to make significant progress as I have detailed here: http://www.nutrixinteractive.com/blog/?p=132 Have a

Re: [flexcoders] Changing video sources in the middle of the... er.. stream

2008-09-02 Thread Simon Bailey
At a very quick glance, have you tried: videoObj.clear(); before assigning and attaching you NetStream to the video Object? Cheers, Simon newtriks.com On 2 Sep 2008, at 21:43, stephendricketts wrote: I have a FB3 application that streams live video to a number of users and periodically

Re: [flexcoders] Re: Changing video sources in the middle of the... er.. stream

2008-09-02 Thread Simon Bailey
mx.core.mx_internal; In the program I wrote... pubVideo.mx_internal::videoPlayer.clear(); pubVideo.attachCamera(cam); But that didn't have any effect on the VideoDisplay display. Don't know if I did that right but nothing yelled at me. ;-) sr --- In flexcoders@yahoogroups.com, Simon Bailey [EMAIL PROTECTED

Re: [flexcoders] Re: Deploy Flex Application

2008-09-03 Thread Simon Bailey
If its ColdFusion your connecting to it can be a random pain sometimes getting the url correct. I have developed a mini HelloWorld application to keep hitting your server till you get the right string which may be of some assistance for you: http://www.nutrixinteractive.com/blog/?p=129

Re: [flexcoders] FileReference.upload() on FireFox not firing uploadCompleteData event

2008-09-04 Thread Simon Bailey
Hi Jeff, I have no solution and have had exactly the same problem myself, when you get a solution please feedback, its been a grade 'a' pain for me! Cheers, Simon On 4 Sep 2008, at 11:12, Battershall, Jeff wrote: In researching this I see all the trouble with the FileReference.upload() in

Re: [flexcoders] FileReference.upload() on FireFox not firing uploadCompleteData event

2008-09-04 Thread Simon Bailey
and retrieving it when and if the onComplete event fires. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bailey Sent: Thursday, September 04, 2008 6:38 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders

Re: [flexcoders] Modularising a flex app

2008-09-15 Thread Simon Bailey
Hi Guy, I have been building modular based Flex applications for a while and if the situation suits I really recommend modularisation. For constructing modular apps I use the PureMVC Multicore framework: http://trac.puremvc.org/PureMVC_AS3_MultiCore One you have your head round how to

Re: [flexcoders] Trying to Embrace MVC

2008-10-08 Thread Simon Bailey
Hi, I tend to use the PureMVC framework and would typically architecture like this: View = the UI interface i.e. form, grid, lsit etc. (in PureMVC a Mediator handles responses from the UI and pushes to the rest of the framework) Controller = handles these responses and passes to the

Re: [flexcoders] Using PureMVC on a larger scale application

2008-10-09 Thread Simon Bailey
PureMVC - MultiCore is your answer :) http://www.nutrixinteractive.com/blog/?p=136 http://trac.puremvc.org/PureMVC_AS3_MultiCore Simon On 9 Oct 2008, at 02:26, Kyle wrote: I have been playing aroung with PureMVC a bit lately and the part that I still get a bit confused on is how to use the

[flexcoders] Flex Module issue with Panel

2008-10-25 Thread Simon Bailey
Hi, I have an application which loads modules no problem, I have all sorts of components inside the actual modules and all works a dream. I am using ModuleManager.getModule( url ) and onLoad using the module factory method to create a ModuleBase. One area I have done things different

Re: [flexcoders] Flex Module issue with Panel

2008-10-26 Thread Simon Bailey
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Bailey Sent: Saturday, October 25, 2008 2:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Module issue with Panel Hi, I have an application which loads modules no problem, I have all sorts of components inside the actual modules

Re: [flexcoders] Flex Module issue with Panel

2008-10-26 Thread Simon Bailey
technique, but it appears that the Panel’s style defaults are not registered with the StyleManager. titleBarBackground is created in createChildren() so you can debug there. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bailey Sent: Saturday, October 25

[flexcoders] DataGrid itemRenderer Woes

2008-11-22 Thread Simon Bailey
Hi, I have seen through google that this has been an issue but implementing various solutions still leaves my existing problem. Essentially I have a DataGrid with a custom itemRenderer displaying CheckBoxes. Within the renderer I am running a comparison on a value within the renderers data

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
DataGrid and implement this.? Cheers, Si On 23 Nov 2008, at 04:48, Alex Harui wrote: Read the item renderers section on my blog (blogs.adobe.com/ aharui). Start with the oldest posting. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bailey Sent

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
Main Thread (Suspended: TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls.dataGridClasses::DataGridItemRenderer to mx.controls.CheckBox.) This is the main gremlin! On 23 Nov 2008, at 17:24, Simon Bailey wrote: Thanks Alex, Ok so I see where you @ in regards

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
Nov 2008, at 04:48, Alex Harui wrote: Read the item renderers section on my blog (blogs.adobe.com/ aharui). Start with the oldest posting. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bailey Sent: Saturday, November 22, 2008 2:37 PM To: flexcoders

Re: [flexcoders] Re: DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
Max buddy I am bleedin glad it ain't just me here I tell ya. I will give it a go! Cheers ;) On 23 Nov 2008, at 02:44, max.nachlinger wrote: That's quite a nasty bug. I created a checkbox renderer, traced traced listData.rowIndex, listData.columnIndex, and uid within overrides of set

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Simon Bailey Sent: Saturday, November 22, 2008 2:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid itemRenderer Woes Hi, I have seen through google that this has been an issue but implementing various solutions still l

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-24 Thread Simon Bailey
in the DG and see what it thinks is going on. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bailey Sent: Sunday, November 23, 2008 11:44 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGrid itemRenderer Woes Just a checkbox inside

Re: [flexcoders] Re: DataGrid itemRenderer Woes

2008-11-26 Thread Simon Bailey
/;my solution/a, I hope it helps. --Max --- In flexcoders@yahoogroups.com, Simon Bailey [EMAIL PROTECTED] wrote: Fair enough, thanks for the feedback :) On 24 Nov 2008, at 15:49, Alex Harui wrote: The code you posted just sets visible=true/false which would likely set the entire

Re: [flexcoders] Re: DataGrid itemRenderer Woes

2008-12-05 Thread Simon Bailey
/~max.nachlinger/dgCheckboxScroll/;my solution/a, I hope it helps. --Max --- In flexcoders@yahoogroups.com, Simon Bailey [EMAIL PROTECTED] wrote: Fair enough, thanks for the feedback :) On 24 Nov 2008, at 15:49, Alex Harui wrote: The code you posted just sets visible=true/false which would likely

[flexcoders] Multi-dimensional arrays in a DataGrid

2008-12-14 Thread Simon Bailey
Hi, Str8 forward question here, is a multi-dimensional array gonna work in a datagrid and if so any suggestions how without using OLAPDataGrid? var masterTaskList:Array = new Array(); masterTaskList[0] = [wash dishes, take out trash]; masterTaskList[1] = [wash dishes, pay bills];

Re: [flexcoders] Re: Multi-dimensional arrays in a DataGrid

2008-12-15 Thread Simon Bailey
--- In flexcoders@yahoogroups.com, Simon Bailey si...@... wrote: Hi, Str8 forward question here, is a multi-dimensional array gonna work in a datagrid and if so any suggestions how without using OLAPDataGrid? var masterTaskList:Array = new Array(); masterTaskList[0] = [wash dishes, take out trash

Re: [flexcoders] Re: Multi-dimensional arrays in a DataGrid

2008-12-15 Thread Simon Bailey
; with the time-slots all shown in a certain column (labelFunction or custom itemRenderer). Or, do you want to show a new row for each time-slot as well (AdvancedDataGrid)? -TH --- In flexcoders@yahoogroups.com, Simon Bailey si...@... wrote: Hi Tim, In a nut shell I have rows of prices and timeslots

Re: [flexcoders] Recommendation: Presenting Video on the web

2008-12-19 Thread Simon Bailey
Further more, if you didn't use the standard playback components i.e. just created the video Object (Video) and embedded in a Sprite using your own NetConnection and NetStream routine the differences would be minimal (due to both simply using ActionScript). From what I can recall there

[flexcoders] DataGrid and CheckBoxes

2008-12-20 Thread Simon Bailey
Hi, Ok DataGrids have been the bane of my life recently due to various reasons and I have made some significant headway with various issues I have had. My last (fingers crossed) problematic area I have decided to throw out there as enough is enough :)

Re: [flexcoders] DataGrid and CheckBoxes

2008-12-21 Thread Simon Bailey
this. The renderer should be completely driven from the data property. If you change the data property make sure the data is bindable or managed or else, call itemUpdated so notifications get sent. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Simon

Re: [flexcoders] DataGrid and CheckBoxes

2008-12-21 Thread Simon Bailey
, at 13:19, Simon Bailey wrote: Alex could you please if possible give an example of how you would manage the selected check box and deselection of the other items within the renderer? On 21 Dec 2008, at 05:35, Alex Harui wrote: Manipulating renderers from outside the renderer is usually

[flexcoders] 2 Datagrid issue

2008-12-29 Thread Simon Bailey
Hi, I have 2 DataGrids working with a custom renderer and all that jazz but 2 seperate ArrayCollections as data provider. On select of an item in one grid I set the data['selected'] property accordingly and call an itemUpdated in the ArrayCollection. Can anyone think why a selection in

Re: [flexcoders] 2 Datagrid issue

2008-12-29 Thread Simon Bailey
/ /mx:VBox On 29 Dec 2008, at 19:03, Tracy Spratt wrote: Probably, but we’ll need to see a bit of the relevant code. Start with the DataGrid declaration mxml and the change handler function. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Simon

Re: [flexcoders] Re: 2 Datagrid issue

2008-12-29 Thread Simon Bailey
...@yahoogroups.com] On Behalf Of Simon Bailey Sent: Monday, December 29, 2008 1:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] 2 Datagrid issue Hi, I have 2 DataGrids working with a custom renderer and all that jazz but 2 seperate ArrayCollections as data provider. On select

Re: [flexcoders] Re: 2 Datagrid issue

2008-12-29 Thread Simon Bailey
handler function. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Simon Bailey Sent: Monday, December 29, 2008 1:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] 2 Datagrid issue Hi, I have 2

Re: [flexcoders] Re: 2 Datagrid issue

2008-12-29 Thread Simon Bailey
, “a custom renderer and all that jazz”. Exactly what are you trying to show/do? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Simon Bailey Sent: Monday, December 29, 2008 3:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: 2 Datagrid

Re: [flexcoders] Re: 2 Datagrid issue

2008-12-29 Thread Simon Bailey
; ( listData.owner as CustomGrid ).invalidateList(); IList(DataGrid(owner).dataProvider).itemUpdated(data); } Any thoughts on this technique? Cheers, Simon On 29 Dec 2008, at 20:31, Simon Bailey wrote: Ok, my apologies for the irritating vagueness in my explanation: What I am trying to do

Re: [flexcoders] Re: 2 Datagrid issue

2008-12-29 Thread Simon Bailey
http://www.nutrixinteractive.com/apps/datagrid_example/dg.html Hmmm, jeez, crack one and always get anotherits a bit unreliable on scrolling I have noticed? On 29 Dec 2008, at 21:30, Simon Bailey wrote: With a slightly clearer head I think this may be the solution, handled within

Re: [flexcoders] Any Developers on a Mac?

2008-12-30 Thread Simon Bailey
I have only ever worked with Flex Builder on a Mac and have no complaints whatsoever. I joined the mac posse about 5 years ago and never looked back. There only real issues I have had with Adobe related software was AIR, resolved now but bwoy it was a grade A pain! Simon On 29 Dec 2008,

Re: [flexcoders] AS3 RemoteObjects and Operations

2009-01-02 Thread Simon Bailey
Hi Wally, For some examples of hooking up coldfusion to flex check the below links. They are using PureMVC but if your simply view source and check out the proxy and delegate classes you will see the simple calls to cf and handling of the returned data. Sure there is room for

Re: [flexcoders] Modules, CFC and the second load

2009-01-05 Thread Simon Bailey
Stab in the dark here. A a while back I had multiple modules making remote call to ColdFusion and ran into a problem, what the exactly was I cannot recall but I know the solution was to ensure my module (on startup) called: registerClassAlias(flex.messaging.messages.RemotingMessage,

Re: [flexcoders] Re: Module blues...am I going crazy??

2009-01-09 Thread Simon Bailey
Jim have you got a bit more info in regarding your blues here within PureMVC? Are your named constants within your modules facade? Is the problem accessing constants from one modules facade in another? As its PureMVC related the forums @ http://forums.puremvc.org/ are very lively with

Re: [flexcoders] Country List

2009-02-18 Thread Simon Bailey
Here are some helpful resources specific to your requirements: http://www.tink.ws/blog/files/as3/PayPalCountries.as http://aralbalkan.com/1128 http://www.peterelst.com/blog/2006/12/24/flex-country-combobox-component/ Simon [ Website ] newtriks.com [ Blog ] nutrixinteractive.com/blog/ On 18 Feb

Re: [flexcoders] Send a confirmation Email

2009-02-18 Thread Simon Bailey
A quick and easy way to do this would be to use URLRequest as below: navigateToURL( new URLRequest( mailto:si...@newtriks.com?subject=registration Complete ), _blank ); Simon [ Website ] newtriks.com [ Blog ] nutrixinteractive.com/blog/ On 18 Feb 2009, at 08:57, christophe_jacquelin wrote:

Re: [flexcoders] Event passing directly between module and Main application (Shell)

2009-02-18 Thread Simon Bailey
Andrew covers this with custom events here: http://blog.schwabe.net/index.cfm/2008/4/29/Dispatching-custom-events-from-a-Flex-Module Simon [ Website ] newtriks.com [ Blog ] nutrixinteractive.com/blog/ On 18 Feb 2009, at 09:46, kuntamayu wrote: Can any one guide me hot to pass Button / mouse

Re: [flexcoders] Send a confirmation Email

2009-02-18 Thread Simon Bailey
://pogopixels.com --- On Wed, 2/18/09, Simon Bailey si...@newtriks.com wrote: From: Simon Bailey si...@newtriks.com Subject: Re: [flexcoders] Send a confirmation Email To: flexcoders@yahoogroups.com Date: Wednesday, February 18, 2009, 10:02 AM A quick and easy way to do this would be to use URLRequest

Re: [flexcoders] flex component kit

2009-03-02 Thread Simon Bailey
All links are broken except Flex component kit on: http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex_skins e.g. http://www.adobe.com/go/flexskin_flash On 17 Jul 2008, at 19:06, Matt Chotin wrote: http://www.adobe.com/go/flex3_skinning Matt On 7/17/08 11:01 AM, [p e r c e p t i c o

Re: [flexcoders] Re: Modules Communication

2009-03-03 Thread Simon Bailey
On the tip for communicating between modules using a framework, PureMVC has a utility called Pipes which helps you accomplish this: http://trac.puremvc.org/Utility_AS3_MultiCore_Pipes ;S On 3 Mar 2009, at 10:10, claudiu ursica wrote: You should probably have ca comunication manager

[flexcoders] ListBase error

2009-03-12 Thread Simon Bailey
Hi all, Any ideas why on scroll of a datagrid the #1010 error is firing from the ListBase class on this line of code: rowMap[r.name].rowIndex = newIndex; I have seen this problem in the past with Flex 2 and funnily enough have not seen it since, now its rearing its head again. Using the

Re: [flexcoders] ListBase error

2009-03-12 Thread Simon Bailey
\frameworks\projects\framework\src\mx\controls \scrollClasses\ScrollBar.as:1261] at mx.controls.scrollClasses::ScrollThumb/mouseMoveHandler()[C: \autobuild\3.2.0\frameworks\projects\framework\src\mx\controls \scrollClasses\ScrollThumb.as:206] On 12 Mar 2009, at 11:35, Simon Bailey wrote: Hi

Re: [flexcoders] Re: Signed RSL penetration

2009-06-19 Thread Simon Bailey
You know what confuses me though over all this, why hasn't Adobe cached the Flex framework in the Flash Player? An additional 500k on the player download would be a miniscule inconvenience in time for the user, the way it stands the time added reflects poorly on the actual Flex

Re: [flexcoders] I can't understand pureMVC

2009-06-23 Thread Simon Bailey
1) What should I do/type to store data in proxy and in what var? Is there any special var? Typically the proxy is storing an Object with your data which could as your quite rightly state, be a result from a service call of some type. For example, an ArrayCollection containing all your

Re: [flexcoders] Re: Pure MVC

2009-06-23 Thread Simon Bailey
I have not used the Spring PureMVC stuff but looking at the Mediator class that IocMediator extends its using the standard version and not multicore which means it will not be based on multitons. However, I am not familiar enough with Spring as I said and therefore cannot suggest the

Re: [flexcoders] Re: I can't understand pureMVC

2009-06-23 Thread Simon Bailey
... etc.), but problem is because loginUserData is null. And in debug, data is full with data but they are private so can't use it, what I have done? --- In flexcoders@yahoogroups.com, Simon Bailey si...@... wrote: 1) What should I do/type to store data in proxy and in what var? Is there any

Re: [flexcoders] Re: I can't understand pureMVC

2009-06-23 Thread Simon Bailey
+ username + city ... etc.), but problem is because loginUserData is null. And in debug, data is full with data but they are private so can't use it, what I have done? --- In flexcoders@yahoogroups.com, Simon Bailey si...@... wrote: 1) What should I do/type to store data in proxy and in what var

Re: [flexcoders] Re: I can't understand pureMVC

2009-06-23 Thread Simon Bailey
) as LoginProxy; var u:User = notification.getBody() as User; Alert.show(welcome: + u.realName+ , + u.City); break; case ApplicationFacade.LOGIN_FAILED: Alert.show(sorry pal, wrong password); break; } } [/code] --- In flexcoders@yahoogroups.com, Simon Bailey si...@... wrote: In your

Re: [flexcoders] Re: I can't understand pureMVC

2009-06-23 Thread Simon Bailey
. loginUserData is always null :( --- In flexcoders@yahoogroups.com, Simon Bailey si...@... wrote: Debug man, check the datatype of the object coming back from your remote request, maybe there is a problem with the cast. Is the Object from your remote result datatyped? Try assigning it to a var

Re: [flexcoders] Re: I can't understand pureMVC

2009-06-24 Thread Simon Bailey
--- In flexcoders@yahoogroups.com, Simon Bailey si...@... wrote: Something is wrong with your assigning the remote result to the data in your Proxy. The 'data' object has not been cast to User() and is instead typed as ObjectProxy? On 23 Jun 2009, at 16:15, vladakg85 wrote: http://img37

Re: [flexcoders] How to disable TitleWindow dragable

2009-07-06 Thread Simon Bailey
Create a custom component that extends TitleWindow and override the startDragging() method: override protected function startDragging( event:MouseEvent ):void {}; Cheers, Simon @newtriks.com On 6 Jul 2009, at 08:16, j2me_soul wrote: How can I stop dragable function?

Re: [flexcoders] Re: How to disable TitleWindow dragable

2009-07-06 Thread Simon Bailey
Yes as I replied in your original post man: Create a custom component that extends TitleWindow and override the startDragging() method: override protected function startDragging( event:MouseEvent ):void {}; You can leave it as it is above to simply stop dragging or add logic according

[flexcoders] Run Debug using ANT

2009-07-15 Thread Simon Bailey
Hi, I have an ANT script that compiles a debug swf and launches it in its HTML wrapper in a browser window. For some reason though if I run the ANT script I cannot seem to connect to the debugger to output to the console and hit breakpoints etc. I can launch it by setting up external