开发者

Controlling the Mc's of a loaded SWF

开发者 https://www.devze.com 2022-12-27 23:32 出处:网络
I have a controller.swf which loads开发者_StackOverflow an external swf into a movieclip. news_mc = loadEvent.currentTarget.content as MovieClip;

I have a controller.swf which loads开发者_StackOverflow an external swf into a movieclip.

news_mc = loadEvent.currentTarget.content as MovieClip;

the swf is called "news.swf" and has a movieclip on the maintimeline, frame 1 called "sb".

I have tried everything to access this such as

mews_mc.sb.alpha = 0;

but nothing works?


have you tried:

news_mc['sb'].alpha = 0;

are you sure the news_mc and news_mc['sb'] are not null?

0

精彩评论

暂无评论...
验证码 换一张
取 消