I seriously doubt it.
My understanding is that meta tags (Embed included) are executed compile
time or author time (in the case of inspectable), but not run time.
I could be wrong, that's just my understanding.
thanks,
Iman
On Tue, Nov 25, 2008 at 2:36 PM, <[EMAIL PROTECTED]> wrote:
> Hi
> Does anyone know if its possible to somehow dynamically create the embed
> tag when using FlashCS4 to publish FP10 content?
>
> Instead of the following where the embed tag is hardcoded
>
> //CODE START
> package {
> import flash.display.*;
> public class MyEmbed extends Sprite {
>
> [Embed(source="../images/foo.gif")]
> private var myClass:Class;
>
> public function MyEmbed () {
>
> var displayObj:DisplayObject = new myClass();
> addChild(displayObj);
>
> }
> }
> }
> //CODE END
>
> [f] www.flickr.com/photos/bitstream
> [c] 416.668.0034
> [w] www.bitstream.ca
> --------------------------------------------
> "...all improvisation is life in search of a style."
> - Bruce Mau,'LifeStyle'
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org