Moving a movieclip's location
let's say i have _level0.box1.ball
I want to move ball into _level0.box2 so it will become
_level0.box2.ball
How do I do this and have ball keep all it's original
properties?
I did think about it.
Part of the way object oriented languages work is that you
can move objects to different parents when needed. However, the
movieclip object can't be moved at run time because of it's run
time usage.
For example, if you have a deck of cards, you would put 52
card objects inside of a deck object. Then you can pass the card
objects to the player objects and to the 'table' object. But if the
card is always visible on the stage, it's harder to do this because
you can't change a movieclips location. Sure you can use wannabe
pointers, but then you get screwed on movie depths because of
parent movie clips.
All in all, it's a huge mess and it should be easier, hence
why I tried to use the forums.
Similar Messages
-
Moving file from one location to other in shell script
HI All,
I am facing one problem in moving file from one location to another location please help me out.
My code is as below :
mv ${file}.log ${DATA_XXX}/../archive/${file}.log_`date +"%m%d%y%H%M%S"`
mv ${file} ${DATA_XXX}/../archive/'abc'.`date +"%m%d%y%H%M%S"`
where file =test1 and DATA_XXX= "k01/aa/in"
please help me on this
ThanksPlease describe the problem. Perhaps you are missing the / i.e. /${DATA_XXX}
-
After restarting my computer firefox is deleted for Windows, when i try to open firefox a message pops up saying the program has been moved from its original location and is unable to run How do I get Firefox on my computer permanently?
I have tried everything I could to fix this, but some things require actually being on Firefox, and since I cannot get on, I cannot click on the tabs to do it. I have even totally uninstalled firefox, and that has not fixed this. I still get the same message that firefox is running and I need to close it or restart (which I have also tried dozens of times). I have removed things like Java, and that has not helped either. If I cannot even get on line in firefox, how can I fix this. I am not crazy about using internet explorer, but right now, it is my only option. I even tried to start in safe mode, and the same message box pops up!
-
I just moved and my iPad location is still showing my old location how do I change that?
I just moved and my iPad location is still showing my old location how do I change that?
That's the problem. A WiFi-only iPad uses a database of router locations to determine location. Unfortunately, the mechanics behind this database are a tightly-held secret. Your location may change to the correct one within a week or two or it may take as long as a year! (I'm not kidding.) Incidentally, it will help if you're within range of other routers. Doesn't matter if you pass data through them and also doesn't matter if they're locked. The only requirement is "within range."
By the way, you will find that, if you take your iPad away from your house, it will report your location more accurately. -
Moving a Movieclip towards its rotation?
Hello!
Basically, what I'm trying to accomplish is moving a movieclip towards the direction it's facing.
I've been scoping around the net for different ideas on how to do it, but I've only found AS2 tuts.
What I've done already is making the movieclip rotate around it's own center when the user presses either the left or the right arrow-key.
What I'm now trying to accomplish is to make the movieclip move forward to the direction it is currently facing when the user presses up and vice versa for pressing down.
Any ideas on how to do this?Yes this I did understand.
But, the thing is, when I set these values, the player automatically spawns in the top left corner?
The thing is.
I still want the player to spawn in the middle of the screen, whilst allowing the player to rotate and move towards the rotation.
How would I solve this with a Keyboard Eventlistener?..
I'm already using a switch(e.keyCode) with the appropriate keyCodes.
Like so:
public function keyDownHandler(e:KeyboardEvent):void
switch(e.keyCode)
case Keyboard.LEFT: player.rotation -= 5; break;
case Keyboard.RIGHT: player.rotation += 5; break;
case Keyboard.UP: player;
The "update" function is exactly like yours, but the thing it is doing now, is setting the players X value in the top left corner.. -
ITunes 10.1.1 moving files to wrong location and then losing connection.
This morning I tried to play one of my albums and it told me it wasn't able to locate the files (on my external disk) so I located them manually and for some reason it has created a new iTunes folder in the root of my HDD (even though the iTunes prefs still pointed at the external disk) and moved the files in to that.
I deleted the album from the library and then imported the files from the new folder. It imported them fine and copied them to the exiting iTunes folder in the ext HDD but then immediately copied them back to the wrong iTunes folder. Then it told me it couldn't find them again!
I've now discovered 4 other albums that it's doing the same thing with and no matter what I do I can't get them to import, stay on the ext HDD and remain connected.
I've re-installed iTunes and restored my library file from before I upgraded to 10.1.1(4) but it's still doing the same thing.
Any ideas anyone?
Message was edited by: jontuckerSame here. Shut off Zumocast and that seemed to solve this VERY annoying and tricky problem. Let's hope that was really it. Thanks for the tip!
-
Moved G5 to new location, airport not working
I just moved my G5 downstairs to the same exact place where I typically use my laptop (powerbook G4). Never had an issue with the laptop recognizing airport and going online, but now my G5 won't show any networks at all and I can't get airport to work.
Is there something I should be changing in the settings or how can I get airport to work on my G5 in the new location?
Thanks much!Hello BDAqua
No problem, I do quite a bit of experimenting with my Macs and find out some weird things, but some are working to my advantage, I always operate my Power Mac G5 without the side panel now, but of course keep the air deflector in place, unless theres company coming over, then I replace the side access panel. Also, there is an antenna inside the G5. It runs along the opposite side of the G5 case behind the logic board to the rear of the case, where the external antenna is connected. So by removing the side access panel, it allows for moderate reception. =) As mentioned earlier though, definitely not as good as the external antenna, but when used without the access panel in combination with the external antenna, it get better reception than my 1.25GHz iMac G4 did. And by the way, this also is true for Bluetooth as well, as I have a Bluetooth Board installed in my G5. =) I loaded my G5 once I bought it (Used).
Regards again. =) -
It appears that many of my tunes have been moved to another "library" so when I sync I am not getting all of the songs on my ipod or iphone. How do I rectify this? tnx
Perhaps this article can be of assistance in locating these lost or missing tracks in iTunes.
iTunes: Finding lost media and downloads
B-rock -
Moving fields from one location to another location?
Hello
I hv developed my_form, having couple of subforms, fields.
They decided to change the layout drastically, pls. let me know How I can MOVE fields as a BUNCH from one location to another location on a DIFFERENT page?
Say, earlier i hv 5 fields together, side by side on a same line/row wrapped in my_sub_form on 2nd page. Now, after they revising they want to see these 5 fields of the my_sub_form on 3rd page, pls. let me,
1) How can i move these 5 fields ALL TOGETHER as a bunch to another location, so that it meakes my life easy? instaed of moving a single single field.
2) or i should move my_sub_form AS A WHOLE? i tried it not giving me a chance of moving as a my_sub_form?
3) Pls. let me know what is Object Tool? where can i see on the form, i did RIGHT CLICK, but, did not see any such Object Tool on the displayed sontext menu?Hi,
Best option would be to select the objects in the hierarchy and then drag them in the hierarchy to the new location. For example if you drag them over a page and release, Designer will place the objects at the end of that page's content.
Hope that helps,
Niall -
How do I open a window at moving button's current location?
I'm creating a flash movie of various fish swimming across
the screen. At the moment I've got each fish as a movie symbol
inside a button symbol whose position moves across the screen as
the fish swims along. When you click a fish I want text to pop up
at the fish's current location telling you about the fish. The text
sits there while the fish continues to swim away and after a
certain time the text disappears.
The fish swims away but the text needs to stays put. If you
click the fish again the same text appears at the new location as
well, so I need to be able to have multiple instances of the text
on screen at once.
What is the best way to make this text appear at the fish's
current location and disappear again after a certain time? In the
long term I'll probably want to make the text appear in a bubble
and have a little picture of the fish as well. The text for each
fish will be different, describing that species of fish and his
habitat, etc.
I've never touched Flash before so any help would be greatly
appreciated.
Which way should I go? Action Script? Behaviors? Listeners
& Broadcasters? Something else?
Any suggestions greatly appreciated! Please help!
I'm using Flash Professional 8.
Thanks,
JohnWell, if you've really got no experience, this may be a
little awkward, but
the answer is yes, it involves ActionScript.
There are several potential solutions, but the basic
principle is to track
the _x, _y coordinates of the fish movieClip when the user
clicks on it.
Then have a dynamic text box that is inside another movieClip
display the
correct text at those specific coordinates. This is not
really a task to
dive into (no pun intended) as a beginner. I'd look into
variables,
functions, and specifically duplicateMovieClip (use this on
the text
movieClip) for starters.
--KB
"Tregithew" <[email protected]> wrote in
message
news:eilkil$se4$[email protected]..
> I'm creating a flash movie of various fish swimming
across the screen. At
> the
> moment I've got each fish as a movie symbol inside a
button symbol whose
> position moves across the screen as the fish swims
along. When you click a
> fish
> I want text to pop up at the fish's current location
telling you about the
> fish. The text sits there while the fish continues to
swim away and after
> a
> certain time the text disappears.
>
> The fish swims away but the text needs to stays put. If
you click the fish
> again the same text appears at the new location as well,
so I need to be
> able
> to have multiple instances of the text on screen at
once.
>
> What is the best way to make this text appear at the
fish's current
> location
> and disappear again after a certain time? In the long
term I'll probably
> want
> to make the text appear in a bubble and have a little
picture of the fish
> as
> well. The text for each fish will be different,
describing that species of
> fish
> and his habitat, etc.
>
> I've never touched Flash before so any help would be
greatly appreciated.
>
> Which way should I go? Action Script? Behaviors?
Listeners & Broadcasters?
> Something else?
>
> Any suggestions greatly appreciated! Please help!
>
> I'm using Flash Professional 8.
>
> Thanks,
> John
>
>
> -
Movieclip - Button - Location on stage
Fellow Gurus!
I am using Flash 8.
I rendered some boxes on the stage. One is for a menu and
another is for graphics. The idea is to have a picture pop-up in
the graphic box whenever one passes a mouse over a button in the
menu (which is in the menu box).
I have added movie clips to each button’s mouse-over.
The movie clips contain a picture (at least for now). Thus when you
pass a mouse over the button, a picture pops up. That is the easy
part.
Now, I could simply reposition the movie clip until it
appears within the graphic box. My problem is – I have a
bunch of buttons and they may or may not be placed in the menu in
exact positions. If I were to change a button’s position, the
movie clip’s position is relative to the button and not the
stage thus it would have to be repositioned as well.
Therefore, the pop-up pictures within the movie clips which
are within the buttons must all pop-up in the graphic box
regardless of where I place or reposition the buttons.
Let’s say I have the graphic box located at x=500 and y
= 120.
Let’s say the button’s name is First_btn.
Let’s say the movie clip’s name is OneTest_mc.
And, I can bring it on stage in order to add an instance name
of perhaps TestOne.
Now, I have looked at localToGlobal and globalToLocal. I am
not sure which one work for my situation.
I am assuming that I can add AS2 to the movie clip’s
(OneTest_mc) timeline – if that is not where it goes - let me
know.
I have looked at the various scripts on the Internet and all
they do is confuse me, namely because they are rotating graphics,
etc. In another words, they complicate the examples. What I need is
a script to add to each button/movie clip to make them all place
the pop-up graphic in the box regardless of where the button is
located.
However, I do not just want a piece of script. I would
appreciate some explanation of the code so I can learn from it
– not just giving me a fish but teaching me how to fish.
Thanks in advance,
BillI am not sure if I get this.
First of all, I am no sure if it is globalToLocal or
localToGlobal that I need to use – or maybe you are
discussing something else entirely.
You said: “… the sum of your button's _x property
and the _x property of your graphic relative to your button) is the
_x property you want to assign your movieclip if you want it to
appear on the same timeline as your button and overlap your graphic
(assuming your reg points are comparable). likewise for the _y
property.”
I read and reread the above answer. However, I do not have
enough of a handle on Action Script to see the logic.
“I am illuminated with darkness,” as Tennyson
might have said. I am assuming that I should figure out how to get
the button’s x & y no matter where it is placed –
and not by reading them as numbers. I guess I need a hint –
how do I capture the button’s x & y coordinates if they
are changeable?
I think this captures the x & y for the button –
have I got it right?
Var point = new Object ();
point.x = First_btn.x; // First_btn is the name of the button
point.y = First_btn.y; // First_btn is the name of the button
OneTest_mc.globalToLocal (point); // OneTest_mc is the name
of the movie clip
If the above script is valid, and it most likely is not since
I haven’t a clue what I am doing, then the movie clip would
end up located where the button is located on the stage.
Thanks for your help past and future as well as anyone
else’s help. -
Quality wrongly scrapped material instead moving to scrap storage location
Dear all,
Material is quality rejected,In QA32
Stock is wrongly issued as scrap(553) ,
It should be moved to scrap yard storage location from quality because it may be reworked,
How to reverse this action ?
Whether it can be reversed throug program mentioned in SAP Note 175842 ?Hi,
If u do not want to apply sap note then just try with
Activate inspection type 05.
& reveser of 553 that is u do 554 movement with T code MB1a .
so that new lot will get generated .
Take result for same & then post it ur desir storage location.
I think it will work for u ,better u try first in devlopmnet.
Regards
SANIL -
Moved desktop to new location in home, can't connect to internet
Quick bit of background- I was using a _PowerMac G4_ downstairs in my house with a _2Wire (wireless modem)_ connection. Upstairs, I had a PC also on the 2Wire. Both connected to the net just fine.
A couple of days ago, the PC died, so I moved the PowerMac upstairs to where the PC was. Now, I am unable to pick up the internet using the 2Wire attachement. The message that I get is: +"Safari could not log in because you are not connected to the internet."+
The other thing that I noticed is that I do not have the AIRPORT icon in the top right of my monitor. Instead of the three or four curved lines, one beneath the next, I am seeing an icon that looks like a telephone receiver. The impression that I get is that either AIRPORT is turned off or that the computer doesn't recognize that it has it installed.
I've tried all of the normal HELP routes:
+- Restarting the modem+
+- Going to Apple icon -> System Preferences -> Network -> (when I get this far, AIRPORT is not listed in the left-hand column as an option, nor is it listed in the drop down for CONFIGURATION).+
+- I click on ASSISTANT but, although AIRPORT is listed, I can't select it as one of the options.+
I tried SBC Yahoo U-verse tech support but they don't have a lot of training with Apple products so I didn't get very far with them.
I recall, when I first placed the G4 in its original location, I had a similar problem. I was able to resolve it through U-verse tech support after a bit of time. I wish that I could remember the details, but I think that it had something to do with the version of OS X that I had not recognizing AIRPORT and having to perform some sort of cheat. (For the heck of it, I tried U-verse support a couple of times hoping that maybe the next tech that I got might know about this issue, but no luck so far).
Does anyone have any ideas or suggestions?
*PowerMac G4*
*OS X 10.5.8*
*Wireless Connection through 2Wire Gateway 3800 HGV-B modem*Three tips that may help out in your situation:
• Your Airport card might have a loose connection; open your tower and make sure the card's properly connected; if the airport card itself is malfunctioning, replace it with a new one; otherwise, you won't be able to add a preferred network name in Apple pulldown/System Preferences/Network.
• Consider getting a better modem/router (e.g., 7550 ADSL2+Gateway); from what I understand, the 2-WIRE routers are based on older, less reliable technology.
• Make sure the security protocol's set to WEP; that's the only protocol that the Airport card in a PowerMac G4 can understand. If you try to set the security protocol to WPA, the handshaking between WPA and the Airport card will fail and your computer won't be able to join new networks. In short, WPA's not backwards-compatible with PowerMac G4s; it's only compatible with the newer Intel-based Macs, which, by the way, are more flexible than PowerMac G4s in that they can communicate with a broader range of security protocols, including WEP and WPA.
Good luck.
applegala530 -
Program is moving pictures to strange locations
How can I stop the program from automatically moving my pictures to strange locations when I edit them? They used to appear right next to the originals.
Hi,
Are you talking about editing after PSE Editor or Fixing images in Organizer ?
For Editor Please check this Prefernce settings should be On - to save as on the source folder. -
Moving my Feed.xml location
I am in the process of moving my website to a new location. Everything is ready to go, the podcasts are uploaded but I can't figure out how to get it to change in iTunes. There's no way to report a change in location and I don't want to remove it due to the amount of listeners I already have subscribing to it. Can someone clue me into how to make this happen??
My new feed is:
http://kingscasthockeypodcast.com/podcast/feed.xml
My old feed is:
http://www.kingscast.net/KingsCast/KingsCast/rss.xml
(I am moving my domain name as well but the new feed will always work.)
Thanks in advance for the help!Here's what I did a couple of years ago when changing domain names for the podcast I produce. I took advantage of Apache's .htaccess feature to tell podcatcher software on subscriber's computers that the URL of the feed had permanently changed. This assumes that you have ftp access to the old domain's server, and that it's running Apache (other web server software probably has a similar feature).
When the move needs to happen I created a .htaccess file containing the line:
Redirect 301 /feed.xml http://www.newdomain.com/feed.xml
and uploaded it to the old domain's public_html folder. The "Redirect 301" means that the URL http://www.olddomain.com/feed.xml is permanently redirected, so iTunes will update the feed URL the very next time that it "hits" the old URL (during a refresh of the feeds). This should also work for other podcatcher software.
Also, the iTunes Store will automatically change the URL that new listeners subscribe to the very next time it checks your feed.
There is a special tag for iTunes mentioned in the tech specs for telling iTunes about a new feed location, but with the Redirect 301 method you won't need to use it. (The iTunes way would only work for iTunes subscribers, not for those using other podcatching software.)
Cheers,
Greg.
Maybe you are looking for
-
Open letter to Nokia about the original N95!
Hi there, hope this message gets to the high-level employees of the company. Why on earth would you people in R&D develop a full fledged computer, the flagship of Nokia Nseries phones, that can fit in the palm of your motherloving hand, and only incl
-
The website is secure, but my card reader gives me extra security and also any changes I need to make online, i must use my card reader and firefox will not let me. what do i do?
-
Looking for a manual to Maverick Server. Where can I find it?
Looking for a manual to Maverick Server. Where can I find it?
-
Multiple videos playing on multiple projectors from a G4 15" titanium
I want to play multiple DVD or Quicktime videos from my laptop or a MediaGate on multiple video projectors. I found an S-Video and a VGA distribution amplifier and I'm trying to decide which to go with. If I use the S-video I can connect the MediaGat
-
Hi gurús, I would like to change in massive way the materials unit of measure.But the unit that is in the additional data botton, in MM02. It is possible to do with MM17? Regards Enzo