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




Preloader While Waiting For Quicktime Movie?



Hello,

I have a button in flash that loads an html page wich contains a quicktime movie. This is the buttons code (it's a component):

on (release) {
getURL("javascript:window.open('" add url add "','" add winName add "','width=" add winW add ",height=" add winH add ",top='+((screen.height/2)-(" add winH/2 add "))+',left='+((screen.width/2)-(" add winW/2 add ")+9)+',toolbar=" add tools add ",scrollbars=" add scroll add ",resizable=" add resize add ",menubar=" add menu add ",status=" add status add ",directories=" add directory add ",location=" add location add "'); void(0);");
}

all this works perfectly.

My problem is that when the popup opens, while the quicktime is loading, the background of the window appears transparent, which is not very attractive as you can see the rest of the site through it with a big quicktime logo in the middle.

I was thinking that a preloader would solve this problem. My question is, where to put it? And how to go about it.

Is there any answer?

Any help would be very much appreciated.

georgia



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 03-09-2004, 12:22 PM


View Complete Forum Thread with Replies

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

Preloader While Waiting For Quicktime Movie?
Hello,

I have a button in flash that loads an html page wich contains a quicktime movie. This is the buttons code (it's a component):

on (release) {
getURL("javascript:window.open('" add url add "','" add winName add "','width=" add winW add ",height=" add winH add ",top='+((screen.height/2)-(" add winH/2 add "))+',left='+((screen.width/2)-(" add winW/2 add ")+9)+',toolbar=" add tools add ",scrollbars=" add scroll add ",resizable=" add resize add ",menubar=" add menu add ",status=" add status add ",directories=" add directory add ",location=" add location add "'); void(0);");
}

all this works perfectly.

My problem is that when the popup opens, while the quicktime is loading, the background of the window appears transparent, which is not very attractive as you can see the rest of the site through it with a big quicktime logo in the middle.

I was thinking that a preloader would solve this problem. My question is, where to put it? And how to go about it.

Is there any answer?

Any help would be very much appreciated.

georgia

Preloader Not Waiting For Loading To Complete
Hi! Using Flash MX here...

I am loading 4 jpgs externally in my movie - they are called individually within movieclips and so far everything is working fine...
Here's the script example:
loadMovie("setup/large1.jpg", _parent.large_1);

...EXCEPT, my images are loading into clips with alpha tweens (so they gradually load) and there is a jump from one to the next, a slight delay which (I think) is due to the size of the image not being fully loaded when it is called. This is NITPICKY, I know, but at the request of my client...

I have been trying to get around this by loading the images in the first frame of the movie, so they are ready when the clip calls the image. I want to "precache" the images...
Here's what I put in the first frame for each image:
loadVariablesNum("setup/large1.jpg", 2);

I also have a preloader which I want to make sure has loaded these images before it starts the movie, but so far it just skips right by (the actual movie is quite small, with all images loading from the server).
Here's my preloader script:
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes/1000);
totalkbytes = Math.ceil(totalbytes/1000);
frame = int(loadedbytes/(totalbytes/100));
if (loadedbytes == totalbytes) {
gotoAndStop(4);
}

Any way I can stop the movie until the loading has completed or make the preloader load these images correctly? I am fine waiting a few seconds in the beginning for a smooth transition later.

here's a link to the project. I am working on the opening 4-image sequence.
http://www.jennylanicca.com/MP/MP7.html

Your help is appreciated!!
Jenny

Advanced Preloader: Load Small Game While Waiting
Hi,
I basically know how to create a dynamic preloader, using "getBytesLoaded", etc. But what I'd like to know is, can I load a small MC (like a small game to keep the user entertained) while the preloader loads the main MC? More importantly, can someone tell me the Actionscript I need to load this little MC based upon a certain percentage of the preloader's progress?
Thanks!
JoyMonkey

Waiting For A Movie Clip
Hi there.
This is a simple version of my code :
(clippo is a movie clip.)


function thingie () {
_root.clippo.gotoandstop(5);
myvar=clippo.mytext;
}

In frame 5 of clippo i got:

mytext="Testing!";
Stop();

But this doesn't work like it should. myvar should contain "Testing!" after the gotoandstop action, logically. But unfortunately the mytext="Testing"; line is executed *after* the myvar=(...) because of some sort of latency !... How can i fix that ? I've tried many things to force the script to 'wait' for the movie clip to *really* finish his actions. Without results so far, thus I ask here hoping anyone could help me. Thanx in advance.

Waiting A Movie Finish To Run Other
Hello,

I got a problem trying to run my menus, i got 4 movies, each move is a menu,
when you click in a movie it expand and tell the others three movies to go
to bottom of the page, my problem is that all movies are running in
same time each move tell the others three to go down, like it:

movie1
tellTarget( _root.move4) { gotoAndPlay("goDown"); } //movie 4 to go to bottom of page
tellTarget( _root.move3) { gotoAndPlay("goDown"); } //movie 3 to go to bottom of page
tellTarget( _root.move2) { gotoAndPlay("goDown"); } //movie 2 to go to bottom of page
tellTarget( _root.move1) { gotoAndPlay("expand"); } //Open movie1

movie2
....

movie3
.....

movie4
......

There is a way to tell movieX to play and the others wait until it's complete
then run ? Like below

movie1

tellTarget( _root.move4) { gotoAndPlay("goDown"); } //movie 4 to go to bottom of page
waitingMovieFinishToRunNext
tellTarget( _root.move3) { gotoAndPlay("goDown"); } //movie 3 to go to bottom of page
waitingMovieFinishToRunNext
tellTarget( _root.move2) { gotoAndPlay("goDown"); } //movie 2 to go to bottom of page
waitingMovieFinishToRunNext
tellTarget( _root.move1) { gotoAndPlay("expand"); } //Open movie1

Thank You.

Movie Clip Waiting
Can anyone help me out with a problem.

I have a movie clip that contains a button.
When you press the button it tells the playhead to move to frame 2 in that movie clip.

At this frame 2, there is another movie clip on another layer that is a short animation I did.

Now I need something that can be put in this second animation or somewhere that will tell it to go back to the first movie clip once the animation has finished playing.

Anyone know the action code I neeed to use ?


Thanks very much for any help,


Tim.

Waiting For A Movie To Play, Then Move On
heres what i am trying to do. i have a movie clip that i want to play. i understand taht if i place the movieclip in a frame on the main scene, and have the movie stop at that frame, it will continuesly play that movie clip. now is there a way to have the main scene stop at that movie clip with the stop(); code, wait for the entire movie to play, and then move on to the next frame?

Waiting For Movie Clipe To Finish
ello,

i havn't touche falsh in a while so i'm a litttel rusty...
I'm trying to make movie clips play one after another,
The problem is that i only want use one frame from my whole movie.
I get the first movie clip to play and stop, but i can't seem to get the second on e to start at the right time

basically i'm looing for a wway to tell that the previous movie has finihsed playing!

can anyone help!
thank
steph

Problem Waiting For Movie To Finish B4 Going 2 Next Frame
Hello!
i have a very annoying problem, im very new with flash.

i have scene1

in scene 1 i have got 3 frames...

in frame 1 are three buttons

i want to make it so when i click one of my buttons it goes to frame 2

but i now want to make it so that when it goes to frame 2 it Runs a short movie (about 20 frames) and then only when it has FINISHED playing that short movie clip it moves to frame 3 and stops!

This is sooo annoying because i cannot do itt!

it just doesnt seam to look as though the button moves it to frame 2 because the movie wont play and it doesnt actually go to frame 2

please help!!!

Danke schoen! sorry for bad english
Tschuess

Waiting For A Movie Clip To Play To A Certain Point
I have a movieclip with curtains that open and close. In my functions, I want to close the curtains (just a gotoAndPlay) then when they're closed (ie the clip is at a certain frame) to continue with the rest of the function commands. I can't seem to find out how to make things pause and wait for the curtain movie to play first. Now all the commands are running too fast, and some are completing before the curtains are closed all the way. How can I make my function wait for a movie to be at a specific frame?

Thanks in advance.

Preloader For QuickTime Movies?
Is it possible to use Flash as a preloader to a QuickTime video?  What I'd like is to have a preloader in Flash that tracks the download of the video (which is in .mov format) & counts up systematically.  Once the video file's download is complete it should then play it in the same window, using QuickTime.  Any advice or suggestions on this are greatly appreciated - thanks.

Preloader For Quicktime Dynamicly
I´ve been looking for a while for a simple preloader for my quicktime-clips on my site www.juggling.se.

I´ts just boring when they load. Maby having a mouse over-game to play whith when it´s loading, I found many nice once here. I use asp and MySql, and Sorenson ideo 3 for compressing the clips.

Anyone have an idéa?

Quicktime Preloader | Mp3 Preloader
Hello - everything refers to FLASH MX 2002~2003 not the latest version :

1. Can anyone please tell me a link with the best tutorial for a QUICKTIME movie preloading inside a flash movie ?

2. Also for an mp3...

3. Now other question - I used the classic preloader script for the SWF file with the soundrack, and it looks like this :
if soundtrack.getBytesTotal=soundtrack.getBytesTotal
then go to frame 20
else go to frame 19
The script and the "soundtrack" instance are on the same level.
Sometimes the website starts with unloaded soundtrack... how that could be possible...

I'm waiting for your answers, thanks.

Saving A Flash Movie As A Quicktime Movie - Actionscripted Movement Is Lost
I am trying to export my flash movie as a quicktime file for use in a dvd. Unfortunately only the tweening done manually occurs in the quicktime file and any movment that is actionscripted does not occur. Is there a way to get the actionscripted movement to work in an exported quicktime movie? Thanks.

Playing External Quicktime Movie Files From With In A Flash Movie
I'm currently working on a Multimedia Showreel using Flash MX 2004 and I need to be able to play an external movie file from with in the flash movie. I don't want to embed the movie as it is 60MB+. Is there anyway to do it?

Cheers

How To Convert Quicktime Movie Into Flash Vector Movie`
can anyone pls tell me how to convert quicktime movie into flash vector animation the ones used in dot-com.pl or the outlines animations made in flash. does flix has to do something abt it

Why Is My Quicktime Exported Movie Shorter Than Swf Published Movie ?
I exported a movie using Quicktime export.

On the main timeline there are 3 movieclips.
The last movieclip is not exported and the movie ends before..

If I publish my project, the swf correctly contains all 3 movieclips.

Why is my quicktime exported movie shorter than swf published movie ?

Having A Quicktime Movie Play Inside A Flash Movie
hey everyone,
i know flfash movies can have other flash movies play inside eachother, but is it possible to have quicktime movies and WMV movies play inside a flash movie on the fly?

example: flash.swf?fileToInclude=quicktime.mov

thanks.

Converting A Flash Movie Into Quicktime Movie
Hey Fellas!
Is there any way to convert a flash movie into quicktime movie? .mov or mpeg format?

Embedded Flash Movie Vs Quicktime Movie?
Ok so here is the dilema. I can convert my .mov files to Flash movies and
embed the flash movies on my pages or just embed the .mov files in my pages
with quicktime. Is there any pros or cons to doing it one way or the other?
Why would someone do it in Flash when they could just do it in Quicktime
(minus the fact that you could customize everything in Flash)


--
Best Regards,

Chris Jumonville

How Do I Convert Quicktime Movie To Flash Movie For Web
VERY new to flash (studio 8) and need to take a quicktime movie and convert/optimize to flash movie for web. the movie is about 5 minutes long. step by step please...

Thanks in advance for your help

Speeding Up A Movie And "waiting"
I was just wondering if it is possible to speed up the frame rate of a movie dynamically. So that it can be made to look faster, then slower etc.

I also need to know if there is anything like a wait() function that can be used to wait so many seconds before carrying on.

Any help would be much appreciated.

Quicktime Movie Bug
This isn't really action script....but nobody in general help answered me yet!! Here's what I wrote on 07-05-2001:

okay, I create a flash file which includes a quicktime movie.

The problem is the music, voice and animation(added with Flash) work perfectly when I execute the published *.mov file, except for the quicktime part!!!!It just stays stuck in the first frame.

Thank in advance for your help
Cherrypie

QuickTime Movie
How I can load and playing a quicktime movie in to a Flash movie? Thank you for all!!!

Quicktime Vr Movie
heya,

wondering if anyone will be able to help out a flash mx newbie!

i've got teh basics of my website but i am trying to insert a quicktime .mov file

its a 360 degree image .mov file

if anyone can help

i can insert it but it doesnt appear on the .swf file

can anyone help ?!?!?

thanks

dave baird

email/add on msn messenger tree_in_your_pocket@hotmail.com

[F8] Quicktime Movie
Hi,
I'm trying to play a .mov file in my flash webpage, but importing the mov into flash makes the file huge, and creating an flv from it also increases the size. So I'm wondering if there's any way to do something similar to the apple trailers website (which is html/javascript instead of flash), where the movie is embedded in the page, but it is saved in a directory as an mov, not actually imported into a swf file or anything
am I making sense?

if it's not possible, I don't suppose anyone who knows html knows how to create layers that float on top of webpages? I've done it before, but it was a long time ago and don't remember what it was called...

Fla To Quicktime Movie?
I'm running Flash 8 and trying desperately to create our email christmas card... have chosen .mov as file format but can't seem to export successfully. Can anybody out there help?

Quicktime Movie To FLV
Hi -
I have this 2.78 GB quicktime movie I've tried to convert to flv and it alwas comes out somewhat choopy.
Any advise?
Thanks in advance

Quicktime Movie.......
I want to import a quicktime movie into the flash, but when I try to play it, there is nothing happened, can any1 tell mi how to do it?

Secondly, I wish to make the mov played when I rollover it, and stop when I rollout, so can it be done? Pls help mi........ Thanx first....... ~ hitsuji =p

Quicktime Movie Pop Up
I know I've tossed this question out in a couple of other threads, so I apologize for repeating myself - I'm just not figuring it out.

Anyway, I have a flash movie in a pop window. Then I have buttons in that window that all execute load movie commands. One of those buttons loads an SWF that discusses my visual effects reel. I have buttons in that swf that I want to launch another pop window that contains an HTML file with a quicktime movie (no flash at all.) I can't get it to work to save my life. What should I do?

Thanks.

Quicktime Movie.......
I want to import a quicktime movie into the flash, but when I try to play it, there is nothing happened, can any1 tell mi how to do it?

Secondly, I wish to make the mov played when I rollover it, and stop when I rollout, so can it be done? Pls help mi........ Thanx first....... ~ hitsuji =p

How To Add Flashbuttons To A Quicktime-movie?
I'm working on this Quicktime movie and it has to work with Flashbuttons in a Flashlayer. It needs a Play/Pause, Fast forward, Rewind and Stop-button.

Normally, I do this in Livestage, but it HAS to be possible in Flash with scripting...does anybody know how to do it?

Thanks,

Communicating With QuickTime Movie
Does anybody know if it's possible to get the current timecode from a QuickTime movie playing inside a Flash movie?

Basically I want to place a QuickTime movie inside a Flash movie and then have a button which when pressed shows the current position of the QuickTime movie (in minutes:seconds)

??

QuickTime Movie (is Urgent)
How I can insert and play a Quicktime movie in to a Flash MC?
Thank you for all!!!!!!!!!!!

Francesco

Adding A Quicktime Movie
what is the easiest way to add a qicktime movie to a flash sene.

i tried by using dreamweaver and the load movie action but i would load correctly.

Quicktime Movie Controls?
Thanks for the wisdom in advance.

I am working in MX and have many quicktime videos that are going to being out into an swf. I want to know if there are any video controls for the basic functions of QT video. (Play, Stop, pause, Volume.) or am I going to have to make some? If I am going to have to make them... are there any scripts already written that could help me out here?

THese QT vids will be imported into flash not linked. Unless linked is easier. Somebody point my sorry a-- in the right direction :-)

Tks for the help

Quicktime Movie Imports
I know there is a way to import a quicktime.mov into flash 5 but I can only seem to see the movie in action in the authoring environment in flash 5. When I test the movie or export it to swf the quicktime movie is not displayed. Can anyone shed any light on the matter?

Quicktime Files In Your Movie
Yeah, I tried importing a quicktime file into my movie, and although it shows each frame as being there, it does not play at all.

I doubt you can understand what I'm talking about, but yeah. I am annoyed.

Inserting Quicktime Movie
Hi there,

I am hoping that you can help me..I am trying to insert a quick time movie in my flash file...but the quick time movie doesn't play!!! I have given it alot of frames..the size of the movie is about 2mb..Please help me!!!!!

How To Embed QuickTime Movie?
I have a QuickTime movie (.mov) created by Ulead's "Cool 360" and I want to embed it into my flash movie. Anyone know how?

If this won't work-------can someone suggest a method for showing a virtual 360-degree panoramic?

Thanks!!!

Exporting As A Quicktime Movie?
hi there,
I am trying to export a flash movie as a quicktime movie so i can work with it in Adobe Premiere--I am getting the following error message(see attached image)As far as i can tell premiere does not accept swf files?

Iam working with flash mx and i have quicktime 6.5 on my computer. Any ideas on what I need to do differently?

thanks!
shaparis

Load Movie Quicktime Possible?
I have Flash MX 2004 PRO.. Can I do a load Quicktime movie into my SWF file?
If not then can i do a popup window that displays a quicktime movie?
I like the way quicktime looks better then FLV's and I don't mind a larger file size..
Thanks, Liz

Quicktime Movie Link
this isn't exactly a flash question, but everyone here is always so helpful and i wasn't sure where else to ask this question:

i want to know what you put as the link on html hyperlink text to display a quicktime movie in its own quicktime player.

thanks in advance.

Inserting A Quicktime Movie
Hey guys need some help today. I have this quicktime movie that I want to insert into my flash site, how do I call for the move? Whats the best way to get this in there? Thanks!

Cannot Export Into A Quicktime Movie..I Use A PC...does Anyone Know Why?
Everyimte I try to export to a Quicktime movie it says "installed version of quicktime does not have a handler for this type of macromedia flash movie. please consult documentation for further information" (what documentation are they talking about? yeesh)


I thought maybe Quicktime not being PRO was a problems o I upgraded, still no luck.


I tried exporting as a AVI, but AVI's have a hell of a time exporting ALPHA CHANNELS. Its just crap! does anyone knwo what I can do or why Im having these problems? thankyou so much

Import Quicktime Movie
Is there a limit when importing?

movie is 3200 secs x 12fps = 38,400 frames

the progress bar gets right to the end then Flash 'unexpectedly quits'

I tried inserting 38k frames beforehand but still no luck.

Pop Up Window With Quicktime Movie?
I hope someone can finally answer my question. i've tried unsuccessfully to tackle this problem myself (I am no prgrammer, only artist) so it's hard for me to grasp some stuff.

I'm trying to make a small pop up window that shows a quicktime movie in it. i want to make a button in my flash movie activate the pop-up window, but i don't know how. I keep getting confusing explanations on the procedure. seems like it would be very easy. Can anyone help me with this problem?

Thanks

Gel

Quicktime Movie Load
Hello
How can I load a *.mov (quicktime movie) into flash and how can i call it through actionscript?

thank you

Quicktime Movie In Flash
Hi all

What is the best way to put a quicktime movie in flash? i've tired to do it but it seems taking ages to download when its on the live server. Its like taking 10 mins or more.
Please advice.

Thanks
Nancy

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