A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Linking between top and buttom in frames

  1. #1
    Senior Member ikaros's Avatar
    Join Date
    Aug 2002
    Location
    Approaching the Sun
    Posts
    480

    Linking between top and buttom in frames

    Hi,
    thank you for reading this.

    I have a framepage with one topframe and a bottomframe. In the topframe there is a button in the swf that when clicking on it the swf in the bottomframe should go to a specific frame number - i.g. frame number 20. What would be the actionscript that I put in the button?

    Thanx for any answers!
    Regards ik.
    I cannot live without dreaming, but maybe it is just a dream that I am living...

  2. #2
    if you are refering to LAYERS (when you say top and bottom frame) then there is no way to move the time line on ONE layer but not ANOTHER, however you can simply move the movie to a specific point with the following code:
    click on the button and in its actions put
    _____________________________________________
    on(release){
    gotoAndPlay("20");
    }
    ____________________________________________
    You could also use gotoAndStop and release could be changed to many other things (just keep your actions panel in simple mode, not expert, and Flash will show you what you can put where.

    cheers
    [swf width="300" height="40" background="#333333"]http://www.dstudios.net/dfooter.swf[/swf] -- maybe i should pay my hosting bills....

  3. #3
    Senior Member ikaros's Avatar
    Join Date
    Aug 2002
    Location
    Approaching the Sun
    Posts
    480

    Html

    Yes, well. I see I have explained a bit unclear.
    There are frames in a Flash Movie. And then there are frames in a html-page. It is the html-frames I am refering to.

    I did this to examplify:
    http://w1.462.telia.com/~u46213480/example.html

    Thanx! ik.
    I cannot live without dreaming, but maybe it is just a dream that I am living...

  4. #4
    Senior Member
    Join Date
    Feb 2002
    Posts
    536
    I guess u need to use the localConnection command.

    Take a look in the flash help and try to use its example.

  5. #5
    Senior Member ikaros's Avatar
    Join Date
    Aug 2002
    Location
    Approaching the Sun
    Posts
    480
    Ahaa...yea I see. Sending and receiving.
    By the way if someone else is interested I found a tutorial at:

    http://www.actionscript.org/tutorial...alConnections/
    I cannot live without dreaming, but maybe it is just a dream that I am living...

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