ActionScript 2.0 :: Link To External Swf Movieclip From Main Swf?

Jun 1, 2009

I have a main fla, which has some buttons on the stage. When you click on a button an external swf loads(using loadMovie method) inside container_mc which is an empty movieclip.

On that specific external swf, I have created an empty movieclip called content_mc which also loads external swfs.

Is it possible to call the content_mc from the main fla? For example when clicking a button of the main fla, how can I point to content_mc which is part of the external swf?

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Command External SWF-file To Play Outside Of The Main Movieclip Via Button From Main?

Jan 17, 2012

I Have a flashmovie thats almost done and will soon hit the internet, but I want to add some animations into the website it�s two gears that I�m about to put at the bottom of the page and when a button releases in the main flashmovie the two bottom gears will turn a few frames and just stand still.These three movies are all separate (main movie, first gear and second gear).

It's a homepage designed in HTML and flash that has this "main flashmovie" in the middle of the screen, the size is about 1500(width)X800(height). And the gears is about 800wX200h placed at the left and right side bottom of the page. Dont worry the site is easy to apply to any screen resolution.I have been looking everywhere for any soul out there who suffering from the same problem but no success. Is it possible to script a button in the main movie to launch two separate movies in their own contents?

View 2 Replies

ActionScript 2.0 :: Link To External Swf Frame, From Main File?

May 26, 2009

I have some buttons in my main movie.I want each button to link to a different frame of an external movie. Is this possible?

View 2 Replies

MovieClip - How To Link Main And Sub Menus

Dec 20, 2011

I've set of drop down menu which I build in Movie Clip. Things work well and the sub menu working properly. But my problem is how do I want to linking it each of the menu and subs. The problem is, all my frame and everything is inside the Movie Clip and my content of the website is outside the Movie Clip. So, how I want to navigate the button.

View 1 Replies

IDE :: Link Main Stage From Inside Of A Movieclip?

Dec 9, 2009

I created "symbol1" movie clip. And I have dynamic text "myscore" on the main stage.

I have this code inside of "symbol1".

mybutton.addEventListener(MouseEvent.CLICK, b1);
function b1(event:MouseEvent):void {
myscore.text = "30";
}

And it gives me this error. (1120: Access of undefined property myscore.)

It works only when text and actionscript inside of the same symbol. I tried like this root.myscore.text = "30"; but it still doesn't work.

View 2 Replies

Actionscript 3.0 :: Link From Main Timeline To A Frame Inside A Movieclip?

Apr 9, 2009

I make a website. First I have a frame with a movieclip, where my entire page is within.Inside of that is where all of my pages is in different frames, and in each of these frames there are other movieclips with content. My example:Top level /Entire site/My pages, in different frames /Movies/Pictures/About/Etc./Content (inside the "Movies") /Info about movies/Movie one/Movie two/Etc./My problem is as easy as this: I will link from the "My pages" level, to the first frame in "Content" (info about movies)If i just link to the, "Movies" frame, I can't get from "Movie One" to Info about movies by pressing the button, wich lies on the "My pages" Level.

View 4 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

Link To External MovieClip From HTML Textbox

Apr 21, 2009

How do I link from my dynamic txt box (html) to an external movieclip (popup). The only thing I found was a
<A HREF="[URL]" TARGET="frame_Name">

What I need is a link/action from my html (AS2);
on (release) {
loadMovieNum("01_mymovie.swf", 9);
}

View 19 Replies

AS3 :: Give Link To A Movieclip To External Url In Flash?

Jan 17, 2012

I wanna link a movie clip which has instace name test1 to a external urlI am using a menu list which has main movieclip instance name as 'Primary_Menu'. And inside this main movie clip there are 7 menus (home, about us etc..) each menus are movie clip and has instance names.Below code is written for linking them to respective frames. but i need to give external url for last menu (test1)

Home_MC.logo_btn.addEventListener(MouseEvent.CLICK,ShowHome);
.Primary_Menu.pmenu_btn1.addEventListener(MouseEvent.CLICK,ShowHome);
Home_MC.Primary_Menu.pmenu_btn2.addEventListener(MouseEvent.CLICK,ShowLocation);

[code].....

View 1 Replies

ActionScript 2.0 :: Load External Swf In The Same Movieclip Rather Than Html Link?

Sep 19, 2009

I bought a third-party image gallery xml driven where images activate html links. I need the image, when pressed, to import an external swf in the same movieclip where the gallery is and not external html links.

here the xml code:
<content>
<title><![CDATA[<b>title</b>]]></title>
<image>images/02.jpg</image>

[Code]....

any image simple recall a html link, while I need to load in the same movieclip an external movieclip.

View 1 Replies

ActionScript 2.0 :: Make A Link In Loaded SWF Link To ITS Main Timeline?

Dec 17, 2009

I am literally at the end of my wick with this one! Here's the skinny, so to speak:

home.swf
products.swf
button line mc

[code]........

View 3 Replies

ActionScript 1/2 :: Loadmovie The External Movieclip In The Main Movie?

Mar 22, 2011

I have a main movie is coding AS2 which contains a movieClip called MC_header.And I have an external movie is coding with AS3.

My question is : Can i loadmovie the external movieclip in the main movie?

View 1 Replies

ActionScript 2.0 :: External Swf - Movieclip Not Functioning In Main Movie

Oct 18, 2004

I have loaded an external swf into an empty movie clip in my main movie. Movie clip works fine when I test the external swf by itself. Once I test the main movie and load the ext. swf file the movie clip stops working.

This movie clip will act as a button. It is a small folder tab that will move up once clicked and move down when it is clicked again. Will changing the _root to _parent work?

AS for the movieclip:

onClipEvent (load) {
speed = _root.variSpeed;
}

[Code]....

View 2 Replies

ActionScript 2.0 :: External Swf - Movieclip Not Functioning In Main Movie?

Oct 18, 2004

I have loaded an external swf into an empty movie clip in my main movie. Movie clip works fine when I test the external swf by itself. Once I test the main movie and load the ext. swf file the movie clip stops working.

This movie clip will act as a button. It is a small folder tab that will move up once clicked and move down when it is clicked again. Will changing the _root to _parent work?

AS for the movieclip:
onClipEvent (load) {
speed = _root.variSpeed;
}

[Code]...

View 2 Replies

ActionScript 3.0 :: Load An External Swf In A MovieClip Which Is On The Root Of Main Application?

May 18, 2011

I have a ScrollBar with some buttons in it. I need to know how I can load an external swf in a MovieClip which is on the root of main application?

View 3 Replies

ActionScript 2.0 :: Swf Called Main.swf Which Has A Container Movieclip That Gets External Swf's Loaded Into It

Jul 28, 2004

I have one swf called main.swf which has a container movieclip that gets external swf's loaded into it.

my external swf is called hosting and it calls an array of data that is loaded into a movieclip that is duplicate for each element from the database. The elements from the database are as follows:

Business
Economy
Power
Standard

Each one of these has a button over it that when press loads information from the database into a movieclip that contains a textbox. My button code is: _root.movieclip.loadVariables("url to database");

This works flawlessly when I run the hosting.swf by itself, but when it is loaded into the contianer in the main.swf the buttons dont work. I believe that it is the _root in the button call that is causing this but I dont know how to fix it. I think the _root variable changes when hosting is loaded into the main.swf.

View 1 Replies

ActionScript 2.0 :: Loading An External Swf File/movieclip Onto The Main Stage?

Jan 7, 2009

I am loading an external swf file/movieclip onto the main stage - it is a simple transition and once it has finished playing, I want to jump to a frame in the main stage.I've loaded the movieclip onto the stage, but don't know how to jump to another frame after it has played and stopped...what's needs to be added to this to goto a frame on the main stage........

on (release) {
loadMovie("black.swf", holder);
}

View 2 Replies

ActionScript 3.0 :: Manipulate A MovieClip Instance Within That External SWF From The Main File?

Oct 6, 2009

I have searched the archives here, but cant get a clean answer on this.I am loading an external SWF sucessfully, but I need to manipulate a MovieClip instance within that external SWF from the main file.

Code:
// SLIDE 1 IMAGE LOADING
var slide1Loader:Loader = new Loader();
var image1:URLRequest=new URLRequest("slides/1.swf");
slide1Loader.load(image1);
slide1.slideImage.addChild(slide1Loader);

That is the successful code to bring it in - but now I need to be able to use a movieclip within it called COPYMC

View 4 Replies

ActionScript 3.0 :: Unloads External Swf Inside Movieclip / When Click A Button On Main Screen

Jul 22, 2011

i found a script that unloads my external swf inside a movieclip when i click a button on my main screen. this script causes the external flash inside my moviclip to close and unload when i click the close button, which is what i want!. the only pain in the butt is it preloads the external flash when you go the flash site and i dont want that. i only want the script to close the external swf. if anyone is curious book.swf is the swf in the movieclip i am trying to close.[code]

View 1 Replies

ActionScript 2.0 :: Load An External Swf In An Empty Movieclip And Then Manipulate This Loaded Swf From Main Movie

Jul 29, 2007

i just recently started programming in flash and so far I have learned a lot, but new questions keep coming up

My problem is that I want to load an external swf in an empty movieclip and then manipulate this loaded swf from my main movie. For example tell it to go to a certain frame. Is such a thing possible?

View 1 Replies

Link Preloader To Main Movie?

Nov 5, 2009

how to link the main movie to the preloader, so it counts the load and loads the main movie when it's done?

View 1 Replies

Professional :: Link A Button To Main Timeline?

Jun 19, 2010

i want to link a submit button in a movie clip to the main timeline, any ideas of how to do it?

View 15 Replies

ActionScript 3.0 :: Submenu Won't Link To Mc In Main Timeline

Jul 15, 2010

I have a file with 4 movieclips on the main timeline. 2 of the clips (home_btn, benefits_btn) are used as buttons with rollovers, submenu, etc. The other 2 clips (home_mc, benefits_mc) are basic content. What I've been trying to do for a couple days now is to link from a submenu button (benCor1_btn, not a mc btn) inside benefits_btn to a frame label inside a mc (benefits_mc, "b1"). I've attached my FLA file for some to look at my code and tell what the heck I'm doing wrong.

View 4 Replies

ActionScript 3.0 :: Open A New Swf File From Link From Main?

Jul 23, 2010

Can i open a new swf file loading video from my Main swf File? I would like to put a link in the main swf file and when it will click i wanted to open a new swf file playing video in the another window.

View 7 Replies

ActionScript 3.0 :: Get Buttons To Link To Main Timeline

May 10, 2011

I have a scrollPane on my Stage and I have it linked to a movieClip containing a series of images that have been converted to buttons. Everything works fine, except I can't seem to figure out how to get the buttons to link to the main timeline. All I want is them to gotoAndPlay ("frameLableOnTheMainTimeline"). (I am using AS3)I tried a standard on Click eventListener, but am unsure of the syntax to make it go back to a specific frame on the main timeline.

View 6 Replies

ActionScript 3.0 :: Loading External SWFs From Another External Swf Into The Main SWF Container?

May 4, 2011

I have created a main "site.swf" file that loads a "default.swf" file into a container after a preloader. On this default.swf file I have buttons that needs to load new external SWF files in its place in the container. All of the external SWFs contain buttons and navigations that will also call up other external SWFs into this container. So, I would like to know how to program each button (some are movieclips as buttons) to unload itself and load the respective SWF into the container (eg. AboutUsButton to call up aboutus.swf into the container). I do not have a main navigation on the site.swf file bacause the navigation changes on each SWF that needs to be loaded into the container.

View 2 Replies

ActionScript 2.0 :: Trigger External Swf To Load Into Main Swf From Button In Another External Swf?

Apr 22, 2007

I am trying to get a nav button in one movie (main_nav.swf) to target a my main movie (index.swf) and load a sub nav movie (metals_subnav_infinite.swf) into it. The sub nav movie will do a similar task - loading a portfolio swf into main movie (index.swf). Here is the file breakdown of my working files:index.swf - main final movie which loads "main_nav_infinite3.swf" on startmain_nav_infinite3.swf - loads main nav "main_nav.swf" and scrolls it infinitely (infinite menu)main_nav.swf - main nav with buttons that trigger sub nav "metals_subnav_infinite.swf" to load into index.swfmetals_subnav_infinite.swf - loads sub nav "metals_subnav.swf" and scrolls it infinitelymetals_subnav.swf - sub nav with buttons that trigger "folio.swf" (have not created this file yet!) to load into "index.swf"The script I was focusing on is in main_nav.fla and it is:

metals_mc_bn.onRelease = function() {
reActivateMenu();
this.gotoAndStop(3);

[code].....

View 2 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

Link The Buttons On My Flash Bar To Open The Pages Into The Main Frame ?

Nov 16, 2009

I have created a basic flash navigation menu bar for my website. I have added the bar into a frame on my dreamweaver page. I was just wondering if it was possible to link the buttons on my flash bar to open the pages into the main frame below my navigation bar? The code I have at the moment for my "home" button is the following:

master_mc.home_btn.addEventListener(MouseEvent.CLI CK, homeF);
function homeF(e:MouseEvent):void{
var homeL:URLRequest = new URLRequest("C:UsersSalisburyDocumentsProjecti ndex.html");
navigateToURL(homeL,"_blank");

and this is opening the "home" page in a new window. Is it possible to make it open it in my main frame (called mainFrame)?

View 3 Replies

ActionScript 3.0 :: Link To External PDF In External As File?

Oct 20, 2009

I've re done a couple of pages on my website and as a result of the new design have had to change some of the coding from being on the timeline to being in an external as document linked to my fla. This is significant only because I can link to external pdf.zips no problem on the timeline but I can't seem to translate the code to the external file. Can anyone out there help me out with this (hopefully) simply problem?I'm playing with different variations of this below but I'm constantly getting the 1180: Call to a possibly undefined method navigateToURL.

function onEnglishClick(event:MouseEvent):void {
var request:URLRequest = new URLRequest("http://www.bigredcreativeconcepts.com/UB_Flyer_English.pdf.zip");

[code].....

View 1 Replies







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