• About Us
  • Classroom Training
  • Online Training
    • Self Paced Courses
      • Android Development for Beginners
      • HTML and CSS For Beginners (with HTML5)!
      • Javascript for Beginners
      • C Programming: iOS Development Starts Here!
      • Objective C For Beginners
      • PHP MySQL For Beginners
      • Web Development Code Camp
    • Live Instructor Courses
      • HTML and CSS with HTML 5 (Live)
      • Javascript for Beginners (Live)
      • C Programming for Beginners (Live)
      • Objective C for Beginners(Live)
      • Android Development Code Camp (Live)
      • iOS Development Code Camp (Live)
      • HTML5 & Advanced Client Side Development (Live)
      • Actionscript for Beginners (Live)
  • Forum
  • Testimonials
  • Contact Us
    • Actionscript
    • Android
    • C/C++/Objective C
    • HTML/CSS
    • iOS
    • Java
    • Javascript
    • PHP

Archive for July, 2011

Flash Drawing API: Actionscript 3 Tutorial

Posted by Mark Lassoff on July 31st, 2011 | No Comments

In this Actionscript 3 Tutorial, the Flash Drawing API is demonstrated.  The Flash Drawing API allows you to create vector graphics (graphic images whose properties are determined mathematically).  Frequently with this API custom data visualizations, games, and other types of common programs can be created.

In this particular Actionscript 3 Tutorial, LearnToProgram.tv trainer Mark Lassoff demonstrates creating lines, curves and shapes with colored fills and strokes.

To complete this tutorial  you need either Flash CS4 or CS5, Flash Builder or Adobe Flex.

New Online Course: HTML and CSS course (with HTML 5)!

Posted by Mark Lassoff on July 28th, 2011 | No Comments

Html and CSS CourseI am releasing my newest online course entitled HTML and CSS (with HTML 5) on Wednesday, August 3 2011. This is an exciting course because it fulfills a unique niche in the market– an HTML 5 course that is geared towards beginners. I noticed that all of the HTML 5 courses on the market required classical HTML as a prerequisite. HTML and CSS (with HTML 5) requires no previous knowledge. This HTMl and CSS course is designed so a new developer can start applying their HTML, CSS and HTML 5 knowledge right away.

I also noticed that most HTML courses taught HTML the same way were were teaching it in 1995– as if CSS (Cascading Style Sheet) technology didn’t exist. This course teaches HTML in a contemporary manner– integrating CSS for the design layer and using HTML only as a framework for defining the purpose and outline of the content. Our HTML and CSS course also includes coverage of CSS

Here’s the outline:

HTML and CSS (with HTML5)!

Chapter 1: Welcome to HTML
1.1 HTML Flavors- HTML 4.01, XHTML, HTML5
1.2 Hello World in HTML
1.3 Basic Document Structure- HTML 4.01/XHTML
1.4 Basic Document Structure- HTML5
1.5 Comments in HTML Documents
1.6 HTML Head Elements

Chapter 2: Text Output and Appearance with CSS
2.1 Text Markup Tags
2.2 Paragraph, Heading, Strong, Emphasis
2.3 HTML5 Text Markup Tags
2.4 Selecting Text Color, Font and Font Size
2.5 Text Alignment, Decoration, Indentation and Text Transformation

Chapter 3:Working with Lists
3.1 Ordered Lists
3.2 Unordered lists
3.3 CSS for lists

Chapter 4: Creating HTML Links
4.2 Creating Internal and External Links
4.3 Creating Anchors
4.4 Styling Links with CSS Pseudo-classes

Chapter 5: Working with Images and Media
5.1 Displaying Images
5.2 Image Styling with CSS
5.3 Embedding
5.4 HTML5 Audio Embeds
5.5 HTML5 Video Embeds

Chapter 6: HTML Tables
6.1 Creating Tables with HTML
6.2 HTML Table Markup
6.3 Styling Tables with CSS

Chapter 7: HTML Forms
7.1 Creating Text Form Elements
7.2 New HTML5 Form Elements
7.3 Creating Radio Button and Checkbox Elements
7.4 Creating Multi-Select Elements

Chapter 8: Understanding the CSS Box Model
8.1 Understanding the Content Box
8.2 Divs and Spans
8.3 Working with Margin and Padding
8.4 Creating Borders

Chapter 9: CSS Based Page Layout
9.1 Inline Vs. Block Level Elements
9.2 Positioning Divs
9.3 Positioning HTML5 Markup Elements
9.4 Float and Clear

Chapter 10: HTML5 API’s (Some Javascript Required!)
10.1 Drawing on the Canvas Element
10.2 Web and Local Storage

Interested in this new HTML and CSS course? Sign up for our mailings by providing your email address on the right for a coupon that will provide 50% off the list price when the course is available!

Simple Ajax Example

Posted by Mark Lassoff on July 27th, 2011 ajax, Javascript, programming, web development, web services
| 2 Comments

Ajax is an important technology that is behind the front end of many of today’s web sites. Ajax technology, which is coded in Javascript, allows your page to communicate with the server behind the scenes. This behind the scenes communication allows web pages to be updated without refreshing the entire page. Ajax leads to a more seamless, desktop like experience for users.

In this simple Ajax example an Ajax script is written using Javscript and a PHP back end. A very simple web service is simulated. The Ajax script gets data from the server and displays it within a <div> on the page.

[button link="http://www.learntoprogram.tv/source/SimpleAjaxExample.zip" type="icon"]Download The Source Code[/button]

You are welcome to use the code form this simple Ajax example as a basis for building your own Ajax

Free Flash Mp3 Player Tutorial

Posted by Mark Lassoff on July 23rd, 2011 Actionscript, Adobe, Flash CS4, Flash CS5, Flash MP3 Player Tutorial, Free, Mark Lassoff, Sound Classes
| 12 Comments

This Flash MP3 player tutorial has proven to be among our most popular free video tutorials. It will take you step by step through everything you need to know to build a fully functional MP3 player using Flash CS5. The features of the Flash MP3 player include volume control, pan control, time remaining, time of song, and id3 tag detection and display.

While completing this tutorial you will learn several basic Actionscript and Flash concepts, including working with objects, the sound classes in actionscript, timers, events and events listeners and much more.  You don’t need to be very experienced in Flash or Actionscript to successfully complete this free Flash mp3 player tutorial– only a basic knowledge of Flash and how to insert Actionscript code is required.

There is about one and a half hour of video which will take you through every step of creating and coding your own Flash MP3 player.  The tutorial is designed in an easy, step-by-step manner which is simple to follow.  This video is hosted by Mark Lassoff, who has been teaching Actionscript at large corporations and government agencies for years.  Mark started using Flash about 10 years ago and has completed Flash based projects like a Flash based radio station and Flash based e-commerce site.

It is recommended to view the videos in order and code along with Mark as you watch.  Each video builds upon the code developed in the previous tutorial video.

A text version of this tutorial appeared in Flash and Flex Magazine.  You can see a printed version of the code there.

Flash MP3 Player Tutorial Part I:

Part II:

Part III:

Part IV:

Part V:

For more information on the Sound Classes in Actionscript you can view the documentation from Adobe.  Good luck and please leave any feedback or questions below.

How To Learn a Programming Language: 5 Tips

Posted by Mark Lassoff on July 19th, 2011 Computer Science Education, How To Learn a Programming Language, Learning, Object Oriented Programming
| 5 Comments

Learning a new programming, scripting or even a mark-up language can be a daunting task.  For many of the people I teach, the volume of information is overwhelming.  Before you feel paralyzed by the sheer size of the task of learning a new language, here are five tips on How To Learn a Programming Language:

Tip #1 Type All The Code Yourself
My freshman year of high school I took a class known as College Prep Typing.  The teacher once said that there is  such thing as “muscle memory” and that touch typing relied on it.  When trying to learn a new programming language, typing in the code yourself is helpful in that it creates that “muscle memory” that Mr. Weiss spoke of in 1988.  In addition, when you type in the code yourself (rather than load it and study it or review it in a book) you ar forced to correct whatever typos you make.  This light debugging is a great way to learn the patterns and syntactical nuances that exist in the code.

Tip #2 Learn Each Skill in Isolation
Many books and longer tutorials tend to build one or two large projects while teaching the various api’s, skills and structures that are part of a programming language.  I actually disagree with this approach. In my classes, I have found it is better to learn each skill in isolation without having to decipher or interpret other newly learned concepts.  Integration comes later.  Learn each new skill in isolation and you’ll get a better result.

Tip #3 First Modify, Then Write Original Code
When thinking about how to learn a programming language, I remembered something the great (now retired) Computer Science professor James Browne taught me. He said that you should always try to modify existing code before trying to write original code.  Modifying code when learning gives you a strong starting point instead of the blank slate that trying to code from scratch provides.

Tip #4 Learn Procedure and Syntax, Then Objects
When I first learned Java at the University of Texas, the instructor tried to teach the object oriented philosophy and concepts first and then layer the syntax and procedural code on top of that.  Many students were frustrated because they were trying to learn the OOP concepts without a substantial context of why it was necessary or useful.  It seems to be a less frustrating and more successful approach to first establish context through syntax and procedural code and then move on to Object Orientation.

Tip #5 Combine a Book with Video
If you are learning from  a book, also seek out supplementary materials on youtube, Udemy (which hosts my Beginning Javascript Course) or other video search engines.  Watching concepts demonstrated on video involves a different part of your brain than reading out of a book.  It is also helpful to get multiple perspectives on concepts and material.  One author may explain something in a particularly relevant way, while another does not.

Good luck with your learning!  Please feel free to add your own tips and tricks on how to learn a programming language in the comments.

  • Pages

    • About Us
    • Actionscript for Beginners (Live)
    • Android Development Code Camp (Live)
    • Android Development for Beginners
    • C Programming for Beginners (Live)
    • C Programming: iOS Development Starts Here!
    • Classroom Training
    • Contact Us
    • Forum
    • HTML and CSS (with HTML5)!
    • HTML and CSS with HTML 5
    • HTML5 & Advanced Client Side Development (Live)
    • Introduction to Javascript
    • iOS Development Code Camp (Live)
    • Javascript for Beginners (Live)
    • Logos slide show
    • Objective C For Beginners
    • Objective C Programming for Beginners(Live)
    • PHP MySQL For Beginners
    • scheduler
    • Student Registration Form
    • Testimonials
    • Web Development Code Camp
  • Archives

    • November 2011
    • October 2011
    • September 2011
    • August 2011
    • July 2011

    Categories

    • Actionscript (5)
    • Ajax (1)
    • Android (3)
    • C/C++/Objective C (2)
    • Events (2)
    • Flash (2)
    • Free Tutorials (15)
    • HTML/CSS (2)
    • Javascript (3)
    • On Learning (2)
    • PHP (3)
    • Uncategorized (1)
    • Web Development Bootcamp (1)
  • Blogroll

    • Documentation
    • Plugins
    • Suggest Ideas
    • Support Forum
    • Themes
    • WordPress Blog
    • WordPress Planet
  • Meta

    • Register
    • Log in
    • WordPress

    Subscribe

    • Entries (RSS)
    • Comments (RSS)

    What is ?

    We train software, web and mobile developers. Our classes geared to the way adults learn are available online, or in-person at your office or training center.

    New Android Book

    Android Programming Code Camp by Mark Lassoff. Coming in 2012. Finally, a true beginners book on Android programming and development. No Experience required.

    Email me when the book is available

    On Learning

    • Top Languages Used in Web Development
    • How To Learn a Programming Language: 5 Tips
    ©LearnToProgram.tv 2012 .All rights reserved.