Login Page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
$name = "";
$error = "";
if ( empty($_POST)){
$name = $_POST['name'];
$password = $_POST['pass'];
$password = md5($password);
$con = mysql_connect ("localhost", "root", "rambus");
mysql_select_db ("capstone");
$result = mysql_query("SELECT * FROM user");
while($row = mysql_fetch_array($result))
{
if (( $row['name'] = $name ) && ( $row['password'] = $password ))
{
session_start();
$_SESSION['id'] = $row['uid'];
$_SESSION['name'] = $row['name'];
header("Location: page1_1.php");
} else {
$error = "Invalid Username or Password. Please try again.";
}
}
mysql_close($con);
}
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type='text/javascript' src='jquery-1.5.2.min.js'></script>
<title>DJ MIX Login</title>
<style>
body{
color:white;
}
#passId, #submitId, #cpassId, #cpass2Id, #csubmit{
display:none;
padding: 10px;
}
#login{
display:block;
border:0px;
}
#create{
display:none;
border:0px;
}
.hover{
color:blue;
cursor:pointer;
}
#createbtn, #loginbtn{
width:100px;
}
</style>
</head>
<body background = "wallpaper-625037.jpg" bgcolor = "Black">
<br/><br/>
<h1><center><span style="color:white"><font face="impact, poster bodoni, geneva" size=+15><strong>DJ MIX</strong></font></span></center></h1>
<br/><br/><br/><br/><br/><br/><br/><br/>
<center>
<form id='form' action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<div><?php echo $error; ?></div>
<fieldset id="login">
<label for="name">Username:</label>
<div id="nameId"><input name="name" id "name" type="text" value='<?php echo $name; ?>'/> </div>
<div id="passId">
<label for="pass">Password:</label><br/>
<input name="pass" id ="pass" type="password" /> <br/>
</div>
<div id="submitId">
<input type='submit' value='Sign In'/>
</div>
<br/><hr width='200px'>
<div id="createbtn"><br/><br/>Create Account<br/><br/></div>
</fieldset>
</center>
</form>
<center>
<fieldset id="create">
<div id="report"></div>
<label for="cname">Username</label>
<div id="cnameId"><input name="cname" id ="cname" type="text" /> </div>
<div id="cpassId">
<label for="cpass">Password:</label><br/>
<input name="cpass" id ="cpass" type="password" />
</div>
<div id="cpass2Id">
<label for="cpass2">Re-type:</label><br/>
<input name="cpass2" id ="cpass2" type="password" /> <br/>
</div>
<div id="csubmit">
<input type='submit' value='Create' id='createaccount' />
</div>
<br/><hr width='200px'>
<div id="loginbtn"><br/><br/>Login<br/><br/></div>
</fieldset>
</center>
<script type='text/javascript'>
$(document).ready(function(){
$("#name").bind("keydown", function(){
$("#passId").slideDown("slow");
});
$("#pass").bind("keydown", function(){
$("#submitId").slideDown("slow");
});
$("#cname").bind("keydown", function(){
$("#cpassId").slideDown("slow");
});
$("#cpass").bind("keydown", function(){
$("#cpass2Id").slideDown("slow");
});
$("#cpass2").bind("keydown",function(){
$("#csubmit").slideDown("slow");
});
$("#createbtn").click(function(){
$("#login").fadeOut("slow", function(){
$("#create").fadeIn("slow");
});
});
$("#loginbtn").click(function(){
$("#create").fadeOut("slow", function(){
$("#login").fadeIn("slow");
});
});
$("#createbtn, #loginbtn").hover(function(){
$(this).toggleClass('hover');
}, function(){
$(this).toggleClass('hover');
});
$('#createaccount').click(function(){
var n = $("#cname").val();
var p = $("#cpass").val();
var p2 = $("#cpass2").val();
if( p = p2){
$.post("create.php", {name:n, password:p}, function(){
$("#cname").val("");
$("#cpass").val("");
$("#report").html("Your account has been successfully created. Please login now to proceed.");
});
}
else{
$("#report").html("The passwords do not match. Please re-enter your password.");
}
});
});
</script>
</body>
</html>

Application Page

<!DOCTYPE HTML>

<html>

<head>

<?php

session_start();

//echo $_SESSION['id'];

function logged_in() {

return isset($_SESSION['id']);

}

function confirmed_logged_in() {

if (logged_in()) {

redirect_to("index.php");

}

}

if ($_FILES){

//print_r($_FILES); //Debugging

$validType = array("media/mpeg","audio/mp3"); //Types to check for mp3 and wma

if ( in_array($_FILES['upload']['type'], $validType) ){

echo "<br/>Error: This is not an mp3 file."; return false;

}

move_uploaded_file($_FILES['upload']['tmp_name'], 'music/' . $_FILES['upload']['name']);

$v = $_FILES['upload']['name'];

$con = mysql_connect("localhost", "root", "rambus");

mysql_select_db ("capstone");

mysql_query("INSERT INTO music(song_name, path, session_id)VALUES('$v', 'music/','".$_SESSION['id']."')");

$query = 'SELECT * FROM music';

$results = mysql_query($query);

/*echo "//xml version=\"1.0\"\n";

echo "<music>\n";

while($line = mysql_fetch_assoc($results)){

echo"<item>". $line["song_name"] ."</item>\n";

}

echo "</music>\n";*/

$rsRecordset = mysql_query($query, $con) or die(mysql_error());

$row_rsRecordset = mysql_fetch_assoc($rsRecordset);

$totalRows_rsRecordset = mysql_num_rows($rsRecordset);

if($totalRows_rsRecordset > 0) {

$strXML = "<?xml version=\"1.0\"?>\n";

$strXML = $strXML . "<music>\n";

do {

$strXML = $strXML . " <song name = \"" . $row_rsRecordset['song_name'] . "\">";

$strXML = $strXML . "</song>\n";

//$strXML = $strXML . " <song>" . $row_rsRecordset['song_name'] . "</song>\n";

} while ($row_rsRecordset = mysql_fetch_assoc($rsRecordset));

$strXML = $strXML . "</music>";

$XMLFile = fopen("capstone7.xml", "w");

fwrite($XMLFile, $strXML);

fclose($XMLFile);

}

mysql_free_result($rsRecordset);

mysql_close($con);

}

?>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<script type='text/javascript' src='jquery-1.5.2.min.js'></script>

<title>

DJ MIX - User

<?php

$n = $_SESSION['name'];

echo $n;

?>

</title>

<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

<style type="text/css">

strong {

color: #FFF;

}

p {

color: #FFF;

}

</style>

</head>

<body background = "wallpaper-625037.jpg" bgcolor = "Black">

<div id="logout" style="float:right; border:6px solid black; height:40px; width:96px;">

<font face="impact, poster bodoni, geneva" size=+3>

<span style="color:white">

LOGOUT

</span></font></div>

<div style='clear:both'></div>

<h1 text = #ffffff><center><font face="impact, poster bodoni, geneva" size=+10><strong>DJ MIX</strong></font></center></h1>

<br/>

<p>

<center><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="700" height="500" id="FlashID"><!-- title="UI_1"> -->

<param name="movie" value="UI_1.swf">

<param name="quality" value="high">

<param name="wmode" value="opaque">

<param name="swfversion" value="6.0.65.0">

<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->

<param name="expressinstall" value="Scripts/expressInstall.swf">

<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->

<!--[if IE]>-->

<object type="application/x-shockwave-flash" data="UI_1.swf" width="700" height="500">

<!--<![endif]-->

<param name="quality" value="high">

<param name="wmode" value="opaque">

<param name="swfversion" value="6.0.65.0">

<param name="expressinstall" value="Scripts/expressInstall.swf">

<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->

<div>

<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>

<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>

</div>

<!--[if IE]>-->

</object>

<!--<![endif]-->

</object>

</center>

</p>

<script type="text/javascript">

swfobject.registerObject("FlashID");

</script>

<center>

<form action="page1_1.php" method="post" enctype="multipart/form-data">

<input type="file" name="upload" id="upload"/>

<input type="submit" value="Upload File"/>

</form>

<p text ="White"><font face="impact, poster bodoni, geneva">Have a Problem? <a href="http://facebook.com/djderrick">Look me up on MySpace !</a></font></p>

<p text ="White"><font face="impact, poster bodoni, geneva">By Derrick Meyer, 2011, All rights reserved.</font></p>

</center>

</body>

<script type="text/javascript">

$("#logout").hover(function(){ $(this).css("background-color", "blue"); },function( ){ $(this).css("background-color", ""); });

$("#logout").click(function(){ window.location='logout.php' });

</script>

</html>

Flash Code (AS3)

import flash.events.MouseEvent;

import flash.media.Sound;

import flash.net.URLRequest;

import flash.net.URLLoader;

import flash.media.SoundTransform;

import flash.media.SoundChannel;

import fl.events.SliderEvent;

import flash.events.Event;

import flash.utils.Timer;

import fl.data.DataProvider;

import flash.sampler.Sample;

var trackA:Sound = new Sound();

var sTransformA:SoundTransform = new SoundTransform ();

var chA:SoundChannel = new SoundChannel ();

var resA:Number = 0;

var sw:Number = 0;

var timerA:Timer = new Timer(10);

var isPlaying:Boolean = false;

var pausePosition:int = 0;

var Asel:String = new String();

var isDragging:Boolean;

var scrubberBounds = new Rectangle(0,trackScrubA.ghostKnob.y,trackScrubA.scrubberRect.width,0);

var Songs:Array;

var xmlLoader:URLLoader = new URLLoader();

var xmlData:XML = new XML();

var songNames:Array = new Array();

var trackSel:Array = new Array();

playA_btn_dummy.visible = false;

playB_btn_dummy.visible = false;

trackScrubA.ghostKnob.visible = false;

XML.prototype.ignoreWhite = true;

backSideA.alpha = .5;

backSideB.alpha = .5;

trackSelA.setSize(284,120);

trackSelA.setStyle("textPadding", 3);

trackSelA.setStyle("buttonWidth", 6);

trackScrubA.addEventListener(MouseEvent .MOUSE_DOWN, dragScrub);

stage.addEventListener(MouseEvent .MOUSE_UP, dropScrub);

slide_mix.addEventListener(SliderEvent.CHANGE, chTracks);

trackSelA.addEventListener(Event.CHANGE, swTrackA);

playA_btn.addEventListener(MouseEvent.CLICK, playtrackA);

stopA_btn.addEventListener(MouseEvent.CLICK, stoptrackA);

slideA_vol.addEventListener(SliderEvent.CHANGE, chVolA);

timerA.addEventListener(TimerEvent.TIMER, updateTimeA);

uploadA.addEventListener(MouseEvent.CLICK, uploadTrackA);

uploadB.addEventListener(MouseEvent.CLICK, uploadTrackB);

xmlLoader.addEventListener(Event.COMPLETE, LoadXML );

xmlLoader.load(new URLRequest("http://localhost/cap/capstone7.xml"));

function LoadXML (e:Event):void

{

xmlData = new XML(e.target.data);

ParseMusic(xmlData);

}

function ParseMusic (musicInput:XML):void

{

var songs:XMLList = musicInput.song;

for (var i:int = 0; i < songs.length(); i++)

{

//trace(songs[i].attribute("name"));

trackSel[i] = songs[i].attribute("name");

trackSel[i] = trackSel[i].toString();

songNames[i] = "music/" + trackSel[i].toString();

//trace(songNames[i]);

}

var items1:Array = new Array();

for (var n:int = 0; n < trackSel.length; n++)

{

items1[n] = {label:trackSel[n]};

}

trackSelA.dataProvider = new DataProvider (items1);

}

function swTrackA(event:Event):void

{

for (var k:int = 0; k < songNames.length; k++)

{

if (trackSelA.selectedItem.label == trackSel[k])

{

Asel = songNames[k];

}

}

}

function uploadTrackA(event:MouseEvent):void

{

var newAReq:URLRequest = new URLRequest(Asel);

trackA = new Sound();

trackA.load(newAReq);

chA.stop();

trackScrubA.ghostKnob.x = 0;

trackScrubA.follower.x = 0;

pausePosition = 0;

chA = trackA.play(resA);

timerA.start();

isPlaying = false;

chA.stop();

isPlaying = false;

playA_btn.visible = true;

playA_btn_dummy.visible = false;

trackA.addEventListener(Event.ID3, id3LoadedA);

trackA.addEventListener(Event.COMPLETE, lenA);

playA_btn.addEventListener(MouseEvent.CLICK, playtrackA);

pauseA_btn.removeEventListener(MouseEvent.CLICK, pausetrackA);

}

function playtrackA(event:MouseEvent):void

{

if (sw == 1)

{

chA = trackA.play(resA);

sTransformA.volume = 0;

chA.soundTransform = sTransformA;

}

else

{

chA = trackA.play(resA);

}

pauseA_btn.addEventListener(MouseEvent.CLICK, pausetrackA);

playA_btn.visible = false;

playA_btn_dummy.visible = true;

playA_btn.removeEventListener(MouseEvent.CLICK, playtrackA);

timerA.start();

isPlaying = true;

pausePosition = chA.position;

}

function stoptrackA(event:MouseEvent):void

{

chA.stop();

playA_btn.visible = true;

playA_btn_dummy.visible = false;

playA_btn.addEventListener(MouseEvent.CLICK, playtrackA);

pauseA_btn.removeEventListener(MouseEvent.CLICK, pausetrackA);

isPlaying = false;

resA = 0;

trackScrubA.ghostKnob.x = 0;

trackScrubA.follower.x = 0;

pausePosition = 0;

chA = trackA.play(resA);

timerA.start();

isPlaying = false;

chA.stop();

isPlaying = false;

}

function pausetrackA(event:MouseEvent):void

{

resA = chA.position;

chA.stop();

playA_btn.visible = true;

playA_btn_dummy.visible = false;

playA_btn.addEventListener(MouseEvent.CLICK, playtrackA);

pauseA_btn.removeEventListener(MouseEvent.CLICK, pausetrackA);

isPlaying = false;

}

function chVolA(event:SliderEvent):void

{

sTransformA.volume = slideA_vol.value;

chA.soundTransform = sTransformA;

}

function lenA(event:Event):void

{

timeA.text = ch_time(trackA.length);

}

function updateTimeA(event:TimerEvent):void

{

if(ch_time(chA.position) == ch_time(trackA.length)){

chA.stop();

playA_btn.visible = true;

playA_btn_dummy.visible = false;

playA_btn.addEventListener(MouseEvent.CLICK, playtrackA);

pauseA_btn.removeEventListener(MouseEvent.CLICK, pausetrackA);

isPlaying = false;

resA = 0;

trackScrubA.ghostKnob.x = 0;

trackScrubA.follower.x = 0;

pausePosition = 0;

chA = trackA.play(resA);

timerA.start();

isPlaying = false;

chA.stop();

isPlaying = false;

}

curTimeA.text = ch_time(chA.position);

}

//should only work when the track is loaded. Should make a function to load A properly.

function id3LoadedA(event:Event):void

{

artistA.text = trackA.id3.artist;

titleA.text = trackA.id3.songName;

}

function ch_time(millis:Number):String

{

var DispSec :String = new String();

var Min:Number = ((millis % (1000*60*60)) / (1000*60));

var Sec:Number = ((millis % (1000*60*60)) % (1000*60)) / 1000;

if (Sec < 10)

{

DispSec = "0" + Math.floor(Sec);

}

else

{

DispSec = Math.floor(Sec).toString();

}

return (Math.floor(Min) + ":" + DispSec );

}

function dragScrub(evt:Event):void

{

trackScrubA.ghostKnob.startDrag(true,scrubberBounds);

trackScrubA.ghostKnob.visible = true;

isDragging = true;

}

function dropScrub(evt:Event):void

{

if (isPlaying == true)

{

if (isDragging == true)

{

stopDrag();

var fullTime:int = Math.floor(trackA.length / 1000);

var newPos:Number = fullTime / 100 * Math.floor(trackScrubA.ghostKnob.x * 1000);

pausePosition = newPos / 2;

chA.stop();

chA = trackA.play(pausePosition);

if (sw == 1)

{

sTransformA.volume = 0;//to be sure seeking doesn't mess up volume on other sides.

chA.soundTransform = sTransformA;

}

isPlaying = true;

isDragging = false;

trackScrubA.ghostKnob.visible = false;

}

}

else

{// if not playing

isDragging = false;

trackScrubA.ghostKnob.visible = false;

}

}

/* -------------------------------------------------------------------------------- */

addEventListener(Event.ENTER_FRAME, onEnterFrame);

function onEnterFrame(event:Event):void

{

var estimatedLength:int = Math.ceil(trackA.length / (trackA.bytesLoaded / trackA.bytesTotal));

var playbackPercent:uint = 100 * (chA.position / Math.ceil(trackA.length) );

//200 pixels wide, so overall position will have to be times 2.

trackScrubA.positionBar.width = playbackPercent * 2;

trackScrubA.follower.x = trackScrubA.positionBar.width;

var loadedPercent:uint = 100 * (trackA.bytesLoaded / trackA.bytesTotal);

trackScrubA.loadedProgressBar.width = loadedPercent * 2;

var estimatedLengthB:int = Math.ceil(trackB.length / (trackB.bytesLoaded / trackB.bytesTotal));

var playbackPercentB:uint = 100 * (chB.position / Math.ceil(trackB.length) );

trackScrubB.positionBar.width = playbackPercentB * 2;

trackScrubB.follower.x = trackScrubB.positionBar.width;

var loadedPercentB:uint = 100 * (trackB.bytesLoaded / trackB.bytesTotal);

trackScrubB.loadedProgressBar.width = loadedPercentB * 2;

barA_L.height = (Math.round(chA.leftPeak * 100));

barA_R.height = (Math.round(chA.rightPeak * 100));

barB_L.height = (Math.round(chB.leftPeak * 100));

barB_R.height = (Math.round(chB.rightPeak * 100));

}

/* -------------------------------------------------------------------------------- */

var trackB:Sound = new Sound();

var sTransformB:SoundTransform = new SoundTransform ();

var chB:SoundChannel = new SoundChannel ();

var resB:Number = 0;

var timerB:Timer = new Timer(100);

var isPlayingB:Boolean = false;

var pausePositionB:int = 0;

var isDraggingB:Boolean;

var scrubberBoundsB = new Rectangle(0,trackScrubB.ghostKnob.y,trackScrubB.scrubberRect.width,0);

trackScrubB.ghostKnob.visible = false;

trackScrubB.addEventListener(MouseEvent .MOUSE_DOWN, dragScrubB);

stage.addEventListener(MouseEvent .MOUSE_UP, dropScrubB);

playB_btn.addEventListener(MouseEvent.CLICK, playtrackB);

stopB_btn.addEventListener(MouseEvent.CLICK, stoptrackB);

slideB_vol.addEventListener(SliderEvent.CHANGE, chVolB);

timerB.addEventListener(TimerEvent.TIMER, updateTimeB);

function playtrackB(event:MouseEvent):void

{

if (sw == -1)

{

chB = trackB.play(resB);

sTransformB.volume = 0;

chB.soundTransform = sTransformB;

}

else

{

chB = trackB.play(resB);

}

pauseB_btn.addEventListener(MouseEvent.CLICK, pausetrackB);

playB_btn.visible = false;

playB_btn_dummy.visible = true;

playB_btn.removeEventListener(MouseEvent.CLICK, playtrackB);

timerB.start();

isPlayingB = true;

pausePositionB = chB.position;

}

function stoptrackB(event:MouseEvent):void

{

chB.stop();

playB_btn.visible = true;

playB_btn_dummy.visible = false;

playB_btn.addEventListener(MouseEvent.CLICK, playtrackB);

pauseB_btn.removeEventListener(MouseEvent.CLICK, pausetrackB);

isPlayingB = false;

resB = 0;

trackScrubB.ghostKnob.x = 0;

trackScrubB.follower.x = 0;

pausePositionB = 0;

chB = trackB.play(resB);

timerB.start();

isPlayingB = false;

chB.stop();

isPlayingB = false;

}

function pausetrackB(event:MouseEvent):void

{

resB = chB.position;

chB.stop();

playB_btn.visible = true;

playB_btn_dummy.visible = false;

playB_btn.addEventListener(MouseEvent.CLICK, playtrackB);

pauseB_btn.removeEventListener(MouseEvent.CLICK, pausetrackB);

isPlayingB = false;

}

function chVolB(event:SliderEvent):void

{

sTransformB.volume = slideB_vol.value;

chB.soundTransform = sTransformB;

}

function lenB(event:Event):void

{

timeB.text = ch_time(trackB.length);

}

function updateTimeB(event:TimerEvent):void

{

if(ch_time(trackB.length) == ch_time(chB.position)){

chB.stop();

playB_btn.visible = true;

playB_btn_dummy.visible = false;

playB_btn.addEventListener(MouseEvent.CLICK, playtrackB);

pauseB_btn.removeEventListener(MouseEvent.CLICK, pausetrackB);

isPlayingB = false;

resB = 0;

trackScrubB.ghostKnob.x = 0;

trackScrubB.follower.x = 0;

pausePositionB = 0;

chB = trackB.play(resB);

timerB.start();

isPlayingB = false;

chB.stop();

isPlayingB = false;

}

curTimeB.text = ch_time(chB.position);

}

function id3LoadedB(event:Event):void

{

artistB.text = trackB.id3.artist;

titleB.text = trackB.id3.songName;

}

function dragScrubB(evt:Event):void

{

trackScrubB.ghostKnob.startDrag(true,scrubberBoundsB);

trackScrubB.ghostKnob.visible = true;

isDraggingB = true;

}

function dropScrubB(evt:Event):void

{

if (isPlayingB == true)

{

if (isDraggingB == true)

{

stopDrag();

var fullTimeB:int = Math.floor(trackB.length / 1000);

var newPosB:Number = fullTimeB / 100 * Math.floor(trackScrubB.ghostKnob.x * 1000);

pausePositionB = newPosB / 2;

chB.stop();

chB = trackB.play(pausePositionB);

if (sw == -1)

{

sTransformB.volume = 0;//to be sure seeking doesn't mess up volume on other sides.

chB.soundTransform = sTransformB;

}

isPlayingB = true;

isDraggingB = false;

trackScrubB.ghostKnob.visible = false;

}

}

else

{// if not playing

isDraggingB = false;

trackScrubB.ghostKnob.visible = false;

}

}

function uploadTrackB(event:MouseEvent):void

{

var newBReq:URLRequest = new URLRequest(Asel);

trackB = new Sound();

trackB.load(newBReq);

chB.stop();

trackScrubB.ghostKnob.x = 0;

trackScrubB.follower.x = 0;

pausePositionB = 0;

chB = trackB.play(resB);

timerB.start();

isPlayingB = false;

chB.stop();

isPlayingB = false;

playB_btn.visible = true;

playB_btn_dummy.visible = false;

playB_btn.addEventListener(MouseEvent.CLICK, playtrackB);

pauseB_btn.removeEventListener(MouseEvent.CLICK, pausetrackB);

trackB.addEventListener(Event.COMPLETE, lenB);

trackB.addEventListener(Event.ID3, id3LoadedB);

}

/* -------------------------------------------------------------------------------- */

//track slider

var TransA :SoundTransform = new SoundTransform ();

var TransB :SoundTransform = new SoundTransform ();

var mixval:Number = new Number();

var color_varA:Number = new Number();//for the background colors.

var color_varB:Number = new Number();

function chTracks(event:SliderEvent):void

{

if (slide_mix.value > 1)

{

sw = 1;

}

if (slide_mix.value < 1)

{

sw = -1;

}

mixval = slide_mix.value;

TransA.volume = ((Math.abs(mixval-2)) / 2);

color_varA = TransA .volume;

chA.soundTransform = TransA ;

backSideA.alpha = color_varA;

TransB.volume = (mixval / 2) ;

color_varB = TransB .volume;

chB.soundTransform = TransB ;

backSideB.alpha = color_varB;

}

-- DerrickMeyer - 2011-05-16

Topic revision: r1 - 2011-05-16 - DerrickMeyer
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback