Send To Back
Hi all,
is there anyway to send an item to the back of others... i cant seem to find this option anywhere... prob coz i'm new to this game !!
thanks for any help tyrone
FlashKit > Flash Help > Flash MX
Posted on: 01-11-2004, 04:40 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Send To BACK #
Hi, im having problems with a painting game that im making for my baby sister.. the problem is that when i draw everything comes out fine but you can draw over anything like the buttons, the bin and even my own cursor goes under what ive drew.
Is there a way that i can send what i draw behind everything else ?
Thanks for your help
Heres the .fla file.
Send To Back
How can I move the vibrating circles to the back so it does not cover the menu bar See HERE
Send To Back
How can I move the vibrating circles to the back so it does not cover the menu bar See HERE
How To Send Data Back To ASP
Hi,
how do we send data back from an input text on flash movie to ASP? i tried using
loadvariables("myasp.asp",,"GET") now in my asp how do i retreive the values of these vars. can I haveteh same ASP taht loads teh variables from teh database to flash accept teh values from flash to update teh database??
if anyone knows about this, pls help!! i get "undefined" in teh ASP page for teh variable values....
thanks,
shilps
Send Movie Back And Forth?
Is it possible to make an actionscript so when you hit one button a movieclip is being "bring to front" and another button tells the movie clip to "send to back" ?
[CS3] Send To Back And Add Timings
hi below is my code
it crossfades coloured squares, but they appear on the top layer when i need them to be the back layer, could someone show me what code would send it backwards?
also instead of the on click event id just like them to play automatically
thanks
Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
var shp1:Shape = new Shape();
var shp2:Shape = new Shape();
var shp3:Shape = new Shape();
shp1.graphics.beginFill(0x0099FF);
shp1.graphics.drawRect(400,0,400,400);
shp1.graphics.endFill();
shp2.graphics.beginFill(0x00FF00);
shp2.graphics.drawRect(400,0,400,400);
shp2.graphics.endFill();
shp3.graphics.beginFill(0xCC0000);
shp3.graphics.drawRect(400,0,400,400);
shp3.graphics.endFill();
shp1.alpha = 0;
addChild(shp1);
addChild(shp2);
addChild(shp3);
stage.addEventListener(MouseEvent.CLICK, clicked);
function crossfade(e:Event):void
{
var start:int = int(shp1.alpha > 0.5);
var fin:int = int(!start);
var tween1:Tween = new Tween(shp1, "alpha", None.easeNone, start, fin, 1, true);
var tween2:Tween = new Tween(shp2, "alpha", None.easeNone, fin, start, 1, true);
var tween3:Tween = new Tween(shp3, "alpha", None.easeNone, start, fin, 1, true);
}
Duping (send To Back)
When i duplicate a movie clip it always seems to come to the front and get in the way, is there a code to send it to the back, even when you dupe it. thanks in advance.
Can't Send Movieclip To Back
Hi
My problem:
I've got some movieclips where everytime when you click on one, that movieclip has to be send to the back.
Most logic solution is MovieClip.swapDepth(1), so you swap with the movie wich is at the lowest depth, but for one reason or another, this results in the movieclip jumping to the front.
Please can someone help me!
An examplefile is in attachment.
this is my script:
mc1.onRelease = function() {
mc1.swapDepths(1);
};
mc2.onRelease = function() {
mc2.swapDepths(1);
};
mc3.onRelease = function() {
mc3.swapDepths(1);
};
Send Back An Emptymovieclip
hey yo guys! as always let me thank you for all your help in advance!! you always help me a lot!! and i hope someone can help me with this also...
here is my problem. i have a flash secction in html site.. in this flash section should go the navagation menu and also like a photo gallery.. i already have the menu and this menu is kinda transparent so the loaded photos swfs should load back of this menu... im trying to do this using the following code:
HTML Code:
stop()
_root.createEmptyMovieClip("container",1);
loadMovie("pic2.swf", "container");
container._x = 0.0;
container._y = 0.0
the problem is tha the pic2.swf is loading in front of the menu. does anybody know who should i make this swf file loads in tha back of all.????
i'll really appreciate your help!!
thnx and regards!
gallo.
gogazilla@hotmail.com
Send To Back And Add Timings
hi below is my code
it crossfades coloured squares, but they appear on the top layer when i need them to be the back layer, could someone show me what code would send it backwards?
also instead of the on click event id just like them to play automatically
thanks
Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
var shp1:Shape = new Shape();
var shp2:Shape = new Shape();
var shp3:Shape = new Shape();
shp1.graphics.beginFill(0x0099FF);
shp1.graphics.drawRect(400,0,400,400);
shp1.graphics.endFill();
shp2.graphics.beginFill(0x00FF00);
shp2.graphics.drawRect(400,0,400,400);
shp2.graphics.endFill();
shp3.graphics.beginFill(0xCC0000);
shp3.graphics.drawRect(400,0,400,400);
shp3.graphics.endFill();
shp1.alpha = 0;
addChild(shp1);
addChild(shp2);
addChild(shp3);
stage.addEventListener(MouseEvent.CLICK, clicked);
function crossfade(e:Event):void
{
var start:int = int(shp1.alpha > 0.5);
var fin:int = int(!start);
var tween1:Tween = new Tween(shp1, "alpha", None.easeNone, start, fin, 1, true);
var tween2:Tween = new Tween(shp2, "alpha", None.easeNone, fin, start, 1, true);
var tween3:Tween = new Tween(shp3, "alpha", None.easeNone, start, fin, 1, true);
}
On Release Send To Back Or Go To Layer...?
Is it possible to "on release" either send an item to another layer, or if not, to send an item to the back of the layer it is on? For example, if I have a house with windows, and I want to drag people on the outside of the house over the house, and then upon release they go inside the house (underneath the house layer), but still show through the windows. Hopefully this question makes sense.
Bring To Front /send To Back
Hi Chaps,
I'm confused, i've never encountered this problem before...
I've developed a website and on the home page there is a series of hyperlinks which are images created in Fireworks. Some of these hyperlinks display a popup menu of further links on mousemover. Immediately below the hyperlinks is a small flash movie.
The problem is, when you mouseover the links and it displays the popup links, the flash movie appears OVER the popup links.
Is there a way I can either send the flash movie to the back using some kind of 'send to back' option like there is in dreamweaver? Surely I don't have to restructure my page to allow for this?
Help!
[F9] Actionscript For Buttons (send To Back)
ok, so i have 7 buttons in a row, and when i rollover one, it works perfect, but since my "over" state is a full color change on the background, the other 6 buttons are on top of my "over" state...is there a script i can use, so when i rollover one button it tells the other 6 to be send to the back??
CS3: AS2: Send Back To Previous Depth
I've got a bunch of movieclips lying on top of each other like a stack. When you click one, it slides out, and comes forward. When clciked again it goes back and slides back into the stack.
inside the movieclips iv'e placed:
Code:
this.swapDepths(1);
along the timeline at a spcific frame.
I need to make it get the same depth value as it had before I clicked it when it goes back. Basicly:
Code:
this.swapDepths(same-as-before-the-swap-to-depth-1);
I guess I need som kind og listener to logg the changes made...
But I don't know how to write it.
Amfphp : Send Back An Array To Php
Hello,
I use an AMFPHP class with two read and one write method.
This write method works when I send to it each record one by on through a loop of multiple variables but ideally it should receive all records in once through a two dim array. I tried many syntax but each failed !
Any idea ?
I wrote my PHP class as following:
class MyClass{
...
function MyClass(){
$this->methodTable=array(
...
"updateAllTown"=>array(
"description"=>"save code for each town",
"access"=>"remote",
"arguments" =>array("townlist")
...
}
...and my write method ...
function updateAllTown($townlist){
for (i=0;i<3;i++){
$query="UPDATE TownTable SET townCode = '".$townlist[i][2]."'WHERE TownName='".$townlist[i][1]."'";
$result=mysql_query($query);
}
}
Send Everything Back To Its Original Position.
Is there an action that sends everything back to its original position after using the bring to front action.
on (press) {
_root.x += 2;
_root.symbol.swapDepths(_root.x);
}
The symbols that are brought to the front are staying there when they are not ment to be.
Flash Movie Send To Back
Does anyone have experience with JScript and Flash in web design. My menu is designed in JScript, and I am using small flash. But the menu opens behind the flash and can not be read.
Please HELP.
Thanks,
Aleksandra
Bring To Front /send To Back
I'm confused, i've never encountered this problem before...
I've developed a website and on the home page there is a series of css/ javascript dropdown hyperlinks. Some of these hyperlinks display a popup menu of further links on mousemover. Immediately below the hyperlinks is a small flash movie.
The problem is, when you mouseover the links and it displays the popup links, the flash movie appears OVER the drop links.
Is there a way I can either send the flash movie to the back using some kind of 'send to back' option like there is in dreamweaver? Surely I don't have to restructure my page to allow for this?
Please see my problem by clicking here
Please help!
Send Everything Back To Its Original Position.
Is there an action that sends everything back to its original position after using the bring to front action.
on (press) {
_root.x += 2;
_root.symbol.swapDepths(_root.x);
}
The symbols that are brought to the front are staying there when they are not ment to be.
Flash Movie Send To Back
Does anyone have experience with JScript and Flash in web design. My menu is designed in JScript, and I am using small flash. But the menu opens behind the flash and can not be read.
Please HELP.
Thanks,
Aleksandra
Send Variable From Flash To HTML & Back Again
Send Variable from Flash to HTML & Back Again...
Here's my problem...
I have an html page with a flash navigation embedded in the page.
When a user clicks a button I need to send a variable to the new
html page that also has the same menu embedded in it. This way the
menu doesn't start on frame 1 (closed), but instead will open on the
last button that was clicked. I hope that made sense.
The menu is going to be a part of a template in dreamweaver.
Everytime a new page is created, I need that page to be able
to send a variable to the flash movie that is embedded on the page
before the flash movie loads. This way the button pressed sends
a variable to the html page, the page carries it into the new flash movie and the menu starts off where it was last clicked.
I do not want to use frames, but it needs to be done in this fashion.
Does anyone know of a way to do this.
If my message was too confusing, just write me and maybe I can explain it better. Hope someone can help me out!
Thanks.
Flash On Top Of Dhtml Menus, Can I Send It Back?
hi I have a problem.
I am designing a site with dhtml menus
and I am using frames.
The problem is that when I insert the flash on the page,
this one blanks my menus, is there a way to send them back?
thank you
Help Me Send The Playhead Back 1 Frame From A Label
I want the playhead to go back one frame from the label "end"
I tried:
on(press){
_root.gotoAndPlay("end-1");
}
as well as:
on(press){
_root.gotoAndPlay("end"-1);
}
and:
on(press){
_root.gotoAndPlay("end")-1;
}
and every other iteration I could think of-
Anyone know how to do this?
[F8] Bring To Front/Send To Back Mutiny
I have an image and a wafting-smoke filter to go over the top so that when a cursor goes over the pic, smoke - or mist - is seen.
Modify/Arrange ... but when I order the pic or the filter to the front, or back - or any variation - the filter will sit behind the image.
Please, what am I doing wrong...
I think I found the answer ... I deleted pic AND filter and borrowed them from the library afresh and it worked then. I had tried that with just one of the items before and it didn't make any difference. But replacing both did.
After HandleComplete Completes, Send Response Back
I'm running into a problem with calling a function in a class. The error I'm getting is
"1061: Call to a possibly undefined method StartUp through a reference with static type Class."
The error is being caused by the LoadXML file line that says "var test:Test = new Test.StartUp();".
This is the "base" class that I'm calling the LoadXML function. Which works fine.
ActionScript Code:
package
{
import actionscript.load.LoadXML;
public class Test
{
public function Test():void
{
var loadproductXML:LoadXML = new LoadXML();
}
public function StartUp():void
{
trace("StartUp Called");
}
}//end class Test
}
This is the LoadXML file where when I call the "StartUP" function in the "Test" base class, that I get the error.
ActionScript Code:
package actionscript.load
{
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;
public class LoadXML extends URLLoader
{
public var _XMLObject:XML = new XML;
public function LoadXML()
{
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, handleComplete);
loader.load(new URLRequest("XMLFiles/ConfiguratorServlet.xml"));
}
private function handleComplete(event:Event):void {
try {
_XMLObject = new XML(event.target.data);
var test:Test = new Test.StartUp();
}
catch ( e:TypeError ) {
trace( "Could not parse text into XML" );
}
}//end HandleComplete
}
}
This seems so simple! Please help.
FilesReference To Php, How To Handle Errors Send Back To Swf?
filesReference upload file may encounter IOerror sometime on my server I don't understand why...
Now I am trying to trace them out and find cure to my swf application.
somebody help?
my application is here:
http://elliot.shootmeout.com/sandbox...esUploader.swf
it have io error sometime when file size is more than 2mb.
but php.ini configure already set to 20mb
On Roll Over I Have An Mc Follow The Mouse, How Do I Send The Mc Back ...
Basically, you roll over a piece of text, and it follows the mouse, using the following code.
onClipEvent (load) {
_x = this._x;
_y = this._y;
speed = 44;
}
onClipEvent (enterFrame) {
if (_global.penthouseshit == 1) {
endX = _root._xmouse;
endY = _root._ymouse;
_x += (endX-_x)/speed;
_y += (endY-_y)/speed;
}
}
However, the problem is that when I roll off this thing, it is sort of snapping back to it's original position. I'm thinking there is a way to animate it back to it's original state, but I'm not sure how to do this.
Could you show me the way?
Thanks.
Send SWF File Back (mail Attachment) With Changes
Is there any option to send the SWF file itself with the chages made the user (a drawing application, the user can draw the picture) to an attachment as email. I've submitted the same requirement but i think that was a bit confused. Any help will really appreciable. Thanks in advance.
Send SWF File Back (mail Attachment) With Changes
Is there any option to send the SWF file itself with the chages made the user (a drawing application, the user can draw the picture) to an attachment as email. I've submitted the same requirement but i think that was a bit confused. Any help will really appreciable. Thanks in advance.
Draggable Pane Bring Forward / Send Back?
Anyone know the actionscript to get a draggable plane to move behind another if you click a button in the movie? or in front of?
I am experimenting with a windows type environment, and have an interface that pulls up seperate windows by clicking different buttons.. however i am trying to get the project to bring the corrisponding window previously opened in front of the others.. I have looked at the draggable plane scripts and cant seem to figure out the right combo to make this effect work..
Please help! Thank you!
Shane
Script To Send Animation Back To Beginning When Mouse Is Left Alone For A While?
Script to send animation back to beginning when mouse is left alone for a while?
im creating a screen saver with an animation that ends in a screen that becomes static.
I want the screeen saver to start at the beginning when the mouse is left alone an isnt moved for a while.
Is there a script that will do this?
Thanks.
Drag Clip & Button To Send It Back To Original Position
I have a draggable movie clip that I've dragged and dropped at a random position on the stage.
I don't want it to snap back into place.
Does anyone know how I would code a button to tween it from that (random) spot back to it's original spot?
Thanks a lot in advance!!!
Pete
Drag Clip & Button To Send It Back To Original Position
I have a draggable movie clip that I've dragged and dropped at a random position on the stage.
I don't want it to snap back into place after it's dropped.
Does anyone know how I would code a button that would tween it from that (random) spot back to it's original spot?
Thanks a lot!!!
Pete
Drag Clip & Button To Send It Back To Original Position
I have a draggable movie clip that I've dragged and dropped at a random position on the stage.
I don't want it to snap back into place after it's dropped.
Does anyone know how I would code a button that would tween it from that (random) spot back to it's original spot?
Thanks a lot!!!
Pete
Send User Input (image) As Email Attachment Back To Me
Hi everybody,
I have an interface where the user basically colors a picture and adds a few bits and pieces. I'd like them to then be able to hit a "Submit" button and send an image of what they've done back to me by opening their email application (Outlook, or whatever) and attaching the image. Is this possible? Is there a better way to achieve the same goal? Any ideas?
Thanks for the help.
Send Variables From Flash 5 To Servlet And Get It Back In Flash
Does anyone know how to send variables to servlet in Flash?
I think I should use the loadVariables () to pass all the variables, but I'm not sure how to type in the URL part so that servlet can get them. My swf and servlet file are in different folders ... Must they be put in the same folder? Or I should use some XML formatting in transmitting data between Flash and servlet??? Please give me some help, thx a lot!!!
[CS3] Actionscript "Send To Back"
Hi there, I'm using Flash Professional CS3, Actionscript 2.0. Is there a way, via actionscript, to do the equivalent to right-clicking on a movie clip and doing an Arrange/Send to Back? I want to be able to put multiple masks on a single layer. I notice that the movieclip mask which is on the bottom of the stack of masks on my layer does the masking. I just want to be able to move a specific mask movieclip to the bottom of the "pile of masks" on my layer via actionscript to make it the current mask. Possible? Or another way?
Thanks,
Jeff
Can You Use The Back Button In A Browser To Go Back To Go Back In A Flash Movie?
Hi
In html pages it is easy to go back (the back button in the browser) to the last page you were on. But when you have got a flash site in a html page you cannot go back to the last page in the flash site using the 'back' button in the browser. Is there anyway you can change this so that you can use the back button in a browser to go back to the last flash frame?
Usig Buttons To: Send Me An E-mail / Send Data From A Feedback Form?
As the title may suggest, i need some way of making an email button, and also feedback form buttons; both submit and reset. i thought this would be fairly standard stuff but didnt get any answers in the general help forum... its all for the last page of my site at www.geocities.com/jamesmbrannan if you would like to take a look
thx for any help/ advice
lev
How To Send To Send An Action Between Browser Frames
my doubt may look silly. but pls help me.
I have a left frame with a swf movie containing buttons. And when when I click the buttons I want the movie in the right frame to go and play a particular frame.
how do I do this?
Send Real Fax/send Pdf In Mail, Using Flash
Hi, I am a moderate flash designer and mostly make animations. I don't work with actionscript too much so I really need your guys' help. I need 2 things.
First: I am making an internet fax demo where I want someone to enter their email in a simple text box, click send, and it will email a pdf document to the email address (a sample fax).
Second: In the same demo, there will be another text box, where a user would enter a fax number, hit send, and it will fax them the pdf (or the stuff in the pdf in any other format) to their fax machine.
is this doable using flash? I don't even mind if i have to use a php or a xml file. but in that case, i also want to know what to write in the actionscript to call those files.
I would really appreciate if someone could please help me out with this. I had been searching all night, i found some actionscripts but have no clue what they mean.
LoadVars.send Doesn't Send..
Hi people, It's a LONG time since my last Flash application, I'm just catching up.
I'm trying to build a Flash "driver" for a serverless chat client (this means I'm making it work with a database and a php script, but no socket server, as I don't have the money to have such a hosting that let's me use one).
Anyway, what I'm trying to do is to get Flash to query the php script, sending some data (like channel id, user id etc..) and retrieve the new messages.
I have debugged the php script and I can assure the problem is not there.
The script prints whatever request arguments it recieves into comments in the response page.
What I'm doing in flash is:
code:
Request = new LoadVars();
Request.my_var = "foo";
Request.send("http://blablabla....php", "_blank", "POST");
The darn thing doesn't send anything to the php script.
I've already seen that it is possible to add variables to the url string, and they get passed to the script, but I don't want to get so dirty...plus I want to use POST, because of potentially long messages being passed.
Does anyone know anything about this?
Gosh I have it when Flash comes to such stupid problems.
Php rules!
If I don't get it right within a few hours, I'll just build the whole thing in Javascript. I just don't want to have to build it for each and every browser on the web...
Cheers!
|