A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: actionscript philosophy (newbie

  1. #1
    Member
    Join Date
    Apr 2002
    Posts
    52

    actionscript philosophy (newbie

    hoi,

    i still don't understand actionscript philosophy...

    i just made an intro- with a bunch of simple tweens, and once in a while a background image(approx. 65kb)fading in and out etc, but its goin sooo slow and jittery (online).
    Would actionscripting all this make it run significantly smoother?

    More specifically, my site's background has a tween of 2bars moving about masking an image(65kb) on top of another image (65kb), but this totally slows all navigation. i've seen other sites do this with no problem-.. is this solved with actionscript?

    cheers for any help

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    The main issue is what happens in the movie, not really if its scripted or not. The bigger the graphics, tweenings, use of any alpha and so on will slow down the movie.

    A url to you site would help to see if it behaves in a normal fashion or not, depending on what you use in your movie.

    Changing the framerate could help, but depends on what you have now.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Member
    Join Date
    Apr 2002
    Posts
    52
    i already changed the framerate from 20 to 35f/s with no difference online.
    The movie doesn't seem to be too intense to me, but here's
    the url: http://xbiralism.com/fbtestsite.html

    It consists of 5 swf's btw

  4. #4
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    If you have 5 swf's on top of eachother, it will only add to the "slowness". You use a lot of alpha, which is the hardest thing on the cpu. Although even i the beginning its slow.

    Its hard to say really what slows it down. It could be the text on the sides if it is not a simple bitmap.

    By the way, the topmargin stuff should be in the top body tag.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  5. #5
    Member
    Join Date
    Apr 2002
    Posts
    52
    Hey thanks for the tips.

    I'm glad u told me about the slowness of the several swfs and the aplha thing. You're right, the text could be it- r u saying that as an image its lighter as opposed to text broke down?

    I don't understand what u mean by the topmargin and the topbody tho?

    cheers

  6. #6
    Member
    Join Date
    Apr 2002
    Posts
    52
    yay!
    turned the text to an image- and its super speedy now-
    thanks again

  7. #7
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    In the body tag of the html you have some alignemnt variables. They should be on the top body tag.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  8. #8
    Member
    Join Date
    Apr 2002
    Posts
    52
    aha gotcha..well spotted

    thanks again m8

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