A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: preloader question...almost there

  1. #1
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140
    I'm almost there with this preloader thang, but stuck at this point... (if it makes a difference, I'm using Flash MX)

    I have 2 scenes "preload" and "movie"

    On my preloader scene I have this AS in the first frame:


    If Frame Is Loaded (Movie, 1122)
    Go to and Play (Movie, 1)
    End Frame Loaded



    On the second frame, I have this AS:

    Go to and Play (preload, 1)


    I've looked at various tutes and can't figure what I'm doing wrong. When I test movie, I get these errors:


    Scene=preload, Layer=Actions, Frame=1: Line 1: ';' expected
    If Frame Is Loaded (Movie, 1122)

    Scene=preload, Layer=Actions, Frame=1: Line 2: ';' expected
    Go to and Play (Movie, 1)

    Scene=preload, Layer=Actions, Frame=1: Line 3: ';' expected
    End Frame Loaded

    Scene=preload, Layer=Actions, Frame=2: Line 1: ';' expected
    Go to and Play (preload, 1)


    It seems obvious that I need to place ';' somewhere, or is it that I just need to place ; somewhere? I've tried both ';' and ; and placed it several different places in the code, but nothing seems to work.

    What obvious thing am I missing?

    Thanks

  2. #2
    Member
    Join Date
    Jan 2002
    Posts
    42
    Hello, try this script


    FIRST FRAME:

    ifFrameLoaded ("Movie", 1122) {
    gotoAndPlay ("Movie", 1);
    }


    SECOND FRAME:

    gotoAndPlay (1);


    You forgot these things """""""""""""""""", I don't now the english word for them.


    Good luck
    [Edited by Martin974 on 06-26-2002 at 01:59 PM]

  3. #3
    Owner of the ™ thread tublu's Avatar
    Join Date
    Nov 2000
    Posts
    2,430
    try this LINK

  4. #4
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140
    Thanks, I'll try both of these solutions when I finish another project, I'm sure I'll get one of them to work.

    Thanks again.

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