ActionScript 3.0 :: Control One Flash Movie With Another
Nov 11, 2011
I have a need to control one flash movie with another. For example: I have a graphical interface created in Flash AS3 which is simulating the control of machines on the ocean floor. I have 3D animations that will animate what is happening on the ocean floor when a control element is activated on the graphical interface. At the moment I have this happening all in one Flash player window that has been made to look like two windows. One which is the interface...one that is made to look like a small screen showing what looks like video coming in from a camera on the ocean floor.
What I need to be able to do is have the Control Screen as one window, and the animations to appear in another. In this way we can set up two monitors, have the control screen on one (computer monitor), the animations playing on the other (a large plasma connected to the same computer). The animations need to play within a flash shell and the control screen would need to play in a separate shell. So in essence I need to be able to double click on an .exe....two screen will activate showing one screen with buttons that port animations into the second screen which I have positions to play on the larger screen.
View 6 Replies
Similar Posts:
Nov 4, 2009
Is it possible to control a Flash movie from JS when you have no control over the source? I have decompiled the movie to see its inner workings, but I know nothing about Flash, so I'm mostly in the dark. I found this resource, Interaction with JavaScript, but it's not working for me (probably because I don't know what message to send to the movie).
View 1 Replies
Oct 15, 2010
The movie was designed in several flash files, each has been combined into a single movie clip and then all the movie clips have been moved into the master document.
Each movie clip is on a single slide.
They play through and when a clip reached the end I have used the actionscript root.gotoAndPlay(x) where x is the slide number of the next clip in the sequence as such my timeline looks like this[code]...
View 1 Replies
Apr 11, 2006
I have to make a flash movie that would allow the user to control the framerate of the movie. Unfortunately I'm not that good with flash and I don't know how that could be done ..I thought about something like
"on(press){
movieclip.increaseframerate(*2);
}"
View 3 Replies
Oct 14, 2010
i have a simple 2 frame movie on pc1, when it starts it goes to and stops at frame 1 , we need to be able to change to frame 2 when a user clicks a button on PC2 (can use php/VB etc). It's all on a closed lan so no security problems .
View 3 Replies
Sep 9, 2010
I'm using jquery to drag popup control around the page ,every things work fine but when the page has flash movie the popup doesn't appear over flash also when set z-index to 100 .
is there any work around this issue???
$('.modalPopup').ready(function() {
$('.modalPopup').draggable({ zIndex: 2700 });
});
View 1 Replies
Jul 29, 2010
My task is to create a TV with flash graphics and show a short flash movie embedded on the screen. In the task there must be some buttons to switch on/off and pause and continue play after pause.
View 0 Replies
Sep 29, 2009
I'm creating a web site with multiples swf files, the navigation is controlled via drop down menu, i have resolved the script for the drop down menu main buttons and i need to control the timeline of the movies loaded with the drop down menu main sub buttons to navigate into specific frames this is what i got:
stop();var myrequest:URLRequest=newURLRequest("HomeSonny.swf");var myloader:Loader=new Loadermyloader.load(myrequest);stage.addChild(myloader);//main buttonsmenu.nosotros.addEventListener(MouseEvent.CLICK,
[code].....
View 3 Replies
Mar 22, 2010
I am currently working on flash 8 tool.I wanted to know how to add control to a movie clip ,as in, how to play animations of an SWF file if the mouse is clicked anywhere on the movie clip
View 1 Replies
Apr 28, 2010
I have a product by IMTOO.com that converts AVI files to SWF files. I used it, and I also specified that I wanted the final file to be small. The final file plays OK in flashplayer 10, but the control bar is all black. You don't see any controls on it such as 'play', 'pause' and 'maximize'.Now there is a menu you can get by right-clicking on the movie. That gives you 'play' and 'pause', but not maximize.My question is, why is this happening. Why can't I see controls on the control bar, and why can't I maximize at all, even with the right-click menu?
[Code]...
View 1 Replies
Apr 3, 2012
I'm trying to control the timeline in my Flash movie. How I have my movie set up is:
1. The main timeline with AS, sound, some text that appears at the end of the movie (credits), and a movie clip of an entire scene with background. Inside the movieclip background, I have several other movie clips of parts of a duck animating, the background scene changing color, and a mask that opens and closes the scene (at the begining it opens and at the end it closes), and an object that I just added ( a ball). I gave the ball an instance name of ball_mc and all I want to do is to make that ball stop from looping the animation when the ball's movieclip is done playing.
I've tried to put a stop(); at the end of the timeline in the ball's movieclip, but that did not work. I'm missing something, but I'm totally clueless when it comes to ActionScript. I've only been working with Flash for about 6 months and haven't really gotten into AS a whole lot.
I have been doing some searching around some and have come up with import flash.display.MovieClip; and this.stop(); or this.gotoAndStop(); and/or gotoAndPlay(); and ball_mc stop(); I've tried using these codes, but I'm still missing something. Sometimes, I get an error that comes up and says that my varable isn't defined. I have no idea how to define a varable?what i need to do to control the timeline to make my movieclip ball_mc stop playing at the end of the ball's movieclip on the timeline?
View 15 Replies
Sep 10, 2009
how do i control the fps of a flash movie by an argument in a function..
eg. fx here...
Code:
TestFX = function(_fx)
{
}
View 1 Replies
Oct 26, 2007
just wondering what the best way to control the speed of a movie is. I have a movie clip that is text scrolling from right to left and it needs to go slower so that itīs readable. So I know I can just change the fps and/or make the motion tween a lot longer, but there must be a better way to do this with ac....?
View 3 Replies
Oct 3, 2005
Is there a way to control the sound of an embedded flv in a flash movie? I haven't seen any tutorials on controlling the sound volume for an embedded video vs. netstream.
View 5 Replies
May 1, 2010
I am using an embedded flash movie in my web page. I would like to show some alerts on the page when the movie has played for x seconds, pause the movie while the user views and dismisses the alert and start playing the movie again after that (or the user can press the play button, not important). The important parts being - the app being able to find out if x secs worth of movie has played, pausing the movie then and showing an alert. Is this possible using a php/javascript code within the web page? Or will I have to do this within the flash movie itself?
View 1 Replies
Oct 4, 2011
I use attachMovie to call movie clips succesively on the stage. I use a forward button to slide them in progression but when I want to go back in the same order everything gets messed up. You can see the swf playing here, [URL]..I numbered each frame so you can see when clicking on back button it gets messed up.
// Each of the button functions here call the add_page() function and pass the Identifier of the page that they will display b_0.onRelease = function() {
[Code]...
View 1 Replies
May 7, 2011
I want to know that how can I control frame rate of my flash movie from xml file or from AS2 code.
View 2 Replies
Aug 1, 2007
I have been racking my brain trying to come up with the best way to make a flash movie that can interact with html links on a page. Basically there is a list of products (about 20) that are currently just html links. On the home page, the client has asked for a flash movie. When you roll over product items, the flash movie should jump to an animation relating to that product. These animations could all be built on the timeline of one flash movie, or could be multiple .swfs.
So far the best idea I can come up with is to have multiple swfs. I could potentially position each one absolutely so that they stack on top of each other. Then use CSS or javascript to change the stacking order when you rollover the links.
- I have used javascript to make disjointed image rollovers, is it possible to mouseover a link and then swap a swf file?
- if you mouseover the link, can javascript send a variable to flash, and then have actionscript detect that variable and send the movie to the appropriate keyframe?
- Is it possible to achieve the effect I am looking for if you click the links instead of rollover them?
I am using flash cs3, so i can use actionscript 2 or 3. What I am trying to avoid is creating the whole page in flash, as it would be inconsistent with the rest of the site.
View 2 Replies
Aug 27, 2010
I do not know how to insert an animation stops to give the presenter time and forward or backward in a linear and PowerPoint by pressing any key. Similar to typical PPT slideshows and will insert a small clip light and animation films. "My idea is that every time they click on any key (no button) on the film, forward motion up to a certain frame and so on until the end of the presentation "
View 1 Replies
Nov 4, 2009
I've set up my flash movie to play and stop at certian frames in the movie. I'd like to add a pause button to pause the movie anywhere in the timeline or animation and then resume from spot it's paused on. This is for a presentation.
View 9 Replies
Feb 6, 2007
How do you get the information bar to stop blocking the active X control for a flash movie in IE.when I am in fire fox, it just starts the flash movie. Right in the HTML page. But with IE, the info bar at the top pops up, and blocks my flash movie.Then you have to click on it, and say that you want to activate the active X on the page. Is there anyway to stop this from happening. I remember, using IE, that not all flash is blocked, just the stuff that I make.
View 7 Replies
Feb 23, 2011
i have a button (name: closeinfo) inside a moviclip (name: infopanel), im using this code to put actions to that button:
[Code]....
View 1 Replies
Apr 10, 2003
I modified the loadBar from one of the popular preload scripts out there. What I am making is a progressbar, sorta like the ones you see in movie previews. But it doesn't seem to o work quite right. Here's what I have: interface.swf - dynamically loads the movie.swf's into itself and will control the movie (when I get around to it). it has the loadBar object
[Code]....
View 6 Replies
Jul 20, 2011
Is it possible to have one swf movie control the content of another swf movie?
View 3 Replies
Mar 21, 2010
I have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.
So when that button in the flash file is clicked, I want to perform an action in the parent flex application.
View 2 Replies
Sep 13, 2009
I'd like to control a movie clips current frame by another movie clips action script.I realise the following controls the outside (root) frame time line:
on(release){
_root.gotoAndStop(1);
}
but I'm not sure how to apply that to my other movie clip. I'm guessing it would be something like this:
on(release){
_*movie_clip_name*.gotoAndStop(1);
}
View 1 Replies
Jan 30, 2005
This time around I want to know how to script the controls for changing the quality of the swf movie. Anyone knows how to do that?
View 2 Replies
Aug 20, 2010
I am making a web site in flash in which I have multiple movie clips.I have mc_buttonMenu on the main timeline.Inside of mc_buttonMenu, I have 3 buttons that are all button symbols.From the main timeline, I have a movie clip called mc_allPages.In this movie clip, I have a few layers.I have the content layer.This layer controls how my pages display.I have another layer called labels.I labeled frames 1 to 10 as 'home' and layers 11 to 20 as 'contactUs'.I have another layer in mc_allPages called actions.I put a stop(); on frame 10 and frame 20 on this layer.I want to be able to control the movie clip mc_allPages from within the movie clip mc_buttonMenu.I put some action script in various places, but it never worked.I tried this action script:
_root.btn_home.onPress()
{
Gotoandplay("home");[code]...........
I tried placing that code on the main timeline, inside mc_allPages, inside mc_buttonMenu and split up into both buttons appropriately for btn_home and btn_contactUs.Sometimes the animation would stop on frame 10 and sometimes it would just play through to frame 20 and ignore the stop(); I put on frame 10 inside the mc_allPages movie clip.However, whenever I pressed the button ( btn_contactUs ), it never went to the frame labeled "contactUs" in the allPages movie clip.
View 11 Replies
Sep 6, 2009
I'm a very beginner and I have downloaded a movie script and but I cannot make the movie stop looping.How I can change this script and make it stop after looping twice.[code]
View 1 Replies
Oct 7, 2009
I work for an equipment planning firm and we subscribe to an organizational tool which allows us to build projects and add the items we are planning to buy to each project. The company who offers this product keeps all of the project data as well as the equipment library in a database on their servers. Up until recently, this information was displayed to us using a normal website using HTML and javascript and would access the database when it needed to. Now they are upgrading to a flash based movie which is used as the interface and it still accesses the database to display the proper items for each project and to access the equipment library. Since this is a 3rd party company, I do not have access to the actionscript they use but is there a way I can control the movie with some sort of programming. In the past, I've used visual basic to send commands to the website and I could automate a huge list of tasks which would ordinarily take a long time. Is there anything comparable to doing this in a flash movie? It can be any programming language.
View 1 Replies