Premium Content


Premium Content articles are the very best articles from the world's leading internet technology, subject-matter experts. We have many categories of content below on a wide variety of subjects that have all been commissioned from big name authors.

Explore the Premium Content

Creating a Photo Gallery with Flash and XML: Pt.II

In the first part of this multipart tutorial we took a quick look at XML and how XML files could, in certain circumstances, be a neat alternative to setting up a database. We then saw how easy it is to load an XML file into Flash.

In this tutorial we'll build on that foundation by using our XML file to provide the data for a photo gallery application. The XML file will list the filename and caption for each photo in the gallery, then Flash will extract the information and display it in a movie. We'll load each image as the user requests it so that the photo gallery will run very quickly and users won't have to download all of the images before starting to view pictures.

If you haven't completed the first part of the tutorial, you'll need to understand XML and be able to load an XML file into Flash before you can start this tutorial.  I'm assuming that you know how to enter ActionScript into the Actions panel and that you have some experience at using actions in your Flash movies.

Check also the new Dreamweaver extension Flash Album Generator that will allow to create Flash Galleries quickly and easy!

Read More

Typography IV: Corporate Identity, Logos, and Branding

Could You Design a Logo?

There are plenty of small and midsize companies who don't just need a good website putting up, but also an improvement in their corporate branding to go along with this great new online presence. 

But are you the right person to help them? Surely that type of job is left to graphic designers?

Well, Linda Goin reckons not necessarily – after all, your SMB/SME hasn't got megabucks to blow and you're the 'creative person' that they know and trust. Armed with a little bit of confidence and an appreciation of typography and images you could provide a one-stop creative shop for your clients.

Read on for a short, sharp, insight into corporate identity, logos and branding.

Read More

Creating a Photo Gallery with Flash and XML: Pt. 1

One of the great things about Flash is that you can use it to read information from other programs (such as databases and XML files). That means you can add this content to Flash to create more dynamic movies.

Well in this two-part tutorial we're going to make use of Flash's ability to work with external information, and develop a fully functioning photo gallery that derives it's information from data stored in an XML file.

Using XML can sometimes be a neat alternative to using a database (for instance when you don't have access to a database or an application server). It's also great for Flash movies that will be distributed on a CD-ROM.

In this part of this tutorial, we'll look at XML and some of the rules that you'll need to know to work with XML files. We'll also load an XML file into Flash and display the contents. In the second part we'll use the XML file to display images and captions. Then we'll see how to add categories to the photos in the gallery.

I'm assuming that you know how to enter ActionScript into the Actions panel and that you have some experience at using actions in your Flash movies.

Check also the new Dreamweaver extension Flash Album Generator that will allow to create Flash Galleries quickly and easy!

Read More

SQL: NULL

Have you ever run across the suggestion that you should always use NOT NULL when creating a database table? What is NULL, anyway? Why would you want to use it?  What are the advantages to using NULL? How does NULL figure in to LEFT OUTER joins?

Rudy answers these questions with plenty of examples in this article about NULL.  The advantage to using NULL is described in the context of designing database tables where a column's value can be unknown or not appropriate. NULL is also discussed in the use of aggregate functions. Finally, an illustration of NULL in LEFT OUTER joins is provided.

Should you use NULL? This article answers the question positively.

Read More

Typography III: Creative Layouts

In this third article on typography, Linda is going to build on the terminology of the first article, where the five historic font families were discussed and look at how typography can be used effectively on web sites that are visually heavy and text light (as opposed to the second article that concentrated on text-heavy websites). Read More

Setting up a PHP Site & MySQL Connection in Dreamweaver MX

In this tutorial we're going back to basics, or rather making sure we can really get to grips with the basics, as we look at how to set up a site definition for a PHP site in Dreamweaver MX and then see how we can connect to a MySQL database residing on our web hosts server. 

We'll be starting by understanding the theory behind how Dreamweaver acceses remote MySQL installations (the process Dreamweaver MX uses to connect to the MySQL server isn't as straightforward as most people think, as its designed to get round a number of security limitations which are often in force on web hosting accounts).

Armed with that knowledge we'll then set about making sure our site configuration is appropriate before we attempt to make a connection. After walking through the steps required, we'll also look at a few common errors you may encounter.

Read More

Transforming a table based layout into valid XHTML/CSS

As we know, XHTML and CSS should help us to; reduce load times and bandwidth costs, ease maintenance and associated costs and ensure compatibility with newer browsers and web browsing user agents.

But what happens when we've got an existing web site – it's all laid out just so, but it's not in valid CSS/XHTML and, worse than that, there are TABLES everywhere?

Well, Michael Koch's put together a nice sample project here that will show us step-by-step how to take a table-based multi search engine site and convert it into valid XHTML/CSS markup. The article is accompanied by a resource file to help you replicate the venture.

Read More

More ActionScript for Designers

Welcome to More ActionScript for Designers! If you read the first tutorial, Basic ActionScript for Designers, you will have learned about controlling the way movies play, opening Web sites with ActionScript and playing sounds. 

The tutorial showed you how to add actions to the Actions panel and how to use buttons to trigger the commands.  If you're new to ActionScript and haven't completed the Basic ActionScript tutorial, I would recommend reading it before you continue.

In this tutorial, we'll get a bit more adventurous and look at:

  • Controlling the appearance of movie clips
  • Dragging movie clips
  • Loading an external JPEG image into a movie
  • Loading an external SWF file into a movie
  • Displaying "Quote of the Day" text

 

To complete the tutorial, you'll need to know how to work with the Timeline, add keyframes and enter ActionScript in the Actions panel.  You should also be able to create buttons, add text and movie clips as well as knowing how to publish movies. Read More

CSS Units

This tutorial is about the units used in CSS, about the uses and pitfalls of the various methods of measuring CSS styled elements. Starting with font sizes we'll move on to boxes and positioning elements. Looking at the advantages and disadvantages of the different units of measurement we'll try to give you some clues on what you could use where (and some things to avoid). Oh, and of course we'll make sure we take into account the idiosyncrasies of different browsers along the way. 

So, if you're confused about ems, or perplexed by percentages, this is a good introduction to the hows and whys of unit setting.

Read More

Typography II: Science and Design

Building on her first article on typography basics, this week Linda is going to show us how our eyes respond to web pages, and then look at how the five historic font families previously discussed can shape a website design.

Linda takes each of the design elements in turn (line, volume etc.) and shows how typeface can be understood and appreciated, when looked at in the context of each of these categories.

Filled with tips to help you consider the layout of text-heavy sections, once again Linda helps us to think more carefully about a subject we might sometimes take for granted.

Read More

A Photo Album Site in PHP, MySQL, XHTML and CSS: Pt.IV

In the last part of Rachel's tutorial on building a photo album site (especially to show off your holiday pics) we'll be putting the finishing touches to the skeleton you've already constructed. Here we'll add a bit of functionality to enable the viewer to change the main photograph, or select a completely different album to view.

Previously in this series we've set up the CSS/XHTML framework, then created the database, and in the previous article coded the basic logic behind the image display.

Read More

Basic ActionScript for Designers

When you are looking to create animations, there is no better tool than Flash. However, there's more to this versatile piece of software than the ability to create clips that can just be observed and admired. With Flash, you can create interactive animations that control the way a movie or sound plays with the click of a button and a lot more besides.

This interactivity can be achieved with ActionScript, the scripting language built into Flash.  So if you already know how to animate within Flash but are looking to develop your skills and add some interactivity to your movies then this tutorial is for you.

We won't be dealing with much theory here - we'll dive straight in and show you how ActionScript can be used to achieve tasks like:

  • Controlling the way movies play
  • Using buttons
  • Opening a Web site from Flash
  • Playing and stopping sounds

For the purposes of this tutorial we're going to assume you're familiar with working on the Timeline and creating animations with keyframes. You should also know how to create buttons and movie clips, as well as being able to publish a movie, both within Flash and on a Web page.

Read More
Newer articles Older articles