Home Blog Home About Services Portfolio Pricing Contact
Apr28

How To Create Website in Flash - Part-1


There is no denying of the fact that flash websites are far m0re attractive and interactive than simple static websites. This is the reason why static website are continuously been migrated to flash websites because of their interactive nature and a number of other advantages. Now, creating a website in flash is not as complex as it might appear to some persons. Here in this article we are going to discuss how a flash based website can be created without using any advance ActionScripts that will definitely minimize complication as far as possible. We will control the movie clip by relying on the GoAndPlay method. If you can manage to follow these tricks and tips, you can easily get the hang of the complex issues related to web development.

Start With Setting Up The Stage
Lets start with a new flash movie. The dimension of the movie needs to be set 600×400px after accessing Properties Inspector. The frame rate should be fixed to 12 fps and select white background color. After that four layers have to be created in the time frame and they should be named as Actions, Buttons, Content and Background repetitively.

Click on the the image to enlarge

Preloader Creation
Here we will discuss the very basic aspects of preloader. Preloader enable words to be loaded simultaneously with the movie. For enabling this feature, we have to select the layer named Content and right click on the second frame on that same layer and choose the option “Insert Frame”. For writing the words, which will be loaded on the scene, you have to select the Text Tool. After writing the words, you can change the text size, font or anything you like by making some modification in the Properties Inspector section. If you want to align the text center, you have to use align panel.

After the completion of the visual part of the preloader, we should start working with preloader. Select the action layer and right click on it. There will be many options but you have to choose Insert Keyframe this time. Right click on the same layer once again for opening Actions Panel. After that, you have to copy and paste this code in the preloader:

if (_root.getBytesLoaded() != _root.getBytesTotal()){
gotoAndPlay(1);
}

Adding Content
The website that we are going to create will have three separate sections or pages and therefore, we have to create three different frames. On the timeline, these three frames will be the fifth, forth and the third frame. Background needs to be added at the initial stage and the same background needs to be applied in the rest of the three frames where content will be used. First we will click on the first layer and then right click on the Background Layer’s third frame and choose the Insert Keyframe option. This keyframe will be expanded to the fifth frame by choosing the Insert Frame command by right clicking on the fifth frame.

In this first section, we have discussed the initial steps for creating a website in flash. In the next section, we will discuss the rest of the steps for helping our visitors to create a website in flash.

Tags: , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

2 Responses to “How To Create Website in Flash - Part-1”

  1. How To Create A Website in Flash Part II Says:

    [...] the previous section of “How To Create A Website In Flash”, we have discussed some crucial steps with ample illustration. Here in this section we will try [...]

  2. Robert K Says:

    gotta say - im liking this blogging site. not only are your post extremely useful they are also very simple to understand. Thanks so much for posting this - always nice to know what to stick to when it comes to flash dev.

Leave a Reply