Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


Advertisements:










ActionScript 2.0 :: Make An Object On Stage Visible Above External Swf?


I have an swf file, in which on (release) simultaneously:

1) another external swf is loading: loadMovieNum ("file.swf",2);

2) hidden before object on stage is appearing: _root.object._visible=true;

All is ok, excluding that the object becomes visible 'under' that external swf. How to put it above the swf instead?


View 6 Replies (Posted: 12-28-2010, 06:17 PM)

Sponsored Links:

Related Forum Messages For Flash category:
ActionScript 3.0 :: Make An Object Visible Off Stage?
I would like to make an object visible off stage. So that the object is floated over the HTML. Any Ideas. I don't seem to be able to do it using Transparent Window in the HTML publish options and think it may only be possible using javascript (layers) but I would much prefer to only use flash so if anyone has a idea I'd love to hear it.

Posted: 07-14-2009, 08:57 AM

View 2 Replies!   View Related
ActionScript 2.0 :: Make A Few Mc's Visible On The Stage With A SetInterval?
I use the following function to make a few mc's visible on the stage with a setInterval.

[Code]...

Posted: February 18th, 2005

View 7 Replies!   View Related
ActionScript 2.0 :: Make Visible The Webcam's Picture On The Stage?
I have problems with webcam streaming in AS2. In AS3 I can make it visible on stage with a Camera.get call and a Video object. Because of some reasons in one of my works I have to use AS2. Can anyone provide me a working code to make visible the webcam's picture on the stage? I use the following code, but it doesn't work:

var cam = Camera.get();
//it's okay I can see the real camera name in the name property
var vid:Video;
vid.attachVideo(cam);
//... and nothing happens on the stage Why?
trace(vid) returns "undefined" Why?

Posted: 08-18-2009, 09:58 PM

View 0 Replies!   View Related
ActionScript 3.0 :: Make Object Visible Only In Certain Frames!
For keeping the actionscript in the first frame; I'm creating buttons only in the first frame that doesn't change; but I want for some of them to be visible only in certain frames! Is there any code for doing that?

Posted: Aug 18, 2011 3:54 AM

View 2 Replies!   View Related
ActionScript 2.0 :: Make Visible Object Invisible At Start?
I have a simple FLA that pans through an image up/down/left/right. There are several hotspots (transparent buttons) that popup simple captions when the user rolls over them and launches a URL when clicked.

The captions are actually one caption that I dynamically write text to, size, and _x, _y locate when the rollover event occurs.

The caption (cap) is a rectangle and text box MC symbol which is grouped with the graphic and buttons as another MC symbol. It all works great, panning, captions.

The problem is, when the mouse is first moved, the caption box appears over the graphic. I want it invisible until a rollover occurs. I have tried a setup function action in the first frame that performs cap._visible = false;, which did not solve it. That syntax works fine following the first rollout.

on (rollOver) {
cap.desc.text = "Mr Reynolds";
cap._width = 7*cap.desc.text.length;

[Code].....

Posted: March 1st, 2010

View 8 Replies!   View Related
ActionScript 3.0 :: Make A Mouse Cursor Visible Over The Other Object?
I creat a custom cursor in Flash.

function inicialGames():void {
cursor = new Cursor;
addChild(cursor);
Mouse.hide();

[code]....

But when add other object whit addchild(); mouse cursor stay under the other object and is not visible,but when I click is work;How i make a mouse cursor visible over the other object;

Posted: February 1st, 2011

View 1 Replies!   View Related
ActionScript 3.0 :: If Btn Clicked Goto Label And Make Object Visible False / True
I have an intropage with two mc buttons that resides in another mc. They are for an English and a Dutch part. So when I click on either one of them, they go to the "Home" label (frame 2). But now at the same time when the main timeline goes to "Home" I want the movieclip container that contains 6 buttons (The English or Dutch ones) to be visible false or true when I click on one or the other. As a part of the code will show some of you there must be an 1119 error that I can't figure out. It has to do with the FrameLabel that is supposedly undifined. [code]If i remove the if statement and just put the visible statement that also gives an error.But maybe the conflict could be that btnTxtFrameN_mc nor btnTxtFrameE_mc exist on the first frame where I wrote the code and only appear as from label "Home" (second frame)

Posted: 01-10-2010, 02:34 AM

View 9 Replies!   View Related
ActionScript 3.0 :: On Click Object Visible Not Visible
I want to click on an object and make it appear and disappear. As the object is rectangular, I figured putting a white button the same size on a white background on a layer underneath the object would do this, but I can't seem to make it happen.I'm a complete novice, frustrated as I've been trying to achieve this all day and I'm sure it should be pretty simple, but could you give me the idiots guide. I know how to name an instance, make an object, script in actions on a separate layer. I would like to draw the button myself and give it an instance rather than drag it off the button component (as I can't work out how to make the component button white, change its size etc.!)

Posted: 08-08-2010, 10:22 PM

View 5 Replies!   View Related
ActionScript 3.0 :: Make A Class Object Interact With An Object On Stage?
The following is that long only because I gave examples of what I want to know, not because it is complex .I have three basic questions regarding AS 3.0 classes.

1. How can I make a class object interact with an object on stage?

For example, when I have a square (mc_Square) with class "square" attached to it and I want it to trace "Colliding!" and print the X and Y of the mc_Box on contact with an on-stage *hollow* box (mc_Box) that has no class attached to it.how to do it vice-versa would also be awesome .

2. How can I make a class object interact with the same class object? For example, when I have two squares (mc_Square) that both have the class "square" attached to it and when they collide, it prints the X and Y of both of them.

3. How can I make a class object interact with a different class object?

For example, when I have two squares mc_Square1 with class "square1 (that also has a variable Primary=true written in it)" and a mc_Square2 with class "square2"; When they collide, the one with Primary=true would be removed and it's X,Y position traced.

Posted: August 2nd, 2010

View 2 Replies!   View Related
ActionScript 3.0 :: Make Stage Follow Object?
How can i make the stage follow a object?

Posted: May 5, 2011 6:24 PM

View 3 Replies!   View Related
ActionScript 3.0 :: Referencing Object On Stage From An External Class?
I have a media player that I am codging together, one that will play either videos or MP3s depending on the variables it is passed. The video player part works fine. The MP3 player controls are all actual physical MCs on the stage; each one has its own AS class file as part of the package, but there is also a lot of AS that is happening in the main FLA as well. Messy, I know, but it mostly works great.

The MC on the stage in the main FLA is properly linked to the class file via Actionscript linkage, and the control itself works. However, I am trying to make some aspects of the control respond to variables that are set within the AS on the timeline of the main FLA, and I cannot seem to pass values to the control no matter what I do.

[Code]....

Posted: 09-06-2011, 03:24 PM

View 2 Replies!   View Related
ActionScript 3.0 :: Make An Object Move Randomly Around The Stage?
i need to make an object move randomly around the stage on the click of a button and then stop the object using a different button

Posted: April 1st, 2009

View 2 Replies!   View Related
ActionScript 3.0 :: Link An Object On The Stage To An External Class File?
I have a dynamic textfield called neighName on my Flash stage. I also have a movieclip that I call a region on my stage. When I mouseover the region, I want a word to display in a little popup *and* I want some text to display in my textfield. I have an external .as file for handling the region. I can make the code "see" my region, but I can't seem to make it see my textfield, although no errors are being thrown.

Posted: Jan 8, 2009 11:27 AM

View 1 Replies!   View Related
Actionscript 3 :: Prevent External Translation Of A Movieclip Object On Stage
I have a MovieClip object, which is exported for actionscript (AS3) in an .swc file.When I place an instance of the clip on the stage without any modifications, it appears in the upper left corner, about half off stage (i.e. only the lower right quadrant of the object is visible). I understand that this is because the clip has a registration point which is not the upper left corner.If you call getBounds() on the movieclip you can get the bounds of the clip (presumably from the "point" that it's aligned on) which looks something like (left: -303, top: -100, right: 303, bottom: 100), you can subtract the left and top values from the clip x and y:[code]matrix has a tx value of 748 (half of stage height) ty value of 426 (Half of stage height)concatenatedMatrix has a tx value of 1699.5 and ty value of 967.75That's also obviously where the movieclip is getting positioned, but why? Where is this additional translation coming from?

Posted: Mar 19 10 at 0:17

View 1 Replies!   View Related
Flash :: Reference Stage Object In External Actionscript Files?
I have an external AS3 class file which is loaded up on the first frame of the Flash movie.

How can I reference the stage object in the AS3 file without having to pass it as a parameter?I mean it seems to me like the stage object is in the global realm - or am I incorrect with this assumption?

Posted: Oct 14 11 at 11:42

View 1 Replies!   View Related
ActionScript 3.0 :: Flash Referencing Object On Stage From An External Class?
I have a media player that I am codging together, one that will play either videos or MP3s depending on the variables it is passed. The video player part works fine. The MP3 player controls are all actual physical MCs on the stage; each one has its own AS class file as part of the package, but there is also a lot of AS that is happening in the main FLA as well. Messy, I know, but it mostly works great.The MC on the stage in the main FLA is properly linked to the class file via Actionscript linkage, and the control itself worksHowever, I am trying to make some aspects of the control respond to variables that are set within the AS on the timeline of the main FLA, and I cannot seem to pass values to the control no matter what I do.The following variable is set in the main AS:Code:var notPlayedYet:Boolean = true;I also have some flashVars being passed in from the html, and these I can reference with no trouble from the main AS - the relevant one is:


Posted: September 6th, 2011

View 1 Replies!   View Related
Actionscript 3 :: Make Static Method Act Over Object Of Its Class That Is Already On Stage
Is there a way to make an static method act over an object of its class that is already on the stage, without using the keyword "this"? I mean, like "generic object of this class: do what I'm telling you to do, wathever your instance name".My goal is to create an method that get called by any object of this class, based on the changing on the value of an external variable, but since I cannot use the "this" keyword to reffer to each instance, I could not figure out a solution.

Posted: May 13 11 at 13:51

View 1 Replies!   View Related
ActionScript 2.0 :: CS3 : Make A Combination Of Keys Make A Movie Clip Visible?
How can i make a combination of keys make a movie clip visible? Basically i want something like this to work:

if(Key.isDown(Key.Alt && Key.A)){
reminder._visible = true;
}

So when someone presses the Alt and A keys down at the same time the 'reminder' mc becomes visible?

Posted: 08-11-2009, 01:07 PM

View 2 Replies!   View Related
Actionscript 3.0 :: Make An Object Grow And Move To A Different Section Of The Stage When Click On It?
I have a mini-project where I want to make an object grow and move to a different section of the stage when I click on it. I know how to do this part, but what I want is for it to "move" there as if it were a tween, but I want to do it with code instead of with the timeline. I want it to function exactly as it does now, but with a motion tween. I also do NOT want it to jump back to the beginning when another button is clicked, but rather play from where it is. I've also attached the FLA with this.

Code: Select alllearn.addEventListener(MouseEvent.CLICK, learnClick);
learn.buttonMode=true;
act.addEventListener(MouseEvent.CLICK, actClick);

[code]....

Posted: Tue May 26, 2009 7:46 am

View 1 Replies!   View Related
ActionScript 3.0 :: Set The Stage As Not Visible?
I had a question if there is a way to set the stage as not visible? Meaning the .swf stage is transperent and takes the properties of the bg image of the bg of the page its laid on? I'm trying to steer away from just using flash for the site and using a mixture of flash elements in a css site but I can't seem to get the stage to be transparent.

Posted: Oct 6, 2009 9:55 PM

View 1 Replies!   View Related
Artwork Visible Outside Of Stage?
I am close to finishing my animation and for starters one scene is lagging a lot and the artwork is visible outside of the stage dimensions. is this normal?

Posted: Sat Dec 18, 2010 7:36 am

View 1 Replies!   View Related
ActionScript 3.0 :: Movieclip Not Visible On Stage?
I 'm created a movieclip with an image but it won't show on stage.

This is my code:
var btn_groep:MovieClip = new MovieClip();
var i = new Loader();
i.load(new URLRequest("images/btn_groep.jpg"));

[Code].....

Posted: 10-16-2010, 10:32 AM

View 1 Replies!   View Related
ActionScript 2.0 :: Only One MovieClip Visible On Stage
I have 5 mc on stage. Each mc is visible false. I want only 1 mc appear on stage each time. For example mc 1,2,3,4,5. If 5 appear the rest are invisible. If 3 appear the others are not seen.

Posted: February 26th, 2010

View 4 Replies!   View Related
Flash :: MovieClip Is Not Visible At Stage, However It Exits?
My Flash file contains a movie-clip(Box1) that is exported for Action-script but it is not exported to Frame 1 in Linkage Dialog Box. Box1 has been put on frame-40 and the object is accessible in document Class but is not added to stage. However when it reaches to Frame 40, the object at Frame 40 get visible. My question is where is boxObj??

[Code]...

Posted: Oct 20 10 at 11:08

View 1 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved