Because the events are dispatched in the MainApp. Your BasePanel dont
receive the event.
Application
+ MainApp
+ BasePanel
The event is dispatched on the MainApp layer, so, even using bubbles you
wont get
Hi all,
imagine the following scenario (isnt my case, but works):
User input a string and press a button. Apps change the current state to
the that string. That state doesnt exists :(
So, checking the UIComponent.as, the ArgumentError its throw on the
getState, not on setState. This method
Using a labelFunction.
It will receive the data in current line and the column, and must return
a String.
mx:DataGridColumn labelFunction=dateLabelFunction/
private function dateLabelFunction(obj:User,
column:DataGridColumn):String
{
return obj.date.getYear + -; //...
}
-Mensagem
Got that same issue few days ago..
Ive just swap the Panels, putting the higher first... Not that good solution,
but, it has no problems for me.
What you could try is, add canvas as child of the viewStack and panels as child
of the canvas, resulting in a vertical scroll inside the canvas, not
Clean Build Project?
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de tom s
Enviada em: terça-feira, 9 de dezembro de 2008 11:27
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Flex Builder caching PNGs
I'm @Embedding some PNGs to
Hi,
that is the normal behavior. Every message gets the MAX(z-index) + 1.
When you add the first message, you'll have just the application
App Layer | 1st Message
When it comes the 2nd message, that will be above last added message
App Layer | 1st Message | 2nd Message
And so it is on 3rd
just for reference:
http://en.wikipedia.org/wiki/LIFO
-Mensagem original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em
nome de Gaurav J
Enviada em: sexta-feira, 5 de dezembro de 2008 08:37
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Flex : Execution of
Hi!
In case of Remote Objects, thats correct, you'll need to query the server time
to time to get the result of a turn.
About the security of the RO's, its a open connection to your database for
everyone, i.e, you have a method increaseXP(player, amount), if you dont apply
the certain
Setting the timer to null it wont remove their listeners, before that
you need to remove it.
lifeTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, onLifeTimer);
lifeTimer = null;
And you must remove every single listener to successfull get GC'ed
De:
Hi!
You could try obj.contains(childElement) ;
-Mensagem original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em
nome de Hyder
Enviada em: quarta-feira, 19 de novembro de 2008 14:45
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Flash equivalent for hasChild() /
You may use the event keyFocusChange and prevent it:
this.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler);
protected function keyFocusChangeHandler(event:FocusEvent):void
{
event.preventDefault();
}
-Mensagem original-
De: flexcoders@yahoogroups.com
You need to refresh the dataProvider (needs to be bindable).
datagrid.dataProvider.refresh();
-Mensagem original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de oneworld95
Enviada em: terça-feira, 21 de outubro de 2008 13:43
Para: flexcoders@yahoogroups.com
Hi,
what about autoCommit = false, so, you commit everything once its finished.
-Mensagem original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de kcCedrics
Enviada em: sexta-feira, 26 de setembro de 2008 09:29
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders]
Hi,
i've found that, if you set a decimalSeparator for the DateFormatter,
you MUST define a thousandSeparator too, else, you'll get an empty
string. Maybe, is that our bug?
Is that you case?
Hope thats usefull.
-Mensagem original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL
@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On Behalf Of Luciano Manerich Junior
Sent: Monday, June 23, 2008 12:16 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
Subject: RES: [flexcoders] Server to client calls
Hi,
i've just seen the way with Producer/Consumer, but, its just
Hi,
you can do that with application.url:
import mx.core.Application;
Application.application.url
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de
luis_roman_am
Enviada em: segunda-feira, 23 de junho de 2008 05:20
Para:
Hi there,
It is possible with LCDS, BlazeDS or some similar DS to call flex client
methods from the server? If not, this is only possible with FMS?
Thanks in advance.
Hi,
the next screen refresh will be the next frame that flash player
renders it. If you work at 12fps (frames per second), the callLater
method will be executed 83ms after the call.
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em
nome de wwwpl
, and i may interact
with that to call some methods.
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em
nome de Luciano Manerich Junior
Enviada em: segunda-feira, 23 de junho de 2008 15:32
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Server to client
Hi,
why your module will need to call those outside functions? Is that a
non other way option?
If you really need that way, i'ld go for event dispatching and catching
them on the parent.
loader = new Loader();
loader.load(new URLRequest(some.swf));
Hi,
someone can block this user? Probally just went into some vacation and
set an auto-answer for received emails =(
Thanks in advance
Hi,
its because the default instanciation of the objects (auto). its only
the tab that you have navegated into.
You may add a creationPolicy property in the tabnavigator to work
aroung this situation.
mx:TabNavigator creationPolicy=all
De:
Hi,
the Timer Class:
http://livedocs.adobe.com/flex/2/langref/flash/utils/Timer.html
You'll get a lot of samples googling about flex timer
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em
nome de markflex2007
Enviada em: quinta-feira, 5 de junho
Hi,
you may take a look at Timer class:
http://livedocs.adobe.com/flex/2/langref/flash/utils/Timer.html
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em
nome de kenny14390
Enviada em: segunda-feira, 2 de junho de 2008 12:53
Para:
Hi,
you are setting the background Alpha to 0, how do you spec to see some
bgcolor?
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em
nome de Amy
Enviada em: segunda-feira, 2 de junho de 2008 18:47
Para: flexcoders@yahoogroups.com
Assunto:
Hi,
cant you just bind to that property?
mx:TextArea id=elementEdit width=100%
height={elementEdit.textHeight}/
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em
nome de Gordon Franke
Enviada em: quinta-feira, 10 de abril de 2008 11:01
Para:
You MUST import the classes used into the ArrayCollection.
Or, you may use the ArrayElementType, for the auto-import at the
compiler time.
public class LookupData {
[ArrayElementType(package.ClassA)]
public var attributeA:ArrayCollection;
de 2008 17:03
Para: flexcoders@yahoogroups.com
Assunto: Re: RES: [flexcoders] value object binding problem
Luciano,
Thanks it worked for ListClassX but not for MapString, ListClassB.
How do we convert this map to AS3?
Luciano Manerich Junior [EMAIL PROTECTED] wrote:
You MUST import
Hi,
Flex will just call some remote method. You will have to develop some server
(java, php, asp, ...) to do that for your flex app.
There's a lot of samples over the internet.
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Phill B
I would go for not dragging, and just handle the click event, adding an
mouseMove handler to set the new X pos of the object.
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de
djbrown_rotonews
Enviada em: terça-feira, 22 de abril de 2008 12:25
Did you changed the Flex FPS rate? the default value it will give you that poor
performance illusion.
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Randy
Troppmann
Enviada em: terça-feira, 22 de abril de 2008 12:49
Para:
... that is
not what I am trying to do here. My latest need was to build a selection
marquee so I need to manage the position of other sprites based on the one
being dragged.
So what is clobbering the MOUSE_MOVE event?
- Randy
On Tue, Apr 22, 2008 at 10:05 AM, Luciano Manerich Junior [EMAIL PROTECTED]
mailto
Hi,
if you just need to start and finish a function before the next one
execute, i'll have no problems, thats the default behavior.
private function doThisFunction():void
{
myFunctionOne(); // execute and wait for it returns
myFunctionTwo(); // execute and wait for it returns
Hi,
you may override the method scrollVertically from the dataGrid. When you scroll
the mouse, it dispatch an even with the delta, telling you how fast was the
scroll.
And calling the super.scrollVertically() with an fixed delta = 1.
De:
Hi,
you can add an eventListener on the TabNavigator, listening for an
IndexChangedEvent and do all your validations...
And if you need to cancel the current change, you could try an
evt.preventDefault();
private function changeIndex(evt:IndexChangedEvent):void
{
evt.preventDefault();
() doesn't stop the tab from
changing.
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
Luciano Manerich Junior
[EMAIL PROTECTED] wrote:
Hi,
you can add an eventListener on the TabNavigator, listening for an
IndexChangedEvent and do all your validations...
And if you need
Hi there,
Ive got a screen with a full screen dataGrid, after the user select an
item on this dataGrid, i need to split this screen.
The fullscreen dataGrid needs only to have the enough height to show all
the data... using the rowCount doesnt work, as the documentation says
that might not
Enviada em: quinta-feira, 27 de março de 2008 08:44
Para: flexcoders@yahoogroups.com
Assunto: Re: [flexcoders] Using rowCount after setting height
On Thursday 27 Mar 2008, Luciano Manerich Junior wrote:
And using dGrid.height = dGrid.dataProvider.lenght * dGrid.rowHeight,
it adds an extra empty line
Hi,
the device probally will read that information for you, and give as an
String, Number, or some other data type.
I can confirm that from BarCodeReaders... That read the barcode, and give the
code number.
De: flexcoders@yahoogroups.com [mailto:[EMAIL
Hi,
cant you use bottom=0?
mx:Image id=myImage bottom=0 /
You will not have to do that Math thing... But i dont believe that will really
speed up...
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de shivkxr
Enviada em: quinta-feira, 27 de
! That actually fixed the slow motion effect. So I have a solution to my
current problem, but I wonder is something needs to be addressed in Flex?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luciano
Manerich Junior
Sent: Thursday, March 27, 2008 3:33 PM
To: flexcoders
If just set cacheAsBitmat = true, wouldnt work as o-value BlurFilter?
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de joan_lynn
Enviada em: quinta-feira, 27 de março de 2008 17:51
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re:
42 matches
Mail list logo