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








Preloader In Mx 2004


can some one help me with this.
I enter this in the preloader scene

ifFrameLoaded ("Scene 1", 55) {
gotoAndPlay ("Scene 1", 1);
}

everything in the next sence is pushed forward 5 frame. Example button A suppose to tell the movie to play the sence at frame 5, it'll play at frame 10.
is there another way to create a simple preloader (w/o the percentage) in mx 2004? If there is please help me




FlashKit > Flash Help > Flash General Help
Posted on: 03-26-2004, 06:05 AM


View Complete Forum Thread with Replies

Sponsored Links:

HELP WITH PRELOADER (MX Pro 2004)
Hey there. Some time ago, I had a preloader question for Flash MX. The question involved a 100 frame movie clip that I wanted to use as a preloader....and I followed all the steps correctly and everything worked out very well. Here is the script that I used for Flash MX.

onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
progress = Math.round((loaded/total)*100);

if (loaded == total) {
_parent.nextFrame();
} else {
this.gotoAndStop(progress);
}
}

I attached that to my 100 frame movieclip in the first frame of my main timeline, and also put a stop command in the first frame of my main timeline as well. Everything worked fine.
When I got my copy of MX Pro 2004, the same actionscripting worked just fine for that same file....but now I am doing a new website, with the same 100 frame movie clip, using the same actionscripting...but now, the preloader movie clip wont even start, let alone play my movie. Is there something wrong with the code? Does it need to be changed for the 2004 version? I'd really appreciate it if someone can shed some light for me, because I am really stumped (and I need to get this site done lol)!

FrankieB

View Replies !    View Related
Preloader And 2004 Mx
I have made a preloader but i doesnt go to scene "main" after finishing loading. Please help:

this.onEnterFrame = function() {
var total_bytes = this.getBytesTotal();
var loaded_bytes = this.getBytesLoaded();
var frames_loaded = this._framesloaded;
var percent = Math.round((loaded_bytes/total_bytes)*100);

this.bar._xscale = percent;
this.status_tekst.text = "percent loaded: " + percent;

if (frames_loaded > 0 && total_bytes == loaded_bytes) {
this.gotoAndPlay("main",1);
delete this.onEnterFrame;
}
}
stop();

View Replies !    View Related
Preloader 2004 Mx Help
hi, i dunno if its mx 2004 or just me, but i get this error when trying to do a preloader

Target not found: Target="undefined" Base="_level0"

can you tell me where i got it wrong?

var loadedbytes:Number= getBytesLoaded();
var totalbytes:Number= getBytesTotal();
var loadedkbytes:Number = Math.ceil (loadedbytes/1000);
totalkbytes:Number =Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
nextScene ();
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop (_root.frame);
}

View Replies !    View Related
MX 2004 Preloader
I'm using Flash MX 2004 Professional and am doing some XML binding into a text field on frame one of the main timeline. How do I sneak in a preloader since all of the components seem to only work in frame one?

View Replies !    View Related
MX 2004 Preloader
Can someone point me to a preloader that will work in MX 2004. It's been more than a year since I've dabbled in flash and my preloader that I used to use in Flash 5 does not appear to work the same in MX 2004 unlesss of course I just haven't set it up properly. I have a preloader that sits in frame one...very simple and I'm trying to load other flash files in. I do not have the Pro version and it appears they've really separated coding from being able to just addeing things. Unless there is a function that can help me. Guess I need a quick review.

Help

View Replies !    View Related
Preloader Mx 2004
I have tried a few different tutorials on the flash mx 2004 preloader, I cannot get it to work. does anyone have any ideas?

Thanks

View Replies !    View Related
Mx 2004 Preloader
Hi, I have tried 4 different preload scripts, I am having no luck at all. can someone please help me with a easy preload script that has the percentage.

thanks, Kristen

View Replies !    View Related
Preloader....mx 2004
hey guys i need to find a tutorial or example on making preloader via actionscript like ill make the progress bar via drawing api and text field that will display its loading can anyone direct me to a toturial please..........

View Replies !    View Related
Preloader In Mx 2004
Hello,
I am new to mx 2004 and internet design as a whole (only a couple of years but not alot of flash) so please bear with me if I dont know all the lingo yet. I am trying to create a preloader for my site and just cant seem to do it correctly. Am I wrong to say that it seems the whole process completly changes with each version of flash and if thats true than thats one of the confusing things ever .
But anyways thats what Im trying to do and I have been doing some research into using flash components and have played with the preloader that comes bundled with flash and its interesting but I could only get that to work with a jpg and not another swf. What do I do? Can someone point me in the direction of a good tutorial or give me some pointers on using the loaderbar and loader component?

thank you very much ahead of time

gary

View Replies !    View Related
Preloader...2004
I have looked trough the forum..
Isnt there a easy way to insert a simple minimal preloader to load a .swf...

I use flash MX 2004
Please help me out!

View Replies !    View Related
Preloader....mx 2004
hey guys i need to find a tutorial or example on making preloader via actionscript like ill make the progress bar via drawing api and text field that will display its loading can anyone direct me to a toturial please..........

View Replies !    View Related
Preloader In Mx 2004
Hello,
I am new to mx 2004 and internet design as a whole (only a couple of years but not alot of flash) so please bear with me if I dont know all the lingo yet. I am trying to create a preloader for my site and just cant seem to do it correctly. Am I wrong to say that it seems the whole process completly changes with each version of flash and if thats true than thats one of the confusing things ever .
But anyways thats what Im trying to do and I have been doing some research into using flash components and have played with the preloader that comes bundled with flash and its interesting but I could only get that to work with a jpg and not another swf. What do I do? Can someone point me in the direction of a good tutorial or give me some pointers on using the loaderbar and loader component?

thank you very much ahead of time

gary

View Replies !    View Related
Preloader...2004
I have looked trough the forum..
Isnt there a easy way to insert a simple minimal preloader to load a .swf...

I use flash MX 2004
Please help me out!

View Replies !    View Related
MX Pro 2004 Preloader Question
Hey there. Some time ago, I had a preloader question for Flash MX. The question involved a 100 frame movie clip that I wanted to use as a preloader....and I followed all the steps correctly and everything worked out very well. Here is the script that I used for Flash MX.

onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
progress = Math.round((loaded/total)*100);

if (loaded == total) {
_parent.nextFrame();
} else {
this.gotoAndStop(progress);
}
}

I attached that to my 100 frame movieclip in the first frame of my main timeline, and also put a stop command in the first frame of my main timeline as well. Everything worked fine.
When I got my copy of MX Pro 2004, the same actionscripting worked just fine for that same file....but now I am doing a new website, with the same 100 frame movie clip, using the same actionscripting...but now, the preloader movie clip wont even start, let alone play my movie. Is there something wrong with the code? Does it need to be changed for the 2004 version? I'd really appreciate it if someone can shed some light for me, because I am really stumped (and I need to get this site done lol)!

FrankieB

View Replies !    View Related
FMX 2004 Preloader Question
Hello,

How can it be that when I load the preloder I have to wait untill the preloader gets visible. When I run the .fla i firt get a black screen and within an couple of seconds my preloader begings to run.

How can I let it work so that it begin directley when I run the. fla

THnx,

View Replies !    View Related
Preloader Problem (MX 2004)
Hey!


I don't really know if this is possible? Here goes; I have a site right.. as it is today the whole site is preloaded from start; Info, Contact and the heavy part, the Portfolio.

You can have a look at; www.paperino.se (it's in Swedish)

To the question; Is it possible to first load the site so you only can access the Info (Om oss) & Contact (Kontakt) part while the Portfolio part is getting loaded in the background?

I know that one solution is to make it into two files instead... the portfolio could be named eg. porfolio.swf and have a preloader function of its own. The point is that I would prefer to keep it as one file - with the Portfolio part of the file being preloaded separately in the background.

I would really appreciate any help!

Cheers, Bateman

View Replies !    View Related
MX 2004 Pro Slides And Preloader
Hi,

I'm a vetern of Flash 3 and 4 attempting to get up to speed on the new version... I know how to build a prelaoder but am a bit perplexed as to how to do so with a slideshow created with the new screen based format.

Access to the main timeine is limited, my understanding is that it can be targeted, but not modified directly, so I can't put it there. I tried embedding the .SWF of the slideshow in a parent movie and installing the loader in frame 1 but the .SWF showed up as a single frame only. I also tried to load the SWF into a container clip in frame 2 with the loader being in frame 1, but of course it only read the size of the container clip, not the SWF being loaded.

I must be missing something horribly obvious, any help is appreciated. Here's the code from the preloader..

myInterval =setInterval(preloader, 10);
function preloader() {
if (getBytesLoaded() >= getBytesTotal()) {
play();
clearInterval(myInterval)
}
bar._xscale = (getBytesLoaded()/getBytesTotal())*100;
myTextField.text = Math.round(getBytesLoaded()/getBytesTotal()*100)+ "%"
}

Here is that code in action before a non slide-based clip

www.liveeyetv.org

View Replies !    View Related
Preloader In Flash MX 2004 Pro
I have a preloader with this action script:

onClipEvent (enterFrame) {
loading = _root.getBytesLoaded();
total = _root.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndPlay(2);
}
}

also in an "actions" layer for frame 1 & 2 I have stop();

the main script is attached to a MC with a MC inside named loadBar and a dynamic text box with the var percentage. upon playing the movie, the text box displays: 0% and the bar remains at 1 pixel width.

I used to have Flash MX and it worked fine. then I upgraded to 2004 pro and the script won't do anything. It doesn't give any errors, it just sits there.
Is the code different with pro, or am i just being stupid and overlooking something simple?

View Replies !    View Related
Preloader Comp In 2004
How can i use movie preloader component in Flash 2004?

Any tutor please?

Thanks Jan

View Replies !    View Related
How Use This Preloader (fl 2004 Mx Needed)
How can i use this preloader, can u show me?
In this file is preloader of 2004 an photo to load it.

I will use this preloadre in the future for site loading as normal movie preloader.


Thanks in advance
Bye
Jan

View Replies !    View Related
Testing Preloader In MX 2004
I know that in MX, in order to test a preloader when testing movie, you must press ctrl-enter two times. In MX 2004, when you do that, it asks if you want to cancel the test movie. How do you test a preloader in the newest version of flash?

Thanks.

View Replies !    View Related
Preloader For Flash MX 2004
Hello,
for some reason my old preloader stopped working in flash 2004 players...
the following code is now failing to send the loader MC to the right frame number. the preloader it self works.
(i'm sorry, but i'm new and can't find the tags for inserting code...)
_______________________________________
loadedBytes = getBytesLoaded();
totalBytes = getBytesTotal();
loadedKBytes = Math.ceil(loadedBytes/1000);
totalKBytes = Math.ceil(totalBytes/1000);
if (loadedBytes == totalBytes) {
gotoAndPlay("Scene 1", "go");
}
frame = int(loadedbytes/(totalbytes/100));
_root.loader.gotoAndStop(_root.frame);
___________________________________________


I hope someone will help, inspite of this presentation...

View Replies !    View Related
Preloader Issue In Mx 2004
Hi, im making my first flash site with mx 2004, i nearly finished but im stuck on the preloader, i looked around some tutorials here, at actionscript and kirupaforum and all of them have the same basis, but when i try to adapt it to my flash it doesnt work, when i simulate the download it just ignores the code and doesnt stop on the first frame( where i have the code ), im clueless

Im using basicly something like this on my first frame:

_root.stop():
_root.onEnterFrame = function()
{
loading = _root.getBytesLoaded();
total = _root.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
if (percent==99) {
do something;
_root.gotoAndStop("main");
else
do something else;
}
any help will be very appreciated, thanks in adnvance.

View Replies !    View Related
Preloader Blues (MX 2004)
this is a recycled message from about a month ago (apologies to whispers)

the site in question is http://www.changthai.org

i have done a preloader for the site, but i still need to insert a preloader on two external .swfs that will load.


you can see the preloader work for the first page. great.
if you go to the gallery page, you will have to wait ten seconds to see any images. I NEED A PRELOADER FOR THESE ... can i use the same one as i did for the opening page ?

i have also included a stripped down .fla of the problem. take a look please !

(whispers, i know we looked at this, but i had an enforced break for a month and now its all a bit wobbly - sorry !)

you can see that on the buttons ENTER GALLERY, there is this code :

on(release){
gotoAndstop(65);
loadMovie ("slideshowInterior.swf", "holderi_mc");
}

excellent. as i already said though, the .swf in question takes over 10 seconds to appear when im checking on the server so ofcourse something has to be put down here to ensure the .swf is ready and waiting for that button to be clicked.



thanks

(the next message i send will have the .fla in MX flavor)

View Replies !    View Related
Flash 2004 Preloader
I am having trouble getting my preloader to function properly. I created a flash website with a main file for the interface that loads in other external swf files as you navigate the site. I am using flash cs3 and the older actionscripts 1.0 and 2.0 for the code. So far I have created a movie clip with the instance name preloader_mc and the name of the movie clip itself is just preloader. Within the movie clip I have a bar drawn out and a mask that covers it in the layer above. As the movie clip animates the mask layer is moved and the bar is revealed. Also I created a dynamic text field that says 0% loaded with the instance name loaderText_txt. Once I completed the movie clip I returned to the main timeline and moved everything on the timeline back so I could make a new layer and place the preloader movie clip on frame 1 of the main timeline. I want to apply code so the preloader works and the movie clip plays and the mask unveils the bar and the dynamic text shows the correct % loaded. However I do not know what the correct code is and I do not know if that code should be on a separate layer on the main time line before the movie clip? Or should that code be placed on the layer that has the movie clip?

View Replies !    View Related
Preloader Tutorial For MX 2004
Since the "smooth preloader tutorial" doesn't work in MX 2004, I am writting this tutorial for a preloader that works in MX 2004. It be my first so bear with me.

First make a new flash document. On the first frame on the time line put
ActionScript Code:
stop();
because we don't want the movie to play any further until all of it has loaded-->preloader, right?
Next, make a movie clip and put it on the stage. In that movie clip's timeline put this
ActionScript Code:
//stops the MC from playing right away.
stop();
//excutes the below code at the frame per second of the movie
onEnterFrame = function() {
// get the total bytes of the movie
    totalBytes = _parent.getBytesTotal();
//gets the bytes that have been loaded so far.
//This number changes because of our onEnterFrame.
    loadedBytes = _parent.getBytesLoaded();
//make a percent out of two numbers and rounds it up.
    percent = Math.ceil((loadedBytes/totalBytes)*100);
//this tweens our display box. I'll talk more about this in a minute.
    gotoAndStop(percent);
//displays the dynamic text box you are going to make the percent loaded
    info_txt.text = percent+" %";
// if fully loaded, play the movie
    if (percent>=100) {
//goes to the frame label "Main" on the main/_root timeline
        _parent.gotoAndPlay("Main");
    }
}
Okay there is our code.
Now create a small rectangle box. 100 frames latter create a similar box but much longer. Now tween thoses boxes using the "shape tween" in the properties. Our code above "gotoAndStop(percent);" animate this when the movie is preloading. See how that works? Great!
Now make that dynamic text box and name it "info_txt" The percent loaded will show in that box.

Great ALMOST done. If you use it as is, the preloader wont show up until about 40% so lets fix this.

What happens is all your components have to load before the preloader loads this cause it not to show until about 40%. To fix this:

go to File-->Publish Settings-->Click the tab called Flash. Next to "actionscript version click settings. Now where it says export frame for class choose (for our example) 5. It doesn't matter what number you pick but it must be before you call need the components. So i choose 5 and then have all my info on frame 6 and on (BTW I dont use scenes). Now for the component right click on them in the library and choose linkage. In the 4th box down "uncheck export in first frame" Right, we just change the export classes.

You also need to do this if you use attachMovie. However, you also need to put an instance of it on/off the stage at some point of the movie. Read more about it here senocular's tutorials

Great this is about it. Now you got a great preloader enjoy.
Attached is an example. The file is very small to get it to fix on here. To see the preloader work, add a little "weight" to the file.
________________
Additionally,
Here is a link to an issue CyanBlue brought up about preloader displaying for a fraction of a second. Oldnewbie shows a solution to make it load directly if cached.
http://actionscripts.org/forums/showthread.php3?t=74255
________________

View Replies !    View Related
[FMX 2004] Circular Preloader
I'm thinking of building a circular preloader (like a pie that gets filled bit by bit in a circular motion)
If anyone knows how to do this can you help please?

Thanks in advance

View Replies !    View Related
[FMX 2004] Circular Preloader
I'm thinking of building a circular preloader (like a pie that gets filled bit by bit in a circular motion)
If anyone knows how to do this can you help please?

Thanks in advance

View Replies !    View Related
Preloader Mx 2004 Professional
Last edited by wolfïto : 2003-12-02 at 16:19.
























nevermind

View Replies !    View Related
Flash 5 Compatiable Preloader From MX 2004
Howdy,

I've been experimenting with preloaders today. I'm trying to make one that is compatible with Flash 5. I'm using Flash MX2004 to create it and my swf needs to be compatible for Flash 5.

hroughout the day, I've done several things and now I'm to the point where I want to start over so I deleted my dynamic boxes and actionscript but when I publish the file, to make sure it is clean of preloader stuff, I get the following even though I've deleted everything:

**Error** Symbol=Preloader, layer=class, frame=1:Line 1: You must export your movie as Flash 6 to use this action.
#initclip 1

**Error** Symbol=Preloader, layer=class, frame=1:Line 145: You must export your movie as Flash 6 to use this action.
#endinitclip

Total ActionScript Errors: 2 Reported Errors: 2

I don't even know what an initclip is and I don't have a line 145 on frame 1. So, my questions are:

1. How do I get rid of that error?

2. How do I create a Flash 5 compatible preloader. (I did grab one for the FK tutorial but I can't tell if it's working or not becuase of the error)

I'm open to suggestions and code.

Mark

View Replies !    View Related
Useing Preloader With MX 2004 Components
i want use the progress bar to make a preloader for a movie that is 574 frames. im not sure how to use it from the the components. can someone help me

View Replies !    View Related
2004 Easy Preloader Question
I am doing my first preloader... My movie is rather large so I just wanted to figure out this preloader deal before i proceded...

I have a preloader in the first frame... On all of my symbols and everything do I click the check box that says import in first frame or is that left unchecked???

Just Curious,
Carlos

View Replies !    View Related
Mx 2004 Screens Preloader Problem
Hi, I need help with the following problem in mx 2004 pro. I have a movie with multiple slide screens. Each slide has either its own content, loads in html pages or loads in swfs. The loaded swfs are fine - they have their own preloaders which still display when pulled in from the main movie and running in flash 7. The problem is that i cannot get a preloader to work for the main scenes movie itself(which is about 180k) How do you do this? I have tried the loader component but this only seems useful to pull in other movies -not for the actual movie itself - plus i want to use my own design anyway so that it matches my other swfs.

The following is a back up query for alternatives that i have tried, but i would like to do it as above if possible. As a last try I created a dummy movie with loader component which serves only to pull in my main movie - this works fine, but i need the loaded movie to be on level0 and cant get the loader component to swapdepths/change levels after loading. I can get it to load straight into level0 (manually without using the loader container) but then my progressbar doesnt show as it is on some other level?

Any help would be much appreciated.
Thanks

View Replies !    View Related
Preloader For MX 2004 Pro Screens/ Slides
I need some help, please!!!

I have recently updated to MX 2004 Pro and have found the Slide Presentation (Screens) tools works brilliantly with the images I want to show.

But… I now have SWF files which are in the region of 600Kb and would like to add a preloader to the file.

I found this response from Macromedia:

“Thanks for your comments and questions regarding using preloaders with screens. With current Screens functionality, all screens are on Frame 1 of the root timeline, so it's not possible to create a preloader within the screen-based document. One option is to create a separate SWF to use as a preloader, and load the screen-based document from within that.”

I have tried every method I can find to make a preloader which loads a separate SWF (in this case the screen movie) but I want it to load into the same position, in the html page, as the preloader movie was i.e. not not open up in a seperate html document.

I hope this makes sense?!? (I’ve gone a little mad trying to get this to work!!!)

I guess it’s the last sentence from Macromedia that confuses me.

Any help would be greatly appreciated… thanks in advance.

View Replies !    View Related
Flash MX 2004 Pro Presentation? Preloader Help
Hello,

I have Macromedia Flash MX2004 Professional. When you chose to make a new document you can select Slide Presentation (which is what we did).

We then created a large slideshow... There are about 50 pictures with text.

I have tired and tired but I have not been able to make a preloader for this, it dosent have to be fancy, just a Loading Screen which plays after its finnished. I am guessin this option was made for actual presentations, not over the web, so they had no need for preloaders.


Please help!! It has slides, not scenes or frames! Can anyone help me out???

Thank you,
Griffe Youngleson
griffedesign@hotmail.com

View Replies !    View Related
Smooth Preloader Not Working On MX 2004?
http://actionscript.org/tutorials/be...er/index.shtml

Can anyone tell me why this preloader doesn't work in Flash MX 2004? I thought actionscript was backwards-compatible?

View Replies !    View Related
MX 2004 And The Dreaded Mp3 Preloader Issue
Greetings,

I've been here before and you guys (and gals) have helped out tremendously. I'm ASC (Action Script Challenged) so please bear with me. Here's the current problem. I've viewed Mr. Bellow's sound tutorials a thousand times over and I think got the jist of sound objects in general. The problem I'm having is with the preloading of the Mp3 visually.

I've tested the tutorial preloader code and it works with Flash MX, but doesn't with MX2004 (which is what I use). I could post all the code here (if required), but I've uploaded the actual .fla. As much as I would love a quick fix, I AM actually interested in knowing how to fix the little issue and why the script works for MX and not MX 2004.

All derogatory comments are welcome. I don't care what I'm called so long as I learn.

p.s. The zip does not contain the actual mp3. Just chuck whatever mp3 you have laying around in the same folder as the flash movie and name it "sample.mp3" and it should work.

View Replies !    View Related
Flash Mx 2004 Preloader (with Loadbar)
Hi,

I used the loadbar tutorial for my old files in Flash mx now I've changed to 2004 the previous loadbar doesn't work?

I know the actionscript has changed in 2004 but I'm not sure how to inplement this new coding?

The tutorial loadbar preloader doesn't work and now I've go and saved the old files in the new format!

Ant ideas?

Thanks

Spence

View Replies !    View Related
Flash Mx 2004 Preloader (with Loadbar)
Hi,

I used the loadbar tutorial for my old files in Flash mx now I've changed to 2004 the previous loadbar doesn't work?

I know the actionscript has changed in 2004 but I'm not sure how to inplement this new coding?

The tutorial loadbar preloader doesn't work and now I've go and saved the old files in the new format!

Ant ideas?

Thanks

Spence

View Replies !    View Related
Preloader Problems In Flash MX 2004 Pro
having trouble with preloader in Flash MS 2004 Pro.

here's my code below:

Code:
progress.autoSize = true;

this.onEnterFrame = function() {
var loaded:Number = this.getBytesLoaded();
var total:Number = this.getBytesTotal();

var percent:Number = Math.floor((loaded/total) * 100);
progress.text = "Loading " + percent + "%";

trace(loaded + " - loaded");
trace(total + " - total");
trace(percent + " - percent");
trace(progress.text + " - progress.text");

if(percent >= 100) {
delete this.onEnterFrame;
gotoAndPlay("login", 1);
}
}// end onEnterFrame

stop();
This doesn't update the progress dynamic text that I have. What am I doing wrong?

Thanks.

View Replies !    View Related
Making Preloader With Flash MX 2004
can anybody help me how to make preloader with flash MX 2004
thanks

View Replies !    View Related
Flash MX 2004 Professional Slide Preloader?
Hi...I was just wondering how to code a preloader for Flash MX 2004 Professional slides. Also where do I place the preloader code within a slide presentation? I am a novice in Actionscript, and had been able to script simple preloaders for Flash MX movies, but I know the same code does not apply for Flash MX 2004 Pro slides...

I saw the following thread:
http://www.flashkit.com/board/showth...hreadid=504735 with information on a simple Actionscript 2 preloader that is saved as an external file - could this be used with a Flash MX 2004 Pro slide presentation?

Also, I have seen a few books out on Flash MX 2004 Professional, but not as much on the Flash MX 2004 Professional with information on slide presentations - I would appreciate it if someone could recommend a good book or resource on that subject... thanks in advance!

View Replies !    View Related
Making A Preloader Work With Mx 2004 Pro Components
Hi all - according to the rule books, the components included with a flash movie are loaded before anything else, including a preloader - so my current % loader doesn't show (I get a blank screen) until the components have loaded and then it appears (Setting itself automatically to 60-odd percent) before carrying on as it should.

To stop this, I've read that I should set all components so that they do not export in the first (Or 0 by the looks of it) frame. This seems to cause a problem as all my flash objects load, but the components don't.

How do I get both to work hand in hand??

thanks

frank

View Replies !    View Related
How Do I Test A Preloader In Flash Professional 2004
This is probably a stupid question but I can't seem to figure it out. I'm not sure how i view it locally directly from flash in a way that I can actually see if the preloader is working.

View Replies !    View Related
Main + External Preloader In Flash Mx 2004
im using mx2004, so im sure its actionscript 2.0
and as far when it comes to actionscripting im a noob.
i can manage the basic things. and thats about it.

I need help with a preloader,(actionscript 2.0, a possible listner)
it has to be able to preload scene 1& 2 timelines and external SWF´s. all in one preloader at keyframe 1 .

this is my preloader atm, and yes i know it soxxs ass.


-- frame 1 (actions) --
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}

frame 2
loading bar etc.

frame 3
i just have a movieclip that contains the hole movie.
inside´that clip i have my "loadMovie" commands.

so what i need help with is a new pro preloader


/www.statnone.com
peter schön

View Replies !    View Related
Percentage Preloader In FlashMX 2004 Not Working
Ave,

I have been using a percentage preloader in my FlashMX movies which had been working fine.

I switched over to FlashMX 2004 and now my percentage preloader script isn't working.

I have the following code on Frame 1 of my movie:


Code:
stop();
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
fscommand ("allowscale", "false");

setProperty ("_root.Bar", _yscale, 0);
_level0.load = "Loading ShockWave Data...";
And this script on a action-clip:


Code:
onClipEvent (load) {total = int(_root.getBytesTotal());}

onClipEvent (enterFrame) {
StatusColor = new Color(_root.Bar);
Loaded = int(_root.getBytesLoaded());
Percent = int(loaded/total*100);

if (percent>20) {
_level0.load = "Loading Interface";
StatusColor.setRGB( 0xf6f6f6 );
}

if (percent>40) {
_level0.load = "Loading Digital Components";
StatusColor.setRGB( 0xf6f6f6 );
}

if (percent>60) {
_level0.load = "Loading Digital Motion";
StatusColor.setRGB( 0xf6f6f6 );
}
if (percent>80) {
_level0.load = "Loading Digital Graphics";
StatusColor.setRGB( 0xf6f6f6 );
}

if (percent==90) {
_level0.load = "Unlocking Media.... ";
StatusColor.setRGB( 0xFFFFFF );
}

_root.Percent = Percent + " %";
setProperty ("_root.Bar", _yscale, Percent);

if (Percent >= 100) {tellTarget ("_root") {gotoAndPlay("Movie",1);
}}

}
Basically niether does the percentage bar move, nor does the text change, nor does the percentage appears. It just remains static. Doesn't even go the next Scene "Movie".

Any clues?

View Replies !    View Related
Preloader/Media Display Help Flash MX 2004
I'm putting some video of my artwork up on display on a website I'm designing for myself (using the flash/dreamweaver combo). I've decided to showcase my work by creating (which I think is pretty common) thumbnails with a media display beside them. I have my video controls and everything working -- it's all very rough and clunky (I wish I really knew what I was doing and could take the rough edge off -- jazz it up a bit -- suggestions would be great) but anyway when I put it on the website, naturally it takes between five and 10 seconds to load the .flv into the media display (with a simple fade command). I've tried numerous times to utilize a simple preloader -- didn't work, then I downloaded a few other preloaders but could not get any of them to work either. I'm also working with slides I believe they're called -- could be that because I'm still experimenting as a newbie that I'm going about this media display thing the wrong way (maybe I shouldn't be working with slides?? but I would have no idea how else to do it and I've probably put a good 30 hours into this already - yeah, I know an experienced flash user could probalby do this with his eyes closed and his hands tied behind his back). In any case, perhaps someone with more knowledge in this area could assist me here... Attached is the .fla file. I did not attach the .flv as I figured it's probably not necessary. Thanks much! Oh, here's a link to the file just in case it didn't upload correctly -

http://www.onlinefilefolder.com/inde...758b2d53d70388

Jason

View Replies !    View Related
[MX 2004] Script Problems | Transitions + Preloader
hello!

at first, my english is very bad so i had (for sure) some problems to explain my problem to 100%. but i will try it

ok i've had this script on the timeline:

control = new Object();
control.watch('neu', function (id, alterWert, neuerWert) {
if (neuerWert != alterWert) {
if (alterWert != undefined) {
_root.content.stop();
_root.content.onEnterFrame = function() {
if (this._currentframe != 1) {
this.gotoAndStop(this._currentframe-1);
} else {
_root.content.loadMovie(control.neu+".swf");
delete (this.onEnterFrame);
}
};
} else {
_root.content.loadMovie(neuerWert+".swf");
}
}
return neuerWert;
});


and this one on the buttons:


on (release) {
_level0.control.neu = "name";
}

the function is the same like in this tutorial:
Transitions between External SWFs (LINK)


this works fine for offline productions but now i want to use this script for some online work so i need a preloader between the sections. i don't want to have a preloader before each swf so i've tried to combine this tutorial (LINK) with my script to solve the problem but my actionscript knowledge is not very high.

can anyone help me with this "little" problem .
it would be amazing

thx,
Daniel

View Replies !    View Related
[AS 2.0 MX PRO 2004] Does Loadvars Work From A .swf That Loaded Into A Preloader
I have Beginning.swf that loads main.swf. Within main.swf I am using loadvars to send data to a .php file. Thus far, I am using

import mx.controls.Alert;

LV.sendAndLoad("http://www.url.com/file.php", loadvarsVariable, "POST");
loadvarsVariable.onLoad = function(){
Alert.show(data, "test");

to see if it will load, and the alert box doesn't appear , So I want to conclude that the call to the .php file isn't going through. Because main.swf is embedded within Beginning.swf, the call won't work. I know that the code works because when I test main.swf by itself, the Alert box appears. I have also ensured that there is an Alert object within the Beginning.swf library. This allows alert boxes from main.swf to appear in Beginning.swf. Does anybody have experience dealing with this? Does anybody know if newer versions of Flash/Actionscript behave any differently than this? Is there a work around for this problem, any Open Source solutions?

View Replies !    View Related
[MX 2004] Script Problems | Transitions + Preloader
hello!

at first, my english is very bad so i had (for sure) some problems to explain my problem to 100%. but i will try it

ok i've had this script on the timeline:

control = new Object();
control.watch('neu', function (id, alterWert, neuerWert) {
if (neuerWert != alterWert) {
if (alterWert != undefined) {
_root.content.stop();
_root.content.onEnterFrame = function() {
if (this._currentframe != 1) {
this.gotoAndStop(this._currentframe-1);
} else {
_root.content.loadMovie(control.neu+".swf");
delete (this.onEnterFrame);
}
};
} else {
_root.content.loadMovie(neuerWert+".swf");
}
}
return neuerWert;
});


and this one on the buttons:


on (release) {
_level0.control.neu = "name";
}

the function is the same like in this tutorial:
Transitions between External SWFs (LINK)


this works fine for offline productions but now i want to use this script for some online work so i need a preloader between the sections. i don't want to have a preloader before each swf so i've tried to combine this tutorial (LINK) with my script to solve the problem but my actionscript knowledge is not very high.

can anyone help me with this "little" problem .
it would be amazing

thx,
Daniel

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