A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Sites done entirely in Actionscript

  1. #1
    I'm not afraid Fearless's Avatar
    Join Date
    Jun 2000
    Posts
    351

    Sites done entirely in Actionscript

    I'm working on learning AS3, I've never really bothered with in depth actionscript before, but with the last update, I figure it's about time. I had basic knowledge of the first two and I'm really a php developer, so 3 is coming pretty easy. My question is, is it common practice to develop a site entirely in actionscript?

    Basically forget about the stage and the timeline and compile the whole thing from code? It seems like drawing and setting properties for every object or text field in code takes a ridiculous amount of time, but if that's the way bigger firms are expecting it to be done, that's how I want to do it.

    Anyone do entirely scripted sites? Any examples?

  2. #2
    Senior Member joshstrike's Avatar
    Join Date
    Jan 2001
    Location
    Alhama de Granada, España
    Posts
    1,136
    Well, to say that there's no timeline doesn't mean there's nothing in the library. Obviously art is going to have to exist somewhere. I've been doing most of my sites in one frame for a couple of years, but there will still be library clips, some of which have motion. The point there, really, is there should never be ANY script on ANY clip other than the main timeline, unless that script is stop(); And there should only be one frame on the main timeline. In AS3 you can take that a lot further and have no code in your timeline at all. I personally like to use the timeline to instantiate a series of opening classes and let the classes do everything from there.

    This is a site I did completely in code:
    http://www.lillyanneme.com

    There's an external swf file that gets loaded at the beginning which has maybe 5 frames, in which markers for each object are in different positions. The code looks at those five frames as different modes, and when you switch from one style section to another, it compares object positions between those two frames and then applies those differences as tweens to the actual objects on-screen. (The external swf is for point reference only).

    Anyway, if I were hiring someone to code in AS3 I'd expect them to be able to do everything in code in the first frame; but not to be stupid about it and waste time coding graphics they could easily draw and place in the library...

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