A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: dynamic loading of movie and sprites

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    14

    dynamic loading of movie and sprites

    It has been a while since I worked with 3DFA.

    The updates look great!

    One thing that is missing, though, is the loadMovie command.

    Even in Scripting it seems to not allow dynamic loading of swf files in already opened movie containers or as sprites.

    For ex. If I wanted to load swf file 123.swf into an already opened movie, I do not see anyway to do that in the current release.

    What am I missing?

    Any help appreciated.

  2. #2
    Senior Member kusco's Avatar
    Join Date
    Nov 2001
    Posts
    681
    'loadMovie' is Flash 8 only. It was entirely replaced in the Flash 9 format with the 'Loader' class.

    3DFA still supports loadMovie as a placeholder function which works only on Flash 8 export. It is documented in the 'Language Syntax' helper under 'Sprites' under 'Flash 8 compatibility'.

    3DFA's Loader element will load a SWF file for you, generating the code for both Flash 8 and 9 export.
    Cheers,
    kusco
    (3DFA Support Team)

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Posts
    14

    Still tryng to dynamically load a file.

    Could you possibly post a working sample of a simple movie?

    Two buttons:
    Pressing one loads a swf file from hard drive to a sprite or movie holder.
    Pressing the other loads a different swf file into the same sprite,movie...

    I see how the loader element loads a file that is selected at development time but how to do it programatically... is still not clear to me.

    Thanks for your help

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center