ActionScript 2.0 :: Loading External Movie In MPEG
Jan 29, 2004
I am doing a project for school and I don't have flash their. Is there a simple way to connect to a external flash as file and have that one stream a mpeg video into flash. If so, is there also anyway to add controls.
I am doing a project for school and I don't have flash their. Is there a simple way to connect to a external flash as file and have that one stream a mpeg video into flash. If so, is there also anyway to add controls.
When I change the swf file to anytime of movie like avi, wmv, mpeg etc. It is not working. I am loading xml files, images and videos in that swf. which file format can do this for changing swf to any movie type file.
I am creating a full site in flash. The main movie has an empty movie clip in the middle of the movie to load external movies as the user clicks on the links. Everything has worked good so far as the linking has only gone 1 level deep. However, when I created a new external movie, and had buttons on it for another external page, but yet to open in the main movie, I can't get anything to work. Example.... In the main movie, the user clicks on the archive link, and the external archive movie is loaded into the main movie. Now, on this archive movie, there is a button on it that links to a another movie (say text effects.swf). However, when they click this button for text effects, I can't get it to load into the main movie clip and replace the archive movie that was currenlty there.
I've compiled an MTS video into MP4 format using FFMPEG. The video is 2 minutes long.
I want to be able to play the video back but start at 0:15 seconds and end at 0:45 seconds. Effectively I want the playback software to only show 30 seconds of playback available. The software must be a Flash-based application for integration into HTML.
[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.
I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Does anybody know why? Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't.If i start only the mp3 player by itself it's working.here is the fla for the player
I am trying to load an external swf without having to use any buttons. In other words, when the main flash loads, the external one loads as well automatically.
I found the following script that does seem to load the movie, but it won't play...the first frame of the movie just sits there without playing. Obviously I'm missing something? I have this action in the first frame of my main movie.[code]...
I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't. If i start only the mp3 player by itself it's working.
now my problem is, it's trying to get picPercent from _root, but it doesn't move. Is that because it's looking for picPercent from Movie1 and not Movie2 like I'd like?
I am trying to create a online portfolio and wanted to open an external movie in a specific place. I have now managed to do this, but now it opens where I want it does not play my movie that it opens. (code below)
on (release) { _root.empty.loadMovieNum("kari.swf", "_level1");; }
If I dont place the external movie within the area I would like it in, and have it just open the movie will play quite happily
I have a group of buttons that coordinate with eachother, and i want them to be there throughout the whole website with only a small rectangle that changes when a button is pressed. I have attached a picture of my layout, and i want to be able to import '.swf' files into the empty grey rectangle.
I have no idea where to start and where to load my external swf's, and the best i can do right now is to duplicate the scenes and use normal links, but that takes away the look of my buttons when switching from one page to another.how to make a pre-loader for the external swf's also?
I'm able to load the actual external SWF movie, but I can't seem to control it. I have already built a controller for my flash video player. The problem now is it only plays FLV and I want it to be able to take in SWF support. Again, I load the SWF fine, but controlling is the problem.
function finished_loading (e:Event) { var externalMovie = MovieClip(swfLoader.content); // cast 'DisplayObject' to 'MovieClip' addChild(externalMovie); // add your swf directly to the stage
[code]....
I think this is the problem with the code. Casting it to a MovieClip only gives me a 1034 error.
I'm able to load the actual external SWF movie, but I can't seem to control it. I have already built a controller for my flash video player. The problem now is it only plays FLV and I want it to be able to take in SWF support. Again, I load the SWF fine, but controlling is the problem.
function finished_loading (e:Event) { var externalMovie = MovieClip(swfLoader.content); // cast 'DisplayObject' to 'MovieClip' addChild(externalMovie); // add your swf directly to the stage
I have a main movie with 4 menu buttons to load external movies. I managed to load an external movie but the problem is that the menu movie is showing underneath and I would like it to be invisible or not showing while the loaded movie plays.
I posted the files menu2_swf as well as the .fla
[URL]
The code:
stop(); var myLoader:Loader = new Loader() myClip.addChild(myLoader)
This used to be so easy in AS1 and AS2, but since I haven't been using Flash in 2 years now. looks like time ran over me - and it looks like it'd take me a while before I figure this out in AS3. So, what I want to do is to call external swf into another movie clip and my stage is set like this.
In main timeline I have two layers:first is (center_mc) and contains movie clip "center_mc" which is positioned in the middle of stage and in the second layer (mbottom_mc) is movie clip "mbottom_mc" that will contain buttons as "menubtn01". So what I Want to do is when I click on this "menubtn01" to call external swf into THAT movie "center_mc". So to clear the external swf that "center_mc" is showing with the new.
Last time I wanted to load an external clip I could do it like this on (release) {
[Code]..
So now I want to achieve exactly the same thing in AS3, I have been looking at examples on the web but am getting all sorts of errors and basically don't know what I am doing. I also want to know how to navigate to .swf files in a file structure, as I have to build an old school fscommand file structure for a cd-rom.
I'm trying to make a Flash website that contains a Flash Store (loaded as an external SWF.)
I have set my pages up in a movie clip file called pages_mc. Each desired page is has its frames labeled (ie: "HOME," "PRODUCTS," ect�)
I need to know how to load the SWF titled, flashshop_plugin.swf onto the "PRODUCTS" page of pages_mc.
What is the best way to do this? I've tried a number of things, which have resulted in the external SWF not loading or having it load, but not go away when another page is selected. I'm assuming I would use add/remove child for this? Just not sure how and accompanied by what other code.
PS: The Flash Shop template I am using suggested using the following code to import it:
how do I load an external .swf files in order for them always to load on top of the one loaded previously. I've tried to put all of them in the same level but the transition is abrubt. I want the transition to be smooth and each .swf file to load on top most level.
can someone give me the AS for loading external swfs into a movie? the swf name is slideshow.swf. (i am trying to load a slideshow into the movie using AS so that when the keyframes his the "stop();" function, the slideshow does not stop) or is their a better way of accomplishing this?
I am a bit new to the world of externally loaded swf's. I am trying to load an swf into my main movie, and then access/control the movieclips within that newly loaded swf, but for some reason it is not working.
Here is a quick example: this.menu.createEmptyMovieClip("myMovieClip_mc",this.menu.getNextHighestDepth()+1); this.menu.myMovieClip_mc.loadMovie("\menu\standard.swf",this.menu.getNextHighestDepth()+1); this.menu.myMovieClip_mc._lockroot = true; trace(this.menu.myMovieClip_mc.option); this.menu.myMovieClip_mc.onRollOver = function() { trace("Hello?"); this.bounce(120); }
Okay this code does sucessfully create the movieclip but my onRollOver function does not work, and I cannot access any of the movieClips within myMovieClip_mc such as option, it traces out as undefined.
i don`t know how i got back to the basics but i am having a problem with a preloader. What i do... I have an empty movie clip that loads an swf after a user make a button choise. So after the user choise i make the preloader._visible = true; and in the preloaders movie clip i have this code
The "_root.externals" is the empty movie clip that loads the external swf. The problem is that when the preloader goes to 100% the external swf plays but plays in loop all the time. In the external swf i have the action stop(); in a frame but it doesn`t stop insted of stoping it replays all the time....
if i just tested loading an external swf into a movie clip, and it loaded fine... but it doesnt let me click any of the buttons or anything in it ( i imported a game i made into a different swf and i cant click the start button)... is that just how loadMovie works? or is there something i did wrong?
I am currently trying to load a movie clip in the main SWF. Got that done.Then call and replace the first movie clip with another, got that done too.This is for a menu i am making, I am not too great in action script. I am working in AS2.Problem is after I call the second external movie clip into the main SWF, it all stops working.Is there a way I set this up that no matter what it keeps loading and unloading the external movie clips? This is what I have so far.[code]This starts with the "king_menu.swf" already loaded, i have it unload it and load "dqueen_menu.swf" to the call point named "load_king".I am guessing I need to have a universal call point for all my external movies to load and work in a random chain.
I am wondering how/if I can link to an external URL within a movie clip. It is easy to create a link that functions within my site, but I am having trouble linking to an independent site.