School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,478 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,757 people online right now. Registration is fast and FREE... Join Now!




Seperating code by Layers...Communicating with other layers

 

Seperating code by Layers...Communicating with other layers

StanKnight

27 May, 2009 - 09:19 AM
Post #1

New D.I.C Head
*

Joined: 14 Apr, 2009
Posts: 23



Thanked: 1 times
My Contributions
Hi everyone,

I am starting to develop with Flash and I really am enjoying learning it. I also appreciate the help that some of you have given.

I am trying to figure out the best way of keeping my code organized and the one way I am doing it until I learn how to do classes is separating some code in layers... like the main program in "program" layer and another part in "song" layer. I found out I can call "Song" functions from the main program... is there anyway of calling "Program" functions or variables through the "Song" layer?

I know the best practice is to use classes but I right now don't know how to link actionscript files and really need to complete this project. Any help or advice would be appreciated. Thanks smile.gif.

- Stan

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 03:40AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month