Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
_posted.by\(Vern\); #1
Trying to track an instance's position relative to the stage - instance is inside an MC
Arggg! Hope I can explain this.
I have a series of circles contained in a large MC called map. I have 3
circles inside *map* and I need to have various buttons move the map over
and zoom into the corresponding circle. The move and zoom fucntions work
fine. (thanks to joox for the zoom coding). I am using a blank MC as a
positioner for the map to follow to the new location.
It gets tricky because the coordinates of any given circle are always the
same, _x = 56, _y = 150, etc., regardless of where the map moves on the
stage. I originally had preset coordinates for each circle. Now when the
zoom action occures, it changes where the center of everthing is, so I am
trying to write a script that will do the calculations for me and automate
the process, even taking into account the magnifaction.
I am SOOOOOOO close, but I can seem to flip the thing around. In other
words, with the center of my stage at 450 and 200, I need the circle on the
map to be lets say 410 and 120, but I keep getting them at 490 and 280
instead. Does that make any sense?
I have posted the fla here and it may be clearer of you check it out and see
what I am trying to do. The three buttons SHOULD zoom in on and move to the
three corresponding circles, but as you can see, he are off a bit. The
green dot is the blank MC that the map follows, I just have the dot there
for reference. The crosshairs are where I need the targeted circle to end
up - center stage.
Thanks for looking!
Regards,
--Vern
[url]www.thepenrods.com/~Penrod/eVrn/azoom.fla[/url]
only 56K so not zipped
FlashMX2004Pro
_posted.by\(Vern\); Guest
-
DW8 messed my relative position layer behaviors
I recently upgraded from MX to Studio 8. I have a website where I was using a series of "set text of layer" behaviors to write copy to a relative... -
relative vs abolute position with layers in liquidinterface
:confused; Newbie here. I've got a 2 column table in an editable area of a page created from a template. In column 1 there is a roll over... -
Stage position - please help!
In Director MX2004 I set the stage position to 0, 0 (Movies/Properties). When going to full screen mode, the stage does not locate itself in the... -
Clip position relative to _root
Hi all I have a clip buried deep within other clips, and I want to find its _x and _y position relative to the _root clip. Is this possible ... -
*** Is there dif frame of instance on stage?
Flash MX - Is there a way to see a frame other then frame 1 of a movie clip on the main stage? For example I have a simple movie m1. m1 tweens the... -
_posted.by\(Vern\); #2
GOT IT!!
It is rare that I spend most of a day getting something like to work, but I
did, and it does! Thanks to everyone that looked in.
Regards,
--Vern
_posted.by\(Vern\); Guest



Reply With Quote

