Re: [flexcoders] [ANN] Flexmojos 3.3.0 is out!

2009-08-24 Thread Edward Yakop
Congrats Regards, Edward Yakop On Mon, Aug 24, 2009 at 09:47, Marvin Froedervelo...@gmail.com wrote: Last weekend was released Flexmojos 3.3.0. Flexmojos provides first-class support for Flex and AIR development within Apache Maven. It allow maven to compile, optimize, test and … Flex

Re: [flexcoders] WITH construction ?

2007-11-05 Thread Edward Yakop
I'm not sure what u meant, but [with] statement does exists. For example, taken from the flex doc: code var a:Number, x:Number, y:Number; with (Math) { a = PI * pow(r, 2); x = r * cos(PI); y = r * sin(PI / 2); } /code where pow, cos and sin are static method of Math. Regards, Edward Yakop

Re: [flexcoders] Binding Array as Data Provider for Combobox.

2007-11-05 Thread Edward Yakop
public function createTimeArray():void{ ... // Cut var ta:Array = new Array(); // Here is the problem. The problem is here. You create a local variable [ta]. You overshadow the class member [ta]. Regards, Edward Yakop

Re: [flexcoders] WITH construction ?

2007-11-05 Thread Edward Yakop
10 trace( test2.prop4 ); // Display 20 } ]] /mx:Script /mx:WindowedApplication /code Regards, Edward Yakop

Re: [flexcoders] Help--Volume Control

2007-11-02 Thread Edward Yakop
; _volumeSlider.addEventListener( SliderEvent.CHANGE, onSoundVolumeChange ); [/code] and for the onSoundVolumeChange method [code] var volumen:Number = _volumeSlider.value * 0.01; var soundTransform:SoundTransform = _stream.soundTransform; soundTransform.volume = _soundVolume; [/code] Regards, Edward Yakop

Re: [flexcoders] switching states and binding

2007-10-31 Thread Edward Yakop
Can anyone clarify this behaviour out for me, because I don't see where the altered value can be saved, except for the variable imgURL. But if that is the case, then why isn't the text-view updated? Have you try to use [data={imgURL}] instead of [text={imgURL}]? Regards, Edward Yakop

Re: [flexcoders] In panic - Flex Builder 3 Beta 2 sandbox violation error

2007-10-31 Thread Edward Yakop
That's because your flash player is updated. U could reset the global security and set your URL to be a trusted location. http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html Regards, Edward Yakop Note: click on the third icon from the left and set

Re: [flexcoders] comboBox as itemRenderer and rendererIsEditor

2007-10-31 Thread Edward Yakop
[TypeComboBoxRenderer] when somebody set the data. Regards, Edward Yakop

Re: [flexcoders] Sort object by property name

2007-10-31 Thread Edward Yakop
], to access the value. } /code Regards, Edward Yakop

Re: [flexcoders] Re: switching states and binding

2007-10-31 Thread Edward Yakop
is better when u want to support cancel value. Regards, Edward Yakop

Re: [flexcoders] datagrids and data changes

2007-10-31 Thread Edward Yakop
looking for is [mx.events.CollectionEventKind.UPDATE]. This way you don't have to iterate your array collection. The draw back is u have to store what has been modified even if the user doesn't click submit. Regards, Edward Yakop

Re: [flexcoders] Question about adding dynamically populating a visible element ...

2007-10-31 Thread Edward Yakop
Is there a way to do what I want, or do I always need to use addChild? You have to use addChild and, A child can only be added to 1 parent at any time. So, this idea will not work, unless if u can somehow create a new instance of [confbox] all the time. Regards, Edward Yakop