dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: i really need help, very frustrated already, tried everything....

  1. #1
    Timr03
    Join Date
    Aug 2002
    Location
    Vancouver
    Posts
    8
    ok... hi guys... i really need help here cuz its really frustrating me, and this might be simple because I'm new at Flash. Anyways this is the problem.....

    I'm trying to make a website using flash and i made it so that my links to the other parts of the page would appear when your cursor rolls over an arrow. First though, an animation would appear that makes it so that the pannel with the links do the different parts of the page would scroll outward into the page.

    its sorta similar to what the music thing does in this page... http://www.zekestudios.com/flash/main.html

    Anyways, to make that effect, i used this actions script...

    on (rollOver) {
    attachMovie("linkage_name","second_name", 1);
    }



    now the problem is that when i use this action on the buttons inside the movie clip it wont work...

    on (release) {
    gotoandplay("scene" 1)
    {


    so i guess to try and sum it all up... "how can i make buttons affect things outside of their own timeline?"

    please help me if any of you have any type of solution it would help me a lot
    thanks bye



  2. #2
    Senior Member
    Join Date
    Apr 2001
    Location
    Sydney, Australia
    Posts
    271
    G'Day,
    first things first. What you've written is a little confusing. It looks as though you've just got a syntax error on the actual button. What is the name of the scene you want to gotoAndPlay? it looks like it's wrong. second of all if that is the name of the scene it should read
    gotoAndPlay("scene",1);
    Note the comma.
    Try that and come back if it still gives you grief with a more substantial explination.

  3. #3
    HELP>>>ACTIONSCRIPT DICTIONARY
    Join Date
    Feb 2000
    Location
    In the Present Moment
    Posts
    1,041
    How can i make buttons affect things outside of their own timeline?
    By targetting the timeline that you want to affect.

    If you are inside of a movieClip sitting on the _root, and you want to affect the _root:

    on(release){
    _root.gotoAndPlay("Scene 1",1);
    //or
    //_parent.gotoAndPlay("Scene 1",1);
    }

    Hierarchy

    _root.box.shoe.lace

    lace is a child of shoe
    box is the _parent of shoe

    So let's say I have a function, on the _root, that I want to apply to lace with a button sitting also on the _root:

    on(release){
    _root.box.shoe.lace.tieMe();
    }



    Good Luck!

  4. #4
    Timr03
    Join Date
    Aug 2002
    Location
    Vancouver
    Posts
    8
    it seems like its working... thanks u guys...

    if there's something wrong that happens i'll just try to get u guys again



    thanks.....

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