Professional Web Applications Themes

Scenes and actionscripts - Macromedia Flash Actionscript

I would like some help on how to make different scenes appear on the same flash export page. And also do I have to use an action script for that?...

Sponsored Links
  1. #1

    Default Scenes and actionscripts

    I would like some help on how to make different scenes appear on the same flash export page. And also do I have to use an action script for that?


    Sponsored Links
    osjibs webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Scenes and actionscripts

    i'm not sure what you're trying to do, but it may help you to know that scenes do not exist outside the authoring environment. they may help you organize your flash while your creating it, but that's all they can help you do.


    kglad webforumsuser@macromedia.com Guest

  3. #3

    Default Re: Scenes and actionscripts

    Thanks for the tip. And sorry about the lack of clarity, but what im trying to say is, can I put different components of a menu or a movie in flash into different scenes, and then use an action script so that for example whenever i point at a button found in one of the scenes (which is irrelevant when the movie is exported as you mentioned) and command that particular scene to start playing? And how would I make it possible for that to happen?

    thanks for your help and time, i appreciate it

    kind regards

    Osem

    !JIBS!
    osjibs Guest

  4. #4

    Default Re: Scenes and actionscripts

    You can move among scenes by means of

    - gotoAndStop(scene, frame)
    - gotoAndPlay(scene, frame)

    where 'scene' is the name of the scene as you declared in the Authoring Environment.

    I always discourage people from using scenes, 'cause they are not well supported in actionscript and can be source of errors. So my question is, sure you need scenes? can't you do the same by using movie clips?

    HTH,

    -c.


    CesareRocchi webforumsuser@macromedia.com Guest

  5. #5

    Default Re: Scenes and actionscripts

    sure you can naviagate from scene to scene. just DON'T use the code shown in CesareRocchi's message. label your frames and use those labels to navigate.



    kglad webforumsuser@macromedia.com Guest

  6. #6

    Default Re: Scenes and actionscripts

    Thanks for your great advice

    The reason for this question is that I want to make a huge menu in flash where i can embed sound and video clips..etc...and i want to make buttons so that when they're pointed at, something on the other side of the screen would move and show a specific sub menu or pictures or start scrolling.

    So i thought that using scenes might be the answer



    !JIBS!
    osjibs Guest

  7. #7

    Default Re: Scenes and actionscripts

    you're welcome. if you're making a huge flash movie, you should learn to "modularize" it by using separate movies (swf's) and loadMovie() or loadMovieNum() so it loads and runs more efficiently.


    kglad webforumsuser@macromedia.com Guest

Similar Threads

  1. external actionscripts question
    By calmchess333 in forum Macromedia Flash Flashcom
    Replies: 4
    Last Post: November 15th, 07:15 PM
  2. Canoma Scenes
    By Spastuscat in forum Macromedia Director 3D
    Replies: 1
    Last Post: February 2nd, 10:12 AM
  3. VERY important Q? about 3d scenes
    By megadirector in forum Macromedia Director 3D
    Replies: 1
    Last Post: July 6th, 12:48 PM
  4. ever used scenes?
    By stephen in forum Macromedia Flash Sitedesign
    Replies: 2
    Last Post: January 22nd, 09:25 PM
  5. Pb with scenes
    By Nicol@s in forum Macromedia Flash
    Replies: 2
    Last Post: September 18th, 12:35 PM

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
  •  

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