I load a swf movieclip with SWFLoader, but I don't know how
to loop it. That is, I want it play like a rotating circle. Is this
possible?
Thanks for the help.How can I loop a movieclip in Flex?
Any idea about it?
I know I can set loop=true when loading SWF in html, but I
can't find such a property in SWFLoader.
Anybody can help me? Thanks a lot!How can I loop a movieclip in Flex?
I don't know the right way to do it, but if you have access
to modify the swf that you are loading, you could put a
gotoAndPlay(0) at the end of the timeline in flash. Flex wouldn't
have control over it, but it would loop.
Thanks schjlatah.
But how can I know that it's the end of the timeline? I went
through the events that SWFLoader and MovieClip can catch and
didn't find an event whick is dispatched at the end of the
timeline.
Have you tried using image instead of swfLoader, and does
your flash timeline have a script at the end of the timeline to go
back to frame 1?
I'm trying to create a flash which is able to load other swf
movieclips created by other persons. Some of these swfs I need to
load have a loop script, and some don't have. I have to loop these
swfs in my own flash without changing them.
Do u think I can do that with image? thanks.
quote:
Originally posted by:
upshotvideo
Have you tried using image instead of swfLoader, and does
your flash timeline have a script at the end of the timeline to go
back to frame 1?
Well I know that its recommended you use Image instead of
swfLoader for static swfs. You would use swfLoader if it were an
AS3 swf so you could work with its properties in flex
No comments:
Post a Comment