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
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
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
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
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
: 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
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
, 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
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
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)
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
11 matches
Mail list logo