ActiveDen

Black Velvet XML Template with Deep Linking

Why do I get a blank screen when I preview the index.html file on my desktop?

When you run the index.html file off of your desktop you will get a Flash Player security warning. Instead of hitting ‘OK’ you need to:

1. Select ‘Settings…’
2. Select the ‘Edit Locations’ drop down.
3. Select ‘Add Location’.
4. Copy the path that is displayed at the bottom of the popup.
5. Paste the path into the ‘Trust this location’ field.
6. Select ‘Confirm’.

Then just refresh your index.html or re-open it.

Flash keeps crashing when I preview the .swf. What should I do?

Make sure you have the latest update to your Flash software by running the Adobe Updater. There is most likely an update that will install, and then everything should run fine.

My Black Velvet template keeps crashing online. What should I do?

Make sure you have the latest update to your Flash software by running the Adobe Updater. There is most likely an update that will install. Then you will have to re-publish a new .swf to use online. That should fix the problem.

How do I remove the black vignette overlay on the background?

Open the file “BackgroundContainer.as” located in the folder structure “com/metaphorcreations/blackvelvet” add this line:

black_edge.visible = false;

...after line #66 ( black_edge = new Sprite(); )

Then make sure to save the file and republish your .swf.

How to customize the site to auto-start new songs when the music player is paused.

1. Open the “Footer.as” file located at “com.metaphorcreations.blackvelvet” 2. Paste the following at the bottom of the file within the “Setters” area of code:

public function set playPause(s:String):void {
    if (s=="pause") {
        // Set the buttons
        playBtn.playIcon.mouseEnabled = true;
        playBtn.pauseIcon.mouseEnabled = false;
        playBtn.playIcon.gotoAndStop(1);
        playBtn.pauseIcon.gotoAndStop(2);
    } else {
        // Set the buttons
        playBtn.playIcon.mouseEnabled = false;
        playBtn.pauseIcon.mouseEnabled = true;
        playBtn.playIcon.gotoAndStop(2);
        playBtn.pauseIcon.gotoAndStop(1);
    }
}

3. Save the file.

4. Open the “MusicPlayer.as” file located at “com.metaphorcreations.blackvelvet” 5. Add the following on line #42 (right after import com.metaphorcreations.blackvelvet.BlackVelvetButton;):

import com.metaphorcreations.blackvelvet.Footer;

6. Go down to line 648 (give or take a couple lines) and update:

if (pause_toggle) {

    sndChannel.stop();
    pause_position = 0;
}

to:

if (pause_toggle) {

    //sndChannel.stop();
    //pause_position = 0;
    // Set the buttons
    Footer(this.parent).playPause = "play";
}

7. Save the file. 8. Open the .fla file and republish your swf.

You must sign in or sign up to purchase this item.

$30Regular Licence

$30

Regular Licence a website (commercial, personal, client), free game, e-card, or presentation - Details

$300Extended Licence

$300

Extended Licence an app, paid game, or other software project, a website template for sale - Details

270 Purchases 241 Comments

Buyer Rating
12345 ( 53 ratings )
JoeMC

JoeMC

  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 50 and 99 users
View Portfolio
Created 4 November 09
ActionScript Version AS3
Documentation Well Documented
Flash Files Included ActionScript AS, Flash FLA, XML Files
Opens With Flash CS3 (9+)
Published Size 147kb
Resolution Resizable
by
by
by
by
by