ActionScript 3.0 :: Keep Object1 Visually Ontop Of Object2 And Object3?
Dec 26, 2008is there a way were I can keep object1 visually ontop of object2 and object3 ,if object 2 and 3 are constantly by removed and added to the stage?
View 5 Repliesis there a way were I can keep object1 visually ontop of object2 and object3 ,if object 2 and 3 are constantly by removed and added to the stage?
View 5 RepliesI have two objects: object1 and object2. Object1 needs to be invisible when someone opens the card. As soon as the person moves the cursor on object2, object1 needs to become visible. When the person moves the cursor away from object2, object1 needs to become invisible again.I don't know how I can make this happen. The things I've tried so far don't seem to work.This is the code I have at the moment.
Code:
//When the cursor is on object2, object1 gets visible
object2.addEventListener(MouseEvent.MOUSE_OVER, visible)
[code]......
With Flash, is it possible to detect whether an object is fully ontop of another ?E.g. I have a rectangle (floor surface) and a circle (furniture).
Now I want to detect whether the circle is fully in (=over) the rectangle, and not just whether it hits the rectangle somewhere.
whenever i duplicate this movie clipthe duplicated movie clip goes ontop of everything elsehow do i duplicate it in a manner that prevents it from sittingon top of everything else in my screen?
View 2 RepliesI've been struggling to get some absolutely positioned overlays to show above an flv movie(using flowplayer) in the firefox browser(works in safari)I have the overlays div placed underneath the video html "wrapper" and have tried using a high z-index on the overlays but to no avail. Is there anything i may be doing wrong? Or another trick i could try?
View 2 RepliesI have an empty MC. I want to draw lines that show on top of an image, but everything I try draws the lines below my image.This code is ran from the main timeline.This is my code so far.
Code:
_root.attachMovie("Audiogram_Chart","Show_Audiogram",100000); //this is my MC that will hold the graphics
_root.Show_Audiogram.attachMovie("Audiogram_Chart_Pic","Audiogram_Chart_Pic1",0); //this is a graphic with linkage
_root.Show_Audiogram._x=200;
_root.Show_Audiogram._y=200;
[code].....
I have a graph drawn :
Code:
var canvas = _root.createEmptyMovieClip('example', 2);
How do I get a movie clip myIndicator_mc to appear ontop of that? I thought there was a z index as in x:width, y:height, z : levels
Basically, I have a DIV, which I've set to z-index: 100. I have an iframe which I set to z-index: 0. My 100 div is ontop of the frame on a normal webpage, but I have to load a flash page in the frame. Unfortunately the flash in the frame shows overtop of my 100 DIV. I can't set the z-index of the flash object because I don't control that webpage!
View 1 RepliesIs there web page (Adobe or other) that visually shows all the available Flex UI components? (similar to Java Swing's A Visual Guide to Swing Components)
View 1 RepliesI have some class that I created visually in Flash Professional CS5 by transferring drawn result into a MovieClip and extorting symbol into AS code. Now, I want to add some properties to the class. To be more specific, I've created Ball class and want to add to it variables that will represent vertical and horizontal speeds. How can I edit the class in order to do it? Also, when I wanted to add some visible external element to the class, at first I decided to add MovieClip property in the code itself, but then recalled method .addChild() that worked perfectly for me. Now, I can't do the same with non-visible properties. So, what is the difference between adding visible elements using .addChild() and adding them in the code itself?
View 3 RepliesI can't decide what i want to use. I've made an admin page using flex adding FAQS to a database plus some other little options.but for the user i want a FAQS search app. I initially thought i would use flex, but i've come to the conclusion Flex is only quick when using the built in components. To me flash would be easier to create an app where i could control how things will visually appear.For example in Flex would it be just as easy in flash if I were to NOT use "lists" and "datagrids?" What if i want to have a "skinless" expand and collapse type menu?
View 14 RepliesBasically I was instructed to put this code into my main timeline:
function completedPuzzleCheck(){ // add this to your main timeline
if(!numCompleted){
numCompleted=1;
} else {
numCompleted++;
[Code] .....
It all works great but the issue (on a couple puzzles like this) is that a person could move one piece 8 times into the same correct position and the "Great Job" message will pop up although the puzzle is visually incomplete.
My overall project is to create a gallery app (sort of like the mac album browser app) Anyway, all images are loaded from an xml file:
Code:
<imageSet>
<image>[code]....
The reassignment of the _x and _y are visually changed, but for some reason it is towards the bottom and not the middle like it should be. (1000x400px document). Something is up with the component...
I have a software project, which involves complex process and calculation. Rather than writing it's logic and business flow in a document, i want it to be explained in some sort of animation visually, which would be easier for some one new to my project.
View 1 Repliesdoes anyone have an idea how can i do it? i have loads of text in flash that i want to be narrated for people with poor vision for a project..how do i proceed? the texts are in textArea's btw.
View 3 RepliesI want to create music Visualization in flash by reading the musicXML file.Is there some sort of a class that reads it? or a help guide to understand the musicXML structure and how to use it in order to visualize its music?
View 1 RepliesI have this code in a class:
Code: Select allpackage com.jhoyt{
import flash.net.URLRequest;
import flash.events.*;[code]....
and I have this code on the timeline of the movie its being loaded into:
Code: Select allimport com.jhoyt.SSIlaunch;
var ssi:SSIlaunch = new SSIlaunch();
addChild(ssi);
I know its loading because I can put trace actions into the addAndPoint function and it gets called. what can I do to make it display?
I have this code in a class:
[Code]...
I know its loading because I can put trace actions into the addAndPoint function and it gets called. what can I do to make it display?
Can i embed two flash videos ontop each other, if how do i go about doing that. is it just a matter of indexing them or what.
View 3 Replies