dcsimg
A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 26 of 26

Thread: Flash MX Dynamic text

  1. #21
    Junior Member
    Join Date
    Dec 2003
    Posts
    14
    Bad news! I talked to my manager and he allowed me to post the source file. Bad news it is becuase my code is poorly commented and its a mess too! Hehe, I am uploading files


    http://www.geocities.com/jimmyman99/sp2/HB2_PS2.fla
    http://www.geocities.com/jimmyman99/sp2/inbar.txt
    http://www.geocities.com/jimmyman99/sp2/path.txt
    http://www.geocities.com/jimmyman99/...nsorLogo01.swf
    http://www.geocities.com/jimmyman99/sp2/sponsors.txt
    http://www.geocities.com/jimmyman99/sp2/upcoming.txt


    Dont forget to just copy this link, open a new browser and paste it there. This should be all you need to run the leaderboard.
    Thanks

    Best Regards,
    James R.
    -----
    If its not broken, then break it, fix it and bill it.
    -----

  2. #22
    Senior Member
    Join Date
    May 2001
    Posts
    351
    the brendan hall book is ok
    there is a book by wiliam drol from apres publications called obeject oriented macromedia flash that i LOVE
    its excellent
    it really changed the way i program, easy to follow, and good code samples

    anyhow, scrolling each individual panel cant be effective, which i think you know

    i would put each panel in a panel holder and then scroll the panel holder, one object which holds many
    thats the way i programed my example

    if that still maxes out the cpu, then i would look into removing/adding panels as it scrolls

    but definetly look into putting all panels into an empty clip called something like panel_holder
    then do panel_holder.attachMovieClip("panel", "panel_" + i), where i is 1, 2, 3, so on

    scroll one, not many, thats my approach

  3. #23
    Junior Member
    Join Date
    Dec 2003
    Posts
    14
    Tried that, same results
    Made one movie clip, then duplicated panels into that movie clip, then just moved the movie clip itself.

    Im moving maximum 9 panels at the same time, not sure if thats a lot or not.
    I tested my current method with no text being displayed in the text boxes and the CPU usage lowered down a lot. The dynamic text boxes were stil present, they were just empty. In my opinion its the amount of characters inside a dynamic textbox that is being scrolled that peaks CPU at 100%. Unless i am missing a point.

    Best Regards,
    James R.
    -----
    If its not broken, then break it, fix it and bill it.
    -----

  4. #24
    Senior Member
    Join Date
    May 2001
    Posts
    351
    man, i need a job writing flash
    i just saw your files, reading then now

    you got a lot of code for your scrolling
    i would use onEnterFrame instead of inline code like that

    ill post my example when i get home, just for you, lol

  5. #25
    Junior Member
    Join Date
    Dec 2003
    Posts
    14
    Thanks. I realise my code isnt good. But I only have 6 months of experience with Flash, most of it was on a design side. I only recently (max a month or so) started getting into AS side of it. The company im working at considered hiring someone with lots of experience to basically teach me for a week or two, but I think they changed their minds or something, cuase I hear nothing about that.
    So I have to learn from books, from my little experience with java/c/c++ and from forums like this. If I cant make efficient flash files - thats another half of a year volunteering for me

    Best Regards,
    James R.
    -----
    If its not broken, then break it, fix it and bill it.
    -----

  6. #26
    Junior Member
    Join Date
    Dec 2003
    Posts
    14
    Oh and Im sorry I forgot to thank you for helping me out - THANKS!
    -----
    If its not broken, then break it, fix it and bill it.
    -----

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