linking scenes with text?

Ask a Question related to Macromedia Flash Sitedesign, Design and Development.

  1. #1

    Default linking scenes with text?

    is it possible to link scenes just using text? I was going to use << and >> in
    the place of an actual button. Anyone know how to do it easily? I tried
    converting the >>s into symbols but I can't get it to load the second scene
    with the action script

    goScene_btn.onRelease = function (){
    gotoAndStop("Scene 2", 1);
    };

    any help will be greatly appreciated.

    xade Guest

  2. Similar Questions and Discussions

    1. Linking Text Field
      Have you found any success in linking text fields? I have received some information in regards to using javascript but I am hung up due to my...
    2. Linking text files
      I have two text files, one with product availability and the other with pricing and want to join the two together to produce a price list. I have...
    3. Linking Text Fields
      Does anyone know of a way in Acrobat to link more that one text field? Like the article tool, except with form fields. I need to be able to get the...
    4. URL text linking
      Hi On my site there is one area with about 60 names on it, and each has a website that I want to link to. I had already entered all the names and...
    5. linking text problem.
      ok, i've made some text that i wanted to link. then i convert it to a button and made the action when pressed, it plays a movie. everything works...
  3. #2

    Default Re: linking scenes with text?

    try this
    place a button in Scene 1 with this action

    on(release){
    gotoAndStop("frame_Scene_2");
    }

    And name the "first frame" in Scene 2 -> frame_Scene_2
    nardove Guest

  4. #3

    Default Re: linking scenes with text?

    ok, figured out a little bit more stuff with Flash MX s now I can make the text
    a button (by converting to a symbol) but when I test the movie, this comes up
    in the error message thing.

    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Statement must appear
    within on handler
    goScene_btn.onRelease = function (){

    **Error** Scene=Scene 2, layer=Layer 1, frame=1:Line 2: Statement must appear
    within on handler
    goScene_btn.onRelease = function (){

    unsure of how to name frames (can only seem to name layers for some reason) so
    I wasn't able to get your way working.

    xade Guest

  5. #4

    Default Re: linking scenes with text?

    here is how it work

    gotoAndPlay("sceneName", "frame");

    example

    gotoAndPlay("nextFrame", 1);
    exor? Guest

  6. #5

    Default Re: linking scenes with text?

    tried it your way, at one point I took out stop(); commands out of the action
    layer (what I learned from the Macromedia Tutorials in Flash MX 2004) and it
    would flip scene 1 and scene 2 back and forth in a loop. Put stop(); back in
    and my button has the link cursor on it, but when you click it it does nothing.

    still getting

    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Statement must appear
    within on handler
    goScene_btn.onRelease = function (){

    **Error** Scene=Scene 2, layer=Layer 1, frame=1:Line 2: Statement must appear
    within on handler
    goScene_btn.onRelease = function (){

    sorry about the trouble

    xade Guest

  7. #6

    Default Re: linking scenes with text?

    ok, got the links to work but here is the new issue with it, my two buttons are
    << Back and Forward >>. Well, in order for it to activate the Back link, you
    have to click the lower part of the letter 'c'. For the Forward link, you have
    to click the space right after the final '>'. How do I expand it to where you
    can click anywhere within the button and it works?

    xade Guest

  8. #7

    Default Re: linking scenes with text?

    Check manaul on creating buttons. You're interested in the hitstate part.

    John

    --
    ----------------------------------------------------------------------------
    -----------
    RESOURCES
    [url]http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash[/url]
    ----------------------------------------------------------------------------
    -----------
    TUTORIALS at
    [url]www.laiverd.com[/url]
    Flash & PHP Emailform
    Using textfiles in Flash
    ----------------------------------------------------------------------------
    -----------


    Laiverd.COM Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139