because it does not always get incremented... I guess I could though - but I am 
trying to have all the code together in the .as ....

________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Eric E. Dolecki 
[[email protected]]
Sent: Monday, August 30, 2010 1:34 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Accessing .fla var

Why wouldn't you increment countF when you instantiate your mc?


  Google Voice: (508) 656-0622
  Twitter: eric_dolecki      XBoxLive: edolecki      PSN: eric_dolecki
  http://blog.ericd.net



On Mon, Aug 30, 2010 at 1:14 PM, Lehr, Theodore
<[email protected]>wrote:

> In my .fla I have:
>
> var countF:int=0;
>
> then in the library I have a mc with linkage to an .as file
>
> In that .as file, I want to be able to:
>
> countF++;
>
> hope that makes sense.....
>
> ________________________________________
> From: [email protected] [
> [email protected]] On Behalf Of Eric E. Dolecki [
> [email protected]]
> Sent: Monday, August 30, 2010 1:11 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Accessing .fla var
>
> I think you may need to reword your question with more detail. What exactly
> is your setup?
>
>
>  Google Voice: (508) 656-0622
>  Twitter: eric_dolecki      XBoxLive: edolecki      PSN: eric_dolecki
>  http://blog.ericd.net
>
>
>
> On Mon, Aug 30, 2010 at 12:58 PM, Lehr, Theodore
> <[email protected]>wrote:
>
> > How would I access a variable in my .fla from a .as?
> >
> > I just want to do something like:
> >
> > var++;
> >
> > from the .as where the var lives in the .fla......
> >
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to