Cycling through several Flash movies with each pageview

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Cycling through several Flash movies with each pageview

    I have six Flash movies that act as a header on a webpage and would like to
    randomly change which one displays each time a user visits/refreshes the page
    using Javascript. I've done it with static images before using this code in the
    header:

    Code:
    <SCRIPT LANGUAGE="JavaScript">
    iArray=new Array(
    "images/photo1.jpg",
    "images/photo2.jpg",
    "images/photo3.jpg",
    "images/photo4.jpg");
    ri=Math.floor(iArray.length*Math.random());
    ri='<IMG SRC="'+ iArray[ri]+ '" BORDER=0>';
    </SCRIPT>
    ...and this where I want the image to be:

    Code:
    <SCRIPT language="JavaScript">
    <!--
    document.write(ri);
    // -->
    </SCRIPT>
    But is there something similar to that which I can use for cycling through
    several Flash movies?

    m19

    Morgan19 Guest

  2. Similar Questions and Discussions

    1. cycling thru a query
      hi. i return a query from a database and am trying to output results on a cfm page. here's the query: SELECT page_name,page_content FROM...
    2. EMBEDDING FLASH MOVIES INTO FLASH FORMS
      Is there a way? EMBEDDING FLASH MOVIES INTO FLASH FORMS
    3. Cold Fusion Cycling Problem (Scheduler?)
      we are having the same problem on IIS6..... were going to double the ram, but this doesnt solve the underlying problem, anyone got any ideas?
    4. Adding dynamic controls to pageview - set location
      Hi I have multipage with several pageview created dynamically then I want to add several controls ( textbox, chechbox) to each pageview also...
    5. cycling images by fading them in and out
      I am creating a cd rom project and part of the display is a series of 7 images placed at the bottom of the screen in a row. There are 21 images all...
  3. #2

    Default Re: Cycling through several Flash movies with eachpageview

    Anyone? Surely there's some way to cycle what Flash movie plays on a page each time...

    m19
    Morgan19 Guest

  4. #3

    Default Re: Cycling through several Flash movies with eachpageview

    I'm still trying to find an answer to this one, if anyone can help. Heck, it
    doesn't even have to be javascript... I just need to track down some way of
    rotating through several Flash movies whenever a user refreshes or revists a
    page.

    m19

    Morgan19 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139