Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
***This is only for experts in Flash MX 2004 or Flash 8***. I'm having a challenge with loading a movieclip.
If you check out my test site:
http://www.geocities.com/sloe3d/Omni1test/site2/in...
you'll see that my preloader works great.
I'm using the MovieClipLoader to load external SWFs into a movie clip. Simple code. When I click a button this is the code.
...
menubar.buttonbar.butn1.onRelease = function() {
holdbox._x = 200;
holdbox._y = 170;
loadbox._visible = true;
mcl.loadClip("swf_01.swf", holdbox);
}
menubar.buttonbar.butn2.onRelease = function() {
loadbox._visible = true;
mcl.loadClip("swf_02.swf", holdbox);
}
menubar.buttonbar.butn3.onRelease = function() {
loadbox._visible = true;
mcl.loadClip("swf_03.swf", holdbox);
}
...
My problem is the movies I load into my holder "holdbox" are not centered. They're top-left is aligned to the centre of the main movie. How can I fix this? I think it's a setting in Flash but I'm not sure. Can someone please advise me. I'm on a tight deadline. If it helps I got the original code from: www.gotoandlearn.com
3 Answers
- 2 decades agoFavorite Answer
In the external swf files you create and load later to the main movie, you have to set them to appear in centre.
Makiavel
- Anonymous2 decades ago
Flash aligns to top left by default.
Once the swf has fully loaded you need to gets its width and height
With those values you can then adjust the x,y values of the swf to get it centered.
There is no setting to do this. It must be done with actionscript.
- ?Lv 45 years ago
ANVSOFT Flash to PSP Converter is a effective application that convert Macromedia Flash SWF information to MPEG-4 information which comprise action picture clips, action scripts and audio interior the Flash video clips. that's designed to transform Flash SWF to MPEG-4 format playable on Sony PSP. With Flash to PSP Converter , you could easily turn your Flash video clips into memorable initiatives on your cellular gadgets which includes Apple iPod, Sony PSP and Pocket desktops to proportion with acquaintances and family individuals.