ActionScript 3.0 :: Get The Screenshot Of The First Frame Of An External Flv File Without Play It?
Mar 5, 2009get the screenshot of the first frame of an external flv file without play it?
View 1 Repliesget the screenshot of the first frame of an external flv file without play it?
View 1 Repliesim trying to play a frame in an external .swf with a button from my main flash file.
View 5 RepliesI made a flash website and had one page load an external swf.
In this external .swf are thumbnails that link to another page (frame) all within the external swf. when you go to these pages there is a 'back' link which links back to the main external swf frame.
My problem is this: let's say i click a thumbnail in the external swf and it goes to the respective thumbnail page, and then i dont click the 'back' button but instead click another link of the main flash website - then i go back to the page that loads the external swf and instead of going to the main frame of the external swf it stays at the page i was previously on.
How do I get the link on the main flash website which loads the external .swf to always load on the first frame of the external swf?
This is my code for the page that loads the external .swf
var request:URLRequest = new URLRequest("branding.swf");
var loader:Loader = new Loader();
loader.load(request);
loader.x = 0;
[Code]....
i would like to load the "1.swf" to the "hub.swf"(ROOT MOVIE) and have it gotoAndPlay(2) using AS2.he thing is I can't put the gotoAndPlay(2) on the first frame of 1.swf.
hub.swf >>
_root.btn1.onRelease = function() {
loadMovieNum("1.swf",0);
[code]......
I have a button on the main timeline. When clicking it, I would like to move the main timeline to a frame label called "history" and load and play a movie clip called "slideshow1".
I have the "gotoAndPlay" code working properly but can't seem to get the external swf "slideshow1" to load and play.[code]...
im trying to do is load an external swf file into a "base" file but play a certain frame number or label in the external file.I have a file called base.swf file which is level0In base.swf i have nothing but 1 frame with the following AS code:loadMovie("top.swf", 2);This works fine and loads and plays top.swf, but how can i load top.swf and play a certain frame label or number as soon as its loaded. Ive tried the following which does work but i hope it kinda explains what i want to do.
loadMovieNum("top.swf", 2);
tellTarget (_level2) {
gotoAndPlay("MyFrameLabel");
[code].....
i will send newsletter to client via emailclient clicks on image or link and it will open a specific frame in swfi know we can jump specific frame in html if swf is embed in same htmlbut i am looking for external swf in html to be played on specific frame.
View 1 RepliesI'm building a cms and I want users to be able to upload videos but I'm not familiar with video upload & conversion. Is there an example or has anybody coded a solution like this?
I heard about ffmpeg but I don't know how to integrate it with asp.net.As simple solution I can make my clients upload flv files but then I would still need to get a screenshot from that fvl.
I need the user of my Flex application to be able to save a snapshot of part of the UI to a local jpg file. I got the screenshot part down - can generate an image out of any given control. However, the only way I see to let the user save the image locally is to send to my server which would return it with the appropriate Content-Disposition.
View 2 RepliesI have the loading audio file at frame one. However, I want to play the audio only at specific frame or frame label. How do I do that? Below are my codes:
Quote:
//start of sound section is for sound
var soundReq:URLRequest = new URLRequest("FlashFiles/audioFiles/mySoundmp3");
var sound:Sound = new Sound();
[Code]....
The above plays the sound as soon as the .swf file is loaded. But I want to play at certain point in time, say frame number or frame label. I want to be able to put all my action script on frame one (or one location) instead of all over the time line.
URL...I checked this post out and it looks like the normal way for adding a flv, but it tried it on some sample .movs from apple and doesnt seem to work.Do movs have to be encoded specially for playback in flash?
View 1 RepliesI have a flash file with several frames. In each frame I need to play a sound file.I've added all the sounds to the library and done all the necessary steps to export for actionscript.Here's my code to play the sound in one frame.
var sound1:Sound = new Cal10101();
sound1.play();
This works great to play the sound. I am using buttons to move to the next frame. When I click the button to move to the next frame, I need the sound from frame 1 to stop and a new sound which would be Cal10102 to start playing.How do I stop the sound from frame 1 from playing when I go to the next frame?
I have 2 flash files, one with an intro and the second that just has a document class file that plays out a snake game. How could i import that document flash file and make it play out on like frame 100 off my other flash file.
View 1 RepliesI have a flash CS3 slideshow that loads it's content from an external .xml file. If I export the HTML it plays fine, but if I move the HTML to the site root directory (just outside the directory with the .swf file), and let dreamweaver update the links the flash slideshow will not play. my site is at: [URL] the flash with the .xml is in [URL]
View 1 RepliesI made a preloader which is similar to the preloader in the tutorial from gotoandlearn.Works all fine except, that the swf-file, which contains a movie (with sound n everything) already starts playing, while its still loading. So in fact u can see the preloader loading, while you can already hear the sound of the movie.How can I prevent the external swf-file from playing before it has finished loading?(And I'd prefer to handle the problem with 2 seperate swf-files. I know I could make the preloader in the first frame and tell to skip forward to the second frame when it's done loading...)
View 6 Repliesi want to load and play a swf file form a specific frame number
So when a swf finishes i want to load another swf file from frame number 6430.
Is it possible or not
I finally got to link an external swf movie playing in my main movie... this external mov. has a script that when u move the mouse, a series of panels slide from left to right... when i preview the external movie, it plays fine.. but when i insert it in the main movie, and preview it, the movie plays, but the panel stays there.... static... does not move...
also, when i load a movie, how can i unload it when another is pressed?
I have this text file text.txt and it has a variable in it named song1 with the url of a song file. In flash, I set up this actionscript:
onClipEvent (load) {
loadVariables("text.txt", "_root");
var my_sound:Sound = new Sound();
my_sound.loadSound(song1,false);
}
the problem is that I get an UNDEFINED message for the variable song1. But, if I put it in for the variable of dynamic text, the text will show up in the exported flash. I suspect it has something to do with where the variable is being exported to.
Is it possible for a movie to stop until an external file has fully loaded at which point the main movie will then play?
View 1 RepliesI purchased a TM AS2 Flash 8 / XML Template. I'm trying to figure out how to create a text link inside my XML content that can link back into the flash movie to a specific MOVIE/FRAME.
I've found where a XML text link can trigger a function (<a href="asfunction:_root.more_click_func,0">), but I can't seem to figure out how to simply go to a specific frame in the flash. I would think that this would be easy. ??? I don't need to do anything dynamic, except load the link exactly as presented in the XML file.
thats it is there a way to take all the code in a frame and save it to a .AS file and import that .AS file into the frame where the code originally was?
View 4 RepliesI am loading external file swf at frame 30(as one of my pages). When I click button at example 50 or 61 (another pages) how do I remove the loader.
View 4 Repliesfor example i have 2 movie clip, clip1 and clip2, and i want to play one of them, which defined in a external txt file variable like this:&c=1& or &c=2&my problem is, i have just one frame to make this!i tride to make simple my question, it's a bigger project!there is more than 2 movies and can't use if(), i just want to change the number of end of movie clip instans name some thing like this:
ActionScript Code:
clipname= "clip"
var trc = new loadVars()
[code]....
What I need is an AS code for a button which first play an animation ( a motion tween) and then load an external swf file.
View 2 RepliesHow do I link from one specific frame in one swf file to another specific frame in another swf file?It should be something like...
on(release){_root.gotoAndStop(8)}
...but where I want to get linked to another file in frame 8.Do I just simply rewrite _root to something else?
I have some buttons in my main movie.I want each button to link to a different frame of an external movie. Is this possible?
View 2 Replieslets say i want an external FLV flie to play using a component. How can I force at the end of the flv file to go to another frame/scene?So imagine an external video clip plays, once its finished your force to a screen that says "click to go to my website".is this possible? Or does the flv have to be imported to stage???
View 1 RepliesThe title of my main file is "Gabriel96.fla". Inside this file I have a movie clip called "home movie". Inside this movie clip i have a button called "Symbol 32". Once this button gets clicked, I'd like it to go to frame "joe" which is inside a movie clip called "porrtfolio", which inside a separate file called "portfolio55.swf".
View 4 RepliesI will try to be as clear as I can. I have an existing swf file that I need to add Play,Pause, FF and Rewind to but I need the controls to be part of the swf file and not as a video player.
I am loading an external swf file that has all of the controls on it via this code:
[Code]...
I am doing this so I can rollover the viewing window and have it appear. I cannot get any code to work to control the timeline (which is broken down into sections with individual MC's in each section.
What I am looking for is the code to apply to the buttons on the external controller to control the playing of the movie.
I have my flash on multiple scenes, and would like to play an animation when clicking on the navigation button before switching to a different scene.
I'm halfway to accomplishing this.
Here is what i used
Code:
_root.gotoAndPlay("changepage1");
_root.onEnterFrame=function(){
if(this._currentframe=="changepage2"){
[Code]....
The above code is on a blank keyframe. Changepage1 is the start of the animation and Changepage2 is the end of the animation.
Upon clicking the navigation button it plays the above scenes.
However it doesn't change scenes to scene "Home2".