Loading A Swf While Another Plays
Ok heres the situation, i have a preloader, and i want it to load the intro, which it does then have the intro play when done, and while the intro is playing i want to start loading the main site and then after the intro plays and they click enter, check to see if the site has loaded and if it has just go to the site and if it hasnt completly loaded go to a new preloader and show what has already been loaded and start from there. I would really apreciate your help, as i believe this is an advanced topic. - Jeff
FlashKit > Flash Help > Flash MX
Posted on: 03-11-2003, 01:30 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- Loading Jpg Image Before Flv Plays
- Loading Jpg Image Before Flv Plays
- [F8] Loading Random SWF Files After One Plays
- External Loaded Swf Plays While Loading
- Loading An External Swf File After FLV Plays?
- Loading External Swf As Main Swf Plays
- Preloader That Plays Movie While Loading
- Pre-loading One External Clip While Another Plays
- Help Please- LoadSound Issue -- Plays As It's Loading?
- Loading An External Swf File After FLV Plays?
- Pre-loading One External Clip While Another Plays
- MP3 Player On Website-Plays Approx. 5-10 Seconds Of Song Then Restarts And Plays Thru
- MP3 Player On Website-Plays Approx. 5-10 Seconds Of Song Then Restarts And Plays Thru
- Loading Movies Before Main Movie Plays
- Netstream Audio Plays While Video Loading
- Loading Multiple Swf Files While Movie Plays
- Sound/Audio Plays While Loading External Swf AS3
- [MX04] Rollover One Movie Clip Plays It, And Plays Another. How?
- Rollover Plays Frames 1-5 Of Movieclip, Rollout Plays 6-10
- Loading Multiple Movies As Main Movie Plays
- Loading Html Page After Flash Movie Plays
- Loading New HTML Page After Flash Animation Plays?
- ROLL_OVER Plays A MC And ON_CLICK Plays A MC?
- Clik Btn1,plays Some MC,Clik Btn2,hides & Plays MC
- Loading External .swf With Sound... But No Sound Plays?
- Help - Flash Movie Plays Fast By Itself, But Plays Slow When Loaded Within Another Flash Movie
- Left Click Plays NEXT Frame, Right Click Plays PREVIOUS Frame?
- Movie Plays Fine When I Use "play" But Plays Twice Faster When I Use "test Movie"
- Loading A Flash File After A Flash File Plays?
- Same SWF, Plays Different On PC Vs MAC
- Fla Plays Ok But Swf Does Not
- After One MC Plays, The Next Plays....
- After One MC Plays, The Next Plays....
- Movie Only Plays Once When.....
- MC Only Plays Right In 1st Scene? HELP
- HELP Projector Plays On Mac But Not Pc
- Plays Too Early
- Plays On Mac, Only Partly On PC
- Load All Before It Plays?
- Preload One Swf While Other Plays
- My Loop Plays Over Itself
- MC Plays On RollOver
- MC Plays Then Needs To Go To Next Frame Outside MC
- Preload One Swf While Other Plays
- The SWF Downloads Instead Of Plays?
- Sound Plays Twice
- Music Plays Twice...or More
- FLV Plays Every Other Time
- Movie Just Plays
Loading Jpg Image Before Flv Plays
I want to load a jpg image into my Flash player for 3 seconds before the flv starts playing.
How can I change the jpg via javascript or html?
What are the considerations for small and large videos and buffering?
Thanks
Loading Jpg Image Before Flv Plays
I want to load a jpg image into my Flash player for 3 seconds before the flv starts playing.
How can I change the jpg via javascript or html?
What are the considerations for small and large videos and buffering?
Thanks
Edited: 05/04/2007 at 11:26:32 AM by charlestrent
[F8] Loading Random SWF Files After One Plays
Hello,
I wish to load a random swf movie after my original plays.
So I have 'same_day.swf' and another two 'home.swf' and 'haulage.swf'.
The plan is once 'same_day.swf' has reached the end some ActionScript will randomly select either home.swf or haulage.swf to load.
Any ideas on this would be greatly appreciated.
Many thanks.
External Loaded Swf Plays While Loading
Hi
I'm loading an external swf file but it starts playing while it's busy loading, I put a stop(); in the external but that doesn't work at all. Is there another way of playing the swf only when it is visible to the user.
Thanx for any help
Code:
PHP Code:
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
l.load(new URLRequest("main.swf"));
import gs.TweenMax;
ent.alpha = 0;
ent.useHandCursor = true;
function loop(e:ProgressEvent):void
{
var perc:Number = e.bytesLoaded / e.bytesTotal;
bar.scaleX = perc;
}
function done(e:Event):void
{
TweenMax.multiSequence([
{target:bar, time:1, alpha:0, delay:1},
{target:ent, time:1.5, alpha:1}
]);
}
ent.addEventListener(MouseEvent.CLICK, motion);
function motion (e:MouseEvent):void
{
removeChildAt(0);
bar = null;
ent = null;
addChild(l);
}
this is the loader swf that loads the external swf. The swf being loaded is just a couple of movie clips tweening in.
Loading An External Swf File After FLV Plays?
I have an animated intro and menu as a swf. When you click on a chapter it loads a external swf with a flv in it. when the movie ends I want the video to unload and the menu section of the intro swf to load.
What is the best way to accomplish this?
Here is the code for the intro swf ( i only have the introduction bttn active for testing):
Code:
stop();
var PhysTestRequest:URLRequest = new URLRequest("trainIntro.swf");
var PhysTestLoader:Loader = new Loader();
intro_btn.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
function newvid(event:MouseEvent):void {
trace("you clicked me");
PhysTestLoader.load(PhysTestRequest);
addChild(PhysTestLoader);
}
intro_btn.buttonMode=true;
This is the code for the swf file containg the flv:
Code:
import fl.video.*;
import fl.controls.ProgressBarMode;
// Set Variables
var flvControl = display;
var flvSource = "Introduction.flv";
// Create event handler functions to control the progressbar
function progressHandler(event:VideoProgressEvent):void {
var bl = Math.round(event.bytesLoaded/1000);
var bt = Math.round(event.bytesTotal/1000);
// Update progress...
pb.setProgress(bl,bt);
}
function readyHandler(event:VideoEvent):void {
// Remove progressbar when we start playing...
removeChild(pb);
}
// Set progress bar state
pb.mode = ProgressBarMode.MANUAL;
pb.indeterminate = false;
// Add listeners and load the video
flvControl.addEventListener(VideoProgressEvent.PROGRESS, progressHandler);
flvControl.addEventListener(VideoEvent.READY, readyHandler);
flvControl.source = flvSource;
buttonMode = false;
Any help would be greatly appreciated.
Scott
Loading External Swf As Main Swf Plays
Hi -
I'm very new to actionscripting, and have been given the assignment of loading six separate swf files as the main swf plays out. The files I need to load in the background range from 100k to 500k.
I know there is a way to set up the main file playing to start preloading everything to be ready when the user clicks on the button to bring the new file up,... but I don't have the slightest clue of where to begin. I have the swf files and the fla files, so I should be able to get everything working smoothly.
I'm sure this is a complete newbie question.
I'll apreciate any help I can get.
Thanks
Preloader That Plays Movie While Loading
Hey there,
I wanted to know if anyone had a tutorial link or the code that would help me create a preloader that loads, let's say 40% of a 500k movie for the web and once it gets to 40% it starts to play the movie while it still loads the rest...
I haven't been able to find this anywhere!
Thanks!
Pre-loading One External Clip While Another Plays
Hello,
Here is what I am trying to do..
I am going to have a single page, with a 6 minute sound clip looping (don't ask - sort of a for-fun site I am doing at work). I have broken the clip down into 12 smaller clips to reduce file size, and I want to have a random clip play each time a user refreshes, but then have the clips play sequentially from wherever they start (e.g. randomly start with clip 10, then play 11, 12, 1, 2, etc.). I have created 12 different flash files, each with one of the sound clips.
I am using the randomize script found here, which is working fine:
http://www.kirupa.com/developer/acti...ndom_movie.htm
On the last frame of each of the 12 files, I am loading the next movie. For example, clip 1 has:
Code:
loadMovieNum("clip2.swf", 0);
Everything is working, except I want to have the next sequential sound clip loaded while the current clip is playing, so that the sound plays smoothly with no interruptions. Right now there is a slight pause between each clip.
I have looked through a lot of the pre-loader scripts and posts, but I don't want to have any sort of obvious pre-loader if I can avoid it (no "loading" bar, etc.). I also was not sure whether I should be putting the code on the main file, or on each of the 12 files (which seems more likely).
If anyone could help, or point me to a previous post that might solve this, that would be great!
Also, if there is an easier way you can think of to do this, that would be great as well (the main reason I separated them into separate .swfs is because I thought it would load quicker when the user first gets to the page).
Thanks!
Help Please- LoadSound Issue -- Plays As It's Loading?
I'd like my audio to load and not play until the viewer presses a button. But for a brief bit while it's loading, you can hear the audio. On the server this brief bit is longer, on my desktop its shorter.
Then it stops. How do I get it to be completely silent?
audio = new Sound();
audio.loadSound(sound [p], true);
audio.onLoad = function(){
audio.stop();
Loading An External Swf File After FLV Plays?
I have an animated intro and menu as a swf. When you click on a chapter it loads a external swf with a flv in it. when the movie ends I want the video to unload and the menu section of the intro swf to load.
What is the best way to accomplish this?
Here is the code for the intro swf ( i only have the introduction bttn active for testing):
Code:
stop();
var PhysTestRequest:URLRequest = new URLRequest("trainIntro.swf");
var PhysTestLoader:Loader = new Loader();
intro_btn.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
function newvid(event:MouseEvent):void {
trace("you clicked me");
PhysTestLoader.load(PhysTestRequest);
addChild(PhysTestLoader);
}
intro_btn.buttonMode=true;
This is the code for the swf file containg the flv:
import fl.video.*;
import fl.controls.ProgressBarMode;
// Set Variables
var flvControl = display;
var flvSource = "Introduction.flv";
// Create event handler functions to control the progressbar
function progressHandler(event:VideoProgressEvent):void {
var bl = Math.round(event.bytesLoaded/1000);
var bt = Math.round(event.bytesTotal/1000);
// Update progress...
pb.setProgress(bl,bt);
}
function readyHandler(event:VideoEvent):void {
// Remove progressbar when we start playing...
removeChild(pb);
}
Any help would be greatly appreciated.
Scott
// Set progress bar state
pb.mode = ProgressBarMode.MANUAL;
pb.indeterminate = false;
// Add listeners and load the video
flvControl.addEventListener(VideoProgressEvent.PRO GRESS, progressHandler);
flvControl.addEventListener(VideoEvent.READY, readyHandler);
flvControl.source = flvSource;
buttonMode = false;
Pre-loading One External Clip While Another Plays
Hello,
Here is what I am trying to do..
I am going to have a single page, with a 6 minute sound clip looping (don't ask - sort of a for-fun site I am doing at work). I have broken the clip down into 12 smaller clips to reduce file size, and I want to have a random clip play each time a user refreshes, but then have the clips play sequentially from wherever they start (e.g. randomly start with clip 10, then play 11, 12, 1, 2, etc.). I have created 12 different flash files, each with one of the sound clips.
I am using the randomize script found here, which is working fine:
http://www.kirupa.com/developer/acti...ndom_movie.htm
On the last frame of each of the 12 files, I am loading the next movie. For example, clip 1 has:
Code:
loadMovieNum("clip2.swf", 0);
Everything is working, except I want to have the next sequential sound clip loaded while the current clip is playing, so that the sound plays smoothly with no interruptions. Right now there is a slight pause between each clip.
I have looked through a lot of the pre-loader scripts and posts, but I don't want to have any sort of obvious pre-loader if I can avoid it (no "loading" bar, etc.). I also was not sure whether I should be putting the code on the main file, or on each of the 12 files (which seems more likely).
If anyone could help, or point me to a previous post that might solve this, that would be great!
Also, if there is an easier way you can think of to do this, that would be great as well (the main reason I separated them into separate .swfs is because I thought it would load quicker when the user first gets to the page).
Thanks!
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!
Loading Movies Before Main Movie Plays
hi everyone.
how can i have the main movie load multiple external movies on different levels BEFORE the main movie actually starts playing.
when i put the load command in frame 1 and the preloader in the following scene, it doesn't seem to work.
any help is greatly appreciated.
thank you.
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?
Loading Multiple Swf Files While Movie Plays
I have a project where I am loading ~50 swf files while the movie plays. The problem I am experiencing is that Flash downloads more than on file at the same time and because some files are larger than others, they do not seem to load sequentially. Does anyone know how to limit the way Flash loads each swf?
Here is the code (some of which has been copied from other posts):
//background loading
var n = _root._totalframes-2;
var mc;
for(var i = 0; i < n; i++) {
// we have to use different depths, or the last one will knock
// out the previous one
mc = _root.createEmptyMovieClip("movie" + i, i);
// now, in this time through the loop, mc is the new movie clip
mc._x = 0;
mc._y = 102;
mc.loadMovie("oronite-scrollText-" + i + ".swf");
}
nextFrame();
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
[MX04] Rollover One Movie Clip Plays It, And Plays Another. How?
Alright, so I've got two movie clips.
I have one, called fade_mc, which will play on rollover, and then play in reverse on rollout.
Here's the code for that, placed on a separate layer in the MC.
PHP Code:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
What I would like to do is add to this so that, upon rollover of this MC, other movie clips will play in a similar fashion, and play backwards upon rollout.
In this case it is a MC called dark_mc that I would like to have play.
Posted this in the newbie section to no avail, please help!
Rollover Plays Frames 1-5 Of Movieclip, Rollout Plays 6-10
Need help on this, i'm sure it's the most basic thing, but haven't found my answer thru the help files, etc !
I have a button which on rollover i need to play one of my movie clip animations from frame 1-5 (i have a stop action on frame 5), and on rollout i need it to play the rest of the animation (6-10).
at this point, i simply dropped the animation onto the 'over' state of the button, but don 't know where to go from here, if not back to the drawing board.
the button is called 'button1' and the movie clip is 'animation'.
if it's better to do this with an external movie clip, i'd be cool with that, too.
thanks for the help
Loading Multiple Movies As Main Movie Plays
This is probably a easy solution, but I'm missing it. I have 9 separate swf files that are rather large. They all link from the main movie. I need to see about having the lot of movies load as the main site opens and plays. The additional movies do not play within the main site, they are stand alone files that don't require anything from the main movie.
Is there a simple way to designate these movies to start to load in the background? Basically, as soon as the site opens, I'm wanting everything to start loading...
Thanks
Loading Html Page After Flash Movie Plays
I have a question please? I just recently started playing around in Flash and am using MX. I've created an swf and published the html, but how do I call another html page from the movie page?
ROLL_OVER Plays A MC And ON_CLICK Plays A MC?
I would like to have a series of buttons that onrollover play a MC on
stage and onclick play another MC on stage. I am currently using the
following code provided in another thread to make the movie clip play
onrollover:
function showGraphic(event:MouseEvent):void {
mSymbol.visible = true;
}
function hideGraphic(event:MouseEvent):void {
mSymbol.visible = false;
}
btn.addEventListener(MouseEvent.ROLL_OVER, showGraphic);
btn.addEventListener(MouseEvent.ROLL_OUT, hideGraphic);
I am also using the following code to hide the movie clip on load:
mSymbol.visible = false;
How can I modify this code to allow a user to also click on the button
and play a MC?
Thanks!!!!!
Clik Btn1,plays Some MC,Clik Btn2,hides & Plays MC
I'm trying to create a website with flash, and it has buttons and movie clips. What i want is, when i click on button1, it plays some movie clips, and when i click on button2, it hides the old movie clips and plays new movie clips.
i was trying variables and the "if" thing. but it wont work. hope you guys can help out. i've set the button1 with ' btn="album" ' and set some actions like ' if (btn="album) {play} ' but it wont work. please help me. maybe you guys can upload the flash file so i can understand easier.
(using flash 8)
Loading External .swf With Sound... But No Sound Plays?
i am using...
loadMovie ("filename.swf");
to bring n external .swf in to a movie. it has sound, yet none plays when loaded...
this happen to anyone before??? what the heck am i doing wrong???
swf with sound: http://www.camthomas.com/process/con...preService.swf
loaded swf (click the square to load the swf): http://www.camthomas.com/process/context/loadTest.swf
Help - Flash Movie Plays Fast By Itself, But Plays Slow When Loaded Within Another Flash Movie
I have a flash website which I tried to update recently. In particular, I am updating my photo gallery which I load within another flash using loadMovie. Before updating it, everything worked fine. The update is not completed yet, but I notice that my photo gallery is playing extremely slow compared to before. I did add some new graphics such as fading in and stuff like that, but nothing serious. If I played the clip by itself, ie. typing in the actual photogallery.swf, it plays at full speed. When I run the photogallery through my regular website, meaning loading it through loadMovie, it plays very slow. The photogallery.swf is only 58k in size, so download speed shouldn't be the case. Nevertheless, I tried adding a IfFrameLoaded just in case but that didn't solve my problem. Anybody has any ideas why it might be playing slow when I'm using the loadmovie function and plays fine when I just reference it directly?
Left Click Plays NEXT Frame, Right Click Plays PREVIOUS Frame?
Dear all,
I'm writing a simple presentation in Flash MX for the Mac. How do I get the "left click" on the mouse to play NEXT frame, and teh "right click" to play the PREVIOUS frame?
My scripting isn't so good, so please make it simple!
Thanks a lot in advance
Loading A Flash File After A Flash File Plays?
I can't figure out how to have a specific splash file play, and then directly after that flash file is done playing, another flash file is played. Bluemoutain seems to beable to do it...
http://www.bluemountain.com/img/prod...8/graphic1.swf
As you can notice, they have their shell file play, followed by the actual file. How is this done? They seem to have declared the file they want to play after the shell with animPath= How is this done???
Same SWF, Plays Different On PC Vs MAC
I'm being told that this SWF plays different on a PC vs a MAC. I don't have a MAC so I can't test it.
http://www.marketthismedia.com/smoothjazz/share.html
What SHOULD happen is... as soon as the SWF is loaded, a song starts playing and a CD cover appears.
If you click on any of the song titles, you will see where the CD cover should appear and you will hear another song play.
The only issue at hand is: does the song start to play and the CD cover appear as soon as the SWF is loaded. It works on a PC, I need someone to test it on a MAC.
If it doesn't work on a MAC, but does on a PC, are there any thoughts as to why, and how to fix it?
Thanks.
Fla Plays Ok But Swf Does Not
I am using Flash8 pro to work on a fla file generated in Flash MX. There is some text with a mask that fades in. When I use the play command everything works as it is supposed to. When I test the movie, the text is not visible at all. The original swf plays OK but I have to modify the text. When I open the original fla and publish a swf the text is not visible. Can anyone help? I am a first time forum poster. I have a windows xp pro system.
After One MC Plays, The Next Plays....
so i have 2 movie clips, and i want one to be in frame 1 of the main timeline, and the other mc in frame 2. i want the 2nd MC to play when the first MC is finished playing. i tried putting a stop in frame 1 of the main timeline and a level0.gotoAndPlay(2); at the end of the first MC so it would go to frame 2 of the main timeline after it was done playing. It is not working for me, maybe im doing something wrong, any ideas?
After One MC Plays, The Next Plays....
so i have 2 movie clips, and i want one to be in frame 1 of the main timeline, and the other mc in frame 2. i want the 2nd MC to play when the first MC is finished playing. i tried putting a stop in frame 1 of the main timeline and a level0.gotoAndPlay(2); at the end of the first MC so it would go to frame 2 of the main timeline after it was done playing. It is not working for me, maybe im doing something wrong, any ideas?
Movie Only Plays Once When.....
When this action script is executed from a button:
on (release) {
gotoAndStop (56);
}
It plays the movie on frame 56. The movie plays and stops. But when I click on the same button again, it wont play the movie again. Any hints??? Thanx in advance!
MC Only Plays Right In 1st Scene? HELP
I have a text movie clip that on rollover fades in a highlight box
around the text.
On rollout, it goes back to frame 1 (which is just blank) and stops.
Everything works fine in the first scene.
If I use it in another scene, the MC has a light residual ring, still
around the text, like it never really went back to 1 and stopped.
What's going on here? It's very frustrating.
Thanks for ideas.
I tried searching the board but it kept timing out on me.
HELP Projector Plays On Mac But Not Pc
I have two rather large files that will be used as presentations and will be run off of a very well equipped pc laptop. When I make mac projectors (I work on a mac) to test they work fine but when I make .exe projectors and the client puts them on their pc they don't run at all. Somtimes nothing happens, sometimes a white box appears, sometimes a window says "movie not loaded."
One of the .exe files is 5 megs and the other is 19 megs. Is this a memory issue? i don't know much about pcs but I was always under the impression that pc projectors tended to run even better than mac projectors.
Does anybody have any ideas?
Plays Too Early
Hoi
this is give me problems
code:
holder.loadMovie("http://www.mysite.nl/Home.swf");
stop();
this.onEnterFrame = function() {
percent = int(holder.getBytesLoaded()/holder.getBytesTotal()*100);
if (percent == 100) {
play();
delete this.onEnterFrame;
}
};
When it starts loading it does not know the total bytes yet so is says that it is 0 and the load bytes is 0 too so if you 0/0*100 = 100 so than it enters the frame first the percentage is 100% and than my Mc plays too early.
Please help
Plays On Mac, Only Partly On PC
Hi Yall,
I made a new site in Flash MX, but when I publish it and put it online it plays only on Mac (also made on Mac). On PC only the preloader works and then it just kinda stops...
Any ideas ?
this is the site:
www.nomad-design.be
There's a preloading script in scene one, jumps to scene two when loaded, but like I said only seems to work on Mac...
Thanks for helpng out
marc
Load All Before It Plays?
How do I get the movie to load before it starts playing??
ie it says LOADING... and when it's loaded it plays?
Preload One Swf While Other Plays
Hi:
I have several small movies to be played in order.
Can I preload one swf while the other plays in the BG..
Can someone please help me with the code here..
Thanks
My Loop Plays Over Itself
I made a movie, when I open it in a browser the sound loop plays twice over it, how do i solve this?
Thank you
MC Plays On RollOver
Hi all!
I have a MC on stage, which I'd like to play when the moues rolls over some button, to disappear when the mouse rolls out etc... So I have an empty first frame in the MC with stop() AS on it and a stop() AS on the last keyframe. The button has the following AS:
code: on (rollOver) {
gotoAndPlay("_root.NewSuzukiMC", 2);
}
on (rollOut) {
gotoAndPlay("_root.NewSuzukiMC", 1);
}
NewSuzukiMC is the instant name of the MC.
From some reason it doesn't work, the MC not playing... Any ideas how to fix it? How to make it play on roll over and disappear on roll out?
Thanks in advance!
MC Plays Then Needs To Go To Next Frame Outside MC
So Frame one is a preloader
Frame 2 is an MC - inside the main flash - in which an image - fades away
At the end of that MC how would you have the over all flash Movie move on to
Frame 3 and contiue with the flash.
Thanks for you time and help
JT
Preload One Swf While Other Plays
Hi:
I have an swf file a.swf with 12 frames. When this movie completes playing I want it to play b.swf. However when a.swf is playing I want it to preload b.swf.
Can this be done.. if so can someone please help me with the code.
Thanks
The SWF Downloads Instead Of Plays?
Any idea why I have this problem?
When people go to view my website, instead of the flash movie playing, a window pops up and asked them if they want to save the swf file to their computer.
Any ideas?
Sound Plays Twice
Hi
i have a problem with sound.
i followed a tutorial and have the following script in my fla file, on the first frame.
mysound=new Sound();
mysound.attachSound("bg_loop");
mysound.start();
the sound plays fine, however it seems to start 2 versions, playing slighty out of sync.
the ony way i know how to avoid it, is to stop, then start the sound again. even then, this is not perfect, because i can hear the sound play for a millisecond, then restart. ie
mysound=new Sound();
mysound.attachSound("bg_loop");
mysound.start();
mysound.stop();
mysound.start();
ive had this issue before, but never confronted it. in flash 2004 mx
cheers
Steve
Music Plays Twice...or More
Any assistance is appreciated.
I have a new site. The first set of frames are the preloader, the next loads the head of the page which includes a music on/off button, which includes the music file.
The next set of frames load each button and goto frame names for the individual pages within the site.
The problem I'm having is when you click on a button that progresses forward in the movie everything is fine. When I click on a button that goes back in frames the music plays again...and again so I end up with the same music playing three or four times simultaneously in the background.
Cheers
FLV Plays Every Other Time
Hi all
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("Explode.flv");
trace("movie var passed ok");
ns.onStatus = function(infoObject) {
if (infoObject.code == "NetStream.Play.Stop") {
theVideo._alpha = 0, 1;
link=2;
play();
trace("movie function passed ok");
}
};
I used this actionscript from a tutorial to embed a .flv file to the stage in theVideo object. At run time when i go to the scene containing the video via a button everything appears fine on the screen no problems, when i navigate away from the scene and go back to it, the video does not appear, however if i re-navigate back out and then to that scene it appears again. Basically every other time i navigate to that scene the video dissapears. All the navigation and scripting has no errors. I saw this error posted on another forum without any replies. Hopefully, there's great expert here that can tell me what's wrong.
Oh, BTW, this SWF is linked externally in a Director projector, but I don't think this has anything to do with it other than it doesn't work.
Thanks in advance for any insight.
Movie Just Plays
Ok, this is the most noobtastic question in the world, but.
How do I get Flash to stop at the first frame so I can have a start button, I used to make flashes all the damn time about a year and a half ago and now I cant remember crap
|