Actionscript 2.0 :: Controlling External MC With Other MC's

Jul 30, 2009

I'm trying to figure out how this is done or if this is even do-able. here is my situation, I using AS2.0 and with that i have created a mc loader, here is the code for that

[Code]...

View 1 Replies


Similar Posts:


AS2 :: Controlling Url And External SWF?

Jul 6, 2009

I'm attempting to create a website that uses externally loaded swf files into a shell animation like in Creating A Full Flash Site, only I'm trying to give each swf its own website url (ie. site.com/home, site.com/page2) while still using a single shell animation.

View 1 Replies

Controlling A Swf Using External Javascript?

Aug 27, 2007

I am working on a project that needs to have the swf controlled by an external javascript file, I'm looking for something very simple like basically telling the swf what frame to go to in the main timeline. I know it's possible because I did it 4 years ago, the problem is that project and computer are long gone.

View 0 Replies

ActionScript 3.0 :: Controlling The MC Of An External SWF?

Feb 14, 2009

I've loaded my external SWF, now I want to animate a MC within that external swf, however, when i try, the animation freezes (or won't start at all), but the external SWF DOES load.Here is my loader code

Code:
var _externalMovie:MovieClip
var _url1:URLRequest = new URLRequest("intro.swf")

[code]........

View 4 Replies

ActionScript 3.0 :: Controlling An External SWF

Jun 19, 2007

I can't find a way to control an external SWF in AS3 like I used to be able to in AS2. This used to be a real simple way (among others) in AS2:[code]Unfortunately this has been abolished in AS3 . To load a SWF externally from a separate SWF file (on a separate CPU) in AS3, you now must now use a URL request along with a load request. However, the SWF is tied into this loader object of which's class does not contain "play", "stop", "currentFrame", "nextFrame", "prevFrame", "gotoAndPlay", "gotoAndStop", etc.According to the help panel, you can target any of the loader's child's methods by virtue of calling "loader.content" but it doesn't work. When I trace my "loader.content".... all I get back that it is an [Object Main Timeline] when I would expect it to be [Object MovieClip] if it were to have the methods I need.I need to do all sorts of gotoAndStop / gotoAndPlay functionality with external SWFs on another CPU. I have a nice XML server running successfully.

View 12 Replies

ActionScript 2.0 :: Controlling An External SWF

Jun 11, 2008

i am loading an external swf in to a movie clip and controlling it by using a slider with a knob. once the onEnterFrame is encountered the swf starts to play. This can be paused. But after pause the knob cannot be moved by using the startDrag().

View 1 Replies

IDE :: Loading And Controlling External SWF

Jan 20, 2010

I have a flash website in development and I'm using external .swf files for the sub pages. In my main.swf file I have a loading function that works and everything is fine and dandy there. My problem is that when I am loading the external "content" swf files into my main swf file, the actionscript that is embedded in my external .swf is not functional (there are buttons in the content swf with event listeners to control them). I have a movie clip holder set up and placed on my stage in the main swf file and that is what I am adding the content swf's to.

Now in all of my attempts to isolate the problem I have noticed one thing. If I add the external "content" swf directly to the stage of my main swf file, the code works, but if I add it to my container mc (which I have basically set up to control the position that the content is loaded to and to set up boundaries/masks to control the content from overspilling) then the code is not operational.

Code:
The code below is called by my loadContent function on my main swf
contentmc = MovieClip(event.target.content); // the external swf is assigned to a movie clip object
addChild(contentmc); // when using this, code works in the external swf
contentwindow.addChild(contentmc); // when using this, code in the external swf no longer works.

View 2 Replies

Controlling Flash With External HTML?

May 7, 2009

I have a flash movie emmbedded in my web page. I what to be able to go to certain frames using html. Can this be done. If so how?

View 1 Replies

Controlling A Movie Clip In An External Swf?

Nov 4, 2010

I'm working from main.swf and I need to call another swf to display one of four flvs once the appropriate button is clicked.

main.swf = my main content
player.swf = contains mc_playMovie
mc_playMovie = embedded in player.swf and contains four frames, each with a different flv movie.

My code so far:

butDelmar_thumb.onRelease = function() {
createEmptyMovieClip("targetMC", this.getNextHighestDepth())
targetMC._x = 0
targetMC._y = 0

[Code].....

View 1 Replies

ActionScript 3.0 :: Controlling Timeline Of External Swf?

Jun 3, 2010

Just wondering how to control the timeline of an external swf loaded into the root of your main timeline, from within nested movieclips on your main timeline?I can successfully control it once it's loaded from within the function that assigns the external swf a MovieClip var, but I want to control it from deeper in my main swf.1. I've loaded an external swf into the root of my main swf.2. After loading, I assign the external swf a MovieClip var, and then set up a button to control the timeline of the external swf:
 
function dataOnLoad(evt:Event): void {
var myClip:MovieClip = evt.target.content;
function updateSwf(evt:MouseEvent): void{

[code].....

View 6 Replies

Professional :: Controlling Sound Of An External SWF?

Jan 11, 2011

I'm trynig to control an sound of a external SWF but I can't seem to get it right,here is the code i'm using to import the sound
 
mport flash.media.Sound;import flash.net.URLRequest;import flash.display.Sprite;import flash.media.SoundChannel;import flash.events.Event;import flash.events.MouseEvent;var _som1:Sound;var _channel1:SoundChannel;var _playing1:Boolean = false;var[code]...

View 16 Replies

ActionScript 3.0 :: Controlling Sound Of An External SWF?

Jan 10, 2011

I'm making an application and I can't seem to find a way to control my sound of an external SWF(SWF2) from the main one(SWF1).Here is the code I'm using to control the timeline of external SWF that is placed inside of the main movie

Code:
var loadAnimBox:Loader = new Loader();
var vid_mc:MovieClip;
function startLoading():void {

[code]....

View 2 Replies

ActionScript 2.0 :: Controlling External Swf Movie?

Aug 26, 2005

createEmptyMovieClip("_root.displayMV.portfolio", 1);
win.loadMovie("portfolio.swf");

That is a frame action - The "win" is my instance & the "portfolio.swf" is my external flash movie, I want this frame to tell my external flash "portfolio.swf" movie to go to and stop at frame 3 or 4, becuase at this time its only playing from the start.

View 5 Replies

AS3 :: IDE : Loading And Controlling External SWF Movie?

Sep 10, 2008

I'm able to load the actual external SWF movie, but I can't seem to control it. I have already built a controller for my flash video player. The problem now is it only plays FLV and I want it to be able to take in SWF support. Again, I load the SWF fine, but controlling is the problem.

function finished_loading (e:Event) {
var externalMovie = MovieClip(swfLoader.content); // cast 'DisplayObject' to 'MovieClip'
addChild(externalMovie); // add your swf directly to the stage

[code]....

I think this is the problem with the code. Casting it to a MovieClip only gives me a 1034 error.

View 2 Replies

AS3 :: IDE - Loading And Controlling External SWF Movie?

Jan 4, 2009

I'm able to load the actual external SWF movie, but I can't seem to control it. I have already built a controller for my flash video player. The problem now is it only plays FLV and I want it to be able to take in SWF support. Again, I load the SWF fine, but controlling is the problem.

function finished_loading (e:Event) {
var externalMovie = MovieClip(swfLoader.content); // cast 'DisplayObject' to 'MovieClip'
addChild(externalMovie); // add your swf directly to the stage

[code]....

View 1 Replies

ActionScript 3.0 :: Controlling Main Swf With External Swf?

Aug 27, 2009

My main flash file is setup with a scroll pane component. The scroll pane is loading an external swf. This external swf has a button that when pressed I want to load another external swf into the scroll pane in the main flash file. How do I make the button functional? Is it using sprites? If so, could someone direct me to a tutorial?

View 1 Replies

ActionScript 2.0 :: Controlling External Movies?

Sep 30, 2002

I have a movie (movie1.swf) which loads "movie2.swf" onto level 2. What is the scripting to make it go right to a specific frame in "movie2.swf"? What if I wanted it to go to a specific scene in "movie2.swf" right away upon load?

View 5 Replies

ActionScript 2.0 :: External SWF - Controlling Main Timeline

Mar 21, 2009

I'm having a bit of time getting this to work.
Setup like this: Main mov:
Nav1 is clicked and loads in external swf. In the swf that was just loaded there is button to call another external swf on the main movie's timeline. I'm trying make a "lightbox" effect. Where you click on the external swf and the screen darkens and a swf is loaded on top of it. Above the loaded swf. Of course on a new layer.

PHP Code:
This is handling the swfs that get loaded in
EXTERNAL SWF LOADER
_root.page_mc.preloader_mc._visible = false;
_root.page_mc.preloaderText_txt._visible = false;
var mcLoader:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
mcLoader.addListener(myListener);
[Code] .....

View 9 Replies

ActionScript 3.0 :: Controlling The Sound Of The External Loaded SWF?

Aug 18, 2009

I  have a Loader that loads external SWF. The external SWF has sound. I'd like to stop, pause and play the sound.

[Code]...

This only mute the sound only and the sound is still runnung.

View 4 Replies

ActionScript 3.0 :: External Swf (as A Subpage) Controlling The Main Swf

Nov 25, 2009

At the moment I am working on a flash website. There is a main swf with the menu, which loads external swfs as subpages. These external swfs contain some html text. Now I want to have a link inside this html text to another subpage.

[Code]....

But this doesn´t work. It seems "page_2" or "page_3" gets never dispatched.

View 5 Replies

Professional :: Controlling External Information Using Cue Points?

Apr 13, 2011

I am trying to change information on my site using cue points in my video.  My video is in a flash quiz and I am trying to change my objects such as an ad or photo with these cue points.  In otherwords, when a video begins, or when a cue point is reached the photo outside the video would change.  I am currently using cue points to go to the next frame after the video completes, but I don't know how to make it change things outside the video.

View 2 Replies

ActionScript 2.0 :: Loading And Controlling External SWF Files

Jan 12, 2009

What I am trying to achieve is the following:
I have a main file (main.swf)
Within this movie i have 5 buttons; Nos. 1-5.
When released each button will load an external swf movie clip:
e.g: button 1 will load "1.swf", button 4 will load "4.swf", etc.

However, this is where I am stuck; each external swf movie clip has its own lead in animation as well as its own lead out animation. So say for example I release button 1, "1.swf" will load and play its lead in animation before it reaches a certain point in its playhead with a 'stop' command. Then lets say, for example, I then release button 3. What I would like it to do is play the lead out animation of "1.swf" before it plays the lead in animation for "3.swf". Obviously I would want this to happen regardless of what button I press, so therefore I would want it to play the lead out of the loaded movie before loading and playing the corresponding swf file of what button I pressed. Would I use loadMovNum or load the swf within a movie clip container?

View 9 Replies

ActionScript 2.0 :: Controlling External Loaded SWF With Buttons

Nov 23, 2009

Can we control the external loaded swf with buttons created on another swf. Let me simplify this: I have one swf in which I have created one small timeline animation and the second swf has the buttons to play and stop the animation.

Now I load this 2 swf in my main file and want to control the animation through that buttons.

View 1 Replies

ActionScript 2.0 :: Controlling External Swfs Loaded Into An MC

Mar 23, 2005

what actionscript could i use to make an movies loaded into a movieclip play. tried _root.holderMC.play(); holderMC being the movieclip the external swf is loaded into, doesn't seem to work! searched the internet too but no lucky

View 2 Replies

ActionScript 2.0 :: Attaching/controlling External .swfs?

Mar 11, 2003

load/attach and 'control' external .swfs, i.e. loading them into a MC and then applying actions, masking, etc.

View 2 Replies

ActionScript 2.0 :: Flash MX 2004 - Controlling External Swf (Nav)

Jul 12, 2005

I am creating a Flash program that consists of a "master" movie file that will call in individual chapters (*.swfs) as needed. I want to create a single (page) navigation structure that will reside in the master - yet allow the user to go to the next/previous screens in the movie currently being used. I have created the master movie and have placed an empty movie clip on one of the frames. From the main navigation, I have been successfully able to load the individual *.swfs into the empty movie clip when called from the menu using the following command: _root.emptymovieclipname.loadMovie("external.swf");

I have been unable to figure out the action script that will allow me to control the navigation within the external swf from the main timeline. Also - is it possible to determine the number of frames within each clip as they are called so I can turn on/off the fwd/back buttons when appropriate?

View 1 Replies

ActionScript 2.0 :: [MX] Controlling External Clip Timelines?

Dec 5, 2005

how to control the timeline of a movie clip which is contained within an externally loaded swf. I have a central window where images fade in and out of one another and I want the user to be able to pause the fade and play it as they This is the code I am using to load the external clip:

_root.createEmptyMovieClip("profilesCentre", 3);
loadMovie("profilesCentreEX.swf", "profilesCentre");
profilesCentre._x = 17;

[code].....

View 3 Replies

ActionScript 2.0 :: Controlling Main Movie From External Swf

Nov 5, 2008

I have two files main.swf and external.swf i have use the following script on main.swf to do animation

import mx.transitions.Tween;
import mx.transitions.easing.*;
[Code]....

which work perfectly fine. Now due some reason i had to place the navigation bar in the external movie clip , in external.swf Using the same script how can i control the textBox animation which is on the main.swf??

View 1 Replies

ActionScript 3.0 :: Flash - Controlling External Swf Timeline?

Jan 7, 2011

I've having huge problems trying to control a internal SWF from my main movie.Here is how it works,main movie (loads swf1 and swf2)I need to make the button on SWF control de swf2 timeline.

View 2 Replies

ActionScript 2.0 :: Controlling Movie Through External Files?

Apr 30, 2005

im new to flash programming stuff. im was searching something for a project,ok basically i need something like this..:lets say there is and image file.. or php or asp file.. if someone tries to see this image over the browser, or file... under any condition, my flash movie, for ex. starts to play, so i think i need something like external data to control flash?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved