ActionScript 3.0 :: Communicating Between Externall Swf & Main Movie?

Jan 23, 2009

how do I target something that lies in externally loaded swf from my main movie?
or vice versa?

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Communicating To The Main Timeline From Within A Movie Clip Symbol?

Mar 8, 2008

What I have is a situation where I need to play some frames on the main timeline, say to frame 5. I place a movie clip symbol in frame 5 which I want to play (all is working fine so far).Once the Movie clip is finished playing, I want the main timeline to start again.In AS2, I would simply put

_root.play();

Now in AS3, I think it should read

root.play();

but I get an error which reads:call to a possibly undefined method play through a reference with static type flash.displayisplayObject

View 7 Replies

ActionScript 3.0 :: Communicating Between External Swf's And The Main Swf

May 23, 2010

how do you get an external swf which has been loaded into the main swf to talk to the main swf?

Like, lets say you load an swf into a container clip inside the main.swf's timeline, but need to get things to happen in the main one from the external one...

in as2 you used to just be able to go, say _parent._parent.main.gotoAndPlay("whatever");

View 3 Replies

Actionscript 3.0 :: Communicating From One MC To Another Both In Main Timeline

Feb 2, 2009

I can't seem to figure out how to get buttons inside of one movieclip on my main timeline to gotoAndPlay frames in another movieclip on that same timeline.basically I have a intro_mc that I have an enter button in.and I would like that to gotoAndPlay a framelabel in a 2nd movieclip (content_mc) the reasons that I have them each in their own mc and not just on the main timeline is becuase I am proportionally scaling each of the mc's to fill the browser window.I have tried to call it with parent child but I am most surely missing something.

View 2 Replies

ActionScript 2.0 :: Communicating To Main Timeline From Ext.swf?

May 17, 2007

how can i communicate from an external swf to the main sites timeline? im asking cause im a bit confused, i have an external swf with its own buttons etc...and for example if i have a MC with a button that says, on release, go to _root. (whatever frame on the external swfs main timeline)and play (whatever frame) then if im understanding this correctly, then " _root." is to go to the main timeline on whatever swf you are in...but then if i want to access the main sites timeline from the external swfs, how would i achieve that? is it _root. too or something else?

View 2 Replies

ActionScript 3.0 :: Communicating From One MC To Another Both In Main Timeline?

Feb 2, 2009

I can't seem to figure out how to get buttons inside of one movieclip on my main timeline to gotoAndPlay frames in another movieclip on that same timeline.basically I have a intro_mc that I have an enter button in.and I would like that to gotoAndPlay a framelabel in a 2nd movieclip (content_mc)the reasons that I have them each in their own mc and not just on the main timelineis because I am proportionally scaling each of the mc's to fill the browser window

View 1 Replies

ActionScript 2.0 :: What's Wrong With Externall-loading HTML-formatted Text

Jun 7, 2006

I am trying to load in a text file into a flash movie which has some HTML formatting to it - there's very little i can find out about this on the web - it kinda works..

here's my external text file..

history=<B>History of BodyTalk</B>
<B>World Wide Focus</B>
The International Association (IA) <a href="http://www.bodytalksystem.com" target="_blank"> <font color="#0099FF"> www.bodytalksystem.com </font></a>

View 1 Replies

ActionScript 2.0 :: Communicating To Swfs Loaded In Movie?

Jan 24, 2010

I'm loading movies into my parent movie, and i was wondering if it was possible to communicate between the two - so i could swap out other external SWFs (in the parent) based on input in the loaded movie.I'm still relatively new to Action Script, and have been learning quick, but i have been unsuccessful in my attempts so far.

View 3 Replies

ActionScript 2.0 :: Communicating Between 2 Movies And Loading New Movie On Top?

Nov 18, 2003

into my main movie i want to load one swf with the navigation into one empty movie clip, in another empty movie clip load the different "pages", how do i talk between the 2 swf files loaded into my main movie, in other words, how do i make the "about" button load the "about" page, and when the different swf files load for each "page" i want each one to load on top of the current one, not to replace it.

[URL]

View 3 Replies

ActionScript 2.0 :: Communicating With A Loaded Movie Clip?

May 26, 2004

i am having a problem that has me beating my head against my desk and i cant belive that i dont know the answer.I have a text field within myswf.swf called "score" how do i change the score text field within myswf.swf movie that i load.

View 3 Replies

ActionScript 2.0 :: Communicating With A Loaded Movie Clip

May 26, 2004

i am loading a movie clip with loadMovie(URL...);I have a text field within myswf.swf called "score" how do i change the score text field within myswf.swf movie that i load.

View 3 Replies

ActionScript 2.0 :: .load Six Separate External .swf's Into The Main Movie While The Main Movie Loads Too

Dec 23, 2004

I want to load six seperate .swf's into the main movie while the main movie loads too. So in simpler words, i want to be able to load all of the swf's the same time i am loading the main swf.

View 2 Replies

ActionScript 2.0 :: Add One To The File That Is Loaded Into The Main Movie Main Movie That Is Loading The File?

Aug 3, 2003

using the command:

loadMovie(_root.section, _root.content);how would i work in a preloader bar?? add one to the file that is loaded into the main movie or on my main movie that is loading the file?

View 1 Replies

ActionScript 2.0 :: Target A Loaded Movie Within The Main Timeline And Stop Sounds In That Particular Movie Only?

Apr 14, 2004

Is it possible to target a loaded movie within the main timeline and stop sounds in that particular movie only?

View 4 Replies

ActionScript 2.0 :: Fade In White Movie Clip Over Main Movie When A Button Is Pressed?

Aug 30, 2006

I am looking for a way to fade in a white movie clip over my main movie when a button is pressed.

(i.e. When you press a button, a white rectangle will fade in over all other layers and then fade out after a couple of seconds. This is to make it look like the different pages are fading in and out without having to build the transition over and over again.)

View 8 Replies

ActionScript 3.0 :: Can Not Execute Code From Nested Movie Inside Of Main Movie

Mar 7, 2010

I can not execute a code from nested movie inside of my main movie when I declare import like that:[code]I get these errors: 1172: Definition com.greensock:easing could not be found.

View 8 Replies

Actionscript :: Play Movie Clip, Have It Wait Until End Of Main Movie Then Restart

Nov 17, 2011

I have a flash banner that includes a movie clip of the logo being animated. I want the logo animation to only run at the beginning of the main "movie". Currently I have to find the length of the entire movie (for ex. 500 frames) then put a key frame in at the 500th frame of the logo movie clip. I know there has to be a correct way to do this...Do I add a frame name at the end of the main timeline and somehow in AS in the logo movie clip say "when you reach X goToAndPlay(1);"?

View 1 Replies

ActionScript 2.0 :: When Click On A Link From The External Movie Won't Return On The Main Movie

Feb 1, 2006

- i have 3 separate movie clips (a,b,c)

- my main movie is (a) and when i click a button there, it will go to external movie (b)

- under external movie (b) there's a movie clip that includes my animation and content button

- if i click on the content button on movie (b), external movie (c) will pop up [ it will not replace movie (b) but will just overlap it, it's like a small pop up ]

i did the actionscript and when i'm testing external movie (b), it's working... it's showing/popping up movie (c) but when i tried it on the main movie (a), the movie (c) is not popping on the (b) err, sorry if it's a bit confusing / how i explained it. but hopefully somebody will get the idea. and it won't also return on the main movie (a) when i click on a link from the external movie.

View 5 Replies

ActionScript 2.0 :: Continuous Play Of Several Movie Clips From One Main Movie Clip?

Jun 20, 2006

i'm trying to play several movie clips, one after the other from one main movie clip.i've got 8 movie clips, "m1.swf", "m2.swf", etc. "m8.swf", and one main movie clip, "play.swf".i've tried using loadMovie, but it only plays the last movie clip. this is what i've got. in the main movie clip, i've put a play button, and the actionscript i have in the button is:

on(release)
{
this.loadMovie("m1.swf",play);
//this.unloadMovie("m1.swf");[code]....

is this wrong? how can i get this to work correctly.

View 4 Replies

ActionScript 2.0 :: Load Movie And Pass The Variables Needed From The Main Movie

May 28, 2002

I'm trying to do a demo with a fastforward button and a rewind button that will go to the next scene and previous scene...however, due to the format that my predecessor created used...I'm stuck with alot of scenes. The navbar (ff and rewind buttons) is in a .swf file called main. The actual demo is in demo3.swf. I created a loader scene to redirect to the correct scene (when ff and rewind are hit), but I'm not sure how to pass the variables needed from the main movie.

View 4 Replies

ActionScript 2.0 :: Activating The External .swf Into A Blank Movie Clip In The Main Movie?

Oct 10, 2002

I'm still a rookie in flash and I'm having a little bit of trouble with some actionscript. I've gotten as far as placing the buttons and assign the correct actionscript for them to work. Everything is working fine with the buttons activating the external .swf into a blank movie clip in the main movie. Ony thing is, I would like the external movie assigned to the first button to open once the movie is loaded.

I thought by using the same actionscript i used on the button {and removing the on(release) tag} and placing on the first frame of the main movie would help, but it doesn't.

View 2 Replies

ActionScript 3.0 :: Play Movie Clips Embedded Inside A Movie Clip On The Main Timeline?

Dec 6, 2009

I have my flash document set up in the following way: On the main timeline I have my buttons that I want to play movie clips embedded inside a movie clip on the main timeline.However, when I click each different button, the current movie clip stops playing and then the movie clip corresponding to the button plays.

I want them all to be able to play at once. So for example you push button 1 and the alien plays, but half way through you could click button 2 and the alien clip would keep playing, but also the helicopter clip would begin to play as well.Here is the code I have so far:

building_btn1.addEventListener(MouseEvent.CLICK, alien);
building_btn2.addEventListener(MouseEvent.CLICK, helicopter);
function helicopter(e:MouseEvent):void {[code]......

View 1 Replies

ActionScript 2.0 :: Targetting - Use LoadMovie() To Load Movie Into Main Movie - Buttons No Longer Work

Oct 1, 2003

I have a movie. In it are some buttons and a dynamic text field. When I press the buttons is should load text from a database into the dynamic text field. If I run the movie by itself (ie. not by LoadMovie()-ing it into a different movie) the dynamic text field gets filled with text and all is well and good. However, when I use LoadMovie() to load this very same movie into my main movie, the buttons no longer work; the text field stays empty.

[Code]...

View 9 Replies

ActionScript 2.0 :: Resize External Loaded Movie To Main Movie

Jan 9, 2010

my problem is that i need to make a reisze, cause the screen resolution for other users. My main and news movie works perfect, but the others movies re-scale everything bigger. The problem of the external loaded movie is: this movie needs the funktion:

Stage.scaleMode = "noScale";
Stage.align = "TL";

If i dont have this code inside the movie is not going to resize fullscreen into the main movie. Inside this movie im scalling photos and some mc's You can take a look what i mean under: [URL]

If you take a look to the bar where the Number of pictures (30) are you will see that the lower bar and the pictures is not going to scale to fill the full screen if i delete the this code;

Stage.scaleMode = "noScale";
Stage.align = "TL";

View 3 Replies

ActionScript 2.0 :: Link To A Page Which Then Loads A New Movie Into The Main Movie?

Oct 17, 2003

I have a html page that has a link, which links to another html page with a flash file on. What i need is when this flash page is accessed i need a new movie to load, which would usually load from the navigation when someone clicks on a button.Is there anyway to link to a page which then loads a new movie into the main movie. can this be done???

View 10 Replies

ActionScript 2.0 :: Pass Variables Between Different Movie Clips (.swf's) On Main Movie

Jun 4, 2002

Make things very simple, I need to pass variables between different movie clips (.swf's) on my main movie. It seems as tho my variables are only local, not global, i just need to know how to initialize global variables, and how to use the global variables in my other swf's.

View 14 Replies

ActionScript 3.0 :: Flash - Play Movie Clip With The Button Click Without Playing All The Movie Clips On The Main Timeline

Apr 26, 2009

I'm trying to make a flash website that has clickable buttons that will play different movie clips. But I dont know how to make it to just play the movie clip with the button you click without playing all the movie clips on the main timeline.

View 1 Replies

ActionScript 2.0 :: Removing Movie Clip From The Main Movie?

Feb 24, 2003

How do I remove a movie clip from the main movie?I've tried setting the alpha,but technically it is still there.Removing and deleting movie clip only works if the movie clip is duplicated and I don't want the movie clip duplicated.

View 1 Replies

ActionScript 2.0 :: Controlling Main Movie From Movie Clip

Jun 16, 2005

I have instances in my movie layed out as such

_root contains
[sliderX] which contains
[holder]

Where X is a number from 1-500 inside [holder] is a button that when pressed should load an image into new browser (does this fine) then move the main movie to it's next scene. this is when it fails. I have tried

[Code]...

View 1 Replies

ActionScript 2.0 :: Put Movie Clips Into The Main Movie?

Sep 12, 2003

after having read the manual and MANY online tutorials, I can't find a simple, concise, tutorial on how to do the easiest thing possible: how do you put movie clips into the main movie and play them and which scripts do you use to do this?

I know this sounds ridiculous - but there are lots of little idiosyncracies in placing MC's on the timeline.

For example:

1) You can put any movie clip in the first frame and it will play - but if you put it on the second frame or beyond (with no scripts) it won't

2) When to use the stop command on the first frame (I know this is to stop unwanted looping so a MC will play, and to stop other scripts from executing, but it seems to be inconsistent in it's use from what I've seen)

3) whether to use "gotoandplay" or just "play"

4) when you must use target paths and when you can use just a command on the root level

What I want to be able to do is have several layers of movie clips, control them playing, and ideally be able to stagger when they start without moving them around to later frames etc.Is this just too stupid for words or have any of you had trouble in this area when first starting with flash?

View 1 Replies







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