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 S

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()? Cheer

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

[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

2006-06-06 Thread Tracy Spratt
: flexcoders@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

[flexcoders] ActionScript Question

2006-06-06 Thread s_hernandez01
Hi all, I am not familiar with actionscript in flex and I am building a store catalog. I want to be able to when a user clicks on an item it then transitions to a product details page; similar to the one that flexstore provides in the beta download. I tried using just a transitions tag, but I c

RE: [flexcoders] ActionScript question

2005-03-30 Thread Matt Chotin
, March 30, 2005 5:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ActionScript question   Hi, it's ok , but i can't to put into my second function into "onResult handler" because, "this second function" not  must throws always. Sorry in few words, i h

Re: [flexcoders] ActionScript question

2005-03-30 Thread [EMAIL PROTECTED]
CTED] [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 30, 2005 4:48 PM >To: Flex Coders >Subject: [flexcoders] ActionScript question > > >Sorry, >premised, i don't know very well ActionScript, but can you to explain >me why ActionScript if ha

RE: [flexcoders] ActionScript question

2005-03-30 Thread Abdul Qabiz
oders] 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)

[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) event.data,mx.core.Application.ap