ActionScript 2.0 :: Controling Separate Swfs?
Mar 8, 2006
ok so i need 2 create one movie that controls a second movie, so i have movie1.swf with a back and forward, and i need them buttons to advance movie2.swf, which is essenialy just a slide show!the movies will run independantly of each other, i do not want to load movie2.swf in movie1.swf! get me?how i go about this, i have been told of listeners, so movie2.swf will listen for a true or false command before it advances on... and movie1.swf will send out the command when the next is pressed??
View 5 Replies
Similar Posts:
Jan 17, 2011
This is NOT the same as my last thread as i am after three and NOT ONE as last time. In the attached movie there are three seperate movies loading into three seperate tweens. Please note that i am happy with this movie as it is, and do not want to change anything about it except for the script itself. It refurs to three seperate clips "b.a","d.c" and "f.e". What i want is for the script to incorperate all three clips under one name of "mc" And instead of have three seperate widths, "width 1","width2" and "width3" i want the script to also incorperate all three widths and heights into just one name of "width" and one name of "height".
View 9 Replies
Aug 5, 2009
I was able to use LocalConnection to have 2 swfs communicating when both sitting in the same PC, or upload those on to the server and accessing those from the same PC. Is there any way to do this between two PCs, one PC running send.swf, controlling another PC running receive.swf? I checked adobe site for LocalConnection and it looks like this only works within one client PC.
View 2 Replies
May 19, 2010
I have an issue that is nearly identical to the poster of this thread, but this post is from 2007 and I think things might have changed since then.
To sum it up: I have a website with HTML files on Server A, and SWFs on Server B.
Users navigate to playgame.html (Server A) with MainMovie.swf (Server B) embedded in it.
MainMovie.swf is supposed to load a number of SWFs (from Server B) throughout. As far as I know they all need to be called with an absolute path, because a relative path will construct the path through the URL of the browser page which is still on Server A. Am I on the right path so far?
My MainMovie.swf literally calls hundreds of SWFs in hundreds of places and setting them all to absolute paths would take forever.
What other options do I have so that it all works on a remote server with relative URLs? MainMovie.swf is in a remote sandbox and can supposedly access files within its own domain, but it's the relative URLs that are killing me.
One solution I could think of is to load an html frame from Server B within playgame.html on Server A, and embed the SWF in there....
View 1 Replies
Jul 14, 2005
My Website opens, its written in HTML... There is a "Navigation" FLash at the top of the page which opens up HTML documents into the "Main Frame" below.Ok now... When the Website first loads up, In the Main frame of the page I want a flash swf to play as an intro to the website (Its a band website). Once the (intro) Swf ends I want it to tell the Navigation Flash Menu Swf to go ahead and show the buttons so people can navigate.Thats my first problem, or task to solve.2nd... If it is possible to control Swf's from an external one it must be possible to preload them aswell right? So what I want to do, is the site to load up... and all the preloading done from the Navigation Swf to account for both Swfs (Intro and Navigation)
View 2 Replies
Dec 21, 2010
I am aware that I can share simple Objects using LocalConnection, but this does not (in my limited testing) appear to work with NetConnection or NetStream.
In short, I wish to have a single SWF that acts as a NetConnection proxy for other SWF files in the HTML page. The client SWFs require direct access to NetStream objects on the proxys NetConnection.
Is this at all feasible, or will each client SWF require its own NetConnection?
I am aware that I could build the entire application in flash and utilize a single NetConnection internally, but this is NOT what I want to do.
View 1 Replies
Apr 18, 2010
What I need to do is assign 5 separate dynamic text fields to 5 seperate buttons and at the same time to those same five buttons i would like to add 5 images that i would be able to change merely by swapping out the images in the file theyre in on the server.I would also like to get a nice transition between the images...ALSO i want to dynamically load the images for the buttons that will be used for switching from picture to picture(which im thinking i will be able to do after i know the how to do point the aforementioned things.)
Through tutorials I've found around the net I've been able to get most of the parts together... but i get lost because what they show you for AS2 they don't for AS3 and vice versa, at least that ive seen.so... I guess my question is... would i need to set up 5 seperate dynamic text fields on the stage and then set each one of them to one of the corresponding button. If so what AS code would i need to use to do so. And if not what would i need to do?
The other part of the question would be I know about the UILoader... would i be able to use it as my buttons and images, if so would i need 5 seperate ui loaders for both the Thumbnail buttons and the images or is there a way that would be better to do it? and once i do that would i do the transitions using frames and tweens like with AS2?
View 2 Replies
Aug 19, 2009
If I create a new flash AS3 file and create two blank keyframes in my actions layer I can add actions to each keyframe separately no problem. I can then easily switch between the actions frames from the menu bar on the left of the actions input panel. However if I try and do this on any of my projects i've been working on for a while when I create a new blank keyframe in the actions layer and try to add actions to it, I get sent straight back to my first actions keyframe and not a nice blank page. Can I even apply seperate actions to seperate keyframes?
View 6 Replies
Jul 25, 2009
I'm trying to build a site where all the pages are full browser and maintain aspect ratio. I would like to control the resizing from the menu page.The resizing works fine from the page that's being resized but when I try to let the parent swf do that it has issues. Here's what the home page looks like with the controls built in URL...This example is the site it has a menu page that I open the others from I remove the resizing code from the home page and try to resize from menu.swf.[code]
View 4 Replies
Mar 30, 2010
I have a site that presently has a preloader @ the beggining but takes too long to load everything. The main section has a sliding menu that triggers various movies containing photos and animations I have decided to extract all of the project items as SWF files and call them when required.The challenge I now have is that previously when an item was selected from from the menu it would send the play head to a new frame that had the the movieclip; this movie had an instance name which enabled me to use the 'close' button embedded in it and send the play head back to the sliding gliding menu.[code]
View 4 Replies
Dec 4, 2005
I have main swf that uses DocumentClass to which I loadanother swf that uses its own class.In main movie there are coupleof buttons that I want to use to load different xml files forexternal swf. When I tried a few suggestions from this forum I got thiserror:
Error #1034: Type Coercion failed: cannot convert
Classes::SlideShow@3a49f239 to flash.display.MovieClip.
at Classes::DocumentClass2/onTravelClick()
View 3 Replies
Dec 30, 2008
controling the turn of action.
Example: i moved an object a certain distance. once it reaches a distance then it stops.i want to have a button; when you press will allow you to move the object again for the same distance.(what is code to do mthat).....then will need press button to allow it to move again.
View 8 Replies
Oct 7, 2009
I am working on building an accordion style menu using Tweener. I have 3 movieClips on my stage, I can add a tween to each but I need a little help getting the menu items to end in the correct position. In my code below this line tells the movieClip to move to a position of y=25. Tweener. add Tween(mc,{y:25, time:1});I changed mc to box1 and box2 which makes evey thing move when I click, but how do I set up my function so I can click box1 and it will slide up and then click box2 and it slides up.[code]
View 1 Replies
Nov 11, 2011
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 interfaceAt 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 3 Replies
Jun 14, 2006
I am wanting to control the timeline of a MC using AS. What I mean is when I click on a movie click and drag right it controls the reverses the MC and when I go left it plays it (but i only want this to happen when I click and drag).
View 7 Replies
Jul 4, 2011
is it possible to embed video into swf because i want video to be loaded on beginning(with loader) instead loading from external file and having glitches.
View 2 Replies
Nov 18, 2003
Is it possable to load an external swf file, that is a rotating movie into another file and still control it??example:I have a rotating object which I want to pause and play. I have loaded the rotating object into a window using the loadMovie command. I now want to be able to use the play and stop buttons to control therotation.Because the movie has been loaded into the window from a different location it does not have a path to target the play and the stop command to also tried adding the play and stop buttons on the rotating object movie swf file. They load and are pressable, but dont do anything?
View 1 Replies
Feb 26, 2010
Got a pitcular problem/question and im not sure it is possible. Im creating a project that enables the viewer to access a load of files (Pdf's and doc's) through flash. The problem is, these files will be added to and taken from about 4 times a year and there is anywhere from 2 to 20 folders in each folder containing these files.so What I want to do is have an image that when clicked on opens a new box that has links in it that these links are displayed from an xml or html then I need to have that code tell flash to open another box that has links displayed from another XML of HTML that has the links to the actual files being called.i guess the question is:Can flash be controlled by a link called from out side of flash?
View 1 Replies
Nov 13, 2010
What I am trying to achieve is have one movie clip containing a button control the timeline of another movie clip.I know how to get a button to control the timeline of it's current movie clip, however, getting a button to control the timeline of a seperatef there is a tutorial that someone knows of, or if someone could post a snippet of AS3 showing how a button controls another clips timeline -Re: Question: AS3 Button controling timeline of movie clip.here is the coding I am using too:
but_shows.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
function onMouseDown(event:MouseEvent):void{
_root.mainContainer.gotoAndStop(2);
[code].....
View 1 Replies
Jun 20, 2009
this is my code so far:
[Code]...
View 4 Replies
Mar 29, 2009
I am trying to add and remove three mcs with a single button.It want it so that when it loads one it removes the other. right now it cycles through all three mcs buth then when it goes to cysle through again it throws.[code]
View 1 Replies
May 23, 2009
I have this function :
Code:
function swapstate(newpage) {
for(var a in nav_left){
if (nav_left[a]._name != newpage) {
[Code]....
As you can see, it's made in order to change the look of a button when clicked and to also show a different look to the other buttons in the same movieclip container.
The problem is that gotoAndStop isn't triggered.
View 3 Replies
May 15, 2005
i want to know if anyone can tell me how to controll the timeline via moving the moiuse in x (left to right basicly i wsant to shocase a sculpture of mine in a seemingly quicktime vr fasion. so i will take lots of images of the sculpture in difrent agles to get the 360 degreemovie. then import intoflash timeline. Then somehow i need a script to control the scrub the timeline images (to create the quicktime vr look )
View 3 Replies
Dec 17, 2003
Note the button at the top called portfolio, on mouseover this button should loop through the "mouseover" label section, and when the user takes the mouse off of it it should continue to play through what it has started, and stop at the begining of the mouseover labelhen the user clicks on the button it should play through the "trans" label (only once) and begin to loop at the label section "current" when the user goes to another section, for example, clicks another button besides portfolio, the animation should stop on the label "visited" my code for it to loop looks like this (on the invisible button over the movie clip)
on (rollOver) {
portfolioBtn_mc.gotoAndPlay("mouseover");
}
[code].......
View 2 Replies
Jun 1, 2008
I have a embedded video animation clip that I need to control the speed it plays.The animation is of a ball spinning and when its rolls long X access i need the animation to move at the speed of the mc moves and slow down at the same rate.dose anyone know if I can control the frame rate and speed of a mc and the direction which is plays?any other option is to rotate an png but the problem im having with that is: when i import a circle png and brake it apart then remove the extra parts of the image leaving just the circle and have it aligned to the center. when i rotate it and move it along the X access base of the height of the mc it bobs up and down like this still counting the removed parts of the png in the
View 2 Replies
Sep 17, 2010
Is there a way to set a fixed number of ticks on a DateTimeAxis?
View 3 Replies
Aug 13, 2011
I am loading a swf named ball.swf in the main.fla. the swf is loading but not playing the next frame that i want.[code]
View 1 Replies
Sep 11, 2009
I have a main fla file which loads an external swf into an empty movieclip on the main timeline which works fine but I want a button in the external swf to load another external swf into another empty movie clip on the main timeline.eg. start.swf loads UKEIAMap.swf into (empty movie clip within start.swf) MapLoader_mc then a button havant_b within UKEIAMap.swf needs to load HavantProjectSheet.swf into (empty movie clip within start.swf) ProjectSheetLoader_mc without unloading UKEIAMap.swf
View 3 Replies
Nov 13, 2010
I am loading eight external swfs by way of eight buttons with actionscript to remove the swfs and sound after a new button is clicked. This works fine except that as soon as you get to the frame where the actionscript is all the swfs load at one time on top of each other. I don't want any to load until the button is clicked for the right one. MouseEvent listener works but only after all the swfs have loaded. How do I get the swfs to load only when the buttons are clicked. I can't figure out what I am doing wrong.
[Code]...
View 5 Replies
Jan 5, 2010
Is it possible to access local swfs using a remote swf
View 1 Replies