Mx2004-Loadmovie Question
Hi, I am trying, and have started to create a movie with 3 external swfs, and one nice chunky one to start. I am combining some aftereffects video stuff, so the files are kind of large. What I am doing so far, is setting up a simple preloader (one that I got from here) and then on frame three, embedding the first segment of my movie. Once that first segment plays, and gets to frame 220 or so, I then have a container placed with the loadmovie command, to load the next swf. And then so on, and so on. It works fine, however, there is a pause when the _root gets to the next frame container to load the movie. The reason being I am sure, is that the movie isn't loading while the initial _root movie segment is playing. Is there a command I can use maybe on frame 3 of the _root, right after the preloader, to trigger the download of the next movies? I have looked at some different forums, and have done the searches, but nothing specifically answers this for me--or quite possibly, I am just overlooking the obvious. I would like the preloader to still only load what is on the initial _root timeline, but as i said, have the other swfs loading while that first part is playing.... any help in advanced- greatly appreciated. dave
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 10-29-2004, 11:50 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
LoadMovie Variable ? Mx2004
I'm trying to load a movie in mx2004 using:
loadMovie(variable+".swf",1)
... and of course, it doesn't work. Why else would I be here?
Any help is apreciated. Thanks.
Mx2004-Loadmovie Question
Hi,
I am trying, and have started to create a movie with 3 external swfs, and one nice chunky one to start. I am combining some aftereffects video stuff, so the files are kind of large. What I am doing so far, is setting up a simple preloader (one that I got from here) and then on frame three, embedding the first segment of my movie. Once that first segment plays, and gets to frame 220 or so, I then have a container placed with the loadmovie command, to load the next swf. And then so on, and so on.
It works fine, however, there is a pause when the _root gets to the next frame container to load the movie. The reason being I am sure, is that the movie isn't loading while the initial _root movie segment is playing.
Is there a command I can use maybe on frame 3 of the _root, right after the preloader, to trigger the download of the next movies?
I have looked at some different forums, and have done the searches, but nothing specifically answers this for me--or quite possibly, I am just overlooking the obvious.
I would like the preloader to still only load what is on the initial _root timeline, but as i said, have the other swfs loading while that first part is playing....
any help in advanced- greatly appreciated.
dave
MX2004 AS[2] AttachMovie Vs LoadMovie
Hello,
When I load a movie then attach a clip from the library and even though I assgin a higer level to the attached clip, it still appear behind the externally loaded movie assigned a lower level. How can I place the attached movie on top of the loaded swf movie?
Any help will be greatly appreciated.
The I have include a code snippet below to illustrate my delima. Is it correct to use a higher value to place a clip on top???
function fnext(){
//LOADS EXTERNAL .SWF: SCREEN CONTENT ON LEVEL 100
step +=1;
vtofile = "contents/screen";
ext = ".swf";
//loop conD search
for(i=0; i<=varray.length; i++){
if(step ==varray[i]){
vpath = (vtofile+step+ext);//concat
loadMovie(vpath, "_level100");
//END SEARCH
}
}
// END NAV====
//LOADS ATTACHED MOVIE FROM LIBRARY TOO A HIGHER LEVEL ON TOP OF LEVEL 100.
//quiz ===========
function fquiz2(){
for(i=0; i<=arrquiz.length; i++){
if(step ==29){ //
//hardcode
attachMovie('iquiz2', 'iquiz2', "_level1000");
iquiz2._x=300;
iquiz2._y=300;
}
}
}
[MX2004] External JPGs & LoadMovie()
I have 100 mc's loading external thumbnail jpgs via loadMovie(). I need a preloader of some sort to show the status of the thumbnails. The problem is that each of the mc's are loading JPG individually and I am not sure of how to combine their loading statuses into a preloader. The other option I had planned to use was to make one thumbnail larger in file size than the others so that it would load last and therefore I could use some onload function for this particular thumbnail, but I do not know what would be best to use in this case.
Any help/suggestions are greatly appreciated.
[MX2004] External JPGs & LoadMovie()
I have 100 mc's loading external thumbnail jpgs via loadMovie(). I need a preloader of some sort to show the status of the thumbnails. The problem is that each of the mc's are loading JPG individually and I am not sure of how to combine their loading statuses into a preloader. The other option I had planned to use was to make one thumbnail larger in file size than the others so that it would load last and therefore I could use some onload function for this particular thumbnail, but I do not know what would be best to use in this case.
Any help/suggestions are greatly appreciated.
[MX2004] External JPGs & LoadMovie()
I have 100 mc's loading external thumbnail jpgs via loadMovie(). I need a preloader of some sort to show the status of the thumbnails. The problem is that each of the mc's are loading JPG individually and I am not sure of how to combine their loading statuses into a preloader. The other option I had planned to use was to make one thumbnail larger in file size than the others so that it would load last and therefore I could use some onload function for this particular thumbnail, but I do not know what would be best to use in this case.
Any help/suggestions are greatly appreciated.
[MX2004] External JPGs & LoadMovie()
I have 100 mc's loading external thumbnail jpgs via loadMovie(). I need a preloader of some sort to show the status of the thumbnails. The problem is that each of the mc's are loading JPG individually and I am not sure of how to combine their loading statuses into a preloader. The other option I had planned to use was to make one thumbnail larger in file size than the others so that it would load last and therefore I could use some onload function for this particular thumbnail, but I do not know what would be best to use in this case.
Any help/suggestions are greatly appreciated.
LoadMovie: Flash 8 Poor; MX2004 Great
I've got a crystal clear SWF created with Captivate.
If I load this SWF into another movie created in Flash 8, the result comes out fuzzy and heavily compressed.
In MX2004, the same file, same code plays just fine. Identical for either the player or in a browser.
Flash side, I have just two lines of code in a single frame:
Code:
_quality="BEST"; // Useless prior attempt at fix
loadMovie("capture.swf",mcholder). // works fine
Publish settings (same for 8 and MX2004): no compression, JPEG quality at 100. I used no compression when publishing from Captivate as well.
What am I missing here? How do I get Flash 8 to load a Captivate SWF without compressing the heck out of it? Argh!
TaliaJ
[MX2004] LoadMovie Wont Go To Specific Movie Frame
hey there! i'm new in flash and already having BIG problems with loading movies and playing them not from the begining, but from a specific frame...how is that done ?!
so you can have an idea i have this code in the menu button:
on (release) {
_root.gotoAndPlay(2)
}
and in the main movie, on frame 2 i want to load a movie but start it in frame 5(!) , cause the animation it has before has already been used...is it possible to do? can anyone help me please ?
MX2004 Bug?
Using Flash MX 2004 I noticed a bug (I presume).
Normally you could undo changes when editing a symbol.
In MX 2004 you can't!
Is it just me or is it "the new way of editing"?
MX2004 Not That Bad... Really
Okay, i know i'm probably gonna get shot for saying this, but here goes...
So far, i like FLash MX Pro 2004. The interface is a bit awkward and i'm still trying to get use to it, but i have had no crashes, no slowdowns, and no problems whatsoever, aside from getting used to the new interface and learning some new scripting.
Does anyone else here LIKE the program? Also, has anyone found any good books on new features/scripting?
thansk,
-myk
Mx2004
can people still view movies made in flash mx 2004 if they only have flash 6?
What Is New In MX2004
I have the trial version of MX2004 and after a brief observation I didn't see any new things. I heard that you can use the mouse scroll button but is that all?
What is new in MX2004? I need to know that in order to decide if I need it or not.
Mx >> Mx2004
Hi, what are the main benefits to you of this upgrade?
MX Vs. MX2004
I have been wondering whether to update to MX2004, having been using MX for about 15 months.
What is the general concensus?
.fla - MX And MX2004
Hi,
I got a problem. I instaled flash mx2004, but it cant open my others mx .fla
I lost all my projects?
[]'s
MX2004 And ASP
Itīs me again
Im using asp + mx2004.
I have 2 files, top.asp and lib.asp. The lib.asp has the variable that I want to load in flash, and the top.asp is running the swf file and calling the lib.asp (include).
When I load de variables (in flash) from lib.asp, the swf file freeze at the beginig(where I use loadVariables()) and after a few seconds, its plays normally.
hereīs my code:
1st frame at the main timeline
Code:
vari.loadVariables(lib.asp);
stop();
MC vari at the 1st frame at the main timeline
Code:
onClipEvent(data) {
if (area == "true") {
_root.gotoAndPlay(5);
} else {
stop();
}
}
One more thing. The lib.asp file prints the variable area and the value. I know that Im using response.write "&area=" & "true", but Im not a asp expert. I found this reading some tutorials and foruns. Any idea?
Pelase, help me (one more time! )
[]īs
Mx2004 To Mx Please?
just need a file converted from mx2004 to mx if possible
thanks in advnace.
click me
AS Changes From MX To MX2004
I just upgraded to MX2004, and I have found it a lot more difficult to script simple things, namely trying to use tellTarget...
Is there a way to get back the "drag and drop" coding from regular MX (Flash 6)? Like, the easy mode, where you don't have to type everything out, it does it for you and you fill in the blanks.. I am tired of all these syntax errors...
Is there some way to turn on "easy mode" like in MX?
Mx2004
Just installed it at work, where's the simple actionscript thing?
You know, before you could just double click on a command, lets say play(); and it would put the on event handler if you have a button selected:
Code:
on(keyPress "<Space>"){
play();
}
Where is that now?
Sheesh... I feel old... First time using mx2004 and photoshop-cs... its like someones been in my house and cleaned up! I don't know where anything is!
MX2004 - Is This A Bug Or What...?
There is an annoying thing that I notice since I finally decided try MX2004 (I use either MX and MX2004). I dont know if it happens just with mine MX2004, but...
In MX, when you strike ALT-F3 if you type any expression in the search box, it shows you ALL occurrencies of the expression, even the ones that are withing MCs. In MX2004, it just shows the ones that are in the main timeline. It's very annoying because makes harder to find some portions of code that are spreaded through the movie...
Other stupid bugs:
a) They didnt solve yet the layers vertical scrollbar thing
b) If you just saved your file and just click the stage it puts the asterisk next to the file name telling you that it's not saved - LOL
Mx2004 To Mx And Some Help...
wanted to know if anyone could convert this mx2004 file to flash mx for me
http://www.naghibi.com/sliding images.zip
and i was also having a problem with this links file. I am loading the swf into a movie swf with a movieclip container titled "content"
The problem is that when I load the links.swf into the main movie swf container "content" the link buttons stop working. I know I am not calling the gotoURL command correctly. Anyone have any ideas?
http://www.naghibi.com/links.zip
ps- the links .zip file contains the xml, .fla, and the .swf files. once you open the .fla you will see that the entire thing is actionscript.
thanks in advance
[F8] And MX2004
I'm working on both F8 and MX2004.
Are they ok, or should I try to stick to F8.
My prior knowledge of versions is that it all goes wrong.
Thanks
On A Mac, BAD To Run Both MX2004 And 8?
Quick question to any Mac users here...
I recently got Flash 8 installed on my G5 dual processor machine running Tiger at work. I already had MX2004. I've been using 8 to do work and save back to MX2004. Sometimes, if 8 crashes a lot, I go back to MX2004. I won't use 8 exclusively until we start exporting Flash 8 SWFs (waiting on market penetration).
Is it BAD to use both on the same Mac? Just today, I found that doing some XML work in an MX 2004 FLA in 8 didn't work the same as doing the same FLA in MX 2004. Is something going on? Do they conflict?
The difference is night and day -- an MX 2004 FLA done entirely in 8 and exported as a SWF seems to work OK. Open the same FLA in MX 2004 and export the SWF, and it breaks. I'm exporting as Flash 7 in both cases.
IronChefMorimoto
MX2004 AND CS3
Any known compatibilitiy concerns?
I am going to use a company to devlop a flash wrapper and there platform is MX2004.
We are considering buying CS3 inhouse to do any changes updates etc.etc.
my concern is that they are using a old format that may be outdated?
I am wondering if anyone familar with the 2 programs could give me any feedback about this.
Thanks
Mx2004 Fla 2 Mx Fla?
i cant save a mx2004 fla file into mx file...why? (when i save it as mx file, mx says "Unexpected Format")
MX Vs. MX2004
What's the difference between regular Flash MX and MX 2004, if any?
Mx2004 Fla 2 Mx Fla?
i cant save a mx2004 fla file into mx file...why? (when i save it as mx file, mx says "Unexpected Format")
MX Vs. MX2004
What's the difference between regular Flash MX and MX 2004, if any?
How To Loadmovie The Place Iwant? I Have Loadmovie But It Just Take All The Screen
i load a swf and it just take all the space
and my buttoms and others are all been covered
here is how i do it
onClipEvent (enterFrame) {
ifFrameLoaded (1) {
loadMovieNum ("first.swf", 0);
}
}
i put this in the layer called middle where i have put a instance of a w700 h270 movieclip so i can try to loadmovie the same size of it but it just failed
did i miss anything else? i know i did
please tell me~~~~~~~~~~~~~~~~~~~~~
Private ? (MX2004)
I have tried out some new as stuff in the MX2004P trial.
Doesnt seem to work:
The private access modifier - private vars are accessible to
instant variables, can both get and set them directly - no error messages.
Strictly typed variables - no protests from the compiler when
assigning values of wrong types to class instance variables.
Only when trying to assign wrong types to variables INSIDE the class
declaration I get errormessages.
Am I missing something or is this new version buggy???
Oeyvind
--
http://home.online.no/~oeyvtoft/Toft...eset/flash.htm
MX2004 CRC Error?
I just downloaded the demo of mx2004 (flash) and im running win 98se ad when i unzip i get a crc error. I HATE IT! anyone else know aything or have this issue?
i get
End-of-central-directory signature not found. Either this file is not a Zip file, or it constitutes one disk of a multi-part Zip file.
yea nad i downloaded it 3 times and it still doesnt work, and i tried unzipping with 2 different programs and it doesnt work
MX2004 - Textfields
ok i have a text field.. how do i make it so when the user hits enter after typing in there email adress..it emails it out to another email.
plz help!
thx!
Using Flash Pro MX2004
I am developing an application with FLash MX2004 - trying to use the new components and having some issues. One is that when you load a movie into a floating window (it seems that it uses a mask) the buttons are not working.. Any Ideas??
Thanks
MX2004 List Box
I am using the list box component in MX2004.
How can I populate a external text field from the click of one of the labels in the list box?
cheers,
Difference Between Mx & Mx2004 Pro
I finally got my company to upgrade to MX, and bought flash MX Pro 2004. I'm trying to get up to speed quickly (I know my way around flash 5) but all the books I can find are about regular MX, not MX pro. So my question is, what are the differences between the programs? Would reading a regular MX book be a waste of time? The particular books I have in my possesion are Macromedia Flash MX Training from the source & Friends of Ed Foundation Flash MX.
Thanks!
Conversion Help Mx2004 - Mx
Hi there i am wondering if someone can help me. I have been working on a project in the trial version of FlashMX2004 and neglected to save them as MXdocuments before the trial expired, hence i know cannot ope my work in MX. I would like to email my files to you for you to save as mx documents and not the current mx2004document. i have a few files but would not total more than 1mb, Someones help with this would be appreciated. email me - pauluswebster@xtra.co.nz
cheers
Use Of Array's MX2004
I am not really good in AS, i know somehow it is more easy to use array's for the
AS below. Could somebody help me to explain and show me how i can fix the AS below with the use of an array? It's for my own portfolio... the array should contain 12 'items'.
Thanks
FD
-------------------------------------------------------------------------------------------------
Actionscript:
_root.mcclients.createEmptyMovieClip("work01", 1);
work01.loadMovie("workfolder/work01.jpg");
work01._x = 10 ;
work01._y = 10 ;
onEnterFrame = function () {
work01.onRelease = Release;
}
function Release() {
gotoAndPlay(1);
}
_root.mcclients.createEmptyMovieClip("work02", 2);
work02.loadMovie("workfolder/work02.jpg");
work02._x = 92 ;
work02._y = 10 ;
_root.mcclients.createEmptyMovieClip("work03", 3);
work03.loadMovie("workfolder/work03.jpg");
work03._x = 174 ;
work03._y = 10 ;
-----------------------------------------------------------------------------------------------
MX2004 Pro Problems
Hi Im a noobie and i got flash 2004 mx pro. i dont know anything about actionscript really, and it seems to be stuck in expert mode and there doesnt seem to be anywhere you can switch it back to basic mode. please help im tearing my hair out
Mx2004 Pro Problems
Hi Im a noobie and i got flash 2004 mx pro. i dont know anything about actionscript really, and it seems to be stuck in expert mode and there doesnt seem to be anywhere you can switch it back to basic mode. please help im tearing my hair out
Actionscript In Mx2004
Hi
can someone please do me the actionscript for a button which will open this url
http://www.cmfurniture.co.uk/products.asp?category=8
ive just got mx pro 2004 and every time i try and do the actionscript i get output errors when i export the swf, im used to flash 5 and basic mode.
thanks
Using Screens In MX2004
I am testing out the screens feature in MX2004 Pro. I have my parent frame and added a nested frame. The information on the nested frame shows through. Is there a way to hide the child screens until I navigate to them?
Urgent Mx2004
Sorry for my double post!!!!!!!! but i cannot get this fixed
Hi all,
Lazy as I was I always used "/:MyVar = 1" from flash 4 till mx.
When I use /:MyVar = 1 or /:MyVar == 1 it tells me that's it doen't understand "/".
How can I tell flash mx2004 from within a movieclip that a variable on the main timeline (root) gets a new number?
I didn't get an correct answer yet!!!!!!!!!
more simple explain:
I make a dynamic textfield on the main timeline and i name the var Q.
It's simple to tell with a mousecommand in a button: Q = 1 BUT
The button is inside a mc. Normally i used /:Q, but that doesn't work anymore in 2004.
What should I do to let it work?
MX2004 AS2 Question
Hi,
when I refer to a MX component as a movieclip, which is supposed to be a kind of movieclip I get undefined:
var myComp:MovieClip;
trace(myComp);
will give undefined. What is the correct type of a MX component in MX2004 or is there may be no Type?
Buttons In MX2004
Hi
Just bought Flash MX2004 and opened my old MX files in it, but I cant work out how to use buttons any more!!
I just want to add an OnPress event to tell an MC to go to a certain frame.
I miss:
on (press) {
tellTarget ("_root.mc") {
gotoAndPlay("frame1");
}
}
Also, is there a normal mode for the actions menu?????
Messed Up With MX2004
in the previous MX version there used to be with a right mouse click on a MC within the library a menu step called "Action" - This is not any more.
Now I am messed up I have linked a Script to a MC, but this seems to only appear at the keyframe I opened the script window for the movie Clip.
Question (which makes no sense to me!!) - Do I have to copy this script to every keyframe I want this MC to be active on?? this would be quite silly.
a different way??
Thanks!
12&70
Referencing In MX2004
heya guys, hope someone can help me here, my jobs on the line!
I have a movie clip that needs to reference the main timeline to then jump to a specific scene.
what is the basic code??
i have been using _root.gotoAndPlay ("sceneName", 1) as it just doesnt work
please please can someone help me???
big thanks for anyone who can :>
ross!
|