spacer
spacer search

i-Vibe.com
developer resource & tips portal

Search
spacer
Newsflash
01/27/06: I just had some time to cleanup this website. I will add more articles for AJAX this coming weekend.
 
web.jpg
Main Menu
Home
Articles
Programming
Networking/Security
Data Modeling
Interface Design
Developer News
Downloads
Links
Login





Lost Password?
No account yet? Register
Related Articles
 
Home arrow Programming arrow Flash arrow Easy Flash Banner, In Minutes!
Easy Flash Banner, In Minutes! Print E-mail
  • Currently 3.2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Rating: 3.2/5 (5 votes cast)

Written by Roceller Alvarez   
Monday, 28 March 2005
SWiSH - Create Flash animaton the easy wayDo you notice the MamboServe Hosting flash banner? It's the first flash media banner that I have created for this website. It only took me few minutes to build using SWiSHmax. SWiSHmax is a powerful Flash creation tool. With 230 new effects, a Javascript-like scripting language and support for dynamic content and input forms, SWiSHmax has everything you need to create fully interactive Flash presentations. Unfortunately, it's not free. But you can try it out free for 15 days. Enough time to make 100 banners! Get SwishMax!

Check out the sample code that I used for the entire banner. I assume you know at least a little bit about Flash such as topics about scenes and frames.
onSelfEvent (press) {
    getURL("http://www.mamboserve.com");
}
onFrame (2) {
    pauseFor(3);
}
onFrame (20) {
    var i:Number = getTimer() - startTime;
    secs = 5;
    if (i<secs*1000) {
        gotoSceneAndPlay("<current scene>",3);
    } else {
        startTime = getTimer();
        gotoSceneAndPlay("<current scene>",1);
    }
}
function pauseFor(secs) {
    var i:Number = getTimer() - startTime;
    if (i<secs*1000) {
        prevFrameAndPlay();
    } else {
        startTime = getTimer();
    }
}
onLoad () {
    var startTime = getTimer();
}

Comments

Only registered users can write comments.
Please login or register.

Powered by AkoComment 2.0!

 
Next >
spacer
 
spacer