Quite a few people have asked me to make available the FLA and AS files that make up http://www.gotoandlearn.com. You can download a ZIP file containing these files below. Just be aware that the Actionscript code is not commented very well so it will be up to you to decipher my, often rambling, code
Download the files here.
You can also get the XML file here.
Lee








Hey man,
I get an error when i try to download the xml file??
If you right-click on it and save it to your computer then it should be fine. The error you are getting is an XML error from your browser.
Lee
I’m having a problem getting this to run properly. When I downloaded, I ended up with player.fla, videoPlayer.as, and videos.xml.
(BTW, I did all the tutorials, so I know how to build the basics from scratch. But I wanted to run your code.)
In the x.onLoad() function, you have some code that apparently populates an array of type “Tutorial” with all the entries for the tutorial list. But doesn’t a call to “new Tutorial” indicate a new (external) class named “Tutorial”? This does not exist anywhere that I can see, and when I run the .fla, the video list consists of blank entries, which are all “undefined” when I put a trace in the code. It seems something is missing…?
Further to the above, the trace *does* show that the .xml file is being parsed correctly. The XML data is there; just this _root["tut"+i] = new Tutorial thing doesn’t seem to work.
Can you make available the FLA and AS files that make up”http://www.leebrimelow.com”?
Wondering if Stephen found the solution to the .as, .xml and .fla issues. I have spent a couple hours rooting thru the .as code, and cannot see the slip up either.
The icons for the videos are correct per the .xml (I rearranged the videos in the .xml in order to force the icons to list in vidlist in a different order. This proved to me that the .xml is parsing. But beyond loading the correct icons into the video list window, nothing else seems to reflect the .xml data.
I even tried recreating my own version of the .xml, just to be sure the issue was not something simple like a typo there.
Like Stephen said, I too cannot see where the _root["tut"+i] value is being defined — before it is used in the loops — so I am confused as to what tweaks are needed here. My guess is something was lost between the working copy and the “commented” copy of the .as file.
Lee, we all know by now you are anxious about Flash 8, so you have probably turned off CNN, removed the batteries from your cell-phone and are refusing to answer your e-mails for at least a week. But when you DO come up for air, any chance to could point the link on the GoToAndLearn site to copies of the .fla, .xml and .as files that YOU actually use? I’ll bet they work together just fine, even without all the commentary.
BTW: Can’t wait to hear all you have to say about Flash 8!
Steve Zephyr
Marina, CA
You make the best tutorials on the web m8! They are clear, even for noobies.. Thank you very much for your free hard work and i hope that you stay alive long..
greetz from holland
Thanks Vito! And I too hope that I live a long time
very nice of you to give us a lesson like this. God bless you always
I’m having the same problem with the download files. Nothing appears in the list beside the icons for flash, etc. And variable text below are ‘undefined’.
Can you provide any help here. Thanks for all the great tutorials.
Brewster, Australia.
First i want to say I had a big help off the tutorials Lee. Keep up the good work.
With a little bit of puzzle i made the file work for me. First if you want to see the list. You will have to change the Font (standard 07_56).
For the actionscript i don’t know much about the Object Class bu i think the error is within the “_root["tut"+i] = new Tutorial (“…” on line 119.
Hope someone will know the answer for this.
Here is my adjusted code:
//======================================================
//===================LIST BOX===========================
//======================================================
tutorialList.tutList.setStyle(“color”, 0×000000);
tutorialList.tutList.setStyle(“rollOverColor”,0xD6E0EB);
tutorialList.tutList.setStyle(“backgroundColor”, 0xFFFFFF);
tutorialList.tutList.setStyle(“textRollOverColor”,0×000000);
tutorialList.tutList.setStyle(“textSelectedColor”,0×000000);
tutorialList.tutList.setStyle(“selectionColor”,0xD6E0EB);
tutorialList.tutList.setStyle(“fontFamily”,”Arial”);
tutorialList.tutList.setStyle(“fontSize”,11);
tutorialList.tutList.setStyle(“embedFonts”,true);
tutorialList.tutList.iconFunction = function(item) {
if(item.data.indexOf(“aftereffects”)!=-1) return “ae”;
if(item.data.indexOf(“flash”)!=-1) return “flashIcon”;
if(item.data.indexOf(“swift”)!=-1) return “swiftIcon”;
if(item.data.indexOf(“photoshop”)!=-1) return “photoshopIcon”;
}
var listlist:Object = new Object();
var lsound:Sound = new Sound();
lsound.attachSound(“been”);
listlist.itemRollOver = function(obj) {
if(obj.index “+xmlFiles[tutorialList.tutList.selectedIndex]+”";
}
else {
np.files.htmlText = “”+xmlFiles[tutorialList.tutList.selectedIndex]+”";
}
}
}
tutorialList.tutList.addEventListener(“itemRollOut”,listlist);
tutorialList.tutList.addEventListener(“itemRollOver”,listlist);
tutorialList.tutList.addEventListener(“change”,listlist);
//==========================================================
//======================================================
//===================XML PARSING=======================
//======================================================
var x:XML = new XML();
x.ignoreWhite = true;
var vidArr:Number = 0;
var xmlTitle:Array = new Array();
var xmlUrl:Array = new Array();
var xmlInfo:Array = new Array();
var xmlFiles:Array = new Array();
x.onLoad = function() {
var f = this.firstChild.childNodes;
for(i=0;i”+f[0].attributes.files+”";
}
else {
np.files.htmlText = “”+f[0].attributes.files+”";
}
playtime(xmlUrl[0]);
tutorialList.tutList.selectedIndex = 0;
}
x.load(“videos.xml”);
//x.load(“videos.xml?cachebuster=” + new Date().getTime());
//======================================================
I am having the same problem as Brewster, have you any ideas on what the problem could be?
Thanks for all your work I am learning lots from your site
You are a good man
I came from China
Thanks for your Job
So right after I open the Email files and make all the neccesary canges (changing the e-mail address to me, uploading the php and changing the address in the flash that gets the source from php) I put all my info in the boxes and send the message. I get a message that says that message was sent succesefully. Now here is the issue. After I get the message it says that the sender is unknown and this is all the content I get in the body:
Name:
Email:
Message:
I did not leave anything blank and all I got is blank spaces.
P.S. The Subject part works because on the receiveed e-mail it says :
“Flash Contact Form Submission”
BTW: You are doing a great job teaching all this, and I hope you can help me with my problem.
For those not aware:
root["anything"] is the same as root.anything, and can be populated with parameters from html. You guys are looking at 3 files and thinking you have the whole picture.
Further, I would fully understand if the good gentleman doesn’t want *all* of his source released, but is releasing 90% of it to give people an example of how he did it (without people raw ripping his site off)
Thx.
Feeling like a twit for speaking too soon, I did a few things and realized that Tutorial was missing. So I wrote one. It’s very, very easy.
Here it is:
Tutorial = function(title, earl, info, files) {
this.title = title;
this.earl = earl;
this.info = info;
this.files = files;
};
Put that anywhere above the x.onLoad function, and it should work peachy -keen. All it does is store the data from the XML. Presently, my copy works and all that I *would* need to do is inject my own flv’s. I’ll be doing quite a bit more than that.
PS:
THANK YOU. You saved me days of study and labour by providing -effective- tutorials.
Sorry for all the confusion. The source files I posted have since changed quite a bit so there may have been some errors here and there. But the idea is that you can look at what I did and see the techniques like Dan mentioned. Just copying them without understanding what is going on isn’t going to help you much in the long run. If someone just copies them for their own purposes I have no problem with that at all. All I ask is that you change the artwork so its not “gotoAndLearn Part 2″
But I have nothing to give in return
. Thanks alot!
Oh wel ill download the files feeling a bit guilty
I think your site is fantastic. I have been doing a similar project with Photoshop tutorials, but I totally like the feel of your site. I wish I could see more than the first video without having to download each video independantly. Any idea why that is? Every time I go to your site now, I get the animated video icon and nothing else. I sent you two emails (one about this and another about your Camtasia settings) but have not heard from you (which is no surprise, I only sent them a few minutes ago). Anyway, keep up the fine work. I hope you see my emails and are able to respond.
I download it your fla, as, xml, and swf. Am i the only one not being able to make this work…I was lookin for “gotoAndLearn Part 2? but did not find it.
Please help.
Oscar
First webiste i found with great free flash tutorials, thnx alot!!! helps so muc!!! i havent used it on my website yet but thanx to you my website will be so much better, once again THNX SO MUCH!!!
Hi
I love yopur site and viewed a few tutorial . I found your site source code very useful.
i feel yours is the best site in flash tutorial
can you tell me what software you used to record the screenshots…its very sharp and of good quality. I wish to create such simulation but can’t find a good software name that can give me good picture quality and will be easier to convert to FLV
thanks and regards
Samir”
hi
scrolling thumbnail panel example i cant link a button for example
on (release) {
gotoAndPlay(20);
}
plese help me
thanks
By the way, Your Tuts ROCK! I never had such a clear and easy to understand and follow tut before! You just know what we need and how we learn.
I have a question. You showed how to make a preloader and thank you for that.
Is it ok if I just copy and paste my preloader layers or frames into other pages? (I have separate flash web pages so I have to have a preloader in each page.) Will it change the instance names, etc?
hey, i was following the video series with the xml playlist and i got stuck. my xml looks like
…..then repeated for all videos
i have it on subydude.com/video working but with no description. i did however get it to show the description when you click on a title in the list component, but the video wont play. here is my code for the flash (part of it) hopefully someone can tell me what i em doing wrong. i no that the ns.play is trying to call the “.data” of the list component, so i took out the attributes.url to get my description to come up, but now i need another way for the ns.play to see the url to all my videos so i can have people click a titles – start the video – and get a description in a text box.
var vlist:XML = new XML();
vlist.ignoreWhite = true;
vlist.load(“videos.xml”);
vlist.onLoad = function() {
var videos:Array = this.firstChild.childNodes;
for(i=0;i
I went through the Preloader tuitorial sveeral times and checked all of my eleemnts names key frames and so on several times but all I get when Icheck it is a solid bar and NaN% in the text field. WHat does this meen. Obvously I something is not right. I have gone over the tutorial several times and retyping the code exactly liek the tutorial instructs.
I have had great succes with other tutorials this one seemed like a no brainer. What does this mean (NaN%), can anyone tell me
Just to say nice one mate. Quality tutorials made very clear even for spazzers like myself. Keep up the good work!
cheers
HEEEEEELP!!!!!!1
I HEAVE A BIIIG PROBLEM
it seems that i can’t play the tutorials that i had downloaded from the site
so i ask yo people: HOW CAN I VIEW THE TUTOR?(it’s about animating buttons)
p.s.:i relly need this tutuor because my grades depend on it
10x in advance
Gabibr,
Can you explain the problem in more detail. Are they not loading at all?
Lee
nevermind i solved the problem
10x aniway
p.s.:the tutors al GREAT, i learned a lot
how can i add links to html pages at the text in the tutor Animated Buttons?
i have the page and the button in the same folder and when i wrote the text i linked it to the htm, but when i insert it in a page nothing hapens when i push the text in internet explorer
Dear Sir,
I’d like to incredibly learn your amazing great flash tutorials.
But the current Internet connection in my country is so bad that I can’t get them all fully.
I’ll be very very gratefully if you let us download the entire site as zipped files.
Million thanks !
a student from
the have-nots
Heeeeeeelllllllppppp!!!!
PHP Flash eMail Tutorial error. Please explain.
Mirko asked this, too but I need a response please.
Name:
Email:
Message:
I did not leave anything blank and all I got is blank spaces.
P.S. The Subject part works because on the receiveed e-mail it says :
“Flash Contact Form Submissionâ€
PS: See an example of the “scrolling thumbnails in action” below.
http://dollarsigndesign.com/clients.html
I followed the video tutorials an have completing them but i’m having problems with the scrub scroller because even though I can drag it across the video scrollbar I can also drag it all around my screen, how can I stop it moving around my screen and keep it jus to the video scrollbar?
I just wanted to say, ur site rockz and ur tutorials are the best ever!!!, KEEP IT UP
I have a problem with the list but nothing title appears.
i have icon but no title.
Can you help me please
i don’t find where problem come from.
Thinks a lot to your help
in a friendly way
Hey, im a music tech student in the Uk and we have been given a flash assignment to build up a website to host our music on.. ive never really used flash before and our lecture content has been pretty basic to say the least.. but..
i would like to say a huge thankyou from myself as this site and its tutorials have helped me a great deal and taken the site i am building from the average website into something i am actally proud of and hey lets hope i get better marks along the way
many thanks once again
hello,
i’ve completed the Animated Buttons tutorial. i love the presentation, everything.
one problem: the dynamic text doesn’t work. it doesn’t update to read “portfolio” etc.
i’m sure i did everything identical to the tutorial. if i use a basic font like Arial, and make it anti-alias, but don’t embed it, that shouldn’t be a problem, should it?
everything else works great. just can’t get the text to work dynamically.
this is fantastic of all the site I have ever visited
please we need more tutorials for we the upcoming flash site builders.
thanks to the management of this site.
I certainly appreciate the website. The tutorials are very good and easy to follow. I am writing about the random motion tutorial. I followed along with Flash 8 Pro alongside the tutorial but subsituted my own image for the movieclip instead of the ball in the tutorial. Upon completion, I selected control>test movie and it returned the following error message;
Scene=Scene1 Layer=actions, frame=1: line 2:
Unexpected ‘var’ encountered
var t=this.attchMovie(“ball”,”ball”+i,i);
a second error was also noted which read;
Scene=Scene1, layer=actions, frame=1: line 10:
Unexpected ‘)’ encountered
)
Thinking my substitution was my error, I reaccomplished the entire tutorial using your exact tutorial. The result was the exact same error message. Noticing that your color mixer was different than mine in Flash 8, I thought perhaps it was a version problem since the tutorial did not specify the Flash Ver used. I reaccomplished the tutorial using Flash MX 2004 Pro and got the same two errors.
I then hand-copied the AS and compared it to my two Flash versions and they appeared correct. I did the tutorial again in Flash 8 Pro and received the same errors. I cannot for the life of me find where my mistake is coming from. I am a 51 yr old newbie so it may be my eyesight, otherwise, I learned a lot, except for the fact I could not publish the Flash app correctly.
I would obviously appreciate being duly whipped into shape. How might I address the error encountered?
Sincerely,
Dennis
I really do not know how I fixed it, or if it was broken at all. I comapred the tutorial character by charater with the tutorial and found no diff. So I just used the tutorial code and subbed the “ball” with my own image and it worked. Still no clue as to why, but you all do not have to worry. Apologize for wasting your time.
just a note to thank you for taking the time to share your knowledge and help others.
i’ve never seen such a thorough and clear teaching style with free content online. you make it look easy, and this can only come from the clarity you show in your understanding of the material.
you are gifted, and others are benefitting in no small way from the effort you’ve put forth here. may you also benefit exponentially by receiving what others can share with you. thank you again from all of us.
ed.
DJG:
If you post all of your code, I’m sure some of us could take a look at it and maybe figure out what went wrong. If you’re still curious.
Your Tutorial is great. The best one on the net!
Please keep up and we all want to see more.
Thanks again!
Yo great shit..
I’m realy adicted to your tutorial site
I’m loooking everyday, to see some new video tutorials..
but damn i’m out of luck :p
hehe, but your a buzzy man.. we all know that!
just keep up the good work.. your realing helping people!
maby a tip..
but can you make some partners.. so you can publisch more tutorials?
i’m sure that there are people who can help you to help us!
well! if not..! keep up the good work!!
This might be the best opensource Flash tutorial on the iternet, thanks! It help me a lot. I’ m expecting more.
Thanks!
God bless ya Lee. You are an inspiration to many! Keep up the good work!
I am working on the accordian with video tut. I cannot see the other children and my labels fly off to the right. Basically, I can only view the first video, the other children are not visible to click.
A chat tutorial will be more appreciated !!!
Damn this site. I love it to death but when I need it its not there for me. The site was victim to a crash a few days ago when I first discovered it. When it came back up I was hooked, than as fate would have it , it always seems to laugh in my face, the day that I am ready to use some of the information on the site … its gone!?! Le please work this out, or if possible send me the .fla from the sections of the tutorials
I had problems with downloading the .zip files from gotoAndLearn.com. I click on .zip link and nothing happend. Whats wrong ?
i’m having problems, when i downloaded the files. i unzipped the files and copied the xml file to that same folder, but when i open the .fla file in flash and press ctrl+enter to test the movie it gives me this error:
Error opening URL “file:///C|/Documents%20and%20Settings/Franklin/My%20Documents/My%20Downloads/gotoAndLearn/videos.xml?cachebuster=1145844787918″
what can i do about it?
hello i’m from indonesia…
lee brimelow, you are just amazing….
Hi,
I am using the video basics code for my player.
is there a way to have the movie only flv once.
that is go back to frame 1 and stop?
thanks
mark
Hi,
Is there a solution to the problem with the .xml driven flv player.
I followed the entire above diaolog and everyone seems to have the same problem but the is no solution posted.
Lee,
The carosel tutorial is fantastic. I am waiting with bated breath for the third installment. You ROCK!
Can someone please post the solution to the gotoandlearn source file problem? I have the .fla, .as, and the .xml files, but I cannot make this download work.
It’s really disappointing. The rest of Lee’s site is great, but why bother posting files that don’t work, with no explanation, etc.? That’s just dumb.
I’m sure I’ll get insulted for that last comment, but why bother going to and learning if the gotoandlearn guy isn’t going to bother teaching?
Yeah you’re right about being insulted. I think you’re a dumbass.
Yea, my approach was out of line. Sorry about that. I typed at the end of a long day of trying to make the source files for the site function. That’s never a good idea. Won’t be doing that again.
Anyway, I have learned quite a bit from your other tutorials, and that’s good. For example, getting rid of the right click menu was really valuable and a high point. However, the source files for the site still don’t work when downloaded and compiled. Scroll up the list and you’ll see that many others are having the same difficulty. The solutions that others have posted, while nice, don’t work either. It’s a bummer.
In brief, it would really be nice if you could fix the source files or explain how to compile them in a brief note or just provide a really simple container with some brief notes on how to load the .flvs via .xml. I mean, your site really is cool, and it would really help a heck of a lot of people.
Sorry for the first email.
No worries CB, we all have days like that
My initial intention for releasing the source was to give people a glimpse into how the site was structured. But let me try and put together an updated ZIP file with the most recent code. I’ll probably create a new post instead of updating this one.
I’ll try to get to that tonight,
Lee
That’s very cool, BUT maybe you should wait on offering up the exact files and information.
I can understand why you wouldn’t want to just offer up the exact code, etc., and it was presumptuous of me to ask/demand. In fact, you might want to just keep things as they are (example – no explanation), because I just found out how hard it is to make one of these things. The knowledge was very hard won, frustrating, and something I’d be pretty reluctant to sell or give away. It’s very personal.
In short, I was able to create a player of my own with a dropdown, description, and flv player using flash connectors. It took about four solid days of work and lots of studying of remotely related but disparate tutorials from many, many sources. It finally worked after much suffering – and I mean *much* suffering. Not even the adobe techs could help me (they refunded my $99). But I did it – and ended up calling them back and teaching *them* how to make one. True story, man.
Now my code is nowhere near what you’ve achieved in terms sophistication (can’t believe you did everything through AS – amazing), but my container does load flvs, titles, and descriptions through an xml file that I can modify at will (that’s really all I wanted). So, having had a taste of just how hard and miserable this process is, I can really understand your offense early on. I don’t think I’d give up my minor achievement to just anyone, really. It was too damned hard!
Note, too, that it was very empowering to succeed on the project by myself, so I’m very glad now that you didn’t just give me the stuff outright. I’d have learned to mooch, but not how to make my little container. Perhaps others can learn from your example code – and my example of what one can do if one really wants to do something.
Anyway, look forward to more tutorials, Lee. You have quite an amazing site and you offer it for free. That’s unheard of in today’s world. It’s appreciated.
Thanks for letting us take glimpse under the hood. I can’t seem to get the XMl file. Would it be possible to send it to me or update the link and let me know?
thanks again,
Andrew
Hi Lee
Thanks for the great work and for letting us whatch your files.
I have tried to use them but got the same error as CB:
Error opening URL “file:///C|/Documents%20and%20Settings/Kim/Skrivebord/videos.xml?cachebuster=1168910420656″
I have change the XML file so that there are only 2 test files. I have changed the name of earl and files to the filename (everything before .flv).
Then I have running the file.
Do you know why I got the error.
Once more thanks for the great work both here and with the tutorials
I really hope you have the time to answer me, that will be great
Still waiting – I almost cant wait as you can see
I’ll try to make this simple…I watched the thumbnail tutorial (great tut) and I’m trying to reproduce it in a flash site I’m doing for a client. my scrollpanel frames are under an instance later on in the timeline…obviously, not the same circumstances as Lee did his in the tutorial. I’ve followed along and got to the end…and my results are:
1. the scrollpanel doesn’t scroll. It is viewable… also, the viewable thumbnails revealed by the mask do not react on rollover. Okay then I tried moving the scroll panel actions keyframe to the first frame…then I get this:
2. the scroll panel doesn’t scroll…but then rolling over the thumbnails present shows the buttons reacting.
I’m dying here…looked around on the net but found nothing to help. I’ve gotta get this project done soon! I would be willing to send the .fla file to anybody that could offer some help. Below is the code..
thanks… site: http://www.kmhairworksandspa.com
panel.onRollover = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollover;
}
var b = stroke.getBounds (_root);
function scrollPanel() {
if(_xmouseb.xMax || _ymouseb.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
if(panel._x >= 155.8) {
panel._x = 155.8;
}
if(panel._x
I really need to get a thumbnail scroller menu working and have done the tutorial 3 times and cannot get it to scroll, did you ever solve the problem?