1 Reply Latest reply on Apr 17, 2006 8:38 AM by Newsgroup_User

    Action script powerful?

      I'm new to flash and action script but working a little bit with it i have found some problems. Imagine I want build an html with 4 pictures on in. obiously these pictures can be anyone, i mean , i pass a parameter to the page and it loads the pictures i need. Can i do these with flash?. Imagine that instead of 4 pictures i want to show 6, is this possible?. Flash works with symbol. must all the symbols be defined in the flash at design time or i can add symbols at execution time to show the pictures i want?. thanks in advance.
        • 1. Re: Action script powerful?
          Level 7
          xaviolo,

          > I'm new to flash and action script but working a little bit
          > with it i have found some problems.

          Okay.

          > Imagine I want build an html with 4 pictures on in.

          But we're not dealing with HTML, right? We're dealing with Flash.

          > obiously these pictures can be anyone, i mean , i pass a
          > parameter to the page and it loads the pictures i need.

          Sure, you can do this with JavaScript, PHP, ASP, etc. I'm with you.

          > Can i do these with flash?

          Yes.

          > Imagine that instead of 4 pictures i want to show 6, is this
          > possible?

          Yes.

          > Flash works with symbol. must all the symbols be defined
          > in the flash at design time or i can add symbols at execution
          > time to show the pictures i want?

          You can use the MovieClip.createEmptyMovieClip() method to dynamically
          generate movie clip symbols at runtime. In fact, do yourself a favor and
          study the "MovieClip class" entry in detail. Classes define objects, and
          just about everything in ActionScript is an object. Movie clips are defined
          by the MovieClip class. Their characteristics are listed under the
          Properties summary, things they can do are listed under the Methods summary,
          and things they can react to are listed under the Event summary.


          David
          stiller (at) quip (dot) net
          Dev essays: http://www.quip.net/blog/
          "Luck is the residue of good design."