Need Help On This ActionScript

  • I'm working on a pure flash website and it works with external swfs, so on the start it should load one of them too without someone using the navigation (the start page), so I thought I could use the following actionscript on one of the frames from my actions layer:

    this.01.loadMovie("start_01.swf");

    or

    _root.01.loadMovie("start_01.swf");

    but I always get this error:

    **Error** Scene=Scene 1, layer=actions, frame=15:Line 1: Syntax error.
    this.01.loadMovie("start_01.swf");

    Total ActionScript Errors: 1 Reported Errors: 1

    allthough I've checked a couple of times I do have an empty movieclip with the instance name "01". can someone help me out?


  • Instance names and variables cannot begin with a number.


  • but if it HAS to, use this["01"]...


  • next problem:
    I'm using the following preloader in my external swfs:
    http://www.kirupa.com/developer/mx/percentagepreloader.htm

    the preloader pops up but nothing goes on, everything stops and on the main flash file even a few things that faded in before disappear again... when I take out the preloaders from the external swfs it works all fine but I really wanna have them though, help?

    EDIT: I tink this...
    http://www.kirupa.com/developer/mx2004/transitions2.htm
    ...tutorial solves my problem... or am I wrong?


  • nah, no problem I will change it, I didn't know it can't start with a number

    thanx a lot!







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Need Help On This ActionScript , Please add it free.