Changing Volume Using Coordinates
Need some help here.
Id like to increase the volume of a sound loop gradually as the mouse gets closer to a button or mc, and decrease the volume as the mouse moves away.
Ive found one tutorial that is basically what im going for, but it doesnt provide the fla, so
i couldnt figure it out. its here:
http://iat.ubalt.edu/courses/old/pbd...Improved.shtml
Can someone explain. Its for a school project. Thanks.
FlashKit > Flash Help > Flash MX
Posted on: 12-06-2004, 06:32 AM
View Complete Forum Thread with Replies
Sponsored Links:
Changing Volume Using Coordinates
Need some help here.
Id like to increase the volume of a sound loop gradually as the mouse gets closer to a button or mc, and decrease the volume as the mouse moves away.
Ive found one tutorial that is basically what im going for, but it doesnt provide the fla, so
i couldnt figure it out. its here:
http://iat.ubalt.edu/courses/old/pbd...Improved.shtml
Can someone explain. Its for a school project. Thanks.
View Replies !
View Related
Changing Volume Using Coordinates
Need some help here.
Id like to increase the volume of a sound loop gradually as the
mouse gets closer to a button or mc, and decrease the volume
as the mouse moves away.
Im a bit of a beginner to actionscript, Ive found one tutorial that
is basically what im going for, but it doesnt provide the fla, so
i couldnt figure it out. its here:
http://iat.ubalt.edu/courses/old/pbd...Improved.shtml
Can someone explain. Its for a school project. Thanks.
View Replies !
View Related
Changing Volume Using Coordinates
Need some help here.
Id like to increase the volume of a sound loop gradually as the
mouse gets closer to a button or mc, and decrease the volume
as the mouse moves away.
Im a bit of a beginner to actionscript, Ive found one tutorial that
is basically what im going for, but it doesnt provide the fla, so
i couldnt figure it out. its here:
http://iat.ubalt.edu/courses/old/pbd...Improved.shtml
Can someone explain. Its for a school project. Thanks.
View Replies !
View Related
Volume Slider Tutorial (changing The Start Volume)
Hi,
This is my first post, also my first problem. Not going so well so far! Okay, i downloaded the tutorial and read through it. Maybe not so well, since i'm a little stuck.
I wanted to modify the slider, so rather than starting off as silent, it starts off so the sound can be heard. So i edited the slider and moved the indicator further along. However, the mp3 cannot be heard until the silder indicator is moved.
i tried modifying the play button to this;
ActionScript Code:
on (release) { if (_root.mySlider.complete == 1) { _root.mySlider.mySound.stop(); mySound.setVolume(_root.volume(ratio)); _root.mySlider.mySound.start(0, 99); }}
but it still doesn't seem to work. Also the 'circles' don't automatically take the height. As soon as I move the slider, the circles 'jump' to the correct size and the volume plays properly.
Also i'd kind of like the song to start playing as soon as its loaded. Okay, i know that i could maybe download something that does all of this already, but i'd rather (or more likely be shown how to) modify the tutorial since i'm a beginner.
Apologies, i'm new to all this. I know some oop, but actionscript and all these properties are a bit new to me.
Thanks in advance,
View Replies !
View Related
Changing The X And Y Coordinates
I have code that says:
this.onMouseMove = function() {
this._x=_root._xmouse;
this._y=_root._ymouse;
"this" is a movie clip inside another mc that is in the main movie. The problem is that the x and y positions of "this" are different than the mouse's x and y position. How do I make the mc match the mouse's x and y coordinates? Thanks.
gamist
View Replies !
View Related
Changing X, Y Coordinates
In the swf file I had to remove one of six menu buttons and was able to hide it using Action Script URL Editor. Now there is a gap where the old button was. How can I change the x coordinates to evenly align the buttons? look at www.idccworld.com
Thanks,
View Replies !
View Related
X Y Coordinates Keep Changing On Me?
I am duplicating movie clips and then positioning them in actionscript. Everything works great, but once I get close to having the positions mapped out perfectly, the x and y axis changes.
What was once x = 220 would now be x = 35 and so on. Anyone know whats going on? Is it positioning the duplicated movie clips in relation to something. Is there a way to lock the grid? Thanks,
Rick
View Replies !
View Related
[F8] Changing Movieclip Coordinates
First, I appologize if this has been asked already, I've been searching and can't find an answer anywhere--perhaps b/c I'm not sure what exactly the problem is to search for. Second, for this possibly being a very retarded question. I imported symbols for a movie clip , everything worked great in the exported swf, until I realized that the symbols I was using had a background that was being interpreted by flash as part of the movie. So the original movie was ~400x300 px. I edited my symbols to crop out the background, etc. and now have a movieclip thats ~200x65 px. The symbols are all at 0,0 and the movie works, except for the fact that the movieclip itself is fixed at a position of ~-400,-300 (x,y) and the info panel for the mc the boxes are unclickable to specify a position. The exported movie is a blank window in flashplayer, until you drag out the edges far enough to find the movie. Any help is sincerely appreciated--
View Replies !
View Related
Flash Changing X And Y Coordinates Of Objects
Hey everyone...
Well, I wasn't sure how on earth I would find out how to do this, but I thought I would ask here!! I'm not really a good coder so, it's a little tough for me, so go easy
Anyway, on this site right here... http://green.colorize.net/
they have a background that resizes to the width of the movie...how do they do that? BUT, also, I want to know how they change the x and y coordinates of the navigation around the site so that it's always on the edge of the screen no matter what you resize the browser window to...is this really easy and am I just dumb?
I really didn't know what to search for (hence the long title for this thread!) so any help on doing both those things or tutorials or whatever that you can show me, would be MUCH appreciated!!!
THANKS!!!
View Replies !
View Related
Changing Timeline Element's Coordinates
I mainly use Actionscript and I recently got a file from a guy who uses mostly the timeline. When I select a Layer, either the entire layer or just a selection of frames and try to move the object, it only changes it for the current frame I am on. How would I move all/partial frames of an element(s) in 1 or more layers? Thanks.
View Replies !
View Related
Changing Volume Of SWF
Hello,
I have 9 SWFs, all of which contain audio (me talking, to be specific). The problem is, when I recorded them, my microphone was too far away and it is very quiet. It sounds fine when I turn my speakers up very high.
Is there a way to easily (without re-recording) raise the volume level of one of these SWFs? I don't have any FLA files, but I do have Flash.
Thanks for any help in advance.
-F
View Replies !
View Related
Changing The Volume ? [MX Pro]
Hi there, i have this code to load my file:
song = "lolas_them.mp3"
loadFile = new Sound();
loadFile.loadSound(song,false);
loadFile.onLoad = function(){
loadFile.start(0,100);
status.gotoAndStop(7);
}
and i want to be able to change the voume using buttons - say 5 buttons setting the level from 0 to 100 (0, 20, 40 etc).
i have tried adding this to the bottom of my code for testing purposes:
song.volume = 10;
but it's having no effect - can someone help me out here, many thanks,
Neil
View Replies !
View Related
Changing The Volume For My Streaming MP3
Im using the folowing code that plays my mp3 file once the flash loads, but its too loud. What code or change do I need to make to change the volume?
Heres the code:
Code:
if(_global.Behaviors == null)_global.Behaviors = {};
if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {};
if(typeof this.createEmptyMovieClip == 'undefined'){
this._parent.createEmptyMovieClip('BS_nothing_p4',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.nothing_p4 = new Sound(this._parent.BS_nothing_p4);
} else {
this.createEmptyMovieClip('_nothing_p4_',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.nothing_p4 = new Sound(this.BS_nothing_p4);
}
_global.Behaviors.Sound.nothing_p4.loadSound("http://www.childrenofconan.trap17.com/Nothing.mp3",true);
View Replies !
View Related
Changing The Volume Of A Sound
Hi, I have a streaming mp3 in my flash movie.
I want to add a control to raise/lower the volume.
Can anyone tell me how to do that in Flash MX 2004.
I have tried sound.getVolume() and sound.setVolume. However I think they are only for earlier versions of flash.
View Replies !
View Related
Changing Volume On External FLV
I've Flash 7.2 and i've created a very basic flv player swf
all it does is open a local flv and play it once. no control or anything like that.
The only thing i need to do is reduce the sound level off the flv..
Can someone tell me how i can do this or is it even possible?
View Replies !
View Related
Changing The Volume Of A Sound Clip
Hello,
I am new to these forums and I am still quite new to flash so bear with me please.
I have created a flash movie which includes a sound clip. Thanks to the tutorials on this site, I have learned how to include an on/off button for the movie; however, the actual sound clip itself is rather loud. I'm guessing it was recorded at a high volume??? I have my volume on my computer set to low and it still blares out, which I'm afraid takes away from the value of the movie.
So, is there any way that I can edit the sound clip whether in flash or a suitable audio programme to reduce the volume so that the people visiting the website it's meant to go on aren't scared out of their whits?
View Replies !
View Related
Muting/Changing Volume Of Netstream
I am trying to write a video/audio chat tool and I am having a heck of a time with muting and changing the broadcasters audio netstream volume. Is there anyway to do this, I see there is a something called soundTransform but I think it is only for AS 3.0 and I am developing in 2.0. If you can give me any help I would appreciate it.
Thanks in advance
View Replies !
View Related
Changing The Same Sound's Volume On Multiple Buttons...
Hi,
I'm using the same sound for the "Over" state on a set of multiple buttons; is there a way to adjust the level of this sound globally without having to go in and change the envelope for each instance? -- I'd like the same adjusted level for all the buttons in the set.
The sounds are assigned directly to the button state frames. Is there a way to do this with sound objects? I'm new to Flash and I don't fully understand sound objects yet, even though I've read about them.
Thanks,
Todd Lerner
View Replies !
View Related
[F8] Externally Loaded SWF Changing Volume Of A Parent SWF
Hi everyone!!
I'm brand new to the forum and (relatively) new to Flash. I hope that someone here can lend a hand!
I have a visually empty movie clip (holder.swf). It loads an mp3 into the movie using the code:
PHP Code:
var audio:Sound = new Sound();
audio.loadSound("audio.mp3", true);
So when the movie loads, it plays a song. Easy enough.
I have a button in my HTML that, when clicked, loads a SWF (loop1.swf) into holder.swf. Now, loop1.swf has it's own sound. I want it, when loaded, to fade-out the volume of it's parent (holder.swf) and then unload the mp3. That way, when loop1.swf is going, it's volume is what we hear -- not the loaded mp3.
When loop1.swf is done, I want it to re-load the original mp3 into holder.swf and start the song over again.
I am having a beast of a time here!! Please, can anyone lend me a hand?
How do I make an externally-loaded SWF fade-out the audio in it's parent file? Then, after a period, how do I make it re-load the audio file?
Thanks everyone!
Chris
View Replies !
View Related
SoundTransform: Clicks And Pops When Changing Volume
When using the soundTrasform to change the volume of a sound channel, especially when you're animating this (changing the volume constantly over time) clicks and pops become audible. This also happens when changing the pan.
I'm guessing this is because the sound's property is change instantaneously and so there is a sudden change in the waveform. For example if you've got a smooth curve going down (a point in a sine wave for example) and you put the volume down the next frame (sound frame, not Flash frame particularly) or sample is going to drop suddenly as it has been rescaled.
This all makes sense to me, but doesn't really help with the fact that it does this. Any ideas how to get around that kind of problem, or is the trick just to play your sound, then change it's volume on each repetition?
View Replies !
View Related
Sound Across Scenes & Changing Volume In Certain Scenes..
OK, this is kind of hard for me to explain but i'll try...
I want to have a continuous sound loop over various scenes, but I want the volume to increase (i.e. fade up - and i would like it to fade rather than just suddenly turn up) during one of the scenes.. and decrease (i.e. fade out) to 0 during another scene.
On top of that, I'd like the sound loop to stop altogether when they play another audio file on the movie - then the loop resume when they return to scene 1.
Anyone able to help me here - i know it's sounds complicated but I am sure someone knows how i can do this.
Any help would be much appreciated,
thanks,
Chris
View Replies !
View Related
How Do I Get The Volume Slider To Start At 50% Volume Instead Of 100% Volume?
I have code that sets the volume for the audio clips that I have loaded:
onClipEvent(load)
{
_root.soundstatus="on";
_root.mySound = new Sound(_level0);
_root.mySound2 = new Sound(_level1);
_root.mySound3 = new Sound(_level2);
_root.mySound4 = new Sound(_level3);
_root.mySound5 = new Sound(_level4);
_root.maxvolume=100;
_root.minvolume=0;
}
onClipEvent(enterFrame)
{
//if(_root.soundstatus=="on") {step=5}
//if(_root.soundstatus=="off") {step=-5}
//_root.maxvolume+=step;
if (_root.maxvolume>100) {_root.maxvolume=100;}
if (_root.maxvolume<0) {_root.maxvolume=0;}
_root.mySound.setVolume(_root.maxvolume);
_root.mySound2.setVolume(_root.maxvolume);
_root.mySound3.setVolume(_root.maxvolume);
_root.mySound4.setVolume(_root.maxvolume);
_root.mySound5.setVolume(_root.maxvolume);
}
I then setup a slider bar to adjust the volume:
onClipEvent (enterFrame) {
_root.maxvolume=this._x
trace(this._x)
}
Then I set the volume based on the dragging of the slider bar:
on (press) {
if(_root.soundstatus <> "off"){
startDrag(this, false, 1, 0, 100, 0)}
}
on (release) {
if(_root.soundstatus <> "off"){
stopDrag()}
}
The issue is that I cannot start the audio volume and slider at 50% of volume instead of 100%. Can someone please look at this code and help me understand how I can load this script so the slider volume starts at 50% not 100%? Thank you.
View Replies !
View Related
How Do I Get The Volume Slider To Start At 50% Volume Instead Of 100% Volume?
I have code that sets the volume for the audio clips that I have loaded:
onClipEvent(load)
{
_root.soundstatus="on";
_root.mySound = new Sound(_level0);
_root.mySound2 = new Sound(_level1);
_root.mySound3 = new Sound(_level2);
_root.mySound4 = new Sound(_level3);
_root.mySound5 = new Sound(_level4);
_root.maxvolume=100;
_root.minvolume=0;
}
onClipEvent(enterFrame)
{
//if(_root.soundstatus=="on") {step=5}
//if(_root.soundstatus=="off") {step=-5}
//_root.maxvolume+=step;
if (_root.maxvolume>100) {_root.maxvolume=100;}
if (_root.maxvolume<0) {_root.maxvolume=0;}
_root.mySound.setVolume(_root.maxvolume);
_root.mySound2.setVolume(_root.maxvolume);
_root.mySound3.setVolume(_root.maxvolume);
_root.mySound4.setVolume(_root.maxvolume);
_root.mySound5.setVolume(_root.maxvolume);
}
I then setup a slider bar to adjust the volume:
onClipEvent (enterFrame) {
_root.maxvolume=this._x
trace(this._x)
}
Then I set the volume based on the dragging of the slider bar:
on (press) {
if(_root.soundstatus <> "off"){
startDrag(this, false, 1, 0, 100, 0)}
}
on (release) {
if(_root.soundstatus <> "off"){
stopDrag()}
}
The issue is that I cannot start the audio volume and slider at 50% of volume instead of 100%. Can someone please look at this code and help me understand how I can load this script so the slider volume starts at 50% not 100%? Thank you.
View Replies !
View Related
Flash 8 FLV Playback/Custom UI Volume Components With Global Volume Control
I'm creating a multi-scene swf with several FLV Playback - Player 8 Component videos on different scenes/frames.
I want to use the FLV Playback Custom UI Volume Bar so that when a user makes a volume adjustment during one FLV Playback viewing that volume adjustment will remain throughout the other FLV Playback video viewings.
This will prevent the viewer from having to make volume adjustments for each viewing. However, I want to enable the volume change to be made and changed at any time throughout any of the video viewings. Another aspect of this is that the FLV Playback Component has a volume setting that would have to be overridden by the global custom UI volume setting.
Is this possible? If so, how would this be done?
Thanks!
James
jamesk@pacificmm.com
View Replies !
View Related
[F8] FLV Playback/Custom UI Volume Components With Global Volume Control
I'm creating a multi-scene swf with several FLV Playback - Player 8 Component videos on different scenes/frames.
I want to use the FLV Playback Custom UI Volume Bar so that when a user makes a volume adjustment during one FLV Playback viewing that volume adjustment will remain throughout the other FLV Playback video viewings.
This will prevent the viewer from having to make volume adjustments for each viewing. However, I want to enable the volume change to be made and changed at any time throughout any of the video viewings. Another aspect of this is that the FLV Playback Component has a volume setting that would have to be overridden by the global custom UI volume setting.
Is this possible? If so, how would this be done?
Thanks!
James
jamesk@pacificmm.com
View Replies !
View Related
Volume Buttons Change Volume More Than Once Per Click
I am going to try to explain this as best I can without posting the code for all 4 classes and the timeline.
Information:
I have a class that controls the playing of the sound, it also is hooked up to my volume up and down buttons. I have a class for a button that moves the frame forwards and another that moves the frame backwards. On the timeline I have a layer for sound, where I import the class that does the sound as well as instantiates it and add the child (which is a sound file). The class that plays the sound file also automatically goes to the next frame when the sound is done. Relevant code will be posted after explanation of problem.
Problem:
When the next or back buttons are clicked, flash moves to the next or previous frame, which then does addChild and instantiates the class for sound again. I do have each frame set to SoundMixer.stopAll(); which does stop the sound but it doesn't prevent multiple instances of the class or child being active. So what happens then is that if I hit the next button 5 times, then click the sound up button, the sound goes up 6 times! at once.
Relevant Code:
relevant portions of class that controls sound:
Code:
public static var trans:SoundTransform = new SoundTransform();
Code:
private function soundUp(event:MouseEvent)
{
SoundMain.trans.volume += .2;
trace(SoundMain.trans.volume);
soundChannel.soundTransform = SoundMain.trans;
}
relevant portions of timeline code (on each frame):
Code:
import flash.media.SoundMixer;
SoundMixer.stopAll();
import lesson.SoundMain;
var sndEx2:SoundMain = new SoundMain("micRec2.mp3");
addChild(sndEx2);
partial code in next button class:
Code:
private function oneFrameForward(evt:MouseEvent):void
{
MovieClip(parent).nextFrame();
}
I appreciate any help.
View Replies !
View Related
Drag MC And Volume - How To Translate Into Volume 0-100?
Hey there
I am building a room in which you can drag a MC in order to controll pan and volume. I am using:
function drag() {
kasse1Pan.kasse1.startDrag(false, -400, -300, 400, 300);
kasse1Pan.kasse1.onEnterFrame = function() {
pan = 0.25*this._x;
vol = 300+this._y;
kasse1Sound.setPan(pan);
kasse1Sound.setVolume(vol);
};
The problem is that the stage is 800 x 600, and therefore -300 is translated to zero (when the MC is at the top of the stage) and 300 is translated to 600 (when the MC is at the bottom of the stage). Naturally, this causes the volume to distort.
I need find a way to translate the -300 and 300 to 0 and 100% volume.
Can you help? Oh, I hope so...
/Donleavy
View Replies !
View Related
Volume - Setting Initial Volume
In addition to code help with setting the initial volume, can anyone tell me why the slider might be staying at the end of the bar once I'm off dragging it.. It doesn't move back to the start of the slider when I drag to increase volume the first time...
This is where the fla file is in case anyone wishes to help me with the latter question...
http://www.clairmonthumphrey.com/Site/humphreytemplate.fla
Thanks so much!
Attach Code
//volume slider
dragger.onPress = function()
{
this.startDrag(true, dragger._x, dragger._y, dragger._x + 95, dragger._y);
};
dragger.onRelease = dragger.onReleaseOutside=function ()
{
stopDrag();
};
dragger.onMouseMove = function()
{
newPoint = new Object();
newPoint.x = this._x
newPoint.y = this._y
_root.slidebar.globalToLocal(newPoint);
_root.s.setVolume(-1*newPoint.x);
}
View Replies !
View Related
Volume Slider Bar Innital Volume
I need a simple solution for my volume slider bar problem, I completed the volume slider bar tut. on kirupa and it works for what i'm doing, but i'd like the volume to default to 70 or 80 instead of 0, so that the music plays when the movie starts. I'm sure this is a simple line of code that i'm overlooking, any help would be appreciated.
Thanks!
scott.dixon@itron.com
View Replies !
View Related
Volume Slider Bar Innital Volume
I need a simple solution for my volume slider bar problem, I completed the volume slider bar tut. on kirupa and it works for what i'm doing, but i'd like the volume to default to 70 or 80 instead of 0, so that the music plays when the movie starts. I'm sure this is a simple line of code that i'm overlooking, any help would be appreciated.
Thanks!
scott.dixon@itron.com
View Replies !
View Related
Changing Height Of Movie Clip Without Changing Width
Im using flash MX, and i needed to know if it was possible to change the height of a movie clip without changing the width of it. i have a 1px wide line, and i want to change the height of it, but i want to keep it 1px wide. is it possible to do this without having to redraw it everytime i want to change it?
View Replies !
View Related
Changing Stage Color When Changing From Scene
Hi,
I would like to change the color of my stage when I get in my next scene, is it possible?
So when people look to the movie Scene one should be black and scene 2 white. Don't tell me to put a big white square at the button of scene 2 coz when put it online I want all my window to change from color.
Thx
View Replies !
View Related
Mp3 Player Volume Vs Video Player Volume
Hello people!!!
I'm having some trouble on getting a video player to play its sound...
when the movie player is loaded, I tell the mp3 player (that starts playing when the site is loaded) to reduce the volume to 0... but this way, when the movie starts there is no sound because of the mp3 player!
How can I have to different volume bars?!
Please help!
(sorry about the english...portuguese guy)
View Replies !
View Related
_name Property Changing But Not Changing
I am working on an application where a user can select a movieclip that has been dynamically placed on the stage and then choose Send to Front or Send to Back (compared to the other objects on the stage with it).
As part of this process I am renaming the instances using code that basically looks like this: setProperty(myMovieClip, _name, newMovieClipName);
Using the debugger I noticed something unusual. In the properties tab the _name property changes to the newMovieClipName value I am assigning it. But the target it shows remains unchanged (_level0.container_mc.myOldMovieClipName).
I think this is causing problems elsewhere when I try to target these movie clips. Does anyone know how to completely change an instance's name, or is this just the way it works? Any insights are appreciated.
View Replies !
View Related
RGB Changing Is Working But Not Changing All The Time
basically when you load the .swf it changed everytime u re-load it , i want it to keep on changing even when the user hasnt reloaded the image
onClipEvent (load) {
for (i=1; i<5; i++) {
_root["r"+i+"New"] = random(255);
_root["g"+i+"New"] = random(255);
_root["b"+i+"New"] = random(255);
_root["b"+i+"New"] = random(255);
}
}
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root["r"+myNum+"Diff"] = _root["r"+myNum+"New"]-_root["r"+myNum+"Old"];
_root["r"+myNum+"Change"] = _root["r"+myNum+"Diff"]/10;
_root["g"+myNum+"Diff"] = _root["g"+myNum+"New"]-_root["g"+myNum+"Old"];
_root["g"+myNum+"Change"] = _root["g"+myNum+"Diff"]/10;
_root["b"+myNum+"Diff"] = _root["b"+myNum+"New"]-_root["b"+myNum+"Old"];
_root["b"+myNum+"Change"] = _root["b"+myNum+"Diff"]/10;
swatchColor = new Color(this);
swatchColor.setRGB(_root["r"+myNum+"Change"]<< 16 | _root["g"+myNum+"Change"] << 8 |
_root["b"+myNum+"Change"]);
_root["r"+myNum+"Old"] -= _root["r"+myNum+"New"]-_root["r"+myNum+"Change"];
_root["g"+myNum+"Old"] -= _root["g"+myNum+"New"]-_root["g"+myNum+"Change"];
_root["b"+myNum+"Old"] -= _root["b"+myNum+"New"]-_root["b"+myNum+"Change"];
}
View Replies !
View Related
Changing An Array Name W/o Changing The Content
I have a generated array called foo, now what I would like to do is change the name of the array, without changing the content of the array itself. I am trying to make the name of the array, so it can be made part of a count. Like this.
from foo = ["Room,150,1"]; to T1=["Room,150,1"];
Thank you in advance for any help
Killin
View Replies !
View Related
Coordinates
Shew, so much to learn. Here's my problem. Say I want to compare an objects coordinates in one MC to some in a different movie clip. I've been making all of my MC's top left origin 0,0 (not the center) which has been helpful in comaring them correctly atleast to the root level. I know that there is a function in ActionScript that get's local or global coordinates. I found the function's description and board messages that were pertaining to it confusing so haven't used it yet. Can you help? Do you have any recommendations how to handle this? What do you do? Thanks! - Michelle
View Replies !
View Related
Coordinates
Hey
Uhm I need to know something....what kinda script i have 2 use...
In my flash movie Ive got on the left side of the screen a map where the user is able to navigate through.The Screen seems like this
-----------------------------------------------------
BIG MAPXXXXXXXXXXXXXXXXX ¦ XXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX ¦ XXXXLITLLE MAPX
XXXXXXXXXXXXXXXXXXXXXXXX ¦ XXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX ¦ XXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX ¦
XXXXXXXXXXXXXXXXXXXXXXXX ¦
XXXXXXXXXXXXXXXXXXXXXXXX ¦
XXXXXXXXXXXXXXXXXXXXXXXX ¦
XXXXXXXXXXXXXXXXXXXXXXXX ¦
-----------------------------------------------------
The BIG map is able to zoom so to know where ya are on the map there is the litlle map.How do I trace the coordinates in the big map and put them in the little map?Hope you understand me...
Thanks
Martijn
¦
View Replies !
View Related
Coordinates Nav
Hi - I saw an effect I want to try to duplicate - I want to be able to tell a MC to go to a specific x position and a specific y position from any spot - - so let's say I am at 50x and 60y and I want to go to 10x and 35y. I just need the logic and method to do this. I come close but the MC starts jumping around and being all nutty - I guess id the coordinates are not divisible by the rate at wich the MC moves it jupms - how can I avoid this? Thanks!
View Replies !
View Related
Coordinates
I need my spaceship not to enter som x and y coordinates.. does anybody know how to do this ?
i have a town on the bottom and i dont want the spaceship to fly in front of if, i need the ship to stop before it gets so low..
thnx !
S.Boy
View Replies !
View Related
XY Coordinates
I have created a new project that uses Loadmovie to load an swf. The problem is the it loads at the top of the stage,
loadMovie("test.swf",1);
How can I tell it to load to a different xy coordinate?
Thanks
View Replies !
View Related
Coordinates
I have created a MovieClip-A containing a button with the code:
Code:
on(press) {
startDrag("",true,0,0,250,0);
}
on(release) {
stopDrag();
}
MovieClip-B contains MovieClip-A rotated at about 23 degrees, effectively creating a diagonal slide bar.
MovieClip-B is then placed within Scene-A.
My problem is trying to get the _x and _y coordinates of the button relative to the Scene-A not to MovieClip-A.
I have tried
Code:
_root.MovieClip-B.MovieClip-A._x
_root.MovieClip-B.MovieClip-A._y
but this does not take into account the rotation applied within MovieClip-B
any ideas ?
View Replies !
View Related
X Y Coordinates
I'm not a Flash newbie but this is a newbie question:
I can't figure out how the x and y coordinates work in Flash. I mean, I understand what they ARE, I just don't know how Flash figures them. Why is it that symbol 1 could be x:50 y:50 on the main stage but within the "edit in place" stage the coordinates change drastically?
What I want to be able to do is to take symbol1 and have it be x50 y50 on the main stage, but also x50 y50 within other symbols. Main stage x50 y50, so it's in the exact same place when the swf plays.
View Replies !
View Related
=- Coordinates? =-
I want to know how to generate this effect, http://www.ofarevolution.com go to the site and use the menu (the bar in the upper left) it will zoom out then zoom into to correct area.
How would i recreate this effect. I have one large image that is made up for 4 sub images. and lets say 4 buttons labeled 1-4
So when its like
on (realease)
*shift to center (x,y) and zoom out*
and if you press the 1 button
go to coordinates (x,y)
how would i code that
thanks
n
View Replies !
View Related
X/y Coordinates
I've got a project where I have to have a 640x420 image that is actually a bunch of pictures in one. It will be masked by 100x75 mask.
In the app, I'll have scroll arrows so that the user can scroll to different images within the mask, (which will be actually moving the 640x420 image.) the problem I'm having is that in the upper left corner of the "mask" I need to be able to record the x/y coordinates of the image behind, because i'll also have a "button" where the user can scroll to the image they want, and click the button, which will actually send those x/y coordinates to a database. (and by these x/y's we'll be able to tell what image they had showing up in the mask.)
I know how to place my image, and place the mask on the stage over it. and then I know how to have the image scroll behind the mask using the arrows. But I'm not sure how to collect the "x/y" coordinates in order to send.
Does anyone have any solutions to this?
Hopefully there is someone out there that understands what I'm trying to do in the first place!!!
Thanks in advance for any help!!
View Replies !
View Related
|