2 Replies Latest reply on Jun 28, 2007 3:45 PM by AdobeMe123

    Flash actionscript 3.0, dynamic jpeg routine

    AdobeMe123
      Hi all. I am a newbie to Flash and action script.

      I bumbled through this with AS2. I would like to learn how to do this in AS3:

      From within an HTML page, I have this:

      <html>
      <body>
      <noscript>
      <object classid="clsid:d27c..." codebase =" http://download.macro..."
      .
      .
      .
      <param name="movie" value="loadimage.swf?jpeg1=pic1.jpg&jpeg2=pic2.jpg..." >
      .
      .
      </object>
      </noscript>
      </body>
      </html>

      Problem:

      The "loadimage.swf?jpeg1=pic1.jpg&jpeg2=pic2.jpg..." line contains a url encoded list of name and value pairs. In AS2 I could address jpeg1 from the _root object.


      Requirements:

      - I do not want to write a seperate text or xml file.
      - I would like to learn how to do this in ActionScript 3.0.

      In AS2, I could just address the vars off of the _root time variable. How do I address using AS3?

      Thank you