Re: [flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread dorkie dork from dorktown
Hi Tac, First setup your library project. Then go back to your original project and go into Properties Flex Build Path and click Add Project. A dialog will display available library projects for you to choose. Select your new library and click OK. The workspace will rebuild if it doesn't click

Re: [flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread dorkie dork from dorktown
BTW Welcome to Flex! :) On Sun, Aug 7, 2011 at 6:59 AM, tacman1123 tac...@gmail.com wrote: ** I'm new to Flex, I've been reading the Adobe Training from the Source book, but am stuck on a simple setup question. I want to integrate SQLite, and figured I'd use probinson's sqlite utilities

Re: [flexcoders] newbie question : putting a semicolon in a mxml property

2009-07-12 Thread Sam Lai
Not if there is just a single line of script within the quotation marks. If you wanted to do something like this though, mx:Button label=some label click=t1.text = t2.text; doSomethingElse(); t3.visible = false; / Then you do need the semi-colons. Most people just have the semi-colon there out

RE: [flexcoders] Newbie Question - databinding an arrayCollection to a List Control

2009-05-25 Thread Tracy Spratt
When you set a property of a dataProvider item directly, like: absentee.selectedItem.status = absent; the events to update the UI are not dispatched. You can either use the collection API, like setItemAt(), or call itemUpdated(). absentee.selectedItem.status = absent;

RE: [flexcoders] Newbie question: Custom Components and Custom Events

2009-05-04 Thread Tracy Spratt
Did you import UserEvents? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alan Rother Sent: Monday, May 04, 2009 6:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Newbie

Re: [flexcoders] Newbie question: Custom Components and Custom Events

2009-05-04 Thread Alan Rother
Did you import UserEvents? Yep... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical xmlns:local=* xmlns:view=view.* mx:Script ![CDATA[ import view.UserForm; import events.UserEvents; import mx.collections.ArrayCollection; import

Re: [flexcoders] Newbie question: Custom Components and Custom Events

2009-05-04 Thread Sam Lai
Looks like the USER_SUBMIT variable or constant in your UserEvents class is not static, but you're accessing it in a static way. They should be static, so add they keyword static before the var keyword when you declare USER_SUBMIT and it should all work. On 5/5/09, Alan Rother

RE: [flexcoders] Newbie question: Custom Components and Custom Events

2009-05-04 Thread Tracy Spratt
Sent: Monday, May 04, 2009 7:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Newbie question: Custom Components and Custom Events Looks like the USER_SUBMIT variable or constant in your UserEvents class is not static, but you're accessing it in a static way. They should

Re: [flexcoders] Newbie question: Custom Components and Custom Events

2009-05-04 Thread Alan Rother
This is the entire UserEvents class as the example showed me how to build it. I'm guessing that the declaration for my event is supposed to be in here, but in the demo we actually created it in the component we were loading. How and where do I add it to the UserEvents class and why does it work

RE: [flexcoders] Newbie question: Custom Components and Custom Events

2009-05-04 Thread Tracy Spratt
: [flexcoders] Newbie question: Custom Components and Custom Events This is the entire UserEvents class as the example showed me how to build it. I'm guessing that the declaration for my event is supposed to be in here, but in the demo we actually created it in the component we were loading. How

RE: [flexcoders] newbie question - call to actionscript class

2009-01-29 Thread Gregor Kiddie
mx:XML ... / isn't a visual component. You'll need to use the XML as a dataprovider from something that is. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in

Re: [flexcoders] Newbie question: Completion Events or proxy binding for RemoteObject calls

2009-01-06 Thread Josh McDonald
Bindings work with any objects, so long as the fields (or the whole class) are marked with [Bindable] -Josh On Wed, Jan 7, 2009 at 11:44 AM, john.casey64 john.case...@yahoo.comwrote: I'm working on an application where I build a tree (in actionscript buildtree()) where I add new leafs from

Re: [flexcoders] newbie question on synchronous and asynchronous events

2008-10-16 Thread Paul Andrews
I always treat events as asynchronous - I don't see how else you can deal with them. I'll have to check out the cookbook article.. Paul - Original Message - From: Dan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, October 16, 2008 4:03 PM Subject: [flexcoders] newbie

Re: [flexcoders] newbie question - multipage apps - best approach?

2008-04-28 Thread Tom Chiverton
On Saturday 26 Apr 2008, hoytlee2000 wrote: Should each page of the UI be it's own MXML file and inluded in as a component? I would say 'at a minimum'. It'll look a lot more organised. You may start spotting common/reusable parts too. And what are the draw backs? You'll have to be a bit

RE: [flexcoders] newbie question

2008-04-23 Thread Tracy Spratt
Welcome, Steve. First, please use a descriptive subject for all posts, including AIR, if you think that might be signficant. There is too much traffic on this list for anyone to read all posts, so we choose what to read based on the subject. Subjects like HELP ME!!! and URGENT!!!, and even

RE: [flexcoders] newbie question

2008-04-23 Thread Steve Good
@yahoogroups.com Subject: RE: [flexcoders] newbie question Welcome, Steve. First, please use a descriptive subject for all posts, including AIR, if you think that might be signficant. There is too much traffic on this list for anyone to read all posts, so we choose what to read based

Re: [flexcoders] newbie question

2008-04-23 Thread Pat Buchanan
Steve: Several things you need to do. First, make sure you have *defined a result handler* for the function call. Sounds like you have because you said you could see the result come back. Then, just access the result via the event, like below: private function

RE: [flexcoders] newbie question

2008-04-23 Thread Tracy Spratt
@yahoogroups.com Subject: RE: [flexcoders] newbie question Sorry about the subject, I'm not sure why I didn't use something more descriptive. Here's a snippet of the code I'm using. public function postData(){ var urlData:String = foo=bar

RE: [flexcoders] newbie question

2008-04-23 Thread Steve Good
Cool, I think I understand. I'll give it a try. Thanks. ~Steve http://lanctr.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, April 23, 2008 2:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] newbie question

RE: [flexcoders] newbie question

2008-04-17 Thread Gordon Smith
. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luke Vanderfluit Sent: Wednesday, April 16, 2008 7:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] newbie question Hi Gordon

RE: [flexcoders] newbie question

2008-04-16 Thread Gordon Smith
How do I allow the user to navigate from one page to the next? You'd generally use a ViewStack if the pages have little UI in common with each other. Use states if they have a lot in common. You can also mix and match, using a ViewStack for part of the screen, etc. A ViewStack shows 1 of

Re: [flexcoders] newbie question

2008-04-16 Thread Luke Vanderfluit
Hi Gordon. Gordon Smith wrote: How do I allow the user to navigate from one page to the next? You'd generally use a ViewStack if the pages have little UI in common with each other. Use states if they have a lot in common. You can also mix and match, using a ViewStack for part of

Re: [flexcoders] newbie question

2008-04-16 Thread shaun
Hey Luke, Luke Vanderfluit wrote: I have a component that displays a form (currently in selectedIndex 0), from this component I want the click to send me to ViewStack.selectedIndex 1. Is there something like parent.selectedIndex? Access the ViewStack (that contains the component as one

RE: [flexcoders] newbie question

2008-04-16 Thread Tracy Spratt
Another convenient way to do a login is to use a modal popUp TitleWindow. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shaun Sent: Wednesday, April 16, 2008 10:47 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders

Re: [flexcoders] Newbie Question - Random position in an array

2008-03-03 Thread Maciek Sakrejda
://www.truviso.com -Original Message- From: Sean Scott [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Newbie Question - Random position in an array Date: Sat, 1 Mar 2008 22:55:49 -0600 Sherif, Thanks i ended up with var

Re: [flexcoders] Newbie Question - Random position in an array

2008-03-03 Thread Sean Scott
PROTECTED] sean.net%40gmail.com Reply-To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Newbie Question - Random position in an array Date: Sat, 1 Mar 2008 22:55:49 -0600 Sherif, Thanks i ended up

Re: [flexcoders] Newbie Question - Random position in an array

2008-03-01 Thread Sherif Abdou
something like this should work var randomNumber:int = Math.Random * myArray.length; then do something like myArray[randomNumber] whatever - Original Message From: Sean Scott [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, March 1, 2008 9:39:39 PM Subject: [flexcoders]

Re: [flexcoders] Newbie Question - Random position in an array

2008-03-01 Thread Sean Scott
Sherif, Thanks i ended up with var randSeed:Number = new Number(Math.floor( Math.random() * this.techniColors.length)); On Sat, Mar 1, 2008 at 9:48 PM, Sherif Abdou [EMAIL PROTECTED] wrote: something like this should work var randomNumber:int = Math.Random * myArray.length; then do

RE: [flexcoders] newbie question: Timer across components..

2007-03-28 Thread Tracy Spratt
If an event bubbles you can listen for it in any ancestor, like Application.application. Look at the docs for the timer event, to se if if bubbles. If it does not, in the timer component, re-dispatch an event, setting the second argument to true, to make it bubble. Tracy

RE: [flexcoders] newbie question re: BarSeries programatically setting the showDataEffect

2007-03-16 Thread Gordon Smith
myBarSeries.setStyle(showDataEffect, myZoomOutEffect); - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of iilsley Sent: Thursday, March 15, 2007 10:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] newbie question re:

Re: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread cisnky
Is the data from an xml document? If so, can I see your xml doc? On 1/29/07, Tony [EMAIL PROTECTED] wrote: hola peeps! im a newbie, so please bear with me... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical mx:WebService

RE: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread Andrew Trice
PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cisnky Sent: Monday, January 29, 2007 3:17 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Newbie question: Datagrid and a WS Is the data from

Re: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread cisnky
] *On Behalf Of *cisnky *Sent:* Monday, January 29, 2007 3:17 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Newbie question: Datagrid and a WS Is the data from an xml document? If so, can I see your xml doc? On 1/29/07, *Tony* [EMAIL PROTECTED] wrote: hola peeps! im a newbie

RE: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread Andrew Trice
Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cisnky Sent: Monday, January 29, 2007 3:47 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Newbie question: Datagrid and a WS

Re: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread cisnky
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *cisnky *Sent:* Monday, January 29, 2007 3:47 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Newbie question: Datagrid and a WS Do you have time for another datagrid related question? http://tech.groups.yahoo.com/group/flexcoders

Re: [flexcoders] Newbie Question: View states or view stack;

2006-12-20 Thread hank williams
On 12/20/06, Tolis Christomanos [EMAIL PROTECTED] wrote: Hi all! Can you tell me how to structure this.. I have a login form, a register form and then the main application. Should i use states or the view stack to go from form to form and from form to main application. Thanks in advance.

Re: [flexcoders] Newbie question: Showing a vertical scroll bar on application

2006-11-30 Thread Lachlan Cotter
Hi Flexy, If you create a popup window using the PopupManager than it is not part of the normal view hierarchy and so it will not create scroll bars on the application object, even if it is placed partially out of the visible region. Pop-ups float above the main application window so

Re: [flexcoders] Newbie Question: Paging a Datagrid.

2006-11-18 Thread Igor Costa
PCM. Just dind't figure out what exactly you need it. But I guess you are talking about CSS style. you can do it. Just take a look at the CSS Style section in the Datagrid Docs. Best. On 11/17/06, proudestcodemonkey [EMAIL PROTECTED] wrote: I'd like to have a datagrid in my Flex

RE: [flexcoders] newbie question - HTTP servive

2006-08-18 Thread Cathy Reilly
In Flex 2, you need to use 'event.lastResult' - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robin BurrerSent: Thursday, August 17, 2006 9:59 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] newbie question - HTTP servive Hi there, I started

RE: [flexcoders] newbie question - HTTP servive

2006-08-18 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Cathy Reilly Sent: Friday, August 18, 2006 10:38 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] newbie question - HTTP servive In Flex 2, you need to use 'event.lastResult

Re: [flexcoders] Newbie Question - attaching a Sprite

2006-08-11 Thread Michael Schmalle
Hi,You could..var wrapper:IUIComponent = new UIComponent();wrapper.addChild(contentBg);panelOne.addChild(wrapper);This makes it harder to ref and size.You should look into skin subclasses like ProgrammaticSkin. If you make a class that subclasses ProgrammaticSkin, then you can use the graphics

RE: [flexcoders] newbie question: Populating Datagrid from external complex xml

2006-05-18 Thread Tracy Spratt
Have you tried using a labelFunction on each column? That function gets run for every element in the dataProvider array and gets passed a reference tothat item. You can use whatever logic you need to navigate to the data you need, and then return that for the dataGrids use. Take a look at

RE: [flexcoders] Newbie question

2006-04-23 Thread Matt Chotin
Give your services component an id, then refer to it elsewhere. If you put services in your application you could use Application.application.myServices.statsRequest, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex MacCaw Sent: Saturday, April

RE: [flexcoders] Newbie Question: Error being thrown on Grid Sort

2006-04-17 Thread Matt Chotin
This means that the first value in the dataProvider has a null value, it shouldn't be because a random field in the middle is null. You would workaround this by using a sortCompareFunction for the field OR by handling the headerRelease by setting up a SortField with the proper information and

Re: [flexcoders] Newbie Question.

2005-12-21 Thread JesterXL
I can answer the ModelLocator one. ModelLocator is basically a class that holds all of your data. It acts like a Singleton, and Singleton is the new _global! So, where you are used to putting data on _global: _global.my_array = []; You instead put it on ModelLocator: ModelLocator.my_array =

Re: [flexcoders] Newbie Question.

2005-12-21 Thread Rich Tretola
ViewLocator allows you to get an instance of a viewHelper from another file within your app. Ex: Lets say I have a view named Contacts.mxml and have registered a viewHelper like this: view:ContactsViewHelper id=contactsViewHelper / I can then get a reference to my viewHelper from any file

RE: [flexcoders] Newbie Question

2005-11-30 Thread João Fernandes
I usually use the selectedIndex property and use a function to return the index of item corresponding to my id. mx:ComboBox dataProvider={myDp} selectedIndex={myfunction(myDp,idfield,idvalue)} So each item any of those changes, my selecedIndex get updated. João Fernandes Secção de

Re: [flexcoders] Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Clint Modien
Can you tell the list a bit more about your trying to do... it sounds like your going about this the wrong way? On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote: Hi,i'm extremely new to Flex and, although I've seen in a few days partof the potential it has to give, I still got a lot to