ActionScript 1/2 :: Preloading Main Site Swf And Intro Swf Within One Preloader?
Jun 26, 2009
I have a full flash website which is broken down into:
- Main movie which contains navigation and interface components
- Several content movies which are loaded into the main movie on demand
- An intro movie which is around 3MB in size; its a full CG movie.
At the moment the main movie preloads and then the intro movie preloads afterwards in a sequence; like so:
Main Movie > Intro Movie > Content Loads
There is a skip intro option which will skip the intro movie step and jump right to the content load once the main movie has loaded.
My client wants me to do something which is proving very difficult and I am starting to wonder if its even possible as searches on the net have given results which don't really work properly.
Here is what I need to do:
When the main movie is requested, its preloader appears which it has a load bar and a "skip intro" button. The difference being, this preloader will be loading the main movie AND the preloader; which the load bar representing both movies load progress.
To complicate matters, if the skip intro button is pressed, the preloader needs to drop the intro movie from the equation and just account for the main movie & thus skip the intro; straight to the content.
The way I have tried to do it is to have a preloader code in the intro which sends the total size and bytesloaded back to the main movie which deals with those values, adding it onto its own size. This is proving cumbersome and although appeared to be working, isn't working propery.
View 1 Replies
Similar Posts:
Dec 11, 2010
I'm using the sample external preloader file supplied with CS5 as the basis for my customised pre-loader. It's working fine except that once the main site has loaded and is open, the preloader remains loaded in the background.[code]...
View 7 Replies
Feb 14, 2007
So I make my site in flash, forget to add a preloader for the main timeline. I go back and add the extra frames to allow this but as soon as I add even just one more frame it make all my graphics go jaggy edged!?! See diagram below.
View 6 Replies
May 15, 2006
I made 3 seperate animations for my site (the only difference in them is the words used are different). Is it possible for me to make it so that the animations change with each person visiting the site - so lets say one person enters the site and sees the intro animation with (hypothetical) word "welcome" - the second time the site is visited, the visitor sees "willkommen", the third time its "bienvenue". Is that possible? How can I make it?
View 5 Replies
Nov 5, 2009
I tried searching this but could not find. I am complete newbie to flash intro and I bought a Flash Intro template.At the end of the flash movie, i was able to auto-redirect the page to my homepage by using getURL function but what I am looking for is that:At the end of the movie there should be two buttons:"Replay Intro" and "Visit Homepage" so that visitor can click on replay to see intro again or click on visit homepage which will take him to homepage.
View 3 Replies
Feb 15, 2010
The index file is .php. Now I've got this little Flash animation that we want to run first, then when it's done go to his website. When I try to add it to the top of the index page all that happens is the site loads like in normally did but with the Flash movie at the top instead of being another page. What do we need to do to have it load on it's own first?
View 1 Replies
Sep 3, 2009
I am having a strange delay issue when clicking on a button. My code is simple and is as follows:
fight.onPress = function() {
getURL("pages/pageOne.html", "_self");
}
stop();
-fight is the instance name of the button
-the code is in the actions layer as it should be
-there is no other AS within the animation
The problem is when the animation finishes and a "click here" button comes up, it takes several clicks for the button to actually work. It eventually goes to the url but only after multiple clicks, between 1 and 8. The hit box of the button is larger than the button itself so its not the empty counters in the letters or spaces between words.
View 2 Replies
Mar 7, 2011
I've created a preloader.swf that (when loaded) loads an external swf. I would also like to add a skip intro btn, but when I do, the preloader seems to loop over and over (blinking - I know, high tech). This is the preloader code. I have it in the first frame of the preloader.swf:
[Code]...
View 1 Replies
Mar 7, 2011
I've created a preloader.swf that (when loaded) loads an external swf. I would also like to add a skip intro btn, but when I do, the preloader seems to loop over and over (blinking - I know, high tech).
This is the preloader code. I have it in the first frame of the preloader.swf:
stop();
var myRequest:URLRequest = new URLRequest("flash/index.swf");
var myLoader:Loader = new Loader();
[Code].....
View 2 Replies
Jun 6, 2005
Any tuts on building a custom preloader w/ an intro and outro? I've searched but only found unanswered posts.
View 2 Replies
Mar 7, 2011
I've created a preloader.swf that (when loaded) loads an external swf. I would also like to add a skip intro btn, but when I do, the preloader seems to loop over and over (blinking - I know, high tech).
This is the preloader code. I have it in the first frame of the preloader.swf:
stop();
var myRequest:URLRequest = new URLRequest("flash/index.swf");var myLoader:Loader = new Loader();
myLoader.load(myRequest);
[Code]......
View 3 Replies
Nov 26, 2009
i want to make an intro swf which is small and loads quickly but i would like the main swf to start loading while the intro is playing. i'm not worried about the intro finishing once the main movie is loaded but i just want to the main movie to START loading while the intro is playing to cut down on load time.
View 1 Replies
Jun 30, 2010
I created an intro_mc on frame 1 of my main timeline that I want to play before loading the rest of the site. I have nothing else on the first frame except intro_mc, and actionscript.Script on main timeline is: intro_mc.gotoAndPlay(1);top();The timeline inside intro_mc has this actionscript on the very last frame:gotoAndPlay(2, "Scene 1");So right now, the it just stops on the first frame. If I take out the stop(); action, it just skips over my intro_mc and loads the whole site.
View 2 Replies
Mar 27, 2005
I am still a NooB to Flash, but did finally get to build a successful preloader (ahem). Now that I have that built, I was wondering if it is possible to loop a sound within the preloader 'scene'. This is what I have built for final production:cene 1: Diesel Startup SoundScene 2: Preloader movie, while main movie loads (w/ loopable diesel engine sound?)Scene 3: Sounds stop, plays 10 sec movie, then 'goes to url'Can anyone point me in a direction to see a preloader w/ looped sound, or a project that shows how to do this? Or, even better, show me how the code should look? I'm getting lost in code!
View 2 Replies
Jun 16, 2005
I have utilized the Tween/AS Preloader from this site and it works great! The problem is that when I test it online it keeps playing the intro and outro animation even if the movie is loaded into the browsers cache. It doesn't show the progress bar or the percentage (which is good) because it is already loaded, but it keeps showing the intro and outro animations (which is annoying). How would I keep the preloader from doing this?
View 2 Replies
May 27, 2010
I have a preloader that works fine when I test i with flash. I publish it and then go to View and Simulate Download. Everything works fine.
But when I upload it to my server it works fine util I hit the reload button, all it does is do the short intro animation to display the preloader and just sits there.
I have attatched the preloader class wich is pretty straight forward.
[code]...
View 2 Replies
Mar 27, 2005
I am still a NooB to Flash, but did finally get to build a successful preloader (ahem). Now that I have that built, I was wondering if it is possible to loop a sound within the preloader 'scene'. This is what I have built for final production[code]...
View 2 Replies
Aug 28, 2009
we all know how the Loader class works, and it is definately a god send.my flex project uses external swfs as assets (buttons, pages, etc).now the problem is that because these assets are loaded after initial application creation, it is sometimes visible to the viewer that these assets are being loaded, (buttons appearing slowly etc).i need to be able to include the loading of all the assets during initial site startup. is there a way to get all the assets into the viewers cache before the site has finished loading?
View 2 Replies
Jan 11, 2012
I try to use anyone of theese codes for the preloading of my site,but no one works.[code]
View 3 Replies
Aug 18, 2009
I have designing my website with Dreamweaver and am wondering how exactly I can make a non-interactive slideshow for my main page, preferably in Flash or Fireworks. I want the slideshow to begin each time the main page is loaded. I have been using Simple viewer to make my galleries because I don't know html, I'm a photojournalism major and happened to get the entire cs4 suite with my macbook. I'd like to learn to put more than PS and Indesign to good use.
View 1 Replies
Nov 11, 2009
I have a swf called main.swf that is loading an external swf called main-intro.swf.main-intro.swf has a clip that fades up and then I have a stop action 24 frames in. The problem is is that I get a null object reference error (1009) when calling the external swf. If I remove the stop action then it works, if I rename the external swf to intro-main.swf it works with the (stop action).It seems it just doesn't want to run the external swf's actions when it's called main-intro.sql
View 2 Replies
Jan 4, 2004
I have created a number of Projectors which are all linked with loadMovieNum. The problem is is that they don't load when I open them I go from the Intro to the Main but only the Intro shows up and when I click enter it does not go to the next projector which is the main.
View 2 Replies
Oct 25, 2009
I have a document class called Racine in which I add all the resize events so that the stage takes all the available screen. extract of Racine class :
[Code]...
As a standalone site, it is ok, but now, I want to make a preloader, and I am wondering what is the simplest way to achieve that by making less modification as possible in my Racine class? Suppose I create a swf called loader.swf loading my site, site.swf, is it possible to have a document root also for loader.swf?
View 1 Replies
Sep 14, 2006
I'm building an animation intensive website and I want to keep my code centralized on the first frame of the main timeline. Most of the intro animations (like building the sites common elements such as menu, header, etc...) have to be done on a timeline since they are pretty complex. Would you keep the main timeline with only one frame and attach the animations via actionscript, or would you place the intro animations on the main timeline, stretching it out?
I usually place the intro and common element setups all on the main timeline cause that gives me more control on linking animations together. For example: the intro plays, then the menu loads in, then some special effects popup, and then the home content is loaded in. But since some people advocate for single frame main timelines, I'm wondering if there is a better approach.
View 1 Replies
Jul 13, 2008
I've got a Flash site up that is almost finished, but it just needs preloaders. [URL]. I plan on using this type of preloader in the gallery section and before the root movie is launched. I'm looking for a preloader that preloads the _root movie, and all of the content it loads on it's level, which will be external SWF files. I plan on using the loader in two ways for the site:
- For the preloader that I will insert before the entire movie, I plan on loading the tattoos/merchandise/contact/news external SWFs which will makeup the content of the _root movie.
- For the preloader used in the tattoos/gallery I plan on using it to display a loading bar on top of the button thumbnail clicked, then displaying the pop-up enlarged image (which is an external SWF file) of the thumbnail on top of the entire movie once the loading is finished.
I've tried some of the preloader examples given in the tutorial section without much luck.
View 6 Replies
Apr 11, 2006
I will have a main.swf that has 3 buttons in th emain swf is a movieclip that will load in the new movies when clicking on one of the 3 buttons. when i click on one of the buttons the movieclip content will dim to 50% alpha or something like that then the preloader starts preloading in the main swf and when he is finished the new swf appaers.
View 4 Replies
Feb 5, 2010
The preloader does not show up after 3% like it should have, it shows up when the file has loaded entirely. what I am doing wrong? My code is in the first frame, and it makes use of a rectangle object, and a textfield object. In other preloaders I have seen with code like this, it uses a movieclip with 100 frames. Does that make the difference? I have code updating the width of the rectangle, and something to update the text in the dynamic textbox as well. My entire code in the first frame:
[Code]...
It really should be showing up, is there some fancy export option I need to change? I tried this with the bandwidth profiler, it only shows anything after the 100% mark. EDIT: progress_bar is a movieclip which was exported for actionscript.
View 1 Replies
Aug 15, 2010
I made a little slideshow with a few images in a seperate scene in my site and I exported each image/mc in the first frame and it still waits till everything loads till it plays
View 3 Replies
Aug 19, 2011
I'm preloading multiple images with my Flash file. What what I'd like to do is preload all of them together, and group them into one preloader that shows the percentage of all of them together in one. At the moment I'm just using a preload GIF to show that they are loading. I'm sure there's a better way.[code]
View 9 Replies
Dec 18, 2002
I have been playing around with this for few days and I am about to give up.. I want to be able to preload anythything thats being loaded to a certain MC. but I dont want to have to set any VARS in the file thats being loaded to indicate its done loading. I could make each swf thats being loaded give a var stating its done loading and make the loader gone.. but I want to be able to preload any swf.. mp3.. jpg almost anything that I load into the target.. Let me know if anyone has created something like that before..
View 4 Replies