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




Advance Unloading



Real simple explanation for a complex answer or maybe not.

I have a main movie which I load exteral swf files into.

Picture a box, and in the box I load exterswf files into.

I want to attach - the script to a button the external file. On the button when pressed I want it to unload itself from the main movie.

Help Help..


Thank you all



FlashKit > Flash Help > Flash General Help
Posted on: 03-13-2004, 01:59 PM


View Complete Forum Thread with Replies

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

Unloading (advance)
Real simple explanation for a complex answer or maybe not.

I have a main movie which I load exteral swf files into.

Picture a box, and in the box I load exterswf files into.

I want to attach - the script to a button the external file. On the button when pressed I want it to unload itself from the main movie.

Help Help..


Thank you all

Advance Load Movie Trouble ... And I Mean Advance
What i need to do is load a movie into another and position it perfectly... big deal huh ! well the problem is that say the main movie is the container which has the dimention of 100 x 100 but it will be changed in the hard coded object tag say might written as 300 x 300 in the html. The need for this cause i want to load a movie with the dimention of 300 x 300 into the container. Ofcourse the loaded movie will distore but that can be fixed with the

fscommand(allowscale,false)

i guess.Anyway .. i manage to positioned the loadded movie in the 0,0 loaction as long as the container movie has the dimention written more than it's original one. ( ie. more than 100 x 100 ) ..

but when i go bellow the original dimention ... everything stop working including that fscommand.

I hav attached the files with this post if any one cares to take a look on this matter. Hope my post/problem was clear to understand.

If you find any solution please let me know ..

Thanks

Sorry In Advance
okay so i kinda need a quick answer to a stupid question...

i set a variable in the main movie time line like this

set (myVar, 0);

inside a movie clip i need to check what that variable in the main movie is set to like this

if (?????.myVar) {
...
}


please i can't find it anywhere and i need an answer ASAP

thanks

Advance Frames
How do i get a movie clip to advance or reverse frames depending apoun where the mouse is(left of center or right of center). Kinda like a panoramic picture thing, but not.

Advance Movie?
hey,

i know how to do this, but i forgot. ok, well, i have this movie, and i want it to stop on certain frames, so i just put a stop action in the frame where i want it to stop right? ok, heres my question. i want the movie to advance to the next frame and start playing once i push enter. i tried putting a transparent movie clip in the scene and giving it the action

onClipEvent (keydown);
goto (nextframe)

or something like that, but it didnt work. i havent done this in a while, and i forgot. sorry to bore you. i need this soon.

Jacob

Can't Get Playhead To Advance
I started a new fla by using FILE>New From Template>Presentation>Presentation 1. The template works just fine and is quite suitable for my needs. I created an swf that I used in another project as an introduction to this presentation. I inserted it as slide 1 but after the swf plays, it won't advance to slide 2 where the main presentation begins.Any help would be appreciated. Can't find a related problem in the forum.

ADVANCE PRELOADER HELP
http://www.angelfire.com/emo/samsonknight

B4 i used a simple preloader I tried to implement an advance preloader to load up the Flash site. The problem was that when I used the advance preloader the following problems occured:

1, The scrolling navigational menu stopped working.

2,When debugging code, the scripts in both the adv preloader and nav menu were correct.

The navigational menu placed on the stage through actionscriping on layer 1 and layer 2.

Can SOMEBODY PLEASE PLEASE HELP ME, AS HELP IS ALL I NEED AT THIS STAGE.

Btw , the preloader i used b4 i used the simple preloader is the preloader shown in my intro movie.

Thanks

Samsonknight.

Advance Masking Help
hi, i want to show bits and pieces of an image until the whole image appears. how do i do it without having to put my image on multiple layers and using one mask per image layer. this will make my file size too large.

how come i can't mask a layer using a movie clip that has many layers with motion tween on it?

thanks for the help in advance

Advance Dropdown
Hi

I have created a simple dropdown menu in flash and i need to use it in a map of countries also created in flash.

The map holds 51 countries. If the user is scrolling on a country, the menu for that country would appear directly next to the mouse pointer position. The menu is the same for all countries.

For example, a user needs to search Canada. user would scroll on Canada, the menu appears and he selects the "search" menu item.

I have attached a smaller version of the map and the menu i need to use. I dont know whats the most effective way to make this work and secondly also if the menu needs to be dynamic because I have alot of countries to work with. really stuck

Any help would be truly appriciated..
Thanks

Advance Scroller
I have over 8 buttons in a list.

With only 4 visible at a time.

I would like to scroll those buttons much like you would scroll a text field.

Anyone has any idea of how to accomplish this task.


Thank you so much..

PS I want it to be continuous. When user clicks and hold the scroll button down - the list scrolls until it reaches it's end.

Advance Flash: Help
xavierdbz
Member

Registered: Feb 2002
Location:

Can this be done? Shopping carts in Flash
How can I create a shopping cart like this one: http://fantasyinterfaces.com/firestormpc/

At the end after everything is selected I would like for the user information to populate in my pay pal account.

PS Please don't just say yes - give me an example or send me the .swf and let me mess with it. does not have to be fancy, just the mechanisim behind it.


Please help thanks a million..

Very Quick Help... Thanks In Advance
Ok... so I am creating a site.
I want each section to load seperatly when I click a button.

I have a BASIC understanding for this.
All the content sections should be sperate SWF files that are the same size as the original. And all the content should appear inside the area that the stage it needs to be on is in the original. But further than that I have no idea how to make this happen.

Can someone give me a quick explination?


Thanks!

Advance Movie
Hi guys,

i know how to advance a movies frame head by nextframe and prevframe via a button.
Problem is that i need to take the mouse off the button and place in back on every time i want the frame head to advance or retreat.
How do i script a button that once i'm over a button the frame head keeps on advancing until i move the mouse off the button.
I'm sure there is a easy way of doing it but me not know how.

Thanks....

Advance Pre-loader. Please Help
Guys I need some help with something. I am having an issue with a preloader. I have a main flash movie that I would like to load several external .swf files into the main flash movie.

It works, but not the way I would like it to.

The Problem:

When I click the button that has the script to load the external movie: It shows a white area where the external .swf file will fill or be loaded. (I hate it)

How can I avoid this. It mainly happens on a slower connection.

I looked at 2advanced web site and I notice that there external files load without any white spaces being showed. It's like an animation plays and then turns into the pre loader.


Can anybody help me. PLEASE PLEASE..

Thank you

Advance Button
ok...so I need to have my movie advance to the next .jpg dynamically loaded. I have a movie clip where the jpg's are loaded to.
My script is as follows:
for the actions layer:

Code:
pic = 1;
loadMovie("/images/image"+pic+".jpg", "_root.target");


for my next button:

Code:
on (release) {
pic++;
}


I would like to have a previous button, and also have a loop, so that when the movie reaches the last picture in the file, it goes back to the first. (the folder is set up so that the client can load images as img1, img2, etc...)
Can anyone help? THanks so so so very much!

Self Advance Movie
How can I get a movie to advance one frame at a time with a pause between each frame?
Ecinele

Pre Load Advance
i was wondering if there is a way to have an advanced preloader to load up in parts .... maybe the parts of the background images are the actual preloader to themselves...
like
http://www.pixelranger.com/
he uses a preloader but the images all are preloaders of themselves in which he dynamically draws out the homepage with preloaders.
I just would love this technique it would help me out a lot for my compositions.

Button Advance
what actionscript do I put into a button to move to a certain scene on mouse click?

Thanks for the help

ON RMB Click Advance
Hi..

I know I can rightclick anywhere in the movie and detect the right click.. Can I rightclick a button and make a movie advance to the next frame.. Please..Let me know it is getting to be crunch time now..

Thanks

Auto Advance
Think of a story book - at the end of each page you have to click next page - is there a way to have that as a option but also hit say the "A" key on the keyboard, at the beginning of the program and it will just advance automatically when the VO runs out?

I can do one or the other, but cant make it work with the "A" as a option.

Any help would be great.

Automatic Advance
how do i advance a .jpg from an xml automatically every 3 seconds?

Space Bar Advance
I'm doing a presentation and my client wants to advance to each movie using the space bar. HELP!!!

[F8] Apologies In Advance..
Ok I apologise in advance for my sheer uselessness. I've been reading tons of flash books but I can't seem to get my head around a few things. If you could please help I'd be very grateful.

I have 7 buttons on seperate layers: b_monday, b_tuesday, b_wednesday etc

which I want to lead to 7 other movie clips on seperate layers which are: mc_monday, mc_tuesday etc

But I only want the corresponding movie activated by on the event onpress for that button.

I attached this code to the b_monday button


Code:
on(Press)

{

gotoAndPlay("mc_monday");

}
And so on and so on for each of the buttons. But when I watch the flash program all of the movie clips and layers play together. I understand that I need to stop this. Does that mean I use stop() at the beginning of each of the the movie clips so they don't play when test the movie?

I'm sorry I probably should be reading the help files right now and I'm probably using too many layers and going around things in an arse about way. But if you could help I'd really appreciate it.

Thank you.

~J

[F8] Best Way To Advance Frames Using AS
Hi there,

I am still working on this gallery, and I'd like to know what the simplest coding would be for advancing frames in a 20-frame movie, rather than adding this actionscript for each individual frame:

stop();
// function
backBtn.onRelease = function() {
gotoAndPlay(+1);
// action
};

stop();
// function
backBtn.onRelease = function() {
gotoAndPlay(-1);
// action
};

This code doesn't seem to advance more than one frame, I'm confused, should I have some sort of tween so the button action is carried through each frame?

Also, what's the best way to open a larger image in the movie after clicking on a thumb? I know ho to do it in html/js, but not sure how in AS.


Thanks again!

Advance MC Frames
Just a quick Q, hopefully not too complicated; what would be a code to make an MC (on a looped animation inside) advance x amount of frames while the cursor is moused over a button.

Also , is it possible to do something like this?: (more complicated)

An MC is on a looped circular animation, like a wheel turning constantly. When you click on a button, it speeds up each time you click - so theoretically if you click 20 times it'll be a blur, but when you stop clicking it gradually drops in speed until it's regular speed again.

Any help would be appreciated!

How To Advance In Flash
I dont know is it the right topic but anyways.

I have made a simple maze and quiz game.
Now i want to advance. I wanna make a simple fighting or racing game. Are there any good basic tutorials?

Advance Search
Hi,


This thread contains two attached file (fieldguide.swf) and one grfx folder, one xml file (bamboos1.xml)

I want to make advance search through flash.
In this attached file. we can search through localName by one word like himachal, then it will search
but i want that if i type (himachal, bomboo) both, then both word should be searched

you can download file from this link www.BatraBanquets.comsearch.zip

Please advice me.
rajesh

Advance Scripting Help
hi anybody

i want to put image proccesing tools in a webpage for users.how can i do this?
see this link and you will understand what i want:
<--http://www.customprintz.com/Neato/Designer.aspx?PaperId=2132&DeviceId=141-->

Advance Masking Help
I am trying to revile a house as if i was drawing it. * there is a dot on the screen and it will move around around like it is drawing. I need it to unmask the home while it is moving*. I am pretty good at flash i just need a lil help getting started on this new concept for me. Please help if you can Thanks.

Advance Fade
I'm trying to make a fade like the one you can see, if you for example choose: fashion
on this site http://www.peters-photography.de/

But I can't find the right settings, ofcause i can make it fade, but if you look at the site, the cool effect is, that there is some kind of color boost ind the fade.

Anyway, too make it simple, can anyone help me figure out, how the fade setting is, on that site? Or just, something that looks pretty similar

Thanks

Advance As Buttons
ask me anything bout it, so i'll know what to post.
anything concerned with animating and improving your navigation.

Advance As2.0 Buttons
ask me anything bout it, so i'll know what to post.
anything concerned with animating and improving your navigation.

Advance HitTesting
Ok, it's easy to test collision between two squares.
But... how do I test the collision if they are rotated?

Thanks for help!

Preloading Way In Advance
hey, hoping somebody can help me out. I've got a movie that contains a gallery as one of the areas. I am looking to preload the images in that gallery during the time that the user is entering into the site, maybe looking at another area, or if need be still loading when they get into that gallery. My question is how do i start the preloading if that section of the movie (that area of the timeline) if the playhead is not yet at that section of the movie?

I have the movie set up as a single frame movie for the most part but some of the sections have multiple areas and therefore the area in which the gallery is is not "active" yet so i can't preload into that area or can I? For instance when I setup a variable for a MovieClip path i can't target it if it's not on the stage correct? so how do i preload to it in advance?

All the preloaders i come across are for galleries that are on the stage at that point...

thanks and i hope i made some sense.

Advance Fade
I'm trying to make a fade like the one you can see, if you for example choose: fashion
on this site http://www.peters-photography.de/

But I can't find the right settings, ofcause i can make it fade, but if you look at the site, the cool effect is, that there is some kind of color boost ind the fade.

Anyway, too make it simple, can anyone help me figure out, how the fade setting is, on that site? Or just, something that looks pretty similar

Thanks

Advance To Next Frame
okay, i'm feeling very foolish here . . . i used to use flash pretty regularly, but haven't in almost 2 years. i'm now working on a project and trying to do the simplest of techniques -- a simple "back and forward one frame" action.

here's my script:

on (release) {
prevFrame();
}

but when i preview, nothing. is there some drastic change that's taken place between flash4 and 2004mx?

even this isn't working:

on (release) {
gotoAndPlay(10);
}

these are actionscripts applied to movieclips. can anyone tell me what i'm doing wrong?

Advance Flash And What?
Ok. I've seen some great css/ajax and Flash sites but this site is one of many that I just can't figure out what software on top of flash that they used to create this site. Take a look and let me know. I'm dying to know... Remember click on the picture http://www.d-o-e-s.com/collection/cyborg/

Advance Form.
Hi all. =)

Im wachig for a advance emai form (php). Dont care my if is in javascript, flash or php, but i realy wanted some licke these:

http://phpformgen.sourceforge.net/phpform/


I need these:

Form1: Hay many "Form2" yo need.
Form2: here you can put: Fisrt Name, Second Name and Phone.

So, when you put in the Form1 ej. 4 and press NEXT you can see 4 groups of From2 (licke the URL)

Im clear? (sorry for the bad english).

Thanks for all...

John.

Advance To Frames
I got a cheek little 10 frame movie clip named LOADER. This little loader will be on the first frame of the main time line, where obviously there will be a stop action and all that. Fine so far.

Now the kind of thing I'm looking for is this: I want do GetTotalBytes of the main movie (the whole website), and have each 10% of the bytes loaded advance the play head (of the mc LOADER). Is this possible.

I was thinking using GetTotalBytes to establish the movie size, then on the movieclip LOADER I would have TotalBytesLoaded (for every ten percent movie loaded)...

this.gotoandplay(corresponding frame number)

Would this be the best way though if not would love it if someone could teach my feeble brain how to do it.
Thank youuuuuuuuuuu!

MP3 Player Advance
I have a player that works great except, I don't know how to get it to play the next track automatically after the first is over.

Here is my AS on the first frame (showing how the music is played)

s = new Sound();
s.loadSound("01.mp3", true);
currentTrack = ""Someday You'll See" ";
stopped = false;
paused = false;
stop();

Is there something I can add to this that will move it to the next frame?

Advance & Rewind
I've got a 3D kitchen done in Plasma, inported into flash, now I'm wanting the user to be able to rotate the movie left and right when they move the cursor across the screen. Is there a simple script that can do this?

Cheers

EVERYONE READ THIS, I NEED TWO THINGS =)- TY In Advance
Note: Please everyone that reads this, can you post on it even if you dont know the answer.. so it stays on top until someone that does comes along..

First thing I need:

1. A method to write to a variable.txt file on users HardDrive from an Online SWF. The user cant be notified.. it's for a registration Program and I need to send secret variables.

Second thing I need:

2. A method to check OS of user. To know where to store Variable File.. Below is an example.. I just need the AS for it:

IF Exist(c:windows)
GOTO NextScene()

Else If EXIST(c:winnt)
GOTO Scene(3)

Else GOTO Scene(4) Invalid OS

-Please post something even if you dont know. Please let me know ASAP if you do.. Thank you all so much!

-Prostorm

A CHALLENGE For The ADVANCE USERS
Hello everyone. I downloaded a set of buttons recently for Flash. Even tough, it is an open source, there is someting really messed up about them. Appearantly, it goes to the authors site, when you click on them. I wanted to use it for an offline and a non-commercial project, but I can't cause I want it to link to a FRAME NUMBER in flash and not a site. I don't know how, but somehow after some thinking, a found the WELL Hidden action in the file, which lead to the author's site, somewhere on geocities.com. I found this by enabling all the "Show" options in the Movie Explorer. Once I found the action, I wanted to change the "getURL" action in it, to a "goto" actions so I can interact with a FRAME NUMBER in my flash project. But I have spent the whole day, and I'm STILL unable to replace the "getURL" action with a "goto" action. There seems to be NO WAY to edit this code! Also, if you do you wanna try to give it a shot, remember, the frame(frame 5) which contains the "getURL" has other actions related to the animation, so ONLY REPLACE the "getURL" action with "goto". The .fla file for it is at: http://www.escalix.com/freepage/utfragger/button1.fla . If you can do it, you MUST be HELL of a Flash user. Also, please if you actually pull it off, please email it back to me, with the instructions, on HOW you actually did it. You can send it at: faraz@gnc.com . Thanks in advance ADVANCE USERS and GOOD LUCK!

Quick Question- Thanx In Advance
hi all, I have a quick html question for all you flash gurus out there!!, and thanx in advance if you can help, or thanx for reading!!

I have a table and inside the table i have a background image, the table has table datas (input fields) and it works great in explorer.. But i cant seem to get it too work in netscape.. In netscape 4.1 it puts the image in every table data, and in the latest v of NE it doesnt show the image at all. If anyone could help with how i should arrange this.. It would be very very useful.. Im sorry i cant provide a link, because of security reasons.. Thanx alot!!

How To Use Advance Frame From Within A Movieclip?
Can someone please help me out with this one?

Here's the situation:

I have 2 movieclips, each on its own layer. From within each MC, at different frames in the timeline, I'm trying to advance thru the main timeline but I can' do it!

This is what I've tried using:

_root.nextFrame();
_root.gotoAndStop(n);
nextFrame();

After debugging, I've figured out that having just one MC allows the script to work, however having both MC's prevents the other from working. Does anyone have a clue, cuz I sure don't?

Here's the actionscript for MC1, on Layer 2, Frame 1:

onClipEvent (load) {
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this._alpha>=0) {
this._alpha -= _root.fadeRate;
} else {
_root.gotoAndStop(2);
}
_root.alphaCurrent = this._alpha;
}
-------------------------------
Here's the actionscript for MC2, on Layer 1, Frame 2:

onClipEvent (load) {
// record the current time
startTime = getTimer();
// initiliaze a variable to keep track of how much time has passed
elapsed = 0;
}
onClipEvent (enterFrame) {
// check how much time has passed
elapsed = getTimer()-startTime;
// check to see if the time pass is less than the length of the duration
if (elapsed<_root.duration*1000) {
_root.counter = _root.duration-Math.floor(elapsed/1000);
} else {
_root.gotoAndStop(3);
}
}

TIA,

Tom
[Edited by tomta on 02-23-2002 at 06:53 PM]

Advance Loading Problem
Hello,
I have file which is for 600 kb and i don't want to split up this file in 3-4 files for external swf loading. I want some 200 kb should be load first and then , when user will click on link, each movie clip of that link should be load.

Once again, no External swf file loading please.
Regards,
Paresh

Advance Loading Of Movies
I have a main movie that loads other movies in (movies 1 - 15). Buttons next and back allow you to navigate through these movies.

I'm trying to figure out the best way of having it so that when movie 1 is loaded and playing, the other movies load in the background.. and continue to load when next/back is clicked. (kind of an advance loading system)

Also, I want to eliminate the 'flashing' that occurs when the 'next' button is clicked to open the next movie.

Anyone have any ideas?

How To Create More Advance Button?
Hi,

I am a beginner in flash. I have successfully use the actionscript in my button such as "GoToandPlay". I am curious to learn more about button like on how to make the button more "alive" rather than static ?Is there any tutorials that I can learn from? Thank you very much.

HTML Question, Thanks In Advance :D
Does anyone know where to get an html generated <-- javascript that makes an image go from dark to normal?

I have an image, but its pretty big and I want it to start off with like 80% black opacity (javascript, css?) and when someone rolls over it, it turns to 0% opacity, or the original image.

I cant use another image for rollover because the image is too big.

Thanks for your help in advance!!

-Indio

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