ActionScript 2.0 :: Loading Two Movie At The Same Time?

May 15, 2004

I have two swf file and I load the them at the same time in main.swf. but both the movie get load at different time because of the dissimilar size and the movie which loaded 1st play 1st and the movie which gets loaded 2nd play 2nd. I want the both the movie to complete its loading and play at once. is there is any way?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Loading Swf Movie In On Time Delay

Sep 4, 2009

I have a rotating menu that when clicked rotates and loads in swf movies, OnClick.The problem I seem to be having is that because the swf movies load in on click it seems to be causing the rotation of the menu not to run smooth.Is it possible to get the swf movies to load in once the action of the click has completed its action. some kind of 2 second delay before the movies load in? what happens:you can click or mouse scroll through the menu, when you click, the action repositions the selected Item (ActiveItem) in the center and resizes larger. this works great, is it possible after this action is complete to then load in the swf movies?? URL...you will see at the moment onClick the movies load straight away which makes the rotation not smooth when rotating around.I can't seem to get the mouse scroll to work the same function as the click at the moment also..

View 32 Replies

Actionscript 3.0 :: Loading Swf Movie In On A Time Delay?

Sep 4, 2009

I have a rotating menu that when clicked rotates and loads in swf movies, OnClick.

The problem I seem to be having is that because the swf movies load in on click it seems to be causing the rotation of the menu not to run smooth.

Question: Is it possible to get the swf movies to load in once the action of the click has completed its action. some kind of 2 second delay before the movies load in??

what happens: you can click or mouse scroll through the menu, when you click, the action repositions the selected Item (ActiveItem) in the center and resizes larger. this works great, is it possible after this action is complete to then load in the swf movies?

to see how the movie runs at the moment this is the link: [URL]

you will see at the moment onClick the movies load straight away which makes the rotation not smooth when rotating around.

I can't seem to get the mouse scroll to work the same function as the click at the moment also.....thats for another day

View 2 Replies

ActionScript 2.0 :: Flash Movie Keeps Loading & Replaying At The Same Time?

Sep 4, 2010

I recently downloaded a template for Flash that didn't have any type of video included. I decided to include video in my completed project and for the last two months (working in CS5), I have tried to get assistance in making it work correctly...even contacting the company who MADE the template and they told me they couldn't assist because I changed the entire template & I guess they didn't want to figure it out.Here's my problem and if this has already been answered, maybe someone can just post the link directly and I'll follow it.hen the page opens up, the video starts automatically and seems to work fine and then another instance and another begin to play but not the video, just the audio. I have two videos in my movie and both do this.

View 2 Replies

ActionScript 3.0 :: Movie Controls Don't Render In Ie8 The 2nd Time Loading

Aug 29, 2011

I find it kind of weird that IE8 would render my as3 different than firefox, and that I can't trust the movie player. I'm creating my movie object code using jquery and javascript. When I play the movie in the modal display the first time, it play and renders correctly. On the second time, the play controls dissappear.
 
I have spend about a 2 days on this, and have isolated it down to this object. It looks like the stage.stagewidth is inconsistent after the 1st time the object loads on a clients browser. Once the file gets cached by IE8 in the temp folder, it seems to change.
 
So I have replaced the stage.stagewidth with a var that is pased via flash vars, fv_Player_Width, which is 640.

[Code]....

View 3 Replies

Movie Clip Within Main Timeline Runs Slow/choppy First Time Around, But Not Second Time?

Dec 11, 2009

I have a fairly complex animation movie clip within my main timeline in a Flash file.  When you click a button, it plays the movie clip, then goes back out to the main timeline.  The first time the movie clip runs, it plays choppy and slow, but if I play it two or more times, it plays correctly (smoothly).  Is there some actionscript I need to preload the movie clip, or some other solution to the first-run slowness? 

View 2 Replies

ActionScript 3.0 :: Advanced Pre-loading Techniques - Reduce The Loading Time To The Minimum Possible?

Sep 21, 2010

I have a game built and I would like to reduce the loading time to the minimum possible.One of my ideas is to load the essential assets and some lower quality images the first time, leaving the higher quality images and some of the functionality out at first (for instance things like buttons that change the background color), and once the player enters the game, the rest of the functionality and its assets (images and sounds) will be loading in the background using the Loader class.So once the non-essential assets and the high quality images have loaded they will fade in and substitue the lower quality assets in the most subtle way possible.

Also... Would it be better to have various instances of a "Loader" class and try to load everything at once, or load stuff in order with a single instance of the "loader" class listening to the Event.COMPLETE event ?

View 1 Replies

ActionScript 2.0 :: Does Loading Same 50kb Image At Same Time Mean Actually Loading 150kb

Mar 2, 2005

I tried searching for an answer to this on the forums and it seems you can't duplicate a movieclip that has a dynamically loaded jpg in it, I mean you just get a duplicate empty movieclip?What I want to do is have 3 copies of a pic, each tinted a little differently, and have them converge and reveal the "composite" of this pic. Do I then have to use loadMovie 3 times?Does loading the same 50kb image at the same time mean you're actually loading 150kb?

View 5 Replies

ActionScript 2.0 :: Xml - Load The First Image And Keep Loading The Rest With One Loading Time

May 21, 2008

i was creating my portfolio using xml gallery script from this site. the thing is that it loads one picture at a the with a preloader between each load. is there a way to load the first image and keep loading the rest so there will be only one loading time? here is my action script:

[Code]....

View 3 Replies

ActionScript 2.0 :: Time Limit In A Game - Movie Clip That Says "Time Is Up!" Will Be Displayed?

Jan 22, 2009

Setting up a time limit that if the time equals to 3 minutes the game stop.I have a card game with 10 different cards to be paired. My problem is to put a timer that limit the player to only 3 minutes of playing after which a movie clip that says "Time is up!" will be displayed.

View 2 Replies

Only Loading One Swf At A Time?

Aug 4, 2010

My UILoader component seems to only want to load one swf at a time. ie if it loads "gallery-sketches.swf" first then it wont load "gallery-graphics.swf".If it loads "gallery-graphics.swf" first than it wont load "gallery-sketches.swf". They work just fine individually but one cancels the other out when you put them together.Here are my errors (the "2","9" and "5" are tracing a random number generator and I'm 99.99% sure they have nothing to do with the error):

2
galleryClick
9
graphicsClick

[code]...

View 1 Replies

ActionScript 2.0 :: XML Only Loading 50% Of The Time?

Jul 12, 2006

I have some XML AS that creates buttons and loads data into some text fields. Also loads an image when you click a link...It works great most of the time! But I have noticed sometimes it just doesnt load the text and I need to click onto another frame and click back to make it work... I am guessing there is some small thing missing from my code?

[code]...

View 3 Replies

IDE :: Unable To Use Swf While Loading For First Time?

Feb 12, 2010

I am loading an external swf animation and playing an audio which should be synchronized with the loaded swf i have used the loader class for loading swf and sound channel to load sound, when the audio gets fully loaded only we are calling function to load swf, at that time audio remains stopped when the swf too gets fully loaded, we are adding swf int stage and playing the audio. In local system it works fine but when we upload it its not synchronizingly properly for the first time The issue what i see is that swf (only one is there) gets loaded frome inbetween ie the first ceration animations are missing. and audio is playing from the begining why is it so....

View 1 Replies

ActionScript 3.0 :: Loading In An Swf On A Time Delay?

Sep 4, 2009

I have a rotating menu that when clicked rotates and loads in swf movies, OnClick.

The problem I seem to be having is that because the swf movies load in on click it seems to be causing the rotation of the menu not to run smooth.

Question: Is it possible to get the swf movies to load in once the action of the click has completed its action. some kind of 2 second delay before the movies load in??

what happens: you can click or mouse scroll through the menu, when you click, the action repositions the selected Item (ActiveItem) in the center and resizes larger. this works great, is it possible after this action is complete to then load in the swf movies?

to see how the movie runs at the moment this is the link: [URL]

you will see at the moment onClick the movies load straight away which makes the rotation not smooth when rotating around.

I can't seem to get the mouse scroll to work the same function as the click at the moment also.....thats for another day

View 11 Replies

ActionScript 3.0 :: Loading All The Loaders At The Same Time?

Oct 18, 2010

I'm trying to learn something new: "contentLoaderInfo" and need some advice. I'm loading a bunch of thumbs so far, and will be loading the large version of those images later (after I get this part working) for a gallery.
 
I declared all the loaders and the URLRequests. And listeners like this: loader1.addEventListener.COMPLETE, processLoaderOne;   loader2.addEventListener.COMPLETE, processLoaderTwo;etc.
 
If I try to load them all in successive statements,
 
loader1.load(URLRequest1);loader2.load(URLRequest2);loader3.load(URLRequest3);loader4.load(URLRequest4); and in the functions (processLoaderOne, processLoaderTwo, etc.) if I try to place the content on the stage by saying: loader2.x=loader1.x+loader1.contentLoaderInfo.width, it doesn't work.
 
I get this message: "Error #1009: Cannot access a property or method of a null object reference."
 
But if I "daisy-chain" them together by loading one loader (and use contentLoaderInfo.addEventListener(Event.COMPLETE, processLoaderOne) ) and put a load statement to load the next subsequent loader as the last line in that function, it works OK.
 
Is there any way to use the first method, loading all the loaders at the same time? And using Event.COMPLETE in their addEventListener declarations?

View 8 Replies

ActionScript 2.0 :: XML Loading Fails 1st Time?

Nov 13, 2009

I have a flash file that loads 3 straight XML files, one after other.And in every single code I have the sucess condition, like this:

ActionScript Code:
if (success){
doRightStuff();[code].........

Later, I added a function and an Interval to do the verifying:

ActionScript Code:
goBack = function () {
gotoAndPlay("untilItWork1");[code]..............

Didn't work also. Las try was a completely stupid addition: a variable counter that increased it's value 100 times (doing the XML calling and loading everytime), to check if the problem was some delay issue. 5 minutes later, it didn't work also.The second time I load the f**king page, it works like a charm.

View 1 Replies

ActionScript 3.0 :: SWF Slowing Down Over Time Ext Loading /gc?

Nov 22, 2009

I have a main movie in which I load two types of external movies, pages and themes. My main swf slows down which each click of one of the menu items. I've tried doing and unloadAndStop for the external swf's but that does even put a dent in the flash player memory usage as shown by System.totalMemory trace.

A theme will load in an empty movie clip(acting as a container) on the stage, then a page will load in another empty movie clip on the stage. For example, pageContiainer movie clip will receive page1.swf. themeContainer will receive themeNeutral.swf.

I'm thinking this should not be an issue, as each movie clip simply receives an external swf, which is then replaced by another external swf upon a given load command. But I can't seem to get the looaded SWF(s) out of memory and the System.totalMemory just keeps going up and up.

[Code]...

View 0 Replies

ActionScript 3.0 :: Optimize An Swf Loading Time?

Jan 31, 2010

i'm making a website and it has some parts with flash such as the background. You can see the site here: [URL] You will see that the preloading of the background is too long beacuse i have 4 images as background in the library. the images are 950 x 650 pixel jpegs that in the library use the Photo(compression). So when the swf is on loading it take a lot of time.

View 0 Replies

Actionscript 3.0 :: Images Loading One At A Time Instead Of All Together?

Feb 26, 2009

I am building a flash site and currently I'm not using an timeline or any images in the library. I'm using the image loader class to load in all images for each page. The trouble is that images load one by one. I want them to wait until they are all loaded before appearing together on the stage.First: Is this best practice? What do professionals do when it comes to loading images / pages.Second: Even if I add a preloader they still load individually. Here's some example code which loads the contents to my map.swf

public function Map()
{
img = "PageBack.png";

[code]....

View 7 Replies

ActionScript 3.0 :: Lag Time When Loading Photo Gallery?

Oct 15, 2010

I am loading a photo gallery with an external swf. The swf loads and then there is a delay before the 1st image starts to load. There is a preloader for the swf - that finishes loading - then there is a delay and after a few seconds, the preloader for the gallery starts to load.

Why is there a delay before the image gallery preloader begins?

View 9 Replies

ActionScript 1/2 :: Loading All Images At Preloading Time

Sep 14, 2009

I am Developing a flash website.It has lots of images in various pages.Is this possible to load all the images at the preloading time itself as it wont take much time while showing those images. Can I have a empty movieclip on stage with visible false. and using a for loop can I load all the images into that?

View 1 Replies

Professional :: Why There Is White For Few Time During Loading Website

May 15, 2010

We uploaded a simple flash site in URL... and when it starts downloading for few seconds it shows white space rather showing the perloader. and the background of the website is blue but it show white during this transtional time.

View 1 Replies

ActionScript 3.0 :: Loading MovieClip After Specific Time

Apr 13, 2011

I have a video that plays for 1.30 secs. After it has finished playing I would like to automatically load a MovieClip onto the stage, how do I create a timer element to this?

View 5 Replies

ActionScript 3.0 :: Loading Swf Movies In On A Time Delay?

Sep 4, 2009

I have a rotating menu that when clicked rotates and loads in swf movies, OnClick.

The problem I seem to be having is that because the swf movies load in on click it seems to be causing the rotation of the menu not to run smooth.

Question: Is it possible to get the swf movies to load in once the action of the click has completed its action. some kind of 2 second delay before the movies load in??

what happens: you can click or mouse scroll through the menu, when you click, the action repositions the selected Item (ActiveItem) in the center and resizes larger. this works great, is it possible after this action is complete to then load in the swf movies???

to see how the movie runs at the moment this is the link: [URL]

you will see at the moment onClick the movies load straight away which makes the rotation not smooth when rotating around.

I can't seem to get the mouse scroll to work the same function as the click at the moment also.....thats for another day

View 9 Replies

ActionScript 2.0 :: Loading A Movieclip Based On The Time Of Day?

Oct 3, 2006

Is there a way to load a MC based on an internal clock (or if that's too complicated, a digital clock based on the Digital Clock tutorial)? I also read up on the Loading Random MC tutorial, which is helpful but rather than it being random is there a way to set it so that the MC loads, for instance, everyday at noon? And it would keep this MC generated for 24 hrs until the next one that loads 24 hrs later.

View 14 Replies

ActionScript 2.0 :: Iterate Through XML Loading 6 At A Time If Not 6 Set To False

Sep 12, 2007

Question regarding math: I am trying to interate through an xml set (the xml will constantly change) and display 6 items at a time. If the total from xml is not divisible by 6 and lets say 4 left from the array, only show 4 and set the other attached mcs to false. I am adding them via attachMovie and basically do not know how to set up the math on it, can anyone shed some light?

View 9 Replies

ActionScript 2.0 :: Loading One Image At A Time With For Loop?

Jan 11, 2009

I have a function where i load some images from an XML file. The function builds up a pattern with boxes in lines of 4, and for each Image-tag in the XML file, it creates a new box in that pattern and loads an image into it. The problem is that as the code is written now, all the images are loaded and displayed at once.

I would want the function to load one image at a time, so that image box is displayed, and then the next one, and next one, and so on. Is it possible with my function? What should I change? make that pattern that the boxes form? As you see now, it's a lot of code counting each row of 4 boxes.

this is the function below:

Code:
//Loading work objects from XML
var home:MovieClip = this;
xFirst = 0;

[Code]....

View 2 Replies

ActionScript 3.0 :: Loading Swf Movies On A Time Delay?

Sep 4, 2009

I have a rotating menu that when clicked rotates and loads in swf movies, OnClick. The problem I seem to be having is that because the swf movies load in on click it seems to be causing the rotation of the menu not to run smooth.

Question:
Is it possible to get the swf movies to load in once the action of the click has completed its action. some kind of 2 second delay before the movies load in??

what happens: you can click or mouse scroll through the menu, when you click, the action repositions the selected Item (ActiveItem) in the center and resizes larger. this works great, is it possible after this action is complete to then load in the swf movies?

to see how the movie runs at the moment this is the link: [URL]

you will see at the moment onClick the movies load straight away which makes the rotation not smooth when rotating around.

I can't seem to get the mouse scroll to work the same function as the click at the moment also.....thats for another day

View 4 Replies

ActionScript 2.0 :: Loading Text For The 100000th Time?

Dec 6, 2003

I've looked all over the board listen to what people have said, read 20 tutuorials and nothing works. I know html is limited inside of flash but my bold, align, or any of the tags wont work!And its driving me insane. This is exaclty what I have. Someone please help me directly dont send me to another page, i've been trying to fix this for about 2 months.Ok this is my actionscript on a frame in my movie:

loadText = new loadVars();
loadText.load("gamingmain.txt");
loadText.onLoad = function() {[code].........

I have a dynamic text field inside a movieclip. The movieclip has an instance name of nemo. I have the render as HTML, my variable name is "name" and i have no instance name on the text field. This is what i have in side my gamingmain.txt file:

name= <b>Gaming</b>
Obsidian Hosting <b>Networks</B><br>
testing this stupid thing

And none of my tags show. If I put "name" as my instance none of the tags show but they dont work either.

View 14 Replies

ActionScript 2.0 :: Loading Different Pictures Based On Time Of Day?

Apr 17, 2004

I'm trying to load a different .gif file based upon the time of day. I figured what I wrote would work, but alas, I was wrong. Here's what I got:

Code:
files=["sunrise.gif", "morning.gif", "midday.gif",
"afternoon.gif", "twilight.gif", "night.gif"]
var currentHour:Number = myDate.getHours();

[Code]....

I know I can take out that first array, and I do believe I can take out the minutes and seconds, but I left the code as is, in case I screwed it all up. Oh and the pictures have no paths because I imported them into the actual .fla.

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved