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

Reply via email to