Welcome to TalkGraphics.com
Results 1 to 10 of 33

Hybrid View

  1. #1
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Assigning Actions Withing a MovieClip

    Quote Originally Posted by Availor
    Hey guys thanks alot for your help. I've read some books and the _parent thing is supposed to work, though I don't understand why it doesnt work for me :-)
    My original suggestion was to use "_parent.nextframe (); ", Egg spotted my capitalisation error, since it should really be "_parent.nextFrame(); ".

    The capital F really counts, so perhaps that's the problem?

    Paul
    IP

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,936

    Default Re: Assigning Actions Withing a MovieClip

    Availor,

    If you let me know what version of Flash your using I'll upload a zipped fla file.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  3. #3
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Assigning Actions Withing a MovieClip

    Until recently I had flash MX, now I've got Studio 8.
    IP

  4. #4
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Assigning Actions Withing a MovieClip

    HEEEY It works!!!! Thanks all!!! Silly me, I forgot to assign stop(); to the first parent frame
    nooby mistake but I guess we all started from somewhere....

    So now it works just perfect!

    Can I use gotoAndStop (_parent , 1); synthax somehow?
    IP

  5. #5
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Assigning Actions Withing a MovieClip

    Quote Originally Posted by Availor
    Can I use gotoAndStop (_parent , 1); synthax somehow?
    Well, if you use that in a nested MovieClip, all that will happen is that you'll keep returning to frame 1 of the _root (ie the main movie) timeline and get nowhere.

    Glad it now works - go with what you've got to work.

    Paul
    IP

  6. #6
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Assigning Actions Withing a MovieClip

    I gave frame 1 as an example, it can be 2 or 3 or "instancename".

    I purchased several courses from CartoonSmart.com and several books regarding actionscript and flash issue. They all tend to create too many frames.
    I wanted to work this way becuase it's easier to change content.
    IP

  7. #7
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Assigning Actions Withing a MovieClip

    I figured it out!

    The easiest synthax would be:

    on (release) {
    with (_root) {
    gotoAndStop ("Instance");
    }
    }

    Hope that it will help some of you as well :-)
    IP

 

 

Bookmarks

Posting Permissions

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