Loading two movies & loading entire current movie
well, having a bit of problems with figuring out my preloader
:/. Iv been able to figure out how to load a single external movie
with a dynamic preloader graphic that tracks percent and stuff, but
i have not been able to figure out how to load multiple external
files but useing the same graphic to track the percentage of the
loading for the two as if they where 1. Also have not been able to
figure out how to make a preloader for the current movie. LIke have
the preloader at the beginning of the movie and have it stop, and
run the preloader for the load of the rest of the movie file, then
continues to play the intro of the same file after loading has been
compleated. my code for what i'm able to do is below, any help
woudl be helpfull :). Thank you guys and girls^^
Here's the code for the controls:
/* to pause */
on (press) {
stop();
pauseinv._visible = false;
playinv._visible = true;
pause_btn._visible = false;
play_btn._visible = true;
/* to play */
on (press) {
play();
playinv._visible = false;
pauseinv._visible = true;
pause_btn._visible = true;
play_btn._visible = false;
The controls are placed in the main movie itself and have them till the lastframe so that it remains there for the rest of the movie.
I'm only loading the second movie at level 1 at the last frame of the main movie like this:
loadMovieNum("video_contd.swf", 1);
Thanks,
Prakash
Similar Messages
-
I Down loaded two movies to watch on a flight. When I tried to watch either one of them it said " not authorized to watch this content" and it would load to watch. I donot believe I have child controls on.
I have read about some cases where movies rented or purchased on one device will not play on another device. Seems to happen mostly with Apple TV and iPads. One way some have worked around it is to cable from the downloaded device to a TV or Apple TV.
Were these movies purchased or rented from iTunes? Not sure, but that almost sounds like a iTunes Password problem. Maybe try checking that you're signed in as the same account that purchased the movies. -
External movie loading at highest level
Hi.
I have two buttons loading two separate external .swf files
into a movie container. When they come in, they play over the
navigation. Do you know why this is happening? The navigation
buttons reside on layer 2 and layer 3 on the timeline on top of the
container. My "container" resides on layer 1 on the timeline. This
is the AS code on layer 4 of the timeline:Maybe add the loader as a child of your container on layer1?
myContainer.addChild(IMGLoader).
Right now you are adding the IMGLoader to the document
classes display list (which would be the root mc in AS 2 terms,
since it is the last thing added, currently it will be on top of
the content you added via the authoring tool on layers 2 and 3. -
In Windows, all links are hidden until movie loads.
Hi,
Anyone else encountered this issue? I have pages with video, that when viewed on a pc everything else but the video loads up (you can see it pop up for a second), then disappears until the entire QuickTime movie has finished loading - leaving a blue 'highlight' everywhere.
When the movie has loaded, the rest of the graphics appear.
My thoughts on possible causes are;
1. I used a blank template in iWeb for all my pages, not a 'movie' template - could this affect the loading order?
2. I have edited all the links in Photoshop and replaced them post-publishing (for rollover effects).
Many thanks for your advice in advance.
CGHi CasparGomez...
Believe it or not, this is the normal behavior of iWeb pages when viewed through Internet Explorer. iWeb pages contain PNG graphics. IE cannot handle PNG graphics natively. So iWeb generates some fancy javascript code to convert PNGs on the fly so that they are viewable on IE. Unfortunately, this transformation does not happen until all the elements are downloaded. This is why your graphics do not appear until the entire movie is downloaded.
So the real problem is Internet Explorer and its inability to handle PNG graphics. Try FireFox and your page will render correctly. -
How to hide TOC during movie loading
Hi All,
Is there a way to hide TOC (rendered outside of the main clip) during movie loading? I wanted TOC to appear either as the whole clip is loaded or when the first slide is opened.
Any suggestions, please?
Thank you
AndyI have just tried to do this today actually but was unsuccessful.
I wanted to disable the possibility of the user to navigate from the TOC before the entire course had loaded. I have some information on the first slide that I want the user to see, but now they can just skip by clicking a link in the TOC before all the content has been loaded.
Initially I thought that the variable cpLockTOC could be used to atleast disable the TOC interaction since the decription is "Enables/ disables user interaction on TOC". However, no matter what I tried it didn't work.
I tried to set the variable directly in Captivate on the first slide, but the TOC is actually loaded before the first slide so that was unsuccessful.
The I tried to set the variable through JavaScript from the HTM file, but that didn't help either.Navigation through the TOC is still possible even though the course haven't finished loading yet.
I can manipulate the TOC from within the Captivate movie by embedding some special Flash "animations" / Widgets I have. These can send commands to the TOC and for example open / close the TOC if you are using the overlay mode. They can also hide / show the standard overlay button, which isn't exactly pretty. I'm pretty sure that I could make a Flash file that would hide the TOC completely when run from within Captivate, but it won't help me because the content in the Captivate movie isn't loaded until after the TOC has loaded.
Manish - what is the function of the cpLockTOC variable? Isn't it to disable/enable the users interaction with the TOC alltogether? If so can this variable not be set from the HTM file on load?
/Michael
Visit my Captivate blog with tips & tricks, tutorials and Widgets. -
Can't get movie loader to work
I'm having trouble getting my Flash movie loader file to work. I created 3 test movies (1.swf, 2.swf, 3.swf). Each of the test file is a second long. All they do is display a number. In my loader file, I load the test files a second apart. The first two movies load just fine, but instead of loading the third movie the loader loops back to the first frame and starts over. The last movie is skipped even when I switch the order. For instance, 3.swf doesn't load for 1-2-3, and 1.swf doesn't load for 3-2-1. Below is the actionscript I used. Anyone know how I can fix this problem? I'm using Flash CS5. Thanks
stop();
unloadMovieNum(1);
loadMovieNum("1.swf", 1);
stop();
unloadMovieNum(1);
loadMovieNum("2.swf", 1);
stop();
unloadMovieNum(1);
loadMovieNum("3.swf", 1);The reason I'm a bit confused is you're using stop(), so I'm wondering how your timeline is to progress beyond that. Either the loaded SWFs must communicate with the main timeline or your main timeline is watching the _currentFrame of the loaded clip waiting for it to reach _totalFrames.
Here's an example (sans-stop()) in AS2 saved down to CS5 (I can't go lower) that does what you're describing and works perfectly fine for me:
http://www.ertp.com/tmp/LoadMovieNum.zip
Is there a difference between this and what you're doing and does this simple example work for you? -
How can I load an external SWF into a movie clip that's inside other movie clip?
Hi.
I creating my first flash (actionscript 3.0) website but I'm
stuck with a visual effect I want to create.
I have a window on my website called contentWindow. Every
time you click a button this window is supposed to leave the stage,
load the requested content and return to the stage.
The sliding window is a movie clip with 83 frames, 21 to
enter the stage, 21 to leave the stage again, 20 for nothing (its
just to simulate the loading time) and 21 to return to the stage.
Now my goal is, when the user clicks on a navigation button,
the window exits the stage, loads an external SWF with the content,
and then returns to the stage.
I've the "window" movie clip with an instance name of
"contentWindow". Inside there is another movie clip with an
instance name of "contentLoader". The content that the user
requested should appear inside the "contentLoader".
Now, when the contentWindow leaves the stage, I get this
error message:
quote:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at rwd_fla::MainTimeline/trigger()
If I switch
"contentWindow.contentLoader.addChild(navLoader);" for
"contentWindow.addChild(navLoader);" it works fine, but the
external SWF doesn't move with the window.
How can I load an external SWF into a movie clip that's
inside other movie clip?Hi,
Recently, I have been putting together a flash presentation.
And I am just wondering if the following might help you, in your
communication with the said swf file:
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
onComplete);
function onComplete(event:Event):void
event.target.content.thinggy_mc.y -= 100;
Not the best example, but this allows you to target a mc
within an external swf file. I think if you look up this code, you
will have an answer ;)
Kind Regards,
Boxing Boom -
I disconnected my iPad unconsciously while it was updating ios 7.0.4 and it just stuck on that screen showing apple logo and a loading bar that just won't move on what to do now ????
It's not uncommon for it to not work the first time and sometimes, you have to try it a few times. Turn off your antivirus software and your firewall while you are trying to restore the iPad. Enable them again after you restore.
If that still won't work, post back with detailed information as to what exactly does happen as you go through the process. -
Poster Frame QT Movie linked to standard QT Movie loads in Firefox not I.E.
Ok, this may be a rare question here. Here's what I've done following a small blurb of directions in iMovie6/iDVD the Missing Manual by David Pogue. (awesome book)
I've created a "poster frame movie" in QT. This is a one -frame movie I use as the picture on the page.
This poster frame movie, when clicked, is linked to a full version of the same movie that opens in the same place. The reason for this poster frame movie is to start the QT plug-in download as soon as someone reaches my page so there is no wait time when they click to watch the movie, it should be instantaneous.
I tested this last night on my Mac with Firefox, and after clicking the poster frame movie (i.e.) the picture; the linked movie loaded right away. This worked on PC with Firefox as well.
However, when this is page is loaded in Internet Explorer, on Mac or PC, the poster frame movie is there, but when clicked, the full movies do not load.
Can anyone think of why or what setting I.E. may have that doesn't allow my QT movies to load when other browsers allow it?Yup, that's your problem.
Before the <embed> you should add:
<param name="href" value="http://blip.tv/file/get/Awarner20-AnniversarySecondTry745.mov">
<param name="target" value="myself">
As predicted, your problem is that while the QuickTime plug-in has the HREF and TARGET parameters, they are missing from your OBJECT code, meaning that the QuickTime ActiveX Control will never see them. You need to include all parameters in both places (unless you want different behavior in IE).
Also, TECHNICALLY, you should also add a </embed> just before the </object>. The <embed> tag, like, for instance, the <p> tag is self-closing, but the most recent XML standard (HTML is a subset of XML) says, "Thou shalt close all of thy tags". So it won't make a bit of difference in function, but it is good practice. And yes, you should also close your <p> tags and use <br /> or <br></br>, too.
(although technically we're not supposed to use EMBED at all anymore, as it isn't in the HTML spec, but it works with all browsers except IE while OBJECT doesn't always...)
--Dave Althoff, Jr. -
I have just bought a apple tv to down load and watch movies i selected a movie and it says it will take 8 hours to down load this cannot be right am i doing something wrong
Welcome to the Apple Community.
The first thing to check would be your internet download speed, you can do this at www.speedtest.net.
HD movies require a recommended speed of 6 Mbps, while SD movies require a recommended speed of 2.5 Mbps. -
Best way to load components seperate from the main movie
When my flash movie loads, it takes a while to diaplay the
loading frame because it is too busy exporting the components on
the first frame. What is the best way of avoiding this, while still
being able to use the components through the .swf?
Thanks for any help,
~Oni.OniLink wrote:
> When my flash movie loads, it takes a while to diaplay
the loading frame
> because it is too busy exporting the components on the
first frame. What is the
> best way of avoiding this, while still being able to use
the components through
> the .swf?
>
> Thanks for any help,
> ~Oni.
>
loadMovie("component.swf", _container);
the best way is to load it externally but if you don't get
it, check out
www.gotoandlearn.com ...
they have the best tutorials basic and advanced. -
Movie loads separately but not as part of whole...
I am trying to load jpeg images using loadMovie. I have a
movie that has thumbnail images that load larger jpeg images when
the user clicks on a thumbail. This movie is loaded from an action
in the root timeline. When launch the swf file for that movie as a
separate movie it loads the images fine.
Here is the code:
on (release) {
width = 251;
unloadMovie(image_mc);
image_mc._x = (460 - width)/2 + 290;
loadMovie("../images/weddings/1.jpg", image_mc);
This is attached to the thumbnails. It unloads the previous
jpeg that was there and then loads the new jpeg. The strangest
thing is that everything used to work just fine.Hi Durgesh,
Thanks for your reply. It is a you told me. Differences exists between our settings and the Background User settings. The problem lies in that the background user uses "," as a decimal separator and I am creating a CSV file so my question is: If I change the settings for the Background User to have "." as a decimal separator, this will work but It might have negative consequences on the existing processess right?
And If I do not change this but the amount will be break up on the decimal separator (,) as it is a CSV file. What would be the best?
Thanks
Ernesto. -
Scoping Question when one movie loads a second movie
I have a movie that is just a preloader for the main movie.
This preloader movie has the loader and progress bar components so
that I can show the process of the main movie loading. When I load
a sound file in frame 1 of the main movie to be used later in the
movie and run the main movie (with out being called from the
preloader movie) the sound will play when it is called (told to
play). However if I call the main movie from the preloader movie,
the sound will not play. To make the sound play I have to load the
sound in the preloader movie.
I am sure that this is a scoping problem and I am not correctly
coding for the location of the sound.
The code for loading the sound is :
if(_global.Behaviors == null)_global.Behaviors = {};
if(_global.Behaviors.Sound == null)_global.Behaviors.Sound =
if(typeof this.createEmptyMovieClip == 'undefined'){
this._parent.createEmptyMovieClip('BS_sndErrorMsg',new
Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000)
_global.Behaviors.Sound.sndErrorMsg = new
Sound(this._parent.BS_sndErrorMsg);
} else {
this.createEmptyMovieClip('_sndErrorMsg_',new
Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000)
_global.Behaviors.Sound.sndErrorMsg = new
Sound(this.BS_sndErrorMsg);
_global.Behaviors.Sound.sndErrorMsg.attachSound("ErrorMsgSound");
if (false) {
_global.Behaviors.Sound.sndErrorMsg.start(0,1);
The code to play the sound is:
_global.Behaviors.Sound.sndErrorMsg.start(0,1);
I would like to keep the preloader movie as small as possible
and don’t want to load any sound files in it.
How do I load the sound files in the main movie and play them
when needed (using actionscripts) from the main movie when the main
movie is loaded from the preloader movie?
Thank you,
StevePutting the following code on frame one in the movie being
loaded by the preloader corrected the problem.
this._lockroot=true;
The following is what Flash 8 help file says about
_lockroot
_lockroot (MovieClip._lockroot property)
public _lockroot : Boolean
A Boolean value that specifies what _root refers to when a
SWF file is loaded into a movie clip. The _lockroot property is
undefined by default. You can set this property within the SWF file
that is being loaded or in the handler that is loading the movie
clip.
For example, suppose you have a document called Games.fla
that lets a user choose a game to play, and loads the game (for
example, Chess.swf) into the game_mc movie clip. Make sure that,
after being loaded into Games.swf, any use of _root in Chess.swf
refers to _root in Chess.swf (not _root in Games.swf). If you have
access to Chess.fla and publish it to Flash Player 7 or later, you
can add this statement to Chess.fla on the main Timeline:
this._lockroot = true;
If you don't have access to Chess.fla (for example, if you
are loading Chess.swf from someone else's site into chess_mc), you
can set the Chess.swf _lockroot property when you load it. Place
the following ActionScript on the main Timeline of Games.fla:
chess_mc._lockroot = true;
In this case, Chess.swf can be published for any version of
Flash Player, as long as Games.swf is published for Flash Player 7
or later.
When calling loadMovie(), set the MovieClip._lockroot
property to true in the loader movie, as the following code shows.
If you don't set _lockroot to true in the loader movie, any
references to _root in the loaded movie point to the _root of the
loader instead of the _root of the loaded movie:
myMovieClip._lockroot = true;
Availability: ActionScript 1.0; Flash Player 7 -
We have purchased a movie via Apple TV (2) and its taking too long to load, so we want to watch movie on Itunes on the computer but can't find rented movies on the MAC iTunes
Movies rented on Apple TV aren't transferable to another device. If its taking awhile to load then its an issue with your network.
What is your speed via speedtest.net
1080p requires 8mbps
720p needs 6mbps
You can change to SD in settings
Interference can cause issues, verify via istumbler or netstumbler
Should be using ISPs DNS (settings - network - DNS should be automatic) -
I cannot get rented itunes movies to play on my appletv. It keeps getting stuck on the "Authorizing.." screen. Movie loaded fine; however, would not start playing. I have an ethernet cable plugged in, so wireless connectivity strength is a non-issue. Any suggestions??
I have had this identical issue (on an Apple TV3) and was helped by Apple Support who guided me to go to the Settings Menu on the Apple TV and did a RESET. You will need to re connect to your WIFI and your iTunes account (passwords etc).
Maybe you are looking for
-
Update / Select and readpast locks
Hi everybody, We are running into concurrency issue with one of the applications that uses multi threading (200 threads / sec running that query (in a stored procedure)). The query with the concurrency issue is the following one: --retrieve the oldes
-
Printing in CS6 comes out darker
Printing in CS6 is inferior to printing in CS when compared to my monitor. CS6 is too dark. How come? Will this be corrected? << Admin: your caps lock key was stuck. Fixed it for you. >>
-
Cant back up iphone says files are corupted
my phone wont back up on my computer comes up saying last back up is corupted but cant find it on the computer to delete
-
When I'm on a secure site, like my bank, or my cell phone account, I can't download my bank statement or cell phone bill. If I click on my bank statement, it will take me to a page with the list of my statement months. When I click on a month, anothe
-
How do I get multiple menu bars?
Hi Guys, I was very excited when I found that OS X Mavericks had finally added a menu bar to each monitor. Excitement has now turned to dissapointment as I've found that disabling independent spaces for each monitor also disables the new multi menu b