Fresh.Thoughts: Interacting with embedded Flash content in Flex
g_w_master
· 1 month ago
more easy: VolumeBar.swf contain MovieClip animation name "bar" Flex code: [Embed(source="assets/VolumeBar.swf", symbol="bar")] private var SWFBytes:Class; private var bar:MovieClipAsset = MovieClipAsset(new SWFBytes()); public function init():void{ var barImage:Image = new Image(); barImage.source = bar; addChild(barImage);
// now you can accses bar.gotoAndStop(2); }
ulu
· 1 month ago
Thanks for the info! I'm a .Net guy, so I don't do Flex stuff usually, but chances are I'll use your recipe soon.
g_w_master
· 1 month ago
if you need some flex help you can find me ICQ: 102716660 use our free service http://showdocument.com/ free web online conference application
VolumeBar.swf contain MovieClip animation name "bar"
Flex code:
[Embed(source="assets/VolumeBar.swf", symbol="bar")]
private var SWFBytes:Class;
private var bar:MovieClipAsset = MovieClipAsset(new SWFBytes());
public function init():void{
var barImage:Image = new Image();
barImage.source = bar;
addChild(barImage);
// now you can accses
bar.gotoAndStop(2);
}
ICQ: 102716660
use our free service http://showdocument.com/ free web online conference application