ActionScript 3.0 :: Add A Static Picture After An FLV Movie Finishes?
Aug 12, 2010I have a 30 second FLV movie which I need to insert into a web page. After the movie finishes, I'd like to display a static photograph.
View 2 RepliesI have a 30 second FLV movie which I need to insert into a web page. After the movie finishes, I'd like to display a static photograph.
View 2 RepliesI've got a 30 second movie which I would like to disappear after the movie ends, and replace it with a static photo.
View 5 RepliesI have some problems with editing my flash file. Currently, I have a small flash application in a folder, containing various kinds of files such as AS, SWF, FLA, HTML. What I want to do is to change the text inside one of the buttons in the application. After doing some reasearching, I realized that I should probably make some changes to the FLA file(Quiz.fla for example) since Quiz.fla is the only FLA file in the folder. Therefore, I opened it using Adobe Flash CS5.5, what what I found out is that the Quiz.fla file is really different from other FLA files. It only shows a plain background when I open it, without showing the actual interface of the flash application. It does contain all the buttons and contants under the Library section on the right side of Adobe Flash . When I try to change the text inside the button then save-publish, the newly published SWF file would just be a static picture of the button I've changed and everything else is gone.
View 7 RepliesI recently used the loadMovie action to load a .swf file to a target in the movie which it was being called from. Then I tried calling a picture to another target in the movie, but it did not load the picture as intended. I read about it on my book, but it didn't seem to work. Is there anyways on calling a picture into a target in the movie without placing the picture inside an swf file?
View 7 RepliesI have a movie that starts as the intro to the site. However, if it doesn't load quick enough, the rest of the site loads and cuts off the movie. How can I make the 2nd part play only after the 1st is completely finished?
View 2 RepliesI'm kinda new to Actionscript still and I found a code for an external movie (that's in an FLVPlayback component) to play in a container after a preloader - it can be seen here: [URL]..at the end of the intro clip, i want the site to go to another page automatically i'm having trouble because i think i'm supposed to use getURL, but i don't know how to tell it to go there only after the external movie is done. here is the code that controls the external movie:
HTML Code:
import mx.video.*;
stop();
this.attachMovie("FLVPlayback","my_FLVPlybk",{width:815, height:540, x:100, y:100});
my_FLVPlybk.contentPath = "http://www.stillpictureproduction.com/dynamic/stillPic.flv";
I have created a very basic preloader using flash components 'Loader' and 'ProgressBar". It's job is to load an external swf movie clip/file.
Problem: When the preloader has finished doing it's 'thing', i.e. reaches 100%, it loads/or seeming reveals the external movie already underway i.e. not at the first frame.
I've read a few posts from "Whispers", and have concluded that the problem is that the movie is streaming whilst being loaded. And also that i need to be using "init" in regards to 'listener'.
However i really want to be able to apply this to the code i am using it, as i had just kinda gotten to grips with it (the code).
Is anyone able to tell me what a need to alter to get the preloader to finish loading the movie COMPLETELY before it starts to play.
------------
myProgressBar.mode = "manual";
myProgressBar.setProgress(0, 100);
myProgressBar._visible = true;
[Code]....
I just followed the Preloader AS3 tut, and it works! Unlike the other sites
I have Flash CS4 AS3, and when the preloader is finished, it takes me to the end of my movie.
I'm a total beginner at this, since I've only been using Flash for about two days now , but I learn extremely fast !
In very simple terms, please explain how I can start the movie from the beginning when the preloader is done.
Also I had problems locating the URL to the swf. I kept getting "can't locate URL" when I inserted "bones.swf" for the URL request. I had to paste my files into the folder created in the tutorial for it to work. What is the difference between the folder I created and the one created in the tutorial that allowed AS to recognize the URL?
Here's my script:
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
l.load(new URLRequest("bones.swf"));
[Code]....
New to the forums, but was hoping I could get a quick hand.I have a preloader on frame 1 of my fla, and everything else comes in frame 2. When I use the simulate download setting when testing, once loading hits about 50%, the preloader disappears and the movie continues to frame 2. This causes a problem because flash then pauses and waits for the rest of the content.Could this be because I have movies nested in other movies? It usually pauses right at the point I have the menu mc tweening onto the stage. Is there a way to force the enitre movie to load at the beginning?
View 1 RepliesI have a preloader on frame 1 of my fla, and everything else comes in frame 2.When I use the simulate download setting when testing, once loading hits about 50%, the preloader disappears and the movie continues to frame 2. This causes a problem because flash then pauses and waits for the rest of the content.Could this be because I have movies nested in other movies? It usually pauses right at the point I have the menu mc tweening onto the stage. Is there a way to force the enitre movie to load at the beginning?
View 1 RepliesIm loading a .swf application (using IE or Firefox) from an Apache server. The application then communicates with a local java server via XMLsocket.
the aplication runs perfectly on local (even with apache)
but
from a remote server (applying policyfile) sometimes stops/pauses when receiving xmlsocket dataevent which is usually a small xml message. It screws up a bit the whole movie.
how to jump to a frame (gotoAndPlay) on the ROOT (or any frame anywhere) right after (EDIT) a VIDEO CLIP is done playing.
View 1 RepliesI'm trying to remove a movieclip when the one inside of it finishes playing.
PHP Code:
onEnterFrame = function(){
if (baddy.bad_die.currentFrame == baddy.bad_die.totalFrames){
removeMovieClip(baddy);
}
}
I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:
on (release) {
thisframe =+1
}
[code]........
but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.
Like the description says. I have six buttons, I want it so when you click any of them the movie clip plays once then when it is finished a specific url loads.
on one of the buttons I have
Code:
on(release)
{
_root.vurl="index.html";
[Code]....
I'm trying to fix this for such a long time. I've used the scotty gallery but want to open the clicked thumnail in a new movie. [code]...
View 1 Replieswhich way to go to produce a swf that would function like a video player but with pictures?I would like to be able to load images and then use its sliders to 1) browse through images sequentially (similar to browsing through individual video frames on a timeline) and 2) beable to zoom without losing the ability to drag the picture in the view pane (ScrollPane doesn't work as when I change the size of its contents through myscrollpane.content.width, I can't drag it).
View 1 Repliesi have some images file in a directory (gif), can i load my picture in flash movie? how?
i need this can by dynamis like load text with php (not using inport file in flash)
I have just been to a really nice website that has some really nice use of Flash on it.... I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.
View 3 RepliesI am trying to build a site that would give users the ability to upload a picture to a picture frame on my site. I would like AS3 to dynamically re-size, and upload the file from an upload bar under the frame.
View 1 RepliesI'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.It must be some sort of actionscripting but how is it done?
View 3 RepliesI want to be able to make a movie clip (that acts as a button) so the roll over effect finishes before the roll off effect is triggered. Like if a marker circles a button, i want the circling animation to stop before the roll off effects happens. Anyone know how to do this.
View 2 RepliesI how that any Can help I have a Picture that I want To destroy it As someone break it as a glass and then something made it go back as she was
View 1 RepliesHow do you have a static frame visible when the FLV movie is not playing? Let's say I have embedded a FLV in a site and I want a static image visible instead of just a black box) before the end user presses play.
View 2 Replieshow bad is this practice? I am having trouble getting to some stuff so i am taking the easy way out
Code:
private static var _interrupted:Boolean;
public static function setInterrupted(value:Boolean):void{
_interrupted = value;
}
Let's say you have the following situation:
1. Static var(an Array) stored in a class.
2. You create a variable reference to the static class in a separate class.
3. Splice some items from the reference variable in the separate class.
4. Trace the static class and the items have been removed from that too.
5. Verify several times.
6. Get confused.
7. Post on Kirupa.
Ok, so I have a bit of a mess here (Which I'm probably not doing right anyway, which could be my problem...). I have a document class, I'll call it as Body.as, that creates an object from another class known as Headgear.as. There are also other objects created from other classes, or will be in the future. Now, amoung all this, Headgear.as and all of the other classes Body.as will use to make objects require the use of dragging functions (starting and stopping dragging). On stopping drags, position checks are then made to compare a particular hidden movieclip with the dragged MC.
To try and save myself some hassle (from making the same functions over and over to ensuring that when the objects are created I don't need to send a complete crapload of variables just to ensure the position checking function would work), I had the functions for the event listeners (Which are set-up on the draggable MCs in Headgear.as) just direct to functions in Body.as
[Code]...
I have a static text movie clip (text has been completely broken down). What I want is to fade in then fade back out. I have the first part working, it's getting to fade back out. Here's what I have so far:
Welcome._alpha=0;
Welcome.onEnterFrame=function() {
this._alpha+=5;
}
This section works great. I just can't seem to grasp how to make it fade back out.
I am importing a PSD file with a background layer, which I want to remain static throughout the movie and also several other layers which I am going to animate. Here's my problem...I cannot figure out how to get the background layer to remain visible throughout the movie once I create tweens for the other layers, without manually copying and pasting frame 1 to every other frame...yikes! There must be something very obvious I am not doing, yes? It probably goes without saying that I am a first time 'designer'.
View 2 Replieswhy the movie clips are non animated when I export my flash animation into a video format ?
see the next flash example I made: (4 KB)
[URL]
And now see how it looks like once exported into video format: (160 KB)
[URL]