I would sudgest the following.

1. you can simply define variables by creating an AS file the complier
parses. you can declare the vars in there
2. There is an existing open source complier called MTASC  (osflash.org has
lots of info on this)

hope that helps

On 7/16/06, Jeff Stearns <[EMAIL PROTECTED]> wrote:

Mike et al -

I'm targeting the current Flash player releases on Linux, Windows,
and Mac, so that would be Flash 7 through 9.

I'm generating the SWF's using a SWF compiler that I wrote, so I have
total control over the SWF file that I generate.

Hopes this helps,

-jeff


On Jul 15, 2006, at 10:32 PM, Mike Britton wrote:

> A couple questions for you Jeff:
>
> 1. What version of Flash player are you targeting?
> 2. How are you generating the swfs?
>
>
> Mike
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


On Jul 15, 2006, at 10:27 PM, Jeff Stearns wrote:

> I hope that you'll take pity on a Flash novice.  I'm an experienced
> programmer, but Flash is very new to me.
>
> I need to generate SWF movie files containing embedded data such as
> title, production year, etc.  The Flash player needs to be able to
> read these values when it starts playing the movie.
>
> I'd really appreciate advice on how best to do this.
>
> I wrote the program which generates the SWF files, so I have
> complete control over their content.  I tried embedding variable
> assignments in the first frame of my SWF files by generating the
> bytecodes to perform variable assignments (ActionPush "year",
> ActionPush 2006, ActionSetVariable).  But I can't figure out how to
> access these variables from the Flash player.  Hints?
>
> Or is there a better way to approach this?  All I want is for the
> player to be able to extract a few values from each movie file.
>
> Thanks for your help!  -jeff
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to