A Flash Developer Resource Site

Page 8 of 8 FirstFirst ... 45678
Results 141 to 153 of 153

Thread: Flash Battle :: Transitions

  1. #141
    FK'n Elitist Super Mod EVPohovich's Avatar
    Join Date
    Dec 2000
    Location
    About to BAN you!
    Posts
    3,023
    So, when do we get to see this thing?

  2. #142
    associate admedia's Avatar
    Join Date
    Oct 2001
    Location
    is
    Posts
    1,347
    Quote Originally Posted by EVPohovich
    So, when do we get to see this thing?
    We are just waiting for Dricotti's final volley.

    Shouldn't be long now.

  3. #143
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    Honolulu
    Posts
    2,429
    I just wanted to appologize for my laziness. I threw in my volley on a whim and never really payed attention after that. You could have in all fairness eliminated my posts but thanks for being cool about it.

  4. #144
    ·»¤«· >flashl!ght<'s Avatar
    Join Date
    Jun 2003
    Posts
    746
    EVPohovich -
    Waiting for the final volley from Dricciotti, and we'll give him time. Then I have to put it all together, but I've partially already done that and been tracking things along the way to make sure it will be easy, so that shouldn't take long. I would say it'll be up the same day as Dricciotti's volley, and I expect his volley in a day or 2[EDIT] No problem Dricciotti, whenever you have it is cool. You have the last volley, so take your time.[/EDIT].
    While I'm here, any thoughts on the preloader? I'm thinking a minimalistic 11 sqaures, each one colored based on the transition, they 'pop' onscreen as it loads - or it could be a plain bar, so one has to discover the colors as they come - then a 'click to play' plain text button after it loads. And perhaps a 'press [A] to show transition author' or something.

    jAQUAN -
    No worries, it's all working smoothly now, and in time, so it doesn't matter to me
    Last edited by >flashl!ght<; 08-25-2005 at 03:08 PM.
    >flashl!ght<
    All the normal names were taken.
    Ron Paul was right.

  5. #145
    Senior Member Dricciotti's Avatar
    Join Date
    Aug 2002
    Posts
    2,988
    Mine might be another day or two. I didnt like the first one I made and now Im swamped with work.

    For the proloader, I was fooling around and made on with 11 rectangles that fade from light gray to their color as they get loaded. Also, when its done preloading, have it pause on the screen with all the colors on it and have each person name somwhere in relation to the color their volley started (or ended) with.

  6. #146
    Senior Member Dricciotti's Avatar
    Join Date
    Aug 2002
    Posts
    2,988
    Im going to be way to busy this upcoming weekend so Ill just post the one I already had. I ended in white to bring things full circle. Lets put this all together. PM sent to >flashl!ght< with link.

  7. #147
    FK'n Elitist Super Mod EVPohovich's Avatar
    Join Date
    Dec 2000
    Location
    About to BAN you!
    Posts
    3,023
    do I smell an infinite loop??

  8. #148
    OGC creativeinsomnia's Avatar
    Join Date
    Apr 2001
    Location
    mn
    Posts
    658
    do infinite loops smell like bacon?

  9. #149
    FK'n Elitist Super Mod EVPohovich's Avatar
    Join Date
    Dec 2000
    Location
    About to BAN you!
    Posts
    3,023
    now I'm hungry

    I just thought maybe since it started and ended in white you might want to link the last one to the first.....just a thought

  10. #150
    Senior Member Dricciotti's Avatar
    Join Date
    Aug 2002
    Posts
    2,988
    rollCanvas anyone? hehe

  11. #151
    Senior Member Dricciotti's Avatar
    Join Date
    Aug 2002
    Posts
    2,988
    While I am way too busy I decided to write this up anyways. Put it in the maintimeline and just let it fly. Click the mouse to simulate a clip being finished loading. Just a thought...
    code:
    colors = ["FAFAFA", "000000", "583A70", "A20909", "0000A1", "FF6600", "80543A", "66CC00", "F9318F", "FFFF00", "CC6600"];
    createEmptyMovieClip("rect0", 1);
    wide = 30;
    tall = 80;
    xstart = 50;
    ystart = 100;
    spacing = 5;
    rect0.beginFill(0xE7E7E7, 100);
    rect0.lineStyle(0, 0x000000, 50);
    rect0.lineTo(wide, 0);
    rect0.lineTo(wide, tall);
    rect0.lineTo(0, tall);
    rect0.lineTo(0, 0);
    rect0.endFill();
    rect0._x = xstart;
    rect0._y = ystart;
    for (i=1; i<colors.length; i++)
    {
    duplicateMovieClip("rect0", "rect"+i, i+1);
    _root["rect"+i]._x = xstart+i*(wide+spacing);
    _root["rect"+i]._y = ystart;
    }
    beginLoad(0);
    function beginLoad(current)
    {
    //load movie code
    _root["rect"+current].onEnterFrame = function()
    {
    this._alpha -= 10;
    if (this._alpha<=0)
    {
    delete this.onEnterFrame;
    var myColor = new Color(_root["rect"+current]);
    myColor.setRGB("0x"+_root.colors[current]);
    this.dir = 1;
    this.onEnterFrame = fadeIO;
    }
    };
    //replace with onLoad script
    _root.onMouseDown = function()
    {
    _root["rect"+current].onEnterFrame = null;
    var myColor = new Color(_root["rect"+current]);
    myColor.setRGB("0x"+_root.colors[current]);
    _root["rect"+current]._alpha = 100;
    if (current<_root.colors.length-1)
    {
    beginLoad(current+1);
    } else
    {
    i = 0;
    control = setInterval(function ()
    {
    _root["rect"+i].onEnterFrame = goDown;
    if (++i>_root.colors.length)
    {
    clearInterval(control);
    }
    }, 100);
    }
    };
    }
    function fadeIO()
    {
    this._alpha += 5*this.dir;
    if ((this._alpha>=100) || (this._alpha<=0))
    {
    this.dir *= -1;
    }
    }
    function goDown()
    {
    this._yscale -= 6;
    if (this._yscale<-10)
    {
    delete this.onEnterFrame;
    this._yscale = -10;
    }
    }

    Last edited by Dricciotti; 08-25-2005 at 05:44 PM. Reason: added to script

  12. #152
    ·»¤«· >flashl!ght<'s Avatar
    Join Date
    Jun 2003
    Posts
    746
    Dricciotti! Loved the last volley dude! Sure, some of the technical precision could be smoothed out, but I think it's a really well done last volley. The rest of you have to wait to see it

    I got to run, but I'll be back, and hopefully have it up tonight.

    Your code looks tight! Love that it's all dynamic... I would probably even use it, except I already made something :/ might still use it anyways, haven't put mine to work yet, so it might blow up(not an uncommon occurence when I code something!) and in that case I'll try yours out.

    EVP -
    Yup, infinite loop was an idea

    Stay tuned people!
    >flashl!ght<
    All the normal names were taken.
    Ron Paul was right.

  13. #153
    ·»¤«· >flashl!ght<'s Avatar
    Join Date
    Jun 2003
    Posts
    746
    yeesh, got to head out again, but I threw it together best I can. Let me know if it works. Since the system was set up to removeMovieClip() transitions when they were complete, looping required reloading them all. So that's all it does: goes back to the start and reloads just like when you first go there, only it doesn't show the preloader, cause it should all be cached and load fast anyway. Anybody interested in seeing my FLAs just let me know here, otherwise please use the new thread for comments:

    http://flashkit.com/board/showthread...52#post3373752

    hoorah!
    >flashl!ght<
    All the normal names were taken.
    Ron Paul was right.

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