A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: controlling loadmovie action

  1. #1
    Member
    Join Date
    Jul 2004
    Location
    toronto
    Posts
    65

    controlling loadmovie action

    hello people,

    i have scripts as follows..

    on (rollOut) {
    gotoAndPlay(180);
    }
    on (release) {
    loadMovie("bio.swf", infoClip);

    }

    is it possible to control the movie play frame10 to 20 again right before the loadmovie action runs?

  2. #2
    Senior Member
    Join Date
    Feb 2004
    Location
    California
    Posts
    174
    could you make your question a little more clear? what movieClip do you want to play from frame 10 - 20?

  3. #3
    Member
    Join Date
    Jul 2004
    Location
    toronto
    Posts
    65
    in mainmovie, there's a button on frame 170

    when rollover, mainmovie goes to frame175 (done this part)

    when rollout, mainmovie goes to fram180 (done this part)

    when button clicked and released, mainmovie plays from frame10 to frame20 (just simply play again its own timeline)
    and then load an external movie named bio.swf to infoClip

    dont know how to tell the mainmovie replay frame10-20 before loadmovie..

  4. #4
    Senior Member green_eye's Avatar
    Join Date
    Apr 2004
    Location
    Sarasota, Florida
    Posts
    1,496
    post your fla so we can have a look

  5. #5
    ActionScriptShooter
    Join Date
    Nov 2000
    Posts
    259
    ur button has

    1. on (rollover)( gotoandplay(170)}
    2. on (rollout){ gotoandplay(175)}
    3. on (press/release) { loadmovie("another.swf","anotherclip")

    ur movie has
    1. frame 175 action stop()
    2. frame 180 action stop()

    right?

    now to my understanding.. put a variable replay=false on frame 170

    on (press) { replay=true; gotoandplay(171) }

    frame 175 action could be
    if(replay)
    play()
    else
    stop()

    frame 180 can have
    if(replay)
    loadmovie("another.swf","anotherclip")
    else
    stop


    hope this helps...

    gagan
    ////// dont go by my syntax this is just to show u understand
    Gagan,
    sachdeva_g@yahoo.com
    Sorry for poor english and bad spellings

    [Recent]Free Freelancer[/Recent]

  6. #6
    Junior Member
    Join Date
    Sep 2004
    Posts
    9

    OPENING 1 SWF FILE USING ANOTHER SWF FILE IN A WEB PAGE

    iam venkat..from dubai

    hi i have an peculiar situation in my client site...that

    i have 1 flash file(name it as small banner) in the web site

    and when i MOUSE OVER it ...i need to RUN another flash file(NAME it as MAIN BANNER)on A pre defined PARTICULAR PLACE ...

    and as soon as I take my mouse OUT FROM THE small banner FLASH file...THE MAIN BANNER flash file should DISAPPEAR

    so is this really possible?

    if this is possible could u pls guide me in that?

    regards
    venkat
    ramvenkatraj@hotmail.com

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center