OZONE Asylum
Forums
Multimedia/Animation
Flash code planning
This page's ID:
11462
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Ah, very interesting -- I'd been meaning to learn some UML, although so far I haven't embarked on a project large enough to require it. I definitely have a habit of writing pages of notes and planning (longhand) -- it helps organize my mind. I'll look into setInterval; I played with it a bit before, but didn't have quite enough background to get it to work. Now I think I do. At this very moment I'm doing that work for my friend, and I'm meditating on depth... I want to be able to dynamically populate the stage using library elements. MovieClip.attachMovie() does this admirably, but the required depth argument looks like it could cause problems. Right now, I'm setting a depth_index variable that increments each time I place a new object... but is there a way to get the highest depth of all objects (sort of a "paste in front"), or even better, to separate objects into arbitrary "layers" programmatically? I understand that I can create a blank movie clip to act as a layer-like container, and then load movie clips into that one, but I'm wondering if there's a better way. Anyway, this is just idle curiosity, on the off chance that someone feels like answering; I seem to have a firm enough grip that I can do this on my own. My first two attempts to learn Flash were disastrous, because I got caught up in unfamiliar and confusing keyframes and separate frame/object/button actions... but approaching it from a pure code perspective it's proving to be as easy as pie. edit: I read Penner's article on broadcast events and custom event sources, and I'm sure I can make use of them somewhere along the line. Good stuff, that man has. [This message has been edited by Perfect Thunder (edited 10-16-2003).]
Hint: Press ALT+[1-9] to quickly quote one of the previous posts in whole.
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »