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




Images Continue In The Next Frame



This code goes right but the images (book, pencil...) appears again in the next frame. How can I solve this problem?
Help me!

//drag and drop code//


var startX:Number;
var startY:Number;
var counter:Number = 0;

var soundReq:URLRequest = new URLRequest("woodblock.mp3");
var woodblock:Sound = new Sound();
woodblock.load(soundReq);

pencil_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
pencil_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
schoolbag_mc.addEventListener(MouseEvent.MOUSE_DOW N, pickUp);
schoolbag_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
book_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
book_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
notebook_mc.addEventListener(MouseEvent.MOUSE_DOWN , pickUp);
notebook_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
student_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
student_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
teacher_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
teacher_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
friends_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
friends_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);

function pickUp(event:MouseEvent):void {
event.target.startDrag(false);
reply_txt.text = "";
event.target.parent.addChild(event.target);
startX = event.target.x;
startY = event.target.y;
}
function dropIt(event:MouseEvent):void {
event.target.stopDrag();
var myTargetName:String = "target" + event.target.name;
var myTargetisplayObject = getChildByName(myTargetName);
if (event.target.dropTarget != null && event.target.dropTarget.parent == myTarget){
reply_txt.text = "Good Job!";
event.target.removeEventListener(MouseEvent.MOUSE_ DOWN, pickUp);
event.target.removeEventListener(MouseEvent.MOUSE_ UP, dropIt);
event.target.buttonMode = false;
event.target.x = myTarget.x;
event.target.y = myTarget.y;
counter++;
woodblock.play();
} else {
reply_txt.text = "Try Again!";
event.target.x = startX;
event.target.y = startY;
}
if(counter == 7){
reply_txt.text = "Congrats, you're finished!";
}
}

pencil_mc.buttonMode = true;
schoolbag_mc.buttonMode = true;
book_mc.buttonMode = true;
notebook_mc.buttonMode = true;
student_mc.buttonMode = true;
teacher_mc.buttonMode = true;
friends_mc.buttonMode = true;

stop();

//next page code//

proximo_BT.addEventListener(MouseEvent.CLICK, release1);

function release1(evt:MouseEvent):void {
nextFrame();
}



ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 05-21-2008, 08:52 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Preload ALL Images.. Then Continue
Hey,

What I am trying to do is loop through an XML file that contains external image links, preload all the images and then run an initialiseNav() function when all images are preloaded.

I also need to be able to calculate the TOTAL Progress % of ALL images being preloaded together.

Here is my current code:

ActionScript Code:
// XML Holder.var myXML:XML;// XML URL Request.var xmlRequest:URLRequest = new URLRequest("nav.xml");// XML URL Loader.var xmlLoader:URLLoader = new URLLoader();// Image Loader.var imageLoader:Loader;// Number of Iconsvar nItems:Number;// Image Width.var nWidth:Number;// Image Height.var nHeight:Number;// Time Between Images.var nTimer:Number;// Arrow Color.var sArrowColor:String;// XML Event Load Handler.function xmlLoaded(e:Event):void {    // Set XML.    myXML = new XML(e.target.data);    // Image Width.    nWidth = myXML.options.images.width;    // Image Height.    nHeight = myXML.options.images.height;    // Time Between Images.    nTimer = myXML.options.icondelay;    // Arrow Color.    sArrowColor = myXML.options.arrowcolor;    // Create XML List.    var xmlListIcons:XMLList = myXML.items.children();    // Number of Icons    nItems = xmlListIcons.length();    // Loop Creating Icons.    for each (var xmlIconElement:XML in xmlListIcons) {        // Create mcLinkContainer        var mcContainer:MovieClip = new MovieClip();        imageLoader = new Loader();        imageLoader.load(new URLRequest(xmlIconElement.image));        imageLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);        mcContainer.addChild(imageLoader);        addChild(mcContainer);    }    //initialiseNav();}// Preload Functionfunction loadProgress(e:ProgressEvent):void {    var nLoaded:Number = e.bytesLoaded / e.bytesTotal;    nLoaded = Math.round(nLoaded * 100);    trace("Loading: " + nLoaded + "%");}// Load XML.xmlLoader.load(xmlRequest);// Listeners.xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);


I can see in the debugger that every image is being preloaded together at once, however I need some way to calculate the total % of all the images being preloaded as well as running the initialiseNav() function when all images are preloaded.

I thought about using an Array to store all the preloaded images and then test the total % of that but I'm unsure how.

Can anyone help please?

Continue Next Frame
hello!

i'm trying to solve this gotoAndStop action. i'm trying to have first frame action to run through all frames until it reaches 51 frame. Even though all frames have stop(); action, but first frame with:

ActionScript Code:
stop ();
mc:Number = 51;
if (mc <= 51) {
gotoAndStop (this.nextFrame+1);
}
can anyone help?

thanks in advance

Frame Loops - I Want It To Continue To The End...
I have a button that uses alpha to fade out then it is supposed to go to the next frame but it keeps looping back to the beginning of the scene. I tried putting a "Stop" then "nextFrame" in the actions but that didn't work - it only kills the rest of the movie. I'm attaching the fla fo someone to help out with. Thank you!!

Becca

Load All Images Before Continue Playing Movie.
Hello,

I am trying to make a movie clip that loads text and images dynamically. However I don't want my flash movie to go to the next frame before all the image and text is loaded!

does any one has some ideas. I checked, and implimented some of the tutorials on this website, but still don't work

does someone has any ideas on how to do that?

Load All Images Before Continue Playing Movie.
Hello,

I am trying to make a movie clip that loads text and images dynamically. However I don't want my flash movie to go to the next frame before all the image and text is loaded!

does any one has some ideas. I checked, and implimented some of the tutorials on this website, but still don't work

does someone has any ideas on how to do that?

Stop And Continue Frame When Clicked
Can anyone please tell me how to stop a movie at a certain frame by clicking, and what is more important to me, how to continue playing the movie by second click.

thanx

Pausing On A Frame, Then Continue After Xx Milliseconds...
Sorry for a noob question, but its been a while since I used Flash.
I am using Flash 8 and all i want to do is pause on a frame for a number of milliseconds, then continue. No mouse clicks.

Thanks in advance.

Continue To Next Frame Of Timeline After FLV Finishes
Kind of new to ActionScript 2. Just hacking my way through trying to get a handle on it.

I have an FLV (using Playback Component) on stage... and after the video plays and reaches its conclusion, I want to automatically continue to the next frame on the timeline. What's the best way to accomplish this?

Thanks so much,
David

How To Make A Line Of Images Continue Moving Across The Page?
I have about 6 images that i want to have move across the page but i dont know how to make them continue following each other as if they are going in a circle but not round (see what i mean?) they are just following each other and when the last one starts going across the screen the first one follows it. i want each of these to be buttons also but that i think i can do. i am just having problems with the moving images and how to get them to follow each other when the first set has gone by.
thanks
arielle

[MX04] Image Gallery, Xml--need Ability To Continue To Add Images W/out Using The.fla
Hey all--I posted this over in XML, but haven't had much of a viewership--

I'm making a standard image gallery (gallery of thumbs on the left placed in a custom made scrollbar, on the right a place where the large image loads when the thumbs are clicked.)

I need to set up the entire .fla and (supporting image folders) so that someone only has to place the images in their given folders and update the .xml document and never touch the .fla. The problem is that the custom scrollbar (its a typical vertical bar, simple up and down arrows) scrolls according to set code in the .fla file-- for instance--

(this is just a bit of the code)
y = getProperty("_root.text.content", _y);
if (y>70) {
gotoAndStop(1);
} else {
setProperty("_root.text.content", _y, y+6);

and

y = getProperty("_root.text.content", _y);
if (y<-120) {
gotoAndPlay(4);
} else {
setProperty("_root.text.content", _y, y-6);
}
}

is there a code or an alternative to the scrollbar that I'm using that will just take into account the images that have been loaded and allow the spacing to be automatic?

any examples are welcome!!!!

How To Pause Movie For 10 Seconds At Frame 10 And Then Continue
Can i make my movie pause for 10 seconds at frame 10 and then continue to the following frame? is it a Timer script type thing or something? what should i write for the script

Stop On Frame For A Few Seconds, Then Continue Play
hey,
how can i make a movie clip stop on a frame for like 20 seconds, then just go to the next frame?

just you wait, i'll have a whole plethora of stupid questions

THANKS,
dave

Playing A Movie Clip On Mouse Over And Continue To Last Frame On Mouse Out
Hi All,

I have a movie clip on the timeline which is an animated mouseover button

Basically what I need to do is for the movie to be stopped at frame one when there is no mouse over and loop continuosly when I do have mouse over then on mouse out i want it to finish it's frames playing from where ever it was at when the mouse was moved out to the last frame and then display frame one so it is stopped again ready for a new mouse over.

Something I have found difficult to work out is that whilst it is doing the "out" play to to last frame, if you put the mouse back over again, it starts from frame 1 so looks like it jumps so i need the mouse over to also read what frame it is currently playing so that it can continue its endless loop from that frame to avoid it jumping about.

I hope that makes sense, it's really difficult to describe in words.

Here's the movie clip's action as it is now.

on (rollOver)
{
this.gotoAndPlay("over");
}
on (releaseOutside, rollOut)
{
this.gotoAndPlay("out");
}

ok so in the movie's timeline itself, the label "over" is a frame containing another movieclip which is basically a continous 30 frame loop and my movie timeline is stop();

so, on (rollOut) it plays at label "out"

I have placed a copy of the movie loop at the "out" frame which plays the movie slower at the end to make it a nice wind down stop

what I thought to do in action script is to read the current frame that the movie loop is at and make so the "out" position movie starts its playing frame from that frame number until it reaches the end frame where it jumps back to frame one of the timeline with the first stopped frame.

I've seen a command something like this below used to get the current frame number and take it away from the total to continue playing from that point, that's not totally right for what I am doing but it shows me the sort of thing i need to write but i don't know how to write an actionscript to read the current frame from the movie1 whcih is playing and start playing movie2 at "out" from that frame number?

on (rollOut) {gotoandPlay(_totalframes - _currentframe); }

maybe there is an easier way to get this to work, i've seen lots of similar examples on the web but nothing that specifically plays a lopp and then continues to the end on mouse out. it sounds simple but I've tried all weekend to do it without success?

Can anyone help me please?

Thanks,
Terrence.

Moving Images Frame-by-frame With Mouse Movement
Hi, I'm new to flash mx, so please help me out in details. thanks.
I have 10 images in 10 frames ( 1 image per frame ). So I'm trying to make the frame to go to the next one when the mouse is moved to the right, and make the frame to go to the prev one when the mouse is moved to the left.
Can someone please help me? I really need to have this done ASAP.
Thanks for all the inputs.

Moving Images Frame-by-frame With Mouse Movement
Hi, I'm new to flash mx, so please help me out in details. thanks.
I have 10 images in 10 frames ( 1 image per frame ). So I'm trying to make the frame to go to the next one when the mouse is moved to the right, and make the frame to go to the prev one when the mouse is moved to the left.
Can someone please help me? I really need to have this done ASAP.
Thanks for all the inputs.

Jagged Images When Not On Frame One
Has anyone else experienced the problem of images (graphpics) getting jagged if they are in anything other than a one frame (root) movie? I've had this problem over and over on different machines and different versions of Flash. I've tried everything to do a work around, put the entire site in a movie clip and put that on frame one of a one frame movie, load it in externally into a container clip, etc. it's just doesn't fix the problem...

Oh yeah, the problem doesn't have to do with the x, y, being integers. They are on exact integers on everytime line (parent on down). It has to do with the movie being longer than one frame on the root... I can post an example if that helps.

(Sorry to keep editing) It also is not that I'm resizing the images in Flash, they are being placed in at 100% and not resized. (just trying to save you time in responding!)

Images Into Frame With Buttons
I wanted to have 10 or so buttons and by clicking each button It would bring up
a different picture from the library (Or a folder on my pc) onto the movie.

But I would like this to be done with one frame (If Possible)
Sort of like a dress up game but adding the pics with buttons instead of dragging them around.

I have tried different codes but nothing works

Anyone know how I can do this ?
Thanks

How Do I Take Several BMP Images, Per Frame, And Lining Them Up?
Okay, I'm making an animation using Pivot Stickfigure beta 3 and I decided the best way I could do this is to save the animation as several different bmp images for quality look, this animation has well over 2500 frames and I'm not even close to done, I'm guessing that the animation when completed will run at least over 10 minutes. Anyhow I'm wondering how do I take those bmp (each has it's own frame) and align them up in the center?

Thank you.

newbyn00b

Switching Images Within A Frame
Hi, total newbie and totally freaked out, did the search on google and did the search in online help, no use.

Seeking to switch images in a frame (without switching the frame of course). Like DynamicText allows to switch text.

Basically have numbered images which I want to call to the screen from an arrayed index, yes have a good idea of scripting and none of Flash.

Any pointers would be highly appreciated.

Scrollable Frame/Images
Hi, i have been registered on the forums for a while but havent made proper use of them. Sorry if this thread is in the wrong place.

My question is this, how do you create a frame-like object in Flash? In HTML its using the frame tags.

The reason for this is that i want to be able to have a scrollbar to show different images vertically.

Thanx

Is Loading Many Images In First Frame Efficient?
I am doing something like a company advertisement in flash (for web ofcourse) and i need to display a clip everytime a user clicks a particular button.
There are 8 or 9 such buttons.
I dont want the user to wait for the clip to load in runtime at each button click. Will loading all images in first frame work? How heavy will it be on the memory then?

Random Frame Stops Working When Images Are Used
Hello,
I have built a movie (Flash MX 2004 Porfessional) with the objective of going to a different frame each time the page loads. The movie works fine when I only have text in any of the frames. As soon as I add an image to any of the frames the ramdomization quits working. On top of that, the behavior is Opera/Netscape and IE is different.

In IE, the movie always displaysframe 1 (no content, just the actionscript).

In Opera/Netscape the movie always displays frame 2 (the first frame with content).

The code:

code:
var randomFrame; // Stores the randomly picked frame number
var numFrames; // Stores the total number of frames on the timeline
numFrames = _totalframes; // Assign _totalframes property to numFrames

// Pick a random frame
randomFrame = Math.floor(Math.random( ) * numFrames + 2);

gotoAndStop(randomFrame); // Send playhead to chosen random frame


I have attahed the file for convenience sake.
You can also see the behavior by going to the following two links:

with images (not working)
http://www.prophegy.com/temp/flash.html

w/o images (working):
http://www.prophegy.com/temp/flash2.html

Any insight into why this happens is greatly appreciated!!

John

Copying And Pasting Frame Images With Locations ?
Hi all,

Quick question ... When you copy and paste an image, symbol, etc is it possible to copy its x and y location values rather than having to type them in again each time ?

Thanks

Greg

Loading Frame Images For Movie, Most Effective Way?
Ok, basically i am just wandering what everyone thinks if the best way to load a movie.

I am learning OpenGL, and hopefully DirectX soon as well, and in some of my projects i am going to be displaying them on my website. I am going to be taking a frame by frame screen**** of my OpenGL movies to import them into flash, and i was wandering what everyone thinks is the best way to do it?

In my understanding i have two options,

1.) Take my Fla and load them all into it by hand.
2.) Make it more dynamic and loadthem at runtime via ActionScripts LoadMovie Command.


Now it would be easier on me to do #2, but i am not looking for ease. I am looking for the most effective in FPS at Runtime, Load Speed, and obviously tied into Load Speed, the File Size for people to load.

So which would be faster, better, smaller, ect.?
Thanks to any replies!

Attaching Movies/images To A Specific Frame
Hi,

As far as I know, attaching movies/images, using attachMovie for internal elements, or loadMovie for external ones, always attaches it to the first frame.

So what if I want to attach something, let's say, to the second frame? Is it possible to do?

What I need to do is to dinamically build an animation on a movieclip with external images, so some images go to the 1st frame, and other go to other frames.

How can I do this with AS?

Best regards.

Movie Clip Images Deteriate If Not On Frame 1
Hi,

I'm having a real problem with a flash movie which I desperatly need to get sorted out ASAP.

I've a selection of logo's which simply need to fade in and out one at a time. This short looping animation is in a movieclip. Now if the movieclip is on frame 1 the logo's are in the quality they should be but if I place the movie clip on another frame with a stop(); command the logo's deteriate as if the .jpegs have been stretched slightly out of porportion.

I've tried everything I can think of such as having the logo movieclip in one file and then loading it into another level on a main movie and a later frame.

I really don't think I'm doing anything wrong as I use Flash everyday and generally know what I'm doing but I've never come across this problem before. If anyone has any idea's or know of any bugs in flash which may cause this please let me know.

Thank you, Craig

Dynamically Loading Multiple Images On One Frame
Hi,

If some one could help me with this I would be very grateful.
Is it possible to dynamically load more than one jpg into a frame at one time?
My actionscript only loads the last image.

Trying To Display 2 Random Images In A Single Frame
Im trying to display 2 random images from a directory on my mainpage. I have the files listed in my xml file.... images.xml and using the following script pointing to my instance name picture_mc. all works well for 1 image..how can I get a second image and position it correctly? Do i have to clear the variables? is there an easy way to place the mulitple images into location? Script below...thank you for any help! Please keep explanations simple, I'm very very new at this:

this._x = 400; //Offset from top-left corner (0,0)
this._y = -100; //Offset from top-left corner (0,0)

xmlImages = new XML();
xmlImages.ignoreWhite = true;
xmlImages.onLoad = loadImages;
xmlImages.load("images.xml");

function loadImages(loaded) {
if (loaded) {
xmlFirstChild = this.firstChild;
imageFileName = [];
totalImages = xmlFirstChild.childNodes[0].childNodes.length;
for (i=0; i<totalImages; i++) {
imageFileName[i] = xmlFirstChild.childNodes[0].childNodes[i].attributes.title;
}
randomImage();
}
}
function randomImage() {
if (loaded == filesize) {
var ran = Math.round(Math.random() * (totalImages - 1));
picture_mc.loadMovie(imageFileName[ran],1);
pause();
}
}

Dynamically Loading Multiple Images On One Frame
Hi,

If some one could help me with this I would be very grateful.
Is it possible to dynamically load more than one jpg into a frame at one time?
My actionscript only loads the last image.

I Need To Know, Need To This Continue Please Help
Thank you for taking the time to read this, I really need your help. I need to know how to do this to conitune with my site that I want done by Jan 1st. I want to do this:


---------------
Button banner
--------------

where I want to send info

---------------
Banner
---------------


the button is inside the banner I want to know how to make it so that when I click that button, the information is sent to the middle. thanks a lot in advance!

Stop Everything, Continue Something Else
Okay, I started making a very basic site last night with flash... I want everything in the page to stop what they are doing, and I want the picture on the top to continue doing what it does infinintly. The page is http://pandora.wd1.net/~t2training/AndrewsPage/One.swf if you want to see what I am talkin about, thanks.

Help How Can You Pause And Continue?
Does anyone know how to pause the movie for a certain amount of time that I determine then continue?
I'm new to Flash so pardon my ignorance. Its easy to do in Director, so I figured it would be easy in Flash as well. Thanks!

Help How Do I Pause Then Continue?
Does anyone know how to pause the movie for a certain amount of time that I determine then continue?
I'm new to Flash so pardon my ignorance. Its easy to do in Director, so I figured it would be easy in Flash as well. Thanks!

How Do I Pause Then Continue?
Does anyone know how to pause the movie for a certain amount of time that I determine then continue?
I'm new to Flash so pardon my ignorance. Its easy to do in Director, so I figured it would be easy in Flash as well. Thanks!

Continue Movie?
i hope someone can help me with this:
i have my movie on the main stage it start with an animation of 52 frames, in frame 53 i have placed an mc (with 'stop' in its last frame) which it playes fine (i had to put an action "gotoand play next frame" in 52 otherwise it would just skip it)then on frame 54 on the main stage it continues with an animation.
problem: when i play this movie it goes as far as playing the mc on frame 53 but then it totally stops, it doesnt continue with frame 54 on the main stage. what action am i missing?????

if i dont put the stop action at the end frame of the mc it obviously plays that mc continuesly, yet it should continue with frame 54 on the main stage.

i hope i managed to explain this clearly.

i appreciate any suggestion!
thank you!

Preloader Wil Not Continue
After it loads, it stops.
I've used this code:

loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes/1000);
totalkbytes = Math.ceil(totalbytes/1000);
perc = Math.round((_parent.getBytesLoaded()/_parent.getBytesTotal())*100);
xperc = perc/100;
barlength = 200;
if ((perc == 100) and (bar._width == barlength)) {
if (loadedbytes == totalbytes) {
gotoAndPlay (2);
}
} else {
nperc = perc+"%";
bar._width = barlength*xperc;
bar._x = -100+(bar._width/2);
}

Whats wrong with it?!

Continue A Movie
Hello,

Can anybody tell me how to let a movie continue when somebody clicks on a button?
I have made a movie width ( insert – new symbol – and the selection on movie clip )
Here I made the movie ( width some stop actions ) and dragged it onto my scene.
Now when someone clicks on a button in the scene I want the movie to continue to play to the next stop action frame.

I use flash 5

Continue Alpha
I have a series of duplicate movie clips that have the following code attached to the MC:
on (press) {
var Current_MC_Name
Current_MC_Name = this._name
_root.butpress(Current_MC_Name);
}
I have another script in frame 1 with the butpress function. This function does some checking and then fades the MC in or out based on the MC's current alpha value.

Because this is not a button it appears the checking is not looping until all conditions are met.

Here is the fade check code in frame 1:

fadeOut = true;

if (LGimage._alpha>10 && fadeOut) {
LGimage._alpha -= 10;
}
if (LGimage._alpha<10) {
loadMovie("images/"+Current_MC_Name+".jpg", "LGimage");
fadeOut = false;
fadeIn = true;

}
if (LGimage._alpha<100 && fadeIn && !fadeOut) {
LGimage._alpha += 10;

} else {
fadeIn = false;
}

It appears my movie clip with a press action doesn't work right.

Any help is appreciated.

Sound Continue?
I want to know if it is possible to have a music/sound file play when the movie changes scenes, kind of like a background music, and I need it to be in all of one movie, not making the sound in another movie then linking the swf to your main movie, I want it all to be in one swf file.
can it be done?

IASKWHY Please Continue To Help
You are right regarding the email form. Thats not the one I really want. I want something like this. Can you now tell me which part of php I should edit to fit my needs? I appreciate your patience.

Press Any Key To Continue
How is press any key to continue accomplished in flash?

I have a game, when someone dies they are taken to a screen where a random insult is displayed on the screen. I would like, at that point, for the end user to be able to press any key to return back to the game.

Any suggestions?

Thanks.

Movies That Continue...
Umm.... my technical jargon is out the window... but...

i've got some roll overs that play little movies when rolled over... how do i keep the movie running until it's completion even after the user has moved off the button??? also the movie should keep running even if the user rolls over another button... the effect being multiple movies potentially running all at the same time on the stage.

thanks to anyone who can help out.

navi.

I Need To Continue In A Scene After 'this' Happens...
greetings,

i'm using Flash MX 2004 Pro:

All in the first frame of my scene, I have 8 small movie clips (each on separate layers) that change their transparency from 100 to 0 when you roll over them with the cursor...

What I am trying code would sound like this in English: "only after all 8 instances of these small movie clips have been rolled over and disappear, the user can then roll over this large movie clip to continue"

I imagine I would do this with 'if'/'then' coding, but i haven't used it before, so how would i code that?

also, would i put this code in the instance of the large movie clip?

help would be greatly appreciated, thanks.

this is what i have coded in the instance of each of the 8 small movie clips:
code: on (rollOver) {
this._alpha = this._alpha -100;
}

Flash Won't Continue
Hello Guys I hope someone can help me out. I've made a flash presentation with these specifications:

Dimension: 720x480 pixels
Frame Rate: 30 fps

The presentation that I've made is really big, resulting in a 4.5MB windows projector file. It contains 38 scenes and most of the content are PNG files. For text effects I used Swish 1.51 and for the background music of the presentation I'm using the code LoadMovieNum ("name_of_movie_that_contains_the_background_music .swf", 9)

Everything is going well except at the 33rd scene. What happens is the scene will start except that when it is about to play the first text effect, the presentation doesn't move on to play the rest of the scene. It just stops there.

I have looked at that Scene and doubled-check if maybe some of the frames has the stop command, but there is no frame that has the stop command.

Can you please tell me what is happening?

Continue Sound Over Two Swf's
hi !

i got a problem with looping sound. i have 2 movies - lets say a.swf & b.swf. also, i have an external sound file music.swf. i m calling the sound file on the first frame of a.swf using loadmovie(). next, on the last frame of a.swf, i am calling the other movie b.swf, but the sound stops on the last frame of a.swf. can u help me in continuing the sound over these 2 movies.

it'll be very helpful.

thanks.

When Score = 100 Continue?
I have a snake game,
all i need is to make the link at the end....
i want the game to link to a new scene if the player dies with
a score greater than 100...

so far i have if (tscore > 100){
gotoAndPlay("Scene Name",1)
}

Dismiss All || Continue
is there anyway to turn of the warning window that pops up when things go wrong? It's the one with the options to dismiss all or continue...

i looked through the debug part of the manual, but i confess, perhaps not close enough

Need Guidence On How To Continue
ok, I'm creating this webapp in flash to make my co-worker's lifes easier.

What I'm trying to do is to display a chart with buildings listed on it, and it shows what current status the buildings are. (up and runing, down, maintance, etc.) Also, if the current status of the building is maintence, I want to be able to display what the problem is.

P.S. I made a general list of common problems that can occur.

This is where I am...

> I've created the layout for the chart and all the imformation needed.(not programming wise.)

> I've also created the admin part so the admin can update/edit the chart, thats all done.

Where I'm stuck...

> How can I update the chart using the admin part?
I have three sepreate files...
admin.swf
viewer.swf
data.as

> So I was thinking maybe I could update the chart(viewer.swf) by changing variables in the data.as file.

I.E. Making the changes in the admin.swf and after clicking submit, it sends the variables to the data.as and when you check the viewer.swf, It'll scan that data.as file and that makes all the nessecary changes to the movieclips in the viewer.swf.
-------
I was told that I could do this with xml, but I'm not really good with flash/xml.(and it also looks complicated with what I'm trying to do)

So yea, Can someone point something out, another way of doing this, because I don't know how to write the code so that the chart makes the changes based of the data.as file.

ANY help is appericated becuase I really need this done. I'm looking at it too much, I need a fresh eye on it.

Thanks for reading.. & sorry for the long post.. just trying to get percised.

Continue Un-interruppted
So I am making a website that is 20% flash an 80% other. My main logo is a sweet as3 code that i want to keep looping, and it does, The problem comes when I navigate around my site it starts the animation over again and it looks like crap. Is there a way to have the animation start where it left off?

Copyright © 2005-08 www.BigResource.com, All rights reserved