ActionScript 2.0 :: Load External Swf And Go Play At Frame 2?

Oct 25, 2011

i would like to load the "1.swf" to the "hub.swf"(ROOT MOVIE) and have it gotoAndPlay(2) using AS2.he thing is I can't put the gotoAndPlay(2) on the first frame of 1.swf.

hub.swf >>
_root.btn1.onRelease = function() {
loadMovieNum("1.swf",0);

[code]......

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Load And Play External Swf After Going To Frame Label?

Feb 8, 2011

I have a button on the main timeline. When clicking it, I would like to move the main timeline to a frame label called "history" and load and play a movie clip called "slideshow1".

I have the "gotoAndPlay" code working properly but can't seem to get the external swf "slideshow1" to load and play.[code]...

View 1 Replies

ActionScript 2.0 :: Load External Swf And Goto And Play Certain Frame?

Jun 24, 2005

im trying to do is load an external swf file into a "base" file but play a certain frame number or label in the external file.I have a file called base.swf file which is level0In base.swf i have nothing but 1 frame with the following AS code:loadMovie("top.swf", 2);This works fine and loads and plays top.swf, but how can i load top.swf and play a certain frame label or number as soon as its loaded. Ive tried the following which does work but i hope it kinda explains what i want to do.

loadMovieNum("top.swf", 2);
tellTarget (_level2) {
gotoAndPlay("MyFrameLabel");

[code].....

View 10 Replies

Professional :: Dynamiclly Load Flv's And Play Frame By Frame

Dec 5, 2010

I'm building a flash application where the user can play multiple 30 sec .flv movies (one at a time) in slowmotion by pressing or holding down the left and right arrows keys.The user can hold/press "keypress right" to move to the next (key)frame and "keypress left" to move to the previous (key)frame in the .flv files.I have tested embeeding one .flv movie to the stage and it's working fine.But since I will be using many flv's I want to load the .flv's dynamiclly (on button clicks) using netstream or FLVPlayer. Would it be possible to step beetween keyframes in the same way if the .flv's are loaded dynamiclly? Or, must I embeed each .flv file into separate swf's and then dynamiclly load the swf's to my main stage?

View 1 Replies

IDE :: Dynamiclly Load Flv's And Play Frame By Frame?

Dec 4, 2010

I'm building a flash application where the user can play multiple 30 sec .flv movies (one at a time) in slowmotion by pressing or holding down the left and right arrows keys. The user can hold/press "keypress right" to move to the next frame and "keypress left" to move to the previous frame in the .flv files.

I have tested embeeding one .flv movie to the stage and it's working fine.

But since I will be using many flv's I want to load the .flv's dynamiclly (on button clicks) using netstream or FLVPlayer. Would it be possible to step beetween frames in the same way if the .flv's are loaded dynamiclly?

Or, must I embeed each .flv file into separate swf's and then dynamiclly load the swf's to my main stage?

View 1 Replies

ActionScript 2.0 :: Load An External Jpg In Frame 2 With A Command In Frame 1?

Mar 31, 2004

load an external jpg in frame 2 with a command in frame 1? Very important to my project to get at least a yes or no.

View 4 Replies

ActionScript 3.0 :: Getting An External Swf To Play On A Specific Frame?

Nov 9, 2009

I made a flash website and had one page load an external swf.

In this external .swf are thumbnails that link to another page (frame) all within the external swf. when you go to these pages there is a 'back' link which links back to the main external swf frame.

My problem is this: let's say i click a thumbnail in the external swf and it goes to the respective thumbnail page, and then i dont click the 'back' button but instead click another link of the main flash website - then i go back to the page that loads the external swf and instead of going to the main frame of the external swf it stays at the page i was previously on.

How do I get the link on the main flash website which loads the external .swf to always load on the first frame of the external swf?

This is my code for the page that loads the external .swf

var request:URLRequest = new URLRequest("branding.swf");
var loader:Loader = new Loader();
loader.load(request);
loader.x = 0;

[Code]....

View 4 Replies

ActionScript 3.0 :: Get The Screenshot Of The First Frame Of An External Flv File Without Play It?

Mar 5, 2009

get the screenshot of the first frame of an external flv file without play it?

View 1 Replies

ActionScript 3.0 :: Play External Swf On Specific Frame On Another Html Page?

Jul 27, 2010

i will send newsletter to client via emailclient clicks on image or link and it will open a specific frame in swfi know we can jump specific frame in html if swf is embed in same htmlbut i am looking for external swf in html to be played on specific frame.

View 1 Replies

ActionScript 3.0 :: Load And Play Different External MP3

May 11, 2010

I wanted to have a sound playing (loaded external mp3) and then have various buttons on the screen that load an alternate song in its place. 
 
This is what I'm trying to do:
 
var myMusic:Sound = new Sound();var reqMyMusic:URLRequest = new URLRequest("mySong.mp3");myMusic.load(reqMyMusic);myMusic.play();
music1_btn.addEventListener(MouseEvent.CLICK, music1);

[Code]....

View 3 Replies

ActionScript 2.0 :: Have Movie Load And Play In Timeline When Frame Entered?

Feb 3, 2009

I want to have a movie load and play in the timeline, when a frame is entered. I know about the enterFrame function, but don't know how to apply it.

View 9 Replies

ActionScript 2.0 :: Play A Frame In An External .swf With A Button From Main Flash File?

Jan 15, 2007

im trying to play a frame in an external .swf with a button from my main flash file.

View 5 Replies

As3 :: Load External Swf Into And Play Pause Forward?

Dec 19, 2011

I am trying to control movie clip to anther swf file but its not working how to do .

View 1 Replies

ActionScript 3 :: Load / Play And Mute External SWF

Aug 16, 2010

I have a file to which I do not have the source - a flash header with an obnoxious sound intro and I need to mute all sounds. Without the source I am limited as to what I can do. I have some as3 code that I am using to try and load the swf into and mute(building in FlashDevelop). Here is the code in question:

package {
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
import flash.media.SoundTransform;
[Code] .....

This code above still plays the audio and the original swf is not being displayed. So, my questions are:
How would I mute the external audio?
How would I display the external swf just as it does when viewing it directly?

View 1 Replies

ActionScript 2.0 :: Flashcs3 AS2 External Swf Will Load But Won't Play

Dec 17, 2008

I am totally new to actionscript.I found a slideshow which uses an xml file to load jpgs. (albumV2.swf)The xml contains jpgs, and captions.When I publish it on its own...works fine.Now I'm trying to place albumV2.swf inside a deeply nested mc.I'm using a button to navigate to the target movieclip (holder_mc) which I want to contain the external swf.[code]when I test The albumV2.swf loads, I can see the background for the photos. But it won't play.There are thumbnails in the swf that don't show, but there's also a timer and counter in the swf that do show.All the photos are called from the xml doc, but I can't see them. However, I CAN see the first caption that's in the xml.doc. and only the first caption.I wondered if the code in the original slideshowFLA uses some hierarchy that I'm screwing up, but shouldn't the xml be fine once it's found?

View 1 Replies

ActionScript 3.0 :: Load And Play A Swf File Form A Specific Frame Number?

Jul 14, 2009

i want to load and play a swf file form a specific frame number

So when a swf finishes i want to load another swf file from frame number 6430.
Is it possible or not

View 3 Replies

ActionScript 3.0 :: Load External Swf And Go To A Particular Frame

Nov 10, 2009

I have an empty swf (container) where my external swfs get loaded and unloaded. I have two swfs - Activity 1 and Activity 2 (each contain an activity to complete on several frames).

The user is able to click back from activity 2 to activity 1, but they get to the beginning of the activity instead of where they were last (last frame on swf). I would like to be able to click the back button and go the last frame on the swf being loaded.

So, how do I load an external swf and then go to the last frame in it? But I don't want this to happen everytime I go to activity 1. Only when you click the back button from activity 2.

View 3 Replies

ActionScript 2.0 :: Load One Frame Of An External Swf/ How?

May 21, 2003

I want to make a preloader what can i use for anything in the page. The problem is that if i write the load movie action, all frame will be loaded.is it possible to load just a frame of an external.swf?

View 1 Replies

ActionScript 2.0 :: Load External SWF Then Go To Next Frame

Sep 4, 2004

I got these swf, that i am trying to load other swfs with, so far I have it so the swf are kinda preload, loading on a container off the stage and then advancing to a new frame, my problem is with this code it just stays on frame one for some reason.

This is on frame one
Code:
bytes=container.getBytesLoaded()+this.getBytesLoaded()
total=container.getBytesTotal()+this.getBytesTotal()
_root.createEmptyMovieClip("container",1)
container.loadMovie("01.swf")
container._x = -500 ;
container._y = -1000;
if (bytes == total) {
_root.gotoAndPlay(3)
}

And this is on frame two
Code:
gotoAndPlay(1)
Why it's staying on frame one instead of advancing after the swf is loaded?

View 3 Replies

ActionScript 3.0 :: Control The External SWF To Play It's Outro And Then Load The Next SWF?

Sep 20, 2009

It's all about loading and unloading external swf's.My code is working perfectly though I just have some questions about load and unload issues.

------------------------------------------------------------

I have three buttons on the stage and it should load its external SWF

homeButton_btn - home.swf
page1Button_btn - page1.swf
page2Button_btn - page2.swf

Each of the button should load it's external SWF's intro when click.My problem is that I don't know how to command the button to play the swf's outro and then load the next swf everytime I click a button. Example: When I click homeButton_btn, the external swf should load "home.swf" and then if I am going to click page1Button_btn, the outro of "home.swf' should play and then once it reaches the end of it's timeline, it should load "page1.swf". Same goes with page2Button_btn, whatever swf that is on the stage should play it's outro first and then load "page2.swf"

My questions are: 1. How can I control the external SWF to play it's outro and then load the next SWF.

2. What code should I put at the end of the external SWF's timeline.

3. Where do you think I should put the preloader? Is it better to put it at the external swf timeline? or on my main swf timeline?

4. Does load and unload of external swf also work with movieclips? Like for example I will not use a external swfs, instead I will use movieclips to load and unload its content.My Actionscript 3.0 code

var pageContainer:Loader;
pageContainer = new Loader();
var nextMov:String;[code].........

View 1 Replies

ActionScript 3.0 :: Sequentially Load/play External Swf Files?

Jul 1, 2009

I have a series of 5 external movie clips that i want to load as fallows:

Load Clip1.swf
Play Clip1.swf
While Clip1.swf is Playing
Load Clip2.swf

[code]....

View 0 Replies

ActionScript 2.0 :: Load External File Then Play Movie?

Dec 17, 2009

Is it possible for a movie to stop until an external file has fully loaded at which point the main movie will then play?

View 1 Replies

ActionScript 3.0 :: Load & Play External Flvs Continuously?

May 4, 2009

code that will load and play a folder of flv's continuously?I have a folder of short clips i converted to flv. When one clip finishes, i want the next clip to play and to endlessly loop through the flvs, never stopping. If there's a way to include a transition, that'd be cool too, but not important. I've got the first clip loading, but can't get the next to play.

Code:
var video:Video = new Video();
addChild(video);

[code].....

View 1 Replies

Load And Unload External Swf And Then Goto Frame

Aug 1, 2010

i want to make an presentation,, for which.. at frame i click a button on frame 9 it goes to frame 10 and plays.. like my script on frame 10 is below

this.createEmptyMovieClip("coalzoom",5);
coalzoom._x = 80;
coalzoom._y = 60;
coalzoom.onEnterFrame = spaceLoad;
function spaceLoad()
[Code]....

and when i click another button to go frame 1 from the same page at 10,, placed beside the loading external swf ,, it goes,, but the loaded external swf file is not going ,, or the external file not cleaning,, not removing. here is the CS3 flash sources,, and outputs [URL]

View 1 Replies

Actionscript 3.0 :: Make Frame To Load External Swf?

Aug 17, 2009

I want to be able to change the frame in output.swf from within another flash, how do i make this possible?[code]...

View 3 Replies

ActionScript 2.0 :: Load An External File Into A Frame?

Apr 13, 2006

thats it is there a way to take all the code in a frame and save it to a .AS file and import that .AS file into the frame where the code originally was?

View 4 Replies

ActionScript 2.0 :: Load A Specific Frame Of External SWF?

May 21, 2003

hey there I posted several strings before and no response

I want to load a specific frame of external.swf into a main.swf

View 4 Replies

ActionScript 2.0 :: Button To Play Animation Then Load External SWF File

Sep 20, 2005

What I need is an AS code for a button which first play an animation ( a motion tween) and then load an external swf file.

View 2 Replies

ActionScript 2.0 :: Load 3 External Swf Files Into One Place And Make It Play?

Apr 2, 2009

How to write a simple script to load 3 external swf into one place and make it play one by one continuously?

View 6 Replies

ActionScript 2.0 :: Load External SWF - Goto Specific Frame?

Apr 15, 2006

I am loading an external movie with buttons... I would like the loaded movie to goto a specific frame. This is the code to load the new movie

Code:
on (release) {
loadMovie("movies/1.swf", "display");
}

I did search (external swf frame) but nothing came up with what I needed

View 5 Replies







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