Re: [flexcoders] Actionscript question

2009-03-03 Thread Haykel BEN JEMIA
The metadata belongs to the class, so you have to put it directly before the class definition like this: package { import flash.display.Sprite; [SWF(backgroundColor=#ff)] public class SampleClass extends Sprite { public function SampleClass() { } } } Haykel Ben Jemia

[flexcoders] Actionscript question

2009-03-02 Thread elevight
I have created an empty actionscript class, and I'm trying to use metadata to change the background color: package { [SWF(backgroundColor=#ff)] import flash.display.Sprite; public class SampleClass extends Sprite { public function

[flexcoders] Actionscript question - for each

2007-11-14 Thread Josh McDonald
Where can I and can't I use for each (foo in bar)? Is it supposed to work with a bunch of iterable objects like ArrayCollection, or is it solely for dynamic objects and arrays? If it does work with higher level objects, how do you build support for it into your classes? Cheers, -Josh -- This

Re: [flexcoders] Actionscript question - for each

2007-11-14 Thread Douglas Knudsen
check this out http://livedocs.adobe.com/flex/201/html/03_Language_and_Syntax_160_16.html DK On Nov 14, 2007 7:54 PM, Josh McDonald [EMAIL PROTECTED] wrote: Where can I and can't I use for each (foo in bar)? Is it supposed to work with a bunch of iterable objects like ArrayCollection, or

Re: [flexcoders] Actionscript question - for each

2007-11-14 Thread Josh McDonald
Yeah I've read that before, but now I think about it some more I think perhaps it does answer my questions - Am I correct then in assuming that ArrayCollection supports for...each by being a dynamic object and exposing items you add via some sort of dynamic property as well as via getItem()?

RE: [flexcoders] ActionScript Question

2006-06-06 Thread Tracy Spratt
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of s_hernandez01 Sent: Tuesday, June 06, 2006 5:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ActionScript Question Hi all, I am not familiar with actionscript in flex and I am building a store catalog. I want

[flexcoders] ActionScript question

2005-03-30 Thread [EMAIL PROTECTED]
Sorry, premised, i don't know very well ActionScript, but can you to explain me why ActionScript if have 2 functions like these delegate.getSchedaMisure(mx.core.Application.application.vopf[0],0,100); delegate.ClonaCicli((CCicliMisureVO)

RE: [flexcoders] ActionScript question

2005-03-30 Thread Abdul Qabiz
] ActionScript question Sorry, premised, i don't know very well ActionScript, but can you to explain me why ActionScript if have 2 functions like these delegate.getSchedaMisure(mx.core.Application.application.vopf[0],0,100); delegate.ClonaCicli((CCicliMisureVO) event.data

Re: [flexcoders] ActionScript question

2005-03-30 Thread [EMAIL PROTECTED]
: [flexcoders] ActionScript question Sorry, premised, i don't know very well ActionScript, but can you to explain me why ActionScript if have 2 functions like these delegate.getSchedaMisure(mx.core.Application.application.vopf[0],0,100); delegate.ClonaCicli((CCicliMisureVO