Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Hanibal webforumsuser@macromedia.com #1
video cutting out before end
I've got the video playing in a window with Flash, however it only plays the number of frames in the host movie. I want the length to last to the end of the video in the window.
I'm not sure how to make the host movie persist
code
// Create a NetConnection object:
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection:
netConn.connect(null);
// Create a NetStream object and define an onStatus() function:
var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject) {
status.text += "Status (NetStream)" + newline;
status.text += "Level: "+infoObject.level + newline;
status.text += "Code: "+infoObject.code + newline;
};
// Attach the NetStream video feed to the Video object:
my_video.attachVideo(netStream);
// Set the buffer time:
netStream.setBufferTime(5);
// Being playing the FLV file:
netStream.play("videoFile.flv");
Hanibal webforumsuser@macromedia.com Guest
-
cutting items in a PDF
cutting items in a PDF I need to use something similar to an eraser to to rub out some defects in a scanned image. How does one go about doing... -
cutting a shape
new to freehand,imported a square with a round drawing on it. how do i select just the circle and cut it away from the square? thanks for your help -
Cutting Variable
Jeff 'Japhy' Pinyan wrote: Cool...that did the trick -
Cutting objects
i want to cut away from a square image i have so that it is curved in, how do i do that? -Thanks -
Cutting a picture
hello, i have taken a picture with my digital camera, it is my kid skateboarding, is it possible to just gut him out and save just him as an image... -
J___ webforumsuser@macromedia.com #2
Re:video cutting out before end
i am not sure what your problem is.
do you have a stop(); in the root level timeline?
can you use setInterval to pause the timeline as needed for the length of the movie?
can you load the swf into a MC and use the new event handlers such as loadComplete?
J___ webforumsuser@macromedia.com Guest
-
Hanibal webforumsuser@macromedia.com #3
Re:video cutting out before end
whats the MC?
I only have one layer and one time line and all this script is in the first frame?
Hanibal webforumsuser@macromedia.com Guest
-
J___ webforumsuser@macromedia.com #4
Re:video cutting out before end
MC=movieclip
You can load video files in swf into a movieclip and control its behaviors.
Check your documentation for this.
From what I gather, you have inserted a quicktime video file into your timeline. If this is the case, your best bet is to use setInterval() to pause the movie.
Then again you best bet is to load the movie dynamically--using the above method or loadMovie().
tell me more and I can help you more
J___ webforumsuser@macromedia.com Guest



Reply With Quote

