[flexcoders] Using Flex for Webcast site

2008-11-03 Thread candysmate
Does anyone have experiences with using Flex as a client for webcasting, or know on any resouces I can refer to please?

[flexcoders] Flex 3 invalid byte AGAIN :(

2008-03-14 Thread candysmate
I downloaded the Flex 3 trial onto my development box (I'm already a registered Flex 2.10 user). Compiling my first, simple, Flex application gave me a Invalid byte 1 of 1-byte UTF-8 error. Mmm ... I was using the default UTF-8 coding and had changed nothing. So ... I downloaded Flex 3 trial

[flexcoders] Flex 3 error weirdness

2008-03-11 Thread candysmate
I'm currently getting a compile error: 'Severity and Description PathResourceLocation Creation Time Id Invalid byte 1 of 1-byte UTF-8 sequence.testUnknown 1205257132234 26 ' Any ideas please guys?

[flexcoders] Re: Flex 3 error weirdness

2008-03-11 Thread candysmate
--- In flexcoders@yahoogroups.com, Derrick Anderson [EMAIL PROTECTED] wrote: 1 google search turns up many hits about invalid xml or encoding- what does your xml prolog look like, do you ever use any encodings other than UTF-8? d. Sorry, I should have stated that I had already Googled

[flexcoders] Re: Flex 3 error weirdness

2008-03-11 Thread candysmate
Just tried starting a new Flex 3 project, and immediately I'm getting the 'Invalid byte 1 of 1-byte UTF-8 sequence' error before I've even typed one keystroke of code! WTF? How can I fix this please any Adobe guys reading this?

[flexcoders] Can Flex 2.01 work with blazeds?

2008-03-11 Thread candysmate
I tried hooking up Flex 2.01 with the blazeds turnkey download and got unexpected attribute 'url' found in 'endpoint' from file: services- config.xml so .. er

[flexcoders] Can Flex2/Flex3 be used with odbc?

2008-03-05 Thread candysmate
As the subject says boy and girls. :)

[flexcoders] Re: Can Flex2/Flex3 be used with odbc?

2008-03-05 Thread candysmate
--- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote: There was an open source project to allow Flex to use th socket classes to access a server-based database. I'm sure google will find it for you. However, it is much more common to access an application

[flexcoders] Passing input from USB infrared port to keyboard buffer?

2008-02-03 Thread candysmate
Anyone know how to pass data into the keyboard buffer, using AS3, as if the user had typed it? I need to pass data from a USB infrared device to the keyboard input.

[flexcoders] Re: How to connect SQL SERVER 2005 using FLEX?

2008-01-14 Thread candysmate
--- In flexcoders@yahoogroups.com, girish_ok [EMAIL PROTECTED] wrote: Hi All, I want to know how to connect SQL SERVER 2005 using Flex, if anyone knows then let me know, i am planning to develop desktop application for dotnet. I can develop using C# but i want to develop using Flex

[flexcoders] Re: Populating comboBox

2008-01-11 Thread candysmate
--- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: one very small point, you can get rid of the line which adds a dummy Select item by setting the prompt on the combo OOps, missed that. Thanks for the heads up Simon.

[flexcoders] Re: Datagrid intermittent update

2008-01-10 Thread candysmate
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: How are renderers defined? Hi Alex, my renderers are mxml like so: mx:DataGridColumn headerText=Qty dataField=quantity width=40

[flexcoders] Populating comboBox

2008-01-10 Thread candysmate
I'm tring to populate a comboBox with var dsWeek:Array = []; [Bindable] var dsWeekArray = new ArrayCollection(dsWeek); var systemUtilitiesWeek:int = 35; private function initDissection():void { dsWeekArray.addItem({week:Select}); for(var ds1:int = 1; ds1 =

[flexcoders] Re: Populating comboBox

2008-01-10 Thread candysmate
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: ComboBox or most of the list-base components expect label and data properties in dataProvider. If your dataProvider has different properties, you can use the labelField or labelFunction fields to show the label (which in

[flexcoders] Datagrid intermittent update

2008-01-09 Thread candysmate
I have a datagrid whos datagridcolumns all have textinput itemrenderers. Occasionally the datagrid does not update to reflect the changes just made to its dataprovider via arraycollection manipulation. I've tried refreshing the dataprovider and / or using myDataGrid.validate(); without success.

[flexcoders] Testing for shift-tab key press?

2008-01-08 Thread candysmate
Does anyone please know how to test for shift-tab key press please?

[flexcoders] Restarting Flex 2.01 application

2008-01-07 Thread candysmate
I have a Flex movie playing in a swf to exe. I need the user to be able to click on a button and restart the movie. How can I do this in AS3 please?

[flexcoders] Unwanted arguement?

2008-01-02 Thread candysmate
Focus can be a real pain, as we all know. I have a function which re-focuses a datagrid so: private function staffGridFocus():void { salesStaffGrid.setFocus(); salesStaffGrid.selectedIndex = gridSelectLine; editStaffCell = {columnIndex:0, rowIndex: gridSelectLine};

[flexcoders] Re: Unwanted arguement?

2008-01-02 Thread candysmate
Try this private function staffGridFocus(value:Object=null):void Regards, Frederico Garcia Thanks Frederico, that nailed it!

[flexcoders] Re: Save data from datagrid to database?

2008-01-02 Thread candysmate
--- In flexcoders@yahoogroups.com, Mark Shen [EMAIL PROTECTED] wrote: Thanks. Mike. I know how to use mx:RemoteObject . My question is how to get all the data from datagrid and pass it to mx:RemoteObject .Thanks Mark Mark, the dataGrid is merely a visual means of viewing / editing

[flexcoders] Re: Creating tooltip for datagrid column header(s)?

2008-01-02 Thread candysmate
--- In flexcoders@yahoogroups.com, chuyler1 [EMAIL PROTECTED] wrote: Try defining the component in-line instead. You also don't want to use the ToolTip component because you still need to display the header text. Instead, just use a Label component and set the toolTip string for the label

[flexcoders] Re: vertical text alignment within datagridcolumn

2008-01-01 Thread candysmate
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: verticalAlign, paddingTop, paddingBottom? Thanks Alex. Actually, the solution turned out to be even more fundamental. Highlighting the character with my mouse cursor showed that the character required occupied only the

[flexcoders] Creating tooltip for datagrid column header(s)?

2007-12-30 Thread candysmate
I wish to create tooltips for datagrid column headers. My datagridcolumn for the required tooltip is: mx:DataGridColumn headerText=M width=26 textAlign=center editable = false headerRenderer=myComponents.moveInactiveTooltip mx:itemRenderer mx:Component mx:HBox horizontalAlign=center

[flexcoders] vertical text alignment within datagridcolumn

2007-12-29 Thread candysmate
My datagridcolumn uses an itemrenderer: mx:DataGridColumn headerText= dataField=problem width=20 textAlign=center editable = false rendererIsEditor=true mx:itemRenderer mx:Component className =rendererStyle2 mx:Text /mx:Text /mx:Component

[flexcoders] Re: Using Restrict property in DataGrid

2007-12-29 Thread candysmate
--- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Any sample of using restrict property for fields in DataGrid? Thanks Mark, I use this withim my current project: mx:DataGridColumn headerText=RRP (p) dataField=retail width=60 textAlign=right

[flexcoders] Styling itemrenderer

2007-12-28 Thread candysmate
I have a custom itemrenderer: ?xml version=1.0 encoding=utf-8? mx:Text xmlns:mx=http://www.adobe.com/2006/mxml; styleName=rendererStyle /mx:Text which I'm popping into a dataGridColumn with: mx:DataGridColumn headerText= dataField=problem editable=false width=20 textAlign=center

[flexcoders] Re: Conditional itemrenderer

2007-12-27 Thread candysmate
--- In flexcoders@yahoogroups.com, mydarkspoon [EMAIL PROTECTED] wrote: The ampersand oprator cannot be used inside XML tag. you can either use condition1 amp;amp; condition2 or pass the params to function which evaluates to Boolean. Also, take a look at this:

[flexcoders] Flex 2.01 type declaration

2007-12-27 Thread candysmate
Within a function I have: var tempInactivePriceListArray:ArrayCollection = new ArrayCollection(mySQLServer.executeQuery(inactiveSql)); However, the Flex compiler complains with: 1008: var 'tempInActivePriceList Array has no type declaration' I can't see why this should be. Any pointers most

[flexcoders] Re: Flex 2.01 type declaration [SOLVED}

2007-12-27 Thread candysmate
--- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote: Within a function I have: var tempInactivePriceListArray:ArrayCollection = new ArrayCollection(mySQLServer.executeQuery(inactiveSql)); However, the Flex compiler complains with: 1008: var 'tempInActivePriceList

[flexcoders] Clickable image in dataGrid advice?

2007-12-24 Thread candysmate
Can someone please point me to a resource / tutorial which covers adding a clickable image in a dataGrid column please? I want a clickable trashcan image scenario, so the user can select a line to delete from a dataGrid list.

[flexcoders] Flex 2.01 initial skin source?

2007-12-24 Thread candysmate
I (rightly or wrongly) assume that Flex (2.10) obtains it's initial, blue/grey, skin from a CSS somewhere? If so, where can I locate this please? I wish to use it as a template to work from in order to create subsequent skins of my own. Many thanks. Seasons greetings to all.

[flexcoders] Re: Clickable image in dataGrid advice?

2007-12-24 Thread candysmate
OK, so I've finally worked out how to get a clickable image into a dataGrid. However, I'm having a scope problem. I'm using: mx:itemRenderer mx:Component mx:HBox horizontalAlign=center mx:Image height=26 width=26 source=@Embed('/images/forwardicon.png') toolTip=Click to make 'Inactive'

[flexcoders] Re: Clickable image in dataGrid advice? [SOLVED]

2007-12-24 Thread candysmate
Changing the function from private to public fixed it (duh!)

[flexcoders] Re: Flex 2.01 initial skin source?

2007-12-24 Thread candysmate
--- In flexcoders@yahoogroups.com, Frederico Garcia [EMAIL PROTECTED] wrote: The default theme is located on: C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\themes Regards, Frederico Garcia Many thanks Frederico. Ciao.

[flexcoders] PopUp removal

2007-12-20 Thread candysmate
My popup A opens popup B. Upon item selection within popup B I want to close both popup A and then popup B. I can close popup B with PopUpManager.removePopUp(this), but, before this, how can I remove popup A please?

[flexcoders] Re: PopUp removal

2007-12-20 Thread candysmate
--- In flexcoders@yahoogroups.com, rueter007 [EMAIL PROTECTED] wrote: pass in popup A as a variable instance into popup B and call PopUpManager.removePopUp(parentInstance) - venkat Much appreciated Venkat - many thanks!

[flexcoders] SQL Server 2005 collation and Flex 2.01 dataGrid

2007-12-17 Thread candysmate
I'm communicating with a MS SQL 2005 Server via Flex 2.01. my original query: SELECT code, code_description, sub_category FROM flexing_price_list WHERE (code LIKE 'al%') UNION ALL SELECT code, code_description, NULL FROM flexing_products WHERE (code LIKE 'al%') gave me the error:

[flexcoders] Change textInput text colour when value negative in AS3?

2007-12-07 Thread candysmate
How can I access the text color of a textInput with AS3? I want to make the text colour red for negative number display. I tried: if(int(stkFirmLevel.text) 0) { stkFirmLevel.color = #ff; } else { stkFirmLevel.color = #00; } without success.

[flexcoders] Re: Change textInput text colour when value negative in AS3?

2007-12-07 Thread candysmate
--- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: stkFirmLevel.setStyle(color, #ff); Thanks Ben. Just couldn't remember it. Now I'm getting near 50 I'm going to have to write this stuff down. My noodle's shot these days.

[flexcoders] Re: How to set selected index to 0 when i click on any columnheading to sort the

2007-12-06 Thread candysmate
To set the selectedIndex to 0 when the dataGrid initializes try: creationComplete = this.selectedIndex = 0;

[flexcoders] Flex 2.01 loading swc fault

2007-12-04 Thread candysmate
Came back from lunch and cranked up my Flex 2.01 again to get back to work and got the following error message: unable to load SWC C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\locale\en_US\charts_rb.swc I checked the disk and the file is there. Any thoughts please guys?

[flexcoders] Re: ***************************TWO WAY SSL AND REPORTING IN FLEX **************

2007-12-03 Thread candysmate
--- In flexcoders@yahoogroups.com, yourName [EMAIL PROTECTED] wrote: Q1)Can any body tell how to implement TWO WAY SSL in flex/java application.. can any one send me link or sample code .. Q2) Plz tell me about reporting in flex which reporting can i use Thanks In Advance... Multiple

[flexcoders] Re: It's DEMO time! - www.PlayerStreak.com

2007-12-01 Thread candysmate
I liked the site. But clicking on 'Rotoworld' showed that it relied on javascript (Google analytics stuff etc). For users, like me, who have javascript turned off some of the stuff would not work. Frankly, I had no inclination to turn it on to see what it did. Otherwise - great job!

[flexcoders] S-L-O-W progressBar ... zzz ...

2007-11-28 Thread candysmate
I use the code shown below to update a progressBar, while updating a MS SQL 2005 database from an arraytCollection. It works fine but it seems really slow. Is there a more efficient way to do this please? code (Flex 2.01): private var queryCounter:Number = 0; private function

[flexcoders] Re: S-L-O-W progressBar ... zzz ...

2007-11-28 Thread candysmate
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 28 Nov 2007, candysmate wrote: seems really slow. Is there a more efficient way to do this please? How many things are there in activeProductsArray ? You could in crease your batch size (from 1) by using

[flexcoders] Re: radioButton label colour via AS3?

2007-11-23 Thread candysmate
--- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Color is actually a style so its idname.setStyle(color, 0xFF); HTH, Ben Many thanks Ben.

[flexcoders] invalid syntax?

2007-11-22 Thread candysmate
I've just started a new project and have already got a Application tag has invalid syntax when switching to design mode in Flex 2.01. The project compiles and runs without error. Can anyone see the 'blooper' please? I can't (yet)! ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] radioButton label colour via AS3?

2007-11-22 Thread candysmate
I can set the colour of a radioButton's label with color = #ff in mxml, but when I try to use the idname.color = #ff; in AS3 Flex 2.01 throws an undefined property error. How can I change the radioButton label text colour via AS3 please?

[flexcoders] className question

2007-11-18 Thread candysmate
I have an itemRenderer declared as: mx:itemRenderer mx:Component className =rendererStyle mx:Text /mx:Text /mx:Component /mx:itemRenderer If I use this again elsewhere I get an error 'class name

[flexcoders] Using checkbox with default spacebar toggle?

2007-11-15 Thread candysmate
I have a dataGrid which uses keyDown to fire a keyboard checking routine. This allows the user to navigate the grid via the up/down cursor keys to change the editedItemPosition. One of the grid columns contains a checkbox which can be toggled via the spacebar, and is the default Flex action.

[flexcoders] Re: Flex for database apps; compare to .net

2007-11-14 Thread candysmate
--- In flexcoders@yahoogroups.com, Michael Pengi [EMAIL PROTECTED] wrote: Thanks, I'll focus on 3.0, though being new to flex and with the docs for 3.0 somewhat thin now, not sure what I'll be able to figure out. I hope adobe provides some straightforward db oriented tutorials, web

[flexcoders] How to tell when dataGrid has finished loading data?

2007-11-06 Thread candysmate
I need to be able to tell when a dataGrid has finished loading data so my next operation does not give a 'null object' error due to incompletion. How can I do this in AS3 please? Couldn't find any events in the docs (yet).

[flexcoders] Using setFocus when data has finished loading into dataGrid

2007-11-05 Thread candysmate
My dataGrid obtains its data from a bindable variable. I wish to set the editedItemPosition of the dataGrid after the data has finished loading into it. CallLater was not a successful ploy. How else can I achieve this please?

[flexcoders] Re: Using setFocus when data has finished loading into dataGrid

2007-11-05 Thread candysmate
--- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote: My dataGrid obtains its data from a bindable variable. I wish to set the editedItemPosition of the dataGrid after the data has finished loading into it. CallLater was not a successful ploy. How else can I achieve

[flexcoders] Re: Using setFocus when data has finished loading into dataGrid [SOLVED]

2007-11-05 Thread candysmate
used updateComplete with the dataGrid to fire a function which set the focus and the editedItemPosition. Some days thet answer is right in front of you and you just don't see it. That's why we keep coffee in the first-aid box. :) bangs head on desk

[flexcoders] Re: i cant get my edited data our of my grid :(

2007-11-03 Thread candysmate
--- In flexcoders@yahoogroups.com, Michael Azar [EMAIL PROTECTED] wrote: this.mygrid.data[0].FirstName (DOESNT WORK--can you fix it for me.) i assume its something like that. I have a simple question. All I want to do is loop through I data grid to get the data out. not the data from

[flexcoders] Re: Flex is quite flakey (spurious errors!)

2007-11-02 Thread candysmate
Yesterday, while creating a function, my keyboard buffer started operating backwards. I typed :void and it came out as doiv:. This is the second time that I've seen this. I simply closed and reloaded Flex (2.01) and carried on as usual. Had it been halloween it would have really freaked me out!

[flexcoders] Using custom checkBox in datagrid

2007-10-31 Thread candysmate
I'm using a custom itemRenderer (centered checkBox), based upon Alex Harui's excellent blog in a dataGrid. My dataGridColumn has: mx:DataGridColumn headerText=

[flexcoders] Re: Using custom checkBox in datagrid

2007-10-31 Thread candysmate
--- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote: Dispatch a custom event with bubbles set to true. In the event include the checkbox that was checked so the code that catches it can get the selected state. Then in the code that sets up your datagrid add an event

[flexcoders] Re: Using custom checkBox in datagrid

2007-10-31 Thread candysmate
--- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: You don't need a custom event as MouseEvent.CLICK already bubbles. Simply listen for that event and then check if(event.target is CenteredCheckBox). HTH, Ben Much cleaner. Many thanks for your input Ben.

[flexcoders] ComboBox test?

2007-10-30 Thread candysmate
While checking for correct user input, I wish to ascertain if a comboBox has had any selection made with it at all. How can I test, via AS3, if any selection has been made please?

[flexcoders] Re: ComboBox test?

2007-10-30 Thread candysmate
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: myCombo.selectedIndex -1; //true if anything is selected, false if not Tracy Thanks Tracy.

[flexcoders] Drop down combo box via AS?

2007-10-29 Thread candysmate
How can I get a combobox to drop down (open) with AS3 please?

[flexcoders] datagridcolumn input filter

2007-10-26 Thread candysmate
I have a datagridcolumn with which I only want the user to enter numerical data. I do not wish to use an itemrenderer. How can I do this please?

[flexcoders] Re: datagridcolumn input filter

2007-10-26 Thread candysmate
--- In flexcoders@yahoogroups.com, Scott - FastLane [EMAIL PROTECTED] wrote: I have not used this component http://weblogs.macromedia.com/pent/archives/2006/08/flex_2_componen.cfm but it looks like you could use it as your item editor. If you don't want to mask input, but just want to

[flexcoders] datagrid cellEditor?

2007-10-26 Thread candysmate
During my 'net research to find a solution for restricting user input for a datagridcolumn I came across some flex code which had the statement: dataGrid.cellEditor.restrict='0-9' but I can't find a reference to cellEditor property in Flex 2.01 help. If this from a previous Flex version, and if

[flexcoders] Re: datagrid cellEditor?

2007-10-26 Thread candysmate
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: itemEditorInstance Thanks Alex. If you wanted to resrict user input in a datagridcolumn without using an itemrenderer what approach would you use please?

[flexcoders] Escaping data-

2007-10-25 Thread candysmate
Currently I use Janus classes to communicate between Flex and MS SQL Server 2005. It works great. I now need to handle the escaping of user input so that typing in, say, 'Valentine's Day' doesn't break my sql string. Data from the server is returned either as an object or an arraycollection. Any

[flexcoders] Date question

2007-10-23 Thread candysmate
I have a date object (systemUtilitiesDate) from which a datefield (utilitiesWeekStart)gets its information. I use utilitiesWeekStart.selectedDate = systemUtilitiesDate; to set the selected date. But, the debug version of Flash Player complains with: Error #1009: Cannot access a property or

[flexcoders] Re: Type selector warning

2007-10-19 Thread candysmate
--- In flexcoders@yahoogroups.com, Mike Krotscheck [EMAIL PROTECTED] wrote: Remove any Tree styles you have from the CSS file. Michael Krotscheck Senior Developer Thanks Mike.

[flexcoders] Type selector warning

2007-10-19 Thread candysmate
My client decided that they didn't like the use of a tree component, so I removed it from the project. That was last week. This week I'm still getting warnings: The type selector 'Tree' was not processed, because the type was not used in the application.' If I right-click these warnings and

[flexcoders] Definition question

2007-10-18 Thread candysmate
I'm using Alex Harui's example code for centering a checkbox within a datagrid. Within my Flex folders I have a class folder so: com - toro - classes and an AS file called CenteredCheckBox.as so: package com.toro.classes { import flash.display.DisplayObject; import flash.text.TextField; import

[flexcoders] Re: Definition question

2007-10-18 Thread candysmate
--- In flexcoders@yahoogroups.com, Scott - FastLane [EMAIL PROTECTED] wrote: I'm going to guess that your import is within the scope of your mx:Script tag which closes with your /mx:Script tag and does not cover your mxml for the page. Using itemRenderer=com.toro.classes.CenteredCheckBox

[flexcoders] Re: Centering CheckBox itemRenderer in grid cell?

2007-10-17 Thread candysmate
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.htm l GREAT link Alex . Many thanks for posting that.

[flexcoders] Re: Site Launch

2007-10-16 Thread candysmate
As with all websites there has to be a compromise between 'pretty' and 'practical'. I'd suggest losing the popups and streamlining the code to make downloading quicker. It was only my 'geekiness' that kept me hanging around to see what dribbled down the pipe. Users are more fickle.

[flexcoders] Centering CheckBox itemRenderer in grid cell?

2007-10-16 Thread candysmate
How can I center the checkbox I have as an itemRenderer within a data grid's column please?

[flexcoders] Re: Site Launch

2007-10-15 Thread candysmate
--- In flexcoders@yahoogroups.com, Mike Krotscheck [EMAIL PROTECTED] wrote: Hey everyone- We here at Resource just launched a new site last Friday, built entirely in Flex. I figured some of you might get a kick out of it, since the designers really went out of their way to do something

[flexcoders] Re: Expanding specific branch(es) in Tree component

2007-10-08 Thread candysmate
--- In flexcoders@yahoogroups.com, Paul Dale [EMAIL PROTECTED] wrote: Well, specifically it depends on the structure of your data, abstractly one would use expandItem. snipped Thanks Paul. Got my head around it now. Amazing what a few hours of much needed sleep will do.:)

[flexcoders] Expanding specific branch(es) in Tree component

2007-10-07 Thread candysmate
I need to expand specific branches in a tree component, while keeping their children closed. My tree does not have the root node shown. So if you take the root node as 0, I wish to expand nodes 1 while keeping nodes 2 (children) closed/collapsed. How can I do this please?

[flexcoders] Re: Tree branch closed on display?

2007-10-07 Thread candysmate
--- In flexcoders@yahoogroups.com, Paul Dale [EMAIL PROTECTED] wrote: expandItem or expandChildrenOf on the root would do it (with the second param set to false ...) On 10/6/07, candysmate [EMAIL PROTECTED] wrote: When my tree is first diaplayed, some of the branch nodes are expanded

[flexcoders] ArrayCollection XMLList?

2007-10-05 Thread candysmate
I have an ArrayCollection in Flex which contains the delivery information for a given stock item: boxes quantity 10 20 15 20 17 20 etc how can I convert this into an XMLList so that it can be a dataProvider for a tree control where each line is a branch

[flexcoders] Re: Thermo Cairngorm

2007-10-04 Thread candysmate
From the videos, I would surmise that Thermo is a very nice screen design tool, but doesn't automatically include anything else besides basic interactions. You just need to add the other architectural layers (as per cairngorm) yourself. It really doesn't seem to affect business and

[flexcoders] Re: Thermo Cairngorm

2007-10-04 Thread candysmate
http://mrsteel.wordpress.com/2007/10/03/thermo-sneak-peek-video-from-max-chicago-2007-keynote-video/ Check out David mendels earlier link.. http://snipurl.com/1rp0z Paul best, Graham Ooops .. lissed the earlier link. Many thanks for the reply Paul. cheers, Graham Thermo looks

[flexcoders] Passing itemRenderer keyboard event to the datagrid containing it

2007-10-03 Thread candysmate
I have an itemrenderer within the dataGridColumn of a datagrid. How can I pass the keydown event detected by the itemrenderer (textinput) to the datagrid please?

[flexcoders] Using arraycollection data with tree component?

2007-10-01 Thread candysmate
I have data returned from a database into an arraycollection. Are there any examples around to help me use this with a tree component please? My googling (I love a good google) hasn't turned up anything useful so far.

[flexcoders] Re: Using arraycollection data with tree component? [SOLVED]

2007-10-01 Thread candysmate
--- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote: I have data returned from a database into an arraycollection. Are there any examples around to help me use this with a tree component please? My googling (I love a good google) hasn't turned up anything useful so far

[flexcoders] Re: How to create a PHOTO BOOK using Flex ( i want to flip the pages of it)

2007-09-28 Thread candysmate
--- In flexcoders@yahoogroups.com, flex_smarty [EMAIL PROTECTED] wrote: Hi All, Im new to this community as well as to Flex. Im learning Flex for the last couple of months. Im trying to create a Photo book using Flex and Action scripting but unable to get an idea of how to proceed. Can any

[flexcoders] Re: Passing variables to popup window {SOLVED}

2007-09-28 Thread candysmate
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Good, but curious, I would not expect that order to matter Thanks for the code example Tracey. Yeah, the order thing is really wierd, which is why it took me a while to find it.

[flexcoders] Re: Passing variables to popup window {SOLVED}

2007-09-28 Thread candysmate
**PopUpManager.centerPopUp(alertInstance); alertInstance.messageString = messageItem alertInstance.messageDuration = messageTime; moving this line fixed it:

[flexcoders] Re: Passing variables to popup window

2007-09-28 Thread candysmate
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: That should work. Implement the public vars as setter functions. That way you can debug to see if they are getting hit. Would you be good enough to give an example of that please Tracey? I'm not sure if I'm

[flexcoders] Using timer with Popups

2007-09-27 Thread candysmate
I need to popup a message for the user. It requires no interaction from the user, it's just a visual cue. I guess that it would ential the use the timer for this in conjunction with either an Alert (not sure at the time of writing if Alert's can be button-free), or a titleWindow as a popup.

[flexcoders] Re: Using timer with Popups

2007-09-27 Thread candysmate
--- In flexcoders@yahoogroups.com, Roman Protsiuk [EMAIL PROTECTED] wrote: snipped Aha! got it! Many thanks Roman for the education. May your day be bug-free :) best, Graham

[flexcoders] Re: Using timer with Popups

2007-09-27 Thread candysmate
In this code example, how can I remove the PopUp please? (I know what I have is currently incorrect): ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.managers.PopUpManager; import

[flexcoders] Re: Using timer with Popups [SOLVED]

2007-09-27 Thread candysmate
This did it: main MXML all script: import mx.managers.PopUpManager; import mx.controls.Alert; public function show(messageItem:String): void { var alertInstance:alertPopupDialog = alertPopupDialog(PopUpManager.createPopUp(this, alertPopupDialog, true));

[flexcoders] Passing variables to popup window

2007-09-27 Thread candysmate
Apologies if this turns out to be a double posting, but my original posting does not appear to be listed at the time of writing, depite 45 minutes elapsing. Anyway, I'm trying to pass two variables from my main app to a popup window as below, but the data is not comping across. Can anyone please

[flexcoders] logic problem

2007-09-26 Thread candysmate
I have two textInput components. This code: if((goodsInAccount.text != ) (goodsInAdvice.text.indexOf(/) == 0)) { . } but it returns true when goodsInAccount contains no text and goodsInAdvice contains the / character. The problem seems to be with the logic knowing that

[flexcoders] Re: logic problem

2007-09-26 Thread candysmate
--- In flexcoders@yahoogroups.com, leds usop [EMAIL PROTECTED] wrote: Having no text doesnt mean the string value is . An Empty string is different from a null or an undefined value. So i suggest throw in a check for undefined/null value as well and if you dont turst that enough, check for

[flexcoders] Re: Where to start learning Flex

2007-09-25 Thread candysmate
--- In flexcoders@yahoogroups.com, neugi [EMAIL PROTECTED] wrote: Hi, where to start learning flex2? are there good books, or tutorials online? thx Try www.lynda.com. Search on Flex at Amazon.com (many to choose from). best, Graham

[flexcoders] Setting dataGrid selectedIndex.

2007-09-24 Thread candysmate
I need to change tabNavigator tabs automagically for the user and then set the selectedIndex of the dataGrid which resides on the tab to a variable value. My code is: adviceTabNav.selectedIndex = 1; dGrid.selectedIndex = x; x is a Number, and currently set to 5. The tab changes OK, but the

[flexcoders] Syntax question

2007-09-22 Thread candysmate
The conpiler complains with a syntax error 'expecting rightparen before 1.' for my line: var selectedGrowerAddress1:String = event.currentTarget.growerSearchGrid.selectedItem.ADDRESS_LINE#1; my client's database field name has a # in it which I have to accept. But, as this is used extensively

  1   2   >