Results 1 to 5 of 5

Thread: Showing random flash movies. Paging Blizzard

  1. #1
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Showing random flash movies. Paging Blizzard

    I searched this forum and found a thread on showing random flash movies when a page loads. But I can't seem to get it to work. The approach I took was outlined by Blizzard. It seemed simple enough for an actionscript challenged person like me. I placed Blizzard's randomloader movie in a folder with the 2 movies I want to randomly load. I named the movies swf1.swf and swf2.swf like he said to do. I then placed the loader movie on a page. The loader movie has this script:
    i = random(2)+1;
    loadMovie("swf"+i+".swf", "box_container");

    The loader movie shows on the page but it's empty. Neither, sf1.swf nor swf2.swf plays. All I see is an empty background where one or the other movie should play. I'm using Flash CS3 and i saved the loader to flash 8 using actionscript 2.0.

    The only thing I did to the original loader movie was change the size and the background color to match the movies I want it to load.

    Can Blizzard or anyone point me in the right direction on this?

    thanks
    -mark

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Blizzard is a very helpful and knowledgeable member, but everyone here will help if they have the time and know the answer, and I know Blizzard is busy (and already spends a lot of time here).
    Anyway, have patience and you'll get an answer.
    Unfortunately I don't know it.

    I think you'd need to post a bit more info, though, like either a link to a previous discussion you mentioned, or some code.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Hi Mark,

    Unfortunately, my friend Blizzard is MIA at the moment. He's busy with bigger and better things, I'm sure.

    I'm not familiar with his randomloader movie. If you can point out which post of his you're using as a guide, I'll be happy to take a look and see what could be the problem.

  4. #4
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the reply but I figured it out. The embed code is in an include file so I had to adjust the path to the movies in the loader movie. Once I did that, the loader movie worked as advertised.

    Thanks Blizzard for the code!

    -mark

  5. #5
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks guys. I'm new to this forum and I do very little Flash. Consequently what I now about it would fit in a thimble. Nice to find a place where people are willing to help out if they can.

    -mark

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •