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
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
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
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;
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
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
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
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
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
: [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
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
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
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
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
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
@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
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
@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
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
.
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
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
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
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
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
://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
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
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]
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
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
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:
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
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
] *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
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
@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
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.
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
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
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
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
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
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
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
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
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 =
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
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
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
48 matches
Mail list logo