Loaded .swf In Wrong Place
hello, i have saved "TestClass2" and "one.swf" in the same folder, and made TestClass2 the class of a movieClip within "one.swf". On the last frame of the timeline of "one.swf", I have a boolean variable called endFrame, which the function onEnter is listening for.When endFrame = true, the loader loads in "two.swf", but it is not directly on top of "one" as I had hoped. Please, what am I doing wrong? Is my strategy at all correct in general? Thank you.Attach Codepackage {import flash.display.MovieClip;import flash.events.MouseEvent;import flash.events.Event;import flash.display.Loader;import flash.net.URLLoader;import flash.net.URLRequest;public class TestClass2 extends MovieClip {public function TestClass2() {init();}private function init():void {this.stop();this.buttonMode = true;this.addEventListener(MouseEvent.MOUSE_DOWN, onClickFrame);}private function onClickFrame(event:MouseEvent):void {trace("clicked frame");this.play();this.addEventListener(Event.ENTER_FRAME, onEnter);}private function onEnter(event:Event):void {trace(endFrame);if (endFrame == true) {removeEventListener(Event.ENTER_FRAME, onEnter);loadTwo();}function loadTwo():void {var imageRequest:URLRequest = new URLRequest("two.swf");var imageLoader:Loader = new Loader();imageLoader.load(imageRequest);addChild(imageLoader);//this is where the new .swf is loaded, but in the wrong x, y}}}}Edited: 06/08/2008 at 04:53:59 AM by yarkehsiow
Adobe > ActionScript 3
Posted on: 06/07/2008 03:25:57 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Maybe The Wrong Place...?
Maybe an off topic question, but I'll try anyway. Hopefully someone have some time to explain what's really going on here. I'm trying to figure out how this menu works but can't seem to quite understand it. Maybe just a short guide and I will be forever grateful!
Code:
import com.mosesSupposes.fuse.*;
ZigoEngine.register(Fuse, FuseFMP, PennerEasing);
ZigoEngine.simpleSetup(Shortcuts);
// VARS
// Height of items
var spacing:Number = 20;
// Speed of menu
var speed:Number = 1;
// Easing
var ease:String = "easeOutBack";
// MAINMENU
var mm_array:Array = ["MAIN 1", "MAIN 2", "MAIN 3", "MAIN 4"];
// SUBMENU
// Sub 1
var sm1_array:Array = ["sub 1", "sub 2"];
// Sub 2
var sm2_array:Array = ["sub 1", "sub 2"];
// Sub 3
var sm3_array:Array = ["sub 1", "sub 2"];
// Sub 4
var sm4_array:Array = ["sub 1", "sub 2"];
var submenu_array:Array = [];
// FUNCTIONS
_global.$tweenManager.broadcastEvents = true;
// Main menu
function createMainMenu() {
var a = 1;
var total = mm_array.length;
while (a<=total) {
ypos = ((a-1)*spacing)+1;
attachMovie("mainnav_mc", "mainnav"+a+"_mc", this.getNextHighestDepth()+100, {_x:0, _y:ypos});// attach the movieClip
var nc = this["mainnav"+a+"_mc"];
nc.menutext = mm_array[(a-1)];// set the title text for each button
nc.itemnum = a;// set the menu #
a++;
}
}
function moveMenu(num) {
if ((_root.collapsed == true) || (_root.selectedmenu != num)) {
var array = "sm"+num+"_array";
var totalsm = eval(array).length;
var totalmm = mm_array.length;
var a = 1;
while (a<=totalmm) {
mc = this["mainnav"+a+"_mc"];
if (a>num) {
var ypos = (((a-1)*spacing)+1)+totalsm*(spacing+1);
mc.tween("_y", ypos, speed, ease);
} else {
var ypos = ((a-1)*spacing)+1;
if (a == num) {
nypos = ypos;
mc.tween("_y", ypos, speed, ease, 0, onEnd(num, nypos));
} else {
mc.tween("_y", ypos, speed, ease);
}
}
a++;
}
_root.collapsed = false;
} else {
contractMenu()
_root.collapsed = true;
}
}
function onEnd(num, nypos) {
_root.num = num;
createSubMenu(num, nypos);
}
function contractMenu() {
var c = 1;
while (c<=submenu_array.length) {
removeMovieClip("subnav"+c+"_mc");
c++;
}
var g = 1;
while (g<=mm_array.length) {
ypos = ((g-1)*spacing)+1;
this["mainnav"+g+"_mc"].tween("_y", ypos, speed, ease);
g++;
}
}
function createSubMenu(num, nypos) {
var array = "sm"+num+"_array";
var totalsm = eval(array).length;
var ypos = nypos;
var c = 1;
while (c<=submenu_array.length) {
removeMovieClip("subnav"+c+"_mc");
c++;
}
submenu_array = [];
var a = 1;
while (a<=totalsm) {
ypos = ypos+spacing;
attachMovie("subnav_mc", "subnav"+a+"_mc", a+30, {_x:0, _y:ypos});
nc = this["subnav"+a+"_mc"];
nc._alpha = 0;
nc.itemnum = a;
nc.menutext = eval(array)[(a-1)];
nc.alphaTo(100, 2);
submenu_array.push("subnav"+a+"_mc");
a++;
}
}
// Over & Out on buttons
function over () {
this.tween("_x", 2, .5, 'easeOutExpo');
}
function out () {
this.tween("_x", 0, .5, 'easeOutExpo');
}
// BUILD MENU
_root.collapsed = true;
createMainMenu();
// MAIN BTN
var mainNbr:Number;
for (mainNbr = 0; mainNbr<=mm_array.length; mainNbr++) {
var mainBtn = this["mainnav"+mainNbr+"_mc"];
mainBtn.mainBtnText.autoSize = "left";
mainBtn.onRollOver = over;
mainBtn.onRollOut = out;
mainBtn.onRelease = function() {
trace (this.itemnum);
moveMenu(this.itemnum);
_root.selectedmenu = itemnum;
}
}
// SUB BTN
this.onEnterFrame = function() {
if (itemnum == 1) {
this._y = this["mainnav"+_root.num+"_mc"]._y+spacing;
} else {
this._y = (this["mainnav"+_root.num+"_mc"]._y+spacing)+((spacing+1)*(itemnum-1));
}
}
Movieclip In The Wrong Place
Why is my movieclip at top right corner? It needs to be in the middle of the stage. I have the following code place on the movieclip:
Code:
onClipEvent (load) {
loadMovie("AutumnRetirementVillage.swf", 20);
}
On 1st Click Go To Wrong Place
I have a bug that happens on Windows only (on Mac works fine). In my first screen there are two links that on first click they go to the wrong frame (both the same wrong frame).On second click they will go to there correct individual places. (I have two other links in another part of page that work fine). I am using Flash MX.
Any Ideas?
Text In The Wrong Place
I have a number of text boxes, some of which are scrollable and others that are not. When the scrollable boxes are viewed in a browser the text are moved over to the right. Completely outside the boarders of the boxes. Can anyone help.
Dot Thingy In The Wrong Place....
it may not seem liek taht big of a deal...but this little dot thingy isnt where it is supposed to be, and its causing my movies to screw up when i copy and paste frames with script in them....
i have attached a picture of the dot thingy im talkin about...lol theres a red circle over the dot, and a red circle where the dot SHOULD be...can anyone tell me why this is happening and how i can fix it?
Draggable Obj For Right Or Wrong Place
I want to put the object to a right place. But it doesnt really tell you false if it move the section between correct and wrong place.
What script should I add to prevent this problem?
[F8] Why Is The Graphic In The Wrong Place?
I'm sorry. This is a very stupid question, but I've never experienced this. I placed a graphic symbol on the stage at 0,0. When I test it, it shows at a different coordinance. I can't figure out why. I've attached the fla, if someone can tell me what is happening, I'd appreciate it.
Changing the Registration/Transformation point makes no difference (what the $%#&^ is that for?).
I'm very frustrated. Please relive my pain.
Maybe I Posted In Wrong Place ?
http://board.flashkit.com/board/showthread.php?t=752273
um, maybe I posted in wrong forum...I am not getting much response there, and I really need some help...I know its a lot to grasp...but I think what I am trying to do is pretty simple if someone could help me boil it down...I think if I can get this one I'll have a better understanding of code overall...I can see the top but it is still a bit further...everyone said this was the place to ask about flash...well, dont want to bug anyone, so laters.
External Swf In Wrong Place
I have finally figured out how to call an external swf file (shouldn't have been as hard as I made it) Nonetheless, when I preview is, besides getting a bunch of errors about sandboxes, the external swf file is not anywhere close to where I placed the movie clip loader? Thanks for any help anyone can provide...
Attach Code
loadMovie("http://www.littlestsimonsisland.com/3.swf",loader);
External .swf Loads In Wrong Place?
I'm making a site that loads external .swf files into an empty movie clip. this is the action attached to each of the buttons...
on (release) {
loadMovie("folder/name.swf", _root.container_mc);
}
the files are loaded fine. the issue is that while the empty movie clip (container) is positioned where i want the .swf's to load on the stage, they actually load much farther down and off to the right. why is this happening and how can i fix it??
thanks!
Clint
Preloader Jumps To Wrong Place...
Hello all... I hope you can help!
I found a preloader tutorial (Advanced bytes-loaded Preloader) here at FK and copied it as I needed... The preloader seems to work fine & dandy... Its the place it jumps to, after 100% loaded, that's odd... It is set to simply go to the next scene. It does go to the next scene, but it seems to jump to Frame 45, instead of starting at Frame 1. Is anyone willing to look at my .fla (I'd rather send it to someone, instead of posting it)? Or maybe I've mentioned something and you already know what my problem is?
All help is greatly appreciated!
~Vik
Help - My Movie's In The Wrong Place On The Stage
I've just spent 8 hrs on my first flash website and the whole thing seems to have suddenly moved to the right of the stage and when I test the scene, I can only see the left hand side of it...
I'm sure it's a really stupid thing I've done, but it's driving me mad as I can't find anything about it on the help anywhere - can anyone tell me if I can reposition it?
Many thanks,
Carole
Sound Starts In The Wrong Place?
I'm creating an animation and i have two scenes. In my second scene, 5 frames in I have added a sound, and subsequent to that i have more sounds on several layers as the animation progresses. When i play this is flash it all seems alright, but when i exprt it as a .swf the sound in my second scene starts to play about 3 seconds in from the end of the first scene, and drags all subsequent sounds with it. I don't have a clue what has happened?
Anybody able to help me?
Loading Movies In The Wrong Place
This is a related question to the one I just posted about getting rid of the "click here" to get rid of the dotted lines issue. I have a portfolio site so I need a long scrolling swf for the pictures. But for the rest of the site - bio page, contact page etc. I need a short swf. I am loading movies into level 1 for the big versions of the thumbnails and I could load the other swfs, for contact, bios etc. into level 0 and thus get rid of my dotted line problem. But, since the portfolio page is so long, what happens is that the swf I load to replace it on level 0 gets centered way down the page and the viewer doesn't even know it is there it is so far down. Is there any way to force the new swf to be at the top when it loads? Thanks.
Movieclip Appearing In Wrong Place
I am currently making a simple flash game in flash 8. Its a basic game where the player controls a character walking around and can move to a different areas. Each area is a different frame.
The problem Im having is that on the move to the latest area Ive done the player movie clip is always starting on the left side of the stage reguardless of where ive placed it myself, ive not had this problem with other areas and done (where the player is always starting on the right side)All the actionscript is the same for each frame so i am totally lost. This is the first game I have attempted to make in flash
Audio Clip Plays In Wrong Place
On my main timeline I have a MC called logo
within this MC, I have another MC called lightning placed on frame 99. At the end of the MC lightning, I have this code:
_parent.play("portfolio2"); stop();
which sends the viewer to a frame labled "portfolio2" (frame 100)
On frames 100 - 109, I have another MC with several buttons. The problem is that a few of these buttons, not all of them, when pressed, trigger the audio clip from the MC lightning that sits solely on frame 99. The buttons do not exist on frame 99 and the MC does not exist on any frame higher than 99.
How can I keep this audio from triggering when the buttons are pressed?
Thanks
Link Inside Movieclip Goes Wrong Place
Hi,
I'm using Flash MX and I've got an issue with my menu. The thing is, when you put the mouse over the menu, it rolls out (see code on screenshot #1)... but when I make more than one button in that movieclip, it all goes to the same place. So if I got one button linked to "one", and a different button linked to "two", they both end up going to "one"... see my case?
I would be most grateful for any help. Please look at the screenshots.
Screenshot #1 Screenshot #2
Cheers!
External Swfs Load In Wrong Place
Hi yerr. so i use loadMovie(); to load an external swf to a movie clip that already exists in my main movie. I put this movie clip in the place that I want the swf to load, but when the swf loads it loads below and too the right of where I want it! How do I solve this?
External Swfs Load In Wrong Place
Hi yerr. so i use loadMovie(); to load an external swf to a movie clip that already exists in my main movie. I put this movie clip in the place that I want the swf to load, but when the swf loads it loads below and too the right of where I want it! How do I solve this?
Multiple Txt Files, Scrollbar In Wrong Place.
I'm loading a new text file into my dynamic text field everytime the user clicks one of three buttons. The problem occurs when you scroll down. If you then click another button to load the new text the damn scrollbar stays where it is, leaving the new text half way down instead of the scrollbar starting at the top.
Anything I can do to make the scrollbar start from the top everytime a new txt file loads?
Preloader Sends Me To The Wrong Place Frame In My Scene
I have a preloader and it for some reason seens me to frame 110 instead of frame 1 in the next scene!!
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes/1000);
totalkbytes = Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
gotoAndStop("introduccion", 1);
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop(_root.frame);
}
am more then willing to email anyone the movie if they need me to.
Calling Lingo In Flash And Jumping To Wrong Place
Hello all,
I'm working on a Director project that has flash buttons to navigate through a part of it. I'm using this script, in my Flash MX movie, for example:
on (release) {
getURL('Lingo:go to frame "Photo Gallery"');
}
This is all well and good but it seems to behave randomly. In some cases, it links correctly but in other cases, it links to a spot 20 frames ahead of the marker. I went back in and used the frame number istead of the marker name:
on (release) {
getURL('Lingo:go to frame 1940');
}
and it still advanced too far. It's so bizarre.
Has this ever happened to anyone else? Does anyone know how to combat this?
thanks,
jessicuh
How Can I Pause A Nested Movie Or Is The Code In The Wrong Place?
I have a nested movie that is called by the following function.
function test(){
_root.createEmptyMovieClip("container",25);
loadMovie("images/5_28.swf", "container");
container._x=15;
container._y = 95;
}
test();
On the base movie I have three control buttons for play, pause, and rewind.
The play and the rewind work like a gem on the nested movie, but the pause button does not work when selected and the nested movie just keeps playing. The following is the code that is used.
on (release) {
stop();
}
on (release) {
this._parent.stop();
this._parent.container.stop();
}
Does any one have a suggestion on how to pause the nested movie ???
Flash Stops In The Wrong Place When Passing Parameters
Hi,
I have a Flash movie that has about 8 frames. The movie is a menu bar, where each frame shows a different menu item highlighted. Each frame has a name (label).
The .swf file is passed a paremeter in the query string called 'current_menu'. The first frame in the movie has a script which moves to the frame that has a label that matches the value of current_menu.
So if I pass 'company' in current_menu, the script will gotoAndStop('company').
But in some browsers (e.g. Firefox & ID PC), the movie stops in the first frame, even though the parameter has been passed.
It seems to work fine on the second attempt for each of the menu items. So the first time I visit the company page, the menu item is not selected, but the next time I go there (or refresh), it IS selected.
Any ideas? Is it some sort of cache problem? Would appreciate any help on this as it looks like some sort of bug?
Using Flash MX 2004.
How To Place The Loaded Movie....
How can I place a loaded movie inside a movieclip using the load movie comand. It loads but even when I move the movie clip around the movie still loads in the upper left corner....?
Place The Loaded Flash File
hi there,
is there a way to place the loaded swf file?
1. I have two swf files. ( SWF_1 & SWF_2 )
2. There is a link in SWF_1
when I click the link in SWF_1, I want to load SWF_2 in and place it on x=300 y=300
I used the action script below to load the external flash, but how can I place it on on x=300 y=300
loadMovie("swf_2",10)
Thanks
What To Use In Place Of _root. When A Movie Is Loaded In Another
I have several movies that use _root. such as:
_root.createEmptyMovieClip
or
_root._xmouse+dragOffsetx;
I need to load these clips into another movie. Those movies' _root. is no longer _root.
What can I use in the place of _root. in these cases?
I tried to path to these files but it didn't work:
example:
_root.myMovieClip._xmouse+dragOffsetx;
?
Thanks
How To Place The Loaded MC In The Center Of My Scene ?
hi all
i used the load movie to load a MC inside my scene so
how can i from the setproperty or any thing to place my loaded MC in the center of my scene
asumming that the scene with 790 width and 550 height
i used this code
Code:
this.createEmptyMovieClip("logo_mc", 999);
loadMovie("gallery.swf", logo_mc);
setProperty("logo_mc", _x, 10);
setProperty("logo_mc", _y, 40);
it is work fine but when i maximize the swf it placed on the left upper corner
so i want it related to my scene size at the center of it
Loaded External Swf In Define Place With AS3
Dear Friends
any one guide me how to call my external SWF file in my animation at my specify location
i have all ready developed 1.swf, i need to call 2.swf in my 1.swf,
for that i have to use flash player 9 and action script 3.0 due that 2.swf is developed in flex.
pl. guide me...
Keep Current Swf Visible, Until A New Swf Has Loaded Into It's Place?
I've got a holder movie clip where I can load different swf's into, by clicking buttons. I'm using the MovieClipLoader.
Because I'm going to use a loader layer (showing percent completed of download) with alpha to it, I don't want the current swf to dissappear until a new swf has completed loading. If I could get this working the current swf would show through the alpha layer untill a new swf is loaded.
How can I achieve this?
This is a part of the code I'm using now:
Code:
button1.onRelease = function() {
loader._visible = true;
mcl.loadClip("swf1.swf",holder);
}
button2.onRelease = function() {
loader._visible = true;
mcl.loadClip("swf2.swf",holder);
}
When I use the code above, the current swf dissappears imediately when a button is clicked and a new swf begins to load.
I could use more than one holder, but then how would I know which one I'm currently using? ... and there must be a better way to do it.
Thank you.
How To Place Images Inside Dynamically Loaded Text
I'm wondering if anyone could advise me on how to place images inside dynamically loaded text.
I have a textfield loading text from an external file - I'd like to have images wrapped in the text, like any html page - any ideas?
I tried using html <image> tags to mark up a layout, but flash doesn't really support html, not really, they say they do, but really they only support <a> and a few other tags - woot!
Thanks!
[F8] Loaded Swf Wrong Size
Dear All
I want to load a swf into a loader componant. I want it to be half size on the stage. I have been having problems getting it the right size.
I drag the loader element onto the stage, and set its size to 200x142 (which is half size). I then set the path and the resize in the parameters.
WHen I test it comes out twice as big - ie back to normal. If I set the size to 400 x 284 it comes out twice as big again ie around 800px.
ISo in the end I went with 100X 71 option and published inside a html page the first time it loads its tiny tiny and then if you press F5 it reloads but the correct size (ie 200X142 - half size - which is what I want...)
Help!!! What's going on.
the offending beast can be viewed at http://www.ee-web.co.uk/indexLoader.html. Press on the link "joseph storehouse". its the tiny slide show that appears half way down on the left.
would really appreciate any help
Thanks
Edward
What's Wrong With This Code For Checking To See If A Txt Has Loaded?
I'm loading a text file and then if it has loaded, it looks for a variable within it. if that variable is there, it goes to frame 'load'.
Quote:
onClipEvent (load){
this.loadVariables("info.txt");
loaded = false;
}
onClipEvent (enterFrame){
if( loaded ){
if (trigger == "yes") {
gotoAndPlay("load");
}
}
}
Mp3 Being Loaded, But Playing At Wrong Rate
I have an mp3 being loaded into a Flash file that once played its playback is the wrong speed. The file is not set to playback on a timeline, but to stream from AS 2.0. One mp3 is playing back super slow and a different one is playing super fast. This is happening locally on my machine, so it isn't a streaming problem. Anyone have this happen before?
Paste In Place Between Movie Clips Is Not In Place Re The Stage
Hi,
I realize that pasting in place between movie clips is referening the registration point in each separate movie clip and that is why they don't align to the stage properly. So is there any way to turn this off?
Can I make my shapes align to the document stage size no matter what movie clip I'm in? Also, can the paste in place be made to paste in place always relative to the stage?
Thanks,
Stan
Button Controlling Frames In A Loaded .swf Wrong...
hey everyone, in my newest project i have a main template that has navigation buttons, and in the main part of the movie it loads an external .swf into an empty movie clip. the buttons in the main movie are designed to tell the loaded swf to go to the correct frame label to display the right information. this works (my actionscript is something like on(release){ _root.container.gotoandStop("home"); } and it works basically. however if the movie is at the frame that you want to go to, when you click that button, it skips to the next frame label. it should, however, do nothing because you are already at that frame label. but for some reason, if you click the button of the page you are already at, it will send you to the next label. then at the next label if you hit that button again it will send you to the previous one. whats goin on here???
-ange52
What Is Wrong With This Code Checking To See If My Txt File Has Loaded?
loading a text file and then if it has loaded it looks for a variable. if that variable is there it goes to frame 'load'.
Quote:
onClipEvent (load){
this.loadVariables("info.txt");
loaded = false;
}
onClipEvent (enterFrame){
if( loaded ){
if (trigger == "yes") {
gotoAndPlay("load");
}
}
}
Loaded MP3 Plays At Wrong Speed, Help Needed
Hi,
I'm trying to attach a sound loop to a flash-site.
Code I'm using is here:
var playing = 0;
mySound = new Sound(this);
mySound.loadSound("sound.mp3", false);
mySound.onLoad = function(ok) {
if (ok) {
mySound.start(0, 999);
mySound.setVolume(50);
//set playing true
playing = 1;
}
};
It actually loads the track but plays it at higher speed or some other tracks, I've tested, at lower speed. I'm out of ideas, can someone give a bit of advise, please...
Thanks,
[AS] MX: Wrong Refs In Loaded Swf That Loads Text?
Last edited by feynman : 2005-08-19 at 05:28.
Hi,
I'm loading various external swfs into an empty mc depending on a menu selection. All these external swfs load 1 .txt-file and 18 .jpg-images dynamically. These external swfs work very well on- and offline (if tested on their own), once they're loaded into the empty mc of the main swf, the text doesn't show up anymore - but the images do. Here's how each external swf loads the .txt-files into the appropriate mc "tc":
ActionScript Code:
var loadText = new LoadVars();
//
loadText.onLoad = function(loaded) {
if (loaded)
{
loadedText = this.loadMe;
defineTextFieldFormat(tc, "text_txt", true, false, null, true, true, false, null, "dynamic", true);
tc.text_txt.text = loadedText;
//
textStyle = new TextFormat();
defineTextFormatObject(null, 0xFFFFFF, "copy_condensed_plain", 1, 5, 5, 8);
tc.text_txt.setTextFormat(textStyle);
}
else
{
tc.text_txt.text = "****e, file didn't load!";
}
// var dummy = tc._height;// <- affects the proportion of the scrollbar
sbHeight = Math.floor((tfHeight / tc._height) * 100);
//
if (tc._height > tfHeight)
{
createScrollBar(sbWidth, sbHeight, sbDistance, sbLineColor, sbFillColor);// <- creates a scrollbar if necessary
}
delete ("loadText");
};
//
loadText.load("../text/testtext.txt");
ActionScript Code:
tf = this.createEmptyMovieClip("textFrame_mc", this.getNewDepth());
tf.drawRectangle(0, 0, tfWidth, tfHeight, tfBackground, 100);
//
tf._x = tfxPos;
tf._y = tfyPos;
//
tc = tf.createEmptyMovieClip("textContainer_mc", this.getNewDepth());
tc.createTextField("text_txt", this.getNewDepth(), tc._x, tc._y, tfWidth, tfHeight);
//
tm = tf.createEmptyMovieClip("textMask_mc", this.getNewDepth());
tm.drawRectangle(tc._x, tc._y, tfWidth, tfHeight, null, null);
//
tc.setMask(tm);
What am I doing wrong? Wrong use of "this"? Can't be, because the mc "tf" shows up?! Any ideas someone out there?
PS: Even if I hardcode the tc.text_txt.text = "rubbish"; it does not get displayed in the loaded state...
Thanks for a reply!
Place, Rotate And Check If The Place Is Free
hi,
I want develope a mini game like:
www.medienanfall.de/mix.swf
most important thing is in this game to place the elements in a free space so I have to check if the place is free or full. another problem is if I found a free place for the card I have the possibilty to rotate the card but only if the places on left,right,top or bottom are free. I believe this is the most diffulcult thing in my application.
I hope I could explain it with my terrible english.
I am looking for some tuts or inspirations. could somebody tell me
where I can find somthing similar?
Movie Starts Before It Is Fully Loaded, Look At My Script , Tell Me Whats Wrong.
My preloader doesent work, My movie is like 2.5 MB large, and starts before the movie is 100% loaded which causes misguiding in the buttons in the main page, I have many frames in the preloader and in each frame I have this script:
ifFrameLoaded ("intro", 175) {
gotoAndPlay("preloader", 2);
}
For each scene, what is wrong with my script??
thanks Zain..
How To Zoom In And Change From Place To Place
Hello, im fairly new to flash MX 2004 and i am currently working on animations.
Feel free to explain it to me in Actionscript or any other way. Here is my question:
For example. A man is walking in a town. This man then reaches the end of the stage (in your fla. work place), what is a way to show the new backround? make a new keyframe right after with a new background? or is there an easier way.
Another thing, how can i have like im a camera type view, and move around showing diffrent things in the backround (while moving left lets say)
Last thing.. zooming in, how can i do it with a picture backround from the internet?
thanks
Sending A Shape From Place To Place
How would i send a shape or movie clip from its current position into a specified place in another movie clip somewhere?
basically i want to make it so that if you click a circle, it will disappear and get sent into a movie clip at this destination: _root.skillsanditems.slot1
any ideas?
|