Buttons To Become Inactive When External Movie Loaded?

Apr 11, 2009

I am working on a portfolio website and I have all my navigation with buttons linking to other pages, on the base level. All the buttons are scattered around the stage and when one of these buttons is clicked an external movie is loaded in the centre of the page.

The movie is a big white box with a slideshow of images from my portfolio in the centre of the stage.

My problem is that the buttons on the base level are easily clicked by accident, even though you cant see them with the white box.[code]...

View 3 Replies


Similar Posts:


IDE :: External SWF Inactive When Loaded For The Second Time?

Sep 30, 2009

I am loading external swf files into my main file to move between different contents.It all works fine with most of the files except with some.The files that work fine have pictures in different frames in the timeline and the navigation buttons within this swf move between this frames to display a very simple slideshow.The files that don't work, I only made one frame, I've made sure it stops there and then I'm only changing the visibility property of the images to view the different pictures.

This files load fine the first time but if I come out of them and come back, they don't seem to load properly the second time.I have tried making sure that the mc_container in the main movie is unloaded each time before loading a new one into it, but that didn't seem to make any difference.the files that don't work are:

Producing / Carnesky's Ghost train
Solo / Film
Solo / Rupture
Artist Collaborations / The Giant Accordion

View 5 Replies

Professional :: Make Buttons Below Inactive/active When A Movie Clip Is Playing?

Dec 31, 2009

I've got an infographic I'm working on, and every time I roll over an image (a ring) the alpha goes up to 100, then I roll out and it goes back to 50. That much I'm good with.

Then, I click on each one of them, and a movie clip (built inside of each ring/button) pops up and plays. Fair enough.
 
I've got a script (ugly, but it works!) that will hide all other buttons while this movie clip is playing. But, when I click to close it, I can't figure out a way to make them reappear. I tried putting visible = true again for all of them, but no dice.

The actionscript for it is right below.

I'm not sure if there's anything I can do to make it modal in AS3 or something like that. Or should I go ahead and set it up in a parent/child kind of way (not too well-versed in that regard.
 
All the buttons to click on are in the same layer and I'm not sure if making them different layers in Flash would make any difference.

stop(); 
ring1926.movie1926.visible = false; 
// add a rollover to make the inside movieclip appear 

[Code].....

View 4 Replies

ActionScript 2.0 :: Loaded An External Movie And Its Buttons Don't Work

Feb 19, 2003

i loaded an external movie and its buttons dont work but when i test the movie by itself the butts work fine

View 3 Replies

ActionScript 2.0 :: Get The Mc To Move But The Buttons Remain Inactive And Also The Rollover States On The Buttons Don't Work

Jul 8, 2005

I am having trouble with a job I am doing at the moment which has an mc with buttons within it. I want it so that when I roll over the mc it tweens from a small version to a larger version, and on this mc there are some buttons. At the moment I can get the mc to move but the buttons remain inactive and also the rollover states on the buttons don't work. I have attached a simpler version of what I am trying to do to this post.

View 3 Replies

Flash :: Loading / Unloading External SWF Using Buttons From Loaded External Files

Feb 23, 2011

I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:

[Code]....

View 1 Replies

Using Popup Window While Keeping Buttons Below Inactive

Oct 30, 2009

how to keep items below my pop-up window (window-component) from remaining active even though my pop-up window is layered above my buttons. I've tried to program my buttons to be inactive but since my buttons are part of an intricate animated navigation system, it seems like a lot of work when there should be an easier fix.

View 7 Replies

ActionScript 2.0 :: Buttons Active/Inactive On Click?

Jan 6, 2011

i have movie clip buttons on main timeline, i want that the buttons should be active (as they are on mouseOver) when click on them, and become back to normal when other button is clicked....

button AS2 is:

Code:
on (rollOver)
{
gotoAndPlay(2);
}

[Code].....

View 2 Replies

AS3 :: Making Button Inactive Once A Particular Image Is Loaded

Jul 25, 2011

I ma having trouble making a button inactive once a particular image is loaded.I have a portfolio section that has images loading in succession with each click of a button (the forward button)i have another button (a backward button that scrolls through the images in reverse in succession wit each click of the backward button, Problem is the button is active even when it scrolls through the images to the first image. I get the following message in the output panel:[code]I want the button to be disabled hen it gets to the first image thus stopping at the first image Or to the able to scroll through the images in reverse indefinitely just like the forward button - able to scroll through the images forward indefinitely.[code]

View 1 Replies

ActionScript 2.0 :: CS3 Rollover Blur Tween For All Inactive Buttons

Mar 13, 2010

how do i create ascripted rollover blur tween for all inactive buttons??

i got this script: "ziel_mc" is the button blurring on rollover. it works!!! but how do i add more than this one mc?? z.b. ziel_mc1, ziel_mc2, etc.

is there any way to add more mcs, separated by commas or anyhow??

Code:

stop()
import flash.filters.BlurFilter;
import mx.transitions.Tween;
import mx.transitions.easing.*;

[Code].....

View 2 Replies

ActionScript 2.0 :: Buttons, Typed Text Become Inactive Using Shared Libraries?

Jan 26, 2011

I'm using AS 2.0 and experimenting. I've got one main movie, with buttons at the top, each button loading a movie into a common movie clip...there are nine buttons/movies in all.Here's my problem. The nine movies have some common elements which seem perfect to put in a shared library. The sharing works, but when I plug the shared elements (either backgrounds or buttons) into the movies:1. Any text typed in Flash disappears (the text is Classic and Static), and;2. The buttons lose their "button" properties. Hyperlinks/AS coding will not work on them. I've made sure the buttons have an instance name. I even tried creating invisible buttons on a layer above the library-linked buttons (having the latter just for show), but strangely, the invisible button, when placed directly above the library-linked button, doesn't work either.

View 1 Replies

ActionScript 3.0 :: Buttons In A Child Movie Won't Work While Loaded In Parent Movie

Jun 25, 2009

I have an external swf (sub.swf) that loads into my main swf. The external swf has buttons of its own...that I would like to use to load additional external swf's in its place. I click on the buttons and nothings happens.

My current code is as follows:

All of the following code is in my main.swf
================================
//Location where the external SWFs will load
var Xpos:Number=18;
var Ypos:Number=10;

[Code]...

External swf has no code except for a stop action.

I pieced this current code based on various articles I've found on the net.

View 4 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 3.0 :: Form And Buttons Within External SWF Not Working When Loaded?

Oct 20, 2010

I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF.

I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with:

processing_mc.visible = false;
// Clear the form fields
first_name_txt.text = "";

[code]....

View 2 Replies

Actionscript 3.0 :: Form And Buttons Within External SWF Not Working When Loaded

Oct 20, 2010

I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:

this.mySWFLoadingClip.addChild(loader);

This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF. I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with, and the problem page is the Guest List page:
[URL]

Below is the code from my Main SWF file and the External SWF file with the form on it:

MAIN SWF:

var Xpos:Number = 0.0;
var Ypos:Number = 192.5;
var swf:MovieClip;

[Code].....

View 5 Replies

ActionScript 3.0 :: Dynamically Loaded External SWF - Cannot Interact With Buttons

Jun 17, 2009

I'm currently having a little trouble in a project where I have the following occuring:
Code:
preloader.swf --- loads 2x --- homepage.swf --- can load --- products.swf

When the products.swf is loaded, the starting animation occurs as expected and is displayed on the screen without an issue. However, I can't interact with any of the buttons contained in the products.swf. The products page works like an overlay over the top, and the homepage.swf contains an background which can be clicked on to close the overlay. If you click on the products.swf it reacts as if the background was clicked, which it shouldnt as the products.swf is located on top of the background.

I have already checked the obvious parts, and am ensuring that products.swf is located at numChildren-1, so nothing is getting in the way. The catch is that everything was working fine when the code was internal to the fla, and now as soon as I moved the code to an external .as file nothing works. I am using the same way of loading the products.swf as I am loading the homepage.swf, which looks like:

Code:
var productsLoader:Loader = new Loader();
productsLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onProductsCompleteHandler);
productsLoader.load(new URLRequest("products.swf"));
onProductsCompleteHandler:
[Code] .....

View 1 Replies

Flex :: Movie Delayed In Inactive Window?

Aug 4, 2011

I often want to run a movie but are only insterested in the debugging output and switch back to my code or to the debugger.I discovered, that the movie framerate is significantly slower in an inactive browser window. This causes e.g. certain async unit tests to fail when run in the Flex UI. So it's not that trivial

View 1 Replies

ActionScript 2.0 :: Assigning A Level For The External Movie(reseller_locations.swf) Loaded To A Movie Clip(clipHolder)?

Jul 25, 2006

assigning a level for the external movie(reseller_locations.swf) loaded to a moivie clip(clipHolder)

code

loadMovie("reseller_locations.swf", this._parent.clipHolder);

View 1 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 :: Unload Movie For External Loaded Movie

Jul 31, 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

[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.

View 5 Replies

ActionScript 3.0 :: Make Mouseover Scroll Buttons Attached To Textarea With External Loaded Text?

Mar 1, 2009

I want to make a dynamic textarea with loaded text from an external textfile, and then I want custom made arrow buttons to start scrolling the loaded text on mouseover (not click) andt stop scrolling on mouseout. Ala like in this webpage[url]...

The part with the loaded text is fine, but I can't manage to script the arrow buttons to do what I've just described. Even though I have searched the Internet for recipes I just find how to scroll loaded text on click or with a scrollbar

View 1 Replies

ActionScript 1/2 :: Buttons To Carry Out Actions On Externally Loaded Movie?

Jan 29, 2007

I have a player which I have created with play/pause, rewind,forward buttons, and a progress bar on it. How can I link these buttons to carry out actions on an externally loaded movie?I have searched on the forum and can only find answers for buttons for embedded movies.

View 4 Replies

Actionscript 3 :: Getting Error #1009: But Buttons Loaded On Movie Load?

Dec 28, 2011

In my 1st frame I have the following action script and it works fine.

cal.addEventListener(MouseEvent.CLICK, function(){gotoAndStop( "cal" )});
trucks.addEventListener(MouseEvent.CLICK, function(){gotoAndStop( "truck" )});
raven.addEventListener(MouseEvent.CLICK, function(){gotoAndStop( "raven" )});
frank.addEventListener(MouseEvent.CLICK, function(){gotoAndStop( "fr" )});

[Code].....

I've posted a lot of code below. It still loads / traces fine on frame 1. On other frames only the last two come up in a trace (though they should all be the same). Then when returning to frame 1 they are all null.

View 1 Replies

ActionScript 2.0 :: Loaded SWF's Buttons Inside Of Movie Clips Don't Work

Feb 9, 2003

I have a movie that loads multiple swf's... Some of these have buttons inside of movie clips, they don't work when the swf is loaded

View 1 Replies

ActionScript 2.0 :: External Loaded Movie Vars

Mar 1, 2004

I've loaded a movie into a movie.the loaded movie is loading dynamicly some pics and text. when a movie is loaded, does everey movie got it's own _root?

View 2 Replies

ActionScript 2.0 :: Drag A Loaded External Movie

Mar 14, 2006

I'm having trouble dragging a window that I loaded an external movie into.The movie loaded is stuck in one spot.

View 4 Replies

ActionScript 2.0 :: {MX} Positioning A Loaded External Movie

May 30, 2003

I have a flash movie that has an internal movie clip, when the various buttons are pressed I want to load a movie in place of this original so I have put this script one of the buttons:

[Code]...

However, the new movie is not positioned in the correct place ie - instead of it being in the same position as the original MC the top left corner is positioned in the middle of the stage.

View 1 Replies

ActionScript 3.0 :: Can't Pause The External Loaded Swf Movie

Aug 25, 2009

i have a movieclip on timeline, and then i addchild ( a container ) to load an external swf movie on it. Then i want to have a button so i can pause the loaded swf movie.

And my problem is, i can access to it, i can change the properties like the alpha, but i can just stop or pause it.

i've been search and testing many script, but i still can make it work it just a simple task right? i can do it quickly with AS2

View 8 Replies

ActionScript 2.0 :: External Loaded Movie Vars?

Mar 1, 2004

I've loaded a movie into a movie.the loaded movie is loading dynamically some pics and text. when a movie is loaded, does everey movie got it's own _root?

View 2 Replies

ActionScript 3.0 :: Load External SWF With Movie Clip Buttons?

Oct 2, 2011

Im trying to load an external SWF on to a parent SWF with AS3... When I'm editing the code I get no errors, but when I test the movie I get this error.[code]...

The file I'm trying to load is called PhotoViewer.swf... But that file physically has nothing on the stage all it has is in the publish settings, at the action script settings in document class it says PhotoViewer, a .as file which I have... Its like a gallery and it uses an XML file... I want to be able to switch back and forth between 2 "Photoviewers" loaded by the buttons, only displaying one at a time. So I wonder if this affects the loading of the SWF or my code is just bad...[code]...

View 1 Replies







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