A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: 1 web page, 2 flash movies. One plays as soon as the other is done

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    11

    1 web page, 2 flash movies. One plays as soon as the other is done

    Hi, I need some advice because I'm not sure how to tackle this. I'm using Flash CS3.

    I have a web page that automatically starts a random movie clip of a person saying, "Welcome to our site" As soon as that flash file is done, I want it to trigger a larger movie on the page.

    Is that possible?

    Is there a term for it so I can Google a tutorial or if someone has done that before, can point me in the right direction?

    It seems feasible to a Flash newbie like me to think that as soon as the first movie clip is done, there's something in that code that can trigger another external Flash file.

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You want to load a movie into that movie?
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Nov 2007
    Posts
    11
    No, it's two separate flash files playing two different movies on the same web page. I just want FileB.swf to start when FileA.swf is done.
    Last edited by acardillac; 02-13-2009 at 01:54 PM.

  4. #4
    Junior Member
    Join Date
    Nov 2007
    Posts
    11
    Maybe a better way to say it is that when FileA.swf is complete, then trigger the play function of FileB.swf

  5. #5
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You need to use LocalConnection. Check here, there are examples.
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/
    - The right of the People to create Flash movies shall not be infringed. -

  6. #6
    Junior Member
    Join Date
    Nov 2007
    Posts
    11
    Thanks, I'll look into that and see if it will work out for me

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