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








Skipping Preloader


I'm working on a site that appears to use the javascript api to display the different flash headers. The site was orignally setup to just refresh to the home page with a javascript function that also sent a parameter telling it which page's content (and header) to display. I've converted the site to individual pages and have everything worked out except the flash header, which now displays the preloader for every page that is navigated to. In IE, it doesn't really seem like a problem. It's Firefox & Safari that display the preloader.


HTML Code:
Each page calls the appropriate flash using:
flashHeader.TGotoAndPlay("/","aboutus");
Any suggestions on how to make it skip to a section without displaying the preloader?




SitePoint > Design Your Site > Flash and Actionscript
Posted on: Jun 27, 2006, 05:55


View Complete Forum Thread with Replies

Sponsored Links:

Skipping Preloader After Cache?
Hi all,

I have a preloader attached to my movie. This is fine but every time a user reloads the page, the percentage animation is played again. Does anyone know of a way of jumping straight to frame 1, main scene 1 once the flash movie has been cached?

I'd like to be able to play an introduction once and have it jump straight to the navigation without a "skip intro" button.

Thanks,
Kerry

View Replies !    View Related
Skipping The Preloader Once The Movies Cached
I'm having problems skipping the preloader on the movie has loaded the first time. The preloader code im using is:

bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
//_root.loadBar._width = getPercent*210;
//_root.loadTextPercentage = "Loading Navigation";
//_root.loadText = Math.round(getPercent*100)+"%";
//_root.Percentage = "of 120kb";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}

What would I have to place before this in order to skip it. Any help would save a young mans life!

View Replies !    View Related
Skipping Preloader If Content Already Loaded?
I'm using senocular's tutorial for loading external swf's with a preloader. It seems that the preloader always shows up for a brief second, even after the content has been loaded.

Is there a way to bypass the preloader if the content has already been loaded?

View Replies !    View Related
Preloader Skipping Part Of Main Scene?
I just started messing around with preloaders now that my site is taking shape but I noticed a few strange things.

When I test the preloader using the "Show Streaming" option, the preloader works and then sends me off to the main movie. All is well... or maybe not.

The main movie appears but at the END of the movie near frame 100. The preloader contains a movie of 100 frames... hmmm...

I tried to change the nextScene() command with gotoAndPlay("Scene 1",1) but both give the same qwerky result.

Here is the preloader code that I pretty much cut and pasted straight out of a FlashKit Tutorial...

Frame 1 - no actions
Frame 2:
loadedBytes=getBytesLoaded();
totalBytes=getBytesTotal();
percent = int(loadedBytes/(totalBytes/100));
if (loadedBytes == totalBytes) {
gotoAndPlay("Scene 1",1);
}
frame = int(loadedBytes/(totalBytes/100));
tellTarget (_root.loader) {
gotoAndStop (_root.frame);
}

Frame 3: gotoAndPlay(1);

loader is the "preloader bar" mc. The "State" settings in the bandwidth profiler show Frame: 100

The second question I have is just a general one. Why is my swf file 200KB but the preloader says its 380? Does that mean that its also loading the frames of other swf files that I load onto the movie?

View Replies !    View Related
Skipping Past Preloader/intro When Movie Is Cached
I've yet to find a solution for this issue after 3 posts on the Macromedia forums, though I've had nibbles at success.

I've got a preloader(called preloader) and intro(called intro) that goes to a nav menu bar(called loaded). I would like to have some actionscript code that will skip the preloader and intro and go right to the menu-loaded scene, when the whole movie is cached in the browser, so that if a image or other file is loaded into the browser, upon the return is the loaded menu - not the whole movie ran from the beginning(a flash of the preloader, and the into).

I've had several suggestions - none of which worked.

This syntax was last suggeted to me:
myloaded = _root.getBytesLoaded()/1000;
mytotal = _root.getBytesTotal()/1000;
percent = Math.floor(myloaded/mytotal*100);
if(percent==100){
gotoAndPlay(whatever_frame);
}

This was causing a script error. I erased one of the = in if(percent==100), This caused the movie to completely ignore the preloader. Useless.

Please, please help if someone does know the answer to this.
Thanks so much in advance,
blk

View Replies !    View Related
Skipping Through MC's
Hey everyone, I'm starting a project for the company I work for. I am putting together a product tour. Here how it's going to work. It will be set up much like a DVD movie when your enter you get this menu that you can skip to certain secions and or play the entire movie straight without skipping to certain scenes. SO, how can I create this (lets say) 10 min movie clip so i can put buttons on the menue to skip tp certain sections or use a slider to scroll through the movie. Please post your ideas I'm open for anything. Thanks flash kit community.

View Replies !    View Related
MP3 Skipping
Hi, I have an MP3 streaming application that has been running for almost a year now. I have been hearing a lot of skipping like a scratched record does. Sometimes it is so bad, that FMS just skips the tack and starts playing the following. Anyone here have a similar issue? I am really lost here.

View Replies !    View Related
Skipping
http://www.sixonehundred.com/new/new.html

Okay in the news part on the right, why is it fading in, and then turning blank for a millisecond and then back to the text again in Mozilla ONLY? It works fine in IE, but in Mozilla, it just skips or something. Is this common?

View Replies !    View Related
Skipping
http://www.sixonehundred.com/new/new.html

Okay in the news part on the right, why is it fading in, and then turning blank for a millisecond and then back to the text again in Mozilla ONLY? It works fine in IE, but in Mozilla, it just skips or something. Is this common?

View Replies !    View Related
Skipping Frames
I'am currently building a game in flash and have encountered an odd problem and was wondering if anyone had come across it before and found a way round it (or can point out if i'm making some stupid mistake). In frame 1 of my movie I do some initialisation of variables (scores etc) and I have the main functions for the game. I have tried a couple of ways to get the game running. the first was to have the initialisation code in another function, initGame, place a blank movie clip which calls the initGame function with onClipEvent(load) and the other functions using onClipEvent(enterframe).
The second was to have the initialsiation done as a frame event in frame 1 of the main timeline, place a call to the functions in frame 2 with a gotoAndPlay(2) action in frame 3. Using both methods the game ocassionally resets all the variables in the middle of a game. I placed a text box showing the current frame in the movie (where I was using the frame loop) which showed that the movie had skipped back to frame 1. Any ideas?

Andy.

View Replies !    View Related
Skipping An If Case?
I have a small problem that I can't quite work around or figure out. Up front here is the problem code:

// scroll if set
if (scrolling eq "dw") {
direction = "down";
_parent.content_gen.nextFrame();
} else if (scrolling eq "up") {
direction = "up";
_parent.content_gen.prevFrame();
}

Very simple - this scrolls a Generator Scrolling List object. Two arrow buttons using press and release events set the scrolling value to either "off", "dw" or "up". The "off" part is there cause the movie loops so the user can click and hold and the content will keep scrolling.

The problem is that for some reason the second If case is always ignored - completely. The 'direction = "up"/"down"' code is for debugging purposes. When I click on the Up arrow, 'direction' does not set to "up", meaning that the case was never carried out. The same would happen if I switched the statements, the Down arrow does not work, but the Up does. I've even tried making them two seperate If statements, not an If...Else If - still nothing.

Anyone have any ideas on what might be causeing this?? I've used this exact same code in previous situations and it's worked no prob. The only difference is these buttons were loaded in a Generator object, while previous ones were not. I'm baffled! Any help would be appreciated! Thx!

View Replies !    View Related
PLEASE HELP SKIPPING SITE
I have two websites right now...both in flash...and for some reason both of them seem to skip, or when the pages animate they go extremely slow and skip...is there a reason why? Did I do something wrong?

The site isn't that big in file...but everytime the pages change they skip...and I have tried some stuff, but I have a feeling it's something stupid and small that I left out. Please take a look at http://www.VODOwnz.com and click the pages to see what I am talking about...

That was my first full flash site...so please don't criticize too bad about it.

Thank you for your time, and help.

Have a nice day!

View Replies !    View Related
Skipping Frames
Ok I have acouple button and when you click on it, It goes to a frame and plays, but when you click on a different button it goes through the frames before first.. is there a way to skip the previous frames ?

View Replies !    View Related
Scene Skipping...
I have (currently) three scenes in my flash menu stuff. I have a preloader, an intro, and then the main menu. The preloader is called "loader", the intro "intro", and the main menu "menu". (That is the order of the scenes, by the way) Now, after the preloader finishes it's job, I want it to continue on to "intro" but instead, it jumps straight over to "menu." >.<

Here is the current code used in "loader" to tell it to jump to "intro" after completing...

loadedbytes=getBytesLoaded();
totalbytes=getBytesTotal();
loadedkbytes=Math.ceil (loadedbytes/1000);
totalkbytes=Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
gotoAndPlay("intro", 1);

At the end of "intro", the following code is used:
gotoAndPlay("menu", 1);

Currently, there is one frame at "menu" with the following code:
stop();

View Replies !    View Related
Frame Skipping?
I have a movie clip that doesn't seem to want to act normal when tested/published. When I play the MC during editing it produces a nice fade in/out of a word, When I publish it.. it almost appears to skip the motion tween... any ideas?

TIA,

View Replies !    View Related
Button Skipping On PC Not On Mac?
I have a movie made of buttons with a small target area. On mouse over pictures and text apear. Everything works great, but on two of the buttons when I tested the movie, the mouse over text and image skipp and reapears! It would show, than for a fraction of a second go blank, and than come again for good! I also tried the movie on a Mac and it didn't happened! Does the Mac handle Flah differently? Do I need to make the target area biger (I don't have a lot of room)?
Anyway I thought maybe someone could've run into something simillar before!

Thanks Chris

View Replies !    View Related
Skipping Scenes
I'm having a problem, I created a calendar (it only has 5 months and is static). Each month is its own scene, I have an action in the first scene that tells the movie what scene to jump to based on what month it is. It works, however it plays through all of the scenes between the first and the destination.

For example, the first scene is called actions, the second is september, and the third is october. In the actions scene, it detects the month and goes to the october scene, however it plays all of the animation in the september scene first. Is there anyway to get around this. Here's the code.

function currentMonth() {
// gets month (0-11)
monthScene = today.getMonth();
// sends to appropriate scene based on integer value of thisMonth
if (monthScene == 8) {
gotoAndPlay("september", 1);
}
else if (monthScene == 9) {
gotoAndPlay("october", 1);
}
else if (monthScene == 10) {
gotoAndPlay("november", 1);
}
else if (monthScene == 11) {
gotoAndPlay("december", 1);
}
else if (monthScene == 0) {
gotoAndPlay("january", 1);
}
}
currentMonth();

View Replies !    View Related
Skipping Frames
I was wondering if it was possible to cause a button to skip x amount of frames per click, rather than manuall setting the target frame every few frames.

I'm using Flash MX atm, any help appreciated.

View Replies !    View Related
Skipping An Intro
Hey Guys,

I ran a search on Skip Intro, and I didn't find anybody with this problem, so it must be an easy one.

I'm trying to create a preloader with the infamous Skip Intro button.
I'm thinking, it's just a simple button that you can click on that takes you to the next scene, even in the middle of the preloader.
I make a button and slap some script on it:

on (release) {
gotoAndPlay("scene 1,1");
}

However, the button doesn't work during the middle of the time line when I preview the movie. I put a stop script at the end of the intro, and i'ts only when it reaches the end, the skip intro script takes me to the next scene.
Are there any extra steps I need to take to make this thing work?
Thanks Guys,

Brad

View Replies !    View Related
Skipping Frames...?
Topic. Is there a way to go from like, frame 1,immediatly go to frame 5 without going through frame 2,3,and 4?

View Replies !    View Related
Skipping Intro
How would I make it so I press a button and it skips the intro?

View Replies !    View Related
Skipping 4 Frames
Hello,

I have the following code on a button:


Quote:




on (release) {
_root.CRBMain.nextFrame();






Is there a way to add it on another button that will skip four (4) frames instead of going to the next frame?

Thanks,

Jeff

View Replies !    View Related
Key Press Skipping?
Hi,
I posted the same problem yesterday and got a very helpful answer but I'm afriad my lack of understanding is still a barrier.

I am developing a presentation in flash. To control the frames I am using key press' I started off with this script

onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_root.screen.gotoAndStop(2);
_root.screen1.gotoAndStop(2);
_root.screen2.gotoAndStop(2);
_root.screen3.gotoAndStop(2);
_root.nextFrame()
}
if (Key.isDown(Key.LEFT)) {
_root.prevFrame()
}
}

Which would jump to the next section when the right/left key was held down. However the problem was that it would cycle through more than one. So it was suggested that I use this script

stop();

var keyListener:Object = new Object();
keyListener.onKeyUp = function()
{
if (Key.RIGHT == Key.getCode())
_root.nextFrame()

if (Key.LEFT == Key.getCode())
_root.prevFrame()
};
Key.addListener(keyListener);

This works but it seems to not jump in the correct sequence.

I woudl appreciate it if someone could look at my attached file and suggest any ideas about how I could make this file work with key press' but with just one change with each press not lots.

Hope that makes sense

Thank you

DRackham

View Replies !    View Related
Skipping Frames
Hi, I've got a problem with several Flash movies, in that frames are skipping. I'm fairly sure it's to do with my sound needing to be set to stream (not looping). I know my SWF is quite big (14MB), and it's fine after playing a few times in a row, but I've compressed it to 4MB and added a preloader at the beginning and the frames just don't seem to be able to keep up with the streaming sound (only 16 kbps and mono). Oddly, the full sized file sometimes performs better . . ?

I'm sure that the many computers I've tested it on must be able to cope with the movie; are there any tips anyone has used to maintain framerate? A preloader should mean minimal loading required throughout the movie?

Many thanks!

View Replies !    View Related
Skipping Timer
Hi All
I am having this little problem

I've made a presentation that consists of four scenes the main animation part of the presentation is in the first scene to add delay to various part of the presentation I've used the following timer code :

stop();
var intervalID = setInterval(function(){play();clearInterval(interv alID);},3000);

Initially this presentation was mean to be automated demo as so the mentioned action worked perfectly...

The problem is that now the client wants me to add useer interactivity to it that is by adding Play and Pause buttons ...

I added buttons to the presentation but they didnt work properly as if the frame on which the presentation is paused by the button contains timer action it simply executes the timer and them starts moving on.

I tried several methods to by pass the timer action by adding conditions on changing vales of a global varriable that works like a flag but nothing seems to work...

I wouldn't be able to send the source files as I can't upload anything from where I currently am sitting..

Can anybody help please????

View Replies !    View Related
Scene Skipping
I have a problem with my fla.
On my button I have this action:

on(release){
gotoAndPlay('Scene6');
}

This dose take it to Scene 6 but it gos through 2,3,4 & 5.
I have no Idea why can someone shed any light on this?

Thanks
Jonny

View Replies !    View Related
Skipping Around The Timeline
I have buttons that control the main movie, with each button skipping to different parts of the timeline, labeled s0, s1, s2, and s3.

For example, you click button #1, if it's the first press, it goes to and plays s0 (the stage widens up, an image corresponding to #1 slides in). If you press #1 and it's not the first press (stage is already widened), it goes to and plays s1 (only the image slides in). s2 and s3 does the same but for buttons #3 and #4.

what's the best way to control this in actionscript? Add var x = 0 somewhere and:

on (release) {
if (x == 0) {
x = x + 1;
_root.gotoAndPlay("s0");
if (x != 0) {
_root.gotoAndPlay("s1");
}

Does this make sense? Is something like this the right method?

Thanks.

View Replies !    View Related
Skipping Cue Points (PC Bug?)
Hi,

Here's my workflow:

Scenario #1: Main swf loads animation swf and audio-only flv with embedded cue points.

Scenario #2: Main swf loads audio/video flv without embedded cue points.

Audio-only flv contains embedded cuepoints which trigger animation changes in the loaded animation swf through a series of case statements.

This all works fine & dandy on my Mac.

However, when I test it on a PC, the .flv skips to the next cue point, plays for a couple seconds, then skips to the next cue point, etc. etc. This "skipping" is even reflected in the playHeadTime.

However, when I'm only loading a video/audio flv into my main swf (sans cue points) there is obviously no skipping.

Is this a known issue with PC's? I'm publishing for Flash Video Player 8. Could it be getting buggy while playing on Flash Video Player 9? OR, could it be that the lack of a video track in my Flash Video Encoded .flv is causing the flvPlayer to skip?

Thanks,

-D

P.S. Due to the proprietary nature of this project, I'm not really allowed to upload these files. But work with me, bros.

View Replies !    View Related
Animation Skipping Bug
hi there,


This only happens when i first open my game flash file about 166k. i have a walking movieclip that skips when published. however, when i locate the symbol in the library and enter it's timeline by double clicking it. then republish, animation has no skip. i noticed also this happens to my other animated movie clips when tweened. all animations are vector. and the walking clips is 3k. small.
i tried publish settings compress movie the same happens. its get tedious to keep double clicking some of my movclips to get my file to publish right. when i quit application and reopen the same happens. need to double click symbols to get animation flowing right? does anybody know a way out to this?

raskol

View Replies !    View Related
Repost: MP3 Skipping
For several years, I've taught a class where we use the MediaDisplay component to play back audio with cuepoints to show students how to advance through slides using the Flash Slide Presentation metaphor. All of a sudden, this semester, the audio we're using OFTEN starts skipping, or actually playing the start of the file over and over and over. Has anyone run into this. Is it a player 9 bug? That's the only thing I can think that has changed. Wasn't there at one time an upgrade for Flash 8 to bring in old 6-7 components that might have fixed this? I can't find that either. Any suggestion totally appreciated. Frustrated at best.

View Replies !    View Related
Skipping Frames
I have tried and tried and somethings work half of the way and others not at all.

I have a series of images that shows progress along a 12 month timeline.
When a play button is pressed the movie plays and the images display in succession at the framerate hard coded to the swf. I know you can't change the fps of the swf once it is playing but is it possible to create a button that will make it play every 10 frames, or every 5 frames, to give it the impression that it is going faster without actually increasing the framerate

any help would be great I have tried the playF thing that kglad suggested but I can't get it to work. You would think that something like this would have a built in function in flash by now I can't be the first person to want to have a fastforward button that yuo dont have to hold down to make work.

View Replies !    View Related
Skipping Forward
How can i make it so the animation automatically moves on from the loading screen? I have a loading sequence as part of a full flash site, yet when the site is published on the internet, the animation won't move on from the loading, without you controling it through the right-click controls. I really need this sorting out.

Thanks.

View Replies !    View Related
Scene Skipping
Hi,

I'm quite new to Flash MX.
I've got 2 scenes.
Halfway through Scene1 at frame 20, I want it to go to and play Scene2, then flick back to the Scene1 (but to a later frame[24]).

I've added an action at frame 20 in Scene1 telling it to gotoAndPlay Scene2, and then another action at the end of Scene2 to continue playing from frame 24 in Scene1.

The action halfway thru Scene1:

gotoAndPlay("Scene2",1);

The action at end of Scene2:

gotoAndPlay("Scene1",24);
//plays frame 24 in Scene1.

But it doesn't work. What it does is that it plays all of Scene1, then plays Scene2.

I want to export it as a Quicktime Video using the "Sorenson 3" compressor. It exports as a SWF file, but it doesn't work when exported as a *.mov (Quicktime Video) file.

I've included an FLA file, but its simplified.
What am I doing wrong?

Thanks!

View Replies !    View Related
Skipping Scnes
Hey guys, i need some quick help. Im making a title menu and i know how to skip from one from to another, but I want to skip from one scene to another. I have actionscript on the title menu frame to stop, but what should i put on the button to make it go to another frame? THANKS!

View Replies !    View Related
Skipping A Node In Xml
I need to know how to skip a node in xml based on the date.

I have an xml file that houses 2 swf movies:

[xml]

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<scenes>
<first>
<scene>movie1.swf</scene>
<caption>soccer</caption>
</first>
<second>
<scene>movie2.swf</scene>
<caption>soccer</caption>
</second>
</scenes>


[/xml]



and I want flash to skip the second movie based on what day it is.

if anyone can help me with this I'd appreciate it.

View Replies !    View Related
Skipping Scenes?
I am making a presentation utilizing scenes.

I have made buttons to skip ahead doing something simple like this:

on(press) {
nextScene();
play();
}

This seems to work fine for skipping ahead.

However when going to the next scene trying to jump back using:

on(press) {
prevScene();
play();
}


Just starts the scene its presently on over.

Please Help.

Thanks.

View Replies !    View Related
Xml Slideshow Is Skipping
I have a slideshow that load jpegs from an xml file. I have 2 movie clips. One in the top layer that loads the image, then fades out. The movie clip in the second layer loads the second image and fades in while the top layer fades out. At the end of the timeline both images switch to the next one. My problem is that when a new jpeg loads, there is a second of blank white space, making it look like a skip. I need a smooth transition from one image to the next. Can I do this? Is there any way to lose that skip?

Here is my fla:

http://www.ryansherman.net/slideshow.zip

View Replies !    View Related
Flash Is Skipping Over My Script
It seems that when I put script in the first frame of the first scene, it sometimes gets skipped!

example:
if (_level0.FuturePage == 1) {
gotoAndPlay ("LastScene", 1);
} else {
gotoAndPlay ("FirstScene", 1);
}


The only way I can get this to work is to stretch out the number of frames on the first scene (I put this on the 15th frame).

Is there a command in flash that says "download my movie, then do the scripts in the first scene"?

View Replies !    View Related
Button Scene Skipping
I have two buttons in scene 1...
__________ __________
|Button 1| |Button 2|
---------- ----------

I want button one to go to scene 3 and button 2 to go to scene four? what do I do? I went to actions for each and put goto and then where it says scene I typed in scene3(for button one. what am I doing wrong?

View Replies !    View Related
Question About Skipping Scenes
Hi, I have a movie with two scene, and I want to make it so that when I click on a button in scene 1, it checks the answer and if the answer is right, it skips to scene 2. I have this code written in the button:

on (release) {
if (_level0:ans == _level0:key) {
gotoAndPlay ("Scene 2", 1);
{
}

But it doesn't work!
I'm sure this is really simple problem to a lot of you, but I really suck at flash and need lots of help. Please, please help me if you know why my movie doesn't work! Thanks in advance...

View Replies !    View Related
Skipping Intro Animation
I’m relatively new to flash and I created an animated intro on the home page. Is there a way so that once a user sees the intro and goes into the site and then they want to come back to the home page it automatically skips the animation? I know that’s kind of wordy, but that’s the best way I can explain it. Thanks in advance for any help you can give me.

View Replies !    View Related
Array Skipping First Letter
Why when I publish my movie it skips the first letter of my array. Everything seems to load into the array okay but, when the text moves into place it skips the first letter. I fixed it by making the first letter repeat in my text file but, I would like to know what I am doing wrong.

I have a text file named data.txt inside of the text file dataString=Work Please
On the stage I have an empty mc with the code

PHP Code:




//load the text file
onClipEvent(load) {
    loadVarsText = new LoadVars();
    loadVarsText.load("data.txt");
    loadVarsText.onLoad = function(success) {
    if (success) {
        trace ("done loading: "+this.dataString);  
        //starting positions
        startXpos = 100;
        startYpos = 100;
        nextX = 0;
        elapsedTime = 0;
        enterTime = 0;
        //i = 0;
        //put text from file in array
        newLetters = new Array();
        newLetters = this.dataString.split("");        
        trace("length: "+ newLetters.length);
    } else {
        //oops no text file loaded
        trace ("not loaded");
        }
    }
}

onClipEvent(enterFrame) {
    if (elapsedTime>100) {
        enterTime = getTimer();
        if (i<this.newLetters.length) {
            /*attach a mc with from library link named letter
            inside the letter mc is animated mc instance named animated
            inside the animated mc is text box instance named letterContainer*/
            newClip=_root.attachMovie("letter", "letter"+i, i);
            //put the letter from the array into the animated text box
            newClip.animated.letterContainer.text = newLetters[i];
            trace("textWidth: "+newClip.animated.letterContainer.textWidth);
            //move the newly made clip
            newClip._x = nextX;            
            newClip._y = startYpos;
            //place the mc next to the last mc
            nextX = newClip._x + newClip.animated.letterContainer.textWidth;
            ++i;
            elapsedTime = 0;
        }
    } else {
        elapsedTime = getTimer()-enterTime;
    }
}







Any help much appreciated.

View Replies !    View Related
Skipping Keyframes With Streaming
hi all -

My undertanding is that Flash skips frames as necessary to keep up with streaming audio - does this mean that actionscipt in a keyframe might get skipped over and thus not executed?

If so, is there any way to prevent this?

Thanks much,
brian

View Replies !    View Related
Sound Skipping When Loading From CD
I have a Flash MX movie running off a CD. The main movie (level0) has a main menu and each menu item loads an .swf into level1

Each of these 'sub movies' has a menu button in each scene and when you press the menu button I use "unloadMovieNum(1)" to get the sub movie out of the projector and the demo goes back to the main menu in the main movie.

The problem I am encountering is that sometimes the audio will start to jump and sound slow. It happens in random spots but always at the start of one of the sub movies. Once it starts jumping like this, it continues even if you go back to the main menu and into another sub movie. If you quit the demo and restart it the problem goes away and may or may not come back the next time you run it. I've been trying to fix this for waaay too long now and I'm at my wits end. If any of you have any suggestions how to fix this or theories about what might be causing this problem I would be forever grateful.

View Replies !    View Related
Please Help Sound Skipping Problem
Does anyone know how to keep sounds from having a little skip when looping? The actual file doesn't do that, flash must.

View Replies !    View Related
Skipping The Intro After Its Been Viewed Once?
okay i am using a dynamic system for my site and i want the flash intro header to only play once and then automatically just skip to the second part of the movie after that. I am pretty sure its possible cause i see it don all the time but only on HTML and flash sites. but since mine is dynamic i dont know if i have to do something special as its generating and reloading that main movie everytime. I do know how to make it load the xsecond movie on all the pages except the home page but still when i go back to home its gonna play the intfo again. so i am lost as to even where to begin on this. any help is greatly appreciated. thank you.

just to recap in simpler terms i want intro to play the first time you come to the site but from then on automatically skip to scene two or even just play movie two.

View Replies !    View Related
Skipping Sound Through A Timeline
Hey. I have this project I've been working on for a while, and it basicly has one mp3 file that starts in the first frame of the first scene and continues throughout the movie. I want to add a feature at the start where you can skip ahead in the movie (easy enough with GoTo...) BUT I want the sound to match the part of the movie it skips to.

ie. If you skip half way through the movie I want the sound to play from half way into the song.

I'd post my .fla, but its around 20 megs now (I know, I know...). It's a big project, much like flashback at http://www.tripatourium.com (It's under "Eye Candy").

Any help would be appreciated, I'm kind of in the dark here

Sean

View Replies !    View Related
Skipping First Frame In Timeline
Err, I know it must be something simple I am missing so if someone could point me to a thread about how to fix this that would be great.

This script was set to load in the first frame,

PHP Code:



var page = "counties.php?county=";
var link1 = page+"County1";
var link2 = page+"County2";
var link3 = page+"County3";
var link4 = page+"County4";
if( id == true ){
    var link5 = page+county+"&sub="+num;
    if( num == "3" ){ county = "cities"; }
    else if( num == "4" ){ county = "water"; }
    else if( num == "5" ){ county = "rec"; }
    else if( num == "6" ){ county = "interest"; }
    else if( num == "7" ){ county = "districts"; }
    else if( num == "8" ){ county = "cemetery"; }
}
else if( sub == true ){
    link1 = link1+"&sub="+num;
    link2 = link2+"&sub="+num;
    link3 = link3+"&sub="+num;
    link4 = link4+"&sub="+num;
}
gotoAndStop(county);




If I empty my cache in my browser the timeline skips the first frame making the whole movie run over and over and not stopping on the frame. Off course once the swf is cached it works just fine.

So I moved the above script to the second frame and added the following to the first frame,

PHP Code:



if (((_framesloaded/_totalframes)*100)<100) {
    gotoAndPlay(1);    
} else {
    gotoAndPlay(2);
}




Once again if I empty the cache it will skip both this frame and frame 2.

So I added a blank frame before the other 2 on the first frame of my movie. Now it loads fine. My fear is that a person with a slower computer or download speed may still see the movie skip these frames.

Is this just a common problem with actionscript that it won't read the script if the movie isn't completely loaded or am I just doing something completely wrong

Is there a way to make the movie completely stop on the first frame until the entire movie is loaded?

View Replies !    View Related
Skipping Playback Issue
ok i posted this issue a day or 2 ago but no one has responded. i will plead for help again.

here's the issue:
i have a cd that auto starts an exe file which displays the main interface. with this main interface i can load external swf movies/files into an empty container when i click on a button. after the cd has been playing for a few minutes i click on a button to load an swf movie into the empty container in the main interface (which is the exe file). the cd sound playback begins to "skip" or "chatter". I close/unload that swf by click a button and then all of the sound for the entire cd is stopped.

any possible solutions to this issue???

wade

View Replies !    View Related
LoadMovie() Skipping Every Second Attempt
I am using loadMovie to dynamically import a number of jpegs for a slide show. However, upon hitting "nextSlide" button the loadMovie() command only works every sceond time. I have included all the relevant code below.

Appreciate any suggestions on this one...

//the array is declared elsewhere and reads:

siteImage_arr[0] = "http://localhost/images/image1"
siteImage_arr[1] = "http://localhost/images/image2"
siteImage_arr[2] = "http://localhost/images/image3"

//code behind nextSlide button

on (release){
trace ("Pressed!);
//holder is a movieclip placed on the main timeline
holder.loadMovie(siteImage_arr[x]);
if (x==imageCount){ //imageCount = 2
x=0;
}else {
x=x+1;
}
}

**********

Output: everytime I press the nextSlide button, the trace works ("Pressed1"). however, holder will only display image1, blank, image3, blank, image2, blank, image1 ... etc.

cheers for any help!!!

dots22

View Replies !    View Related
Skipping Scenes With Buttons...?
My script doesnt work, which was


code:
on(release) {
gotoAndPlay(5, 1);
}

And I got an error, which i have no idea how to fix, again :P

code:
**Error** Scene=Scene 3, layer=Instructions, frame=1:Line 2: Scene name must be quoted string
gotoAndPlay(5, 1);

Total ActionScript Errors: 1 Reported Errors: 1


Help would be appreciated, thanks~!

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