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




Music Lags Even Though I Have A Preloader



i have made a simeple intro for my dad's restaurant's website. there is music in the background, i have a preloader that works fine, but my movie lags when it is playing, it sometimes skips a few frames. I think it is because of the music. Any thoughts?? I downloaded the song from a cd and then used real time player to import it into flash.

my intro is at www.geocities.com/reshamrd



FlashKit > Flash Help > Flash MX
Posted on: 02-23-2004, 12:23 PM


View Complete Forum Thread with Replies

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

What Is The Problem With Those Lags
i wonder why my swf file is slowing down when playing via www

when i run it in flash it works well there is no breakes and no slowing down. after preloader part everything is loaded - there is no additional loading while movie plays.

http://www.bfs.com.pl/nn/index.html

thanx

Swf Lags When Loading
I'm testing a site that loads swf's into new levels for each new page. when some of the buttons are clicked the animation stops for a quick second and then continues loading. The swfs that are laoding are around 10-20MB's. Once the pages are cached the animation perform smoothly. Why does the lag happen? Would it improve things to use a shared libary to load some elements earlier? If I used a shared library wouldn't it then create problem on the intial load? I'm new to flash so any wisdom on this issue would be appreciated.

Flash, Lags Man
I have some special effects for my movie that i am creating in flash mx. except the problem is that it lags. Why the hell does Flash MX Have to lag?? I mean, if the frames are loaded, why would it have to lag? And then if i put it to medium, or low quality, the special effects are crappy. What am i supposed to do? I don't want to buy a new souped up computer for making flash movies.

Netstream Lags
Hi,

I'm making a similar thing like this: http://www.productorials.com
(the intro with the woman and the synchronized animations)

However my version lags as hell on other computers where this one doesn't?

Has anyone an idea on how they made it? Animations inside the movie? Framerates of the movie? ...?

Kind regards, Pete

ENTER_FRAME Lags In CS4?
Hi all,

Apologies if this topic has already been posted but has anyone noticed a performance lag when using ENTER_FRAME in CS4? I had a very basic space invaders game created in Flash CS3 and it ran fine. When I took it into CS4 it was significantly slower. I stripped out everything but a few of the lines to change an Y property and it's still very slow, even with a frame rate of 60FPS. I've played around with the frame rate without success. Here's a snippet of the code...

stage.addEventListener(Event.ENTER_FRAME, loop);
function loop(myevent:Event) {
s1_mc.y+=2;
s2_mc.y+=2;
s3_mc.y+=2;
s4_mc.y+=2;
}

To me, these movie clips should move down the Stage quite fast at 60FPS but they actually drop quite slowly. It grinds even more when I throw in some hitTests. I don't have any other ENTER_FRAMEs going so I'm a little puzzled by this. I've also tested on Mac and PC with the same issue on both platforms.

Any feedback on this would be appreciated.

Gerald

Music Preloader
Hello, I want to make a preloader that loads the music after the main site is completed loading. How is this done?

Preloader With Music
hi all,

You guys tell me how can we do this that in the first 2 frames the preloader should load the sound which I want in the background. Then after loadiing it completely it should start playing it and then jump to frame 10 where I have another preloader for the intro. In this way my music loop will be running in the backgorund and the preloader of the intro will be working fine as well. It should not preload the entire movie coz if it happened then it won't play the music in the preloader but will directly play the intro. How can we do this by actionscript? I guess I am clear with my scenario.

regards,

Music With Preloader
Any contributions most welcome.

I have a movie clip, of only 356 bytes at this point, commencing with a preloader.

As part of the preloader a music file of 1.6mB loads via "loadMovieNum("music.swf", 1);"

The problem I have is the preloader only recognises the 356 bytes?

The preloader flashes on the screen, then sits there blank while the music file loads.

How can I get the preloader to recognise there needs to be about 1.6mB of download to complete.

Cheers

gmcallis

Bg Music With Preloader
I'm having some trouble here... I'm trying to create a site with background music. However, I want people to be able to select which song (out of 3 songs) will play. All that is simple enough. However, with the preloader of the entire movie/website, I am trying to preload all 3 songs. The songs are mp3 format. I am using loadSound(); to load the songs...

_root.backgroundSound1=new Sound();
_root.backgroundSound1.loadSound(Song1.mp3);
_root.backgroundSound2=new Sound();
_root.backgroundSound2.loadSound(Song2.mp3);
_root.backgroundSound3=new Sound();
_root.backgroundSound3.loadSound(Song3.mp3);

Everything works fine. So you can basically ignore the introduction above. My problem is this... Loading 3 separate songs is a pain and a half for users. The load time is enormous. The way it's set up right now, users would have to wait for their comps to download all three songs before the movie starts playing. That's not a huge issue for people on T3 lines, but it's a pretty long wait for anyone with dsl/cable, not to mention the time it would take for someone on dialup.

Any suggestions/alternatives? Help is much appreciated.

Thanks in advance,
Hailer

Preloader For Music
Hi every1, I did post this q. in the past but I did not understand what to do, so here I go here.

I want to load music into a site, it is not with the main swf but a single swf, I have a preloader in 1 scene and the music in other scene, the preload time is 32 sec. but for a reason I dont see the preloader during the preload of the swf.

Can any1 help ???

Thanks,

Diego

Here is the .fla file
www.djaitt.com/musicBar.fla

Preloader Music...
How do I add music to a preloader? i tried putting the music on the same frame as the preloader and it didn't work.. and i tried putting it on a new layer in the same frame # as the preloader but satill doesn't work...

any suggestions??

Howcome Scrollpane Lags?
i was just curious what i might be doing wrong. everytime i use the scrollpane component, the scroll lags like it doesn't wanna scroll. it works just fine but just feels sticky and slow. any ideas?

Site Is FAST On PC, But Lags On MAC?
Hey all,
I have a few questions as I am having some trouble with this (I searched thru to see if it had been asked before, I know I had somewhat discussed it at one point with some developers but couldnt find anything about it)......

Pretty much I develop all of my stuff at 31 FPS. I was told before that MACs drop a FPS or 5 FPS or something to that nature and that 31 was the best to go with. Well I never developed FOR a MAC or had the intention to, until recently when we started working for a client who uses predominantly MAC. So I went out and bought a brand new G4 Laptop to do some testing on.

When I open previous sites I have built, the stuff CRAWLS on the mac. Even set at 31 FPS. The machine is BRAND NEW so I KNOW its not the computer. In fact I called a fellow developer to check it on his MAC, he said there was the same problem.



Right now I am kinda frusterated. Anyone have any suggestions or ideas at this point for me? I DONT want this to turn into a MAC vs PC war, I merely just want to fix this problem before I develop much more.

THX IN ADVANCE!!

[F8] Reducing Lags In Website
I'm making my homepage as usual, then i tested it... And it surprised me how much this 30 fps movie slowed down.
Here are the features:A clocka mouse imposera snowflake which detonates from the mouse when the mouse movedsome buttons with attachMovie()linkagesa logo which is a 40 framebyframe animation (3D)pretty much it really.
The real thing that slows the system down is the snowflake detonation. But i dont want to loose the effect. what can I do to speed up this thing without loosing quality?
Thanks!
Tongxn

[CS4] Animation Lags At Certain Points
Hello, I'm having a small problem with my first flash animation.

On my computer, the animation is choppy and lags at certain points when I view it in Firefox, but it seems to work perfect in Internet Explorer.

I can't see what could be causing the lag, the animation is pretty basic, but it does have a lot of tweened text.

You can view it here:
http://namehere.erikswan.net/mighty

I was wondering whether there is anything I can do to optimize the animation and get it to run as fast as possible. So far, messing with the sound settings doesn't seem to affect the speed at all (currently I have a silent sound track in stream mode and the actual music in event mode - a technique that is supposed to keep the music in sync with the animation but still makes it sound good).

The FLA file is here:
http://www.erikswan.net/mighty/You%20Are%20Mighty.fla

If I've done something wrong, please say so - this is my first time making a real animation.
I really appreciate your help.

[CS4] Animation Lags At Certain Points...
I rewrote this because apparently my first thread didn't get posted at all.

Hey guys, I was wondering whether you could help me with a small problem that I am having with my first Flash animation.

I'm using CS4, and when I export the SWF and view it in Firefox, it skips/lags at certain points in the animation (specifically during some of the fast, "zooming out" text tweens - you'll see what I'm talking about if you watch it below). The odd thing is that it appears to work just fine in IE.
The animation isn't that complicated, but it does have a fair amount of text tweens.

You can view it here: http://name.here.erikswan.net/mighty
The FLA is here if you want to take a look: http://www.erikswan.net/mighty/You%20Are%20Mighty.fla

I was wondering if it is slow, choppy, or laggy for you and whether there is anything I can do to optimize it and make it run as fast as possible.

Thanks, I really appreciate your help.

Movie Lags Over Time?
I have a movie that creates movie clips at a fast pace.. then unloads them when they go off the screen... (star field making it look like your flying)..after about 2 minutes though it begins to lag really bad.. even though all the off screen clips are unloaded .. any way to fix this?

I Submit, And My Flash Lags,why?
I submit my content to NG alot and i have to say MOST of my entries lagg like no tommorow. Obviusly this can be a real problem when your making a specific character say spacific words(the words dont match up with the mouth) so alot of my entries get blammed because of this. I always make my music files compressed to save memory and i have no idea as to why it laggs so much. If you have any suggestions please let me know. thanx

My Flash Game Lags
Hey I made a flash game here: http://www.geocities.com/jayyouestee...lobattack.html

But it turns out that it lags in the middle of the game. I cannot figure out why. Can someone look into my flash file and see what the problem is? Thanks

Here's the source: http://www.geocities.com/jayyouestee...blobattack.fla

Site Lags On Certain Computers?
I have just finished up and launched my website and I seem to have a problem.

The site loads fine on my machine as well as others in my apartment and office. On one computer at work and on 2 computers at my girlfriends office, the site seems to lag really bad to the point where the site is not enjoyable at all.

Is there a way to optimize this? This is my first fully built flash site so I may be missing some key optimizing tips but I am stuck and confused.

any help would be greatly appreciated...

-savager

thesavager.com

My Video Lags, Do I Need A Loadbar?
my video pauses becasue it's too big. I know you can make a loadbar so that it preloads. I'm importing the flash movie into frontpage. Can i make a loadbar to work on frontpage?

Movie Lags While In Fullscreen
I am working on a flash desktop application which requires me to have the flash to appear as full screen when run on the computer.
I compiled my flash into executable(.exe) file with mdm zinc but I realise that the flash animation is lagging a lot when it is shown in full screen.
I then try to display the frame rate on the movie and the movie is actually running at 10fps when full screen and animating. It returns to about 20-25fps when it is not having any movieclips animating while remaining full screen. It is running all well at 30fps when opened with flash player.

The animation is not some heavy ones. Just simple masking animations because I still just testing it out.

Why is it so? And is there a workaround for this?

Flash Doesnt Look Right In IE And Lags In FF
When im in FF the flash looks right and does wat its supposed to but i have divs overlaying it and it lags in a wierd way and only through certain divs. The flash file should not lag at all cuz its only 5kb and 95% actionscript. In IE there is no lag but it does work right. i have stars that are falling and start at random positions but in IE the y value is the same for all the stars. and also there is another flash on the page that doesnt want to show in IE.


EDIT: discovered that u cant use Stage.width/height in IE as soon as the movie loads

Custom Cursor Lags?
Any way to make this cursor act more like a real cursor?

http://misc.graphxco.net/DDtest/game.html

Scrolling Animation Lags - What To Do?
First things first - Take a look here at a kids game:
http://knalle.dk/kidsgame/

The animation happens on mouse over. Try it.
Here on my computer it lags a bit - like screen tearing on the laundry clothes (all MCs). How can you optimize the code or do it a better way?

Here's the full code (document class):

PHP Code:



package {    import flash.display.MovieClip;        import flash.display.Stage;    import flash.events.Event;    import flash.events.MouseEvent;        public class Main extends MovieClip {                var sHeight : Number;        var sWidth : Number;         var rope:MovieClip;        var ropeSpeed:Number = 0;        var pleaseStopScroll:Boolean = true;                public function Main() {            //this.addEventListener(Event.ENTER_FRAME, moveRope);            rope = this.game.scene.rope;            this.game.scene.mouseChildren = false;            this.game.scene.addEventListener( MouseEvent.MOUSE_OVER, mouseInside);        }                protected function mouseInside(e:MouseEvent) {            pleaseStopScroll = false;            this.game.scene.mouseChildren = true;            this.addEventListener(Event.ENTER_FRAME, watchForMouseEntry);        }                protected function moveRope(e:Event = null):void {            if (pleaseStopScroll) {                ropeSpeed -= 1;                if (ropeSpeed <= 0) {                    this.removeEventListener(Event.ENTER_FRAME, watchForMouseEntry);                }            } else if (!pleaseStopScroll && ropeSpeed < 10) {                ropeSpeed += 1;            }                        var diff:Number = Math.cos((-this.game.scene.mouseX/600)*Math.PI)*ropeSpeed;            trace(diff);            rope.x += diff;                        if (rope.x > 0) {                rope.x = 0;            }            if (-rope.x > (rope.width-600)) {                rope.x = -(rope.width-600);            }        }                protected function watchForMouseEntry(e:Event):void {            moveRope();            if (this.game.scene.sky.hitTestPoint(stage.mouseX,stage.mouseY,true)) {                pleaseStopScroll = false;            } else {                pleaseStopScroll = true;            }        }            }    } 

Movie Lags While In Fullscreen
I am working on a flash desktop application which requires me to have the flash to appear as full screen when run on the computer.
I compiled my flash into executable(.exe) file with mdm zinc but I realise that the flash animation is lagging a lot when it is shown in full screen.
I then try to display the frame rate on the movie and the movie is actually running at 10fps when full screen and animating. It returns to about 20-25fps when it is not having any movieclips animating while remaining full screen. It is running all well at 30fps when opened with flash player.

The animation is not some heavy ones. Just simple masking animations because I still just testing it out.

Why is it so? And is there a workaround for this?

Animation Lags At Certain Points...
Hey guys, I was wondering whether you could help me with a small problem that I am having with my first Flash animation.

I'm using CS4, and when I export the SWF and view it in Firefox, it skips/lags at certain points in the animation (specifically during some of the fast, "zooming out" text tweens - you'll see what I'm talking about if you watch it below). The odd thing is that it appears to work just fine in IE.
The animation isn't that complicated, but it does have a fair amount of text tweens.

You can view it here: http://name.here.erikswan.net/mighty
The FLA is here if you want to take a look: http://www.erikswan.net/mighty/You%20Are%20Mighty.fla

I was wondering if it is slow, choppy, or laggy for you and whether there is anything I can do to optimize it and make it run as fast as possible.

Thanks, I really appreciate your help.

Movie Lags While In Fullscreen
I am working on a flash desktop application which requires me to have the flash to appear as full screen when run on the computer.
I compiled my flash into executable(.exe) file with mdm zinc but I realise that the flash animation is lagging a lot when it is shown in full screen.
I then try to display the frame rate on the movie and the movie is actually running at 10fps when full screen and animating. It returns to about 20-25fps when it is not having any movieclips animating while remaining full screen. It is running all well at 30fps when opened with flash player.

The animation is not some heavy ones. Just simple masking animations because I still just testing it out.

Why is it so? And is there a workaround for this?

Load 20 .swf Lags Badly?
Hi guys,

I use PHP to covert .jpg to .swf. And I have the need to load those 20+ .swf files at the same time. Each .swf file size is about 30 KB.

It lags IE badly When I try to load 20 .swf from remote server

but, it's fine to load them from local.

It shouldn't be connection speed problem because it's pretty smooth to load 20 .jpg files. So, I guess the problem is the .swf transfer method (Streaming?).

How can I overcome this? Any suggestation? Thanks!!

Music And Preloader Problem.....
OK this is the problem.....
I put the preloader on the Flash site (170kb). Site has a music which turns on automaticly when 2. frame loads. This is the script on second frame:

stop();
firstSound=new Sound();
firstSound.attachSound("firstSound01");
_root.firstSound.start(0.05,9999);
playing=true

I put the preloader on the first frame and everything else on the second. But when I press ctrl+enter and try it with 'show streaming' my preloader shows up after 64kb of loading on the first frame. So I looked at the graph and saw that my first EMPTY frame (exept preloader) has 64kb. I tried everything to make that 1. frame smaller and find the solution, the solution was to turn off option 'export in first frame' for my music file in 'linkage' properties of that music file in library.
When I turn off that option my preloader works fine and 1. frame is about 4 kb, preloader is there all the time of loading...... but my music won't load when the site (2. frame) is loaded ?!?!?

How to make that preloader work fine and make it show all the time of loading and make the music play on the 2. frame ??????

Music And Preloader Problem.....
OK this is the problem.....
I put the preloader on the Flash site (170kb). Site has a music which turns on automaticly when 2. frame loads. This is the script on second frame:

stop();
firstSound=new Sound();
firstSound.attachSound("firstSound01");
_root.firstSound.start(0.05,9999);
playing=true

I put the preloader on the first frame and everything else on the second. But when I press ctrl+enter and try it with 'show streaming' my preloader shows up after 64kb of loading on the first frame. So I looked at the graph and saw that my first EMPTY frame (exept preloader) has 64kb. I tried everything to make that 1. frame smaller and find the solution, the solution was to turn off option 'export in first frame' for my music file in 'linkage' properties of that music file in library.
When I turn off that option my preloader works fine and 1. frame is about 4 kb, preloader is there all the time of loading...... but my music won't load when the site (2. frame) is loaded ?!?!?

How to make that preloader work fine and make it show all the time of loading and make the music play on the 2. frame ??????

Music Preloader Problem
Hey,
-i'm having a problem with a preloader for sound...there is an attached FLA.. THe music does load in, but it is not playing when it finishes loading like it is supposed to. For some reason, you have to click the on/off button now to get it tot work.. Plus, there's a preloader that's supposed to show the load status.. Once the sound is fully loaded, it should auto-play, the preloader should disappear, and the music on/off button should appear..
any ideas?

if you dont wanna check the FLA, here's the script. THis is all on Frame one of the main movie

Code:
//bgMusic
bgMusic = new Sound();
bgMusic.loadSound("http://www.psiconmedia.com/audio/darkTunnel.mp3", false);
//variable for music playing or not
var playing = false;//bgMusic Preloader
//music preloader
this.onEnterFrame = function() {
_root.music._visible = false;
_root.musicLoader._visible = true;
mTotal = _root.bgMusic.getBytesTotal();
mLoaded = _root.bgMusic.getBytesLoaded();
mPercent = (Math.ceil(mLoaded/mTotal)*100);
//_root.musicLoader.mFiller._xscale = mPercent;
if (mPercent<100) {
_root.musicLoader._visible = true;
_root.musicLoader.mFiller._xscale = mPercent;
} else if (mPercent>=100) {
_root.musicLoader._visible = false;
_root.music._visible = true;
_root.bgMusic.setVolume(130);
_root.bgMusic.start(0, 999);
_root.playing = true;
delete this.onEnterFrame;
}
};
thanks,
-myk

Music Problems With A Preloader
hello all, hoping you could help me out. I'm a college senior and I'm just getting started with flash. I'm making a webpage for a friends band and I have some of their music in a intro. The music works fine for the intro alone. Because the file is big I added a preloader and now the music won't work. I emailed one of my profs and he had the same problems sometimes but didn't know what the solution was so suggested asking the flashkit forum. So if anyone can help me out, that'd be great.

Streaming Music With Preloader
I have created quite a large site at elevateyourworld.com so I put a preloader on it. I want a music on off button, how can I have the music streaming when they click on it and not have to make the preloader load the music too? (it makes it take like a minute to load) any suggestions?

Problem With Preloader And Music
Hi!
I have this code that I got it from ActionScript 2.0 Dictionary.It is suppose to preload externals mp3 files.

var songTrack = new Sound();
checkProgress = function(soundObj) {
var bytesLoaded = soundObj.getBytesLoaded();
var bytesTotal = soundObj.getBytesTotal();
var percentLoaded = Math.floor(bytesLoaded/bytesTotal * 100);
pLoaded = "%" + percentLoaded + " Loaded";
soundBar._xscale = percentLoaded;
}
songTrack.onLoad = function () {
clearInterval(poll);
}
songTrack.loadSound("plastic.mp3",true);
var poll = setInterval(checkProgress,10000,songTrack);


but the time line passes through and doesnt show the progress bar neighter the percentage.
IF I put a stop() at the end I can see the percentage but it's too slow.

What I want is to load my 2 mp3 files before the movie starts so I can play them in my main movie.
Right at the 5th frame of my main scene I have a script to start the sound.

onClipEvent(load) {
mp1._alpha = 100;
mp1.play();
mp2._alpha = 0;
mp2.stop();
soundurl = "plastic.mp3";
mySound = new Sound();
mySound.onLoad = function(success){
if(success){
this.start(0, 999);
}
}
mySound.loadSound(soundurl, false);
}
This is the code before I use the mp3 preloader.I need to find a way to play it
without any interruption.

can YOu guys help me out?PLEASE,I've trying this for so long.

Eduardo Tavares

My project : www.eduardotavares.com.br/main.html

Problem With Preloader And Music
I can't get my flash to work if I have both... I am using this code for the preloader in Frame 1:

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 is:

gotoAndPlay(1);



And this code for the music in Frame 3

mySound = new Sound();
mySound.attachSound("hui_dao_guo_qu");
var soundPlaying = false;
sound_btn.onRelease = function () {
if(soundPlaying) {
mySound.stop();
soundPlaying=false;
} else {
mySound.start();
soundPlaying=true;
}
}

Here is the problem:

If i set the linkage for the mp3 to Export in First Frame. then the preloader wont work.

If I set the linkage to not export in first frame, the preloader works but the song wont play!

ARG! Any help would be appreciated...

A Preloader That Loads Music And The MC
how do you make a preloader that loads the music and the MC. The proloader must be demonstrate the % . how do i do that?

MZZL Chooku

Music And Preloader Problem.....
OK this is the problem.....
I put the preloader on the Flash site (170kb). Site has a music which turns on automaticly when 2. frame loads. This is the script on second frame:

stop();
firstSound=new Sound();
firstSound.attachSound("firstSound01");
_root.firstSound.start(0.05,9999);
playing=true

I put the preloader on the first frame and everything else on the second. But when I press ctrl+enter and try it with 'show streaming' my preloader shows up after 64kb of loading on the first frame. So I looked at the graph and saw that my first EMPTY frame (exept preloader) has 64kb. I tried everything to make that 1. frame smaller and find the solution, the solution was to turn off option 'export in first frame' for my music file in 'linkage' properties of that music file in library.
When I turn off that option my preloader works fine and 1. frame is about 4 kb, preloader is there all the time of loading...... but my music won't load when the site (2. frame) is loaded ?!?!?

How to make that preloader work fine and make it show all the time of loading and make the music play on the 2. frame ??????

Music Clip In Preloader
I have a pre loader in my site that loops frame 2 and 3 untill site is loaded.

I have added another layer called music and put a sound clip that is about as long as the loading process, but because the preloader loops the sound clip keeps looping frame 2 and 3.
Once the pre loader is done frame 5 starts the movie at which point I want the sound to stop.

please help

Nick

How Many Lines Of Code Before Flash Lags
Hey Just wondering if theres a limit i should have before flash starts lagging because of code length.
I have about 4000 lines here and there and its starting to lag i can tell... I started using mx 2004 to maybe stop it but i found it worse dealign wit hso much code.

have i hit a plateau with this little macromedia applet or what?

How Many Lines Of Code Before Flash Lags
Hey Just wondering if theres a limit i should have before flash starts lagging because of code length.
I have about 4000 lines here and there and its starting to lag i can tell... I started using mx 2004 to maybe stop it but i found it worse dealign wit hso much code.

have i hit a plateau with this little macromedia applet or what?

Movie Lags Behind Sound. Ideas?
I have a presentation. Sometimes, the animations slow down, and the movie lags behind the soundtrack. Its very fast paced. Is there a way to render this into a movie? I know that flash 5 supported rendering to a .mov.

Any ideas would be great, thanks.

Streaming Audio Lags (Very Unusual Bug)
I have a swf, which loads external movies, each external movie has its own layer in the time line which contains an audio file, the audio is not being used with actionscript, it is just sitting there and plays with the "stream" option enabled in the properties bar.

What I have found is that, when going from one scene to the next scene within the loaded swf, the audio will overlap, that is, the audio doesn't finish when it is supposed to, or the audio for the next scene will play before the current scene is finished.

Has anyone encountered this problem before, or, have they found a way or know a way to fix this? Perhaps something could be done to 'sync' the audio with the timeline at the end of every scene, maybe some function could be called that gets the audio and does something to it to make it re-sync?

I am really out of ideas. I have tried getting the next scene to have a delay of 9-15 frames, and that seems to have worked, but what happens is if I am running the swf, then open an app up or do something that uses a lot of cpu power, the flash file that is running will start to lag from that point onwards. Now, if the program or process that I was running in the background is now closed or goes away , the lag in flash remains! Even for new scenes that I use or even new loaded swf files, the lag stays! I close the swf, reopen it and the lag is still there, I close flash, and reopen flash, then test hte movie out again, and the lag is still there.

If you don't run another intensive process in the background, or open another application, the audio doesn't lag and everthing works fine.

If anyone has any idea's about this, please share.

BTW, I use an Athlon XP2600+ and the CPU usage is low when running this swf file...

Movie Clip Lags Behind Mouse
"I want an mc to go lag behind the mouse. But go to exactly everywhere the mouse has been.



So its like the mouse makes the path for the mc to follow"

Someone posted this on the flashkit forums and no one ever answered. I need to know the answer also, so I was hoping one of you guys would know the answer. If the explanation of what I am looking for isn't clear enough, tell me. Thanks in a advance. (By the way, I'm using Flash 5)

DataGrid Component Performance Lags
I have a DataProvider object which loads an XML object during instantiation. I set my datagrid.dataProvider to the DataProvider object. There are 13 columns, and approximately 40 rows.

Scrolling the datagrid, and resizing columns has alot of lag. Is this to be expected when using the DataGrid component with larger datasets?

Preloader Woes With Music/soundfiles
Hi everyone,

I've made a SWF file which uses sounds that have to export in the first frame.

The only external preloaders I've seen load the movie into a blank clip in the first frame.

This is, I assume, so that you can check the bytes loaded of a clip.

When I do this, however, my movie ceases to function unless

I change all of its code to _level0.CLIPNAME.etc...

so, I grit my teeth and changed all of the _root code to _level0.CLIPNAME code... then, it all worked except none of the sounds would play!!!

so,
is there a way that I can make a preloader function if I load the SWF onto the _root of my preloader? if not, how the heck will I get any of it to function?

Preloader For Multiple Swf Music Files
ok i guess i didn't eplain well enough the first time, here it goes again, bear with me i typed it for an email so excuse the "you's"

i am very stumped with a problem i have and i was hoping you could help. My dilema is that i am making a music player with around 51 songs, but the songs are about 2to 5 mb each so i wanted to add a preloader for them, the first part of this prroblem is that i am using a swiftmp3 equalizer so i am pretty sure that you have to use a loader.loadmovie function to make the equalizer work, correct me if i am wrong, secondly i am trying to make a preloader for multiple .swf's so that all can use the same one, as you can see it would get very time and space consuming with 51 songs but it is hard to interpret all this coding as i am a complete noob when it comes to action scripting. I don't even know what a MyCache is. I have a preloader made but i can't seem to get it to work for what i am trying to do. Here is what i want to happen:
Click on a number >
Display Loading Bar for external swf >
Once loaded display song info and have working equalizer

So basically i want a version of your external preloader that works for 51 songs that also work for the SwiftMP3 equalizer bars. Since i am such an idiot when it comes to hand coding i was hoping you could help me out alot,

Music Player Preloader Gone Mental
I know there is like 1 million threads on preloaders but this is just mentalist I made a real simple preloader that just says the percent laoded but it doesnt come up just waites ages for it to finish loading and then the music player frame comes up.

Music Screwing Up Preloader - Urgent
I managed to succsesfully make a preloader whoo!!!! been trying for ages but then the second I add music to play on a button click on frame 3 which it goes to whenn loading is finished, the laoder stops working and then when u view it it just spends ages loading with a blank screen and then when its fnsihed loading just goes stright to frame 3. I think I figured out that it was because in the linkage for the music I had "export in first frame" ticked but then when I untick it, the music doesnt work anymore

Urgent help needed suposed to have finished this ages ago

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