A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: contolling several external swfs with one button

Hybrid View

  1. #1
    Senior Member
    Join Date
    Mar 2004
    Location
    germny
    Posts
    109

    contolling several external swfs with one button

    hello,
    i have a navigation on level0. from this i control via buttons several external swfs. i want to control with i.e. button2 two swfs to play one after another in the following way: 1.swf should go to frame2 and when finishing playing, 2.swf should start playing.
    what i have now is:

    code:

    on (release) {
    _level1.gotoAndPlay(2);
    _root.ladefilm = "1.swf";
    }



    this is for playing 1.swf frame2. but what do i have to tell my button when i want 2.swf play afterwards?
    someone got an idea?

    noodle

  2. #2
    Senior Member inder_s2010's Avatar
    Join Date
    Apr 2004
    Location
    don't no
    Posts
    198
    at the last frame of 1.swf give code to load ur 2.swf
    inder

  3. #3
    Who, What, Why ... ? Fraggs's Avatar
    Join Date
    Jul 2003
    Location
    Flashland .. where else ?
    Posts
    786
    Its possibly slightly more complicated than that as there might be variables to take into account.

  4. #4
    Senior Member
    Join Date
    Mar 2004
    Location
    germny
    Posts
    109

    complicated...

    the problem might be that i have a navigation with at least 15 items. so if i have 1.swf loaded and tell him in the last frame to load 2.swf that might work but how should this work with e.g. swf.15?
    it's really a bit more complicated...what it all boils down to is the following: i want smooth transitions between the single swfs. so if i have 1.swf and click button15 to load 15.swf there should be played some transition-part before 15.swf shows up.
    you can see what i mean when you visit
    http://www.tmline2000.dk/gb/index.html

    e.g. the 'bedroom' items...there is what i mean. wonderful smooth transitions between the movies.
    any idea how to do this? maybe this won't even work with external swfs?

    noodle

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