ActionScript 1/2 :: Unable To Play The Movie
Jul 1, 2011
I am doing an interactive display for school and it includes 2 games and 5 movies.I have it all set up the way I want it, but I have a HUGE problem, my movies will not play!! I am using 2 different codes, one for the games and one for the movies, they are below:
Games Code: loadMovie("filename.swf" , 1);
Movie Code: container.loadMovie("filename.swf");
The movie code has worked before, but for some reason it is not working now! If ya'll have a different code for uploading .swf games and movies ! These are all being uploaded and I am navigating them through by buttons and those seem to work great! Another thing, I have it set at 2 fps but some things get cut out because it goes too fast, but if I slow it down anymore the games won't work.
View 1 Replies
Similar Posts:
Sep 2, 2004
I'm trying (and failing it seems) to teach myself Action script and I'm having a really tough time with what I'm sure is something that quite easy to do. Basically I have one button. When this button is pressed I'd like it play a movie. When the button is pressed again I'd like to stop playing the movie. In the first frame of the movie I've put a stop action so that it doesn;t repeat itself when it finishes playing. In the last frame of the movie I've put gotoAndStop(2);In my main timeline I have 2 layers each of which has one frame. The button is one layer and the movie on the other.
I selected the button on the stage and gave it the actionscript
on (press){
gotoAndPlay("vcsound_mc.play(2)");
[code]....
View 5 Replies
Oct 13, 2011
I work with Flash Pro allmost 11 hours per day and every while i get a error which messes up everything. Approximetly i get this after about 2-3 hours withevery project.After i get this error there is no chance to test movies afterwards.I see a fast flash of the loader window but it dissapears so fast i cant even really see if it is loader.
View 1 Replies
Apr 12, 2010
The problem is I have an MC in the library the gets attached to the stage dynamically and when that happens, my FLV doesn't play. I thought perhapse it was a matter of the FLV being loaded under the other MC but I've tried "swapdepths" to move it to the top, and I've tried "removeMovieClip" to get rid of the other clip to show the FLV.
Nothing seems to work. All my trace statments are trigering so I know the function is working properly (except getting the video to play).
// Create a NetConnection object
var my_nc:NetConnection = new NetConnection();
// Create a local streaming connection
my_nc.connect(null);
[code]....
View 2 Replies
Sep 21, 2009
I'm using Flash CS4. Whenever I make a button go to a frame that has a tween in it, it will not read it. When I take the tween out and not have the frame have any animation then it is fine.
Attachments:
screen.jpg
(463.5 K)
View 16 Replies
May 5, 2009
I have embedded a flv video onto the stage. I then have loaded in an image which is transparent enough to see the video through it. The problem is I cant now access the video player to control it. Is there anyway to bring the embedded video on the stage above the loaded in image so I can actually click play on the control bar and play the video?
View 3 Replies
Jan 18, 2011
I have a colleague who is trying to put together a Flash package for me on her macbook pro. It needs to play an flv file. She is unable to play flv files on her computer either in Flash or using the Adobe Media Player. I have no problem playing the same files on my macbook pro, we're both running the latest OS and have version 1.8 of Adobe Media Player. She went to the Adobe site to download the latest version of Adobe Media Player, hoping that might include whatever component is missing on her system. Because of Adobe's decision not to distribute AMP that didn't help.
She has Flash Professional CS5 11.0.2 on her system. When she imports an flv video into a Flash project and tries to play it she gets an error message saying it can't stream the video. Note that the video is on her hard drive, it is NOT on the internet so no streaming should be required. The actual error message is: "the video player is in the connection error state. It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found." Since it's a file on her hard drive, and she has loaded the file into the Adobe development environment successfully, the one thing we know for certain is that neither of these reasons is correct.
View 1 Replies
Feb 27, 2008
I am unable to play flv from xml though the xml loads perfectly fine. When flv path is hardcoded the video plays fine but when from a node it seems to make the video disappear and it dosent play.I am having the same issue i got the xml loaded and even the url into the video source but it dosen't seems to play the video when reading from xml...
[code]...
View 1 Replies
Nov 19, 2010
I have an image scrolling setup like in itunes, however I am unable to click on the images to play a frame in my timeline (i.e. I�m going to click on one of the revolving pictures, which change to another frame, enlarging a square on the page which contains information). So every image that is rotating enlarges a square at the bottom. What changes do I have to make in order to do this. Below is the action script:
[Code]...
View 2 Replies
Jul 29, 2011
I am new to flash and creating a file with a series of 25 images. I have each image on its own keyframe in the stage1 and I have buttons for: play_btn, stop_btn, next_btn, prev_btn My next and prev buttons work ie...
[Code]...
but I am unable to get any AS3 code to work as a Mouse.Click to play the series of keyframes. Every time I try to add a gotoAndPlay to the play_btn my file just starts a continuous loop.
View 6 Replies
Aug 12, 2009
i have installed flash media server 3.5 ..windows vista and using FLASH 10right now in Flash Media Server page I am only able to play HTTP sample,RTMP file is not working , i check the sample folder >> and open HelloWorld >> that shows error :: Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Connect.Failedat HelloWorld/connectHandler()what should i do now need ur help urgent
View 5 Replies
Sep 1, 2010
I want a movie clip (let's call it homecontent_MC) with 100 frames play to frame 80 and stop.Then when someone clicks a button on the navigation bar (home, about, services, contact, etc...) homecontent_MC would then begin playing from it's position (frame 80) til it reaches 100, at which point it wouldn't be on screen, and the movie clip that corresponds to the navigation button press (say services_MC...) would start from frame 1 and continue til it stops at it's frame 80...
View 7 Replies
Oct 11, 2009
I have five different scenes all including three different buttons. When I test the buttons in "play scene" - all buttons sounds correctly in all scenes. But when I play movie, there is sound only with one button (the same button in every scene). I have looked for differences, but this button seem to have all the same parameters as the others.
View 10 Replies
Jul 23, 2004
I am creating a site, and it has a animation that it has to play before loading the next section. What I cant figure out is what function I need to create so that when a user clicks on the vision button it will play the frame after stop(); which will close that section, then have it load the frame for the section that the person clicked on. The only way I can think of doing this is creating 3 different close animations for the three sections. But I figure there has to be a way to have it play the one close animation and then goto the frame which is the portfolio section or vision section (depending on the button clicked).
View 1 Replies
Jul 23, 2004
I am creating a site, and it has a animation that it has to play before loading the next section. What I cant figure out is what function I need to create so that when a user clicks on the vision button it will play the frame after stop(); which will close that section, then have it load the frame for the section that the person clicked on. The only way I can think of doing this is creating 3 different close animations for the three sections. But I figure there has to be a way to have it play the one close animation and then goto the frame which is the portfolio section or vision section (depending on the button clicked).
View 1 Replies
Sep 20, 2009
I have just added a simple motion ( rotating word in additional frame ) the thing is that is comes to a point when it vanishes from the movie completely.The motion is not corrupted and I can see all the rotation when put "show redrawn regions " only. What's wrong ?.
View 2 Replies
Jul 23, 2009
Yesterday I made a nice little flash movie (a picture slideshow) and today I've looked a a few tutorials explaining how to add my new flash image. To keep it easy I made a single page, using Dreamweaver, just to display this one movie. Everytime I ruin in in dreamweaver (F12) nothing appears. Similarly, anytime I look in the properties and press play my flash image disappears.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[code]....
View 6 Replies
Oct 11, 2010
I have an issue that I need to pause my movie but its complicated to me because my movie contains an external swf files loaded into it and that swf files have many deep levels(childs) which all played one by one in my current movieclip. In simple words you can say I need a universal pause/play script that pauses all the animations on the screen and then play the same when press it again.
View 1 Replies
Jul 15, 2010
I have 2 identical ASP.NET applications, one running on Windows Server 2003 with IIS6 and another running on Windows Server 2008 with IIS7.
The one on IIS6 runs perfectly, but on IIS7 I'm unable to seek while playing my video. They are both using the exact same HTTP-handler for streaming.
I'm using the JW player for Flash (v. 5.2) and Sorenson Squeeze 6 for converting the videos from .mpg to flv. The FLV stream-handler is very (but not completely) similar to the one on this site
The one on IIS6: demo.orbicon.dk/wgv
The one on IIS7: kloakkort.nk-forsyning.dk/webgrafvideo/?filename=15050
View 1 Replies
Jan 31, 2008
I have a box (type movieclip) on the stage, its named box_mc.It starts on the left and moves to the right via a timeline tween.I want the box_mc to have an alpha of 0 at the start and an alpha of 100 at the end. The alpha of 100 will (ultimately) be assigned via LoadVar.So, basically I need to set the alpha variable of the stage item before the movie starts playing via Loadvars.
View 2 Replies
Aug 9, 2009
For some reason I am no longer able to select any of the movie clips I have in my 1-Frame game. I've tried all the different mouse tools, and none have worked. Flash seems to think that they have all become part of the background. The biggest problem is not being able to put more symbols in the game
View 2 Replies
Dec 31, 2009
I just recently finished the snowflake tutorial and made a very nice movie with some minor tweaks of my own into the coding, and I'm very new to flash (this being the first many experiences with it). I want to create a movie that I can make full screen without the task bar at the top (maybe in windows movie viewer or quicktime), but there is no option to play the movie, only to test. When I export the movie into an AVI files, nothing happens.
View 3 Replies
Jul 31, 2002
would like to do is script the buttons so that before a new clip opens up the clip which is visible goes to a frame to play out an animation where it fades out and shrinks. (one clips fades out and shrinks before the next one opens.)what i want to do is not as elaborate but it gives an idea of finishing a clip off before another opens
View 2 Replies
Jan 4, 2007
i have created a project but was unable to select the previous movie clip if i duplicate it?this is my project link
http://www.picassocoffee.com/wireclick.swfthis is my code:var mySelection = "";//Global declarationvar totalmc = 0;wire.onPress = function (){this.createEmptyMovieClip(["mc"+totalmc], this.getNextHighestDepth()); //Create a newMovieClip with variable name "mc1""duplicate(mc);//trace(["mc"+totalmc]);mc = attachMovie("idwire", ["wire"+totalmc++], this.getNextHighestDepth()); //store the
[code]...
View 1 Replies
Aug 7, 2009
I am trying to unload a movie I loaded like this
PHP Code:
loadMovie("slideshow-endsample.swf",movieContainer);
But
PHP Code:
unloadMovie("slideshow-endsample.swf");
Doesnt work?
View 4 Replies
Aug 9, 2009
I'm creating a draggable movie clip (an arrow symbol) that drags along a rectangular track. Works fine but my issue is when the arrow's y axis is at a certain position, it needs to remove a movie clip instance and also run a trace statement. Right now, it's not doing that (if I change the == in the if statement to += it works but then it just works as soon as you mouse down on the arrow) and I'm wondering where I'm goofing up. Here's my code:
import flash.display.Sprite;
import flash.display.DisplayObject;
import flash.events.MouseEvent;
[code]...
View 9 Replies
Feb 1, 2010
I have a movie clip on the main timeline in frame 1 that I named moveablekey. What it is supposed to be is a key for a map that you can move around on the map. When you scroll over/off the key it will hide/unhide the actual key. The key has some buttons that I want to allow to go to a different link when clicked. When I test the key without the code below it will work on the link and take me to the link, but when I put the code into the main timeline it stops the link from working. Here is what I think is happening: The code seems to make it so wherever I click on the movie clip it is doing the start/stop drag code and won't recognize the buttons within the movie clip. So is there a way that I can make just the header of the key to be clickable to start/stop the drag, but still move the entire key, and allow for the buttons to be clicked?
Code:
stop();
moveablekey.onPress = function(){
startDrag(this);
Mouse.hide();[code]..........
View 3 Replies
Feb 24, 2006
I need to be able to preload multiple .swf's while a movie is running. These files will later be called and placed into an empty movie clip. Here's what I've come up with.
Code:
var loader:MovieClipLoader = new MovieClipLoader();
var loadListener:Object = new Object();
loadListener.onLoadStart = function(target_mc) {
trace("loading...");
[code]....
View 1 Replies
Jul 4, 2008
I am trying to drag my dynamic moviclips. But this code does not work properly.I have to mosue click the movie clip, and once again use mousepress to drag the movie clip.
clickAction = function (_arg2) {
//info._y += 150;
trace("click"+_arg2); // _arg2 con
[code]....
View 3 Replies
Jun 16, 2009
I have a flash movie I'm externally loading into my SWF. It isn't mine. I'm trying to pause the swf, but I can't and I don't know how the SWF works because it isn't mine. I was thinking about maybe creating a bitmap of it, but I can't do that because I don't think you can create bitmaps at runtime of moviing movie clips. Is there a solution to my problem
View 2 Replies