Professional Web Applications Themes

restarting a bad made sw - Macromedia Director Lingo

hi, I have to restart, when i hit a key, an swf movie, but i cant'use rewind because this movie is made so bad (its a movieclip on frame 1, then rewind don't work) I've proved a lot of solution but the only way i've find is : sprite(my sprite).member=member(0) updatestage sprite(my sprite).member=member("my swf movie") please help me that i have to deliver my work today and i have no more ideas byz...

  1. #1

    Default restarting a bad made sw

    hi,
    I have to restart, when i hit a key, an swf movie, but i cant'use rewind
    because this movie is made so bad (its a movieclip on frame 1, then rewind
    don't work)
    I've proved a lot of solution but the only way i've find is :
    sprite(my sprite).member=member(0)
    updatestage
    sprite(my sprite).member=member("my swf movie")
    please help me that i have to deliver my work today and i have no more ideas

    byz


    +DavE- Guest

  2. #2

    Default Re: restarting a bad made sw

    You can try this inside the Flash movie...

    Put this code inside the "enterframe" event of the Movie clip that you are
    referring to..

    if PlayAgain=TRUE then --PlayAgain is a global variable inside the Flash
    Movie
    gotoAndPlay(1)
    playAgain=FALSE
    end if

    From director set this global variable "PlayAgain" to TRUE whenever you want
    to Rewind the Flash movie as shown below..
    ------
    setVariable(sprite 1, "PlayAgain", TRUE)
    rewind sprite 1
    play sprite 1
    -----
    Hope it works..

    Cheers,
    Ram


    "+DavE-" <davidesattaaliceadsl.it> wrote in message
    news:bk497a$c7b$1forums.macromedia.com...
    > hi,
    > I have to restart, when i hit a key, an swf movie, but i cant'use rewind
    > because this movie is made so bad (its a movieclip on frame 1, then rewind
    > don't work)
    > I've proved a lot of solution but the only way i've find is :
    > sprite(my sprite).member=member(0)
    > updatestage
    > sprite(my sprite).member=member("my swf movie")
    > please help me that i have to deliver my work today and i have no more
    ideas
    >
    > byz
    >
    >

    Ram Guest

  3. #3

    Default Re: restarting a bad made sw

    I can't say to my customer that he has to open flash movie, write that
    script etc, in my program the swf are loaded every time i execute the
    program and this load all the swf in a folder...
    tnx however


    +DavE- Guest

Similar Threads

  1. restarting a bad made swf
    By +Dave- webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 2
    Last Post: September 14th, 05:35 PM
  2. Restarting HDR
    By Jack A in forum Informix
    Replies: 0
    Last Post: August 26th, 08:51 PM
  3. Restarting
    By Jeff in forum Windows XP/2000/ME
    Replies: 3
    Last Post: August 10th, 03:09 AM
  4. restarting IIS from within ASP.NET
    By Simon Weaver in forum ASP.NET General
    Replies: 0
    Last Post: July 22nd, 07:54 PM

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
  •  

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