Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








What Happen With This ? I'm Getting Ill


I use a loadMovie to load a movie call "Items2.swf".
"Items2" was made in two parts, in its main scene the timeline stops till certain mouse event occurs, when it occurs, the timeline goes to run in _root.blow, "blow" is a 'sub-movie' of the main (Scene1). Of course, I tested the entire movie "Items.swf" alone and it worked cool !!!.
The Problem: I am making a new movie in which I want to load "Items2.swf", I write
loadMovie ("Items2.swf", "spin");
well
I test the movie and you guess what?, all is cool till the mouse event required happen, "spin" don't continue playing!.
What am I doing wrong ??, please HELP!.
Thanks.




FlashKit > Flash Help > Flash ActionScript
Posted on: 03-04-2002, 04:07 PM


View Complete Forum Thread with Replies

Sponsored Links:

Have You Ever Seen This Happen?
Hi All!,
I am working with a file that loads a new .swf ontop of itself ( level1). And once this happens. The goto commands on buttons on level0 stop working. Has anyone ever seen this happen?

on frame one of level0:

logoover = "false";
gotoAndStop (4);
loadMovieNum ("slider.swf", 1);

on the buttons in level0:

on (release) {
gotoAndStop (3);
}
getURL ("sections/news.html", "info");
}
Thanks in advance!!!!!!!!!!!!>>>>-VineZ®øçk
[Edited by VineZ on 08-07-2001 at 03:48 PM]

View Replies !    View Related
Why Does This Only Happen In 5? HELP
Hey everyone. I'm having a big friggin' problem with Flash 5's "tell target" and "with" action. In Flash 4, it always just works, but something about 5 glitches and it sucks it.

Here's the deal...
4 scenes. Preload and 1, 2, and three. Inside 1, 2, and 3 is the exact same movie clip with a sub menu that allows a user to jump from scene to scene.

I try this:

on (release) {
play ();
tellTarget ("_root") {
gotoAndPlay ("1", 17);
}
}


No dice. What happens is the movie just resets at frame 1 in the preload. I don't get it. Then I try it with root, and alter the absolute and relative options in the targeting just to see if makes any diffference.

I also used stuff like this:


on (release) {
play ();
tellTarget ("/") {
gotoAndPlay ("2", 1);
}
}

Still, restarts the movie at scene 1, frame 1.

Has anyone else encountered this? Is there perhaps a stronger code for jumping from scene to scene? Does my code need modified?

Thanks.

View Replies !    View Related
Why Does This Happen?
When i load a swf file on level 1 or any level the audo seems to be disabled. Whats the problem.
thanks in advance.

View Replies !    View Related
Why Would This Happen?
I've created a movie. When I "Play" the movie while in MX, it works fine, all the buttons functions perfectly and everything appears.

When I "Test" the movie, or when I publish the movie, one button doesnt appear and another appears, but doesn't function...even though it does when I "Play" the movie in MX.

Any idea whats going on?

View Replies !    View Related
Why Does This Happen?
Quick question here:

I moved to XP pro and now I can't seem to view .swf movies by themselves. I use to be able to just click on a .swf file and it would just open. now I get the dialog box that reads that it can't open the file.

this is the box: http://www.kirupaforum.com/attachmen...=&postid=36058


any help would be apprciated!

View Replies !    View Related
Bug? Anyone Have This Happen?
Ok, first, Flash MX rules! Plain and simple. So the section that follows in no way implies that I'm not happy with the interface. That couldn't be further from the truth.

I've been having a buggy problem in MX since I started using it about a month ago. The scrollbar for the "timeline" area sometimes is inoperable and takes on a look of an image I had been working on in Flash, rather then the soft blue "XP" scrollbar look. Once it does that, I have to click on any layer item, hold down CTRL, and use the scroll button on my mouse to navigate my layer items. I have fixed this by saving and closing, but then it does it again a few minutes after I reopen the file (or Flash MX by itself). If this happens again tonight, I'll see if I can get a screenshot of it to post here so you can see what I mean. Until then, does anybody have any idea what I'm talking about? Is something similar happening to you? I'm running MX at the required resolution, so it can't be that. Any advice appreciated!

View Replies !    View Related
Does This Only Happen To Me?
Hey, I made an ASP to work with flash and database, it worked just fine. I decided to make one more variable..BOOM it doesn't work, so I delete it...OMG my old code doesn't work anymore.

So, all I did was type about 10 characters, then deleted it and ASP doesn't work. Can anyone give me an idea why or has it happened to YOU?

View Replies !    View Related
How Does This Happen?
http://www.taigkhris.com/

I am trying to figure out how his pictures stay in the center of the screen when I change my resolutions. Would anyone be so kind as to take the time to explain this to me. Keep it easy but thourough

View Replies !    View Related
Why This Happen ?
Hi all!

i've got an mc that load external php text and when loaded the text is display ... it work well but sometime, the text doesn't appear ... guess sometime that flash haven't time to get external text.

But can someone help me to make a script so i'll be sure that text will always be show.

frame 1
code:
Get External Source
poll = new LoadVars();
poll.load("php/poll.php?nocache=" + random(65000));
poll.onLoad = function (success){
if (success){
_root.modHolder.primary.contentLoad.gotoAndPlay("l oadExit");
}
}



frame 10
code:
//Title Month
with(scrollmc){
createTextField("xMonth", 101, 0, 340, 25);
xMonth.autoSize = "left";
xMonth.multiline = true;
xMonth.wordWrap = true;
xMonth.html = true;
xMonth.htmlText = poll["xMonth"];
xMonth.setTextFormat(txtStyle);
}


so as i said, all work well but sometime the createTextField is empty

thank alot

View Replies !    View Related
Why Does This Happen?
I have two scenes in my movie.....first scene is the intro and the next scene is the main part of the site. I have the following code on the first frame of the "main" scene.


Code:
onLoad = function(){
nextMovie="content1.swf";
cover.gotoAndPlay("close");
};


Before i added the intro scene, it worked fine. The movie loaded up correctly. Now when that i have the intro scene playing before it, it doesnt work. but when i test the main scene on its own, it works....I tried puttin an action to the last frame of the "intro" scene but still no luck?

Any pointers? Thanx in advance..

View Replies !    View Related
What Happen About It...
I have try to put few action script into the preloader . Look like it not working, i cannot see the next scene.Could anybody to help me to fix?

View Replies !    View Related
Can It Happen?
Can flash action scription call up shock wave files?
My situation is simple. I am about to start showcasing my portfolio of 3d art work from my job and i will be using the new technique of allowing users to load a shock wave file that will present the 3d model in real time 3d. So, my question is simple. Can flash action scription call up shockwave files like it is done with HTML? There is a link below the showes what i am talking about.


http://www.3drt.com

View Replies !    View Related
Why Should This Happen
h guys
I've got my button all done in flash nice n all to be embedded in in dreamweaver page I've given the button the getURL action and specified the dreamweaver page to be opened as "page1.html" I've placed the published button.swf (together with its htmlf ile)in the same directory as page1.html and inserted the swf in a dreamweaver page called buttonpage.html now all this works fine and dandy when tested on a browser BUT ONLY ON A MAC! when I test on a pc using latest bowsersIT DOESNT WORK! the buttonpage.html shows the button fine but clicking just opens a blank page (no error message)
I've tried publishing for older flash players, I've tried naming the URL as " ../pages/page1.html" but nothing doing
any ideas will appreciated
thanks

View Replies !    View Related
IE On Mac...how Does This Happen?
We've just designed a site for a client that's a dynamicly updated flash site. He's a photographer and there is a picture gallery and for whatever reason, only on internet explorer for mac, the image clip appears in the bottom right-hand of the screen. All other browsers (safari, IE windows, firefox) shows the site correctly.

(if anybody here has IE on the mac, check it out and see what i'm talking about: http://www.smoakstackstudios.com ...then go to the 'gallery' section)

I thought that is long as the clip was nested inside the flash document, that a browser did not control where a clip is placed, and only flash dictated that kinda stuff. Any ideas?

Thanks!

View Replies !    View Related
Has Anyone Had This Happen
when i load a text area from another movie into my movie, when you go to scroll down the textarea, all the text is highlighted, does anyone know how to fix this?

View Replies !    View Related
What Would Happen?
Hi,

I'm about to program something and i'm not sure how its gonna turn out, so wondered if anyone had any advice, before I start.

Basically, I want to use loadMovie to preload as many .jpgs into the users cache as possible.

What Im unsure about is how exactly that will work. If i use a for loop, and inside that loop i have loadMovie, will the loop stop until each loadMovie has finished? or will it just keep looping and piling up the loadMovies somewhere?

thanks for any help
boombanguk

View Replies !    View Related
What Would Happen If...?
I had this code controling a pre-loader and I wanted it to initiate the intro before the MC was fully loaded???


Code:
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
The movie clip that is loading has a video embeded in it and it's rather large. I want it to start playing after it has loaded a certain number of bytes. What would it put for a value of bytes if I wanted it to gotoAndPlay("opening") after it had loaded, let's say 250kb or 15% of the video? Thanks!

View Replies !    View Related
Why Does This Happen?
okay...so I have this simple script to make a MC "levitate":

angle = 0;
centerY = 215;
speed = .15;
distance = 6;

logo_lev.onEnterFrame = function(){
this._y = (Math.sin(angle) * distance) + centerY;
angle += speed;
}

The problem is, when I add another MC and attach an onEnterFrame to it like this:

angle = 0;
centerY = 215;
speed = .15;
distance = 6;

logo_lev.onEnterFrame = function(){
this._y = (Math.sin(angle) * distance) + centerY;
angle += speed;
}
shadow_lev.onEnterFrame = function(){
this._alpha = (Math.sin(angle) * distance) + centerY;
angle += speed;
}

They both levitate and work, but they go faster...the speed in the code stays the same, but they move faster...any idea why? any help appreciated. Thanks!

View Replies !    View Related
Why Does This Happen ?
can anyone tell me WHY menu1 is deleted after this code was run ??
I definetely KNOW i have done this before and it did not deleted the other movie.
I want to create a TEMP movie put at highest depth and just swap it with other movie to put it at the top.


ActionScript Code:
createEmptyMovieClip("container", _parent.getNextHighestDepth());
if ( menu1.getDepth() < container.getDepth() )
container.swapDepths(menu1);
container.removeMovieClip();

thanks

View Replies !    View Related
Why Does This Happen?
Hi, I made the player in a game a movieclip and added this code:


Code:
onClipEvent (load){movespeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
play();
_rotation = 90;
_x+= movespeed;
}
if (Key.isDown(Key.LEFT)) {
play();
_rotation = 270;
_x-= movespeed;
}
if (Key.isDown(Key.UP)) {
play();
_rotation = 0;
_y-= movespeed;
}
if (Key.isDown(Key.DOWN)) {
play();
_rotation = 180;
_y+= movespeed;
}
if (Key.isDown(Key.RIGHT) && Key.isDown(Key.UP)) {
_rotation = 45;
}
if (Key.isDown(Key.LEFT) && Key.isDown(Key.UP)) {
_rotation = 315;
}
if (Key.isDown(Key.RIGHT) && Key.isDown(Key.DOWN)) {
_rotation = 135;
}
if (Key.isDown(Key.LEFT) && Key.isDown(Key.DOWN)) {
_rotation = 225;
}
}
Then I made the background a movieclip and added this:


Code:
onClipEvent (load) {
movespeed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_x-= movespeed;
}
if (Key.isDown(Key.LEFT)) {
_x+= movespeed;
}
if (Key.isDown(Key.UP)) {
_y+= movespeed;
}
if (Key.isDown(Key.DOWN)) {
_y-= movespeed;
}
if (Key.isDown(Key.RIGHT) && Key.isDown(Key.UP)) {
_x-= movespeed;
_y+= movespeed;
}
if (Key.isDown(Key.LEFT) && Key.isDown(Key.UP)) {
_x+= movespeed;
_y+= movespeed;
}
if (Key.isDown(Key.RIGHT) && Key.isDown(Key.DOWN)) {
_x-= movespeed;
_y-= movespeed;
}
if (Key.isDown(Key.LEFT) && Key.isDown(Key.DOWN)) {
_x+= movespeed;
_y-= movespeed;
}
}
It works but every time I go diagonally it boosts its speed. I've tried many things like putting /2 after every movespeed in the diagonals but it is still fast. Can anyone tell me how to do this with the same speed?

Thanks in advance

View Replies !    View Related
Has Anyone Ever Had This Happen?
This has to be the most bizarre thing I've ever seen Flash do. Does anyone know what could be causing it? What's happening is that I'm importing an image, it's coming in the right size and everything but huge chunks of it are missing in the shape of another image in the folder I'm importing from. It makes no sense to me why it would be doing this as I've imported literally thousands of images before in the same format (bmp) and never had an issue. I've attached the image I'm trying to import and the flash file. If anyone has seen this before, let me know so I know I'm not crazy.

View Replies !    View Related
How Did This Happen?
my timeline header is not showing any numbers... what should I do??????

View Replies !    View Related
Why Does This Happen ?
This is my site Im new at flash so it aint nothing great
http://keiaston.pwp.blueyonder.co.uk/
now the buttons at the top load movies in to the main stage..this works fine on a couple of pcs i checked it on... but on my girlfriends the buttons do nothing..Its a high spec pc..and I cleaned the catches out..any ideas why they wont work on her pc..it seems that her flash plugin wont loadmovies into a main stage????

View Replies !    View Related
Does This Happen To Anyone Else?
Hey Peoples,
I have a problem....
when i click on a button it's supposed to go to a frame and it does do everything it's supposed to on release of the handler BUT only if i enable simple frame actions, enable buttons ect on the stage..Now... when i play the .swf file, the button does not take me to the frame i specified for it to go to. Does this make any sense?

So basically everything works when enabled on the stage but not when i play the movie. Is this a MX 2004 glitch? 'Cus it never happened b 4.

View Replies !    View Related
Why Does That Happen?
Look how bad the fonts are!! When I am working inside flash it looks awesome crisp and neat, but when I publish it to see the real results any of my fonts look like crap!! Why is this happening??

Thanks

MFR

View Replies !    View Related
Why Does This Happen?
everytime i load an external .swf into main, it just acts different then it supposed to.

the loadMovie line i'm using is

loadMovie("some.swf","balnkMC");
this. worked this same way
_root,_parent didn't work .

please help?

Thanks

View Replies !    View Related
Why Does This Happen ?
This is my site Im new at flash so it aint nothing great
http://keiaston.pwp.blueyonder.co.uk/
now the buttons at the top load movies in to the main stage..this works fine on a couple of pcs i checked it on... but on my girlfriends the buttons do nothing..Its a high spec pc..and I cleaned the catches out..any ideas why they wont work on her pc..it seems that her flash plugin wont loadmovies into a main stage????

View Replies !    View Related
Does This Happen To Anyone Else?
Hey Peoples,
I have a problem....
when i click on a button it's supposed to go to a frame and it does do everything it's supposed to on release of the handler BUT only if i enable simple frame actions, enable buttons ect on the stage..Now... when i play the .swf file, the button does not take me to the frame i specified for it to go to. Does this make any sense?

So basically everything works when enabled on the stage but not when i play the movie. Is this a MX 2004 glitch? 'Cus it never happened b 4.

View Replies !    View Related
Why Does That Happen?
Look how bad the fonts are!! When I am working inside flash it looks awesome crisp and neat, but when I publish it to see the real results any of my fonts look like crap!! Why is this happening??

Thanks

MFR

View Replies !    View Related
How Did This Happen?
Ok, well introductions first.. This is my first post. HELLO, I'm pretty, kinda sorta, somewhat new to flash. But I have been doin pretty good for only a week or so workin on it.. (check out my post in the showoffs sections to see my first flash site ).. Anyway, I was perusin around the net and came across a flash animation that seemed like it should be pretty easy. its at http://www.steakandcheese.com .. I'm talking about the fading link bar across the top of the page. when hovering over the text, the linkbar fades in allowing you to click the links.. But it looks to me like the linkbar extends outside of the dimensions of the flash movie into the html? Im also havin probs with the whole fading link bar thing.. HOW do the get the movie to stay visible when you rollout off the original button? If this is an elementary question, then im sorry.. that should jsut make it easier to answer

Thanks in advance.

Emanon247

View Replies !    View Related
Why Does This Happen?
Please have a look at

http://www.rikablade.us/06011/problem

When it first loads the secondary menus are all screwed up, but as the file 'rolls' on they clean up...

Could this be resolved with a simple preloaded?

The base file is:

http://www.rikablade.us/06011/problem/ebase.fla

I'm a newbie to Actionscript, so please... be gentle.

Thanks

View Replies !    View Related
WHy Does This Happen?
I added 3 buttons to the stage in 3 different ways. I then added an onRelease function to these and the rollover effects stopped working.

Why is this? What are the rules so I can solve this problem on practically everything else I've done? :D

Thanks!!

Here is the file - http://d59.yousendit.com/D/3C5PSDLBUJ29 ... 5/test.fla

View Replies !    View Related
Something Has Happen To My File
Something has happen to my file, when I test movie it work just fine. But when I upload it to the web and try it out it doesn't work now!!!

View Replies !    View Related
Something Has Happen To My File
Something has happen to my file, when I test movie it work just fine. But when I upload it to the web and try it out it doesn't work now!!!

What would stop flash from being seen on the net??

View Replies !    View Related
Swf Fullscreen - Won't Happen
Hi
I've got a swf with fsCommands in it (fullscreen etc) on my desktop - when i double click it opens fullscreen and the fsCommands work fine.
ok, so i get a web page up and i don't embed the swf but i link to it with a normal <a href="movie.swf"> text link. When i click this it doesn't open fullscreen but opens in a new browser window so the fsCommands don't work.
what am i doing wrong? - i just can't fathom it!!
thanks

View Replies !    View Related
IM GOING CRAZY Why Does This Happen?
I have a movie with several scenes. I have a button at the end of scene one that when clicked plays the next scene called intro:

on (release) {
gotoAndPlay("intro", 1);
}

But when I export the movie and click the button it jumps to intro and just stops at frame 1 of intro unless i click play in the flashplayer menu!

this is real simple stuff so why is it doing this???

please help

View Replies !    View Related
Why The Hell Does This Happen?
Every time i need to fade a button in I have troubles.....
to alpha fade something, it must be a graphic or a movie clip! right?

so when i need a button to fade in/out I copy/paste it to a new layer.
change it to a MC, align it, then apply the alpha fade.
But when I do this. the origainal buttons code gets all %^&* up.

I can't understand why the original button gets messed up
when I haven't even touched it. I only modified the copied one on the new layer.

anyone had the same problem?
very strange. very strange indeed.

View Replies !    View Related
Only Happen While Rollover?
I only want the action to happen while the mouse is over the button, but after the mouse leaves the button I want everything to go back to before.
ex: (but I want this not to be so when the mouse rollOut)

on (rollOver) {
var pics = 1;
var url = 'Abstract/' + 1 + '.JPG';
loadMovie (url, "picwindow");
}

can anyone help?

View Replies !    View Related
What's The Best Way To Get Something To Happen Every X Seconds?
Can someone tell me how to get something to happen every X seconds?
For example, for a function to get executed.

I'd like an Actionscript way of doing this.

The way I'm doing it is having a call to a function after 100 frames, fro example and just looping this.

Thanks.


OM

View Replies !    View Related
Just Start To Happen...
One year ago i have done this site for my chanel in IRC(ptnet).
www.sx69.net
Its a litle site, just with the users, rules and stats nothing more.
Its a site all made in flash.
Some months ago i notice that the flash have now a problem. I have to click 2 times in any button or evan in the flash itself to things happen. What's happen ? Its because the site is made on versium 6 ?
Do i have to update it to 9 ? Or its any other thing ?

Best Regards

View Replies !    View Related
Why Might This Happen... Any Ideas?
This is really freaking me out and I'm really lost :-(

I'm developing something for a client, the target machine runs linux with flashplayer. My application is on a USB memory device. When I insert the device, it loads my main flash file into an instance of flashplayer.

The main swf contains a Loader which loads swfs from inside the same directory on the USB device. I've added an IOErrorEvent to catch load errors.


ActionScript Code:
var l:Loader = new Loader();
var loading:Boolean = false;
l.contentLoaderInfo.addEventListener(Event.COMPLETE,loadDone,false,0,true);
l.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,loadError,false,0,true);
addChild(l);

function loadStart(url:String):void {
    if(loading) return;
    l.unload();
    loading = true;
    l.load(new URLRequest(url));
}

function loadDone():void {
    loading = false;
    trace("loaded");
}

function loadError(e:IOErrorEvent):void {
    trace("error");
}

then I just call loadStart("some_file.swf") whenever I want to load something.

Everything works fine while the app is running unless...

1. I leave the app running and go and have a cup of tea
2. I get back and the screensaver is running (this is another flash file in seperate flashplayer instance)
3. I move the mouse to cancel the screensaver
4. The loader stops working and my event listener is triggered (Error #2035).

I'm totally confused now. Could the screensaver be screwing with my app in some way? [Clutches wildly at a big bunch of straws]

Any ideas (no matter how obscure) would be really appreciated!

Thanks

View Replies !    View Related
What Goes Wrong When This Happen?
hi, guys,

i am facing a weird problem with the preloader that i created for my web.heres the website. http://www.geocities.com/austin_99kyo/Main.html The problem is,when the external swf loading, there is a preloader to show the loading progress in every external swf files. but the weird thing is it only showup the loading bar, but the loading precentage and "loading" clips doesn't showup. When i test the external swf movie without using the main scene , every thing just fine, the preloader showup together with the loading percentage and the " loading " Clips.The external swf loading percentage and "loading" clips doesn't appear when i use the main scene to load the external swf..

here is the Action Script that i put in the first frame of every external swf:

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBarmenu._width = getPercent*100;
this.loadTextmenu = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}


And on the second frame i put this 1:

this.gotoAndPlay(1);


In the main scene, i put this code in every button that i assign it to load the diffrence external swf files when clicking :

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "Menu";
_root.container.loadMovie("Menu.swf");
} else if (_root.currMovie != "Menu") {
if (_root.container._currentframe >= container.midframe) {
_root.currMovie = "Menu";
_root.container.play();
}
}
}



There is transition working on in every external swf files.

I m doing the website base on Kirupa tutorial here http://www.kirupa.com/developer/mx2004/transitions.htm

hope some one can tell me what is wrong and how to fix it.. Thanks

View Replies !    View Related
How Do They Make This Happen
hey..

on this site.. www.publicisnet.fr when u click entrez the main page opens 100% what is the html to do this?

View Replies !    View Related
Best Way To Make This Happen?
hi to everyone! i'm having difficulties making this intro for a client. please have a look at the link for the storyboard.

http://www.kawali.com/rainbow.jpg

i don't know what is the best way to accomplish this. i am intermediate actionscripter. i looked at drawing api and trig tutorials over the web but i still can't find one that applies to my problem.

i'm thinking of using swift3d or 3dsmax and export to swift. but these are last resorts if i can't do them with actionscript.

what do you guys think? are there any good tutorials for this kind of stuff? thanks in advance

View Replies !    View Related
Anyone Know Why This Would Happen OnResize?
here is my resize function:
Code:

onResize();
function onResize() {
  grunge._x = Stage.width - grunge._width;
   main._x = Stage.width - main._width;
   main._y = Stage.height-300;
   footer._xscale = Stage.width;
   footer._y = Stage.height - footer._height;
   footerIcons._x = Stage.width - footerIcons._width;
   footerIcons._y = Stage.height - footerIcons._height;
   trace(main._width);
};


The box is suppose to be aligned to the right side which it is initially, but when I resize the window it gets all screwed up..here is my output window from that trace width:
1000.75
1000.75
1329.95
1329.95
--------

1000 is the correct size and when I go to resize the width jumps to 329 for some odd reason. you can see it at http://blindedblack.airboxstudios.com

View Replies !    View Related
Go To URL- Having Trouble Making It Happen
I'm using Flash 4
I created a small ad and want people to click to go to another url.
I did all the action stuff and when I view it in a browser the path leads to my hard drive instead of to the url.

What am I doing wrong?

View Replies !    View Related
I Dont Know If This Is Supossed To Happen
Hello all...Im semi-sorta new to Flash 5 (Flash 5, not MX) but I like to make stick people movies. And Im making them frame-by-frame movements and stuff. But whenever I move there arms they always like stick to another part of there body...its kind of annoying, but if anyone can help, thanks.

View Replies !    View Related
How Do I Make Things Only Happen Once?
ok it i say this

if (mmx.falling.hitTester.hitTest(_root.ground)) {
mmx.gotoAndPlay(stance+" Landing");
}

how do i make it that it only plays the landing animation once instead of millions of times ovr and ovr?

View Replies !    View Related
How Can I Make This Happen 5 Times?
Hi,
I’m trying to write a piece of script in which I eventually want to end up with an array nummerGetrokken containing 5 elements, and none of the elements can be the same. Let’s say antwoord_fout.length = 11
I'm working with flash MX.

I want to combine these two steps but i don’t know how I think i have to make a loop or something but again, i don’t know how

1.Create a random number (the max. value of number is antwoord_fout.length-1, and theminumum is 0)
By doing this:
nummer = Math.floor(Math.random()*(antwoord_fout.length-1))

2.Check whether the variable nummer is already in the array nummerGetrokken
If it isn’t the number that has been chosen must be added to the array nummerGetrokken
By doing this function:
function searchArray (nummerGetrokken,nummer){
for (var i = 0 ; i <nummerGetrokken.length; i++){
if (nummerGetrokken[i] == nummer){
return i;
}
}
return null;
}

if you start this function this should happen:

searchArray ();
if (searchArray (nummerGetrokken.nummer) == null);
nummerGetrokken.push (nummer);
// here you have to go back to step 1 and then step 2…if the array nummerGetrokken doesnt hold 5 elements yet
}
else{
// here you have to go back to step 1 and then step 2…if the array nummerGetrokken doesnt hold 5 elements yet
}

ok where the comment //here you have to go back to step 1 and then step 2…
that’s where i don’t know what to write! in words it would be
something like “go to step 1 and then to step 2 if the array nummerGetrokken doesnt hold 5 elements yet”


Eventually I want to end up with an array nummerGetrokken holding 5 elements, and none of the elements can be the same. Let’s say antwoord_fout.length = 11 and then it could come up with for example:
NummerGetrokken = [2,9,5,4,1]

thanx in advance,

Gelfling5775

View Replies !    View Related
What Is Inertia How Do I Make It Happen?
Hey dude's I want to make a box pop into existence and give it a lil wobble, I beleive this is called inertia, but how the hell do I do it? any ideas? of tute's

View Replies !    View Related
What Makes This Happen With Text?
I've used scrolling text before, using mouse over or mouse down. Each time i've loaded the text from an external txt document. Like this:

http://www.adrianmunsey.com/scroll.html

Why does the text I link have double page breaks in?? My formatted text when tested in Flash is fine, however once exported it adds a page break in. I've played with all the components and tried using soft returns in the txt document but......no good. Basically anyone know why this happens??

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved