A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: problem with sprites

  1. #1
    Junior Member
    Join Date
    Jul 2000
    Posts
    2
    I created sprites and placed sprites in a file. but flash player showing only first sprite its not moving to next sprite in main file. Let me know how to get all sprites display.

    in flash file fowllowing procedure has been given

    file header
    definations for objects
    sprite (sprite contains one more sprite)
    sprite (sprite contains one more sprite)
    sprite (sprite contains one more sprite)
    sprite (sprite contains one more sprite)


  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    501

    re: sprites

    It seems that you misunderstand how flash works. you DO NOT need to create sprites for each frame (or each animation). Basically, sprites are used in flash as "movies within the movie" (kind of confusing to some people at first).

    Usually, you can avoid them all together for most or your movie.

    To show a bunch of sprites in succession follow this precedure:


    Define Sprite_1...Sprite_n

    begin:

    PlaceObject (Cur_Sprite)
    ShowFrame * Spriteframes
    RemoveObject (Cur_Sprite)

    goto begin

    --Jesse

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Posts
    11

    Re: re: sprites

    Originally posted by JAEzell
    It seems that you misunderstand how flash works. you DO NOT need to create sprites for each frame (or each animation). Basically, sprites are used in flash as "movies within the movie" (kind of confusing to some people at first).

    Usually, you can avoid them all together for most or your movie.

    To show a bunch of sprites in succession follow this precedure:


    Define Sprite_1...Sprite_n

    begin:

    PlaceObject (Cur_Sprite)
    ShowFrame * Spriteframes
    RemoveObject (Cur_Sprite)

    goto begin

    --Jesse

    Dear Jesse

    I have one doubt. I want to bring cower down or cower up slide transistion to one of my frame altogether with the graphics it has. how can i do it? (with out using so many show frames)

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