# Is this code wrong?

**URL:** <https://forum.kirupa.com/t/is-this-code-wrong/140191>\
**Category:** Uncategorized\
**Created:** [March 9, 2005, 12:41am UTC](https://forum.kirupa.com/t/is-this-code-wrong/140191 "2005-03-09T00:41:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellare](https://avatars.discourse-cdn.com/v4/letter/e/919ad9/32.png) [@ellare](https://forum.kirupa.com/u/ellare)\
**Post date:** [March 9, 2005, 12:41am UTC](https://forum.kirupa.com/t/is-this-code-wrong/140191/1 "2005-03-09T00:41:38Z")

</div>

is there something wrong in this code that i am just not seeing?  
cuz it aint working.

it works on a “small scale” but not on a “large scale”

this is small scale:  
[www.newfangledworld.com/flvTest2.html](http://www.newfangledworld.com/flvTest2.html)

this is large scale:  
[www.newfangledworld.com/flvTest3.html](http://www.newfangledworld.com/flvTest3.html)  
(buttons are in film strip at the bottom)

var netConn:NetConnection = new NetConnection();  
// create a local streaming connction  
netConn.connect(null);  
//create NetStream object and define an onStatus() function  
var mynetStream:NetStream = new NetStream(netConn);

BJnameThNbutton.onRelease = function(){  
myVideo.attachVideo(mynetStream);  
mynetStream.play(“BJ\_name\_FLV.flv”);}

//bj button for email charm  
BJ\_emailcharmThNbutton.onRelease = function(){  
myVideo.attachVideo(mynetStream);  
mynetStream.play(“BJ\_emailcharm\_FLV.flv”);}

BJ\_companionThNButton.onRelease = function(){  
myVideo.attachVideo(mynetStream);  
mynetStream.play(“BJ\_companion\_FLV.flv”);}

BJ\_idtheft\_button.onRelease = function(){  
myVideo.attachVideo(mynetStream);  
mynetStream.play(“BJ\_identitytheft\_FLV.flv”);}

BJ\_lifechangeThNbutton.onRelease = function(){  
myVideo.attachVideo(mynetStream);  
mynetStream.play(“BJ\_lifechanging\_FLV.flv”);}

BJ\_refreshThNbutton.onRelease = function(){  
myVideo.attachVideo(mynetStream);  
mynetStream.play(“BJ\_refresh\_FLV.flv”);}

BJ\_confidenceThNbutton.onRelease = function(){  
myVideo.attachVideo(mynetStream);  
mynetStream.play(“BJ\_refresh\_FLV.flv”);}

why would the same exact scripts work on the small scale version but not the bigger project ?
