ActionScript 2.0 :: Movieclip Blocking Buttons On Externally Loaded Swf?

Dec 14, 2009

Im designing a site with accessible controls, and the best way for me to do this is load each external swf into a container movieclip that then has all the controls applied to it.This container movie then also has another layer above with a movieclip on top of that acting as a filter layer to invert the colours. This is controlled by a keyboard press.Now when I run my project with this filter layer movieclip it prevents me from mouse clicking on any of the buttons in the externally loaded swf, without it they work fine.Is there any way that I can get through this movieclip so I can mouse click / rollover those buttons?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Accessing Buttons On Externally Loaded SWF

Feb 22, 2012

I have loaded an external swf into loaderTopBanner. It works to manipulate that, but not the individual buttons within it. (e.g. btn_Home, btn_Info)
loaderTopBanner.btn_Home.alpha = 0;

View 2 Replies

ActionScript 2.0 :: Externally Loaded Swf Slows Rollover Buttons?

Mar 30, 2006

I beginning to create a portfolio online. I have a pretty standard setup so far. I have a main swf which loads external swfs. One of my externally loaded swfs loads another external swf. When it does, my rollover animated buttons are slow in the main.swf.

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 :: Move The Externally Loaded Content Of A MovieClip To Another MovieClip?

Jul 25, 2011

I load an image into a MovieClip. At a second time I want to move this image to another MovieClip.

View 1 Replies

Actionscript 3 :: Dynamically Created Buttons Are Not Working Externally Loaded Swf Files?

Aug 4, 2010

i have a swf file which is a framework file done in puremvc and i m loading multiple swf files. one of the swf file loaded into the main swf file loads multiple sub swf files in it. works fine but in the loaded swf file which loads multiple swf files in it.. button dosent work at all. i m not able to click on any button. i m jst making a tree structure so can be easily understood..

container swf -> external swf -> miniSwf file and in miniSwf dynamic button are not clickable but they have all the Mouse eventListeners.

View 1 Replies

ActionScript 3.0 :: Can Buttons/assets Be Loaded Externally And Referencing Dynamic Content By Name

Jul 30, 2009

I have a widget containing a number of displayobjects, i.e. up arrows, down arrows, tab 'buttons', backgroundrectangularblocks, sliders, company logos etc.I am currently creating these displayobjects using the graphics class with parameters taken from an external file, things such as fontsize, font, colour, width, height e.t.c and adding them as children of "container" sprite objects for easy manipulation and referencing later can these assets be loaded in their entirety externally, rather than being created using graphics class draw methods (which I want to avoid) as some of the things I need to design cannot be created in pure actionscript very easily (if at all?), and then used or do they always have to be in the library and instantiated from there?

if the first question is yes they can be loaded externally, this question probably isn't needed; however, if I have to put the items in the library and recompile each time a client wants to use say a curved blue up arrow instead of a yellow one and then decides he wants a yellow circle instead then how do I write the code to do the following:-Say on my first ever compile I have 'upArrowBtnset1' in the library, I instantiate it and use the instance name to access it in the usual way using standard code,

upArrowBtnset1.addEventListener.... container.upArrowBtnset1.scaleY = .3 e.t.c

Now if they send me a second set of 'upArrow' graphics they want to use I could either update all the upArrowBtnset1 assets with the new graphics meaning the original set is no longer available to the client and I would either have to hold a "original set" FLA file with the first set of arrowbuttons or I could import these to the library as upArrowBtnset2 and a third set they send as upArrowBtnset3 and so on each time I am sent some new assets; I would then recompile them into the SWF and adjust the references to the new assets within the code. In the code, for each instance of "upArrowBtnset1" I would have to rename them to "upArrowBtnset2", recompile and send it back to the client.

Because I have already abstracted the font/colour/size choices out to an external file, they can change that as much as they like without a recompile which is what we want. The problem comes if they want to use set1 again and haven't kept the original "set 1" compiled SWF. It would be easier to abstract the 'setchoice' also to the external file. The SWF would over time build more and more available sets that they could use by just changing an external variable.

For example, if the designer wants to use set 1 on Monday, set 2 on Tuesday and set 3 on Wednesday I want to make it so they can just adjust an option in an external file to "setchoice = 3" for weds instead of either having to recompile the swf each time or they have to have 3 versions of the SWF for each asset set. The idea is that as more and more assets are added in, they have more and more choices. Ideally, in an external file there would be a list of assets and links to where they are loaded from. (i.e question 1 above).

If I have an external file (say XML) which holds the setchoice option that the designer wants to use (say they want set3 today) my 'generic' code has to be something like upArrowBtn(setchoice).scaleY and every instance in the code where that object is used I append the 'setchoice' as chosen by the designer from the external file where (setchoice) is retrieved from something like var setchoice:String = "set3"; from the external file (I am currently abstracting all the adjustable variables to a configuration.as file. I will work on using an XML later when the principle of external files works (I hope!);

Is it possible to import assets from external sources and then use them in the SWF as if they were in the library? The loader class? Is this just fraught with danger I wonder.

Essentially I am being asked to remove as much as I can from the SWF so that if the client wants to change the positioning of things on the stage or the text on buttons or change the style of the buttons or the company logo they don't have to come back to us to ask for a recompile of the SWF for each tiny adjustment. Inevitably SOMETIMES a recompile will be unavoidable (such as if they want the widget to suddenly be twice as wide (i.e. the stage). My code already handles some of this using stage.stageWidth and then positioning objects relative to other objects already on the stage using this value and centred so that just changing the document properties is all I would have to do and everything else adjusts proportionally. I am trying to make this as reusable as possible with as little effort from myself as possible to save our company wasted time.

After all that waffle, my question is this, if I can't load all my buttons and assets and things externally, how do I write the code for this:- I have a library asset called upArrowBtnset1 and another called upArrowBtnset2. Instantiated with say upArrowButtonset1 and upArrowButtonset2 The code would normally be upArrowButtonSet1.x = 100; upArrowButtonSet2.y = 300; but I need it to be upArrowButton(setchoice).x = 100; upArrowButtonSet2(setchoice).y = 300; where (setchoice) comes externally from var setchoice:String = "set1";How does the code change if the (setchoice) string was named not at the end i.e 'button(setchoice)UpArrow'?

ActionScript Code:
var numClips:Number = 5;
for (var i:Number = 0; i < numClips; i++)

[code]....

I need to do something like, getChildByName("mainTab"+i).addChild(myMovieClip) ? or maybe this["mainTab"+i].addChild(MovieClip)?Is it possible without using .name?

View 0 Replies

ActionScript 2.0 :: Duplicate An Externally Loaded Movieclip?

Aug 4, 2009

I need to make multiple copies of a movieclip that I'm loading in via loadclip. I don't want to have to loadclip each time I need a new copy?

View 1 Replies

ActionScript 3.0 :: Acess Movieclip Of An Externally Loaded Swf?

Jul 1, 2009

I am loading a swf file into a flash application. I want to access some movieclips in the externally loadd swf from my main aplication. How can I do this?

View 3 Replies

ActionScript 3.0 :: Externally Loaded Swf Content Is Not A MovieClip?

Mar 3, 2011

I have multiple SWFs published with Flash CS5, all of them seemed to work fine and I could load them at runtime from another SWF and access the the loader.content as a MovieCLip and therefore access the children of those SWFs.

But now I've created a new SWF and the loader.content type is .MainTimeline__Preloader__ instead of MovieClip on this particular swf! So I get the reference error 1069 property not found when I load and try to access children in this SWF.

View 4 Replies

ActionScript 3.0 :: Get Externally Loaded SWF To Act As Movieclip From External Class?

Jan 21, 2009

I have a problem - when I load a swf and I want to be able to add event listeners to propertys on it I use the code

ActionScript Code:
var headerMovie = MovieClip(loader.content);

Which works fine but what I've have created now is a class to load external SWF's and add them saving me to repeat that code, which works fine for loading the swf but as for the part where I get it to convert to MovieClip (which is what I assume that bit of code does) I'm out of Idea's.here is the class so far - the error it gives is that it cannot acces the property mloader, I've even declared it outside of the function but to no avail.

ActionScript Code:
package {
public class PreLoaderSwf3 extends MovieClip  {
var myTween:Tween;

[code]...

View 5 Replies

ActionScript 2.0 :: Access Or Attach A Movieclip Of Externally Loaded Swf?

Dec 28, 2006

I'm doing a flash site and it is now in it's critical stage. I have a main movie where i have links to different different sections wich have been loaded usind loadMovie concept. Now i have one requiremnt to access to attach a movieclip from a externally loaded .swf . My problem also will be solved if i can access a purticular scene of a external swf or purticular frame( level) of the loaded .swf.

Note: I want to jump to a purticular frame of one externally loaded movie when i click on button in the _root movie.

View 6 Replies

ActionScript 2.0 :: "attaching" A Custom Context Menu On The 'picture' Movieclip (empty Movieclip That Holds Externally Loaded Pics)

May 5, 2006

I tried "attaching" a custom context menu on the 'picture' movieclip (empty movieclip that holds externally loaded pics) but with no luck.

View 1 Replies

ActionScript 3.0 :: Control Of Externally Loaded Child Movieclip Timeline From Parent?

Mar 3, 2009

I have a basic xml driven portfolio. The xml file holds the path to the portfolio pieces (external .swfs). I have a main navigation that moves from project to project and a subnavigation to view individual pages of that project.The subnav is where I have the problem, I simply want to call gotoAndPlay("framelabel") of the designated mc. It seems that you can no longer call to the timeline of child movieclips as you could with AS 2. I've found some examples Except the examples discuss access of nested movieclips on the stage with assigned instance names. But the problem I'm facing is that I have each item pulled in via the loader Class then the objects are pushed into an array and my subnav needs to access them dynamically via array notation.something like this:

PHP Code:
public function loadMe(){
//var l:Loader = new Loader();

[code].....

View 12 Replies

Professional :: TextFields Are Blocking Buttons?

Mar 20, 2010

I've been creating a calculator as part of an assignment. I've created button instances in actionscript and then putting a text field over it. The problem is the text field blocks my button so it is difficult to press.exaple code:

var equals_btn:equals = new equals();equals_btn.x = 247;equals_btn.y = 369.9;equals_btn.width = 115;equals_btn.height = 45;this.addChild(equals_btn);
var equalText = new TextField();equalText.x = 276.1;equalText.y = 349.9;equalText.width =

[code]......

View 5 Replies

ActionScript 2.0 :: Blocking Buttons On Level 0?

Jun 9, 2008

made a site with several buttons that load other .swf on level 1 which cover the entire stage, but the buttons that are on level 0 can still be clicked on. Is there anyway to block these buttons while the level 1 .swf is playing

View 1 Replies

Professional :: Why Is Invisible Content Blocking Buttons

Nov 20, 2011

I don't know if it's an AS3 thing, or a Flash 10 thing, both of which I don't work in frequently..... (usually, I'm working in Flash 8, and AS2 for most of my projects)
 
Basically, when I have invisible content over a button in my flash movie, the button no longer works. Like I said, it's something that's never been an issue before.
 
Where it shows up is when I want to make a piece of content visible over a button when the user mouses over the button, so the piece of content would start over the button with its alpha set to 0. I would typically change the visibility of the object I want to make visible when the button is rolled over. But now when that object is over my button at 0 opacity, the button no longer works....and again, I've never had this be an issue before.

View 12 Replies

ActionScript 2.0 :: Blocking Mouseovers And Buttons In MovieClips

Jan 6, 2011

I would like to block mouse overs/buttons beneath a movieclip that has played. This should be straightforward by creating a new layer and inserting a string, however, these techniques haven't worked for me and one of my questions here is, "Are these solutions not working because my movieclips play from external swfs in a container?" Either way, I'm up for hearing any solutions you may have and trying them out even if I've tried them before.

Secondly, I would like to create a "back button" which excutes from my movieclip and unloads all movieclips. I need it to return to my main menu. Unfortunately, I've tried buttons which include the command unloadMovieClip and that seems to prevent all movieclips from playing again. This could have something to do with what I mentioned above - all of my movieclips are called from external swfs into a container.

The least important of these (since I need the first two things to work before I do this detail) is... if one of my buttons is pushed starting a movie clip and the user then pushes another button that also starts a movie clip before the first clip has finished playing, How do I interrupt the first movieclip so the second can begin playing? Currently, my movieclips will play through until the end before they will respond to a new clip being loaded.

View 1 Replies

IDE :: MouseEnabled False And Text Still Blocking Buttons

Sep 23, 2008

Can I shrink the textfield down to the width of the text without squeezing it?
Code:
public function Notification(Message:String) {
notificationText.text = Message;
notificationText.mouseEnabled = false;
}}

View 2 Replies

ActionScript 3.0 :: Cant Use Underneath Buttons Because LAYER1 Button Is Blocking Their Functionality

Oct 28, 2010

lets just say in simple words that i hve on a layer(lets say LAYER1) a button that on rollover moves an other set of buttons which are on an other layer underneath the first layer(LAYER1).the problem is that i cant use the underneath buttons because the LAYER1 button is blocking their functionality

View 3 Replies

Professional :: MovieClip Is Blocking My Button

Dec 14, 2010

I have various buttons on stage that will initiate a popup box upon hover. But some of the pop up boxes are too big and covers some buttons which disables the button.Is there anyway around this? Logically, when a button isn't hovered, its popup box shouldn't cover what's underneath it. I have tried moving the layers around, although this works, but now the buttons are on top of the pop-up boxes which is no good.

View 3 Replies

ActionScript 2.0 :: Preloading Flashvars - Ensure That All The Content Being Loaded Externally Is Loaded Before The Transition Plays?

Aug 30, 2005

I am in the process of building a site for an Architect... Jamie Fobert Architects (projects) I am useing transitions between the projects and am loading details/text and images externally through flashvars, php and a mySQL database. Within my transitions I have a a preloader on the forst 2 frames the code is as follows (taken from a Voetsjoeba tutorial):

[Code]....

This works pretty well if the content is within the .swf, but when it is loaded externally it doesnt preload it at all. Does anyone know how I can adapt/improve this preloader? or somehow ensure that all the content being loaded externally is loaded before the transition plays?

View 2 Replies

ActionScript 2.0 :: Externally Loaded Swf Does Not Stay Loaded?

Feb 16, 2006

I am loading an externally loaded swf that uses a mask to transition in. When the user clicks a different button I am doing a gotoAndPlay that goes to a mask that "unloads" the content (it doesnt actually unload the info is just outside of the mask area. As soon As I jump to that section the movie is no longer loaded and just shows the container clip that I had created for it. The Container Clip is never changed and is the same throughout the whole process. The only thing that changes is the mask animation.I have tried both loadClip and loadMovie but no luck on keeping the clip loaded.

EDIT - I have narrowed it down. When I change the mask movieclip the movie unloads for some reason. Is there a way I can keep it loaded?

View 2 Replies

Actionscript 3 :: Stopping An Externally Loaded Swf From "playing" When Another External Swf Is Loaded?

Nov 8, 2011

I have a homepage with five "links" to each swf. Now the first swf I have a custom cursor that hides the mouse. When I click on that link it plays and when I quickly go to the homepage again it hides the mouse there when it's not supposed to do it.

Same with every other link. When I was busy with the first swf and want to go to the last swf of the five, my mouse just disappears! It is almost as if it keeps on "playing" without seeing the swf...

Here is the code that I have so far!

var currentpage:uint = 0;
//one loader object per project:
var loadingobject1:Loader = new Loader();
loadingobject1.x = 445;

[Code]....

View 1 Replies

Resizing Externally Loaded SWF?

Dec 23, 2009

i'm having some "big" issues with what seems like a pretty easy flash concept. But, im pretty green when it comes to coding in flash.

I have a SWF thats being externally loaded into another SWF file (see code below):

on(release) {
loadMovie("test1.swf",_root.dropZone);
}

(If i'm understanding the above code correctly...its loading the SWF into a blank MC i created called dropZone) This part seems to work correctly when tested.

I've got 4 different SWF's that need to be loaded seperatley when its coresponding button is clicked. The issue arises when I import the external SWF file...it resizes itself to the size of the flash stage. I need all the SWFs to be loaded and remain there original size (1257x847) or be scaled to the correct size. Then if I click another button it should load the new SWF and "unload" the old SWF.

View 3 Replies

Loader For Externally Loaded SWF?

Dec 2, 2009

if a loader can be added to let the user know the video is being loaded rather than a blank 20-30 seconds...

View 18 Replies

Xml :: Order Of Externally Loaded Swf?

Feb 10, 2010

I'm loading swf's via an XML file. I'm wanting them to be added onto the stage in the same order that they appear in the XML. The problem that I'm having is that they are added to the stage only when they are fully loaded.

This is my xml (_config.xml)

<campaign>
<component SWFsource="logo.swf"/>
<component SWFsource="gallery.swf"/>

[code].....

View 3 Replies

IDE :: Loader For Externally Loaded SWF?

Dec 2, 2009

I have a fairly chunky swf that I am loading through the loadMovie function. Just wondering if a loader can be added to let the user know the video is being loaded rather than a blank 20-30 seconds...

View 1 Replies

ActionScript 3.0 :: Remove .flv From Externally Loaded .swf?

Aug 7, 2009

With the assistance of a very kind member of this forum, I have got as far as getting an .FLV to load into my API via its own .SWF.

[URL]

click on "Animalia - Verse from the Zoo" to load the VideoPlayer .swf which contains the .FLV

I will add more functionality when I've solved this. Now that I have a Video Player which closes, the next set of hurdles to overcome are these:

Click "Close" with the .FLV playing and the sound keeps playing because the .FLV is still playing. Click "Close" with the .FLV paused and when you call the player back, it plays from the same spot. So, my tiny brain says it's an "add/removeChild" issue. Obviously when happy user clicks "Close" and then re-loads by clicking "Animalia", happy user wants the video to play from scratch. That's what I want, anyway. Not from where it left off after clicking "Close". I've made several attempts at adding a "remove FLV" object to the function and Event Dispatch method, but what I did is wrong because the code I put in removed the .FLV permanently and when you call the player back by clicking on "Animalia", the .FLV does not play at all. I'm going round in circles looking for the correct NetStream/removeChild/unload.nsplay/etc/etc .. AS3 coding and where to put it.

My .FLV video load object on "NewPlayer.swf" is:

var myVideo:Video = new Video(360, 264);
addChild(myVideo);
var nc:NetConnection = new NetConnection();

[Code].....

My questions is:- What is the correct coding to get the VideoPlayer .swf to unload its .FLV completely, SO THAT when a user clicks "Close". Either with or without the .FLV playing, everything closes completely and when re-loaded, the video plays from scratch?

View 2 Replies

ActionScript 2.0 :: Pause Externally Loaded Flv?

Sep 16, 2009

I am externally loading an flv into an empty movie clip container using loadMovie into a main swf. The flv is in a standard flv playback component and works fine on its own. But what I'd like to be able to do is pause the flv when any of the buttons in the main swf are pressed.

View 7 Replies







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