bennymartensson
July 6th, 2005, 02:31 PM
I load my swf into _level40 of my master. The video shows ok but theres no sound. What obvious am I missing here?
---
var nc:NetConnection = new NetConnection ();
nc.connect (null);
var ns:NetStream = new NetStream (nc);
myVideo.attachVideo (ns);
ns.play ("storyboards/images/01/Channel4Pylons.flv");
_root.createEmptyMovieClip ("theSound", _root.getNextHighestDepth () );
theSound.attachAudio (ns);
var sound:Sound = new Sound (theSound);
sound.setVolume (100);
---
---
var nc:NetConnection = new NetConnection ();
nc.connect (null);
var ns:NetStream = new NetStream (nc);
myVideo.attachVideo (ns);
ns.play ("storyboards/images/01/Channel4Pylons.flv");
_root.createEmptyMovieClip ("theSound", _root.getNextHighestDepth () );
theSound.attachAudio (ns);
var sound:Sound = new Sound (theSound);
sound.setVolume (100);
---