Audio Only Plays When Browser Is Refreshed
I have published a site and audio doesn't play the first time the site loads. Audio starts only when the browser is refreshed. NOTE: THE SITE IS FOR A BAND THAT USES EXPLICIT LANGUAGES. link If you guys have any suggestions or ideas as to why the audio doesn't play the first time it loads.... please give me some inputs. I'm out of ideas. Thanks a bunch!
KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 03-25-2006, 03:41 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Movie Pauses But Plays Correctly When Browser Refreshed
I am having an issue with the below fla file. The first time you view the movie in the html page, it will hang for unknown reasons. But if you refresh the browser, it will play correctly. I also have the flash file available at the link below. I'm assuming it has something to do with the actionscript but I can't locate the problem. Please help I'm stumped here!
http://test.idnrteachkids.com/interactive/creatures2.html
http://test.idnrteachkids.com/interactive/creatures2.fla
AS3 Swf Loads Once In IE, Then Hangs If Browser Refreshed
Hi guys,
Can anyone help out or point me to a thread that discusses this problem?
I swear I've seen one but I can't find it now.
I have a Flash CS3, AS3 file with a proloader in the first frame that preloads itself via loaderInfo property:
Code:
prelodmc.width = 1;
//Preloader Action Script
loaderInfo.addEventListener (ProgressEvent.PROGRESS, plLoading);
function plLoading(event:ProgressEvent) :void {
var pcent:int=event.bytesLoaded/event.bytesTotal*100;
prelodmc.scaleX=pcent/100;
if(pcent==100) {
TweenLite.to(prelodmc, 0.7, {alpha: 0, delay: 0.3, ease: Exponential.easeOut, onComplete: moveOn});
}
}
If I refresh the thing in IE the SWF no longer loads but just sits there on the first frame.
Thanks for taking the time to help out!
CS3, AS3 SWF Loads Once In IE, Then Hangs If Browser Refreshed
Hi guys,
Is there ANY WAY to have the preloader code inside the 1st frame of a SWF and not have this IE problem?
I found this thread that suggests using a wrapper SWF with a document class, but my Art Director keeps telling me it won't work on their Teamsite setup... (yeah, don't get me started on that one).
Can anyone help out or point me to a thread that discusses this problem?
I swear I've seen one but I can't find it now.
I have a Flash CS3, AS3 file with a proloader in the first frame that preloads itself via loaderInfo property...
Code:
prelodmc.width = 1;
loaderInfo.addEventListener (ProgressEvent.PROGRESS, plLoading);
function plLoading(event:ProgressEvent) :void {
var pcent:int=event.bytesLoaded/event.bytesTotal*100;
prelodmc.scaleX=pcent/100;
if(pcent==100) {
TweenLite.to(prelodmc, 0.7, {alpha: 0, delay: 0.3, ease: Exponential.easeOut, onComplete: moveOn});
}
}
If I refresh the thing in IE the SWF no longer loads but just sits there on the first frame.
Thanks for taking the time to help out!
Random Flash Files Each Time The Browser's Refreshed
Hello, all. I know this involves JavaScript and and is probably Flash 101 stuff, but I can't seem to find a tutorial:
Here's the Gravis footwear site, with a different Flash movie each time you refresh the browser:
http://www.gravisfootwear.com/main.asp
It involves frames, and here's the frame it comes from:
http://www.gravisfootwear.com/top.asp?lang=EN&ecom=true
Can anyone point me toward a Flashkit tutorial on how to create this similar effect of "rotating" same-size movies played within the same spot whenever the browser is refreshed? I know one's out there but I've not been able to find it.
Thanks in advance for your help.
Random Movies Each Time The Browser's Refreshed (this Time With .fla)
Hello, all...
I found a tutorial on this subject earlier on, but the e-mail address of the person who wrote it is invalid. I've got flash files attached.
All I'm trying to do is create a movie for my web site's front page which will load and play a different movie each time the browser is refreshed. Right now all I see is all the movies loading at the same time.
Flash files attached...any ideas on how to adjust the actionscript to let only one movie play each time the page is refreshed?
Thanks in advance. Here's the main.fla...
Possible: OnPress, Audio Plays After A Second?
Hey everyone
I have an sound object, and I have a play button. All I want is, when i press the play button, it waits a while before it plays the audiofile?
Is there a way to do this???
FLV Plays Video No Audio.
My FLV was loading in fine, playing audio on one server. Then when we pushed it to another server the audio won't play in the FLV at all. Also, after the FLV is done I load an external MP3 which doesn't play either.
Is this a MIME setting issue? Or permissions or something server related? I doesn't like MP3s in FLVs or alone.
Thanks.
Netstream Plays Audio Twice
hi all,
just managed to work out how to get flv's to load up dynamically using xml - it all works well apart from this one problem that i have.
when the thumbnail for the flv is clicked the preloader appears and the flv starts to load - but for some reason the audio begins to play almost immediately - then when the flv actually loads then the audio plays again whilst the initial (unwanted) audio carries on playing!
this is the script for the netstream:
PHP Code:
private function onInitialize():void
{
_connection = new NetConnection();
_connection.addEventListener(NetStatusEvent.NET_STATUS, onConnectionNetStatus, false, 0, true);
_connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onConnectionError, false, 0, true);
_connection.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onConnectionError, false, 0, true);
_connection.addEventListener(IOErrorEvent.IO_ERROR, onConnectionError, false, 0, true);
_connection.objectEncoding = ObjectEncoding.DEFAULT;
_connection.client = {
onBWDone: onBWDone
};
//_connection.connect("rtmp://yourfmshere/");
_connection.connect(null);
}
private function onConnectionError(...args):void
{
trace("Test.onConnectionError()");
}
private function onConnectionNetStatus(event:NetStatusEvent):void
{
trace("**** code **** " + event.info.code);
switch (event.info.code)
{
case "NetConnection.Connect.Success":
_stream = new NetStream(_connection);
_stream.client = {
onMetaData: onMetaData,
onCuePoint: onCuePoint
};
_video = new Video();
_video.smoothing = true;
addChild(_video);
_video.attachNetStream(_stream);
var xscaler:Number = (1 / _video.width) * stage.stageWidth;
var yscaler:Number = (1 / _video.height) * stage.stageHeight;
_video.scaleX = xscaler;
_video.scaleY = yscaler;
_stream.play(videoPath + imageArray[largeImageItem].largeImage, 0);
i really don't understand why it plays double???
Anyone had this problem before?
Audio Plays Only When You Drag-How
Hello
I'm working on a site and i have a Dragable graphic/button. (Dragable on 1 Axis-from 0-100 for example)
i want to make the AUDIO PLAY/STREAM, ONLY when the Dragable Shape is being Moved.
i hope i explained it well. (basically i want the SAME EFFECT as when you have a frame with an audio set to Stream, and when you MANUALLY DRAG the TimeLine Back and Forth, You Hear the Audio.
Thanks guys
FLV Plays With Audio (no Video)
Hey all,
I'm building a flash piece that plays multiple videos (one at a time - on demand) that are served from an RTMP server. the videos play fine 95% of the time but 5% of the time the audio plays but the video doesn't show up. This is the relevant code:
ActionScript Code:
var thisVideo:FLVPlayback = new FLVPlayback();
thisVideo.source = flvLink; //flvLink = RTMP link
thisVideo.addEventListener(VideoEvent.READY, readyFunc);
function readyFunc(e:Event) :void {
videoHolder.addChild(thisVideo);
ready = true;
}
//called when video should play
function video() {
if(ready == true) {
thisVideo.source = flvLink;
thisVideo.load(flvLink);
//thisVideo.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, playingListener);
thisVideo.playWhenEnoughDownloaded();
}
}
I have noticed that "PLAYING_STATE_ENTERED" doesn't fire when the video doesn't display.
Anyway, any thoughts would be much appreciated.
Seeing Waveform When Audio Plays
Hi folks
In my SWF file, I would like to see the waveform of an audio file.
I want the user to be able to select / type in the name of an audio file.
When the file is loaded, it is important for them to see the waveform - can this be done?
FLVplayback Plays Audio Only
I have an instance of the FLV playback component on the stage called 'my_video' and an FLV called 'group.flv' stored in the same folder as the FLA (this is all running from my desktop). If I link the component to the FLV through the component inspector panel it works fine but when I try to do it with Acionscript I get the audio but no video and if I click the play/pause button I get this error:
1000: Unable to make connection to server or to find FLV on server
I am using this code:
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
my_video.attachVideo(stream_ns);
stream_ns.play("group.flv");
Can anyone tell me what I'm doing wrong here.
Cheers all
Audio Plays Occasionally With SWF?
Hi, I have a SWF file which contains both video and audio. When I play it with Flash Player it works fine on some computers and on others the audio just blips at the beginning and then doesn't play (video is fine though).
On the computers with the audio problem, if I then go to control - play (on the flash player) then, sometimes, it will begin playing the audio but the audio will then jolt about and stop.
Does anyone know what this is due to?
I have loaded this external swf file into my site but I haven't used any load or attach sound actions to do so. I would have thought that if the swf file contained both the audio and video (and played both on some computers), then I wouldn't need to do so?
Surely someone must have come across this before?
Thankyou
Video Plays Slower Than Audio On Some Pcs...
My .swf file plays normal on some pcs while the video falls behind the audio on other pcs. Get this -- the movie is being played from the C drives. Could this be a graphic card issue?
Burning A Cd That Plays Audio And Data
Hiya
Dont know if im doing this post in the right area so im sorry if its not.
I need to make a cd that plays audio in normal CD players and when inserted in a computer it plays an exe.
I used nero and created a mixed mode cd. My music tracks are the continuos type so i needed to remove the gap between tracks, which i selected in nero
Problem is i'm still getting a delay when the tracks change. Its only a second or so but its enough to make the cd sound ****.
Can anyone tell me why this is? is there a way of fixing it? should i used particular software?
please help!
thank you
Streaming Audio Plays Slow Mo Help
I'm programming a music player class.. and when i play songs through it everything works fine. I tried playing mp3s that were from bands like coldplay and stuff like that. but when I play mp3s that I made myself, it plays in super slow motion! I think it might be because of the sampling rate.. maybe my sampling rate is too high!
what sampling rate does flash work with best? please help!!!
Movieclip Jittery When Audio Plays
The playback of sound effects from one of my game object's movieclips (such as an alien shooting) is causing other game objects (i.e. the walking hero) to judder in their movement, only while that audio is playing from the other object.
But when I delete the audio from its layer in the movieclip, there are no problems.
Any suggestions on what might be happening, and where I might start to investigate, would be appreciated.
I'm coding on Flash CS3 in AS2 for Flash Player 8. Playing on Windows XP SP2, on a 2 GHz desktop and 1GHz laptop (the problem happens on both.)
The CPU is NOT going super high when the problem happens.
Flash Audio Only Plays Locally
I have a flash movie that is supposed to play audio when a button is clicked. It works when I have the file on my local machine (But the sound is faint) but when I upload it to run live the sound won't play. Both the swf and audio file are in the same directory on the server. Any thoughts? You can see this at www.aquinasandmore.com. Refresh until you get the cd "cube".
How To Make Something Happens After 2 Seconds Of My Mp3 Audio Plays
I want o play a movieclip after 2 seconds of my audio in mp3. How can I detect this? I try to use "duration" but doesn´t run. Any suggestion?
var my_sound:Sound = new Sound();
my_sound.loadSound("audio/tela_de_abertura.mp3", true);
if (my_sound.duration == 2000) {
mct_1.gotoAndStop(2);
}
What is wrong?
Wha...? I Deleted The Audio But It Still Plays-spooky
I'm confused: I have 5MB of audio I need to include with my movie so I put the audio into a fla and created a shared library. Then I imported the shared library into my main fla and put the sound on the timeline. This is the strange result:The main fla's filesize exploded.
The main swf filesize did not
Then, to test, I deleted the audio.swf (shared library) and played the main swf - it still played the audio that was supposedly linked to the audio.swf (which was no longer present). What gives? Is the audio embedded in the main swf or not? In the size report, it says:
Event Sounds: 22KHz Stereo 16 kbps MP3
Sound name Bytes Format
----------------------- --------- ----------
FlashClip3.mp3 0 22KHz Stereo 64 kbps MP3
So if the audio is not in the swf and I've moved the shared library swf, then where is the audio coming from (it still works even now)? The swf filesize is only 130KB.
Audio Clip Plays In Wrong Place
On my main timeline I have a MC called logo
within this MC, I have another MC called lightning placed on frame 99. At the end of the MC lightning, I have this code:
_parent.play("portfolio2"); stop();
which sends the viewer to a frame labled "portfolio2" (frame 100)
On frames 100 - 109, I have another MC with several buttons. The problem is that a few of these buttons, not all of them, when pressed, trigger the audio clip from the MC lightning that sits solely on frame 99. The buttons do not exist on frame 99 and the MC does not exist on any frame higher than 99.
How can I keep this audio from triggering when the buttons are pressed?
Thanks
SWF Plays Audio, HTML Doesn't - Any Clues?
I have a file at level 0 that loads the following code...
fscommand("fullscreen", true);
loadMovieNum("Entablature Cover.swf", 1);
loadMovieNum("Entablature Audio.swf", 10);
_level0._root.GoSSHome = "http://www.schenkelshultz.com";
stop();
Everything works great (loading and playing my audio) when I run the SWF file or a Windows EXE file. But when I run the HTML file it won't play the audio. All audio files are external and loaded as follows...
_root.s = new Sound();
_root.s.loadSound("\Audio\E02 P10-11 Quote.mp3", true);
_root.s.start(0, 1);
Any clues why the HTML document will not play the audio. Kinda stumped here and the project is due on Monday.
Thanks for any assistance.
Netstream Audio Plays While Video Loading
hi all,
just managed to work out how to get flv's to load up dynamically using xml - it all works well apart from this one problem that i have.
when the thumbnail for the flv is clicked the preloader appears and the flv starts to load - but for some reason the audio begins to play almost immediately - then when the flv actually loads then the audio plays again whilst the initial (unwanted) audio carries on playing!
this is the script for the netstream:
PHP Code:
private function onInitialize():void
{
_connection = new NetConnection();
_connection.addEventListener(NetStatusEvent.NET_STATUS, onConnectionNetStatus, false, 0, true);
_connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onConnectionError, false, 0, true);
_connection.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onConnectionError, false, 0, true);
_connection.addEventListener(IOErrorEvent.IO_ERROR, onConnectionError, false, 0, true);
_connection.objectEncoding = ObjectEncoding.DEFAULT;
_connection.client = {
onBWDone: onBWDone
};
//_connection.connect("rtmp://yourfmshere/");
_connection.connect(null);
}
private function onConnectionError(...args):void
{
trace("Test.onConnectionError()");
}
private function onConnectionNetStatus(event:NetStatusEvent):void
{
trace("**** code **** " + event.info.code);
switch (event.info.code)
{
case "NetConnection.Connect.Success":
_stream = new NetStream(_connection);
_stream.client = {
onMetaData: onMetaData,
onCuePoint: onCuePoint
};
_video = new Video();
_video.smoothing = true;
addChild(_video);
_video.attachNetStream(_stream);
var xscaler:Number = (1 / _video.width) * stage.stageWidth;
var yscaler:Number = (1 / _video.height) * stage.stageHeight;
_video.scaleX = xscaler;
_video.scaleY = yscaler;
_stream.play(videoPath + imageArray[largeImageItem].largeImage, 0);
i really don't understand why it plays double???
Anyone had this problem before?
Plays Audio Stream In Flash 8, Does Not In HTML
Website: www.tinmandownloads.com
Stream: http://212.72.165.26:9386
The player on the page has two buttons: T and N
T plays a song stored as MP3 on another site, loads it as a stream. Works all the time
N connects to the stream above.
Works on "test movie", works on publish preview flash, does NOT work on publish preview htlm, does not work when published on site.
What am I missing?
Any help would be appreciated.
Audio Player That Tracks Plays (like Myspace)
Hey guys, I'd really like to put an audio player on my band's site that's capable of tracking "total plays" and "plays today" just like the one on Myspace.com. I'm quite sure I don't need to provide a link to an example but just in case you've been living in a cave or something chrck out http://www.myspace.com/johnnycash for an example.
Sound/Audio Plays While Loading External Swf AS3
Hi,
I'm using the following to preload external swf.
Actionscript Code:
stop();
import flash.display.*;
var request:URLRequest = new URLRequest("main.swf");
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
loader.load( request )
function loadProgress(event:ProgressEvent):void
{
var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
loading_bar.scaleX=pcent/100;
percentage_text.text=int(pcent)+"%";
}
function loadComplete( event:Event ):void
{
navigateToURL( request,"_self");
}
But around 70%, some times 20% the sound of external swf plays. How can I define it so that sound does not play. This script above is what i decided to use as an alternative while I get my other problem resolved in this thread: Pre-loading external swf file
Slideshow Which Plays CD-DA Audio And External Images
I'm attempting to creat a cd which will work as a slideshow in a DVD player, and play audio on an audio CD player, but also can be used on a PC and MAc with simple control buttons.
I think flash is the best way, but I need to use flash to play the audio and picture files externally (ie without importing them into the .swf). Because the audio will need to be in CD-DA format (I'm net even sure about the dvd bit yet).
Is flash actually my best answer? How would I go about this, I admit to being somewhat of a noob when it comes to flash.
Any help would be greatly appreciated.
Clicking A Button To Display Text While Audio Plays
I'd like to add a button that, when clicked, will displays the transcript of audio that is playing simultanesouly. I haven't been able to figure out how to make this happen without disrupting the audio play.
Thanks in advance for your help!
Audio Plays Too Fast In Flash 8 FLV Encoded From Quicktime MOV
I'm rendering out from VT4 (Newtek Video Toaster) to a Quicktime MOV file that is re-encoded in the Flash 8 media encoder. In the past I've used the 32 bit floating point audio format coming out of VT4, which worked when playing just a MOV file. But now, when re-encoding the MOV file in Flash 8, the audio runs fast, or is maybe truncated somehow so it sounds that way.
I have several choices for a MOV audio format, is there one that Flash 8 media encoder is 'wanting' to see?
Thanks,
TW
Flash MX Linked Video Missing But Audio Plays?
I'm using FlashMX and video from Squeeze.
Please help, this is wierd, I'm not sure what to do?
If you go here and click on Instructional Video, you'll here audio playing, but no video?
http://www.hdinteractive.com/glue/golf/
However if you go here the video does play.
(you may need to wait for it to load)
http://www.hdinteractive.com/glue/golf/golftips.swf
Now go back to that first link and click instructional video again. Wha-la! it works.
So the deal is that this external .swf only plays video and audio when it has been hit directly at least one time, and then the instructional video will work from this main golf movie.
What do I need to do to get it to play on the first try (new browser session, new visitor). It must have something to do with the cache, or the fact that it is externally linked, or something?
I've beat my head against the wall... now I ask for help!
Thanks, Liz
Catch the vigorous horse of your mind!
MX Plays Slower In Browser
Hello..I've made a flash mx movie which plays at the right speed when I watch in the SWF format, but when I publish it to HTML it plays a lot slower...I have the settings at 30fps..I am just previewing it locally, not on the web...i am publishing with best quality...Does anyone know why this is???? am I missing something
Problem Using SetInterval For Idle Timer That Plays Audio Clip
I have a swf that advances through a series of frames by pressing any key. I am trying to set up a timer so that on idle (no keypresses for X sec), it plays an audio clip.
My AS below works fine, but if you press keys very fast it seems to get out of sync and plays the audio almost randomly (at least faster than it should). Does anyone know what might be causing this? BTW, I have tried using a keylistener which seems to make it even worse by affecting the volume level randomly.
//ON THE INITIAL FRAME...
myInterval = setInterval(callback1, 20000);
function callback1()
{
var wait_sound:Sound = new Sound(this);
wait_sound.attachSound("press");
wait_sound.start();
}
//ON THE KEYPRESS MC ON EACH FRAME...
onClipEvent(keyUp) {
//clears and resets the idletimer
clearInterval(myInterval);
myInterval = setInterval(callback1, 20000);
this._parent.nextFrame();
}
Swf Plays In Browser But Not In Standalone Player
So, I posted another thread about this, but it took me a while to narrow down what was happening, so I thought I would make a new post.
What the movie is:
An swf that loads an h.264 video (and then the video triggers other stuff to happen along the way)
What's wrong:
- Plays on 2 of the 5 computers I've tested it on, but not the other 3.
- It will play on the other 3 if I export the html and load it in the browser
- It will play on on the other 3 in the standalone flash player if I replace the h.264 video with an .flv
Other info:
- All computers have the same versions of Flash Player, Quicktime, etc.
- The video itself plays in Quicktime on all the computers (so it's not a codec issue)
So...what's so different about the flash player in the browser from the standalone player? How do I get this working properly?
Movie Plays Ok 'til Loaded In Browser...
Hi. I'm hoping I'm just overlooking something simple... here goes. I have a movie1.swf which on the next to last frame has
stop();
loadMovie("movie2.swf", "_level1");
then on the last frame is
unloadMovie("_level1");
It works fine using Test Movie in FlashMX, I publish it on my computer, it works great double cliking either the .swf or the .html files. I upload it to my webserver, and on the webpage the movie1.swf plays fine until it gets to the loadMovie... part, and what happens is... nothing. It does not play movie2.swf. If I double click on the files themselves residing on the webserver, they play fine, just not when it is in webpage. Am I missing something? Thanks.
Mp3 Player Plays In Flash, Won't Play In Browser
Hey. I downloaded a flash file from Flash Kit called Turntable 1.5- Its an mp3 player that loads an XML playlist file and plays the mp3's listed. I tweeked it some, and it works fine when Testing within Flash, or playing in the Flash Player, but it won't play the mp3's when I try to load it in Safari or Explorer. This is the case both locally on my hard drive and on my website. The activity window in the browser shows that its loading the mp3's as they are called on, but it won't play them. This is the case whether I play the .swf file through an HTML page, or just loading it directly in the browser. And the mp3's play fine through the browser when loaded on their own. I can't figure this out- why flash will play it fine, but the browsers won't. Is there something I need to know about XML?
I'm going crazy here, I've worked insanely on tweeking this thing, only to find this out... Can anyone PLEASE help me?
Flash Movie Plays Slower In Browser ?
I have made an animation (some background music included) and I have this problem: after integrating it into a html page i noticed that the movie acctually plays slightly slower in browser and the events in the movie do not match the music anymore...
does anyone know why is this happening or what can I do about it? Thanks!
Swf Plays Slower In Browser Then Swf Embedded In Html?
Can this be true?
i made a swf with some onEnterFrames and some setIntervals, and when i tested it from within flash (so just the flash player) my timing was perfect.
Then i tried to test it online in a browser (i typed the adress of the swf in the browser , so 'http://www. ..... .swf), and everything went way slower!
So i adjusted everything to make the timing right again.
Now i tested it by looking at the html file that contains the swf (so i typed 'http://www. ..... .html' in the browser) and then everything went way faster again.
I also noticed that swf's play WAY slower in Firefox then in IE????
Does anybody now how to work around this problem?
thanks
Movie Animation Plays Slow Through Browser
This is driving me crazy.
I have built a Computer Based Training (CBT) lesson in Flash 8 Professional and I'm noticing that the animation part of the CBT plays considerably slower in any of the browsers (IE and Firefox) than in the standalone player (which I've been using to preview the movie using Ctrl-Enter keystroke).
Just about everything is timed, so it is imperative that the audio and animation play at the same rate. Here's how it is set up:
1. There are about 30 "screens" (or "slides" if you will) to this presentation. Each "slide" resides in one frame on the main timeline (this is a standard Flash movie, NOT a Flash Presentation). Each of these frames has a stop(); to pause it in place. There is a navigation bar on every screen (Back, Pause, Play, Next). I normally use Captivate to make these, but I wanted to add in a branching scheme that is not easily done in Captivate, so I built it in Flash.
2. Each frame on the main timeline houses a movie clip which serves two purposes: 1) it starts the narrations (all are sound objects) and houses the slide's animation (another, nested movie clip). The movie clip on each frame of the main timeline is set to "fade in" using a 20 frame motion tween with the first instance set to Alpha 0% and the second instance at 100%. (I don't know if that all made sense, so here's a simplified version: On the main timeline, frame 1 houses a movie clip. Open that movie clip and it houses both a trigger to the sound object narration and a second, movie clip that fades in over 20 frames and stops at frame 20. Open this nested movie clip, and the main animation is in there covering as many frames as necessary.)
3. I had to use sound objects vs. putting the narrations in the timeline because of the Pause button in the nav bar. I want Pause to pause everything and Play to resume everything. It is not possible to pause an audio clip in a timeline and have it resume by clicking another button...only a sound object will work this way.
4. 30 fps throughout.
Everything was going perfectly until I went to view the final product. The Ctrl-Enter keystroke will preview the movie in the standalone Flash 8 player. It plays perfectly. The timing couldn't be more perfect. But if I view the resulting html file through either IE (Flash 9 plugin) or Firefox (Flash 8.5 plugin), the animation in the movie plays at a slower rate (the audio plays at the exact rate it should). This destroys the timing between audio and visual objects, and becomes more pronounced the longer the narration.
I have tried the following adjustments with absolutely no effect:
1. Exported as Flash 7 compatibility rather than Flash 8
2. Unchecked the "Compress Movie" option in the Publish Settings
3. Opened the .swf file directly with IE and Firefox (instead of the .html file)
4. Changed jpeg quality from 100% to 80%
5. Changed ActionScript 2.0 to 1.0 in the Publish Settings (this actually made it slower)
Does anyone have any insight as to why the movie is playing slower when played through a web browser? Is there a setting that I'm overlooking or unaware of? Is there another way around this so I don't have to play the trial and error game with the frame rate?
Help,
Ken
PS - I wish I could post this file, but it's loaded with company sensitive information, so I can't share it.
Plays Smooth In Flash / Lags In Browser
When I view my site in a browser, it's just choppy enough to annoy me. My site consists of four sections, each are separate .swf's, under 130K, preloaded, and are set to 30 fps. The two parts that I find most noticeably choppy are when a small, all-white box quickly expands to a larger box and then fades away to reveal a fairly large (600x420) bitmap background. It seems that I've seen much more intensive sites without noticeable choppiness. Like I said it's not awful, but it's just enough to bug me -- so I am looking for a solution. Any suggestions would greatly be appreciated. Thanks!
Plays Smooth In Flash / Lags In Browser
When I view my site in a browser, it's just choppy enough to annoy me. My site consists of four sections, each are separate .swf's, under 130K, preloaded, and are set to 30 fps. The two parts that I find most noticeably choppy are when a small, all-white box quickly expands to a larger box and then fades away to reveal a fairly large (600x420) bitmap background. It seems that I've seen much more intensive sites without noticeable choppiness. Like I said it's not awful, but it's just enough to bug me -- so I am looking for a solution. Any suggestions would greatly be appreciated. Thanks!
MC Plays In Test Movie Streaming" But Not In Browser
When I test the movie on my harddrive with streaming an MC plays during loading pics and a textfield showing the percentage loaded but when I upload the swf file the preloading is fine but the MC does not play and the %loaded is also not shown. What could be the reason?
Slow Framerate When SWF Plays In Browser Vs Standalone / Preview
I'm hoping someone can help me with this one. I already searched the forums and some others have had this problem too but noone's been able to figure out what's causing it.
link to the swf embedded in browser
Click on that link and hover your mouse over the center 122 MAIN button in the center, notice the speed of the ripple.
direct link to SWF, right click and save as
Now, download the SWF and play it back in the standalone player, notice the speed of the ripple as you hover your mouse over the 122 MAIN button.
I'm running XP w/SP1 and IE 6.0.2800.1106xpsp1.020828-1920. The embedded videos were created using Squeeze and are in FLV format.
Hmmm, that might be it. Gonna test a different format.
Any ideas are GREATLY appreciated!!!
EDIT: Embedded video format makes no difference. The 2nd test, I imported the AVI file directly using the built-in Sorenson encoder and the ripple still plays slower when viewed in the browser.
AS Intensive Game Plays Fine Locally, But Slow In Browser
I have developed with Flash for a very long time, and Flash 8 is the first version where I have seen such a large discrepency between the frame rate of movies played locally (in the Flash player) and the frame rate of movies played in the browser.
Right now I am working on an intensive game with frame rate set to 53 fps. When played locally it averages a frame rate of ~50 fps with dips to 30 fps every once in a while. When played in IE I get an average frame rate of ~32 fps with dips to 19 fps. In firefox it is even worse.
Does anyone have experience with this or know why it might be happening? I don't have anything out of the ordinary going on in my game. Well, perhaps the only thing I can think of is that I am publishing in Flash 8 (with AS2) but I am still using mosly (~95%) AS1 compliant code. I am porting this over to Flash 8 at the last minute to use some of the newer features.
Thanks for any help you may be able to provide.
Streaming Sound Plays In Stand Alone Flash Player But Not A Browser
I'm on G5 PowerPC running Safari and flash player 9,0,115,0.
I have a streaming sound that will play in the Flash player but won't play in Safari. I think its because the sound isn't loading, because if I comment and uncomment the code, I'm getting the error at the line with the event listener, even if I comment out all the code in the listener's handler. Can anybody steer me in the right direction?
Thanks,
Casey
SWF Plays OK In Browser, But Needs "step Forward" In Standalone Player
Hi All
I'm new to flash (this is my first week). I've done all the lessons and the first 2 tutorials. I'm prototyping a web site for a friend of mine who's an interior designer and I have a problem either with layers or action script.
I made a movie that tweens from before, after and furnished states of an apartment refurbishment. that all worked OK. Then I added a loading indicator it runs fine in a browser (ie5.5), but when I use "Test Movie" or run the swf in the external player, it stops on the first frame of the big movie. However, if I open the published HTML file, it runs from start to end.
I'm still trying to get my head around the best way to organize such a project, so I wonder if someone can advise.
I've attached the fla file
So if you'd care to help, can you tell me where the problem may be and if I've organized things well
thanks in advance
Mark
MP3 Player On Website-Plays Approx. 5-10 Seconds Of Song Then Restarts And Plays Thru
Hello,
I have an MP3 player that I have tweaked and modified on a website of mine for a friend.
Everything works fine--but it seems it will load a song and start playing 5-10 seconds of the song then restarts the song and plays it in full. Anyone have any idea why this would be happening?
The MP3 player is at www.peeler.ca and will start as soon as you get inside the website.
Could someone have a look and listen and see if you have any ideas?
I imagine it is some redundant code or something small. It is very annoying....
Thanks in advance...
MP3 Player On Website-Plays Approx. 5-10 Seconds Of Song Then Restarts And Plays Thru
anyone have any ideas as to why my player would play like 5 seconds of a tune....then restart it and play thru completely?
I was told maybe interval coding....but not sure what I am looking for....nothing appears to jump out at me.
I will upload the .fla source code and maybe someone will see something I dont- Or you can check out what it is doing on the website www.peeler.ca the player will start on its own as soon as you get in the main page of the website.
Any help is appreciated...I am stumped!
Audio Out Of Sync Only In Browser
I have an animation that is in sync on the timeline and when exported and played in the flash player it is still in sync. When embeded in a web page the animation is slower and it goes out of sync. I have a loader on it so that it doesn't play until its all loaded, which I only added because I thought it might fix the problem, but it doesn't.
The animation is set to 30fps. Does 30fps not work in a browser? Help a noob.
To sum it up:
In Flash (on timeline): In Sync
Standalone Flash player: In Sync
Embeded in browser: Not in Sync
Gracias
|