How to Autoplay Shockwave Flash on MySpace

When someone visits your MySpace profile, you may want to add a touch of your personality by automatically playing a Flash video or song clip as soon as the page loads. Making your Flash file auto-play requires only two tiny tweaks to your embedding code and takes just seconds. Keep in mind, however, that not everyone appreciates it when a website plays video or music right away; keeping this setting turned off gives visitors the choice to play your Flash file at their discretion.

Instructions

    • 1

      Sign in to MySpace.

    • 2

      Go to "Profile" and "Edit Profile" and choose the area you want your Flash file to appear in (i.e., "About Me").

    • 3

      Paste the following code in that box:

      <OBJECT WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
      STANDBY="Loading Flash file" TYPE="application/x-shockwave-flash">
      <PARAM NAME="FileName" VALUE="http://www.domain.com/your.fla">
      <PARAM name="autostart" VALUE="false">
      <PARAM name="ShowControls" VALUE="true">
      <param name="ShowStatusBar" value="false">
      <PARAM name="ShowDisplay" VALUE="false">
      <EMBED TYPE="application/x-shockwave-flash" SRC="http://www.domain.com/your.fla" WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
      </OBJECT>

    • 4

      Change "http://www.domain.com/your.fla" to the URL of your Flash file in both places it appears in the code.

    • 5

      Change

      <PARAM name="autostart" VALUE="false">

      to

      <PARAM name="autostart" VALUE="true">

    • 6

      Change autostart="0" to autostart="1" to make your Flash file play automatically when the page loads. (To stop it from playing automatically, change the "1" back to "0".)

Tips & Warnings

  • If you already have code to embed your Flash file, look for fields called "autostart" and change their values to "True" or "1."

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured