Videoclip Within Videoclip
Is it possible to have a videoclip that contains other videoclips? I have made several buttons using videoclips, but rather than dropping each clip into the scene, I would like to put them all into a videoclip and then drop that one videoclip which contains all of them, into the scene. does that make sence? I suppose it doesn't really matter if I do this, but I just thought it would save space and make things a little cleaner for when I'm working on things. Oh yeah, I did try this actually, but it was not working. for some reason the indevidual videoclips would not play when I rolled over them. here is the script I used: on(rollOver){ _root.audio.gotoAndPlay(2);}on(rollOut){ _root.audio.gotoAndPlay(5);}on (release) { _root.content.loadMovie("content/audiopage.swf");}That is just for one of the buttons. when I use that same script but in the scene, it works fine. am I doing something wrong? I hope this sounds clear to everyone, cuz I'd really like to resolve this problem. thanks.p.s. maybe it is the "_root" thats messing it up because it is in a seperate videoclip instead of the scene. maybe?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 09-05-2005, 01:37 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Fastforward A Videoclip
as you already should now from the subject...i'm not that experienced with actionscript...
i embeded this videoclip onto a swf and am loading externally to another movie clip. Then i made a play, pause and beginning button. how can i make a fast forward button? and rewind? like press and rewind?
hope you can help me! i feel this is a very basic script but i really don't know what!
Can't Seem To Remove Swf Videoclip After I Load It
Hi guys.. I've run into a problem that I can't seem to solve.
I have a .mp4 file which I converted to a .swf file. When I load that .swf it starts playing which is all perfect. But no matter what I do I can't seem to remove it from memory.. or in fact I can't seem to stop the audiostream coming from it either. Here's my code below :
Code:
function playMovie():void
{
movieHolder2.addChildAt(loadit,0);
loadit.load(new URLRequest(localPath + "swf/clip.swf"));
loadit.x = 225;
loadit.y = 90;
movieLoaded = true;
loaditInUse = false;
//loadit.unload();
//movieHolder2.removeChildAt(0);
}
movieHolder2 is just an instance movieClip on my stage, and loadit is a regular loader(); the two commented lines are just for testing purpose since I'm trying to find a way to remove the .swf
If I uncomment the loadit.unload(); then nothing happens. If I uncomment the movieHolder.2removeChildAt(0) then the clip is indeed removed but the sound keeps playing from it, and I don't think the garbarge collector will ever recuperate the memory the clip was holding.
How do I do this guys ??
Alternatley. I had tried converting the .mp4 to a .flv and trying to play with that instead but I found that this only added to my problems.. the .swf clip currently plays just the way I want and if I could just find a way to remove it properly that would really make my day.
Thanks!
Pushing New Videoclip Into Ns.play?
Hey all,
Im currently trying to modify Lee Brimelows videoplayer, however im not quite sure how to achieve what im looking for and need suggestions. I'm looking to have 3 different movieclips. Lets say
var movie1:String = "http://www.link_to_movie_clip1";
var movie2:String = "http://www.link_to_movie_clip2";
var movie3:String = "http://www.link_to_movie_clip3";
As default, Movie1 will run in the window.
Each movieclip will be attached to an individual movieclip(button), and when i click button 1, then movieclip1 will load etc.
Currently the loaded movieclip is defined within:
ns.play("VARIABLE_TO_MOVIECLIP");
So guess I need to make a listener for each button, and within each of the listeners, define vars for the movieclips. Then make the EVENT listening for clicks, and when clicked, push the new movie into ns.play??
I'm pretty new to Flash, so any examples, suggestions or whatever would really be appreciated
Video: Start Buffering Somewhere Inside Of A Videoclip
hey!
is it possible to start buffering a videoclip from somewhere else than 0:00?
i have a video which is about 5 min long and i want to enable users to jump directly to 4:00 for example, without preloading this 4 minutes...
means: when the user clicks on the video, it should start buffering from 4:00
is it possible to do that without FMS/Red5?
thanks in advance & bye,
hans
|