Skip to main content
Known Participant
February 14, 2010
Question

swf rotator

  • February 14, 2010
  • 2 replies
  • 1768 views

I need to make a swf rotator. Though the swf's I'm using are not the same size, is this OK?

I could probably get them all to the same height, but not width.

Will this work? All the components I've  looked at require the same size swf's

Thanks

This topic has been closed for replies.

2 replies

Participant
February 26, 2010

Hi,

just came across this thread, I am trying to build exactly the same thing and found reading through your posts very helpfull indeed so thanks for the great advice/questions. I am looking to load in some swfs for a portfolio banner and have buttons generate dynamically based on how many swfs are needing to be pulled in (They will be numbered buttons counting up 1, 2, 3). Based on what I have read I already have enough info to create this, but my one concern was reading about how your sounds carried on playing even after another swf was selected.

I am not sure i fully understand how the loader class deals with the swfs once they are loaded. Ideally you would want it to load them all into cache and then remove them all except the first, but when you click a button the desired swf would then load back instantly from cache completely removing the previous swf (removing the sounds), though still holding it in cache if that makes sense. Does the loader class do this automatically or will it require some complex coding? Is the loader class capable of removing the swfs so the sound would stop playing? Ideally you want to be able to have full control of how the swfs are loaded and unloaded, are there any tutorials available that go into detail or am I expecting too much from the loader class?

Any help is greatly appreciated,

Dave

(Let me know if you solve you sound problem, just out of interest are you declaring the sounds to the stage/root? If you declare the sounds to be local to the swf that might stop them when you change swfs?)

Ned Murphy
Legend
February 14, 2010

What will your swf rotator do?

k_loyAuthor
Known Participant
February 14, 2010

I want to build the rotator as part of my portfolio. So it would not auto-play.

Maybe I need something mor like a swf gallery??

I have about 5 different swf I would like to show.

Thanks

Ned Murphy
Legend
February 14, 2010

You can use the Loader class to load swf files.